2 # From configure.in Id: configure.in.
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
717 LIBGNOMEPRINTUI_CFLAGS
761 SAMPLES_RPATH_POSTLINK
807 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
808 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
809 COND_BUILD_DEBUG_UNICODE_0
810 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
813 COND_BUILD_RELEASE_UNICODE_0
814 COND_BUILD_RELEASE_UNICODE_1
823 COND_MONOLITHIC_0_SHARED_0
824 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
831 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
832 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
875 COND_PLATFORM_MSDOS_0
876 COND_PLATFORM_MSDOS_1
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
884 COND_PLATFORM_WIN32_0
885 COND_PLATFORM_WIN32_1
887 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
890 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
894 COND_SHARED_0_USE_STC_1
895 COND_SHARED_0_USE_XRC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_ODBC_BUILTIN
898 COND_SHARED_0_WXUSE_REGEX_BUILTIN
899 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
901 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
902 COND_SHARED_1_USE_XRC_1
905 COND_TOOLKIT_COCOA_USE_GUI_1
906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_GTK_USE_GUI_1
918 COND_TOOLKIT_MAC_USE_GUI_1
919 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MGL_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1
924 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW_USE_GUI_1
927 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_MSW_WXUNIV_0
930 COND_TOOLKIT_PM_USE_GUI_1
931 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE_USE_GUI_1
934 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE_WXUNIV_0
937 COND_TOOLKIT_X11_USE_GUI_1
939 COND_USE_EXCEPTIONS_0
940 COND_USE_EXCEPTIONS_1
943 COND_USE_GUI_1_USE_OPENGL_1
944 COND_USE_GUI_1_WXUNIV_0
945 COND_USE_GUI_1_WXUNIV_1
946 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
955 COND_USE_SOSYMLINKS_1
956 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
957 COND_USE_SOVERLINUX_1
959 COND_USE_SOVERSOLARIS_1
964 COND_WINDOWS_IMPLIB_1
965 COND_WITH_PLUGIN_SDL_1
968 COND_WXUSE_EXPAT_BUILTIN
969 COND_WXUSE_LIBJPEG_BUILTIN
970 COND_WXUSE_LIBPNG_BUILTIN
971 COND_WXUSE_LIBTIFF_BUILTIN
972 COND_WXUSE_ODBC_BUILTIN
973 COND_WXUSE_REGEX_BUILTIN
974 COND_WXUSE_ZLIB_BUILTIN
976 WX_LIBRARY_BASENAME_NOGUI
977 WX_LIBRARY_BASENAME_GUI
1010 WX_RESOURCES_MACOSX_ASCII
1011 WX_RESOURCES_MACOSX_DATA
1020 ac_precious_vars='build_alias
1042 LIBGNOMEPRINTUI_CFLAGS
1043 LIBGNOMEPRINTUI_LIBS
1052 ac_subdirs_all='src/expat'
1054 # Initialize some variables set by options.
1056 ac_init_version=false
1057 # The variables have the same names as the options, with
1058 # dashes changed to underlines.
1059 cache_file=/dev/null
1066 program_transform_name=s,x,x,
1074 # Installation directory options.
1075 # These are left unexpanded so users can "make install exec_prefix=/foo"
1076 # and all the variables that are supposed to be based on exec_prefix
1077 # by default will actually change.
1078 # Use braces instead of parens because sh, perl, etc. also accept them.
1079 # (The list follows the same order as the GNU Coding Standards.)
1080 bindir='${exec_prefix}/bin'
1081 sbindir='${exec_prefix}/sbin'
1082 libexecdir='${exec_prefix}/libexec'
1083 datarootdir='${prefix}/share'
1084 datadir='${datarootdir}'
1085 sysconfdir='${prefix}/etc'
1086 sharedstatedir='${prefix}/com'
1087 localstatedir='${prefix}/var'
1088 includedir='${prefix}/include'
1089 oldincludedir='/usr/include'
1090 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1091 infodir='${datarootdir}/info'
1096 libdir='${exec_prefix}/lib'
1097 localedir='${datarootdir}/locale'
1098 mandir='${datarootdir}/man'
1104 # If the previous option needs an argument, assign it.
1105 if test -n "$ac_prev"; then
1106 eval $ac_prev=\$ac_option
1112 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1116 # Accept the important Cygnus configure options, so we can diagnose typos.
1118 case $ac_dashdash$ac_option in
1122 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1125 bindir=$ac_optarg ;;
1127 -build | --build | --buil | --bui | --bu)
1128 ac_prev=build_alias ;;
1129 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1130 build_alias=$ac_optarg ;;
1132 -cache-file | --cache-file | --cache-fil | --cache-fi \
1133 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1134 ac_prev=cache_file ;;
1135 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1136 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1137 cache_file=$ac_optarg ;;
1139 --config-cache | -C)
1140 cache_file=config.cache ;;
1142 -datadir | --datadir | --datadi | --datad)
1144 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1145 datadir=$ac_optarg ;;
1147 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1148 | --dataroo | --dataro | --datar)
1149 ac_prev=datarootdir ;;
1150 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1151 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1152 datarootdir=$ac_optarg ;;
1154 -disable-* | --disable-*)
1155 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1159 { (exit 1); exit 1; }; }
1160 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1161 eval enable_$ac_feature=no ;;
1163 -docdir | --docdir | --docdi | --doc | --do)
1165 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1166 docdir=$ac_optarg ;;
1168 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1171 dvidir=$ac_optarg ;;
1173 -enable-* | --enable-*)
1174 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1177 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1178 { (exit 1); exit 1; }; }
1179 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1180 eval enable_$ac_feature=\$ac_optarg ;;
1182 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184 | --exec | --exe | --ex)
1185 ac_prev=exec_prefix ;;
1186 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188 | --exec=* | --exe=* | --ex=*)
1189 exec_prefix=$ac_optarg ;;
1191 -gas | --gas | --ga | --g)
1192 # Obsolete; use --with-gas.
1195 -help | --help | --hel | --he | -h)
1196 ac_init_help=long ;;
1197 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1198 ac_init_help=recursive ;;
1199 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1200 ac_init_help=short ;;
1202 -host | --host | --hos | --ho)
1203 ac_prev=host_alias ;;
1204 -host=* | --host=* | --hos=* | --ho=*)
1205 host_alias=$ac_optarg ;;
1207 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 htmldir=$ac_optarg ;;
1213 -includedir | --includedir | --includedi | --included | --include \
1214 | --includ | --inclu | --incl | --inc)
1215 ac_prev=includedir ;;
1216 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217 | --includ=* | --inclu=* | --incl=* | --inc=*)
1218 includedir=$ac_optarg ;;
1220 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223 infodir=$ac_optarg ;;
1225 -libdir | --libdir | --libdi | --libd)
1227 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1228 libdir=$ac_optarg ;;
1230 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231 | --libexe | --libex | --libe)
1232 ac_prev=libexecdir ;;
1233 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234 | --libexe=* | --libex=* | --libe=*)
1235 libexecdir=$ac_optarg ;;
1237 -localedir | --localedir | --localedi | --localed | --locale)
1238 ac_prev=localedir ;;
1239 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240 localedir=$ac_optarg ;;
1242 -localstatedir | --localstatedir | --localstatedi | --localstated \
1243 | --localstate | --localstat | --localsta | --localst | --locals)
1244 ac_prev=localstatedir ;;
1245 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247 localstatedir=$ac_optarg ;;
1249 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252 mandir=$ac_optarg ;;
1254 -nfp | --nfp | --nf)
1255 # Obsolete; use --without-fp.
1258 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259 | --no-cr | --no-c | -n)
1262 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1266 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268 | --oldin | --oldi | --old | --ol | --o)
1269 ac_prev=oldincludedir ;;
1270 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273 oldincludedir=$ac_optarg ;;
1275 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278 prefix=$ac_optarg ;;
1280 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1281 | --program-pre | --program-pr | --program-p)
1282 ac_prev=program_prefix ;;
1283 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1284 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285 program_prefix=$ac_optarg ;;
1287 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1288 | --program-suf | --program-su | --program-s)
1289 ac_prev=program_suffix ;;
1290 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1291 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292 program_suffix=$ac_optarg ;;
1294 -program-transform-name | --program-transform-name \
1295 | --program-transform-nam | --program-transform-na \
1296 | --program-transform-n | --program-transform- \
1297 | --program-transform | --program-transfor \
1298 | --program-transfo | --program-transf \
1299 | --program-trans | --program-tran \
1300 | --progr-tra | --program-tr | --program-t)
1301 ac_prev=program_transform_name ;;
1302 -program-transform-name=* | --program-transform-name=* \
1303 | --program-transform-nam=* | --program-transform-na=* \
1304 | --program-transform-n=* | --program-transform-=* \
1305 | --program-transform=* | --program-transfor=* \
1306 | --program-transfo=* | --program-transf=* \
1307 | --program-trans=* | --program-tran=* \
1308 | --progr-tra=* | --program-tr=* | --program-t=*)
1309 program_transform_name=$ac_optarg ;;
1311 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314 pdfdir=$ac_optarg ;;
1316 -psdir | --psdir | --psdi | --psd | --ps)
1318 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322 | -silent | --silent | --silen | --sile | --sil)
1325 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 sbindir=$ac_optarg ;;
1331 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1332 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333 | --sharedst | --shareds | --shared | --share | --shar \
1335 ac_prev=sharedstatedir ;;
1336 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 sharedstatedir=$ac_optarg ;;
1342 -site | --site | --sit)
1344 -site=* | --site=* | --sit=*)
1347 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350 srcdir=$ac_optarg ;;
1352 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353 | --syscon | --sysco | --sysc | --sys | --sy)
1354 ac_prev=sysconfdir ;;
1355 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357 sysconfdir=$ac_optarg ;;
1359 -target | --target | --targe | --targ | --tar | --ta | --t)
1360 ac_prev=target_alias ;;
1361 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362 target_alias=$ac_optarg ;;
1364 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1367 -version | --version | --versio | --versi | --vers | -V)
1368 ac_init_version=: ;;
1371 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1372 # Reject names that are not valid shell variable names.
1373 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1374 { echo "$as_me: error: invalid package name: $ac_package" >&2
1375 { (exit 1); exit 1; }; }
1376 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1377 eval with_$ac_package=\$ac_optarg ;;
1379 -without-* | --without-*)
1380 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1381 # Reject names that are not valid shell variable names.
1382 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1383 { echo "$as_me: error: invalid package name: $ac_package" >&2
1384 { (exit 1); exit 1; }; }
1385 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1386 eval with_$ac_package=no ;;
1389 # Obsolete; use --with-x.
1392 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1393 | --x-incl | --x-inc | --x-in | --x-i)
1394 ac_prev=x_includes ;;
1395 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1396 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1397 x_includes=$ac_optarg ;;
1399 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1400 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1401 ac_prev=x_libraries ;;
1402 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1403 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1404 x_libraries=$ac_optarg ;;
1406 -*) { echo "$as_me: error: unrecognized option: $ac_option
1407 Try \`$0 --help' for more information." >&2
1408 { (exit 1); exit 1; }; }
1412 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1413 # Reject names that are not valid shell variable names.
1414 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1415 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1416 { (exit 1); exit 1; }; }
1417 eval $ac_envvar=\$ac_optarg
1418 export $ac_envvar ;;
1421 # FIXME: should be removed in autoconf 3.0.
1422 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1423 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1424 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1425 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 if test -n "$ac_prev"; then
1432 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1433 { echo "$as_me: error: missing argument to $ac_option" >&2
1434 { (exit 1); exit 1; }; }
1437 # Be sure to have absolute directory names.
1438 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1439 datadir sysconfdir sharedstatedir localstatedir includedir \
1440 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1441 libdir localedir mandir
1443 eval ac_val=\$$ac_var
1445 [\\/$]* | ?:[\\/]* ) continue;;
1446 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1448 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1449 { (exit 1); exit 1; }; }
1452 # There might be people who depend on the old broken behavior: `$host'
1453 # used to hold the argument of --host etc.
1454 # FIXME: To remove some day.
1457 target=$target_alias
1459 # FIXME: To remove some day.
1460 if test "x$host_alias" != x; then
1461 if test "x$build_alias" = x; then
1462 cross_compiling=maybe
1463 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1464 If a cross compiler is detected then cross compile mode will be used." >&2
1465 elif test "x$build_alias" != "x$host_alias"; then
1471 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1473 test "$silent" = yes && exec 6>/dev/null
1476 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1477 ac_ls_di=`ls -di .` &&
1478 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1479 { echo "$as_me: error: Working directory cannot be determined" >&2
1480 { (exit 1); exit 1; }; }
1481 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1482 { echo "$as_me: error: pwd does not report name of working directory" >&2
1483 { (exit 1); exit 1; }; }
1486 # Find the source files, if location was not specified.
1487 if test -z "$srcdir"; then
1488 ac_srcdir_defaulted=yes
1489 # Try the directory containing this script, then the parent directory.
1490 ac_confdir=`$as_dirname -- "$0" ||
1491 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1492 X"$0" : 'X\(//\)[^/]' \| \
1493 X"$0" : 'X\(//\)$' \| \
1494 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1514 if test ! -r "$srcdir/$ac_unique_file"; then
1518 ac_srcdir_defaulted=no
1520 if test ! -r "$srcdir/$ac_unique_file"; then
1521 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1522 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1523 { (exit 1); exit 1; }; }
1525 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1528 { (exit 1); exit 1; }; }
1530 # When building in place, set srcdir=.
1531 if test "$ac_abs_confdir" = "$ac_pwd"; then
1534 # Remove unnecessary trailing slashes from srcdir.
1535 # Double slashes in file names in object file debugging info
1536 # mess up M-x gdb in Emacs.
1538 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 for ac_var in $ac_precious_vars; do
1541 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1542 eval ac_env_${ac_var}_value=\$${ac_var}
1543 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1544 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1548 # Report the --help message.
1550 if test "$ac_init_help" = "long"; then
1551 # Omit some internal or obsolete options to make the list less imposing.
1552 # This message is too long to be a string in the A/UX 3.1 sh.
1554 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556 Usage: $0 [OPTION]... [VAR=VALUE]...
1558 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1559 VAR=VALUE. See below for descriptions of some of the useful variables.
1561 Defaults for the options are specified in brackets.
1564 -h, --help display this help and exit
1565 --help=short display options specific to this package
1566 --help=recursive display the short help of all the included packages
1567 -V, --version display version information and exit
1568 -q, --quiet, --silent do not print \`checking...' messages
1569 --cache-file=FILE cache test results in FILE [disabled]
1570 -C, --config-cache alias for \`--cache-file=config.cache'
1571 -n, --no-create do not create output files
1572 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574 Installation directories:
1575 --prefix=PREFIX install architecture-independent files in PREFIX
1576 [$ac_default_prefix]
1577 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1580 By default, \`make install' will install all the files in
1581 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1582 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1583 for instance \`--prefix=\$HOME'.
1585 For better control, use the options below.
1587 Fine tuning of the installation directories:
1588 --bindir=DIR user executables [EPREFIX/bin]
1589 --sbindir=DIR system admin executables [EPREFIX/sbin]
1590 --libexecdir=DIR program executables [EPREFIX/libexec]
1591 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1592 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1593 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1594 --libdir=DIR object code libraries [EPREFIX/lib]
1595 --includedir=DIR C header files [PREFIX/include]
1596 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1597 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1598 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1599 --infodir=DIR info documentation [DATAROOTDIR/info]
1600 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1601 --mandir=DIR man documentation [DATAROOTDIR/man]
1602 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1603 --htmldir=DIR html documentation [DOCDIR]
1604 --dvidir=DIR dvi documentation [DOCDIR]
1605 --pdfdir=DIR pdf documentation [DOCDIR]
1606 --psdir=DIR ps documentation [DOCDIR]
1612 --x-includes=DIR X include files are in DIR
1613 --x-libraries=DIR X library files are in DIR
1616 --build=BUILD configure for building on BUILD [guessed]
1617 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1618 --target=TARGET configure for building compilers for TARGET [HOST]
1622 if test -n "$ac_init_help"; then
1623 case $ac_init_help in
1624 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1629 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1630 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1631 --enable-gui use GUI classes
1632 --enable-monolithic build wxWidgets as single library
1633 --enable-plugins build parts of wxWidgets as loadable components
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --enable-shared create shared library code
1639 --enable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-extended_rtti use extended RTTI (XTI)
1643 --enable-omf use OMF object format
1644 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1645 --enable-debug_info create code with debugging information
1646 --enable-debug_gdb create code with extra GDB debugging information
1647 --enable-debug_cntxt use wxDebugContext
1648 --enable-mem_tracing create code with memory tracing
1649 --enable-profile create code with profiling information
1650 --enable-no_rtti create code without RTTI information
1651 --enable-no_exceptions create code without C++ exceptions handling
1652 --enable-permissive compile code disregarding strict ANSI
1653 --enable-no_deps create code without dependency information
1654 --disable-vararg_macros don't use vararg macros, even if they are supported
1655 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1656 --enable-compat26 enable wxWidgets 2.6 compatibility
1657 --disable-compat28 disable wxWidgets 2.8 compatibility
1658 --disable-rpath disable use of rpath for uninstalled builds
1659 --enable-intl use internationalization system
1660 --enable-config use wxConfig (and derived) classes
1661 --enable-protocols use wxProtocol and derived classes
1662 --enable-ftp use wxFTP (requires wxProtocol
1663 --enable-http use wxHTTP (requires wxProtocol
1664 --enable-fileproto use wxFileProto class (requires wxProtocol
1665 --enable-sockets use socket/network classes
1666 --enable-ole use OLE classes (Win32 only)
1667 --enable-dataobj use data object classes
1668 --enable-ipc use interprocess communication (wxSocket etc.)
1669 --enable-apple_ieee use the Apple IEEE codec
1670 --enable-arcstream use wxArchive streams
1671 --enable-backtrace use wxStackWalker class for getting backtraces
1672 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1673 --enable-cmdline use wxCmdLineParser class
1674 --enable-datetime use wxDateTime class
1675 --enable-debugreport use wxDebugReport class
1676 --enable-dialupman use dialup network classes
1677 --enable-dynlib use wxLibrary class for DLL loading
1678 --enable-dynamicloader use (new) wxDynamicLibrary class
1679 --enable-exceptions build exception-safe library
1680 --enable-ffile use wxFFile class
1681 --enable-file use wxFile class
1682 --enable-filesystem use virtual file systems classes
1683 --enable-fontmap use font encodings conversion classes
1684 --enable-fs_archive use virtual archive filesystems
1685 --enable-fs_inet use virtual HTTP/FTP filesystems
1686 --enable-fs_zip now replaced by fs_archive
1687 --enable-geometry use geometry class
1688 --enable-log use logging system
1689 --enable-longlong use wxLongLong class
1690 --enable-mimetype use wxMimeTypesManager
1691 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1692 --enable-utf8 use UTF-8 representation for strings (Unix only)
1693 --enable-snglinst use wxSingleInstanceChecker class
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-stdpaths use wxStandardPaths class
1697 --enable-stopwatch use wxStopWatch class
1698 --enable-streams use wxStream etc classes
1699 --enable-sysoptions use wxSystemOptions
1700 --enable-tarstream use wxTar streams
1701 --enable-textbuf use wxTextBuffer class
1702 --enable-textfile use wxTextFile class
1703 --enable-timer use wxTimer class
1704 --enable-unicode compile wxString with Unicode support
1705 --enable-sound use wxSound class
1706 --enable-mediactrl use wxMediaCtrl class
1707 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1708 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1709 --enable-zipstream use wxZip streams
1710 --enable-url use wxURL class
1711 --enable-variant use wxVariant class
1712 --enable-protocol use wxProtocol class
1713 --enable-protocol-http HTTP support in wxProtocol
1714 --enable-protocol-ftp FTP support in wxProtocol
1715 --enable-protocol-file FILE support in wxProtocol
1716 --enable-threads use threads
1717 --enable-docview use document view architecture
1718 --enable-help use help subsystem
1719 --enable-mshtmlhelp use MS HTML Help (win32)
1720 --enable-html use wxHTML sub-library
1721 --enable-htmlhelp use wxHTML-based help
1722 --enable-xrc use XRC resources sub-library
1723 --enable-aui use AUI docking library
1724 --enable-stc use wxStyledTextCtrl library
1725 --enable-constraints use layout-constraints system
1726 --enable-printarch use printing architecture
1727 --enable-mdi use multiple document interface architecture
1728 --enable-mdidoc use docview architecture with MDI
1729 --enable-loggui use standard GUI logger
1730 --enable-logwin use wxLogWindow
1731 --enable-logdialog use wxLogDialog
1732 --enable-webkit use wxWebKitCtrl (Mac)
1733 --enable-richtext use wxRichTextCtrl
1734 --enable-graphics_ctx use graphics context 2D drawing API
1735 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1736 --enable-clipboard use wxClipboard class
1737 --enable-dnd use Drag'n'Drop classes
1738 --enable-metafile use win32 metafiles
1739 --enable-controls use all usual controls
1740 --enable-accel use accelerators
1741 --enable-animatectrl use wxAnimationCtrl class
1742 --enable-button use wxButton class
1743 --enable-bmpbutton use wxBitmapButton class
1744 --enable-bmpcombobox use wxBitmapComboBox class
1745 --enable-calendar use wxCalendarCtrl class
1746 --enable-caret use wxCaret class
1747 --enable-checkbox use wxCheckBox class
1748 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1749 --enable-choice use wxChoice class
1750 --enable-choicebook use wxChoicebook class
1751 --enable-collpane use wxCollapsiblePane class
1752 --enable-colourpicker use wxColourPickerCtrl class
1753 --enable-combobox use wxComboBox class
1754 --enable-comboctrl use wxComboCtrl class
1755 --enable-datepick use wxDatePickerCtrl class
1756 --enable-dirpicker use wxDirPickerCtrl class
1757 --enable-display use wxDisplay class
1758 --enable-detect_sm use code to detect X11 session manager
1759 --enable-filepicker use wxFilePickerCtrl class
1760 --enable-fontpicker use wxFontPickerCtrl class
1761 --enable-gauge use wxGauge class
1762 --enable-grid use wxGrid class
1763 --enable-dataviewctrl use wxDataViewCtrl class
1764 --enable-hyperlink use wxHyperlinkCtrl class
1765 --enable-imaglist use wxImageList class
1766 --enable-listbook use wxListbook class
1767 --enable-listbox use wxListBox class
1768 --enable-listctrl use wxListCtrl class
1769 --enable-notebook use wxNotebook class
1770 --enable-odcombobox use wxOwnerDrawnComboBox class
1771 --enable-radiobox use wxRadioBox class
1772 --enable-radiobtn use wxRadioButton class
1773 --enable-sash use wxSashWindow class
1774 --enable-scrollbar use wxScrollBar class and scrollable windows
1775 --enable-searchctrl use wxSearchCtrl class
1776 --enable-slider use wxSlider class
1777 --enable-spinbtn use wxSpinButton class
1778 --enable-spinctrl use wxSpinCtrl class
1779 --enable-splitter use wxSplitterWindow class
1780 --enable-statbmp use wxStaticBitmap class
1781 --enable-statbox use wxStaticBox class
1782 --enable-statline use wxStaticLine class
1783 --enable-stattext use wxStaticText class
1784 --enable-statusbar use wxStatusBar class
1785 --enable-tabdialog use wxTabControl class
1786 --enable-textctrl use wxTextCtrl class
1787 --enable-togglebtn use wxToggleButton class
1788 --enable-toolbar use wxToolBar class
1789 --enable-tbarnative use native wxToolBar class
1790 --enable-treebook use wxTreebook class
1791 --enable-toolbook use wxToolbook class
1792 --enable-treectrl use wxTreeCtrl class
1793 --enable-tipwindow use wxTipWindow class
1794 --enable-popupwin use wxPopUpWindow class
1795 --enable-commondlg use all common dialogs
1796 --enable-aboutdlg use wxAboutBox
1797 --enable-choicedlg use wxChoiceDialog
1798 --enable-coldlg use wxColourDialog
1799 --enable-filedlg use wxFileDialog
1800 --enable-finddlg use wxFindReplaceDialog
1801 --enable-fontdlg use wxFontDialog
1802 --enable-dirdlg use wxDirDialog
1803 --enable-msgdlg use wxMessageDialog
1804 --enable-numberdlg use wxNumberEntryDialog
1805 --enable-splash use wxSplashScreen
1806 --enable-textdlg use wxTextDialog
1807 --enable-tipdlg use startup tips
1808 --enable-progressdlg use wxProgressDialog
1809 --enable-wizarddlg use wxWizard
1810 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1811 --enable-miniframe use wxMiniFrame class
1812 --enable-tooltips use wxToolTip class
1813 --enable-splines use spline drawing code
1814 --enable-mousewheel use mousewheel
1815 --enable-validators use wxValidator and derived classes
1816 --enable-busyinfo use wxBusyInfo
1817 --enable-joystick use wxJoystick
1818 --enable-metafiles use wxMetaFile (Win32 only)
1819 --enable-dragimage use wxDragImage
1820 --enable-accessibility enable accessibility support
1821 --enable-dccache cache temporary wxDC objects (Win32 only)
1822 --enable-palette use wxPalette class
1823 --enable-image use wxImage class
1824 --enable-gif use gif images (GIF file format)
1825 --enable-pcx use pcx images (PCX file format)
1826 --enable-tga use tga images (TGA file format)
1827 --enable-iff use iff images (IFF file format)
1828 --enable-pnm use pnm images (PNM file format)
1829 --enable-xpm use xpm images (XPM file format)
1830 --enable-icocur use Windows ICO and CUR formats
1831 --enable-official_build official build of wxWidgets (win32 DLL only)
1832 --enable-vendor=VENDOR vendor name (win32 DLL only)
1833 --disable-largefile omit support for large files
1834 --disable-gtktest do not try to compile and run a test GTK+ program
1835 --disable-gtktest Do not try to compile and run a test GTK program
1836 --disable-sdltest Do not try to compile and run a test SDL program
1837 --enable-omf use OMF object format (OS/2)
1838 --disable-dependency-tracking
1839 don't use dependency tracking even if the compiler
1841 --disable-precomp-headers
1842 don't use precompiled headers even if compiler can
1845 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1846 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1847 --without-subdirs don't generate makefiles for samples/demos/...
1848 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1849 --with-motif use Motif/Lesstif
1850 --with-mac use Mac OS X
1851 --with-cocoa use Cocoa
1852 --with-wine use Wine
1853 --with-msw use MS-Windows
1854 --with-pm use OS/2 Presentation Manager
1855 --with-mgl use SciTech MGL
1856 --with-directfb use DirectFB
1857 --with-microwin use MicroWindows
1859 --with-libpng use libpng (PNG image format)
1860 --with-libjpeg use libjpeg (JPEG file format)
1861 --with-libtiff use libtiff (TIFF file format)
1862 --with-libxpm use libxpm (XPM file format)
1863 --with-libmspack use libmspack (CHM help files loading)
1864 --with-sdl use SDL for audio on Unix
1865 --with-gnomeprint use GNOME print for printing under GNOME
1866 --with-gnomevfs use GNOME VFS for associating MIME types
1867 --with-hildon use Hildon framework for Nokia 770
1868 --with-opengl use OpenGL (or Mesa)
1869 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1870 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1871 --with-regex enable support for wxRegEx class
1872 --with-zlib use zlib for LZW compression
1873 --with-odbc use the IODBC and wxODBC classes
1874 --with-expat enable XML support using expat parser
1875 --with-flavour=NAME specify a name to identify this build
1876 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1877 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1878 --with-x use the X Window System
1879 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1880 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1881 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1882 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1883 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1885 Some influential environment variables:
1886 CC C compiler command
1887 CFLAGS C compiler flags
1888 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1889 nonstandard directory <lib dir>
1890 LIBS libraries to pass to the linker, e.g. -l<library>
1891 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1892 you have headers in a nonstandard directory <include dir>
1894 CXX C++ compiler command
1895 CXXFLAGS C++ compiler flags
1896 PKG_CONFIG path to pkg-config utility
1898 C compiler flags for DIRECTFB, overriding pkg-config
1900 linker flags for DIRECTFB, overriding pkg-config
1901 XMKMF Path to xmkmf, Makefile generator for X Window System
1903 C compiler flags for PANGOX, overriding pkg-config
1904 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1906 C compiler flags for PANGOFT2, overriding pkg-config
1908 linker flags for PANGOFT2, overriding pkg-config
1910 C compiler flags for PANGOXFT, overriding pkg-config
1912 linker flags for PANGOXFT, overriding pkg-config
1913 LIBGNOMEPRINTUI_CFLAGS
1914 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1915 LIBGNOMEPRINTUI_LIBS
1916 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1918 C compiler flags for GNOMEVFS, overriding pkg-config
1920 linker flags for GNOMEVFS, overriding pkg-config
1922 C compiler flags for HILDON, overriding pkg-config
1923 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1925 C compiler flags for CAIRO, overriding pkg-config
1926 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1927 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1928 GST_LIBS linker flags for GST, overriding pkg-config
1930 Use these variables to override the choices made by `configure' or to help
1931 it to find libraries and programs with nonstandard names/locations.
1933 Report bugs to <wx-dev@lists.wxwidgets.org>.
1938 if test "$ac_init_help" = "recursive"; then
1939 # If there are subdirs, report their specific --help.
1940 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1941 test -d "$ac_dir" || continue
1945 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1947 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1948 # A ".." for each directory in $ac_dir_suffix.
1949 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1950 case $ac_top_builddir_sub in
1951 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1952 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1955 ac_abs_top_builddir=$ac_pwd
1956 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1957 # for backward compatibility:
1958 ac_top_builddir=$ac_top_build_prefix
1961 .) # We are building in place.
1963 ac_top_srcdir=$ac_top_builddir_sub
1964 ac_abs_top_srcdir=$ac_pwd ;;
1965 [\\/]* | ?:[\\/]* ) # Absolute name.
1966 ac_srcdir=$srcdir$ac_dir_suffix;
1967 ac_top_srcdir=$srcdir
1968 ac_abs_top_srcdir=$srcdir ;;
1970 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1971 ac_top_srcdir=$ac_top_build_prefix$srcdir
1972 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1974 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1976 cd "$ac_dir" || { ac_status=$?; continue; }
1977 # Check for guested configure.
1978 if test -f "$ac_srcdir/configure.gnu"; then
1980 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1981 elif test -f "$ac_srcdir/configure"; then
1983 $SHELL "$ac_srcdir/configure" --help=recursive
1985 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1987 cd "$ac_pwd" || { ac_status=$?; break; }
1991 test -n "$ac_init_help" && exit $ac_status
1992 if $ac_init_version; then
1994 wxWidgets configure 2.9.0
1995 generated by GNU Autoconf 2.61
1997 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1998 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1999 This configure script is free software; the Free Software Foundation
2000 gives unlimited permission to copy, distribute and modify it.
2004 cat >config.log <<_ACEOF
2005 This file contains any messages produced by compilers while
2006 running configure, to aid debugging if configure makes a mistake.
2008 It was created by wxWidgets $as_me 2.9.0, which was
2009 generated by GNU Autoconf 2.61. Invocation command line was
2021 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2022 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2023 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2024 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2025 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2027 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2028 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2030 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2031 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2032 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2033 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2034 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2035 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2036 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044 test -z "$as_dir" && as_dir=.
2045 echo "PATH: $as_dir"
2061 # Keep a trace of the command line.
2062 # Strip out --no-create and --no-recursion so they do not pile up.
2063 # Strip out --silent because we don't want to record it for future runs.
2064 # Also quote any args containing shell meta-characters.
2065 # Make two passes to allow for proper duplicate-argument suppression.
2069 ac_must_keep_next=false
2075 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2077 | -silent | --silent | --silen | --sile | --sil)
2080 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2083 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2085 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2086 if test $ac_must_keep_next = true; then
2087 ac_must_keep_next=false # Got value, back to normal.
2090 *=* | --config-cache | -C | -disable-* | --disable-* \
2091 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2092 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2093 | -with-* | --with-* | -without-* | --without-* | --x)
2094 case "$ac_configure_args0 " in
2095 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2098 -* ) ac_must_keep_next=true ;;
2101 ac_configure_args="$ac_configure_args '$ac_arg'"
2106 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2107 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2109 # When interrupted or exit'd, cleanup temporary files, and complete
2110 # config.log. We remove comments because anyway the quotes in there
2111 # would cause problems or look ugly.
2112 # WARNING: Use '\'' to represent an apostrophe within the trap.
2113 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2114 trap 'exit_status=$?
2115 # Save into config.log some information that might help in debugging.
2120 ## ---------------- ##
2121 ## Cache variables. ##
2122 ## ---------------- ##
2125 # The following way of writing the cache mishandles newlines in values,
2127 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2128 eval ac_val=\$$ac_var
2132 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2133 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2136 _ | IFS | as_nl) ;; #(
2137 *) $as_unset $ac_var ;;
2142 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2143 *${as_nl}ac_space=\ *)
2145 "s/'\''/'\''\\\\'\'''\''/g;
2146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2149 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2157 ## ----------------- ##
2158 ## Output variables. ##
2159 ## ----------------- ##
2162 for ac_var in $ac_subst_vars
2164 eval ac_val=\$$ac_var
2166 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2168 echo "$ac_var='\''$ac_val'\''"
2172 if test -n "$ac_subst_files"; then
2174 ## ------------------- ##
2175 ## File substitutions. ##
2176 ## ------------------- ##
2179 for ac_var in $ac_subst_files
2181 eval ac_val=\$$ac_var
2183 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2185 echo "$ac_var='\''$ac_val'\''"
2190 if test -s confdefs.h; then
2200 test "$ac_signal" != 0 &&
2201 echo "$as_me: caught signal $ac_signal"
2202 echo "$as_me: exit $exit_status"
2204 rm -f core *.core core.conftest.* &&
2205 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2208 for ac_signal in 1 2 13 15; do
2209 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2214 rm -f -r conftest* confdefs.h
2216 # Predefined preprocessor variables.
2218 cat >>confdefs.h <<_ACEOF
2219 #define PACKAGE_NAME "$PACKAGE_NAME"
2223 cat >>confdefs.h <<_ACEOF
2224 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_STRING "$PACKAGE_STRING"
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2243 # Let the site file select an alternate cache file if it wants to.
2244 # Prefer explicitly selected file to automatically selected ones.
2245 if test -n "$CONFIG_SITE"; then
2246 set x "$CONFIG_SITE"
2247 elif test "x$prefix" != xNONE; then
2248 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2250 set x "$ac_default_prefix/share/config.site" \
2251 "$ac_default_prefix/etc/config.site"
2256 if test -r "$ac_site_file"; then
2257 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2258 echo "$as_me: loading site script $ac_site_file" >&6;}
2259 sed 's/^/| /' "$ac_site_file" >&5
2264 if test -r "$cache_file"; then
2265 # Some versions of bash will fail to source /dev/null (special
2266 # files actually), so we avoid doing that.
2267 if test -f "$cache_file"; then
2268 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2269 echo "$as_me: loading cache $cache_file" >&6;}
2271 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2272 *) . "./$cache_file";;
2276 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2277 echo "$as_me: creating cache $cache_file" >&6;}
2281 # Check that the precious variables saved in the cache have kept the same
2283 ac_cache_corrupted=false
2284 for ac_var in $ac_precious_vars; do
2285 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2286 eval ac_new_set=\$ac_env_${ac_var}_set
2287 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2288 eval ac_new_val=\$ac_env_${ac_var}_value
2289 case $ac_old_set,$ac_new_set in
2291 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2292 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2293 ac_cache_corrupted=: ;;
2295 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2296 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2297 ac_cache_corrupted=: ;;
2300 if test "x$ac_old_val" != "x$ac_new_val"; then
2301 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2302 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2303 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2304 echo "$as_me: former value: $ac_old_val" >&2;}
2305 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2306 echo "$as_me: current value: $ac_new_val" >&2;}
2307 ac_cache_corrupted=:
2310 # Pass precious variables to config.status.
2311 if test "$ac_new_set" = set; then
2313 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2314 *) ac_arg=$ac_var=$ac_new_val ;;
2316 case " $ac_configure_args " in
2317 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2318 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2322 if $ac_cache_corrupted; then
2323 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2324 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2325 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2326 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2327 { (exit 1); exit 1; }; }
2355 ac_cpp='$CPP $CPPFLAGS'
2356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2365 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2366 if test -f "$ac_dir/install-sh"; then
2368 ac_install_sh="$ac_aux_dir/install-sh -c"
2370 elif test -f "$ac_dir/install.sh"; then
2372 ac_install_sh="$ac_aux_dir/install.sh -c"
2374 elif test -f "$ac_dir/shtool"; then
2376 ac_install_sh="$ac_aux_dir/shtool install -c"
2380 if test -z "$ac_aux_dir"; then
2381 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2382 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2383 { (exit 1); exit 1; }; }
2386 # These three variables are undocumented and unsupported,
2387 # and are intended to be withdrawn in a future Autoconf release.
2388 # They can cause serious problems if a builder's source tree is in a directory
2389 # whose full name contains unusual characters.
2390 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2391 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2392 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2395 # Make sure we can run config.sub.
2396 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2397 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2398 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2399 { (exit 1); exit 1; }; }
2401 { echo "$as_me:$LINENO: checking build system type" >&5
2402 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2403 if test "${ac_cv_build+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 ac_build_alias=$build_alias
2407 test "x$ac_build_alias" = x &&
2408 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2409 test "x$ac_build_alias" = x &&
2410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2412 { (exit 1); exit 1; }; }
2413 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2414 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2415 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2416 { (exit 1); exit 1; }; }
2419 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2420 echo "${ECHO_T}$ac_cv_build" >&6; }
2421 case $ac_cv_build in
2423 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2424 echo "$as_me: error: invalid value of canonical build" >&2;}
2425 { (exit 1); exit 1; }; };;
2428 ac_save_IFS=$IFS; IFS='-'
2434 # Remember, the first character of IFS is used to create $*,
2435 # except with old shells:
2438 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2441 { echo "$as_me:$LINENO: checking host system type" >&5
2442 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2443 if test "${ac_cv_host+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 if test "x$host_alias" = x; then
2447 ac_cv_host=$ac_cv_build
2449 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2450 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2451 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2452 { (exit 1); exit 1; }; }
2456 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2457 echo "${ECHO_T}$ac_cv_host" >&6; }
2460 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2461 echo "$as_me: error: invalid value of canonical host" >&2;}
2462 { (exit 1); exit 1; }; };;
2465 ac_save_IFS=$IFS; IFS='-'
2471 # Remember, the first character of IFS is used to create $*,
2472 # except with old shells:
2475 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2478 { echo "$as_me:$LINENO: checking target system type" >&5
2479 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2480 if test "${ac_cv_target+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 if test "x$target_alias" = x; then
2484 ac_cv_target=$ac_cv_host
2486 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2487 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2488 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2489 { (exit 1); exit 1; }; }
2493 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2494 echo "${ECHO_T}$ac_cv_target" >&6; }
2495 case $ac_cv_target in
2497 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2498 echo "$as_me: error: invalid value of canonical target" >&2;}
2499 { (exit 1); exit 1; }; };;
2501 target=$ac_cv_target
2502 ac_save_IFS=$IFS; IFS='-'
2508 # Remember, the first character of IFS is used to create $*,
2509 # except with old shells:
2512 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2515 # The aliases save the names the user supplied, while $host etc.
2516 # will get canonicalized.
2517 test -n "$target_alias" &&
2518 test "$program_prefix$program_suffix$program_transform_name" = \
2520 program_prefix=${target_alias}-
2524 wx_major_version_number=2
2525 wx_minor_version_number=9
2527 wx_subrelease_number=0
2529 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2530 WX_VERSION=$WX_RELEASE.$wx_release_number
2531 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2533 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2536 wx_top_builddir="`pwd`"
2549 USE_BSD= USE_DARWIN= USE_FREEBSD=
2555 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2561 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2563 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2565 DEFAULT_wxUSE_COCOA=0
2569 DEFAULT_wxUSE_MICROWIN=0
2570 DEFAULT_wxUSE_MOTIF=0
2576 DEFAULT_DEFAULT_wxUSE_COCOA=0
2577 DEFAULT_DEFAULT_wxUSE_GTK=0
2578 DEFAULT_DEFAULT_wxUSE_MAC=0
2579 DEFAULT_DEFAULT_wxUSE_MGL=0
2580 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2581 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2582 DEFAULT_DEFAULT_wxUSE_MSW=0
2583 DEFAULT_DEFAULT_wxUSE_PM=0
2584 DEFAULT_DEFAULT_wxUSE_X11=0
2585 DEFAULT_DEFAULT_wxUSE_DFB=0
2590 SAMPLES_RPATH_POSTLINK=
2592 DEFAULT_STD_FLAG=yes
2597 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2598 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2600 cat >>confdefs.h <<\_ACEOF
2605 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2609 cat >>confdefs.h <<\_ACEOF
2614 if test "x$TMP" = "xalpha"; then
2616 cat >>confdefs.h <<\_ACEOF
2621 DEFAULT_DEFAULT_wxUSE_GTK=1
2623 *-*-gnu* | *-*-k*bsd*-gnu )
2626 if test "x$TMP" = "xalpha"; then
2628 cat >>confdefs.h <<\_ACEOF
2633 DEFAULT_DEFAULT_wxUSE_GTK=1
2635 *-*-irix5* | *-*-irix6* )
2638 cat >>confdefs.h <<\_ACEOF
2642 cat >>confdefs.h <<\_ACEOF
2646 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2652 cat >>confdefs.h <<\_ACEOF
2656 cat >>confdefs.h <<\_ACEOF
2657 #define __SOLARIS__ 1
2660 cat >>confdefs.h <<\_ACEOF
2664 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2665 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2671 cat >>confdefs.h <<\_ACEOF
2675 cat >>confdefs.h <<\_ACEOF
2679 cat >>confdefs.h <<\_ACEOF
2683 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2688 cat >>confdefs.h <<\_ACEOF
2689 #define __FREEBSD__ 1
2692 cat >>confdefs.h <<\_ACEOF
2696 DEFAULT_DEFAULT_wxUSE_GTK=1
2698 *-*-openbsd*|*-*-mirbsd*)
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __OPENBSD__ 1
2705 cat >>confdefs.h <<\_ACEOF
2709 DEFAULT_DEFAULT_wxUSE_GTK=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __NETBSD__ 1
2718 cat >>confdefs.h <<\_ACEOF
2722 DEFAULT_DEFAULT_wxUSE_GTK=1
2723 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2725 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2730 cat >>confdefs.h <<\_ACEOF
2734 cat >>confdefs.h <<\_ACEOF
2738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2744 cat >>confdefs.h <<\_ACEOF
2748 cat >>confdefs.h <<\_ACEOF
2752 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2757 cat >>confdefs.h <<\_ACEOF
2761 cat >>confdefs.h <<\_ACEOF
2765 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2772 cat >>confdefs.h <<\_ACEOF
2776 cat >>confdefs.h <<\_ACEOF
2780 cat >>confdefs.h <<\_ACEOF
2784 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __UNIXWARE__ 1
2797 *-*-cygwin* | *-*-mingw32* )
2800 DEFAULT_DEFAULT_wxUSE_MSW=1
2806 cat >>confdefs.h <<\_ACEOF
2811 DEFAULT_DEFAULT_wxUSE_MGL=1
2814 *-pc-os2_emx | *-pc-os2-emx )
2815 cat >>confdefs.h <<\_ACEOF
2820 cat >>confdefs.h <<\_ACEOF
2825 DEFAULT_DEFAULT_wxUSE_PM=1
2827 LDFLAGS="$LDFLAGS -Zcrtdll"
2828 ac_executable_extensions=".exe"
2829 export ac_executable_extensions
2833 for ac_dir in $PATH; do
2835 if test -z "$ac_TEMP_PATH"; then
2836 ac_TEMP_PATH="$ac_dir"
2838 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2841 export PATH="$ac_TEMP_PATH"
2850 cat >>confdefs.h <<\_ACEOF
2854 cat >>confdefs.h <<\_ACEOF
2855 #define __DARWIN__ 1
2858 cat >>confdefs.h <<\_ACEOF
2859 #define TARGET_CARBON 1
2862 DEFAULT_DEFAULT_wxUSE_MAC=1
2865 powerpc-apple-macos* )
2867 ac_cv_c_bigendian=yes
2869 DEFAULT_DEFAULT_wxUSE_MAC=1
2875 cat >>confdefs.h <<\_ACEOF
2882 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2883 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2884 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2885 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2887 DEFAULT_DEFAULT_wxUSE_X11=1
2888 DEFAULT_wxUSE_SHARED=no
2894 wx_arg_cache_file="configarg.cache"
2895 echo "loading argument cache $wx_arg_cache_file"
2896 rm -f ${wx_arg_cache_file}.tmp
2897 touch ${wx_arg_cache_file}.tmp
2898 touch ${wx_arg_cache_file}
2902 if test $DEBUG_CONFIGURE = 1; then
2903 DEFAULT_wxUSE_UNIVERSAL=no
2904 DEFAULT_wxUSE_STL=no
2905 DEFAULT_wxUSE_EXTENDED_RTTI=no
2907 DEFAULT_wxUSE_NANOX=no
2909 DEFAULT_wxUSE_THREADS=yes
2911 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2912 DEFAULT_wxUSE_OPTIMISE=no
2913 DEFAULT_wxUSE_PROFILE=no
2914 DEFAULT_wxUSE_NO_DEPS=no
2915 DEFAULT_wxUSE_VARARG_MACROS=no
2916 DEFAULT_wxUSE_NO_RTTI=no
2917 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2918 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2919 DEFAULT_wxUSE_RPATH=yes
2920 DEFAULT_wxUSE_PERMISSIVE=no
2921 DEFAULT_wxUSE_DEBUG_FLAG=yes
2922 DEFAULT_wxUSE_DEBUG_INFO=yes
2923 DEFAULT_wxUSE_DEBUG_GDB=yes
2924 DEFAULT_wxUSE_MEM_TRACING=no
2925 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2926 DEFAULT_wxUSE_DMALLOC=no
2927 DEFAULT_wxUSE_APPLE_IEEE=no
2929 DEFAULT_wxUSE_EXCEPTIONS=no
2930 DEFAULT_wxUSE_LOG=yes
2931 DEFAULT_wxUSE_LOGWINDOW=no
2932 DEFAULT_wxUSE_LOGGUI=no
2933 DEFAULT_wxUSE_LOGDIALOG=no
2935 DEFAULT_wxUSE_GUI=yes
2936 DEFAULT_wxUSE_CONTROLS=no
2938 DEFAULT_wxUSE_REGEX=no
2939 DEFAULT_wxUSE_XML=no
2940 DEFAULT_wxUSE_EXPAT=no
2941 DEFAULT_wxUSE_ZLIB=no
2942 DEFAULT_wxUSE_LIBPNG=no
2943 DEFAULT_wxUSE_LIBJPEG=no
2944 DEFAULT_wxUSE_LIBTIFF=no
2945 DEFAULT_wxUSE_LIBXPM=no
2946 DEFAULT_wxUSE_LIBMSPACK=no
2947 DEFAULT_wxUSE_LIBSDL=no
2948 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2949 DEFAULT_wxUSE_LIBGNOMEVFS=no
2950 DEFAULT_wxUSE_LIBHILDON=no
2951 DEFAULT_wxUSE_ODBC=no
2952 DEFAULT_wxUSE_OPENGL=no
2954 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2955 DEFAULT_wxUSE_STACKWALKER=no
2956 DEFAULT_wxUSE_DEBUGREPORT=no
2957 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2958 DEFAULT_wxUSE_STD_IOSTREAM=no
2959 DEFAULT_wxUSE_STD_STRING=no
2960 DEFAULT_wxUSE_CMDLINE_PARSER=no
2961 DEFAULT_wxUSE_DATETIME=no
2962 DEFAULT_wxUSE_TIMER=no
2963 DEFAULT_wxUSE_STOPWATCH=no
2964 DEFAULT_wxUSE_FILE=no
2965 DEFAULT_wxUSE_FFILE=no
2966 DEFAULT_wxUSE_STDPATHS=no
2967 DEFAULT_wxUSE_TEXTBUFFER=no
2968 DEFAULT_wxUSE_TEXTFILE=no
2969 DEFAULT_wxUSE_SOUND=no
2970 DEFAULT_wxUSE_MEDIACTRL=no
2971 DEFAULT_wxUSE_GSTREAMER8=no
2972 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2973 DEFAULT_wxUSE_INTL=no
2974 DEFAULT_wxUSE_CONFIG=no
2975 DEFAULT_wxUSE_FONTMAP=no
2976 DEFAULT_wxUSE_STREAMS=no
2977 DEFAULT_wxUSE_SOCKETS=no
2978 DEFAULT_wxUSE_OLE=no
2979 DEFAULT_wxUSE_DATAOBJ=no
2980 DEFAULT_wxUSE_DIALUP_MANAGER=no
2981 DEFAULT_wxUSE_JOYSTICK=no
2982 DEFAULT_wxUSE_DYNLIB_CLASS=no
2983 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2984 DEFAULT_wxUSE_LONGLONG=no
2985 DEFAULT_wxUSE_GEOMETRY=no
2987 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2988 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2989 DEFAULT_wxUSE_POSTSCRIPT=no
2991 DEFAULT_wxUSE_CLIPBOARD=no
2992 DEFAULT_wxUSE_TOOLTIPS=no
2993 DEFAULT_wxUSE_DRAG_AND_DROP=no
2994 DEFAULT_wxUSE_DRAGIMAGE=no
2995 DEFAULT_wxUSE_SPLINES=no
2996 DEFAULT_wxUSE_MOUSEWHEEL=no
2998 DEFAULT_wxUSE_MDI=no
2999 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3000 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3001 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3003 DEFAULT_wxUSE_CONSTRAINTS=no
3004 DEFAULT_wxUSE_IPC=no
3005 DEFAULT_wxUSE_HELP=no
3006 DEFAULT_wxUSE_MS_HTML_HELP=no
3007 DEFAULT_wxUSE_WXHTML_HELP=no
3008 DEFAULT_wxUSE_TREELAYOUT=no
3009 DEFAULT_wxUSE_METAFILE=no
3010 DEFAULT_wxUSE_MIMETYPE=no
3011 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3012 DEFAULT_wxUSE_PROTOCOL=no
3013 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3014 DEFAULT_wxUSE_PROTOCOL_FTP=no
3015 DEFAULT_wxUSE_PROTOCOL_FILE=no
3016 DEFAULT_wxUSE_URL=no
3017 DEFAULT_wxUSE_VARIANT=no
3019 DEFAULT_wxUSE_ABOUTDLG=no
3020 DEFAULT_wxUSE_COMMONDLGS=no
3021 DEFAULT_wxUSE_CHOICEDLG=no
3022 DEFAULT_wxUSE_COLOURDLG=no
3023 DEFAULT_wxUSE_DIRDLG=no
3024 DEFAULT_wxUSE_FILEDLG=no
3025 DEFAULT_wxUSE_FINDREPLDLG=no
3026 DEFAULT_wxUSE_FONTDLG=no
3027 DEFAULT_wxUSE_MSGDLG=no
3028 DEFAULT_wxUSE_NUMBERDLG=no
3029 DEFAULT_wxUSE_TEXTDLG=no
3030 DEFAULT_wxUSE_SPLASH=no
3031 DEFAULT_wxUSE_STARTUP_TIPS=no
3032 DEFAULT_wxUSE_PROGRESSDLG=no
3033 DEFAULT_wxUSE_WIZARDDLG=no
3035 DEFAULT_wxUSE_MENUS=no
3036 DEFAULT_wxUSE_MINIFRAME=no
3037 DEFAULT_wxUSE_HTML=no
3038 DEFAULT_wxUSE_RICHTEXT=no
3039 DEFAULT_wxUSE_XRC=no
3040 DEFAULT_wxUSE_AUI=no
3041 DEFAULT_wxUSE_STC=no
3042 DEFAULT_wxUSE_WEBKIT=no
3043 DEFAULT_wxUSE_FILESYSTEM=no
3044 DEFAULT_wxUSE_FS_INET=no
3045 DEFAULT_wxUSE_FS_ZIP=no
3046 DEFAULT_wxUSE_FS_ARCHIVE=no
3047 DEFAULT_wxUSE_BUSYINFO=no
3048 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3049 DEFAULT_wxUSE_ZIPSTREAM=no
3050 DEFAULT_wxUSE_TARSTREAM=no
3051 DEFAULT_wxUSE_VALIDATORS=no
3053 DEFAULT_wxUSE_ACCEL=no
3054 DEFAULT_wxUSE_ANIMATIONCTRL=no
3055 DEFAULT_wxUSE_BUTTON=no
3056 DEFAULT_wxUSE_BMPBUTTON=no
3057 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3058 DEFAULT_wxUSE_CALCTRL=no
3059 DEFAULT_wxUSE_CARET=no
3060 DEFAULT_wxUSE_CHECKBOX=no
3061 DEFAULT_wxUSE_CHECKLST=no
3062 DEFAULT_wxUSE_CHOICE=no
3063 DEFAULT_wxUSE_CHOICEBOOK=no
3064 DEFAULT_wxUSE_COLLPANE=no
3065 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3066 DEFAULT_wxUSE_COMBOBOX=no
3067 DEFAULT_wxUSE_COMBOCTRL=no
3068 DEFAULT_wxUSE_DATEPICKCTRL=no
3069 DEFAULT_wxUSE_DISPLAY=no
3070 DEFAULT_wxUSE_DETECT_SM=no
3071 DEFAULT_wxUSE_DIRPICKERCTRL=no
3072 DEFAULT_wxUSE_FILEPICKERCTRL=no
3073 DEFAULT_wxUSE_FONTPICKERCTRL=no
3074 DEFAULT_wxUSE_GAUGE=no
3075 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3076 DEFAULT_wxUSE_GRID=no
3077 DEFAULT_wxUSE_HYPERLINKCTRL=no
3078 DEFAULT_wxUSE_DATAVIEWCTRL=no
3079 DEFAULT_wxUSE_IMAGLIST=no
3080 DEFAULT_wxUSE_LISTBOOK=no
3081 DEFAULT_wxUSE_LISTBOX=no
3082 DEFAULT_wxUSE_LISTCTRL=no
3083 DEFAULT_wxUSE_NOTEBOOK=no
3084 DEFAULT_wxUSE_ODCOMBOBOX=no
3085 DEFAULT_wxUSE_RADIOBOX=no
3086 DEFAULT_wxUSE_RADIOBTN=no
3087 DEFAULT_wxUSE_SASH=no
3088 DEFAULT_wxUSE_SCROLLBAR=no
3089 DEFAULT_wxUSE_SEARCHCTRL=no
3090 DEFAULT_wxUSE_SLIDER=no
3091 DEFAULT_wxUSE_SPINBTN=no
3092 DEFAULT_wxUSE_SPINCTRL=no
3093 DEFAULT_wxUSE_SPLITTER=no
3094 DEFAULT_wxUSE_STATBMP=no
3095 DEFAULT_wxUSE_STATBOX=no
3096 DEFAULT_wxUSE_STATLINE=no
3097 DEFAULT_wxUSE_STATTEXT=no
3098 DEFAULT_wxUSE_STATUSBAR=yes
3099 DEFAULT_wxUSE_TAB_DIALOG=no
3100 DEFAULT_wxUSE_TEXTCTRL=no
3101 DEFAULT_wxUSE_TOGGLEBTN=no
3102 DEFAULT_wxUSE_TOOLBAR=no
3103 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3104 DEFAULT_wxUSE_TREEBOOK=no
3105 DEFAULT_wxUSE_TOOLBOOK=no
3106 DEFAULT_wxUSE_TREECTRL=no
3107 DEFAULT_wxUSE_POPUPWIN=no
3108 DEFAULT_wxUSE_TIPWINDOW=no
3110 DEFAULT_wxUSE_UNICODE=no
3111 DEFAULT_wxUSE_UNICODE_MSLU=no
3112 DEFAULT_wxUSE_UNICODE_UTF8=no
3113 DEFAULT_wxUSE_WCSRTOMBS=no
3115 DEFAULT_wxUSE_PALETTE=no
3116 DEFAULT_wxUSE_IMAGE=no
3117 DEFAULT_wxUSE_GIF=no
3118 DEFAULT_wxUSE_PCX=no
3119 DEFAULT_wxUSE_TGA=no
3120 DEFAULT_wxUSE_PNM=no
3121 DEFAULT_wxUSE_IFF=no
3122 DEFAULT_wxUSE_XPM=no
3123 DEFAULT_wxUSE_ICO_CUR=no
3124 DEFAULT_wxUSE_ACCESSIBILITY=no
3126 DEFAULT_wxUSE_MONOLITHIC=no
3127 DEFAULT_wxUSE_PLUGINS=no
3128 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3130 DEFAULT_wxUSE_UNIVERSAL=no
3131 DEFAULT_wxUSE_STL=no
3132 DEFAULT_wxUSE_EXTENDED_RTTI=no
3134 DEFAULT_wxUSE_NANOX=no
3136 DEFAULT_wxUSE_THREADS=yes
3138 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3139 DEFAULT_wxUSE_OPTIMISE=yes
3140 DEFAULT_wxUSE_PROFILE=no
3141 DEFAULT_wxUSE_NO_DEPS=no
3142 DEFAULT_wxUSE_VARARG_MACROS=yes
3143 DEFAULT_wxUSE_NO_RTTI=no
3144 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3145 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3146 DEFAULT_wxUSE_RPATH=yes
3147 DEFAULT_wxUSE_PERMISSIVE=no
3148 DEFAULT_wxUSE_DEBUG_FLAG=no
3149 DEFAULT_wxUSE_DEBUG_INFO=no
3150 DEFAULT_wxUSE_DEBUG_GDB=no
3151 DEFAULT_wxUSE_MEM_TRACING=no
3152 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3153 DEFAULT_wxUSE_DMALLOC=no
3154 DEFAULT_wxUSE_APPLE_IEEE=yes
3156 DEFAULT_wxUSE_EXCEPTIONS=yes
3157 DEFAULT_wxUSE_LOG=yes
3158 DEFAULT_wxUSE_LOGWINDOW=yes
3159 DEFAULT_wxUSE_LOGGUI=yes
3160 DEFAULT_wxUSE_LOGDIALOG=yes
3162 DEFAULT_wxUSE_GUI=yes
3164 DEFAULT_wxUSE_REGEX=yes
3165 DEFAULT_wxUSE_XML=yes
3166 DEFAULT_wxUSE_EXPAT=yes
3167 DEFAULT_wxUSE_ZLIB=yes
3168 DEFAULT_wxUSE_LIBPNG=yes
3169 DEFAULT_wxUSE_LIBJPEG=yes
3170 DEFAULT_wxUSE_LIBTIFF=yes
3171 DEFAULT_wxUSE_LIBXPM=yes
3172 DEFAULT_wxUSE_LIBMSPACK=yes
3173 DEFAULT_wxUSE_LIBSDL=no
3174 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3175 DEFAULT_wxUSE_LIBGNOMEVFS=no
3176 DEFAULT_wxUSE_LIBHILDON=no
3177 DEFAULT_wxUSE_ODBC=no
3178 DEFAULT_wxUSE_OPENGL=no
3180 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3181 DEFAULT_wxUSE_STACKWALKER=yes
3182 DEFAULT_wxUSE_DEBUGREPORT=yes
3183 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3184 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3185 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3186 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3187 DEFAULT_wxUSE_DATETIME=yes
3188 DEFAULT_wxUSE_TIMER=yes
3189 DEFAULT_wxUSE_STOPWATCH=yes
3190 DEFAULT_wxUSE_FILE=yes
3191 DEFAULT_wxUSE_FFILE=yes
3192 DEFAULT_wxUSE_STDPATHS=yes
3193 DEFAULT_wxUSE_TEXTBUFFER=yes
3194 DEFAULT_wxUSE_TEXTFILE=yes
3195 DEFAULT_wxUSE_SOUND=yes
3196 DEFAULT_wxUSE_MEDIACTRL=no
3197 DEFAULT_wxUSE_GSTREAMER8=no
3198 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3199 DEFAULT_wxUSE_INTL=yes
3200 DEFAULT_wxUSE_CONFIG=yes
3201 DEFAULT_wxUSE_FONTMAP=yes
3202 DEFAULT_wxUSE_STREAMS=yes
3203 DEFAULT_wxUSE_SOCKETS=yes
3204 DEFAULT_wxUSE_OLE=yes
3205 DEFAULT_wxUSE_DATAOBJ=yes
3206 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3207 DEFAULT_wxUSE_JOYSTICK=yes
3208 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3209 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3210 DEFAULT_wxUSE_LONGLONG=yes
3211 DEFAULT_wxUSE_GEOMETRY=yes
3213 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3214 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3215 DEFAULT_wxUSE_POSTSCRIPT=yes
3217 DEFAULT_wxUSE_CLIPBOARD=yes
3218 DEFAULT_wxUSE_TOOLTIPS=yes
3219 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3220 DEFAULT_wxUSE_DRAGIMAGE=yes
3221 DEFAULT_wxUSE_SPLINES=yes
3222 DEFAULT_wxUSE_MOUSEWHEEL=yes
3224 DEFAULT_wxUSE_MDI=yes
3225 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3226 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3227 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3229 DEFAULT_wxUSE_CONSTRAINTS=yes
3230 DEFAULT_wxUSE_IPC=yes
3231 DEFAULT_wxUSE_HELP=yes
3232 DEFAULT_wxUSE_MS_HTML_HELP=yes
3233 DEFAULT_wxUSE_WXHTML_HELP=yes
3234 DEFAULT_wxUSE_TREELAYOUT=yes
3235 DEFAULT_wxUSE_METAFILE=yes
3236 DEFAULT_wxUSE_MIMETYPE=yes
3237 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3238 DEFAULT_wxUSE_PROTOCOL=yes
3239 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3240 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3241 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3242 DEFAULT_wxUSE_URL=yes
3243 DEFAULT_wxUSE_VARIANT=yes
3245 DEFAULT_wxUSE_ABOUTDLG=yes
3246 DEFAULT_wxUSE_COMMONDLGS=yes
3247 DEFAULT_wxUSE_CHOICEDLG=yes
3248 DEFAULT_wxUSE_COLOURDLG=yes
3249 DEFAULT_wxUSE_DIRDLG=yes
3250 DEFAULT_wxUSE_FILEDLG=yes
3251 DEFAULT_wxUSE_FINDREPLDLG=yes
3252 DEFAULT_wxUSE_FONTDLG=yes
3253 DEFAULT_wxUSE_MSGDLG=yes
3254 DEFAULT_wxUSE_NUMBERDLG=yes
3255 DEFAULT_wxUSE_TEXTDLG=yes
3256 DEFAULT_wxUSE_SPLASH=yes
3257 DEFAULT_wxUSE_STARTUP_TIPS=yes
3258 DEFAULT_wxUSE_PROGRESSDLG=yes
3259 DEFAULT_wxUSE_WIZARDDLG=yes
3261 DEFAULT_wxUSE_MENUS=yes
3262 DEFAULT_wxUSE_MINIFRAME=yes
3263 DEFAULT_wxUSE_HTML=yes
3264 DEFAULT_wxUSE_RICHTEXT=yes
3265 DEFAULT_wxUSE_XRC=yes
3266 DEFAULT_wxUSE_AUI=yes
3267 DEFAULT_wxUSE_STC=yes
3268 DEFAULT_wxUSE_WEBKIT=yes
3269 DEFAULT_wxUSE_FILESYSTEM=yes
3270 DEFAULT_wxUSE_FS_INET=yes
3271 DEFAULT_wxUSE_FS_ZIP=yes
3272 DEFAULT_wxUSE_FS_ARCHIVE=yes
3273 DEFAULT_wxUSE_BUSYINFO=yes
3274 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3275 DEFAULT_wxUSE_ZIPSTREAM=yes
3276 DEFAULT_wxUSE_TARSTREAM=yes
3277 DEFAULT_wxUSE_VALIDATORS=yes
3279 DEFAULT_wxUSE_ACCEL=yes
3280 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3281 DEFAULT_wxUSE_BUTTON=yes
3282 DEFAULT_wxUSE_BMPBUTTON=yes
3283 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3284 DEFAULT_wxUSE_CALCTRL=yes
3285 DEFAULT_wxUSE_CARET=yes
3286 DEFAULT_wxUSE_CHECKBOX=yes
3287 DEFAULT_wxUSE_CHECKLST=yes
3288 DEFAULT_wxUSE_CHOICE=yes
3289 DEFAULT_wxUSE_CHOICEBOOK=yes
3290 DEFAULT_wxUSE_COLLPANE=yes
3291 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3292 DEFAULT_wxUSE_COMBOBOX=yes
3293 DEFAULT_wxUSE_COMBOCTRL=yes
3294 DEFAULT_wxUSE_DATEPICKCTRL=yes
3295 DEFAULT_wxUSE_DISPLAY=yes
3296 DEFAULT_wxUSE_DETECT_SM=yes
3297 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3298 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3299 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3300 DEFAULT_wxUSE_GAUGE=yes
3301 DEFAULT_wxUSE_GRID=yes
3302 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3303 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3304 DEFAULT_wxUSE_DATAVIEWCTRL=no
3305 DEFAULT_wxUSE_IMAGLIST=yes
3306 DEFAULT_wxUSE_LISTBOOK=yes
3307 DEFAULT_wxUSE_LISTBOX=yes
3308 DEFAULT_wxUSE_LISTCTRL=yes
3309 DEFAULT_wxUSE_NOTEBOOK=yes
3310 DEFAULT_wxUSE_ODCOMBOBOX=yes
3311 DEFAULT_wxUSE_RADIOBOX=yes
3312 DEFAULT_wxUSE_RADIOBTN=yes
3313 DEFAULT_wxUSE_SASH=yes
3314 DEFAULT_wxUSE_SCROLLBAR=yes
3315 DEFAULT_wxUSE_SEARCHCTRL=yes
3316 DEFAULT_wxUSE_SLIDER=yes
3317 DEFAULT_wxUSE_SPINBTN=yes
3318 DEFAULT_wxUSE_SPINCTRL=yes
3319 DEFAULT_wxUSE_SPLITTER=yes
3320 DEFAULT_wxUSE_STATBMP=yes
3321 DEFAULT_wxUSE_STATBOX=yes
3322 DEFAULT_wxUSE_STATLINE=yes
3323 DEFAULT_wxUSE_STATTEXT=yes
3324 DEFAULT_wxUSE_STATUSBAR=yes
3325 DEFAULT_wxUSE_TAB_DIALOG=no
3326 DEFAULT_wxUSE_TEXTCTRL=yes
3327 DEFAULT_wxUSE_TOGGLEBTN=yes
3328 DEFAULT_wxUSE_TOOLBAR=yes
3329 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3330 DEFAULT_wxUSE_TREEBOOK=yes
3331 DEFAULT_wxUSE_TOOLBOOK=yes
3332 DEFAULT_wxUSE_TREECTRL=yes
3333 DEFAULT_wxUSE_POPUPWIN=yes
3334 DEFAULT_wxUSE_TIPWINDOW=yes
3336 DEFAULT_wxUSE_UNICODE=no
3337 DEFAULT_wxUSE_UNICODE_MSLU=yes
3338 DEFAULT_wxUSE_UNICODE_UTF8=no
3339 DEFAULT_wxUSE_WCSRTOMBS=no
3341 DEFAULT_wxUSE_PALETTE=yes
3342 DEFAULT_wxUSE_IMAGE=yes
3343 DEFAULT_wxUSE_GIF=yes
3344 DEFAULT_wxUSE_PCX=yes
3345 DEFAULT_wxUSE_TGA=yes
3346 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3347 DEFAULT_wxUSE_XPM=yes
3348 DEFAULT_wxUSE_ICO_CUR=yes
3349 DEFAULT_wxUSE_ACCESSIBILITY=no
3351 DEFAULT_wxUSE_MONOLITHIC=no
3352 DEFAULT_wxUSE_PLUGINS=no
3353 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3355 DEFAULT_wxUSE_GTK2=yes
3361 for toolkit in `echo $ALL_TOOLKITS`; do
3362 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3363 if test "x$LINE" != "x" ; then
3364 has_toolkit_in_cache=1
3365 eval "DEFAULT_$LINE"
3366 eval "CACHE_$toolkit=1"
3368 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3369 if test "x$LINE" != "x" ; then
3370 eval "DEFAULT_$LINE"
3378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3379 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3381 # Check whether --enable-gui was given.
3382 if test "${enable_gui+set}" = set; then
3383 enableval=$enable_gui;
3384 if test "$enableval" = yes; then
3385 ac_cv_use_gui='wxUSE_GUI=yes'
3387 ac_cv_use_gui='wxUSE_GUI=no'
3392 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3393 if test "x$LINE" != x ; then
3394 eval "DEFAULT_$LINE"
3399 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3404 eval "$ac_cv_use_gui"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3409 if test "$wxUSE_GUI" = yes; then
3410 { echo "$as_me:$LINENO: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6; }
3413 { echo "$as_me:$LINENO: result: no" >&5
3414 echo "${ECHO_T}no" >&6; }
3419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3420 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3422 # Check whether --enable-monolithic was given.
3423 if test "${enable_monolithic+set}" = set; then
3424 enableval=$enable_monolithic;
3425 if test "$enableval" = yes; then
3426 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3428 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3433 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x ; then
3435 eval "DEFAULT_$LINE"
3440 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3445 eval "$ac_cv_use_monolithic"
3446 if test "$no_cache" != 1; then
3447 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3450 if test "$wxUSE_MONOLITHIC" = yes; then
3451 { echo "$as_me:$LINENO: result: yes" >&5
3452 echo "${ECHO_T}yes" >&6; }
3454 { echo "$as_me:$LINENO: result: no" >&5
3455 echo "${ECHO_T}no" >&6; }
3460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3461 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3463 # Check whether --enable-plugins was given.
3464 if test "${enable_plugins+set}" = set; then
3465 enableval=$enable_plugins;
3466 if test "$enableval" = yes; then
3467 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3469 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3474 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3475 if test "x$LINE" != x ; then
3476 eval "DEFAULT_$LINE"
3481 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3486 eval "$ac_cv_use_plugins"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3491 if test "$wxUSE_PLUGINS" = yes; then
3492 { echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6; }
3495 { echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6; }
3501 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3502 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3505 # Check whether --with-subdirs was given.
3506 if test "${with_subdirs+set}" = set; then
3507 withval=$with_subdirs;
3508 if test "$withval" = yes; then
3509 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3511 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3516 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3523 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3528 eval "$ac_cv_use_subdirs"
3529 if test "$no_cache" != 1; then
3530 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3533 if test "$wxWITH_SUBDIRS" = yes; then
3534 { echo "$as_me:$LINENO: result: yes" >&5
3535 echo "${ECHO_T}yes" >&6; }
3537 { echo "$as_me:$LINENO: result: no" >&5
3538 echo "${ECHO_T}no" >&6; }
3542 if test "$wxUSE_GUI" = "yes"; then
3546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3547 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3549 # Check whether --enable-universal was given.
3550 if test "${enable_universal+set}" = set; then
3551 enableval=$enable_universal;
3552 if test "$enableval" = yes; then
3553 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3555 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3560 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x ; then
3562 eval "DEFAULT_$LINE"
3567 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3572 eval "$ac_cv_use_universal"
3573 if test "$no_cache" != 1; then
3574 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3577 if test "$wxUSE_UNIVERSAL" = yes; then
3578 { echo "$as_me:$LINENO: result: yes" >&5
3579 echo "${ECHO_T}yes" >&6; }
3581 { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3586 # Check whether --with-gtk was given.
3587 if test "${with_gtk+set}" = set; then
3588 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3592 # Check whether --with-motif was given.
3593 if test "${with_motif+set}" = set; then
3594 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3598 # Check whether --with-mac was given.
3599 if test "${with_mac+set}" = set; then
3600 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3604 # Check whether --with-cocoa was given.
3605 if test "${with_cocoa+set}" = set; then
3606 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3610 # Check whether --with-wine was given.
3611 if test "${with_wine+set}" = set; then
3612 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3616 # Check whether --with-msw was given.
3617 if test "${with_msw+set}" = set; then
3618 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3622 # Check whether --with-pm was given.
3623 if test "${with_pm+set}" = set; then
3624 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3628 # Check whether --with-mgl was given.
3629 if test "${with_mgl+set}" = set; then
3630 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3634 # Check whether --with-directfb was given.
3635 if test "${with_directfb+set}" = set; then
3636 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3640 # Check whether --with-microwin was given.
3641 if test "${with_microwin+set}" = set; then
3642 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3646 # Check whether --with-x11 was given.
3647 if test "${with_x11+set}" = set; then
3648 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3654 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3656 # Check whether --enable-nanox was given.
3657 if test "${enable_nanox+set}" = set; then
3658 enableval=$enable_nanox;
3659 if test "$enableval" = yes; then
3660 ac_cv_use_nanox='wxUSE_NANOX=yes'
3662 ac_cv_use_nanox='wxUSE_NANOX=no'
3667 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3668 if test "x$LINE" != x ; then
3669 eval "DEFAULT_$LINE"
3674 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3679 eval "$ac_cv_use_nanox"
3680 if test "$no_cache" != 1; then
3681 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3684 if test "$wxUSE_NANOX" = yes; then
3685 { echo "$as_me:$LINENO: result: yes" >&5
3686 echo "${ECHO_T}yes" >&6; }
3688 { echo "$as_me:$LINENO: result: no" >&5
3689 echo "${ECHO_T}no" >&6; }
3693 # Check whether --enable-gtk2 was given.
3694 if test "${enable_gtk2+set}" = set; then
3695 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3701 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3703 # Check whether --enable-gpe was given.
3704 if test "${enable_gpe+set}" = set; then
3705 enableval=$enable_gpe;
3706 if test "$enableval" = yes; then
3707 ac_cv_use_gpe='wxUSE_GPE=yes'
3709 ac_cv_use_gpe='wxUSE_GPE=no'
3714 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3715 if test "x$LINE" != x ; then
3716 eval "DEFAULT_$LINE"
3721 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3726 eval "$ac_cv_use_gpe"
3727 if test "$no_cache" != 1; then
3728 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3731 if test "$wxUSE_GPE" = yes; then
3732 { echo "$as_me:$LINENO: result: yes" >&5
3733 echo "${ECHO_T}yes" >&6; }
3735 { echo "$as_me:$LINENO: result: no" >&5
3736 echo "${ECHO_T}no" >&6; }
3741 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3742 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3745 # Check whether --with-libpng was given.
3746 if test "${with_libpng+set}" = set; then
3747 withval=$with_libpng;
3748 if test "$withval" = yes; then
3749 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3750 elif test "$withval" = no; then
3751 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3752 elif test "$withval" = sys; then
3753 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3754 elif test "$withval" = builtin; then
3755 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3764 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3765 if test "x$LINE" != x ; then
3766 eval "DEFAULT_$LINE"
3771 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3776 eval "$ac_cv_use_libpng"
3777 if test "$no_cache" != 1; then
3778 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3781 if test "$wxUSE_LIBPNG" = yes; then
3782 { echo "$as_me:$LINENO: result: yes" >&5
3783 echo "${ECHO_T}yes" >&6; }
3784 elif test "$wxUSE_LIBPNG" = no; then
3785 { echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6; }
3787 elif test "$wxUSE_LIBPNG" = sys; then
3788 { echo "$as_me:$LINENO: result: system version" >&5
3789 echo "${ECHO_T}system version" >&6; }
3790 elif test "$wxUSE_LIBPNG" = builtin; then
3791 { echo "$as_me:$LINENO: result: builtin version" >&5
3792 echo "${ECHO_T}builtin version" >&6; }
3794 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3795 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3796 { (exit 1); exit 1; }; }
3800 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3801 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3804 # Check whether --with-libjpeg was given.
3805 if test "${with_libjpeg+set}" = set; then
3806 withval=$with_libjpeg;
3807 if test "$withval" = yes; then
3808 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3809 elif test "$withval" = no; then
3810 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3811 elif test "$withval" = sys; then
3812 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3813 elif test "$withval" = builtin; then
3814 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3816 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3817 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3818 { (exit 1); exit 1; }; }
3823 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3824 if test "x$LINE" != x ; then
3825 eval "DEFAULT_$LINE"
3830 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3835 eval "$ac_cv_use_libjpeg"
3836 if test "$no_cache" != 1; then
3837 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3840 if test "$wxUSE_LIBJPEG" = yes; then
3841 { echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6; }
3843 elif test "$wxUSE_LIBJPEG" = no; then
3844 { echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6; }
3846 elif test "$wxUSE_LIBJPEG" = sys; then
3847 { echo "$as_me:$LINENO: result: system version" >&5
3848 echo "${ECHO_T}system version" >&6; }
3849 elif test "$wxUSE_LIBJPEG" = builtin; then
3850 { echo "$as_me:$LINENO: result: builtin version" >&5
3851 echo "${ECHO_T}builtin version" >&6; }
3853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3854 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3855 { (exit 1); exit 1; }; }
3859 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3860 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3863 # Check whether --with-libtiff was given.
3864 if test "${with_libtiff+set}" = set; then
3865 withval=$with_libtiff;
3866 if test "$withval" = yes; then
3867 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3868 elif test "$withval" = no; then
3869 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3870 elif test "$withval" = sys; then
3871 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3872 elif test "$withval" = builtin; then
3873 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3875 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3876 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3877 { (exit 1); exit 1; }; }
3882 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3883 if test "x$LINE" != x ; then
3884 eval "DEFAULT_$LINE"
3889 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3894 eval "$ac_cv_use_libtiff"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3899 if test "$wxUSE_LIBTIFF" = yes; then
3900 { echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6; }
3902 elif test "$wxUSE_LIBTIFF" = no; then
3903 { echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6; }
3905 elif test "$wxUSE_LIBTIFF" = sys; then
3906 { echo "$as_me:$LINENO: result: system version" >&5
3907 echo "${ECHO_T}system version" >&6; }
3908 elif test "$wxUSE_LIBTIFF" = builtin; then
3909 { echo "$as_me:$LINENO: result: builtin version" >&5
3910 echo "${ECHO_T}builtin version" >&6; }
3912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3913 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3914 { (exit 1); exit 1; }; }
3918 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3919 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3922 # Check whether --with-libxpm was given.
3923 if test "${with_libxpm+set}" = set; then
3924 withval=$with_libxpm;
3925 if test "$withval" = yes; then
3926 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3927 elif test "$withval" = no; then
3928 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3929 elif test "$withval" = sys; then
3930 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3931 elif test "$withval" = builtin; then
3932 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3934 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3935 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3936 { (exit 1); exit 1; }; }
3941 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3942 if test "x$LINE" != x ; then
3943 eval "DEFAULT_$LINE"
3948 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3953 eval "$ac_cv_use_libxpm"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3958 if test "$wxUSE_LIBXPM" = yes; then
3959 { echo "$as_me:$LINENO: result: yes" >&5
3960 echo "${ECHO_T}yes" >&6; }
3961 elif test "$wxUSE_LIBXPM" = no; then
3962 { echo "$as_me:$LINENO: result: no" >&5
3963 echo "${ECHO_T}no" >&6; }
3964 elif test "$wxUSE_LIBXPM" = sys; then
3965 { echo "$as_me:$LINENO: result: system version" >&5
3966 echo "${ECHO_T}system version" >&6; }
3967 elif test "$wxUSE_LIBXPM" = builtin; then
3968 { echo "$as_me:$LINENO: result: builtin version" >&5
3969 echo "${ECHO_T}builtin version" >&6; }
3971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3972 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3973 { (exit 1); exit 1; }; }
3978 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3979 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3982 # Check whether --with-libmspack was given.
3983 if test "${with_libmspack+set}" = set; then
3984 withval=$with_libmspack;
3985 if test "$withval" = yes; then
3986 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3988 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3993 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x ; then
3995 eval "DEFAULT_$LINE"
4000 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4005 eval "$ac_cv_use_libmspack"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4010 if test "$wxUSE_LIBMSPACK" = yes; then
4011 { echo "$as_me:$LINENO: result: yes" >&5
4012 echo "${ECHO_T}yes" >&6; }
4014 { echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6; }
4020 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4021 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4024 # Check whether --with-sdl was given.
4025 if test "${with_sdl+set}" = set; then
4027 if test "$withval" = yes; then
4028 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4030 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4035 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4036 if test "x$LINE" != x ; then
4037 eval "DEFAULT_$LINE"
4042 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4047 eval "$ac_cv_use_sdl"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4052 if test "$wxUSE_LIBSDL" = yes; then
4053 { echo "$as_me:$LINENO: result: yes" >&5
4054 echo "${ECHO_T}yes" >&6; }
4056 { echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6; }
4062 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4063 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4066 # Check whether --with-gnomeprint was given.
4067 if test "${with_gnomeprint+set}" = set; then
4068 withval=$with_gnomeprint;
4069 if test "$withval" = yes; then
4070 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4072 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4077 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x ; then
4079 eval "DEFAULT_$LINE"
4084 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4089 eval "$ac_cv_use_gnomeprint"
4090 if test "$no_cache" != 1; then
4091 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4094 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4095 { echo "$as_me:$LINENO: result: yes" >&5
4096 echo "${ECHO_T}yes" >&6; }
4098 { echo "$as_me:$LINENO: result: no" >&5
4099 echo "${ECHO_T}no" >&6; }
4104 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4105 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4108 # Check whether --with-gnomevfs was given.
4109 if test "${with_gnomevfs+set}" = set; then
4110 withval=$with_gnomevfs;
4111 if test "$withval" = yes; then
4112 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4114 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4119 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x ; then
4121 eval "DEFAULT_$LINE"
4126 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4131 eval "$ac_cv_use_gnomevfs"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4136 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4137 { echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6; }
4140 { echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6; }
4146 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4147 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4150 # Check whether --with-hildon was given.
4151 if test "${with_hildon+set}" = set; then
4152 withval=$with_hildon;
4153 if test "$withval" = yes; then
4154 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4156 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4161 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4168 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4173 eval "$ac_cv_use_hildon"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4178 if test "$wxUSE_LIBHILDON" = yes; then
4179 { echo "$as_me:$LINENO: result: yes" >&5
4180 echo "${ECHO_T}yes" >&6; }
4182 { echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6; }
4188 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4189 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4192 # Check whether --with-opengl was given.
4193 if test "${with_opengl+set}" = set; then
4194 withval=$with_opengl;
4195 if test "$withval" = yes; then
4196 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4198 ac_cv_use_opengl='wxUSE_OPENGL=no'
4203 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x ; then
4205 eval "DEFAULT_$LINE"
4210 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4215 eval "$ac_cv_use_opengl"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4220 if test "$wxUSE_OPENGL" = yes; then
4221 { echo "$as_me:$LINENO: result: yes" >&5
4222 echo "${ECHO_T}yes" >&6; }
4224 { echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6; }
4229 if test "$wxUSE_UNIVERSAL" = "yes"; then
4231 # Check whether --with-themes was given.
4232 if test "${with_themes+set}" = set; then
4233 withval=$with_themes; wxUNIV_THEMES="$withval"
4242 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4243 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4246 # Check whether --with-dmalloc was given.
4247 if test "${with_dmalloc+set}" = set; then
4248 withval=$with_dmalloc;
4249 if test "$withval" = yes; then
4250 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4252 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4257 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x ; then
4259 eval "DEFAULT_$LINE"
4264 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4269 eval "$ac_cv_use_dmalloc"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_DMALLOC" = yes; then
4275 { echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6; }
4278 { echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6; }
4283 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4284 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4287 # Check whether --with-regex was given.
4288 if test "${with_regex+set}" = set; then
4289 withval=$with_regex;
4290 if test "$withval" = yes; then
4291 ac_cv_use_regex='wxUSE_REGEX=yes'
4292 elif test "$withval" = no; then
4293 ac_cv_use_regex='wxUSE_REGEX=no'
4294 elif test "$withval" = sys; then
4295 ac_cv_use_regex='wxUSE_REGEX=sys'
4296 elif test "$withval" = builtin; then
4297 ac_cv_use_regex='wxUSE_REGEX=builtin'
4299 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4300 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4301 { (exit 1); exit 1; }; }
4306 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x ; then
4308 eval "DEFAULT_$LINE"
4313 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4318 eval "$ac_cv_use_regex"
4319 if test "$no_cache" != 1; then
4320 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4323 if test "$wxUSE_REGEX" = yes; then
4324 { echo "$as_me:$LINENO: result: yes" >&5
4325 echo "${ECHO_T}yes" >&6; }
4326 elif test "$wxUSE_REGEX" = no; then
4327 { echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6; }
4329 elif test "$wxUSE_REGEX" = sys; then
4330 { echo "$as_me:$LINENO: result: system version" >&5
4331 echo "${ECHO_T}system version" >&6; }
4332 elif test "$wxUSE_REGEX" = builtin; then
4333 { echo "$as_me:$LINENO: result: builtin version" >&5
4334 echo "${ECHO_T}builtin version" >&6; }
4336 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4337 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4338 { (exit 1); exit 1; }; }
4342 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4343 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4346 # Check whether --with-zlib was given.
4347 if test "${with_zlib+set}" = set; then
4349 if test "$withval" = yes; then
4350 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4351 elif test "$withval" = no; then
4352 ac_cv_use_zlib='wxUSE_ZLIB=no'
4353 elif test "$withval" = sys; then
4354 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4355 elif test "$withval" = builtin; then
4356 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4358 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4359 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4360 { (exit 1); exit 1; }; }
4365 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x ; then
4367 eval "DEFAULT_$LINE"
4372 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4377 eval "$ac_cv_use_zlib"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4382 if test "$wxUSE_ZLIB" = yes; then
4383 { echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6; }
4385 elif test "$wxUSE_ZLIB" = no; then
4386 { echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6; }
4388 elif test "$wxUSE_ZLIB" = sys; then
4389 { echo "$as_me:$LINENO: result: system version" >&5
4390 echo "${ECHO_T}system version" >&6; }
4391 elif test "$wxUSE_ZLIB" = builtin; then
4392 { echo "$as_me:$LINENO: result: builtin version" >&5
4393 echo "${ECHO_T}builtin version" >&6; }
4395 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4396 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4397 { (exit 1); exit 1; }; }
4401 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4402 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4405 # Check whether --with-odbc was given.
4406 if test "${with_odbc+set}" = set; then
4408 if test "$withval" = yes; then
4409 ac_cv_use_odbc='wxUSE_ODBC=yes'
4410 elif test "$withval" = no; then
4411 ac_cv_use_odbc='wxUSE_ODBC=no'
4412 elif test "$withval" = sys; then
4413 ac_cv_use_odbc='wxUSE_ODBC=sys'
4414 elif test "$withval" = builtin; then
4415 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4417 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4418 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4419 { (exit 1); exit 1; }; }
4424 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4425 if test "x$LINE" != x ; then
4426 eval "DEFAULT_$LINE"
4431 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4436 eval "$ac_cv_use_odbc"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4441 if test "$wxUSE_ODBC" = yes; then
4442 { echo "$as_me:$LINENO: result: yes" >&5
4443 echo "${ECHO_T}yes" >&6; }
4444 elif test "$wxUSE_ODBC" = no; then
4445 { echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6; }
4447 elif test "$wxUSE_ODBC" = sys; then
4448 { echo "$as_me:$LINENO: result: system version" >&5
4449 echo "${ECHO_T}system version" >&6; }
4450 elif test "$wxUSE_ODBC" = builtin; then
4451 { echo "$as_me:$LINENO: result: builtin version" >&5
4452 echo "${ECHO_T}builtin version" >&6; }
4454 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4455 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4456 { (exit 1); exit 1; }; }
4460 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4461 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4464 # Check whether --with-expat was given.
4465 if test "${with_expat+set}" = set; then
4466 withval=$with_expat;
4467 if test "$withval" = yes; then
4468 ac_cv_use_expat='wxUSE_EXPAT=yes'
4469 elif test "$withval" = no; then
4470 ac_cv_use_expat='wxUSE_EXPAT=no'
4471 elif test "$withval" = sys; then
4472 ac_cv_use_expat='wxUSE_EXPAT=sys'
4473 elif test "$withval" = builtin; then
4474 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4476 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4477 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4478 { (exit 1); exit 1; }; }
4483 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4484 if test "x$LINE" != x ; then
4485 eval "DEFAULT_$LINE"
4490 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4495 eval "$ac_cv_use_expat"
4496 if test "$no_cache" != 1; then
4497 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4500 if test "$wxUSE_EXPAT" = yes; then
4501 { echo "$as_me:$LINENO: result: yes" >&5
4502 echo "${ECHO_T}yes" >&6; }
4503 elif test "$wxUSE_EXPAT" = no; then
4504 { echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6; }
4506 elif test "$wxUSE_EXPAT" = sys; then
4507 { echo "$as_me:$LINENO: result: system version" >&5
4508 echo "${ECHO_T}system version" >&6; }
4509 elif test "$wxUSE_EXPAT" = builtin; then
4510 { echo "$as_me:$LINENO: result: builtin version" >&5
4511 echo "${ECHO_T}builtin version" >&6; }
4513 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4514 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4515 { (exit 1); exit 1; }; }
4522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4523 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4525 # Check whether --enable-shared was given.
4526 if test "${enable_shared+set}" = set; then
4527 enableval=$enable_shared;
4528 if test "$enableval" = yes; then
4529 ac_cv_use_shared='wxUSE_SHARED=yes'
4531 ac_cv_use_shared='wxUSE_SHARED=no'
4536 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x ; then
4538 eval "DEFAULT_$LINE"
4543 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4548 eval "$ac_cv_use_shared"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4553 if test "$wxUSE_SHARED" = yes; then
4554 { echo "$as_me:$LINENO: result: yes" >&5
4555 echo "${ECHO_T}yes" >&6; }
4557 { echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6; }
4563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4564 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4566 # Check whether --enable-optimise was given.
4567 if test "${enable_optimise+set}" = set; then
4568 enableval=$enable_optimise;
4569 if test "$enableval" = yes; then
4570 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4572 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4577 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x ; then
4579 eval "DEFAULT_$LINE"
4584 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4589 eval "$ac_cv_use_optimise"
4590 if test "$no_cache" != 1; then
4591 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4594 if test "$wxUSE_OPTIMISE" = yes; then
4595 { echo "$as_me:$LINENO: result: yes" >&5
4596 echo "${ECHO_T}yes" >&6; }
4598 { echo "$as_me:$LINENO: result: no" >&5
4599 echo "${ECHO_T}no" >&6; }
4604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4605 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4607 # Check whether --enable-debug was given.
4608 if test "${enable_debug+set}" = set; then
4609 enableval=$enable_debug;
4610 if test "$enableval" = yes; then
4611 ac_cv_use_debug='wxUSE_DEBUG=yes'
4613 ac_cv_use_debug='wxUSE_DEBUG=no'
4618 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4619 if test "x$LINE" != x ; then
4620 eval "DEFAULT_$LINE"
4625 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4630 eval "$ac_cv_use_debug"
4631 if test "$no_cache" != 1; then
4632 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4635 if test "$wxUSE_DEBUG" = yes; then
4636 { echo "$as_me:$LINENO: result: yes" >&5
4637 echo "${ECHO_T}yes" >&6; }
4639 { echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6; }
4645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4646 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4648 # Check whether --enable-stl was given.
4649 if test "${enable_stl+set}" = set; then
4650 enableval=$enable_stl;
4651 if test "$enableval" = yes; then
4652 ac_cv_use_stl='wxUSE_STL=yes'
4654 ac_cv_use_stl='wxUSE_STL=no'
4659 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x ; then
4661 eval "DEFAULT_$LINE"
4666 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4671 eval "$ac_cv_use_stl"
4672 if test "$no_cache" != 1; then
4673 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4676 if test "$wxUSE_STL" = yes; then
4677 { echo "$as_me:$LINENO: result: yes" >&5
4678 echo "${ECHO_T}yes" >&6; }
4680 { echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6; }
4686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4687 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4689 # Check whether --enable-extended_rtti was given.
4690 if test "${enable_extended_rtti+set}" = set; then
4691 enableval=$enable_extended_rtti;
4692 if test "$enableval" = yes; then
4693 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4695 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4700 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x ; then
4702 eval "DEFAULT_$LINE"
4707 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4712 eval "$ac_cv_use_extended_rtti"
4713 if test "$no_cache" != 1; then
4714 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4717 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4718 { echo "$as_me:$LINENO: result: yes" >&5
4719 echo "${ECHO_T}yes" >&6; }
4721 { echo "$as_me:$LINENO: result: no" >&5
4722 echo "${ECHO_T}no" >&6; }
4725 if test "$USE_OS2" = "1"; then
4726 DEFAULT_wxUSE_OMF=no
4729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4730 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4732 # Check whether --enable-omf was given.
4733 if test "${enable_omf+set}" = set; then
4734 enableval=$enable_omf;
4735 if test "$enableval" = yes; then
4736 ac_cv_use_omf='wxUSE_OMF=yes'
4738 ac_cv_use_omf='wxUSE_OMF=no'
4743 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4744 if test "x$LINE" != x ; then
4745 eval "DEFAULT_$LINE"
4750 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4755 eval "$ac_cv_use_omf"
4756 if test "$no_cache" != 1; then
4757 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4760 if test "$wxUSE_OMF" = yes; then
4761 { echo "$as_me:$LINENO: result: yes" >&5
4762 echo "${ECHO_T}yes" >&6; }
4764 { echo "$as_me:$LINENO: result: no" >&5
4765 echo "${ECHO_T}no" >&6; }
4770 if test "$wxUSE_DEBUG" = "yes"; then
4771 DEFAULT_wxUSE_DEBUG_FLAG=yes
4772 DEFAULT_wxUSE_DEBUG_INFO=yes
4774 elif test "$wxUSE_DEBUG" = "no"; then
4775 DEFAULT_wxUSE_DEBUG_FLAG=no
4776 DEFAULT_wxUSE_DEBUG_INFO=no
4782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4783 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4785 # Check whether --enable-debug_flag was given.
4786 if test "${enable_debug_flag+set}" = set; then
4787 enableval=$enable_debug_flag;
4788 if test "$enableval" = yes; then
4789 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4791 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4796 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4803 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4808 eval "$ac_cv_use_debug_flag"
4809 if test "$no_cache" != 1; then
4810 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4813 if test "$wxUSE_DEBUG_FLAG" = yes; then
4814 { echo "$as_me:$LINENO: result: yes" >&5
4815 echo "${ECHO_T}yes" >&6; }
4817 { echo "$as_me:$LINENO: result: no" >&5
4818 echo "${ECHO_T}no" >&6; }
4823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4824 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4826 # Check whether --enable-debug_info was given.
4827 if test "${enable_debug_info+set}" = set; then
4828 enableval=$enable_debug_info;
4829 if test "$enableval" = yes; then
4830 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4832 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4837 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x ; then
4839 eval "DEFAULT_$LINE"
4844 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4849 eval "$ac_cv_use_debug_info"
4850 if test "$no_cache" != 1; then
4851 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4854 if test "$wxUSE_DEBUG_INFO" = yes; then
4855 { echo "$as_me:$LINENO: result: yes" >&5
4856 echo "${ECHO_T}yes" >&6; }
4858 { echo "$as_me:$LINENO: result: no" >&5
4859 echo "${ECHO_T}no" >&6; }
4864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4865 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4867 # Check whether --enable-debug_gdb was given.
4868 if test "${enable_debug_gdb+set}" = set; then
4869 enableval=$enable_debug_gdb;
4870 if test "$enableval" = yes; then
4871 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4873 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4878 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x ; then
4880 eval "DEFAULT_$LINE"
4885 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4890 eval "$ac_cv_use_debug_gdb"
4891 if test "$no_cache" != 1; then
4892 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4895 if test "$wxUSE_DEBUG_GDB" = yes; then
4896 { echo "$as_me:$LINENO: result: yes" >&5
4897 echo "${ECHO_T}yes" >&6; }
4899 { echo "$as_me:$LINENO: result: no" >&5
4900 echo "${ECHO_T}no" >&6; }
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4908 # Check whether --enable-debug_cntxt was given.
4909 if test "${enable_debug_cntxt+set}" = set; then
4910 enableval=$enable_debug_cntxt;
4911 if test "$enableval" = yes; then
4912 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4914 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4919 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4926 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4931 eval "$ac_cv_use_debug_cntxt"
4932 if test "$no_cache" != 1; then
4933 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4936 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4937 { echo "$as_me:$LINENO: result: yes" >&5
4938 echo "${ECHO_T}yes" >&6; }
4940 { echo "$as_me:$LINENO: result: no" >&5
4941 echo "${ECHO_T}no" >&6; }
4946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4947 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4949 # Check whether --enable-mem_tracing was given.
4950 if test "${enable_mem_tracing+set}" = set; then
4951 enableval=$enable_mem_tracing;
4952 if test "$enableval" = yes; then
4953 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4955 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4960 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4967 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4972 eval "$ac_cv_use_mem_tracing"
4973 if test "$no_cache" != 1; then
4974 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4977 if test "$wxUSE_MEM_TRACING" = yes; then
4978 { echo "$as_me:$LINENO: result: yes" >&5
4979 echo "${ECHO_T}yes" >&6; }
4981 { echo "$as_me:$LINENO: result: no" >&5
4982 echo "${ECHO_T}no" >&6; }
4987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4988 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4990 # Check whether --enable-profile was given.
4991 if test "${enable_profile+set}" = set; then
4992 enableval=$enable_profile;
4993 if test "$enableval" = yes; then
4994 ac_cv_use_profile='wxUSE_PROFILE=yes'
4996 ac_cv_use_profile='wxUSE_PROFILE=no'
5001 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x ; then
5003 eval "DEFAULT_$LINE"
5008 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5013 eval "$ac_cv_use_profile"
5014 if test "$no_cache" != 1; then
5015 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5018 if test "$wxUSE_PROFILE" = yes; then
5019 { echo "$as_me:$LINENO: result: yes" >&5
5020 echo "${ECHO_T}yes" >&6; }
5022 { echo "$as_me:$LINENO: result: no" >&5
5023 echo "${ECHO_T}no" >&6; }
5028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5031 # Check whether --enable-no_rtti was given.
5032 if test "${enable_no_rtti+set}" = set; then
5033 enableval=$enable_no_rtti;
5034 if test "$enableval" = yes; then
5035 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5037 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5042 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x ; then
5044 eval "DEFAULT_$LINE"
5049 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5054 eval "$ac_cv_use_no_rtti"
5055 if test "$no_cache" != 1; then
5056 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5059 if test "$wxUSE_NO_RTTI" = yes; then
5060 { echo "$as_me:$LINENO: result: yes" >&5
5061 echo "${ECHO_T}yes" >&6; }
5063 { echo "$as_me:$LINENO: result: no" >&5
5064 echo "${ECHO_T}no" >&6; }
5069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5072 # Check whether --enable-no_exceptions was given.
5073 if test "${enable_no_exceptions+set}" = set; then
5074 enableval=$enable_no_exceptions;
5075 if test "$enableval" = yes; then
5076 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5078 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5083 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5090 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5095 eval "$ac_cv_use_no_exceptions"
5096 if test "$no_cache" != 1; then
5097 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5100 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5101 { echo "$as_me:$LINENO: result: yes" >&5
5102 echo "${ECHO_T}yes" >&6; }
5104 { echo "$as_me:$LINENO: result: no" >&5
5105 echo "${ECHO_T}no" >&6; }
5110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5111 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5113 # Check whether --enable-permissive was given.
5114 if test "${enable_permissive+set}" = set; then
5115 enableval=$enable_permissive;
5116 if test "$enableval" = yes; then
5117 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5119 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5124 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5131 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5136 eval "$ac_cv_use_permissive"
5137 if test "$no_cache" != 1; then
5138 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5141 if test "$wxUSE_PERMISSIVE" = yes; then
5142 { echo "$as_me:$LINENO: result: yes" >&5
5143 echo "${ECHO_T}yes" >&6; }
5145 { echo "$as_me:$LINENO: result: no" >&5
5146 echo "${ECHO_T}no" >&6; }
5151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5152 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5154 # Check whether --enable-no_deps was given.
5155 if test "${enable_no_deps+set}" = set; then
5156 enableval=$enable_no_deps;
5157 if test "$enableval" = yes; then
5158 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5160 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5165 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x ; then
5167 eval "DEFAULT_$LINE"
5172 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5177 eval "$ac_cv_use_no_deps"
5178 if test "$no_cache" != 1; then
5179 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5182 if test "$wxUSE_NO_DEPS" = yes; then
5183 { echo "$as_me:$LINENO: result: yes" >&5
5184 echo "${ECHO_T}yes" >&6; }
5186 { echo "$as_me:$LINENO: result: no" >&5
5187 echo "${ECHO_T}no" >&6; }
5192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5193 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5195 # Check whether --enable-vararg_macros was given.
5196 if test "${enable_vararg_macros+set}" = set; then
5197 enableval=$enable_vararg_macros;
5198 if test "$enableval" = yes; then
5199 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5201 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5206 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x ; then
5208 eval "DEFAULT_$LINE"
5213 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5218 eval "$ac_cv_use_vararg_macros"
5219 if test "$no_cache" != 1; then
5220 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5223 if test "$wxUSE_VARARG_MACROS" = yes; then
5224 { echo "$as_me:$LINENO: result: yes" >&5
5225 echo "${ECHO_T}yes" >&6; }
5227 { echo "$as_me:$LINENO: result: no" >&5
5228 echo "${ECHO_T}no" >&6; }
5233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5234 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5236 # Check whether --enable-universal_binary was given.
5237 if test "${enable_universal_binary+set}" = set; then
5238 enableval=$enable_universal_binary;
5239 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5243 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5244 if test "x$LINE" != x ; then
5245 eval "DEFAULT_$LINE"
5246 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5249 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5255 eval "$wx_cv_use_universal_binary"
5256 if test "$no_cache" != 1; then
5257 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5260 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5261 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5267 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5269 # Check whether --enable-compat26 was given.
5270 if test "${enable_compat26+set}" = set; then
5271 enableval=$enable_compat26;
5272 if test "$enableval" = yes; then
5273 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5275 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5280 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5281 if test "x$LINE" != x ; then
5282 eval "DEFAULT_$LINE"
5287 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5292 eval "$ac_cv_use_compat26"
5293 if test "$no_cache" != 1; then
5294 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5297 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5298 { echo "$as_me:$LINENO: result: yes" >&5
5299 echo "${ECHO_T}yes" >&6; }
5301 { echo "$as_me:$LINENO: result: no" >&5
5302 echo "${ECHO_T}no" >&6; }
5306 enablestring=disable
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5310 # Check whether --enable-compat28 was given.
5311 if test "${enable_compat28+set}" = set; then
5312 enableval=$enable_compat28;
5313 if test "$enableval" = yes; then
5314 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5316 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5321 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x ; then
5323 eval "DEFAULT_$LINE"
5328 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5333 eval "$ac_cv_use_compat28"
5334 if test "$no_cache" != 1; then
5335 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5338 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5339 { echo "$as_me:$LINENO: result: yes" >&5
5340 echo "${ECHO_T}yes" >&6; }
5342 { echo "$as_me:$LINENO: result: no" >&5
5343 echo "${ECHO_T}no" >&6; }
5349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5350 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5352 # Check whether --enable-rpath was given.
5353 if test "${enable_rpath+set}" = set; then
5354 enableval=$enable_rpath;
5355 if test "$enableval" = yes; then
5356 ac_cv_use_rpath='wxUSE_RPATH=yes'
5358 ac_cv_use_rpath='wxUSE_RPATH=no'
5363 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5364 if test "x$LINE" != x ; then
5365 eval "DEFAULT_$LINE"
5370 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5375 eval "$ac_cv_use_rpath"
5376 if test "$no_cache" != 1; then
5377 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5380 if test "$wxUSE_RPATH" = yes; then
5381 { echo "$as_me:$LINENO: result: yes" >&5
5382 echo "${ECHO_T}yes" >&6; }
5384 { echo "$as_me:$LINENO: result: no" >&5
5385 echo "${ECHO_T}no" >&6; }
5393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5396 # Check whether --enable-intl was given.
5397 if test "${enable_intl+set}" = set; then
5398 enableval=$enable_intl;
5399 if test "$enableval" = yes; then
5400 ac_cv_use_intl='wxUSE_INTL=yes'
5402 ac_cv_use_intl='wxUSE_INTL=no'
5407 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5408 if test "x$LINE" != x ; then
5409 eval "DEFAULT_$LINE"
5414 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5419 eval "$ac_cv_use_intl"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5424 if test "$wxUSE_INTL" = yes; then
5425 { echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6; }
5428 { echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6; }
5434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5437 # Check whether --enable-config was given.
5438 if test "${enable_config+set}" = set; then
5439 enableval=$enable_config;
5440 if test "$enableval" = yes; then
5441 ac_cv_use_config='wxUSE_CONFIG=yes'
5443 ac_cv_use_config='wxUSE_CONFIG=no'
5448 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5449 if test "x$LINE" != x ; then
5450 eval "DEFAULT_$LINE"
5455 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5460 eval "$ac_cv_use_config"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5465 if test "$wxUSE_CONFIG" = yes; then
5466 { echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6; }
5469 { echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6; }
5476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5479 # Check whether --enable-protocols was given.
5480 if test "${enable_protocols+set}" = set; then
5481 enableval=$enable_protocols;
5482 if test "$enableval" = yes; then
5483 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5485 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5490 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x ; then
5492 eval "DEFAULT_$LINE"
5497 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5502 eval "$ac_cv_use_protocols"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5507 if test "$wxUSE_PROTOCOL" = yes; then
5508 { echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6; }
5511 { echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6; }
5517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5520 # Check whether --enable-ftp was given.
5521 if test "${enable_ftp+set}" = set; then
5522 enableval=$enable_ftp;
5523 if test "$enableval" = yes; then
5524 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5526 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5531 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x ; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5543 eval "$ac_cv_use_ftp"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5549 { echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6; }
5552 { echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6; }
5558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5561 # Check whether --enable-http was given.
5562 if test "${enable_http+set}" = set; then
5563 enableval=$enable_http;
5564 if test "$enableval" = yes; then
5565 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5567 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5572 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x ; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5584 eval "$ac_cv_use_http"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5590 { echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6; }
5593 { echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6; }
5599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5602 # Check whether --enable-fileproto was given.
5603 if test "${enable_fileproto+set}" = set; then
5604 enableval=$enable_fileproto;
5605 if test "$enableval" = yes; then
5606 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5608 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5613 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x ; then
5615 eval "DEFAULT_$LINE"
5620 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5625 eval "$ac_cv_use_fileproto"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5630 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5631 { echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6; }
5634 { echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6; }
5640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5643 # Check whether --enable-sockets was given.
5644 if test "${enable_sockets+set}" = set; then
5645 enableval=$enable_sockets;
5646 if test "$enableval" = yes; then
5647 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5649 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5654 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x ; then
5656 eval "DEFAULT_$LINE"
5661 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5666 eval "$ac_cv_use_sockets"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5671 if test "$wxUSE_SOCKETS" = yes; then
5672 { echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6; }
5675 { echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6; }
5681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5684 # Check whether --enable-ole was given.
5685 if test "${enable_ole+set}" = set; then
5686 enableval=$enable_ole;
5687 if test "$enableval" = yes; then
5688 ac_cv_use_ole='wxUSE_OLE=yes'
5690 ac_cv_use_ole='wxUSE_OLE=no'
5695 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x ; then
5697 eval "DEFAULT_$LINE"
5702 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5707 eval "$ac_cv_use_ole"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_OLE" = yes; then
5713 { echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6; }
5716 { echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6; }
5722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5725 # Check whether --enable-dataobj was given.
5726 if test "${enable_dataobj+set}" = set; then
5727 enableval=$enable_dataobj;
5728 if test "$enableval" = yes; then
5729 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5731 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5736 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x ; then
5738 eval "DEFAULT_$LINE"
5743 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5748 eval "$ac_cv_use_dataobj"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_DATAOBJ" = yes; then
5754 { echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6; }
5757 { echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6; }
5764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5765 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5767 # Check whether --enable-ipc was given.
5768 if test "${enable_ipc+set}" = set; then
5769 enableval=$enable_ipc;
5770 if test "$enableval" = yes; then
5771 ac_cv_use_ipc='wxUSE_IPC=yes'
5773 ac_cv_use_ipc='wxUSE_IPC=no'
5778 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x ; then
5780 eval "DEFAULT_$LINE"
5785 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5790 eval "$ac_cv_use_ipc"
5791 if test "$no_cache" != 1; then
5792 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5795 if test "$wxUSE_IPC" = yes; then
5796 { echo "$as_me:$LINENO: result: yes" >&5
5797 echo "${ECHO_T}yes" >&6; }
5799 { echo "$as_me:$LINENO: result: no" >&5
5800 echo "${ECHO_T}no" >&6; }
5806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5809 # Check whether --enable-apple_ieee was given.
5810 if test "${enable_apple_ieee+set}" = set; then
5811 enableval=$enable_apple_ieee;
5812 if test "$enableval" = yes; then
5813 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5815 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5820 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5821 if test "x$LINE" != x ; then
5822 eval "DEFAULT_$LINE"
5827 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5832 eval "$ac_cv_use_apple_ieee"
5833 if test "$no_cache" != 1; then
5834 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5837 if test "$wxUSE_APPLE_IEEE" = yes; then
5838 { echo "$as_me:$LINENO: result: yes" >&5
5839 echo "${ECHO_T}yes" >&6; }
5841 { echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6; }
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5850 # Check whether --enable-arcstream was given.
5851 if test "${enable_arcstream+set}" = set; then
5852 enableval=$enable_arcstream;
5853 if test "$enableval" = yes; then
5854 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5856 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5861 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x ; then
5863 eval "DEFAULT_$LINE"
5868 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5873 eval "$ac_cv_use_arcstream"
5874 if test "$no_cache" != 1; then
5875 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5878 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5879 { echo "$as_me:$LINENO: result: yes" >&5
5880 echo "${ECHO_T}yes" >&6; }
5882 { echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6; }
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5891 # Check whether --enable-backtrace was given.
5892 if test "${enable_backtrace+set}" = set; then
5893 enableval=$enable_backtrace;
5894 if test "$enableval" = yes; then
5895 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5897 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5902 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5903 if test "x$LINE" != x ; then
5904 eval "DEFAULT_$LINE"
5909 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5914 eval "$ac_cv_use_backtrace"
5915 if test "$no_cache" != 1; then
5916 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5919 if test "$wxUSE_STACKWALKER" = yes; then
5920 { echo "$as_me:$LINENO: result: yes" >&5
5921 echo "${ECHO_T}yes" >&6; }
5923 { echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6; }
5929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5932 # Check whether --enable-catch_segvs was given.
5933 if test "${enable_catch_segvs+set}" = set; then
5934 enableval=$enable_catch_segvs;
5935 if test "$enableval" = yes; then
5936 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5938 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5943 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x ; then
5945 eval "DEFAULT_$LINE"
5950 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5955 eval "$ac_cv_use_catch_segvs"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5960 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5961 { echo "$as_me:$LINENO: result: yes" >&5
5962 echo "${ECHO_T}yes" >&6; }
5964 { echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6; }
5970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5971 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5973 # Check whether --enable-cmdline was given.
5974 if test "${enable_cmdline+set}" = set; then
5975 enableval=$enable_cmdline;
5976 if test "$enableval" = yes; then
5977 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5979 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5984 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x ; then
5986 eval "DEFAULT_$LINE"
5991 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5996 eval "$ac_cv_use_cmdline"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6001 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6002 { echo "$as_me:$LINENO: result: yes" >&5
6003 echo "${ECHO_T}yes" >&6; }
6005 { echo "$as_me:$LINENO: result: no" >&5
6006 echo "${ECHO_T}no" >&6; }
6011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6014 # Check whether --enable-datetime was given.
6015 if test "${enable_datetime+set}" = set; then
6016 enableval=$enable_datetime;
6017 if test "$enableval" = yes; then
6018 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6020 ac_cv_use_datetime='wxUSE_DATETIME=no'
6025 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
6026 if test "x$LINE" != x ; then
6027 eval "DEFAULT_$LINE"
6032 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6037 eval "$ac_cv_use_datetime"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6042 if test "$wxUSE_DATETIME" = yes; then
6043 { echo "$as_me:$LINENO: result: yes" >&5
6044 echo "${ECHO_T}yes" >&6; }
6046 { echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6; }
6052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6055 # Check whether --enable-debugreport was given.
6056 if test "${enable_debugreport+set}" = set; then
6057 enableval=$enable_debugreport;
6058 if test "$enableval" = yes; then
6059 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6061 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6066 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x ; then
6068 eval "DEFAULT_$LINE"
6073 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6078 eval "$ac_cv_use_debugreport"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6083 if test "$wxUSE_DEBUGREPORT" = yes; then
6084 { echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6; }
6087 { echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6; }
6093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6096 # Check whether --enable-dialupman was given.
6097 if test "${enable_dialupman+set}" = set; then
6098 enableval=$enable_dialupman;
6099 if test "$enableval" = yes; then
6100 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6102 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6107 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6108 if test "x$LINE" != x ; then
6109 eval "DEFAULT_$LINE"
6114 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6119 eval "$ac_cv_use_dialupman"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6124 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6125 { echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6; }
6128 { echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6; }
6134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6135 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6137 # Check whether --enable-dynlib was given.
6138 if test "${enable_dynlib+set}" = set; then
6139 enableval=$enable_dynlib;
6140 if test "$enableval" = yes; then
6141 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6143 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6148 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x ; then
6150 eval "DEFAULT_$LINE"
6155 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6160 eval "$ac_cv_use_dynlib"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6165 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6166 { echo "$as_me:$LINENO: result: yes" >&5
6167 echo "${ECHO_T}yes" >&6; }
6169 { echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6; }
6175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6178 # Check whether --enable-dynamicloader was given.
6179 if test "${enable_dynamicloader+set}" = set; then
6180 enableval=$enable_dynamicloader;
6181 if test "$enableval" = yes; then
6182 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6184 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6189 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6196 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6201 eval "$ac_cv_use_dynamicloader"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6206 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6207 { echo "$as_me:$LINENO: result: yes" >&5
6208 echo "${ECHO_T}yes" >&6; }
6210 { echo "$as_me:$LINENO: result: no" >&5
6211 echo "${ECHO_T}no" >&6; }
6216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6217 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6219 # Check whether --enable-exceptions was given.
6220 if test "${enable_exceptions+set}" = set; then
6221 enableval=$enable_exceptions;
6222 if test "$enableval" = yes; then
6223 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6225 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6230 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6231 if test "x$LINE" != x ; then
6232 eval "DEFAULT_$LINE"
6237 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6242 eval "$ac_cv_use_exceptions"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6247 if test "$wxUSE_EXCEPTIONS" = yes; then
6248 { echo "$as_me:$LINENO: result: yes" >&5
6249 echo "${ECHO_T}yes" >&6; }
6251 { echo "$as_me:$LINENO: result: no" >&5
6252 echo "${ECHO_T}no" >&6; }
6257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6258 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6260 # Check whether --enable-ffile was given.
6261 if test "${enable_ffile+set}" = set; then
6262 enableval=$enable_ffile;
6263 if test "$enableval" = yes; then
6264 ac_cv_use_ffile='wxUSE_FFILE=yes'
6266 ac_cv_use_ffile='wxUSE_FFILE=no'
6271 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6272 if test "x$LINE" != x ; then
6273 eval "DEFAULT_$LINE"
6278 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6283 eval "$ac_cv_use_ffile"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6288 if test "$wxUSE_FFILE" = yes; then
6289 { echo "$as_me:$LINENO: result: yes" >&5
6290 echo "${ECHO_T}yes" >&6; }
6292 { echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6; }
6298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6301 # Check whether --enable-file was given.
6302 if test "${enable_file+set}" = set; then
6303 enableval=$enable_file;
6304 if test "$enableval" = yes; then
6305 ac_cv_use_file='wxUSE_FILE=yes'
6307 ac_cv_use_file='wxUSE_FILE=no'
6312 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x ; then
6314 eval "DEFAULT_$LINE"
6319 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6324 eval "$ac_cv_use_file"
6325 if test "$no_cache" != 1; then
6326 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6329 if test "$wxUSE_FILE" = yes; then
6330 { echo "$as_me:$LINENO: result: yes" >&5
6331 echo "${ECHO_T}yes" >&6; }
6333 { echo "$as_me:$LINENO: result: no" >&5
6334 echo "${ECHO_T}no" >&6; }
6339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6340 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6342 # Check whether --enable-filesystem was given.
6343 if test "${enable_filesystem+set}" = set; then
6344 enableval=$enable_filesystem;
6345 if test "$enableval" = yes; then
6346 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6348 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6353 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x ; then
6355 eval "DEFAULT_$LINE"
6360 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6365 eval "$ac_cv_use_filesystem"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6370 if test "$wxUSE_FILESYSTEM" = yes; then
6371 { echo "$as_me:$LINENO: result: yes" >&5
6372 echo "${ECHO_T}yes" >&6; }
6374 { echo "$as_me:$LINENO: result: no" >&5
6375 echo "${ECHO_T}no" >&6; }
6380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6383 # Check whether --enable-fontmap was given.
6384 if test "${enable_fontmap+set}" = set; then
6385 enableval=$enable_fontmap;
6386 if test "$enableval" = yes; then
6387 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6389 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6394 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x ; then
6396 eval "DEFAULT_$LINE"
6401 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6406 eval "$ac_cv_use_fontmap"
6407 if test "$no_cache" != 1; then
6408 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6411 if test "$wxUSE_FONTMAP" = yes; then
6412 { echo "$as_me:$LINENO: result: yes" >&5
6413 echo "${ECHO_T}yes" >&6; }
6415 { echo "$as_me:$LINENO: result: no" >&5
6416 echo "${ECHO_T}no" >&6; }
6421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6422 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6424 # Check whether --enable-fs_archive was given.
6425 if test "${enable_fs_archive+set}" = set; then
6426 enableval=$enable_fs_archive;
6427 if test "$enableval" = yes; then
6428 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6430 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6435 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6436 if test "x$LINE" != x ; then
6437 eval "DEFAULT_$LINE"
6442 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6447 eval "$ac_cv_use_fs_archive"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6452 if test "$wxUSE_FS_ARCHIVE" = yes; then
6453 { echo "$as_me:$LINENO: result: yes" >&5
6454 echo "${ECHO_T}yes" >&6; }
6456 { echo "$as_me:$LINENO: result: no" >&5
6457 echo "${ECHO_T}no" >&6; }
6462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6463 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6465 # Check whether --enable-fs_inet was given.
6466 if test "${enable_fs_inet+set}" = set; then
6467 enableval=$enable_fs_inet;
6468 if test "$enableval" = yes; then
6469 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6471 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6476 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6477 if test "x$LINE" != x ; then
6478 eval "DEFAULT_$LINE"
6483 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6488 eval "$ac_cv_use_fs_inet"
6489 if test "$no_cache" != 1; then
6490 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6493 if test "$wxUSE_FS_INET" = yes; then
6494 { echo "$as_me:$LINENO: result: yes" >&5
6495 echo "${ECHO_T}yes" >&6; }
6497 { echo "$as_me:$LINENO: result: no" >&5
6498 echo "${ECHO_T}no" >&6; }
6503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6504 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6506 # Check whether --enable-fs_zip was given.
6507 if test "${enable_fs_zip+set}" = set; then
6508 enableval=$enable_fs_zip;
6509 if test "$enableval" = yes; then
6510 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6512 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6517 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6518 if test "x$LINE" != x ; then
6519 eval "DEFAULT_$LINE"
6524 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6529 eval "$ac_cv_use_fs_zip"
6530 if test "$no_cache" != 1; then
6531 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6534 if test "$wxUSE_FS_ZIP" = yes; then
6535 { echo "$as_me:$LINENO: result: yes" >&5
6536 echo "${ECHO_T}yes" >&6; }
6538 { echo "$as_me:$LINENO: result: no" >&5
6539 echo "${ECHO_T}no" >&6; }
6544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6545 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6547 # Check whether --enable-geometry was given.
6548 if test "${enable_geometry+set}" = set; then
6549 enableval=$enable_geometry;
6550 if test "$enableval" = yes; then
6551 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6553 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6558 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6559 if test "x$LINE" != x ; then
6560 eval "DEFAULT_$LINE"
6565 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6570 eval "$ac_cv_use_geometry"
6571 if test "$no_cache" != 1; then
6572 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6575 if test "$wxUSE_GEOMETRY" = yes; then
6576 { echo "$as_me:$LINENO: result: yes" >&5
6577 echo "${ECHO_T}yes" >&6; }
6579 { echo "$as_me:$LINENO: result: no" >&5
6580 echo "${ECHO_T}no" >&6; }
6585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6586 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6588 # Check whether --enable-log was given.
6589 if test "${enable_log+set}" = set; then
6590 enableval=$enable_log;
6591 if test "$enableval" = yes; then
6592 ac_cv_use_log='wxUSE_LOG=yes'
6594 ac_cv_use_log='wxUSE_LOG=no'
6599 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6611 eval "$ac_cv_use_log"
6612 if test "$no_cache" != 1; then
6613 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6616 if test "$wxUSE_LOG" = yes; then
6617 { echo "$as_me:$LINENO: result: yes" >&5
6618 echo "${ECHO_T}yes" >&6; }
6620 { echo "$as_me:$LINENO: result: no" >&5
6621 echo "${ECHO_T}no" >&6; }
6626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6627 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6629 # Check whether --enable-longlong was given.
6630 if test "${enable_longlong+set}" = set; then
6631 enableval=$enable_longlong;
6632 if test "$enableval" = yes; then
6633 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6635 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6640 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x ; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6652 eval "$ac_cv_use_longlong"
6653 if test "$no_cache" != 1; then
6654 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6657 if test "$wxUSE_LONGLONG" = yes; then
6658 { echo "$as_me:$LINENO: result: yes" >&5
6659 echo "${ECHO_T}yes" >&6; }
6661 { echo "$as_me:$LINENO: result: no" >&5
6662 echo "${ECHO_T}no" >&6; }
6667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6670 # Check whether --enable-mimetype was given.
6671 if test "${enable_mimetype+set}" = set; then
6672 enableval=$enable_mimetype;
6673 if test "$enableval" = yes; then
6674 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6676 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6681 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x ; then
6683 eval "DEFAULT_$LINE"
6688 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6693 eval "$ac_cv_use_mimetype"
6694 if test "$no_cache" != 1; then
6695 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6698 if test "$wxUSE_MIMETYPE" = yes; then
6699 { echo "$as_me:$LINENO: result: yes" >&5
6700 echo "${ECHO_T}yes" >&6; }
6702 { echo "$as_me:$LINENO: result: no" >&5
6703 echo "${ECHO_T}no" >&6; }
6708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6709 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6711 # Check whether --enable-mslu was given.
6712 if test "${enable_mslu+set}" = set; then
6713 enableval=$enable_mslu;
6714 if test "$enableval" = yes; then
6715 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6717 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6722 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6723 if test "x$LINE" != x ; then
6724 eval "DEFAULT_$LINE"
6729 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6734 eval "$ac_cv_use_mslu"
6735 if test "$no_cache" != 1; then
6736 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6739 if test "$wxUSE_UNICODE_MSLU" = yes; then
6740 { echo "$as_me:$LINENO: result: yes" >&5
6741 echo "${ECHO_T}yes" >&6; }
6743 { echo "$as_me:$LINENO: result: no" >&5
6744 echo "${ECHO_T}no" >&6; }
6749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6750 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6752 # Check whether --enable-utf8 was given.
6753 if test "${enable_utf8+set}" = set; then
6754 enableval=$enable_utf8;
6755 if test "$enableval" = yes; then
6756 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=yes'
6758 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=no'
6763 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6764 if test "x$LINE" != x ; then
6765 eval "DEFAULT_$LINE"
6770 ac_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6775 eval "$ac_cv_use_utf8"
6776 if test "$no_cache" != 1; then
6777 echo $ac_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6780 if test "$wxUSE_UNICODE_UTF8" = yes; then
6781 { echo "$as_me:$LINENO: result: yes" >&5
6782 echo "${ECHO_T}yes" >&6; }
6784 { echo "$as_me:$LINENO: result: no" >&5
6785 echo "${ECHO_T}no" >&6; }
6790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6791 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6793 # Check whether --enable-snglinst was given.
6794 if test "${enable_snglinst+set}" = set; then
6795 enableval=$enable_snglinst;
6796 if test "$enableval" = yes; then
6797 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6799 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6804 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6805 if test "x$LINE" != x ; then
6806 eval "DEFAULT_$LINE"
6811 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6816 eval "$ac_cv_use_snglinst"
6817 if test "$no_cache" != 1; then
6818 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6821 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6822 { echo "$as_me:$LINENO: result: yes" >&5
6823 echo "${ECHO_T}yes" >&6; }
6825 { echo "$as_me:$LINENO: result: no" >&5
6826 echo "${ECHO_T}no" >&6; }
6831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6832 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6834 # Check whether --enable-std_iostreams was given.
6835 if test "${enable_std_iostreams+set}" = set; then
6836 enableval=$enable_std_iostreams;
6837 if test "$enableval" = yes; then
6838 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6840 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6845 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6846 if test "x$LINE" != x ; then
6847 eval "DEFAULT_$LINE"
6852 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6857 eval "$ac_cv_use_std_iostreams"
6858 if test "$no_cache" != 1; then
6859 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6862 if test "$wxUSE_STD_IOSTREAM" = yes; then
6863 { echo "$as_me:$LINENO: result: yes" >&5
6864 echo "${ECHO_T}yes" >&6; }
6866 { echo "$as_me:$LINENO: result: no" >&5
6867 echo "${ECHO_T}no" >&6; }
6872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6873 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6875 # Check whether --enable-std_string was given.
6876 if test "${enable_std_string+set}" = set; then
6877 enableval=$enable_std_string;
6878 if test "$enableval" = yes; then
6879 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6881 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6886 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6887 if test "x$LINE" != x ; then
6888 eval "DEFAULT_$LINE"
6893 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6898 eval "$ac_cv_use_std_string"
6899 if test "$no_cache" != 1; then
6900 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6903 if test "$wxUSE_STD_STRING" = yes; then
6904 { echo "$as_me:$LINENO: result: yes" >&5
6905 echo "${ECHO_T}yes" >&6; }
6907 { echo "$as_me:$LINENO: result: no" >&5
6908 echo "${ECHO_T}no" >&6; }
6913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6914 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6916 # Check whether --enable-stdpaths was given.
6917 if test "${enable_stdpaths+set}" = set; then
6918 enableval=$enable_stdpaths;
6919 if test "$enableval" = yes; then
6920 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6922 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6927 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6928 if test "x$LINE" != x ; then
6929 eval "DEFAULT_$LINE"
6934 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6939 eval "$ac_cv_use_stdpaths"
6940 if test "$no_cache" != 1; then
6941 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6944 if test "$wxUSE_STDPATHS" = yes; then
6945 { echo "$as_me:$LINENO: result: yes" >&5
6946 echo "${ECHO_T}yes" >&6; }
6948 { echo "$as_me:$LINENO: result: no" >&5
6949 echo "${ECHO_T}no" >&6; }
6954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6955 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6957 # Check whether --enable-stopwatch was given.
6958 if test "${enable_stopwatch+set}" = set; then
6959 enableval=$enable_stopwatch;
6960 if test "$enableval" = yes; then
6961 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6963 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6968 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6969 if test "x$LINE" != x ; then
6970 eval "DEFAULT_$LINE"
6975 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6980 eval "$ac_cv_use_stopwatch"
6981 if test "$no_cache" != 1; then
6982 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6985 if test "$wxUSE_STOPWATCH" = yes; then
6986 { echo "$as_me:$LINENO: result: yes" >&5
6987 echo "${ECHO_T}yes" >&6; }
6989 { echo "$as_me:$LINENO: result: no" >&5
6990 echo "${ECHO_T}no" >&6; }
6995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6996 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6998 # Check whether --enable-streams was given.
6999 if test "${enable_streams+set}" = set; then
7000 enableval=$enable_streams;
7001 if test "$enableval" = yes; then
7002 ac_cv_use_streams='wxUSE_STREAMS=yes'
7004 ac_cv_use_streams='wxUSE_STREAMS=no'
7009 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
7010 if test "x$LINE" != x ; then
7011 eval "DEFAULT_$LINE"
7016 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7021 eval "$ac_cv_use_streams"
7022 if test "$no_cache" != 1; then
7023 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7026 if test "$wxUSE_STREAMS" = yes; then
7027 { echo "$as_me:$LINENO: result: yes" >&5
7028 echo "${ECHO_T}yes" >&6; }
7030 { echo "$as_me:$LINENO: result: no" >&5
7031 echo "${ECHO_T}no" >&6; }
7036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7039 # Check whether --enable-system_options was given.
7040 if test "${enable_system_options+set}" = set; then
7041 enableval=$enable_system_options;
7042 if test "$enableval" = yes; then
7043 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7045 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7050 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
7051 if test "x$LINE" != x ; then
7052 eval "DEFAULT_$LINE"
7057 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7062 eval "$ac_cv_use_system_options"
7063 if test "$no_cache" != 1; then
7064 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7067 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7068 { echo "$as_me:$LINENO: result: yes" >&5
7069 echo "${ECHO_T}yes" >&6; }
7071 { echo "$as_me:$LINENO: result: no" >&5
7072 echo "${ECHO_T}no" >&6; }
7077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7078 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7080 # Check whether --enable-tarstream was given.
7081 if test "${enable_tarstream+set}" = set; then
7082 enableval=$enable_tarstream;
7083 if test "$enableval" = yes; then
7084 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7086 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7091 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7092 if test "x$LINE" != x ; then
7093 eval "DEFAULT_$LINE"
7098 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7103 eval "$ac_cv_use_tarstream"
7104 if test "$no_cache" != 1; then
7105 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7108 if test "$wxUSE_TARSTREAM" = yes; then
7109 { echo "$as_me:$LINENO: result: yes" >&5
7110 echo "${ECHO_T}yes" >&6; }
7112 { echo "$as_me:$LINENO: result: no" >&5
7113 echo "${ECHO_T}no" >&6; }
7118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7119 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7121 # Check whether --enable-textbuf was given.
7122 if test "${enable_textbuf+set}" = set; then
7123 enableval=$enable_textbuf;
7124 if test "$enableval" = yes; then
7125 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7127 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7132 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7133 if test "x$LINE" != x ; then
7134 eval "DEFAULT_$LINE"
7139 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7144 eval "$ac_cv_use_textbuf"
7145 if test "$no_cache" != 1; then
7146 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7149 if test "$wxUSE_TEXTBUFFER" = yes; then
7150 { echo "$as_me:$LINENO: result: yes" >&5
7151 echo "${ECHO_T}yes" >&6; }
7153 { echo "$as_me:$LINENO: result: no" >&5
7154 echo "${ECHO_T}no" >&6; }
7159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7160 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7162 # Check whether --enable-textfile was given.
7163 if test "${enable_textfile+set}" = set; then
7164 enableval=$enable_textfile;
7165 if test "$enableval" = yes; then
7166 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7168 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7173 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7174 if test "x$LINE" != x ; then
7175 eval "DEFAULT_$LINE"
7180 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7185 eval "$ac_cv_use_textfile"
7186 if test "$no_cache" != 1; then
7187 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7190 if test "$wxUSE_TEXTFILE" = yes; then
7191 { echo "$as_me:$LINENO: result: yes" >&5
7192 echo "${ECHO_T}yes" >&6; }
7194 { echo "$as_me:$LINENO: result: no" >&5
7195 echo "${ECHO_T}no" >&6; }
7200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7201 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7203 # Check whether --enable-timer was given.
7204 if test "${enable_timer+set}" = set; then
7205 enableval=$enable_timer;
7206 if test "$enableval" = yes; then
7207 ac_cv_use_timer='wxUSE_TIMER=yes'
7209 ac_cv_use_timer='wxUSE_TIMER=no'
7214 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7215 if test "x$LINE" != x ; then
7216 eval "DEFAULT_$LINE"
7221 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7226 eval "$ac_cv_use_timer"
7227 if test "$no_cache" != 1; then
7228 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7231 if test "$wxUSE_TIMER" = yes; then
7232 { echo "$as_me:$LINENO: result: yes" >&5
7233 echo "${ECHO_T}yes" >&6; }
7235 { echo "$as_me:$LINENO: result: no" >&5
7236 echo "${ECHO_T}no" >&6; }
7241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7242 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7244 # Check whether --enable-unicode was given.
7245 if test "${enable_unicode+set}" = set; then
7246 enableval=$enable_unicode;
7247 if test "$enableval" = yes; then
7248 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7250 ac_cv_use_unicode='wxUSE_UNICODE=no'
7255 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7256 if test "x$LINE" != x ; then
7257 eval "DEFAULT_$LINE"
7262 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7267 eval "$ac_cv_use_unicode"
7268 if test "$no_cache" != 1; then
7269 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7272 if test "$wxUSE_UNICODE" = yes; then
7273 { echo "$as_me:$LINENO: result: yes" >&5
7274 echo "${ECHO_T}yes" >&6; }
7276 { echo "$as_me:$LINENO: result: no" >&5
7277 echo "${ECHO_T}no" >&6; }
7282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7283 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7285 # Check whether --enable-sound was given.
7286 if test "${enable_sound+set}" = set; then
7287 enableval=$enable_sound;
7288 if test "$enableval" = yes; then
7289 ac_cv_use_sound='wxUSE_SOUND=yes'
7291 ac_cv_use_sound='wxUSE_SOUND=no'
7296 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7297 if test "x$LINE" != x ; then
7298 eval "DEFAULT_$LINE"
7303 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7308 eval "$ac_cv_use_sound"
7309 if test "$no_cache" != 1; then
7310 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7313 if test "$wxUSE_SOUND" = yes; then
7314 { echo "$as_me:$LINENO: result: yes" >&5
7315 echo "${ECHO_T}yes" >&6; }
7317 { echo "$as_me:$LINENO: result: no" >&5
7318 echo "${ECHO_T}no" >&6; }
7323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7324 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7326 # Check whether --enable-mediactrl was given.
7327 if test "${enable_mediactrl+set}" = set; then
7328 enableval=$enable_mediactrl;
7329 if test "$enableval" = yes; then
7330 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7332 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7337 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7338 if test "x$LINE" != x ; then
7339 eval "DEFAULT_$LINE"
7344 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7349 eval "$ac_cv_use_mediactrl"
7350 if test "$no_cache" != 1; then
7351 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7354 if test "$wxUSE_MEDIACTRL" = yes; then
7355 { echo "$as_me:$LINENO: result: yes" >&5
7356 echo "${ECHO_T}yes" >&6; }
7358 { echo "$as_me:$LINENO: result: no" >&5
7359 echo "${ECHO_T}no" >&6; }
7364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7365 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7367 # Check whether --enable-gstreamer8 was given.
7368 if test "${enable_gstreamer8+set}" = set; then
7369 enableval=$enable_gstreamer8;
7370 if test "$enableval" = yes; then
7371 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7373 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7378 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7379 if test "x$LINE" != x ; then
7380 eval "DEFAULT_$LINE"
7385 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7390 eval "$ac_cv_use_gstreamer8"
7391 if test "$no_cache" != 1; then
7392 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7395 if test "$wxUSE_GSTREAMER8" = yes; then
7396 { echo "$as_me:$LINENO: result: yes" >&5
7397 echo "${ECHO_T}yes" >&6; }
7399 { echo "$as_me:$LINENO: result: no" >&5
7400 echo "${ECHO_T}no" >&6; }
7405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7406 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7408 # Check whether --enable-printfposparam was given.
7409 if test "${enable_printfposparam+set}" = set; then
7410 enableval=$enable_printfposparam;
7411 if test "$enableval" = yes; then
7412 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7414 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7419 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7420 if test "x$LINE" != x ; then
7421 eval "DEFAULT_$LINE"
7426 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7431 eval "$ac_cv_use_printfposparam"
7432 if test "$no_cache" != 1; then
7433 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7436 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7437 { echo "$as_me:$LINENO: result: yes" >&5
7438 echo "${ECHO_T}yes" >&6; }
7440 { echo "$as_me:$LINENO: result: no" >&5
7441 echo "${ECHO_T}no" >&6; }
7446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7447 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7449 # Check whether --enable-zipstream was given.
7450 if test "${enable_zipstream+set}" = set; then
7451 enableval=$enable_zipstream;
7452 if test "$enableval" = yes; then
7453 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7455 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7460 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7461 if test "x$LINE" != x ; then
7462 eval "DEFAULT_$LINE"
7467 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7472 eval "$ac_cv_use_zipstream"
7473 if test "$no_cache" != 1; then
7474 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7477 if test "$wxUSE_ZIPSTREAM" = yes; then
7478 { echo "$as_me:$LINENO: result: yes" >&5
7479 echo "${ECHO_T}yes" >&6; }
7481 { echo "$as_me:$LINENO: result: no" >&5
7482 echo "${ECHO_T}no" >&6; }
7488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7489 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7491 # Check whether --enable-url was given.
7492 if test "${enable_url+set}" = set; then
7493 enableval=$enable_url;
7494 if test "$enableval" = yes; then
7495 ac_cv_use_url='wxUSE_URL=yes'
7497 ac_cv_use_url='wxUSE_URL=no'
7502 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7503 if test "x$LINE" != x ; then
7504 eval "DEFAULT_$LINE"
7509 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7514 eval "$ac_cv_use_url"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7519 if test "$wxUSE_URL" = yes; then
7520 { echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6; }
7523 { echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6; }
7529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7530 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7532 # Check whether --enable-variant was given.
7533 if test "${enable_variant+set}" = set; then
7534 enableval=$enable_variant;
7535 if test "$enableval" = yes; then
7536 ac_cv_use_variant='wxUSE_VARIANT=yes'
7538 ac_cv_use_variant='wxUSE_VARIANT=no'
7543 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7544 if test "x$LINE" != x ; then
7545 eval "DEFAULT_$LINE"
7550 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7555 eval "$ac_cv_use_variant"
7556 if test "$no_cache" != 1; then
7557 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7560 if test "$wxUSE_VARIANT" = yes; then
7561 { echo "$as_me:$LINENO: result: yes" >&5
7562 echo "${ECHO_T}yes" >&6; }
7564 { echo "$as_me:$LINENO: result: no" >&5
7565 echo "${ECHO_T}no" >&6; }
7570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7571 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7573 # Check whether --enable-protocol was given.
7574 if test "${enable_protocol+set}" = set; then
7575 enableval=$enable_protocol;
7576 if test "$enableval" = yes; then
7577 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7579 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7584 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7585 if test "x$LINE" != x ; then
7586 eval "DEFAULT_$LINE"
7591 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7596 eval "$ac_cv_use_protocol"
7597 if test "$no_cache" != 1; then
7598 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7601 if test "$wxUSE_PROTOCOL" = yes; then
7602 { echo "$as_me:$LINENO: result: yes" >&5
7603 echo "${ECHO_T}yes" >&6; }
7605 { echo "$as_me:$LINENO: result: no" >&5
7606 echo "${ECHO_T}no" >&6; }
7611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7612 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7614 # Check whether --enable-protocol_http was given.
7615 if test "${enable_protocol_http+set}" = set; then
7616 enableval=$enable_protocol_http;
7617 if test "$enableval" = yes; then
7618 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7620 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7625 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7626 if test "x$LINE" != x ; then
7627 eval "DEFAULT_$LINE"
7632 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7637 eval "$ac_cv_use_protocol_http"
7638 if test "$no_cache" != 1; then
7639 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7642 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7643 { echo "$as_me:$LINENO: result: yes" >&5
7644 echo "${ECHO_T}yes" >&6; }
7646 { echo "$as_me:$LINENO: result: no" >&5
7647 echo "${ECHO_T}no" >&6; }
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7655 # Check whether --enable-protocol_ftp was given.
7656 if test "${enable_protocol_ftp+set}" = set; then
7657 enableval=$enable_protocol_ftp;
7658 if test "$enableval" = yes; then
7659 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7661 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7666 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7667 if test "x$LINE" != x ; then
7668 eval "DEFAULT_$LINE"
7673 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7678 eval "$ac_cv_use_protocol_ftp"
7679 if test "$no_cache" != 1; then
7680 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7683 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7684 { echo "$as_me:$LINENO: result: yes" >&5
7685 echo "${ECHO_T}yes" >&6; }
7687 { echo "$as_me:$LINENO: result: no" >&5
7688 echo "${ECHO_T}no" >&6; }
7693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7694 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7696 # Check whether --enable-protocol_file was given.
7697 if test "${enable_protocol_file+set}" = set; then
7698 enableval=$enable_protocol_file;
7699 if test "$enableval" = yes; then
7700 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7702 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7707 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7708 if test "x$LINE" != x ; then
7709 eval "DEFAULT_$LINE"
7714 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7719 eval "$ac_cv_use_protocol_file"
7720 if test "$no_cache" != 1; then
7721 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7724 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7725 { echo "$as_me:$LINENO: result: yes" >&5
7726 echo "${ECHO_T}yes" >&6; }
7728 { echo "$as_me:$LINENO: result: no" >&5
7729 echo "${ECHO_T}no" >&6; }
7737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7738 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7740 # Check whether --enable-threads was given.
7741 if test "${enable_threads+set}" = set; then
7742 enableval=$enable_threads;
7743 if test "$enableval" = yes; then
7744 ac_cv_use_threads='wxUSE_THREADS=yes'
7746 ac_cv_use_threads='wxUSE_THREADS=no'
7751 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7752 if test "x$LINE" != x ; then
7753 eval "DEFAULT_$LINE"
7758 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7763 eval "$ac_cv_use_threads"
7764 if test "$no_cache" != 1; then
7765 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7768 if test "$wxUSE_THREADS" = yes; then
7769 { echo "$as_me:$LINENO: result: yes" >&5
7770 echo "${ECHO_T}yes" >&6; }
7772 { echo "$as_me:$LINENO: result: no" >&5
7773 echo "${ECHO_T}no" >&6; }
7777 if test "$wxUSE_GUI" = "yes"; then
7782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7783 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7785 # Check whether --enable-docview was given.
7786 if test "${enable_docview+set}" = set; then
7787 enableval=$enable_docview;
7788 if test "$enableval" = yes; then
7789 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7791 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7796 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7797 if test "x$LINE" != x ; then
7798 eval "DEFAULT_$LINE"
7803 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7808 eval "$ac_cv_use_docview"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7813 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7814 { echo "$as_me:$LINENO: result: yes" >&5
7815 echo "${ECHO_T}yes" >&6; }
7817 { echo "$as_me:$LINENO: result: no" >&5
7818 echo "${ECHO_T}no" >&6; }
7823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7824 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7826 # Check whether --enable-help was given.
7827 if test "${enable_help+set}" = set; then
7828 enableval=$enable_help;
7829 if test "$enableval" = yes; then
7830 ac_cv_use_help='wxUSE_HELP=yes'
7832 ac_cv_use_help='wxUSE_HELP=no'
7837 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7838 if test "x$LINE" != x ; then
7839 eval "DEFAULT_$LINE"
7844 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7849 eval "$ac_cv_use_help"
7850 if test "$no_cache" != 1; then
7851 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7854 if test "$wxUSE_HELP" = yes; then
7855 { echo "$as_me:$LINENO: result: yes" >&5
7856 echo "${ECHO_T}yes" >&6; }
7858 { echo "$as_me:$LINENO: result: no" >&5
7859 echo "${ECHO_T}no" >&6; }
7864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7865 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7867 # Check whether --enable-mshtmlhelp was given.
7868 if test "${enable_mshtmlhelp+set}" = set; then
7869 enableval=$enable_mshtmlhelp;
7870 if test "$enableval" = yes; then
7871 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7873 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7878 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7879 if test "x$LINE" != x ; then
7880 eval "DEFAULT_$LINE"
7885 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7890 eval "$ac_cv_use_mshtmlhelp"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7895 if test "$wxUSE_MS_HTML_HELP" = yes; then
7896 { echo "$as_me:$LINENO: result: yes" >&5
7897 echo "${ECHO_T}yes" >&6; }
7899 { echo "$as_me:$LINENO: result: no" >&5
7900 echo "${ECHO_T}no" >&6; }
7905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7908 # Check whether --enable-html was given.
7909 if test "${enable_html+set}" = set; then
7910 enableval=$enable_html;
7911 if test "$enableval" = yes; then
7912 ac_cv_use_html='wxUSE_HTML=yes'
7914 ac_cv_use_html='wxUSE_HTML=no'
7919 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7920 if test "x$LINE" != x ; then
7921 eval "DEFAULT_$LINE"
7926 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7931 eval "$ac_cv_use_html"
7932 if test "$no_cache" != 1; then
7933 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7936 if test "$wxUSE_HTML" = yes; then
7937 { echo "$as_me:$LINENO: result: yes" >&5
7938 echo "${ECHO_T}yes" >&6; }
7940 { echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6; }
7946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7947 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7949 # Check whether --enable-htmlhelp was given.
7950 if test "${enable_htmlhelp+set}" = set; then
7951 enableval=$enable_htmlhelp;
7952 if test "$enableval" = yes; then
7953 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7955 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7960 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7961 if test "x$LINE" != x ; then
7962 eval "DEFAULT_$LINE"
7967 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7972 eval "$ac_cv_use_htmlhelp"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7977 if test "$wxUSE_WXHTML_HELP" = yes; then
7978 { echo "$as_me:$LINENO: result: yes" >&5
7979 echo "${ECHO_T}yes" >&6; }
7981 { echo "$as_me:$LINENO: result: no" >&5
7982 echo "${ECHO_T}no" >&6; }
7987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7988 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7990 # Check whether --enable-xrc was given.
7991 if test "${enable_xrc+set}" = set; then
7992 enableval=$enable_xrc;
7993 if test "$enableval" = yes; then
7994 ac_cv_use_xrc='wxUSE_XRC=yes'
7996 ac_cv_use_xrc='wxUSE_XRC=no'
8001 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
8002 if test "x$LINE" != x ; then
8003 eval "DEFAULT_$LINE"
8008 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8013 eval "$ac_cv_use_xrc"
8014 if test "$no_cache" != 1; then
8015 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8018 if test "$wxUSE_XRC" = yes; then
8019 { echo "$as_me:$LINENO: result: yes" >&5
8020 echo "${ECHO_T}yes" >&6; }
8022 { echo "$as_me:$LINENO: result: no" >&5
8023 echo "${ECHO_T}no" >&6; }
8028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8029 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8031 # Check whether --enable-aui was given.
8032 if test "${enable_aui+set}" = set; then
8033 enableval=$enable_aui;
8034 if test "$enableval" = yes; then
8035 ac_cv_use_aui='wxUSE_AUI=yes'
8037 ac_cv_use_aui='wxUSE_AUI=no'
8042 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
8043 if test "x$LINE" != x ; then
8044 eval "DEFAULT_$LINE"
8049 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8054 eval "$ac_cv_use_aui"
8055 if test "$no_cache" != 1; then
8056 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8059 if test "$wxUSE_AUI" = yes; then
8060 { echo "$as_me:$LINENO: result: yes" >&5
8061 echo "${ECHO_T}yes" >&6; }
8063 { echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6; }
8069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8070 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8072 # Check whether --enable-stc was given.
8073 if test "${enable_stc+set}" = set; then
8074 enableval=$enable_stc;
8075 if test "$enableval" = yes; then
8076 ac_cv_use_stc='wxUSE_STC=yes'
8078 ac_cv_use_stc='wxUSE_STC=no'
8083 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x ; then
8085 eval "DEFAULT_$LINE"
8090 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8095 eval "$ac_cv_use_stc"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8100 if test "$wxUSE_STC" = yes; then
8101 { echo "$as_me:$LINENO: result: yes" >&5
8102 echo "${ECHO_T}yes" >&6; }
8104 { echo "$as_me:$LINENO: result: no" >&5
8105 echo "${ECHO_T}no" >&6; }
8110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8111 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8113 # Check whether --enable-constraints was given.
8114 if test "${enable_constraints+set}" = set; then
8115 enableval=$enable_constraints;
8116 if test "$enableval" = yes; then
8117 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8119 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8124 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8125 if test "x$LINE" != x ; then
8126 eval "DEFAULT_$LINE"
8131 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8136 eval "$ac_cv_use_constraints"
8137 if test "$no_cache" != 1; then
8138 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8141 if test "$wxUSE_CONSTRAINTS" = yes; then
8142 { echo "$as_me:$LINENO: result: yes" >&5
8143 echo "${ECHO_T}yes" >&6; }
8145 { echo "$as_me:$LINENO: result: no" >&5
8146 echo "${ECHO_T}no" >&6; }
8151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8154 # Check whether --enable-printarch was given.
8155 if test "${enable_printarch+set}" = set; then
8156 enableval=$enable_printarch;
8157 if test "$enableval" = yes; then
8158 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8160 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8165 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x ; then
8167 eval "DEFAULT_$LINE"
8172 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8177 eval "$ac_cv_use_printarch"
8178 if test "$no_cache" != 1; then
8179 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8182 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8183 { echo "$as_me:$LINENO: result: yes" >&5
8184 echo "${ECHO_T}yes" >&6; }
8186 { echo "$as_me:$LINENO: result: no" >&5
8187 echo "${ECHO_T}no" >&6; }
8192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8195 # Check whether --enable-mdi was given.
8196 if test "${enable_mdi+set}" = set; then
8197 enableval=$enable_mdi;
8198 if test "$enableval" = yes; then
8199 ac_cv_use_mdi='wxUSE_MDI=yes'
8201 ac_cv_use_mdi='wxUSE_MDI=no'
8206 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x ; then
8208 eval "DEFAULT_$LINE"
8213 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8218 eval "$ac_cv_use_mdi"
8219 if test "$no_cache" != 1; then
8220 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8223 if test "$wxUSE_MDI" = yes; then
8224 { echo "$as_me:$LINENO: result: yes" >&5
8225 echo "${ECHO_T}yes" >&6; }
8227 { echo "$as_me:$LINENO: result: no" >&5
8228 echo "${ECHO_T}no" >&6; }
8233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8236 # Check whether --enable-mdidoc was given.
8237 if test "${enable_mdidoc+set}" = set; then
8238 enableval=$enable_mdidoc;
8239 if test "$enableval" = yes; then
8240 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8242 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8247 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8248 if test "x$LINE" != x ; then
8249 eval "DEFAULT_$LINE"
8254 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8259 eval "$ac_cv_use_mdidoc"
8260 if test "$no_cache" != 1; then
8261 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8264 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8265 { echo "$as_me:$LINENO: result: yes" >&5
8266 echo "${ECHO_T}yes" >&6; }
8268 { echo "$as_me:$LINENO: result: no" >&5
8269 echo "${ECHO_T}no" >&6; }
8274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8275 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8277 # Check whether --enable-loggui was given.
8278 if test "${enable_loggui+set}" = set; then
8279 enableval=$enable_loggui;
8280 if test "$enableval" = yes; then
8281 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8283 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8288 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8289 if test "x$LINE" != x ; then
8290 eval "DEFAULT_$LINE"
8295 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8300 eval "$ac_cv_use_loggui"
8301 if test "$no_cache" != 1; then
8302 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8305 if test "$wxUSE_LOGGUI" = yes; then
8306 { echo "$as_me:$LINENO: result: yes" >&5
8307 echo "${ECHO_T}yes" >&6; }
8309 { echo "$as_me:$LINENO: result: no" >&5
8310 echo "${ECHO_T}no" >&6; }
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8318 # Check whether --enable-logwin was given.
8319 if test "${enable_logwin+set}" = set; then
8320 enableval=$enable_logwin;
8321 if test "$enableval" = yes; then
8322 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8324 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8329 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8330 if test "x$LINE" != x ; then
8331 eval "DEFAULT_$LINE"
8336 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8341 eval "$ac_cv_use_logwin"
8342 if test "$no_cache" != 1; then
8343 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8346 if test "$wxUSE_LOGWINDOW" = yes; then
8347 { echo "$as_me:$LINENO: result: yes" >&5
8348 echo "${ECHO_T}yes" >&6; }
8350 { echo "$as_me:$LINENO: result: no" >&5
8351 echo "${ECHO_T}no" >&6; }
8356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8357 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8359 # Check whether --enable-logdialog was given.
8360 if test "${enable_logdialog+set}" = set; then
8361 enableval=$enable_logdialog;
8362 if test "$enableval" = yes; then
8363 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8365 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8370 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8371 if test "x$LINE" != x ; then
8372 eval "DEFAULT_$LINE"
8377 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8382 eval "$ac_cv_use_logdialog"
8383 if test "$no_cache" != 1; then
8384 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8387 if test "$wxUSE_LOGDIALOG" = yes; then
8388 { echo "$as_me:$LINENO: result: yes" >&5
8389 echo "${ECHO_T}yes" >&6; }
8391 { echo "$as_me:$LINENO: result: no" >&5
8392 echo "${ECHO_T}no" >&6; }
8397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8398 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8400 # Check whether --enable-webkit was given.
8401 if test "${enable_webkit+set}" = set; then
8402 enableval=$enable_webkit;
8403 if test "$enableval" = yes; then
8404 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8406 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8411 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8412 if test "x$LINE" != x ; then
8413 eval "DEFAULT_$LINE"
8418 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8423 eval "$ac_cv_use_webkit"
8424 if test "$no_cache" != 1; then
8425 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8428 if test "$wxUSE_WEBKIT" = yes; then
8429 { echo "$as_me:$LINENO: result: yes" >&5
8430 echo "${ECHO_T}yes" >&6; }
8432 { echo "$as_me:$LINENO: result: no" >&5
8433 echo "${ECHO_T}no" >&6; }
8438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8439 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8441 # Check whether --enable-richtext was given.
8442 if test "${enable_richtext+set}" = set; then
8443 enableval=$enable_richtext;
8444 if test "$enableval" = yes; then
8445 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8447 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8452 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8453 if test "x$LINE" != x ; then
8454 eval "DEFAULT_$LINE"
8459 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8464 eval "$ac_cv_use_richtext"
8465 if test "$no_cache" != 1; then
8466 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8469 if test "$wxUSE_RICHTEXT" = yes; then
8470 { echo "$as_me:$LINENO: result: yes" >&5
8471 echo "${ECHO_T}yes" >&6; }
8473 { echo "$as_me:$LINENO: result: no" >&5
8474 echo "${ECHO_T}no" >&6; }
8479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8480 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8482 # Check whether --enable-graphics_ctx was given.
8483 if test "${enable_graphics_ctx+set}" = set; then
8484 enableval=$enable_graphics_ctx;
8485 if test "$enableval" = yes; then
8486 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8488 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8493 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8494 if test "x$LINE" != x ; then
8495 eval "DEFAULT_$LINE"
8500 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8505 eval "$ac_cv_use_graphics_ctx"
8506 if test "$no_cache" != 1; then
8507 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8510 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8511 { echo "$as_me:$LINENO: result: yes" >&5
8512 echo "${ECHO_T}yes" >&6; }
8514 { echo "$as_me:$LINENO: result: no" >&5
8515 echo "${ECHO_T}no" >&6; }
8521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8524 # Check whether --enable-postscript was given.
8525 if test "${enable_postscript+set}" = set; then
8526 enableval=$enable_postscript;
8527 if test "$enableval" = yes; then
8528 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8530 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8535 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8536 if test "x$LINE" != x ; then
8537 eval "DEFAULT_$LINE"
8542 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8547 eval "$ac_cv_use_postscript"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8552 if test "$wxUSE_POSTSCRIPT" = yes; then
8553 { echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6; }
8556 { echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6; }
8565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8566 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8568 # Check whether --enable-clipboard was given.
8569 if test "${enable_clipboard+set}" = set; then
8570 enableval=$enable_clipboard;
8571 if test "$enableval" = yes; then
8572 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8574 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8579 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x ; then
8581 eval "DEFAULT_$LINE"
8586 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8591 eval "$ac_cv_use_clipboard"
8592 if test "$no_cache" != 1; then
8593 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8596 if test "$wxUSE_CLIPBOARD" = yes; then
8597 { echo "$as_me:$LINENO: result: yes" >&5
8598 echo "${ECHO_T}yes" >&6; }
8600 { echo "$as_me:$LINENO: result: no" >&5
8601 echo "${ECHO_T}no" >&6; }
8606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8607 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8609 # Check whether --enable-dnd was given.
8610 if test "${enable_dnd+set}" = set; then
8611 enableval=$enable_dnd;
8612 if test "$enableval" = yes; then
8613 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8615 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8620 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x ; then
8622 eval "DEFAULT_$LINE"
8627 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8632 eval "$ac_cv_use_dnd"
8633 if test "$no_cache" != 1; then
8634 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8637 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8638 { echo "$as_me:$LINENO: result: yes" >&5
8639 echo "${ECHO_T}yes" >&6; }
8641 { echo "$as_me:$LINENO: result: no" >&5
8642 echo "${ECHO_T}no" >&6; }
8647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8648 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8650 # Check whether --enable-metafile was given.
8651 if test "${enable_metafile+set}" = set; then
8652 enableval=$enable_metafile;
8653 if test "$enableval" = yes; then
8654 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8656 ac_cv_use_metafile='wxUSE_METAFILE=no'
8661 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x ; then
8663 eval "DEFAULT_$LINE"
8668 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8673 eval "$ac_cv_use_metafile"
8674 if test "$no_cache" != 1; then
8675 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8678 if test "$wxUSE_METAFILE" = yes; then
8679 { echo "$as_me:$LINENO: result: yes" >&5
8680 echo "${ECHO_T}yes" >&6; }
8682 { echo "$as_me:$LINENO: result: no" >&5
8683 echo "${ECHO_T}no" >&6; }
8691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8694 # Check whether --enable-controls was given.
8695 if test "${enable_controls+set}" = set; then
8696 enableval=$enable_controls;
8697 if test "$enableval" = yes; then
8698 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8700 ac_cv_use_controls='wxUSE_CONTROLS=no'
8705 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x ; then
8707 eval "DEFAULT_$LINE"
8712 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8717 eval "$ac_cv_use_controls"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8722 if test "$wxUSE_CONTROLS" = yes; then
8723 { echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6; }
8726 { echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6; }
8731 if test "$wxUSE_CONTROLS" = "yes"; then
8732 DEFAULT_wxUSE_ACCEL=yes
8733 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8734 DEFAULT_wxUSE_BMPBUTTON=yes
8735 DEFAULT_wxUSE_BUTTON=yes
8736 DEFAULT_wxUSE_CALCTRL=yes
8737 DEFAULT_wxUSE_CARET=yes
8738 DEFAULT_wxUSE_COMBOBOX=yes
8739 DEFAULT_wxUSE_CHECKBOX=yes
8740 DEFAULT_wxUSE_CHECKLISTBOX=yes
8741 DEFAULT_wxUSE_CHOICE=yes
8742 DEFAULT_wxUSE_CHOICEBOOK=yes
8743 DEFAULT_wxUSE_COLLPANE=yes
8744 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8745 DEFAULT_wxUSE_COMBOBOX=yes
8746 DEFAULT_wxUSE_DATEPICKCTRL=yes
8747 DEFAULT_wxUSE_DISPLAY=yes
8748 DEFAULT_wxUSE_DETECT_SM=yes
8749 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8750 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8751 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8752 DEFAULT_wxUSE_GAUGE=yes
8753 DEFAULT_wxUSE_GRID=yes
8754 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8755 DEFAULT_wxUSE_DATAVIEWCTRL=no
8756 DEFAULT_wxUSE_IMAGLIST=yes
8757 DEFAULT_wxUSE_LISTBOOK=yes
8758 DEFAULT_wxUSE_LISTBOX=yes
8759 DEFAULT_wxUSE_LISTCTRL=yes
8760 DEFAULT_wxUSE_NOTEBOOK=yes
8761 DEFAULT_wxUSE_RADIOBOX=yes
8762 DEFAULT_wxUSE_RADIOBTN=yes
8763 DEFAULT_wxUSE_SASH=yes
8764 DEFAULT_wxUSE_SCROLLBAR=yes
8765 DEFAULT_wxUSE_SEARCHCTRL=yes
8766 DEFAULT_wxUSE_SLIDER=yes
8767 DEFAULT_wxUSE_SPINBTN=yes
8768 DEFAULT_wxUSE_SPINCTRL=yes
8769 DEFAULT_wxUSE_SPLITTER=yes
8770 DEFAULT_wxUSE_STATBMP=yes
8771 DEFAULT_wxUSE_STATBOX=yes
8772 DEFAULT_wxUSE_STATLINE=yes
8773 DEFAULT_wxUSE_STATUSBAR=yes
8774 DEFAULT_wxUSE_TAB_DIALOG=yes
8775 DEFAULT_wxUSE_TOGGLEBTN=yes
8776 DEFAULT_wxUSE_TOOLBAR=yes
8777 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8778 DEFAULT_wxUSE_TOOLTIPS=yes
8779 DEFAULT_wxUSE_TREEBOOK=yes
8780 DEFAULT_wxUSE_TOOLBOOK=yes
8781 DEFAULT_wxUSE_TREECTRL=yes
8782 DEFAULT_wxUSE_POPUPWIN=yes
8783 DEFAULT_wxUSE_TIPWINDOW=yes
8784 elif test "$wxUSE_CONTROLS" = "no"; then
8785 DEFAULT_wxUSE_ACCEL=no
8786 DEFAULT_wxUSE_ANIMATIONCTRL=no
8787 DEFAULT_wxUSE_BMPBUTTON=no
8788 DEFAULT_wxUSE_BUTTON=no
8789 DEFAULT_wxUSE_CALCTRL=no
8790 DEFAULT_wxUSE_CARET=no
8791 DEFAULT_wxUSE_COLLPANE=no
8792 DEFAULT_wxUSE_COMBOBOX=no
8793 DEFAULT_wxUSE_CHECKBOX=no
8794 DEFAULT_wxUSE_CHECKLISTBOX=no
8795 DEFAULT_wxUSE_CHOICE=no
8796 DEFAULT_wxUSE_CHOICEBOOK=no
8797 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8798 DEFAULT_wxUSE_COMBOBOX=no
8799 DEFAULT_wxUSE_DATEPICKCTRL=no
8800 DEFAULT_wxUSE_DISPLAY=no
8801 DEFAULT_wxUSE_DETECT_SM=no
8802 DEFAULT_wxUSE_DIRPICKERCTRL=no
8803 DEFAULT_wxUSE_FILEPICKERCTRL=no
8804 DEFAULT_wxUSE_FONTPICKERCTRL=no
8805 DEFAULT_wxUSE_GAUGE=no
8806 DEFAULT_wxUSE_GRID=no
8807 DEFAULT_wxUSE_HYPERLINKCTRL=no
8808 DEFAULT_wxUSE_DATAVIEWCTRL=no
8809 DEFAULT_wxUSE_IMAGLIST=no
8810 DEFAULT_wxUSE_LISTBOOK=no
8811 DEFAULT_wxUSE_LISTBOX=no
8812 DEFAULT_wxUSE_LISTCTRL=no
8813 DEFAULT_wxUSE_NOTEBOOK=no
8814 DEFAULT_wxUSE_RADIOBOX=no
8815 DEFAULT_wxUSE_RADIOBTN=no
8816 DEFAULT_wxUSE_SASH=no
8817 DEFAULT_wxUSE_SCROLLBAR=no
8818 DEFAULT_wxUSE_SEARCHCTRL=no
8819 DEFAULT_wxUSE_SLIDER=no
8820 DEFAULT_wxUSE_SPINBTN=no
8821 DEFAULT_wxUSE_SPINCTRL=no
8822 DEFAULT_wxUSE_SPLITTER=no
8823 DEFAULT_wxUSE_STATBMP=no
8824 DEFAULT_wxUSE_STATBOX=no
8825 DEFAULT_wxUSE_STATLINE=no
8826 DEFAULT_wxUSE_STATUSBAR=no
8827 DEFAULT_wxUSE_TAB_DIALOG=no
8828 DEFAULT_wxUSE_TOGGLEBTN=no
8829 DEFAULT_wxUSE_TOOLBAR=no
8830 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8831 DEFAULT_wxUSE_TOOLTIPS=no
8832 DEFAULT_wxUSE_TREEBOOK=no
8833 DEFAULT_wxUSE_TOOLBOOK=no
8834 DEFAULT_wxUSE_TREECTRL=no
8835 DEFAULT_wxUSE_POPUPWIN=no
8836 DEFAULT_wxUSE_TIPWINDOW=no
8841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8842 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8844 # Check whether --enable-accel was given.
8845 if test "${enable_accel+set}" = set; then
8846 enableval=$enable_accel;
8847 if test "$enableval" = yes; then
8848 ac_cv_use_accel='wxUSE_ACCEL=yes'
8850 ac_cv_use_accel='wxUSE_ACCEL=no'
8855 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8856 if test "x$LINE" != x ; then
8857 eval "DEFAULT_$LINE"
8862 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8867 eval "$ac_cv_use_accel"
8868 if test "$no_cache" != 1; then
8869 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8872 if test "$wxUSE_ACCEL" = yes; then
8873 { echo "$as_me:$LINENO: result: yes" >&5
8874 echo "${ECHO_T}yes" >&6; }
8876 { echo "$as_me:$LINENO: result: no" >&5
8877 echo "${ECHO_T}no" >&6; }
8882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8883 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8885 # Check whether --enable-animatectrl was given.
8886 if test "${enable_animatectrl+set}" = set; then
8887 enableval=$enable_animatectrl;
8888 if test "$enableval" = yes; then
8889 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8891 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8896 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8897 if test "x$LINE" != x ; then
8898 eval "DEFAULT_$LINE"
8903 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8908 eval "$ac_cv_use_animatectrl"
8909 if test "$no_cache" != 1; then
8910 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8913 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8914 { echo "$as_me:$LINENO: result: yes" >&5
8915 echo "${ECHO_T}yes" >&6; }
8917 { echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6; }
8923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8926 # Check whether --enable-button was given.
8927 if test "${enable_button+set}" = set; then
8928 enableval=$enable_button;
8929 if test "$enableval" = yes; then
8930 ac_cv_use_button='wxUSE_BUTTON=yes'
8932 ac_cv_use_button='wxUSE_BUTTON=no'
8937 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8944 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8949 eval "$ac_cv_use_button"
8950 if test "$no_cache" != 1; then
8951 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8954 if test "$wxUSE_BUTTON" = yes; then
8955 { echo "$as_me:$LINENO: result: yes" >&5
8956 echo "${ECHO_T}yes" >&6; }
8958 { echo "$as_me:$LINENO: result: no" >&5
8959 echo "${ECHO_T}no" >&6; }
8964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8965 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8967 # Check whether --enable-bmpbutton was given.
8968 if test "${enable_bmpbutton+set}" = set; then
8969 enableval=$enable_bmpbutton;
8970 if test "$enableval" = yes; then
8971 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8973 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8978 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8979 if test "x$LINE" != x ; then
8980 eval "DEFAULT_$LINE"
8985 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8990 eval "$ac_cv_use_bmpbutton"
8991 if test "$no_cache" != 1; then
8992 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8995 if test "$wxUSE_BMPBUTTON" = yes; then
8996 { echo "$as_me:$LINENO: result: yes" >&5
8997 echo "${ECHO_T}yes" >&6; }
8999 { echo "$as_me:$LINENO: result: no" >&5
9000 echo "${ECHO_T}no" >&6; }
9005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9006 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9008 # Check whether --enable-bmpcombobox was given.
9009 if test "${enable_bmpcombobox+set}" = set; then
9010 enableval=$enable_bmpcombobox;
9011 if test "$enableval" = yes; then
9012 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9014 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9019 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x ; then
9021 eval "DEFAULT_$LINE"
9026 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9031 eval "$ac_cv_use_bmpcombobox"
9032 if test "$no_cache" != 1; then
9033 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9036 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9037 { echo "$as_me:$LINENO: result: yes" >&5
9038 echo "${ECHO_T}yes" >&6; }
9040 { echo "$as_me:$LINENO: result: no" >&5
9041 echo "${ECHO_T}no" >&6; }
9046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9047 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9049 # Check whether --enable-calendar was given.
9050 if test "${enable_calendar+set}" = set; then
9051 enableval=$enable_calendar;
9052 if test "$enableval" = yes; then
9053 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9055 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9060 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x ; then
9062 eval "DEFAULT_$LINE"
9067 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9072 eval "$ac_cv_use_calendar"
9073 if test "$no_cache" != 1; then
9074 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9077 if test "$wxUSE_CALCTRL" = yes; then
9078 { echo "$as_me:$LINENO: result: yes" >&5
9079 echo "${ECHO_T}yes" >&6; }
9081 { echo "$as_me:$LINENO: result: no" >&5
9082 echo "${ECHO_T}no" >&6; }
9087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9088 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9090 # Check whether --enable-caret was given.
9091 if test "${enable_caret+set}" = set; then
9092 enableval=$enable_caret;
9093 if test "$enableval" = yes; then
9094 ac_cv_use_caret='wxUSE_CARET=yes'
9096 ac_cv_use_caret='wxUSE_CARET=no'
9101 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x ; then
9103 eval "DEFAULT_$LINE"
9108 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9113 eval "$ac_cv_use_caret"
9114 if test "$no_cache" != 1; then
9115 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9118 if test "$wxUSE_CARET" = yes; then
9119 { echo "$as_me:$LINENO: result: yes" >&5
9120 echo "${ECHO_T}yes" >&6; }
9122 { echo "$as_me:$LINENO: result: no" >&5
9123 echo "${ECHO_T}no" >&6; }
9128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9129 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9131 # Check whether --enable-checkbox was given.
9132 if test "${enable_checkbox+set}" = set; then
9133 enableval=$enable_checkbox;
9134 if test "$enableval" = yes; then
9135 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9137 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9142 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9143 if test "x$LINE" != x ; then
9144 eval "DEFAULT_$LINE"
9149 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9154 eval "$ac_cv_use_checkbox"
9155 if test "$no_cache" != 1; then
9156 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9159 if test "$wxUSE_CHECKBOX" = yes; then
9160 { echo "$as_me:$LINENO: result: yes" >&5
9161 echo "${ECHO_T}yes" >&6; }
9163 { echo "$as_me:$LINENO: result: no" >&5
9164 echo "${ECHO_T}no" >&6; }
9169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9170 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9172 # Check whether --enable-checklst was given.
9173 if test "${enable_checklst+set}" = set; then
9174 enableval=$enable_checklst;
9175 if test "$enableval" = yes; then
9176 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9178 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9183 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9184 if test "x$LINE" != x ; then
9185 eval "DEFAULT_$LINE"
9190 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9195 eval "$ac_cv_use_checklst"
9196 if test "$no_cache" != 1; then
9197 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9200 if test "$wxUSE_CHECKLST" = yes; then
9201 { echo "$as_me:$LINENO: result: yes" >&5
9202 echo "${ECHO_T}yes" >&6; }
9204 { echo "$as_me:$LINENO: result: no" >&5
9205 echo "${ECHO_T}no" >&6; }
9210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9211 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9213 # Check whether --enable-choice was given.
9214 if test "${enable_choice+set}" = set; then
9215 enableval=$enable_choice;
9216 if test "$enableval" = yes; then
9217 ac_cv_use_choice='wxUSE_CHOICE=yes'
9219 ac_cv_use_choice='wxUSE_CHOICE=no'
9224 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x ; then
9226 eval "DEFAULT_$LINE"
9231 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9236 eval "$ac_cv_use_choice"
9237 if test "$no_cache" != 1; then
9238 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9241 if test "$wxUSE_CHOICE" = yes; then
9242 { echo "$as_me:$LINENO: result: yes" >&5
9243 echo "${ECHO_T}yes" >&6; }
9245 { echo "$as_me:$LINENO: result: no" >&5
9246 echo "${ECHO_T}no" >&6; }
9251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9252 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9254 # Check whether --enable-choicebook was given.
9255 if test "${enable_choicebook+set}" = set; then
9256 enableval=$enable_choicebook;
9257 if test "$enableval" = yes; then
9258 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9260 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9265 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x ; then
9267 eval "DEFAULT_$LINE"
9272 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9277 eval "$ac_cv_use_choicebook"
9278 if test "$no_cache" != 1; then
9279 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9282 if test "$wxUSE_CHOICEBOOK" = yes; then
9283 { echo "$as_me:$LINENO: result: yes" >&5
9284 echo "${ECHO_T}yes" >&6; }
9286 { echo "$as_me:$LINENO: result: no" >&5
9287 echo "${ECHO_T}no" >&6; }
9292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9293 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9295 # Check whether --enable-collpane was given.
9296 if test "${enable_collpane+set}" = set; then
9297 enableval=$enable_collpane;
9298 if test "$enableval" = yes; then
9299 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9301 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9306 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9307 if test "x$LINE" != x ; then
9308 eval "DEFAULT_$LINE"
9313 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9318 eval "$ac_cv_use_collpane"
9319 if test "$no_cache" != 1; then
9320 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9323 if test "$wxUSE_COLLPANE" = yes; then
9324 { echo "$as_me:$LINENO: result: yes" >&5
9325 echo "${ECHO_T}yes" >&6; }
9327 { echo "$as_me:$LINENO: result: no" >&5
9328 echo "${ECHO_T}no" >&6; }
9333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9334 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9336 # Check whether --enable-colourpicker was given.
9337 if test "${enable_colourpicker+set}" = set; then
9338 enableval=$enable_colourpicker;
9339 if test "$enableval" = yes; then
9340 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9342 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9347 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9348 if test "x$LINE" != x ; then
9349 eval "DEFAULT_$LINE"
9354 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9359 eval "$ac_cv_use_colourpicker"
9360 if test "$no_cache" != 1; then
9361 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9364 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9365 { echo "$as_me:$LINENO: result: yes" >&5
9366 echo "${ECHO_T}yes" >&6; }
9368 { echo "$as_me:$LINENO: result: no" >&5
9369 echo "${ECHO_T}no" >&6; }
9374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9375 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9377 # Check whether --enable-combobox was given.
9378 if test "${enable_combobox+set}" = set; then
9379 enableval=$enable_combobox;
9380 if test "$enableval" = yes; then
9381 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9383 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9388 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x ; then
9390 eval "DEFAULT_$LINE"
9395 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9400 eval "$ac_cv_use_combobox"
9401 if test "$no_cache" != 1; then
9402 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9405 if test "$wxUSE_COMBOBOX" = yes; then
9406 { echo "$as_me:$LINENO: result: yes" >&5
9407 echo "${ECHO_T}yes" >&6; }
9409 { echo "$as_me:$LINENO: result: no" >&5
9410 echo "${ECHO_T}no" >&6; }
9415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9416 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9418 # Check whether --enable-comboctrl was given.
9419 if test "${enable_comboctrl+set}" = set; then
9420 enableval=$enable_comboctrl;
9421 if test "$enableval" = yes; then
9422 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9424 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9429 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9430 if test "x$LINE" != x ; then
9431 eval "DEFAULT_$LINE"
9436 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9441 eval "$ac_cv_use_comboctrl"
9442 if test "$no_cache" != 1; then
9443 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9446 if test "$wxUSE_COMBOCTRL" = yes; then
9447 { echo "$as_me:$LINENO: result: yes" >&5
9448 echo "${ECHO_T}yes" >&6; }
9450 { echo "$as_me:$LINENO: result: no" >&5
9451 echo "${ECHO_T}no" >&6; }
9456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9457 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9459 # Check whether --enable-datepick was given.
9460 if test "${enable_datepick+set}" = set; then
9461 enableval=$enable_datepick;
9462 if test "$enableval" = yes; then
9463 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9465 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9470 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9471 if test "x$LINE" != x ; then
9472 eval "DEFAULT_$LINE"
9477 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9482 eval "$ac_cv_use_datepick"
9483 if test "$no_cache" != 1; then
9484 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9487 if test "$wxUSE_DATEPICKCTRL" = yes; then
9488 { echo "$as_me:$LINENO: result: yes" >&5
9489 echo "${ECHO_T}yes" >&6; }
9491 { echo "$as_me:$LINENO: result: no" >&5
9492 echo "${ECHO_T}no" >&6; }
9497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9498 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9500 # Check whether --enable-dirpicker was given.
9501 if test "${enable_dirpicker+set}" = set; then
9502 enableval=$enable_dirpicker;
9503 if test "$enableval" = yes; then
9504 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9506 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9511 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9512 if test "x$LINE" != x ; then
9513 eval "DEFAULT_$LINE"
9518 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9523 eval "$ac_cv_use_dirpicker"
9524 if test "$no_cache" != 1; then
9525 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9528 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9529 { echo "$as_me:$LINENO: result: yes" >&5
9530 echo "${ECHO_T}yes" >&6; }
9532 { echo "$as_me:$LINENO: result: no" >&5
9533 echo "${ECHO_T}no" >&6; }
9538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9539 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9541 # Check whether --enable-display was given.
9542 if test "${enable_display+set}" = set; then
9543 enableval=$enable_display;
9544 if test "$enableval" = yes; then
9545 ac_cv_use_display='wxUSE_DISPLAY=yes'
9547 ac_cv_use_display='wxUSE_DISPLAY=no'
9552 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9553 if test "x$LINE" != x ; then
9554 eval "DEFAULT_$LINE"
9559 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9564 eval "$ac_cv_use_display"
9565 if test "$no_cache" != 1; then
9566 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9569 if test "$wxUSE_DISPLAY" = yes; then
9570 { echo "$as_me:$LINENO: result: yes" >&5
9571 echo "${ECHO_T}yes" >&6; }
9573 { echo "$as_me:$LINENO: result: no" >&5
9574 echo "${ECHO_T}no" >&6; }
9579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9580 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9582 # Check whether --enable-detect_sm was given.
9583 if test "${enable_detect_sm+set}" = set; then
9584 enableval=$enable_detect_sm;
9585 if test "$enableval" = yes; then
9586 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9588 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9593 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9594 if test "x$LINE" != x ; then
9595 eval "DEFAULT_$LINE"
9600 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9605 eval "$ac_cv_use_detect_sm"
9606 if test "$no_cache" != 1; then
9607 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9610 if test "$wxUSE_DETECT_SM" = yes; then
9611 { echo "$as_me:$LINENO: result: yes" >&5
9612 echo "${ECHO_T}yes" >&6; }
9614 { echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6; }
9620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9621 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9623 # Check whether --enable-filepicker was given.
9624 if test "${enable_filepicker+set}" = set; then
9625 enableval=$enable_filepicker;
9626 if test "$enableval" = yes; then
9627 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9629 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9634 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9635 if test "x$LINE" != x ; then
9636 eval "DEFAULT_$LINE"
9641 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9646 eval "$ac_cv_use_filepicker"
9647 if test "$no_cache" != 1; then
9648 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9651 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9652 { echo "$as_me:$LINENO: result: yes" >&5
9653 echo "${ECHO_T}yes" >&6; }
9655 { echo "$as_me:$LINENO: result: no" >&5
9656 echo "${ECHO_T}no" >&6; }
9661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9664 # Check whether --enable-fontpicker was given.
9665 if test "${enable_fontpicker+set}" = set; then
9666 enableval=$enable_fontpicker;
9667 if test "$enableval" = yes; then
9668 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9670 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9675 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9676 if test "x$LINE" != x ; then
9677 eval "DEFAULT_$LINE"
9682 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9687 eval "$ac_cv_use_fontpicker"
9688 if test "$no_cache" != 1; then
9689 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9692 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9693 { echo "$as_me:$LINENO: result: yes" >&5
9694 echo "${ECHO_T}yes" >&6; }
9696 { echo "$as_me:$LINENO: result: no" >&5
9697 echo "${ECHO_T}no" >&6; }
9702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9703 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9705 # Check whether --enable-gauge was given.
9706 if test "${enable_gauge+set}" = set; then
9707 enableval=$enable_gauge;
9708 if test "$enableval" = yes; then
9709 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9711 ac_cv_use_gauge='wxUSE_GAUGE=no'
9716 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9717 if test "x$LINE" != x ; then
9718 eval "DEFAULT_$LINE"
9723 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9728 eval "$ac_cv_use_gauge"
9729 if test "$no_cache" != 1; then
9730 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9733 if test "$wxUSE_GAUGE" = yes; then
9734 { echo "$as_me:$LINENO: result: yes" >&5
9735 echo "${ECHO_T}yes" >&6; }
9737 { echo "$as_me:$LINENO: result: no" >&5
9738 echo "${ECHO_T}no" >&6; }
9743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9744 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9746 # Check whether --enable-grid was given.
9747 if test "${enable_grid+set}" = set; then
9748 enableval=$enable_grid;
9749 if test "$enableval" = yes; then
9750 ac_cv_use_grid='wxUSE_GRID=yes'
9752 ac_cv_use_grid='wxUSE_GRID=no'
9757 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9758 if test "x$LINE" != x ; then
9759 eval "DEFAULT_$LINE"
9764 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9769 eval "$ac_cv_use_grid"
9770 if test "$no_cache" != 1; then
9771 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9774 if test "$wxUSE_GRID" = yes; then
9775 { echo "$as_me:$LINENO: result: yes" >&5
9776 echo "${ECHO_T}yes" >&6; }
9778 { echo "$as_me:$LINENO: result: no" >&5
9779 echo "${ECHO_T}no" >&6; }
9784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9785 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9787 # Check whether --enable-dataviewctrl was given.
9788 if test "${enable_dataviewctrl+set}" = set; then
9789 enableval=$enable_dataviewctrl;
9790 if test "$enableval" = yes; then
9791 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9793 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9798 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9799 if test "x$LINE" != x ; then
9800 eval "DEFAULT_$LINE"
9805 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9810 eval "$ac_cv_use_dataviewctrl"
9811 if test "$no_cache" != 1; then
9812 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9815 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9816 { echo "$as_me:$LINENO: result: yes" >&5
9817 echo "${ECHO_T}yes" >&6; }
9819 { echo "$as_me:$LINENO: result: no" >&5
9820 echo "${ECHO_T}no" >&6; }
9825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9828 # Check whether --enable-hyperlink was given.
9829 if test "${enable_hyperlink+set}" = set; then
9830 enableval=$enable_hyperlink;
9831 if test "$enableval" = yes; then
9832 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9834 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9839 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9840 if test "x$LINE" != x ; then
9841 eval "DEFAULT_$LINE"
9846 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9851 eval "$ac_cv_use_hyperlink"
9852 if test "$no_cache" != 1; then
9853 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9856 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9857 { echo "$as_me:$LINENO: result: yes" >&5
9858 echo "${ECHO_T}yes" >&6; }
9860 { echo "$as_me:$LINENO: result: no" >&5
9861 echo "${ECHO_T}no" >&6; }
9866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9867 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9869 # Check whether --enable-imaglist was given.
9870 if test "${enable_imaglist+set}" = set; then
9871 enableval=$enable_imaglist;
9872 if test "$enableval" = yes; then
9873 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9875 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9880 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9881 if test "x$LINE" != x ; then
9882 eval "DEFAULT_$LINE"
9887 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9892 eval "$ac_cv_use_imaglist"
9893 if test "$no_cache" != 1; then
9894 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9897 if test "$wxUSE_IMAGLIST" = yes; then
9898 { echo "$as_me:$LINENO: result: yes" >&5
9899 echo "${ECHO_T}yes" >&6; }
9901 { echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6; }
9907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9908 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9910 # Check whether --enable-listbook was given.
9911 if test "${enable_listbook+set}" = set; then
9912 enableval=$enable_listbook;
9913 if test "$enableval" = yes; then
9914 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9916 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9921 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9922 if test "x$LINE" != x ; then
9923 eval "DEFAULT_$LINE"
9928 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9933 eval "$ac_cv_use_listbook"
9934 if test "$no_cache" != 1; then
9935 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9938 if test "$wxUSE_LISTBOOK" = yes; then
9939 { echo "$as_me:$LINENO: result: yes" >&5
9940 echo "${ECHO_T}yes" >&6; }
9942 { echo "$as_me:$LINENO: result: no" >&5
9943 echo "${ECHO_T}no" >&6; }
9948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9951 # Check whether --enable-listbox was given.
9952 if test "${enable_listbox+set}" = set; then
9953 enableval=$enable_listbox;
9954 if test "$enableval" = yes; then
9955 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9957 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9962 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9963 if test "x$LINE" != x ; then
9964 eval "DEFAULT_$LINE"
9969 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9974 eval "$ac_cv_use_listbox"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9979 if test "$wxUSE_LISTBOX" = yes; then
9980 { echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6; }
9983 { echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6; }
9989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9990 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9992 # Check whether --enable-listctrl was given.
9993 if test "${enable_listctrl+set}" = set; then
9994 enableval=$enable_listctrl;
9995 if test "$enableval" = yes; then
9996 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9998 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10003 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
10004 if test "x$LINE" != x ; then
10005 eval "DEFAULT_$LINE"
10010 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10015 eval "$ac_cv_use_listctrl"
10016 if test "$no_cache" != 1; then
10017 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10020 if test "$wxUSE_LISTCTRL" = yes; then
10021 { echo "$as_me:$LINENO: result: yes" >&5
10022 echo "${ECHO_T}yes" >&6; }
10024 { echo "$as_me:$LINENO: result: no" >&5
10025 echo "${ECHO_T}no" >&6; }
10030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10031 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10033 # Check whether --enable-notebook was given.
10034 if test "${enable_notebook+set}" = set; then
10035 enableval=$enable_notebook;
10036 if test "$enableval" = yes; then
10037 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10039 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10044 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
10045 if test "x$LINE" != x ; then
10046 eval "DEFAULT_$LINE"
10051 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10056 eval "$ac_cv_use_notebook"
10057 if test "$no_cache" != 1; then
10058 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10061 if test "$wxUSE_NOTEBOOK" = yes; then
10062 { echo "$as_me:$LINENO: result: yes" >&5
10063 echo "${ECHO_T}yes" >&6; }
10065 { echo "$as_me:$LINENO: result: no" >&5
10066 echo "${ECHO_T}no" >&6; }
10071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10074 # Check whether --enable-odcombobox was given.
10075 if test "${enable_odcombobox+set}" = set; then
10076 enableval=$enable_odcombobox;
10077 if test "$enableval" = yes; then
10078 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10080 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10085 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10086 if test "x$LINE" != x ; then
10087 eval "DEFAULT_$LINE"
10092 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10097 eval "$ac_cv_use_odcombobox"
10098 if test "$no_cache" != 1; then
10099 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10102 if test "$wxUSE_ODCOMBOBOX" = yes; then
10103 { echo "$as_me:$LINENO: result: yes" >&5
10104 echo "${ECHO_T}yes" >&6; }
10106 { echo "$as_me:$LINENO: result: no" >&5
10107 echo "${ECHO_T}no" >&6; }
10112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10113 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10115 # Check whether --enable-radiobox was given.
10116 if test "${enable_radiobox+set}" = set; then
10117 enableval=$enable_radiobox;
10118 if test "$enableval" = yes; then
10119 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10121 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10126 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10127 if test "x$LINE" != x ; then
10128 eval "DEFAULT_$LINE"
10133 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10138 eval "$ac_cv_use_radiobox"
10139 if test "$no_cache" != 1; then
10140 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10143 if test "$wxUSE_RADIOBOX" = yes; then
10144 { echo "$as_me:$LINENO: result: yes" >&5
10145 echo "${ECHO_T}yes" >&6; }
10147 { echo "$as_me:$LINENO: result: no" >&5
10148 echo "${ECHO_T}no" >&6; }
10153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10156 # Check whether --enable-radiobtn was given.
10157 if test "${enable_radiobtn+set}" = set; then
10158 enableval=$enable_radiobtn;
10159 if test "$enableval" = yes; then
10160 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10162 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10167 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10168 if test "x$LINE" != x ; then
10169 eval "DEFAULT_$LINE"
10174 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10179 eval "$ac_cv_use_radiobtn"
10180 if test "$no_cache" != 1; then
10181 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10184 if test "$wxUSE_RADIOBTN" = yes; then
10185 { echo "$as_me:$LINENO: result: yes" >&5
10186 echo "${ECHO_T}yes" >&6; }
10188 { echo "$as_me:$LINENO: result: no" >&5
10189 echo "${ECHO_T}no" >&6; }
10194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10195 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10197 # Check whether --enable-sash was given.
10198 if test "${enable_sash+set}" = set; then
10199 enableval=$enable_sash;
10200 if test "$enableval" = yes; then
10201 ac_cv_use_sash='wxUSE_SASH=yes'
10203 ac_cv_use_sash='wxUSE_SASH=no'
10208 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10209 if test "x$LINE" != x ; then
10210 eval "DEFAULT_$LINE"
10215 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10220 eval "$ac_cv_use_sash"
10221 if test "$no_cache" != 1; then
10222 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10225 if test "$wxUSE_SASH" = yes; then
10226 { echo "$as_me:$LINENO: result: yes" >&5
10227 echo "${ECHO_T}yes" >&6; }
10229 { echo "$as_me:$LINENO: result: no" >&5
10230 echo "${ECHO_T}no" >&6; }
10235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10238 # Check whether --enable-scrollbar was given.
10239 if test "${enable_scrollbar+set}" = set; then
10240 enableval=$enable_scrollbar;
10241 if test "$enableval" = yes; then
10242 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10244 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10249 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10250 if test "x$LINE" != x ; then
10251 eval "DEFAULT_$LINE"
10256 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10261 eval "$ac_cv_use_scrollbar"
10262 if test "$no_cache" != 1; then
10263 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10266 if test "$wxUSE_SCROLLBAR" = yes; then
10267 { echo "$as_me:$LINENO: result: yes" >&5
10268 echo "${ECHO_T}yes" >&6; }
10270 { echo "$as_me:$LINENO: result: no" >&5
10271 echo "${ECHO_T}no" >&6; }
10276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10277 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10279 # Check whether --enable-searchctrl was given.
10280 if test "${enable_searchctrl+set}" = set; then
10281 enableval=$enable_searchctrl;
10282 if test "$enableval" = yes; then
10283 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10285 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10290 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10291 if test "x$LINE" != x ; then
10292 eval "DEFAULT_$LINE"
10297 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10302 eval "$ac_cv_use_searchctrl"
10303 if test "$no_cache" != 1; then
10304 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10307 if test "$wxUSE_SEARCHCTRL" = yes; then
10308 { echo "$as_me:$LINENO: result: yes" >&5
10309 echo "${ECHO_T}yes" >&6; }
10311 { echo "$as_me:$LINENO: result: no" >&5
10312 echo "${ECHO_T}no" >&6; }
10317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10318 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10320 # Check whether --enable-slider was given.
10321 if test "${enable_slider+set}" = set; then
10322 enableval=$enable_slider;
10323 if test "$enableval" = yes; then
10324 ac_cv_use_slider='wxUSE_SLIDER=yes'
10326 ac_cv_use_slider='wxUSE_SLIDER=no'
10331 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10332 if test "x$LINE" != x ; then
10333 eval "DEFAULT_$LINE"
10338 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10343 eval "$ac_cv_use_slider"
10344 if test "$no_cache" != 1; then
10345 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10348 if test "$wxUSE_SLIDER" = yes; then
10349 { echo "$as_me:$LINENO: result: yes" >&5
10350 echo "${ECHO_T}yes" >&6; }
10352 { echo "$as_me:$LINENO: result: no" >&5
10353 echo "${ECHO_T}no" >&6; }
10358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10359 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10361 # Check whether --enable-spinbtn was given.
10362 if test "${enable_spinbtn+set}" = set; then
10363 enableval=$enable_spinbtn;
10364 if test "$enableval" = yes; then
10365 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10367 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10372 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10373 if test "x$LINE" != x ; then
10374 eval "DEFAULT_$LINE"
10379 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10384 eval "$ac_cv_use_spinbtn"
10385 if test "$no_cache" != 1; then
10386 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10389 if test "$wxUSE_SPINBTN" = yes; then
10390 { echo "$as_me:$LINENO: result: yes" >&5
10391 echo "${ECHO_T}yes" >&6; }
10393 { echo "$as_me:$LINENO: result: no" >&5
10394 echo "${ECHO_T}no" >&6; }
10399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10400 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10402 # Check whether --enable-spinctrl was given.
10403 if test "${enable_spinctrl+set}" = set; then
10404 enableval=$enable_spinctrl;
10405 if test "$enableval" = yes; then
10406 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10408 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10413 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10414 if test "x$LINE" != x ; then
10415 eval "DEFAULT_$LINE"
10420 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10425 eval "$ac_cv_use_spinctrl"
10426 if test "$no_cache" != 1; then
10427 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10430 if test "$wxUSE_SPINCTRL" = yes; then
10431 { echo "$as_me:$LINENO: result: yes" >&5
10432 echo "${ECHO_T}yes" >&6; }
10434 { echo "$as_me:$LINENO: result: no" >&5
10435 echo "${ECHO_T}no" >&6; }
10440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10441 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10443 # Check whether --enable-splitter was given.
10444 if test "${enable_splitter+set}" = set; then
10445 enableval=$enable_splitter;
10446 if test "$enableval" = yes; then
10447 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10449 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10454 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10455 if test "x$LINE" != x ; then
10456 eval "DEFAULT_$LINE"
10461 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10466 eval "$ac_cv_use_splitter"
10467 if test "$no_cache" != 1; then
10468 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10471 if test "$wxUSE_SPLITTER" = yes; then
10472 { echo "$as_me:$LINENO: result: yes" >&5
10473 echo "${ECHO_T}yes" >&6; }
10475 { echo "$as_me:$LINENO: result: no" >&5
10476 echo "${ECHO_T}no" >&6; }
10481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10482 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10484 # Check whether --enable-statbmp was given.
10485 if test "${enable_statbmp+set}" = set; then
10486 enableval=$enable_statbmp;
10487 if test "$enableval" = yes; then
10488 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10490 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10495 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10496 if test "x$LINE" != x ; then
10497 eval "DEFAULT_$LINE"
10502 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10507 eval "$ac_cv_use_statbmp"
10508 if test "$no_cache" != 1; then
10509 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10512 if test "$wxUSE_STATBMP" = yes; then
10513 { echo "$as_me:$LINENO: result: yes" >&5
10514 echo "${ECHO_T}yes" >&6; }
10516 { echo "$as_me:$LINENO: result: no" >&5
10517 echo "${ECHO_T}no" >&6; }
10522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10523 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10525 # Check whether --enable-statbox was given.
10526 if test "${enable_statbox+set}" = set; then
10527 enableval=$enable_statbox;
10528 if test "$enableval" = yes; then
10529 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10531 ac_cv_use_statbox='wxUSE_STATBOX=no'
10536 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10537 if test "x$LINE" != x ; then
10538 eval "DEFAULT_$LINE"
10543 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10548 eval "$ac_cv_use_statbox"
10549 if test "$no_cache" != 1; then
10550 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10553 if test "$wxUSE_STATBOX" = yes; then
10554 { echo "$as_me:$LINENO: result: yes" >&5
10555 echo "${ECHO_T}yes" >&6; }
10557 { echo "$as_me:$LINENO: result: no" >&5
10558 echo "${ECHO_T}no" >&6; }
10563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10564 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10566 # Check whether --enable-statline was given.
10567 if test "${enable_statline+set}" = set; then
10568 enableval=$enable_statline;
10569 if test "$enableval" = yes; then
10570 ac_cv_use_statline='wxUSE_STATLINE=yes'
10572 ac_cv_use_statline='wxUSE_STATLINE=no'
10577 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10578 if test "x$LINE" != x ; then
10579 eval "DEFAULT_$LINE"
10584 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10589 eval "$ac_cv_use_statline"
10590 if test "$no_cache" != 1; then
10591 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10594 if test "$wxUSE_STATLINE" = yes; then
10595 { echo "$as_me:$LINENO: result: yes" >&5
10596 echo "${ECHO_T}yes" >&6; }
10598 { echo "$as_me:$LINENO: result: no" >&5
10599 echo "${ECHO_T}no" >&6; }
10604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10605 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10607 # Check whether --enable-stattext was given.
10608 if test "${enable_stattext+set}" = set; then
10609 enableval=$enable_stattext;
10610 if test "$enableval" = yes; then
10611 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10613 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10618 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10619 if test "x$LINE" != x ; then
10620 eval "DEFAULT_$LINE"
10625 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10630 eval "$ac_cv_use_stattext"
10631 if test "$no_cache" != 1; then
10632 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10635 if test "$wxUSE_STATTEXT" = yes; then
10636 { echo "$as_me:$LINENO: result: yes" >&5
10637 echo "${ECHO_T}yes" >&6; }
10639 { echo "$as_me:$LINENO: result: no" >&5
10640 echo "${ECHO_T}no" >&6; }
10645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10646 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10648 # Check whether --enable-statusbar was given.
10649 if test "${enable_statusbar+set}" = set; then
10650 enableval=$enable_statusbar;
10651 if test "$enableval" = yes; then
10652 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10654 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10659 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10660 if test "x$LINE" != x ; then
10661 eval "DEFAULT_$LINE"
10666 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10671 eval "$ac_cv_use_statusbar"
10672 if test "$no_cache" != 1; then
10673 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10676 if test "$wxUSE_STATUSBAR" = yes; then
10677 { echo "$as_me:$LINENO: result: yes" >&5
10678 echo "${ECHO_T}yes" >&6; }
10680 { echo "$as_me:$LINENO: result: no" >&5
10681 echo "${ECHO_T}no" >&6; }
10686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10687 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10689 # Check whether --enable-tabdialog was given.
10690 if test "${enable_tabdialog+set}" = set; then
10691 enableval=$enable_tabdialog;
10692 if test "$enableval" = yes; then
10693 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10695 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10700 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10701 if test "x$LINE" != x ; then
10702 eval "DEFAULT_$LINE"
10707 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10712 eval "$ac_cv_use_tabdialog"
10713 if test "$no_cache" != 1; then
10714 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10717 if test "$wxUSE_TAB_DIALOG" = yes; then
10718 { echo "$as_me:$LINENO: result: yes" >&5
10719 echo "${ECHO_T}yes" >&6; }
10721 { echo "$as_me:$LINENO: result: no" >&5
10722 echo "${ECHO_T}no" >&6; }
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10730 # Check whether --enable-textctrl was given.
10731 if test "${enable_textctrl+set}" = set; then
10732 enableval=$enable_textctrl;
10733 if test "$enableval" = yes; then
10734 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10736 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10741 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10742 if test "x$LINE" != x ; then
10743 eval "DEFAULT_$LINE"
10748 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10753 eval "$ac_cv_use_textctrl"
10754 if test "$no_cache" != 1; then
10755 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10758 if test "$wxUSE_TEXTCTRL" = yes; then
10759 { echo "$as_me:$LINENO: result: yes" >&5
10760 echo "${ECHO_T}yes" >&6; }
10762 { echo "$as_me:$LINENO: result: no" >&5
10763 echo "${ECHO_T}no" >&6; }
10768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10769 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10771 # Check whether --enable-togglebtn was given.
10772 if test "${enable_togglebtn+set}" = set; then
10773 enableval=$enable_togglebtn;
10774 if test "$enableval" = yes; then
10775 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10777 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10782 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10783 if test "x$LINE" != x ; then
10784 eval "DEFAULT_$LINE"
10789 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10794 eval "$ac_cv_use_togglebtn"
10795 if test "$no_cache" != 1; then
10796 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10799 if test "$wxUSE_TOGGLEBTN" = yes; then
10800 { echo "$as_me:$LINENO: result: yes" >&5
10801 echo "${ECHO_T}yes" >&6; }
10803 { echo "$as_me:$LINENO: result: no" >&5
10804 echo "${ECHO_T}no" >&6; }
10809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10810 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10812 # Check whether --enable-toolbar was given.
10813 if test "${enable_toolbar+set}" = set; then
10814 enableval=$enable_toolbar;
10815 if test "$enableval" = yes; then
10816 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10818 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10823 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10824 if test "x$LINE" != x ; then
10825 eval "DEFAULT_$LINE"
10830 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10835 eval "$ac_cv_use_toolbar"
10836 if test "$no_cache" != 1; then
10837 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10840 if test "$wxUSE_TOOLBAR" = yes; then
10841 { echo "$as_me:$LINENO: result: yes" >&5
10842 echo "${ECHO_T}yes" >&6; }
10844 { echo "$as_me:$LINENO: result: no" >&5
10845 echo "${ECHO_T}no" >&6; }
10850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10853 # Check whether --enable-tbarnative was given.
10854 if test "${enable_tbarnative+set}" = set; then
10855 enableval=$enable_tbarnative;
10856 if test "$enableval" = yes; then
10857 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10859 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10864 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10865 if test "x$LINE" != x ; then
10866 eval "DEFAULT_$LINE"
10871 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10876 eval "$ac_cv_use_tbarnative"
10877 if test "$no_cache" != 1; then
10878 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10881 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10882 { echo "$as_me:$LINENO: result: yes" >&5
10883 echo "${ECHO_T}yes" >&6; }
10885 { echo "$as_me:$LINENO: result: no" >&5
10886 echo "${ECHO_T}no" >&6; }
10891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10892 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10894 # Check whether --enable-treebook was given.
10895 if test "${enable_treebook+set}" = set; then
10896 enableval=$enable_treebook;
10897 if test "$enableval" = yes; then
10898 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10900 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10905 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10906 if test "x$LINE" != x ; then
10907 eval "DEFAULT_$LINE"
10912 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10917 eval "$ac_cv_use_treebook"
10918 if test "$no_cache" != 1; then
10919 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10922 if test "$wxUSE_TREEBOOK" = yes; then
10923 { echo "$as_me:$LINENO: result: yes" >&5
10924 echo "${ECHO_T}yes" >&6; }
10926 { echo "$as_me:$LINENO: result: no" >&5
10927 echo "${ECHO_T}no" >&6; }
10932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10933 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10935 # Check whether --enable-toolbook was given.
10936 if test "${enable_toolbook+set}" = set; then
10937 enableval=$enable_toolbook;
10938 if test "$enableval" = yes; then
10939 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10941 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10946 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10947 if test "x$LINE" != x ; then
10948 eval "DEFAULT_$LINE"
10953 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10958 eval "$ac_cv_use_toolbook"
10959 if test "$no_cache" != 1; then
10960 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10963 if test "$wxUSE_TOOLBOOK" = yes; then
10964 { echo "$as_me:$LINENO: result: yes" >&5
10965 echo "${ECHO_T}yes" >&6; }
10967 { echo "$as_me:$LINENO: result: no" >&5
10968 echo "${ECHO_T}no" >&6; }
10973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10974 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10976 # Check whether --enable-treectrl was given.
10977 if test "${enable_treectrl+set}" = set; then
10978 enableval=$enable_treectrl;
10979 if test "$enableval" = yes; then
10980 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10982 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10987 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10988 if test "x$LINE" != x ; then
10989 eval "DEFAULT_$LINE"
10994 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10999 eval "$ac_cv_use_treectrl"
11000 if test "$no_cache" != 1; then
11001 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11004 if test "$wxUSE_TREECTRL" = yes; then
11005 { echo "$as_me:$LINENO: result: yes" >&5
11006 echo "${ECHO_T}yes" >&6; }
11008 { echo "$as_me:$LINENO: result: no" >&5
11009 echo "${ECHO_T}no" >&6; }
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11017 # Check whether --enable-tipwindow was given.
11018 if test "${enable_tipwindow+set}" = set; then
11019 enableval=$enable_tipwindow;
11020 if test "$enableval" = yes; then
11021 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11023 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11028 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
11029 if test "x$LINE" != x ; then
11030 eval "DEFAULT_$LINE"
11035 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11040 eval "$ac_cv_use_tipwindow"
11041 if test "$no_cache" != 1; then
11042 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11045 if test "$wxUSE_TIPWINDOW" = yes; then
11046 { echo "$as_me:$LINENO: result: yes" >&5
11047 echo "${ECHO_T}yes" >&6; }
11049 { echo "$as_me:$LINENO: result: no" >&5
11050 echo "${ECHO_T}no" >&6; }
11055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11056 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11058 # Check whether --enable-popupwin was given.
11059 if test "${enable_popupwin+set}" = set; then
11060 enableval=$enable_popupwin;
11061 if test "$enableval" = yes; then
11062 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11064 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11069 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11070 if test "x$LINE" != x ; then
11071 eval "DEFAULT_$LINE"
11076 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11081 eval "$ac_cv_use_popupwin"
11082 if test "$no_cache" != 1; then
11083 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11086 if test "$wxUSE_POPUPWIN" = yes; then
11087 { echo "$as_me:$LINENO: result: yes" >&5
11088 echo "${ECHO_T}yes" >&6; }
11090 { echo "$as_me:$LINENO: result: no" >&5
11091 echo "${ECHO_T}no" >&6; }
11098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11099 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11101 # Check whether --enable-commondlg was given.
11102 if test "${enable_commondlg+set}" = set; then
11103 enableval=$enable_commondlg;
11104 if test "$enableval" = yes; then
11105 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11107 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11112 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11113 if test "x$LINE" != x ; then
11114 eval "DEFAULT_$LINE"
11119 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11124 eval "$ac_cv_use_commondlg"
11125 if test "$no_cache" != 1; then
11126 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11129 if test "$wxUSE_COMMONDLGS" = yes; then
11130 { echo "$as_me:$LINENO: result: yes" >&5
11131 echo "${ECHO_T}yes" >&6; }
11133 { echo "$as_me:$LINENO: result: no" >&5
11134 echo "${ECHO_T}no" >&6; }
11139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11140 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11142 # Check whether --enable-aboutdlg was given.
11143 if test "${enable_aboutdlg+set}" = set; then
11144 enableval=$enable_aboutdlg;
11145 if test "$enableval" = yes; then
11146 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11148 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11153 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11154 if test "x$LINE" != x ; then
11155 eval "DEFAULT_$LINE"
11160 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11165 eval "$ac_cv_use_aboutdlg"
11166 if test "$no_cache" != 1; then
11167 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11170 if test "$wxUSE_ABOUTDLG" = yes; then
11171 { echo "$as_me:$LINENO: result: yes" >&5
11172 echo "${ECHO_T}yes" >&6; }
11174 { echo "$as_me:$LINENO: result: no" >&5
11175 echo "${ECHO_T}no" >&6; }
11180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11181 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11183 # Check whether --enable-choicedlg was given.
11184 if test "${enable_choicedlg+set}" = set; then
11185 enableval=$enable_choicedlg;
11186 if test "$enableval" = yes; then
11187 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11189 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11194 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11195 if test "x$LINE" != x ; then
11196 eval "DEFAULT_$LINE"
11201 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11206 eval "$ac_cv_use_choicedlg"
11207 if test "$no_cache" != 1; then
11208 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11211 if test "$wxUSE_CHOICEDLG" = yes; then
11212 { echo "$as_me:$LINENO: result: yes" >&5
11213 echo "${ECHO_T}yes" >&6; }
11215 { echo "$as_me:$LINENO: result: no" >&5
11216 echo "${ECHO_T}no" >&6; }
11221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11222 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11224 # Check whether --enable-coldlg was given.
11225 if test "${enable_coldlg+set}" = set; then
11226 enableval=$enable_coldlg;
11227 if test "$enableval" = yes; then
11228 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11230 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11235 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11236 if test "x$LINE" != x ; then
11237 eval "DEFAULT_$LINE"
11242 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11247 eval "$ac_cv_use_coldlg"
11248 if test "$no_cache" != 1; then
11249 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11252 if test "$wxUSE_COLOURDLG" = yes; then
11253 { echo "$as_me:$LINENO: result: yes" >&5
11254 echo "${ECHO_T}yes" >&6; }
11256 { echo "$as_me:$LINENO: result: no" >&5
11257 echo "${ECHO_T}no" >&6; }
11262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11263 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11265 # Check whether --enable-filedlg was given.
11266 if test "${enable_filedlg+set}" = set; then
11267 enableval=$enable_filedlg;
11268 if test "$enableval" = yes; then
11269 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11271 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11276 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11277 if test "x$LINE" != x ; then
11278 eval "DEFAULT_$LINE"
11283 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11288 eval "$ac_cv_use_filedlg"
11289 if test "$no_cache" != 1; then
11290 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11293 if test "$wxUSE_FILEDLG" = yes; then
11294 { echo "$as_me:$LINENO: result: yes" >&5
11295 echo "${ECHO_T}yes" >&6; }
11297 { echo "$as_me:$LINENO: result: no" >&5
11298 echo "${ECHO_T}no" >&6; }
11303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11304 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11306 # Check whether --enable-finddlg was given.
11307 if test "${enable_finddlg+set}" = set; then
11308 enableval=$enable_finddlg;
11309 if test "$enableval" = yes; then
11310 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11312 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11317 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11318 if test "x$LINE" != x ; then
11319 eval "DEFAULT_$LINE"
11324 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11329 eval "$ac_cv_use_finddlg"
11330 if test "$no_cache" != 1; then
11331 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11334 if test "$wxUSE_FINDREPLDLG" = yes; then
11335 { echo "$as_me:$LINENO: result: yes" >&5
11336 echo "${ECHO_T}yes" >&6; }
11338 { echo "$as_me:$LINENO: result: no" >&5
11339 echo "${ECHO_T}no" >&6; }
11344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11345 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11347 # Check whether --enable-fontdlg was given.
11348 if test "${enable_fontdlg+set}" = set; then
11349 enableval=$enable_fontdlg;
11350 if test "$enableval" = yes; then
11351 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11353 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11358 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11359 if test "x$LINE" != x ; then
11360 eval "DEFAULT_$LINE"
11365 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11370 eval "$ac_cv_use_fontdlg"
11371 if test "$no_cache" != 1; then
11372 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11375 if test "$wxUSE_FONTDLG" = yes; then
11376 { echo "$as_me:$LINENO: result: yes" >&5
11377 echo "${ECHO_T}yes" >&6; }
11379 { echo "$as_me:$LINENO: result: no" >&5
11380 echo "${ECHO_T}no" >&6; }
11385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11386 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11388 # Check whether --enable-dirdlg was given.
11389 if test "${enable_dirdlg+set}" = set; then
11390 enableval=$enable_dirdlg;
11391 if test "$enableval" = yes; then
11392 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11394 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11399 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11400 if test "x$LINE" != x ; then
11401 eval "DEFAULT_$LINE"
11406 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11411 eval "$ac_cv_use_dirdlg"
11412 if test "$no_cache" != 1; then
11413 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11416 if test "$wxUSE_DIRDLG" = yes; then
11417 { echo "$as_me:$LINENO: result: yes" >&5
11418 echo "${ECHO_T}yes" >&6; }
11420 { echo "$as_me:$LINENO: result: no" >&5
11421 echo "${ECHO_T}no" >&6; }
11426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11427 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11429 # Check whether --enable-msgdlg was given.
11430 if test "${enable_msgdlg+set}" = set; then
11431 enableval=$enable_msgdlg;
11432 if test "$enableval" = yes; then
11433 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11435 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11440 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11441 if test "x$LINE" != x ; then
11442 eval "DEFAULT_$LINE"
11447 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11452 eval "$ac_cv_use_msgdlg"
11453 if test "$no_cache" != 1; then
11454 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11457 if test "$wxUSE_MSGDLG" = yes; then
11458 { echo "$as_me:$LINENO: result: yes" >&5
11459 echo "${ECHO_T}yes" >&6; }
11461 { echo "$as_me:$LINENO: result: no" >&5
11462 echo "${ECHO_T}no" >&6; }
11467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11468 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11470 # Check whether --enable-numberdlg was given.
11471 if test "${enable_numberdlg+set}" = set; then
11472 enableval=$enable_numberdlg;
11473 if test "$enableval" = yes; then
11474 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11476 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11481 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11482 if test "x$LINE" != x ; then
11483 eval "DEFAULT_$LINE"
11488 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11493 eval "$ac_cv_use_numberdlg"
11494 if test "$no_cache" != 1; then
11495 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11498 if test "$wxUSE_NUMBERDLG" = yes; then
11499 { echo "$as_me:$LINENO: result: yes" >&5
11500 echo "${ECHO_T}yes" >&6; }
11502 { echo "$as_me:$LINENO: result: no" >&5
11503 echo "${ECHO_T}no" >&6; }
11508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11509 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11511 # Check whether --enable-splash was given.
11512 if test "${enable_splash+set}" = set; then
11513 enableval=$enable_splash;
11514 if test "$enableval" = yes; then
11515 ac_cv_use_splash='wxUSE_SPLASH=yes'
11517 ac_cv_use_splash='wxUSE_SPLASH=no'
11522 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11523 if test "x$LINE" != x ; then
11524 eval "DEFAULT_$LINE"
11529 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11534 eval "$ac_cv_use_splash"
11535 if test "$no_cache" != 1; then
11536 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11539 if test "$wxUSE_SPLASH" = yes; then
11540 { echo "$as_me:$LINENO: result: yes" >&5
11541 echo "${ECHO_T}yes" >&6; }
11543 { echo "$as_me:$LINENO: result: no" >&5
11544 echo "${ECHO_T}no" >&6; }
11549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11550 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11552 # Check whether --enable-textdlg was given.
11553 if test "${enable_textdlg+set}" = set; then
11554 enableval=$enable_textdlg;
11555 if test "$enableval" = yes; then
11556 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11558 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11563 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11564 if test "x$LINE" != x ; then
11565 eval "DEFAULT_$LINE"
11570 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11575 eval "$ac_cv_use_textdlg"
11576 if test "$no_cache" != 1; then
11577 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11580 if test "$wxUSE_TEXTDLG" = yes; then
11581 { echo "$as_me:$LINENO: result: yes" >&5
11582 echo "${ECHO_T}yes" >&6; }
11584 { echo "$as_me:$LINENO: result: no" >&5
11585 echo "${ECHO_T}no" >&6; }
11590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11591 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11593 # Check whether --enable-tipdlg was given.
11594 if test "${enable_tipdlg+set}" = set; then
11595 enableval=$enable_tipdlg;
11596 if test "$enableval" = yes; then
11597 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11599 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11604 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11605 if test "x$LINE" != x ; then
11606 eval "DEFAULT_$LINE"
11611 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11616 eval "$ac_cv_use_tipdlg"
11617 if test "$no_cache" != 1; then
11618 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11621 if test "$wxUSE_STARTUP_TIPS" = yes; then
11622 { echo "$as_me:$LINENO: result: yes" >&5
11623 echo "${ECHO_T}yes" >&6; }
11625 { echo "$as_me:$LINENO: result: no" >&5
11626 echo "${ECHO_T}no" >&6; }
11631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11632 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11634 # Check whether --enable-progressdlg was given.
11635 if test "${enable_progressdlg+set}" = set; then
11636 enableval=$enable_progressdlg;
11637 if test "$enableval" = yes; then
11638 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11640 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11645 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11646 if test "x$LINE" != x ; then
11647 eval "DEFAULT_$LINE"
11652 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11657 eval "$ac_cv_use_progressdlg"
11658 if test "$no_cache" != 1; then
11659 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11662 if test "$wxUSE_PROGRESSDLG" = yes; then
11663 { echo "$as_me:$LINENO: result: yes" >&5
11664 echo "${ECHO_T}yes" >&6; }
11666 { echo "$as_me:$LINENO: result: no" >&5
11667 echo "${ECHO_T}no" >&6; }
11672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11673 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11675 # Check whether --enable-wizarddlg was given.
11676 if test "${enable_wizarddlg+set}" = set; then
11677 enableval=$enable_wizarddlg;
11678 if test "$enableval" = yes; then
11679 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11681 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11686 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11687 if test "x$LINE" != x ; then
11688 eval "DEFAULT_$LINE"
11693 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11698 eval "$ac_cv_use_wizarddlg"
11699 if test "$no_cache" != 1; then
11700 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11703 if test "$wxUSE_WIZARDDLG" = yes; then
11704 { echo "$as_me:$LINENO: result: yes" >&5
11705 echo "${ECHO_T}yes" >&6; }
11707 { echo "$as_me:$LINENO: result: no" >&5
11708 echo "${ECHO_T}no" >&6; }
11715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11716 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11718 # Check whether --enable-menus was given.
11719 if test "${enable_menus+set}" = set; then
11720 enableval=$enable_menus;
11721 if test "$enableval" = yes; then
11722 ac_cv_use_menus='wxUSE_MENUS=yes'
11724 ac_cv_use_menus='wxUSE_MENUS=no'
11729 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11730 if test "x$LINE" != x ; then
11731 eval "DEFAULT_$LINE"
11736 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11741 eval "$ac_cv_use_menus"
11742 if test "$no_cache" != 1; then
11743 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11746 if test "$wxUSE_MENUS" = yes; then
11747 { echo "$as_me:$LINENO: result: yes" >&5
11748 echo "${ECHO_T}yes" >&6; }
11750 { echo "$as_me:$LINENO: result: no" >&5
11751 echo "${ECHO_T}no" >&6; }
11756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11757 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11759 # Check whether --enable-miniframe was given.
11760 if test "${enable_miniframe+set}" = set; then
11761 enableval=$enable_miniframe;
11762 if test "$enableval" = yes; then
11763 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11765 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11770 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11771 if test "x$LINE" != x ; then
11772 eval "DEFAULT_$LINE"
11777 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11782 eval "$ac_cv_use_miniframe"
11783 if test "$no_cache" != 1; then
11784 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11787 if test "$wxUSE_MINIFRAME" = yes; then
11788 { echo "$as_me:$LINENO: result: yes" >&5
11789 echo "${ECHO_T}yes" >&6; }
11791 { echo "$as_me:$LINENO: result: no" >&5
11792 echo "${ECHO_T}no" >&6; }
11797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11798 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11800 # Check whether --enable-tooltips was given.
11801 if test "${enable_tooltips+set}" = set; then
11802 enableval=$enable_tooltips;
11803 if test "$enableval" = yes; then
11804 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11806 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11811 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11812 if test "x$LINE" != x ; then
11813 eval "DEFAULT_$LINE"
11818 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11823 eval "$ac_cv_use_tooltips"
11824 if test "$no_cache" != 1; then
11825 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11828 if test "$wxUSE_TOOLTIPS" = yes; then
11829 { echo "$as_me:$LINENO: result: yes" >&5
11830 echo "${ECHO_T}yes" >&6; }
11832 { echo "$as_me:$LINENO: result: no" >&5
11833 echo "${ECHO_T}no" >&6; }
11838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11839 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11841 # Check whether --enable-splines was given.
11842 if test "${enable_splines+set}" = set; then
11843 enableval=$enable_splines;
11844 if test "$enableval" = yes; then
11845 ac_cv_use_splines='wxUSE_SPLINES=yes'
11847 ac_cv_use_splines='wxUSE_SPLINES=no'
11852 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11853 if test "x$LINE" != x ; then
11854 eval "DEFAULT_$LINE"
11859 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11864 eval "$ac_cv_use_splines"
11865 if test "$no_cache" != 1; then
11866 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11869 if test "$wxUSE_SPLINES" = yes; then
11870 { echo "$as_me:$LINENO: result: yes" >&5
11871 echo "${ECHO_T}yes" >&6; }
11873 { echo "$as_me:$LINENO: result: no" >&5
11874 echo "${ECHO_T}no" >&6; }
11879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11880 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11882 # Check whether --enable-mousewheel was given.
11883 if test "${enable_mousewheel+set}" = set; then
11884 enableval=$enable_mousewheel;
11885 if test "$enableval" = yes; then
11886 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11888 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11893 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11894 if test "x$LINE" != x ; then
11895 eval "DEFAULT_$LINE"
11900 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11905 eval "$ac_cv_use_mousewheel"
11906 if test "$no_cache" != 1; then
11907 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11910 if test "$wxUSE_MOUSEWHEEL" = yes; then
11911 { echo "$as_me:$LINENO: result: yes" >&5
11912 echo "${ECHO_T}yes" >&6; }
11914 { echo "$as_me:$LINENO: result: no" >&5
11915 echo "${ECHO_T}no" >&6; }
11920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11921 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11923 # Check whether --enable-validators was given.
11924 if test "${enable_validators+set}" = set; then
11925 enableval=$enable_validators;
11926 if test "$enableval" = yes; then
11927 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11929 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11934 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11935 if test "x$LINE" != x ; then
11936 eval "DEFAULT_$LINE"
11941 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11946 eval "$ac_cv_use_validators"
11947 if test "$no_cache" != 1; then
11948 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11951 if test "$wxUSE_VALIDATORS" = yes; then
11952 { echo "$as_me:$LINENO: result: yes" >&5
11953 echo "${ECHO_T}yes" >&6; }
11955 { echo "$as_me:$LINENO: result: no" >&5
11956 echo "${ECHO_T}no" >&6; }
11961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11962 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11964 # Check whether --enable-busyinfo was given.
11965 if test "${enable_busyinfo+set}" = set; then
11966 enableval=$enable_busyinfo;
11967 if test "$enableval" = yes; then
11968 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11970 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11975 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11976 if test "x$LINE" != x ; then
11977 eval "DEFAULT_$LINE"
11982 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11987 eval "$ac_cv_use_busyinfo"
11988 if test "$no_cache" != 1; then
11989 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11992 if test "$wxUSE_BUSYINFO" = yes; then
11993 { echo "$as_me:$LINENO: result: yes" >&5
11994 echo "${ECHO_T}yes" >&6; }
11996 { echo "$as_me:$LINENO: result: no" >&5
11997 echo "${ECHO_T}no" >&6; }
12002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12003 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12005 # Check whether --enable-joystick was given.
12006 if test "${enable_joystick+set}" = set; then
12007 enableval=$enable_joystick;
12008 if test "$enableval" = yes; then
12009 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12011 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12016 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
12017 if test "x$LINE" != x ; then
12018 eval "DEFAULT_$LINE"
12023 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12028 eval "$ac_cv_use_joystick"
12029 if test "$no_cache" != 1; then
12030 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12033 if test "$wxUSE_JOYSTICK" = yes; then
12034 { echo "$as_me:$LINENO: result: yes" >&5
12035 echo "${ECHO_T}yes" >&6; }
12037 { echo "$as_me:$LINENO: result: no" >&5
12038 echo "${ECHO_T}no" >&6; }
12043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12046 # Check whether --enable-metafile was given.
12047 if test "${enable_metafile+set}" = set; then
12048 enableval=$enable_metafile;
12049 if test "$enableval" = yes; then
12050 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12052 ac_cv_use_metafile='wxUSE_METAFILE=no'
12057 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12058 if test "x$LINE" != x ; then
12059 eval "DEFAULT_$LINE"
12064 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12069 eval "$ac_cv_use_metafile"
12070 if test "$no_cache" != 1; then
12071 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12074 if test "$wxUSE_METAFILE" = yes; then
12075 { echo "$as_me:$LINENO: result: yes" >&5
12076 echo "${ECHO_T}yes" >&6; }
12078 { echo "$as_me:$LINENO: result: no" >&5
12079 echo "${ECHO_T}no" >&6; }
12084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12085 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12087 # Check whether --enable-dragimage was given.
12088 if test "${enable_dragimage+set}" = set; then
12089 enableval=$enable_dragimage;
12090 if test "$enableval" = yes; then
12091 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12093 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12098 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12099 if test "x$LINE" != x ; then
12100 eval "DEFAULT_$LINE"
12105 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12110 eval "$ac_cv_use_dragimage"
12111 if test "$no_cache" != 1; then
12112 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12115 if test "$wxUSE_DRAGIMAGE" = yes; then
12116 { echo "$as_me:$LINENO: result: yes" >&5
12117 echo "${ECHO_T}yes" >&6; }
12119 { echo "$as_me:$LINENO: result: no" >&5
12120 echo "${ECHO_T}no" >&6; }
12125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12126 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12128 # Check whether --enable-accessibility was given.
12129 if test "${enable_accessibility+set}" = set; then
12130 enableval=$enable_accessibility;
12131 if test "$enableval" = yes; then
12132 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12134 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12139 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12140 if test "x$LINE" != x ; then
12141 eval "DEFAULT_$LINE"
12146 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12151 eval "$ac_cv_use_accessibility"
12152 if test "$no_cache" != 1; then
12153 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12156 if test "$wxUSE_ACCESSIBILITY" = yes; then
12157 { echo "$as_me:$LINENO: result: yes" >&5
12158 echo "${ECHO_T}yes" >&6; }
12160 { echo "$as_me:$LINENO: result: no" >&5
12161 echo "${ECHO_T}no" >&6; }
12165 if test "$wxUSE_MSW" = "1"; then
12168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12169 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12171 # Check whether --enable-dccache was given.
12172 if test "${enable_dccache+set}" = set; then
12173 enableval=$enable_dccache;
12174 if test "$enableval" = yes; then
12175 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12177 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12182 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12183 if test "x$LINE" != x ; then
12184 eval "DEFAULT_$LINE"
12189 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12194 eval "$ac_cv_use_dccache"
12195 if test "$no_cache" != 1; then
12196 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12199 if test "$wxUSE_DC_CACHEING" = yes; then
12200 { echo "$as_me:$LINENO: result: yes" >&5
12201 echo "${ECHO_T}yes" >&6; }
12203 { echo "$as_me:$LINENO: result: no" >&5
12204 echo "${ECHO_T}no" >&6; }
12212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12213 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12215 # Check whether --enable-palette was given.
12216 if test "${enable_palette+set}" = set; then
12217 enableval=$enable_palette;
12218 if test "$enableval" = yes; then
12219 ac_cv_use_palette='wxUSE_PALETTE=yes'
12221 ac_cv_use_palette='wxUSE_PALETTE=no'
12226 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12227 if test "x$LINE" != x ; then
12228 eval "DEFAULT_$LINE"
12233 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12238 eval "$ac_cv_use_palette"
12239 if test "$no_cache" != 1; then
12240 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12243 if test "$wxUSE_PALETTE" = yes; then
12244 { echo "$as_me:$LINENO: result: yes" >&5
12245 echo "${ECHO_T}yes" >&6; }
12247 { echo "$as_me:$LINENO: result: no" >&5
12248 echo "${ECHO_T}no" >&6; }
12253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12254 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12256 # Check whether --enable-image was given.
12257 if test "${enable_image+set}" = set; then
12258 enableval=$enable_image;
12259 if test "$enableval" = yes; then
12260 ac_cv_use_image='wxUSE_IMAGE=yes'
12262 ac_cv_use_image='wxUSE_IMAGE=no'
12267 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12268 if test "x$LINE" != x ; then
12269 eval "DEFAULT_$LINE"
12274 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12279 eval "$ac_cv_use_image"
12280 if test "$no_cache" != 1; then
12281 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12284 if test "$wxUSE_IMAGE" = yes; then
12285 { echo "$as_me:$LINENO: result: yes" >&5
12286 echo "${ECHO_T}yes" >&6; }
12288 { echo "$as_me:$LINENO: result: no" >&5
12289 echo "${ECHO_T}no" >&6; }
12294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12295 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12297 # Check whether --enable-gif was given.
12298 if test "${enable_gif+set}" = set; then
12299 enableval=$enable_gif;
12300 if test "$enableval" = yes; then
12301 ac_cv_use_gif='wxUSE_GIF=yes'
12303 ac_cv_use_gif='wxUSE_GIF=no'
12308 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12309 if test "x$LINE" != x ; then
12310 eval "DEFAULT_$LINE"
12315 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12320 eval "$ac_cv_use_gif"
12321 if test "$no_cache" != 1; then
12322 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12325 if test "$wxUSE_GIF" = yes; then
12326 { echo "$as_me:$LINENO: result: yes" >&5
12327 echo "${ECHO_T}yes" >&6; }
12329 { echo "$as_me:$LINENO: result: no" >&5
12330 echo "${ECHO_T}no" >&6; }
12335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12336 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12338 # Check whether --enable-pcx was given.
12339 if test "${enable_pcx+set}" = set; then
12340 enableval=$enable_pcx;
12341 if test "$enableval" = yes; then
12342 ac_cv_use_pcx='wxUSE_PCX=yes'
12344 ac_cv_use_pcx='wxUSE_PCX=no'
12349 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12350 if test "x$LINE" != x ; then
12351 eval "DEFAULT_$LINE"
12356 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12361 eval "$ac_cv_use_pcx"
12362 if test "$no_cache" != 1; then
12363 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12366 if test "$wxUSE_PCX" = yes; then
12367 { echo "$as_me:$LINENO: result: yes" >&5
12368 echo "${ECHO_T}yes" >&6; }
12370 { echo "$as_me:$LINENO: result: no" >&5
12371 echo "${ECHO_T}no" >&6; }
12376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12377 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12379 # Check whether --enable-tga was given.
12380 if test "${enable_tga+set}" = set; then
12381 enableval=$enable_tga;
12382 if test "$enableval" = yes; then
12383 ac_cv_use_tga='wxUSE_TGA=yes'
12385 ac_cv_use_tga='wxUSE_TGA=no'
12390 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12391 if test "x$LINE" != x ; then
12392 eval "DEFAULT_$LINE"
12397 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12402 eval "$ac_cv_use_tga"
12403 if test "$no_cache" != 1; then
12404 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12407 if test "$wxUSE_TGA" = yes; then
12408 { echo "$as_me:$LINENO: result: yes" >&5
12409 echo "${ECHO_T}yes" >&6; }
12411 { echo "$as_me:$LINENO: result: no" >&5
12412 echo "${ECHO_T}no" >&6; }
12417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12418 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12420 # Check whether --enable-iff was given.
12421 if test "${enable_iff+set}" = set; then
12422 enableval=$enable_iff;
12423 if test "$enableval" = yes; then
12424 ac_cv_use_iff='wxUSE_IFF=yes'
12426 ac_cv_use_iff='wxUSE_IFF=no'
12431 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12432 if test "x$LINE" != x ; then
12433 eval "DEFAULT_$LINE"
12438 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12443 eval "$ac_cv_use_iff"
12444 if test "$no_cache" != 1; then
12445 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12448 if test "$wxUSE_IFF" = yes; then
12449 { echo "$as_me:$LINENO: result: yes" >&5
12450 echo "${ECHO_T}yes" >&6; }
12452 { echo "$as_me:$LINENO: result: no" >&5
12453 echo "${ECHO_T}no" >&6; }
12458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12459 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12461 # Check whether --enable-pnm was given.
12462 if test "${enable_pnm+set}" = set; then
12463 enableval=$enable_pnm;
12464 if test "$enableval" = yes; then
12465 ac_cv_use_pnm='wxUSE_PNM=yes'
12467 ac_cv_use_pnm='wxUSE_PNM=no'
12472 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12473 if test "x$LINE" != x ; then
12474 eval "DEFAULT_$LINE"
12479 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12484 eval "$ac_cv_use_pnm"
12485 if test "$no_cache" != 1; then
12486 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12489 if test "$wxUSE_PNM" = yes; then
12490 { echo "$as_me:$LINENO: result: yes" >&5
12491 echo "${ECHO_T}yes" >&6; }
12493 { echo "$as_me:$LINENO: result: no" >&5
12494 echo "${ECHO_T}no" >&6; }
12499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12500 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12502 # Check whether --enable-xpm was given.
12503 if test "${enable_xpm+set}" = set; then
12504 enableval=$enable_xpm;
12505 if test "$enableval" = yes; then
12506 ac_cv_use_xpm='wxUSE_XPM=yes'
12508 ac_cv_use_xpm='wxUSE_XPM=no'
12513 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12514 if test "x$LINE" != x ; then
12515 eval "DEFAULT_$LINE"
12520 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12525 eval "$ac_cv_use_xpm"
12526 if test "$no_cache" != 1; then
12527 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12530 if test "$wxUSE_XPM" = yes; then
12531 { echo "$as_me:$LINENO: result: yes" >&5
12532 echo "${ECHO_T}yes" >&6; }
12534 { echo "$as_me:$LINENO: result: no" >&5
12535 echo "${ECHO_T}no" >&6; }
12540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12541 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12543 # Check whether --enable-ico_cur was given.
12544 if test "${enable_ico_cur+set}" = set; then
12545 enableval=$enable_ico_cur;
12546 if test "$enableval" = yes; then
12547 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12549 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12554 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12555 if test "x$LINE" != x ; then
12556 eval "DEFAULT_$LINE"
12561 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12566 eval "$ac_cv_use_ico_cur"
12567 if test "$no_cache" != 1; then
12568 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12571 if test "$wxUSE_ICO_CUR" = yes; then
12572 { echo "$as_me:$LINENO: result: yes" >&5
12573 echo "${ECHO_T}yes" >&6; }
12575 { echo "$as_me:$LINENO: result: no" >&5
12576 echo "${ECHO_T}no" >&6; }
12584 # Check whether --with-flavour was given.
12585 if test "${with_flavour+set}" = set; then
12586 withval=$with_flavour; WX_FLAVOUR="$withval"
12593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12594 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12596 # Check whether --enable-official_build was given.
12597 if test "${enable_official_build+set}" = set; then
12598 enableval=$enable_official_build;
12599 if test "$enableval" = yes; then
12600 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12602 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12607 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12608 if test "x$LINE" != x ; then
12609 eval "DEFAULT_$LINE"
12614 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12619 eval "$ac_cv_use_official_build"
12620 if test "$no_cache" != 1; then
12621 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12624 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12625 { echo "$as_me:$LINENO: result: yes" >&5
12626 echo "${ECHO_T}yes" >&6; }
12628 { echo "$as_me:$LINENO: result: no" >&5
12629 echo "${ECHO_T}no" >&6; }
12632 # Check whether --enable-vendor was given.
12633 if test "${enable_vendor+set}" = set; then
12634 enableval=$enable_vendor; VENDOR="$enableval"
12637 if test "x$VENDOR" = "x"; then
12644 echo "saving argument cache $wx_arg_cache_file"
12645 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12649 { echo "$as_me:$LINENO: checking for toolkit" >&5
12650 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12652 # In Wine, we need to default to MSW, not GTK or MOTIF
12653 if test "$wxUSE_WINE" = "yes"; then
12654 DEFAULT_DEFAULT_wxUSE_GTK=0
12655 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12656 DEFAULT_DEFAULT_wxUSE_MSW=1
12659 CXX=${CXX:-wineg++}
12663 if test "$wxUSE_GUI" = "yes"; then
12665 if test "$USE_BEOS" = 1; then
12666 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12667 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12668 { (exit 1); exit 1; }; }
12671 if test "$TOOLKIT_GIVEN" = 1; then
12672 for toolkit in `echo $ALL_TOOLKITS`; do
12674 eval "value=\$${var}"
12675 if test "x$value" = "xno"; then
12677 elif test "x$value" != "x"; then
12681 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12682 eval "wx${toolkit}_VERSION=$value"
12686 for toolkit in `echo $ALL_TOOLKITS`; do
12687 if test "$has_toolkit_in_cache" != 1; then
12688 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12690 var=DEFAULT_wxUSE_$toolkit
12692 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12693 if test "x$version" != "x"; then
12694 eval "wx${toolkit}_VERSION=$version"
12697 eval "wxUSE_$toolkit=\$${var}"
12701 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12702 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12703 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12706 *-pc-os2_emx | *-pc-os2-emx )
12707 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12710 case "$NUM_TOOLKITS" in
12714 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12715 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12716 { (exit 1); exit 1; }; }
12719 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12720 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12721 { (exit 1); exit 1; }; }
12724 # to be removed when --disable-gtk2 isn't needed
12725 if test "x$wxUSE_GTK2" = "xyes"; then
12727 elif test "x$wxUSE_GTK2" = "xno"; then
12731 for toolkit in `echo $ALL_TOOLKITS`; do
12733 eval "value=\$${var}"
12734 if test "x$value" != x; then
12735 cache_var=CACHE_$toolkit
12736 eval "cache=\$${cache_var}"
12737 if test "$cache" = 1; then
12738 echo "$var=$value" >> ${wx_arg_cache_file}
12739 eval "version=\$wx${toolkit}_VERSION"
12740 if test "x$version" != "x"; then
12741 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12744 if test "$value" = 1; then
12745 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12746 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12747 echo "${ECHO_T}$toolkit_echo" >&6; }
12752 if test "x$host_alias" != "x"; then
12753 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12754 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12756 { echo "$as_me:$LINENO: result: base only" >&5
12757 echo "${ECHO_T}base only" >&6; }
12762 cat >confcache <<\_ACEOF
12763 # This file is a shell script that caches the results of configure
12764 # tests run on this system so they can be shared between configure
12765 # scripts and configure runs, see configure's option --config-cache.
12766 # It is not useful on other systems. If it contains results you don't
12767 # want to keep, you may remove or edit it.
12769 # config.status only pays attention to the cache file if you give it
12770 # the --recheck option to rerun configure.
12772 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12773 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12774 # following values.
12778 # The following way of writing the cache mishandles newlines in values,
12779 # but we know of no workaround that is simple, portable, and efficient.
12780 # So, we kill variables containing newlines.
12781 # Ultrix sh set writes to stderr and can't be redirected directly,
12782 # and sets the high bit in the cache file unless we assign to the vars.
12784 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12785 eval ac_val=\$$ac_var
12789 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12790 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12793 _ | IFS | as_nl) ;; #(
12794 *) $as_unset $ac_var ;;
12800 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12801 *${as_nl}ac_space=\ *)
12802 # `set' does not quote correctly, so add quotes (double-quote
12803 # substitution turns \\\\ into \\, and sed turns \\ into \).
12806 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12809 # `set' quotes correctly as required by POSIX, so do not add quotes.
12810 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12819 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12821 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12823 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12824 if test -w "$cache_file"; then
12825 test "x$cache_file" != "x/dev/null" &&
12826 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12827 echo "$as_me: updating cache $cache_file" >&6;}
12828 cat confcache >$cache_file
12830 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12831 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12841 ac_cpp='$CPP $CPPFLAGS'
12842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12845 if test -n "$ac_tool_prefix"; then
12846 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12847 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12850 if test "${ac_cv_prog_CC+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12853 if test -n "$CC"; then
12854 ac_cv_prog_CC="$CC" # Let the user override the test.
12856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12857 for as_dir in $PATH
12860 test -z "$as_dir" && as_dir=.
12861 for ac_exec_ext in '' $ac_executable_extensions; do
12862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12863 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12874 if test -n "$CC"; then
12875 { echo "$as_me:$LINENO: result: $CC" >&5
12876 echo "${ECHO_T}$CC" >&6; }
12878 { echo "$as_me:$LINENO: result: no" >&5
12879 echo "${ECHO_T}no" >&6; }
12884 if test -z "$ac_cv_prog_CC"; then
12886 # Extract the first word of "gcc", so it can be a program name with args.
12887 set dummy gcc; ac_word=$2
12888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12890 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12893 if test -n "$ac_ct_CC"; then
12894 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12897 for as_dir in $PATH
12900 test -z "$as_dir" && as_dir=.
12901 for ac_exec_ext in '' $ac_executable_extensions; do
12902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12903 ac_cv_prog_ac_ct_CC="gcc"
12904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12913 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12914 if test -n "$ac_ct_CC"; then
12915 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12916 echo "${ECHO_T}$ac_ct_CC" >&6; }
12918 { echo "$as_me:$LINENO: result: no" >&5
12919 echo "${ECHO_T}no" >&6; }
12922 if test "x$ac_ct_CC" = x; then
12925 case $cross_compiling:$ac_tool_warned in
12927 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12928 whose name does not start with the host triplet. If you think this
12929 configuration is useful to you, please write to autoconf@gnu.org." >&5
12930 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12931 whose name does not start with the host triplet. If you think this
12932 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12933 ac_tool_warned=yes ;;
12938 CC="$ac_cv_prog_CC"
12941 if test -z "$CC"; then
12942 if test -n "$ac_tool_prefix"; then
12943 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12944 set dummy ${ac_tool_prefix}cc; ac_word=$2
12945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12947 if test "${ac_cv_prog_CC+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 if test -n "$CC"; then
12951 ac_cv_prog_CC="$CC" # Let the user override the test.
12953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12954 for as_dir in $PATH
12957 test -z "$as_dir" && as_dir=.
12958 for ac_exec_ext in '' $ac_executable_extensions; do
12959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12960 ac_cv_prog_CC="${ac_tool_prefix}cc"
12961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12971 if test -n "$CC"; then
12972 { echo "$as_me:$LINENO: result: $CC" >&5
12973 echo "${ECHO_T}$CC" >&6; }
12975 { echo "$as_me:$LINENO: result: no" >&5
12976 echo "${ECHO_T}no" >&6; }
12982 if test -z "$CC"; then
12983 # Extract the first word of "cc", so it can be a program name with args.
12984 set dummy cc; ac_word=$2
12985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12987 if test "${ac_cv_prog_CC+set}" = set; then
12988 echo $ECHO_N "(cached) $ECHO_C" >&6
12990 if test -n "$CC"; then
12991 ac_cv_prog_CC="$CC" # Let the user override the test.
12993 ac_prog_rejected=no
12994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12995 for as_dir in $PATH
12998 test -z "$as_dir" && as_dir=.
12999 for ac_exec_ext in '' $ac_executable_extensions; do
13000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13001 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13002 ac_prog_rejected=yes
13006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13013 if test $ac_prog_rejected = yes; then
13014 # We found a bogon in the path, so make sure we never use it.
13015 set dummy $ac_cv_prog_CC
13017 if test $# != 0; then
13018 # We chose a different compiler from the bogus one.
13019 # However, it has the same basename, so the bogon will be chosen
13020 # first if we set CC to just the basename; use the full file name.
13022 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13028 if test -n "$CC"; then
13029 { echo "$as_me:$LINENO: result: $CC" >&5
13030 echo "${ECHO_T}$CC" >&6; }
13032 { echo "$as_me:$LINENO: result: no" >&5
13033 echo "${ECHO_T}no" >&6; }
13038 if test -z "$CC"; then
13039 if test -n "$ac_tool_prefix"; then
13040 for ac_prog in cl.exe
13042 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13043 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13046 if test "${ac_cv_prog_CC+set}" = set; then
13047 echo $ECHO_N "(cached) $ECHO_C" >&6
13049 if test -n "$CC"; then
13050 ac_cv_prog_CC="$CC" # Let the user override the test.
13052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13053 for as_dir in $PATH
13056 test -z "$as_dir" && as_dir=.
13057 for ac_exec_ext in '' $ac_executable_extensions; do
13058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13059 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13070 if test -n "$CC"; then
13071 { echo "$as_me:$LINENO: result: $CC" >&5
13072 echo "${ECHO_T}$CC" >&6; }
13074 { echo "$as_me:$LINENO: result: no" >&5
13075 echo "${ECHO_T}no" >&6; }
13079 test -n "$CC" && break
13082 if test -z "$CC"; then
13084 for ac_prog in cl.exe
13086 # Extract the first word of "$ac_prog", so it can be a program name with args.
13087 set dummy $ac_prog; ac_word=$2
13088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13090 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 if test -n "$ac_ct_CC"; then
13094 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13097 for as_dir in $PATH
13100 test -z "$as_dir" && as_dir=.
13101 for ac_exec_ext in '' $ac_executable_extensions; do
13102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13103 ac_cv_prog_ac_ct_CC="$ac_prog"
13104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13113 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13114 if test -n "$ac_ct_CC"; then
13115 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13116 echo "${ECHO_T}$ac_ct_CC" >&6; }
13118 { echo "$as_me:$LINENO: result: no" >&5
13119 echo "${ECHO_T}no" >&6; }
13123 test -n "$ac_ct_CC" && break
13126 if test "x$ac_ct_CC" = x; then
13129 case $cross_compiling:$ac_tool_warned in
13131 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13132 whose name does not start with the host triplet. If you think this
13133 configuration is useful to you, please write to autoconf@gnu.org." >&5
13134 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13135 whose name does not start with the host triplet. If you think this
13136 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13137 ac_tool_warned=yes ;;
13146 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13147 See \`config.log' for more details." >&5
13148 echo "$as_me: error: no acceptable C compiler found in \$PATH
13149 See \`config.log' for more details." >&2;}
13150 { (exit 1); exit 1; }; }
13152 # Provide some information about the compiler.
13153 echo "$as_me:$LINENO: checking for C compiler version" >&5
13154 ac_compiler=`set X $ac_compile; echo $2`
13155 { (ac_try="$ac_compiler --version >&5"
13156 case "(($ac_try" in
13157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13158 *) ac_try_echo=$ac_try;;
13160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13161 (eval "$ac_compiler --version >&5") 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }
13165 { (ac_try="$ac_compiler -v >&5"
13166 case "(($ac_try" in
13167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13168 *) ac_try_echo=$ac_try;;
13170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13171 (eval "$ac_compiler -v >&5") 2>&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }
13175 { (ac_try="$ac_compiler -V >&5"
13176 case "(($ac_try" in
13177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13178 *) ac_try_echo=$ac_try;;
13180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13181 (eval "$ac_compiler -V >&5") 2>&5
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }
13186 cat >conftest.$ac_ext <<_ACEOF
13189 cat confdefs.h >>conftest.$ac_ext
13190 cat >>conftest.$ac_ext <<_ACEOF
13191 /* end confdefs.h. */
13201 ac_clean_files_save=$ac_clean_files
13202 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13203 # Try to create an executable without -o first, disregard a.out.
13204 # It will help us diagnose broken compilers, and finding out an intuition
13206 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13207 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13208 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13210 # List of possible output files, starting from the most likely.
13211 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13212 # only as a last resort. b.out is created by i960 compilers.
13213 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13215 # The IRIX 6 linker writes into existing files which may not be
13216 # executable, retaining their permissions. Remove them first so a
13217 # subsequent execution test works.
13219 for ac_file in $ac_files
13222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13223 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13228 if { (ac_try="$ac_link_default"
13229 case "(($ac_try" in
13230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13231 *) ac_try_echo=$ac_try;;
13233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13234 (eval "$ac_link_default") 2>&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); }; then
13238 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13239 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13240 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13241 # so that the user can short-circuit this test for compilers unknown to
13243 for ac_file in $ac_files ''
13245 test -f "$ac_file" || continue
13247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13250 # We found the default executable, but exeext='' is most
13254 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13256 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13258 # We set ac_cv_exeext here because the later test for it is not
13259 # safe: cross compilers may not add the suffix if given an `-o'
13260 # argument, so we may need to know it at that point already.
13261 # Even if this section looks crufty: it has the advantage of
13262 # actually working.
13268 test "$ac_cv_exeext" = no && ac_cv_exeext=
13274 { echo "$as_me:$LINENO: result: $ac_file" >&5
13275 echo "${ECHO_T}$ac_file" >&6; }
13276 if test -z "$ac_file"; then
13277 echo "$as_me: failed program was:" >&5
13278 sed 's/^/| /' conftest.$ac_ext >&5
13280 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13281 See \`config.log' for more details." >&5
13282 echo "$as_me: error: C compiler cannot create executables
13283 See \`config.log' for more details." >&2;}
13284 { (exit 77); exit 77; }; }
13287 ac_exeext=$ac_cv_exeext
13289 # Check that the compiler produces executables we can run. If not, either
13290 # the compiler is broken, or we cross compile.
13291 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13292 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13293 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13294 # If not cross compiling, check that we can run a simple program.
13295 if test "$cross_compiling" != yes; then
13296 if { ac_try='./$ac_file'
13297 { (case "(($ac_try" in
13298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13299 *) ac_try_echo=$ac_try;;
13301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13302 (eval "$ac_try") 2>&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; }; then
13308 if test "$cross_compiling" = maybe; then
13309 cross_compiling=yes
13311 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13312 If you meant to cross compile, use \`--host'.
13313 See \`config.log' for more details." >&5
13314 echo "$as_me: error: cannot run C compiled programs.
13315 If you meant to cross compile, use \`--host'.
13316 See \`config.log' for more details." >&2;}
13317 { (exit 1); exit 1; }; }
13321 { echo "$as_me:$LINENO: result: yes" >&5
13322 echo "${ECHO_T}yes" >&6; }
13324 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13325 ac_clean_files=$ac_clean_files_save
13326 # Check that the compiler produces executables we can run. If not, either
13327 # the compiler is broken, or we cross compile.
13328 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13329 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13330 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13331 echo "${ECHO_T}$cross_compiling" >&6; }
13333 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13334 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13335 if { (ac_try="$ac_link"
13336 case "(($ac_try" in
13337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13338 *) ac_try_echo=$ac_try;;
13340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13341 (eval "$ac_link") 2>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; then
13345 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13346 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13347 # work properly (i.e., refer to `conftest.exe'), while it won't with
13349 for ac_file in conftest.exe conftest conftest.*; do
13350 test -f "$ac_file" || continue
13352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13353 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13359 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13360 See \`config.log' for more details." >&5
13361 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13362 See \`config.log' for more details." >&2;}
13363 { (exit 1); exit 1; }; }
13366 rm -f conftest$ac_cv_exeext
13367 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13368 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13370 rm -f conftest.$ac_ext
13371 EXEEXT=$ac_cv_exeext
13373 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13374 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13375 if test "${ac_cv_objext+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 cat >conftest.$ac_ext <<_ACEOF
13381 cat confdefs.h >>conftest.$ac_ext
13382 cat >>conftest.$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13393 rm -f conftest.o conftest.obj
13394 if { (ac_try="$ac_compile"
13395 case "(($ac_try" in
13396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13397 *) ac_try_echo=$ac_try;;
13399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13400 (eval "$ac_compile") 2>&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); }; then
13404 for ac_file in conftest.o conftest.obj conftest.*; do
13405 test -f "$ac_file" || continue;
13407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13408 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13416 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13417 See \`config.log' for more details." >&5
13418 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13419 See \`config.log' for more details." >&2;}
13420 { (exit 1); exit 1; }; }
13423 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13425 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13426 echo "${ECHO_T}$ac_cv_objext" >&6; }
13427 OBJEXT=$ac_cv_objext
13429 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13430 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13431 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 cat >conftest.$ac_ext <<_ACEOF
13437 cat confdefs.h >>conftest.$ac_ext
13438 cat >>conftest.$ac_ext <<_ACEOF
13439 /* end confdefs.h. */
13452 rm -f conftest.$ac_objext
13453 if { (ac_try="$ac_compile"
13454 case "(($ac_try" in
13455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13456 *) ac_try_echo=$ac_try;;
13458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13459 (eval "$ac_compile") 2>conftest.er1
13461 grep -v '^ *+' conftest.er1 >conftest.err
13463 cat conftest.err >&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); } && {
13466 test -z "$ac_c_werror_flag" ||
13467 test ! -s conftest.err
13468 } && test -s conftest.$ac_objext; then
13469 ac_compiler_gnu=yes
13471 echo "$as_me: failed program was:" >&5
13472 sed 's/^/| /' conftest.$ac_ext >&5
13477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13478 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13481 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13482 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13483 GCC=`test $ac_compiler_gnu = yes && echo yes`
13484 ac_test_CFLAGS=${CFLAGS+set}
13485 ac_save_CFLAGS=$CFLAGS
13486 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13487 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13488 if test "${ac_cv_prog_cc_g+set}" = set; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 ac_save_c_werror_flag=$ac_c_werror_flag
13492 ac_c_werror_flag=yes
13495 cat >conftest.$ac_ext <<_ACEOF
13498 cat confdefs.h >>conftest.$ac_ext
13499 cat >>conftest.$ac_ext <<_ACEOF
13500 /* end confdefs.h. */
13510 rm -f conftest.$ac_objext
13511 if { (ac_try="$ac_compile"
13512 case "(($ac_try" in
13513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13514 *) ac_try_echo=$ac_try;;
13516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13517 (eval "$ac_compile") 2>conftest.er1
13519 grep -v '^ *+' conftest.er1 >conftest.err
13521 cat conftest.err >&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } && {
13524 test -z "$ac_c_werror_flag" ||
13525 test ! -s conftest.err
13526 } && test -s conftest.$ac_objext; then
13527 ac_cv_prog_cc_g=yes
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.$ac_ext >&5
13533 cat >conftest.$ac_ext <<_ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13548 rm -f conftest.$ac_objext
13549 if { (ac_try="$ac_compile"
13550 case "(($ac_try" in
13551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13552 *) ac_try_echo=$ac_try;;
13554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13555 (eval "$ac_compile") 2>conftest.er1
13557 grep -v '^ *+' conftest.er1 >conftest.err
13559 cat conftest.err >&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } && {
13562 test -z "$ac_c_werror_flag" ||
13563 test ! -s conftest.err
13564 } && test -s conftest.$ac_objext; then
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13570 ac_c_werror_flag=$ac_save_c_werror_flag
13572 cat >conftest.$ac_ext <<_ACEOF
13575 cat confdefs.h >>conftest.$ac_ext
13576 cat >>conftest.$ac_ext <<_ACEOF
13577 /* end confdefs.h. */
13587 rm -f conftest.$ac_objext
13588 if { (ac_try="$ac_compile"
13589 case "(($ac_try" in
13590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13591 *) ac_try_echo=$ac_try;;
13593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13594 (eval "$ac_compile") 2>conftest.er1
13596 grep -v '^ *+' conftest.er1 >conftest.err
13598 cat conftest.err >&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } && {
13601 test -z "$ac_c_werror_flag" ||
13602 test ! -s conftest.err
13603 } && test -s conftest.$ac_objext; then
13604 ac_cv_prog_cc_g=yes
13606 echo "$as_me: failed program was:" >&5
13607 sed 's/^/| /' conftest.$ac_ext >&5
13612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13619 ac_c_werror_flag=$ac_save_c_werror_flag
13621 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13622 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13623 if test "$ac_test_CFLAGS" = set; then
13624 CFLAGS=$ac_save_CFLAGS
13625 elif test $ac_cv_prog_cc_g = yes; then
13626 if test "$GCC" = yes; then
13632 if test "$GCC" = yes; then
13638 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13639 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13640 if test "${ac_cv_prog_cc_c89+set}" = set; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 ac_cv_prog_cc_c89=no
13645 cat >conftest.$ac_ext <<_ACEOF
13648 cat confdefs.h >>conftest.$ac_ext
13649 cat >>conftest.$ac_ext <<_ACEOF
13650 /* end confdefs.h. */
13651 #include <stdarg.h>
13653 #include <sys/types.h>
13654 #include <sys/stat.h>
13655 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13656 struct buf { int x; };
13657 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13658 static char *e (p, i)
13664 static char *f (char * (*g) (char **, int), char **p, ...)
13669 s = g (p, va_arg (v,int));
13674 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13675 function prototypes and stuff, but not '\xHH' hex character constants.
13676 These don't provoke an error unfortunately, instead are silently treated
13677 as 'x'. The following induces an error, until -std is added to get
13678 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13679 array size at least. It's necessary to write '\x00'==0 to get something
13680 that's true only with -std. */
13681 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13683 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13684 inside strings and character constants. */
13686 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13688 int test (int i, double x);
13689 struct s1 {int (*f) (int a);};
13690 struct s2 {int (*f) (double a);};
13691 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13697 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13702 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13703 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13705 CC="$ac_save_CC $ac_arg"
13706 rm -f conftest.$ac_objext
13707 if { (ac_try="$ac_compile"
13708 case "(($ac_try" in
13709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13710 *) ac_try_echo=$ac_try;;
13712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13713 (eval "$ac_compile") 2>conftest.er1
13715 grep -v '^ *+' conftest.er1 >conftest.err
13717 cat conftest.err >&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } && {
13720 test -z "$ac_c_werror_flag" ||
13721 test ! -s conftest.err
13722 } && test -s conftest.$ac_objext; then
13723 ac_cv_prog_cc_c89=$ac_arg
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13731 rm -f core conftest.err conftest.$ac_objext
13732 test "x$ac_cv_prog_cc_c89" != "xno" && break
13734 rm -f conftest.$ac_ext
13739 case "x$ac_cv_prog_cc_c89" in
13741 { echo "$as_me:$LINENO: result: none needed" >&5
13742 echo "${ECHO_T}none needed" >&6; } ;;
13744 { echo "$as_me:$LINENO: result: unsupported" >&5
13745 echo "${ECHO_T}unsupported" >&6; } ;;
13747 CC="$CC $ac_cv_prog_cc_c89"
13748 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13749 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13754 ac_cpp='$CPP $CPPFLAGS'
13755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13762 ac_cpp='$CPP $CPPFLAGS'
13763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13767 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13768 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13769 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 cat >conftest.$ac_ext <<_ACEOF
13775 cat confdefs.h >>conftest.$ac_ext
13776 cat >>conftest.$ac_ext <<_ACEOF
13777 /* end confdefs.h. */
13783 #ifndef __INTEL_COMPILER
13791 rm -f conftest.$ac_objext
13792 if { (ac_try="$ac_compile"
13793 case "(($ac_try" in
13794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13795 *) ac_try_echo=$ac_try;;
13797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13798 (eval "$ac_compile") 2>conftest.er1
13800 grep -v '^ *+' conftest.er1 >conftest.err
13802 cat conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } && {
13805 test -z "$ac_c_werror_flag" ||
13806 test ! -s conftest.err
13807 } && test -s conftest.$ac_objext; then
13808 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.$ac_ext >&5
13813 bakefile_cv_c_compiler___INTEL_COMPILER=no
13817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13821 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13822 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13824 ac_cpp='$CPP $CPPFLAGS'
13825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13829 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13836 if test "x$GCC" != "xyes"; then
13837 if test "xCC" = "xC"; then
13838 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13839 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13840 if test "${bakefile_cv_c_exto+set}" = set; then
13841 echo $ECHO_N "(cached) $ECHO_C" >&6
13843 cat >conftest.$ac_ext <<_ACEOF
13846 cat confdefs.h >>conftest.$ac_ext
13847 cat >>conftest.$ac_ext <<_ACEOF
13848 /* end confdefs.h. */
13858 rm -f conftest.$ac_objext conftest.$ac_ext.o
13859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13860 (eval $ac_compile) 2>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; then
13864 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13866 conftest.$ac_ext.o)
13867 bakefile_cv_c_exto="-ext o"
13874 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13875 See \`config.log' for more details." >&5
13876 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13877 See \`config.log' for more details." >&2;}
13878 { (exit 1); exit 1; }; }
13882 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13885 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13886 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13887 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13888 if test "c" = "c"; then
13889 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13891 if test "c" = "cxx"; then
13892 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13896 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13897 unset ac_cv_prog_cc_g
13898 ac_test_CFLAGS=${CFLAGS+set}
13899 ac_save_CFLAGS=$CFLAGS
13900 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13901 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13902 if test "${ac_cv_prog_cc_g+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 ac_save_c_werror_flag=$ac_c_werror_flag
13906 ac_c_werror_flag=yes
13909 cat >conftest.$ac_ext <<_ACEOF
13912 cat confdefs.h >>conftest.$ac_ext
13913 cat >>conftest.$ac_ext <<_ACEOF
13914 /* end confdefs.h. */
13924 rm -f conftest.$ac_objext
13925 if { (ac_try="$ac_compile"
13926 case "(($ac_try" in
13927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13928 *) ac_try_echo=$ac_try;;
13930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13931 (eval "$ac_compile") 2>conftest.er1
13933 grep -v '^ *+' conftest.er1 >conftest.err
13935 cat conftest.err >&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); } && {
13938 test -z "$ac_c_werror_flag" ||
13939 test ! -s conftest.err
13940 } && test -s conftest.$ac_objext; then
13941 ac_cv_prog_cc_g=yes
13943 echo "$as_me: failed program was:" >&5
13944 sed 's/^/| /' conftest.$ac_ext >&5
13947 cat >conftest.$ac_ext <<_ACEOF
13950 cat confdefs.h >>conftest.$ac_ext
13951 cat >>conftest.$ac_ext <<_ACEOF
13952 /* end confdefs.h. */
13962 rm -f conftest.$ac_objext
13963 if { (ac_try="$ac_compile"
13964 case "(($ac_try" in
13965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13966 *) ac_try_echo=$ac_try;;
13968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13969 (eval "$ac_compile") 2>conftest.er1
13971 grep -v '^ *+' conftest.er1 >conftest.err
13973 cat conftest.err >&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } && {
13976 test -z "$ac_c_werror_flag" ||
13977 test ! -s conftest.err
13978 } && test -s conftest.$ac_objext; then
13981 echo "$as_me: failed program was:" >&5
13982 sed 's/^/| /' conftest.$ac_ext >&5
13984 ac_c_werror_flag=$ac_save_c_werror_flag
13986 cat >conftest.$ac_ext <<_ACEOF
13989 cat confdefs.h >>conftest.$ac_ext
13990 cat >>conftest.$ac_ext <<_ACEOF
13991 /* end confdefs.h. */
14001 rm -f conftest.$ac_objext
14002 if { (ac_try="$ac_compile"
14003 case "(($ac_try" in
14004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14005 *) ac_try_echo=$ac_try;;
14007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14008 (eval "$ac_compile") 2>conftest.er1
14010 grep -v '^ *+' conftest.er1 >conftest.err
14012 cat conftest.err >&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); } && {
14015 test -z "$ac_c_werror_flag" ||
14016 test ! -s conftest.err
14017 } && test -s conftest.$ac_objext; then
14018 ac_cv_prog_cc_g=yes
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.$ac_ext >&5
14026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14033 ac_c_werror_flag=$ac_save_c_werror_flag
14035 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14036 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14037 if test "$ac_test_CFLAGS" = set; then
14038 CFLAGS=$ac_save_CFLAGS
14039 elif test $ac_cv_prog_cc_g = yes; then
14040 if test "$GCC" = yes; then
14046 if test "$GCC" = yes; then
14058 ac_cpp='$CPP $CPPFLAGS'
14059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14063 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14064 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14065 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14068 cat >conftest.$ac_ext <<_ACEOF
14071 cat confdefs.h >>conftest.$ac_ext
14072 cat >>conftest.$ac_ext <<_ACEOF
14073 /* end confdefs.h. */
14086 rm -f conftest.$ac_objext
14087 if { (ac_try="$ac_compile"
14088 case "(($ac_try" in
14089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14090 *) ac_try_echo=$ac_try;;
14092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14093 (eval "$ac_compile") 2>conftest.er1
14095 grep -v '^ *+' conftest.er1 >conftest.err
14097 cat conftest.err >&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); } && {
14100 test -z "$ac_c_werror_flag" ||
14101 test ! -s conftest.err
14102 } && test -s conftest.$ac_objext; then
14103 bakefile_compiler_xlc=yes
14105 echo "$as_me: failed program was:" >&5
14106 sed 's/^/| /' conftest.$ac_ext >&5
14108 bakefile_compiler_xlc=no
14111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14112 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14115 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14116 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14118 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14120 ac_cpp='$CPP $CPPFLAGS'
14121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14130 ac_cpp='$CPP $CPPFLAGS'
14131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14135 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14136 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14137 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14138 echo $ECHO_N "(cached) $ECHO_C" >&6
14140 cat >conftest.$ac_ext <<_ACEOF
14143 cat confdefs.h >>conftest.$ac_ext
14144 cat >>conftest.$ac_ext <<_ACEOF
14145 /* end confdefs.h. */
14158 rm -f conftest.$ac_objext
14159 if { (ac_try="$ac_compile"
14160 case "(($ac_try" in
14161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14162 *) ac_try_echo=$ac_try;;
14164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14165 (eval "$ac_compile") 2>conftest.er1
14167 grep -v '^ *+' conftest.er1 >conftest.err
14169 cat conftest.err >&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } && {
14172 test -z "$ac_c_werror_flag" ||
14173 test ! -s conftest.err
14174 } && test -s conftest.$ac_objext; then
14175 bakefile_compiler_mwerks=yes
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.$ac_ext >&5
14180 bakefile_compiler_mwerks=no
14183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14184 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14187 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14188 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14190 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14192 ac_cpp='$CPP $CPPFLAGS'
14193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14199 ac_cpp='$CPP $CPPFLAGS'
14200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14204 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14205 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14206 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14207 echo $ECHO_N "(cached) $ECHO_C" >&6
14209 cat >conftest.$ac_ext <<_ACEOF
14212 cat confdefs.h >>conftest.$ac_ext
14213 cat >>conftest.$ac_ext <<_ACEOF
14214 /* end confdefs.h. */
14227 rm -f conftest.$ac_objext
14228 if { (ac_try="$ac_compile"
14229 case "(($ac_try" in
14230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14231 *) ac_try_echo=$ac_try;;
14233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14234 (eval "$ac_compile") 2>conftest.er1
14236 grep -v '^ *+' conftest.er1 >conftest.err
14238 cat conftest.err >&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); } && {
14241 test -z "$ac_c_werror_flag" ||
14242 test ! -s conftest.err
14243 } && test -s conftest.$ac_objext; then
14244 bakefile_compiler_xlc=yes
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.$ac_ext >&5
14249 bakefile_compiler_xlc=no
14252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14253 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14256 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14257 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14259 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14261 ac_cpp='$CPP $CPPFLAGS'
14262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14273 ac_cpp='$CPP $CPPFLAGS'
14274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14278 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14279 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14280 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14281 echo $ECHO_N "(cached) $ECHO_C" >&6
14283 cat >conftest.$ac_ext <<_ACEOF
14286 cat confdefs.h >>conftest.$ac_ext
14287 cat >>conftest.$ac_ext <<_ACEOF
14288 /* end confdefs.h. */
14294 #ifndef _SGI_COMPILER_VERSION
14302 rm -f conftest.$ac_objext
14303 if { (ac_try="$ac_compile"
14304 case "(($ac_try" in
14305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14306 *) ac_try_echo=$ac_try;;
14308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14309 (eval "$ac_compile") 2>conftest.er1
14311 grep -v '^ *+' conftest.er1 >conftest.err
14313 cat conftest.err >&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } && {
14316 test -z "$ac_c_werror_flag" ||
14317 test ! -s conftest.err
14318 } && test -s conftest.$ac_objext; then
14319 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14321 echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.$ac_ext >&5
14324 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14332 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14333 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14335 ac_cpp='$CPP $CPPFLAGS'
14336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14340 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14358 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14359 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14360 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 cat >conftest.$ac_ext <<_ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14382 rm -f conftest.$ac_objext
14383 if { (ac_try="$ac_compile"
14384 case "(($ac_try" in
14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_compile") 2>conftest.er1
14391 grep -v '^ *+' conftest.er1 >conftest.err
14393 cat conftest.err >&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } && {
14396 test -z "$ac_c_werror_flag" ||
14397 test ! -s conftest.err
14398 } && test -s conftest.$ac_objext; then
14399 bakefile_cv_c_compiler___HP_cc=yes
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14404 bakefile_cv_c_compiler___HP_cc=no
14408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14413 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14415 ac_cpp='$CPP $CPPFLAGS'
14416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14420 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14433 ac_cpp='$CPP $CPPFLAGS'
14434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14438 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14439 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14440 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14443 cat >conftest.$ac_ext <<_ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14462 rm -f conftest.$ac_objext
14463 if { (ac_try="$ac_compile"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_compile") 2>conftest.er1
14471 grep -v '^ *+' conftest.er1 >conftest.err
14473 cat conftest.err >&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest.$ac_objext; then
14479 bakefile_cv_c_compiler___DECC=yes
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14484 bakefile_cv_c_compiler___DECC=no
14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14493 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14500 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14513 ac_cpp='$CPP $CPPFLAGS'
14514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14518 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14519 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14520 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6
14523 cat >conftest.$ac_ext <<_ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14551 grep -v '^ *+' conftest.er1 >conftest.err
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 bakefile_cv_c_compiler___SUNPRO_C=yes
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14564 bakefile_cv_c_compiler___SUNPRO_C=no
14568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14573 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14575 ac_cpp='$CPP $CPPFLAGS'
14576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14580 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14594 ac_cpp='$CPP $CPPFLAGS'
14595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14598 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14599 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14600 # On Suns, sometimes $CPP names a directory.
14601 if test -n "$CPP" && test -d "$CPP"; then
14604 if test -z "$CPP"; then
14605 if test "${ac_cv_prog_CPP+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 # Double quotes because CPP needs to be expanded
14609 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14611 ac_preproc_ok=false
14612 for ac_c_preproc_warn_flag in '' yes
14614 # Use a header file that comes with gcc, so configuring glibc
14615 # with a fresh cross-compiler works.
14616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14617 # <limits.h> exists even on freestanding compilers.
14618 # On the NeXT, cc -E runs the code through the compiler's parser,
14619 # not just through cpp. "Syntax error" is here to catch this case.
14620 cat >conftest.$ac_ext <<_ACEOF
14623 cat confdefs.h >>conftest.$ac_ext
14624 cat >>conftest.$ac_ext <<_ACEOF
14625 /* end confdefs.h. */
14627 # include <limits.h>
14629 # include <assert.h>
14633 if { (ac_try="$ac_cpp conftest.$ac_ext"
14634 case "(($ac_try" in
14635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14636 *) ac_try_echo=$ac_try;;
14638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14641 grep -v '^ *+' conftest.er1 >conftest.err
14643 cat conftest.err >&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); } >/dev/null && {
14646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14647 test ! -s conftest.err
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.$ac_ext >&5
14654 # Broken: fails on valid input.
14658 rm -f conftest.err conftest.$ac_ext
14660 # OK, works on sane cases. Now check whether nonexistent headers
14661 # can be detected and how.
14662 cat >conftest.$ac_ext <<_ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668 #include <ac_nonexistent.h>
14670 if { (ac_try="$ac_cpp conftest.$ac_ext"
14671 case "(($ac_try" in
14672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14673 *) ac_try_echo=$ac_try;;
14675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14678 grep -v '^ *+' conftest.er1 >conftest.err
14680 cat conftest.err >&5
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 (exit $ac_status); } >/dev/null && {
14683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14684 test ! -s conftest.err
14686 # Broken: success on invalid input.
14689 echo "$as_me: failed program was:" >&5
14690 sed 's/^/| /' conftest.$ac_ext >&5
14692 # Passes both tests.
14697 rm -f conftest.err conftest.$ac_ext
14700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14701 rm -f conftest.err conftest.$ac_ext
14702 if $ac_preproc_ok; then
14707 ac_cv_prog_CPP=$CPP
14710 CPP=$ac_cv_prog_CPP
14712 ac_cv_prog_CPP=$CPP
14714 { echo "$as_me:$LINENO: result: $CPP" >&5
14715 echo "${ECHO_T}$CPP" >&6; }
14716 ac_preproc_ok=false
14717 for ac_c_preproc_warn_flag in '' yes
14719 # Use a header file that comes with gcc, so configuring glibc
14720 # with a fresh cross-compiler works.
14721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14722 # <limits.h> exists even on freestanding compilers.
14723 # On the NeXT, cc -E runs the code through the compiler's parser,
14724 # not just through cpp. "Syntax error" is here to catch this case.
14725 cat >conftest.$ac_ext <<_ACEOF
14728 cat confdefs.h >>conftest.$ac_ext
14729 cat >>conftest.$ac_ext <<_ACEOF
14730 /* end confdefs.h. */
14732 # include <limits.h>
14734 # include <assert.h>
14738 if { (ac_try="$ac_cpp conftest.$ac_ext"
14739 case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14746 grep -v '^ *+' conftest.er1 >conftest.err
14748 cat conftest.err >&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); } >/dev/null && {
14751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14752 test ! -s conftest.err
14756 echo "$as_me: failed program was:" >&5
14757 sed 's/^/| /' conftest.$ac_ext >&5
14759 # Broken: fails on valid input.
14763 rm -f conftest.err conftest.$ac_ext
14765 # OK, works on sane cases. Now check whether nonexistent headers
14766 # can be detected and how.
14767 cat >conftest.$ac_ext <<_ACEOF
14770 cat confdefs.h >>conftest.$ac_ext
14771 cat >>conftest.$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14773 #include <ac_nonexistent.h>
14775 if { (ac_try="$ac_cpp conftest.$ac_ext"
14776 case "(($ac_try" in
14777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14778 *) ac_try_echo=$ac_try;;
14780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14783 grep -v '^ *+' conftest.er1 >conftest.err
14785 cat conftest.err >&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); } >/dev/null && {
14788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14789 test ! -s conftest.err
14791 # Broken: success on invalid input.
14794 echo "$as_me: failed program was:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14797 # Passes both tests.
14802 rm -f conftest.err conftest.$ac_ext
14805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14806 rm -f conftest.err conftest.$ac_ext
14807 if $ac_preproc_ok; then
14810 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14811 See \`config.log' for more details." >&5
14812 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14813 See \`config.log' for more details." >&2;}
14814 { (exit 1); exit 1; }; }
14818 ac_cpp='$CPP $CPPFLAGS'
14819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14824 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14825 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14826 if test "${ac_cv_path_GREP+set}" = set; then
14827 echo $ECHO_N "(cached) $ECHO_C" >&6
14829 # Extract the first word of "grep ggrep" to use in msg output
14830 if test -z "$GREP"; then
14831 set dummy grep ggrep; ac_prog_name=$2
14832 if test "${ac_cv_path_GREP+set}" = set; then
14833 echo $ECHO_N "(cached) $ECHO_C" >&6
14835 ac_path_GREP_found=false
14836 # Loop through the user's path and test for each of PROGNAME-LIST
14837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14838 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14841 test -z "$as_dir" && as_dir=.
14842 for ac_prog in grep ggrep; do
14843 for ac_exec_ext in '' $ac_executable_extensions; do
14844 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14845 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14846 # Check for GNU ac_path_GREP and select it if it is found.
14847 # Check for GNU $ac_path_GREP
14848 case `"$ac_path_GREP" --version 2>&1` in
14850 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14853 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14856 cat "conftest.in" "conftest.in" >"conftest.tmp"
14857 mv "conftest.tmp" "conftest.in"
14858 cp "conftest.in" "conftest.nl"
14859 echo 'GREP' >> "conftest.nl"
14860 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14861 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14862 ac_count=`expr $ac_count + 1`
14863 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14864 # Best one so far, save it but keep looking for a better one
14865 ac_cv_path_GREP="$ac_path_GREP"
14866 ac_path_GREP_max=$ac_count
14868 # 10*(2^10) chars as input seems more than enough
14869 test $ac_count -gt 10 && break
14871 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14875 $ac_path_GREP_found && break 3
14885 GREP="$ac_cv_path_GREP"
14886 if test -z "$GREP"; then
14887 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14888 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14889 { (exit 1); exit 1; }; }
14893 ac_cv_path_GREP=$GREP
14898 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14899 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14900 GREP="$ac_cv_path_GREP"
14903 { echo "$as_me:$LINENO: checking for egrep" >&5
14904 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14905 if test "${ac_cv_path_EGREP+set}" = set; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14909 then ac_cv_path_EGREP="$GREP -E"
14911 # Extract the first word of "egrep" to use in msg output
14912 if test -z "$EGREP"; then
14913 set dummy egrep; ac_prog_name=$2
14914 if test "${ac_cv_path_EGREP+set}" = set; then
14915 echo $ECHO_N "(cached) $ECHO_C" >&6
14917 ac_path_EGREP_found=false
14918 # Loop through the user's path and test for each of PROGNAME-LIST
14919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14920 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14923 test -z "$as_dir" && as_dir=.
14924 for ac_prog in egrep; do
14925 for ac_exec_ext in '' $ac_executable_extensions; do
14926 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14927 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14928 # Check for GNU ac_path_EGREP and select it if it is found.
14929 # Check for GNU $ac_path_EGREP
14930 case `"$ac_path_EGREP" --version 2>&1` in
14932 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14935 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14938 cat "conftest.in" "conftest.in" >"conftest.tmp"
14939 mv "conftest.tmp" "conftest.in"
14940 cp "conftest.in" "conftest.nl"
14941 echo 'EGREP' >> "conftest.nl"
14942 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14943 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14944 ac_count=`expr $ac_count + 1`
14945 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14946 # Best one so far, save it but keep looking for a better one
14947 ac_cv_path_EGREP="$ac_path_EGREP"
14948 ac_path_EGREP_max=$ac_count
14950 # 10*(2^10) chars as input seems more than enough
14951 test $ac_count -gt 10 && break
14953 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14957 $ac_path_EGREP_found && break 3
14967 EGREP="$ac_cv_path_EGREP"
14968 if test -z "$EGREP"; then
14969 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14970 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14971 { (exit 1); exit 1; }; }
14975 ac_cv_path_EGREP=$EGREP
14981 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14982 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14983 EGREP="$ac_cv_path_EGREP"
14986 if test $ac_cv_c_compiler_gnu = yes; then
14987 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14988 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14989 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14990 echo $ECHO_N "(cached) $ECHO_C" >&6
14992 ac_pattern="Autoconf.*'x'"
14993 cat >conftest.$ac_ext <<_ACEOF
14996 cat confdefs.h >>conftest.$ac_ext
14997 cat >>conftest.$ac_ext <<_ACEOF
14998 /* end confdefs.h. */
15002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15003 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15004 ac_cv_prog_gcc_traditional=yes
15006 ac_cv_prog_gcc_traditional=no
15011 if test $ac_cv_prog_gcc_traditional = no; then
15012 cat >conftest.$ac_ext <<_ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 #include <termio.h>
15021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15022 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15023 ac_cv_prog_gcc_traditional=yes
15029 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15030 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15031 if test $ac_cv_prog_gcc_traditional = yes; then
15032 CC="$CC -traditional"
15037 CXXFLAGS=${CXXFLAGS:=}
15042 ac_cpp='$CXXCPP $CPPFLAGS'
15043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15046 if test -z "$CXX"; then
15047 if test -n "$CCC"; then
15050 if test -n "$ac_tool_prefix"; then
15051 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15053 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15054 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15057 if test "${ac_cv_prog_CXX+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 if test -n "$CXX"; then
15061 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15064 for as_dir in $PATH
15067 test -z "$as_dir" && as_dir=.
15068 for ac_exec_ext in '' $ac_executable_extensions; do
15069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15070 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15080 CXX=$ac_cv_prog_CXX
15081 if test -n "$CXX"; then
15082 { echo "$as_me:$LINENO: result: $CXX" >&5
15083 echo "${ECHO_T}$CXX" >&6; }
15085 { echo "$as_me:$LINENO: result: no" >&5
15086 echo "${ECHO_T}no" >&6; }
15090 test -n "$CXX" && break
15093 if test -z "$CXX"; then
15095 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15097 # Extract the first word of "$ac_prog", so it can be a program name with args.
15098 set dummy $ac_prog; ac_word=$2
15099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15101 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15102 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 if test -n "$ac_ct_CXX"; then
15105 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15108 for as_dir in $PATH
15111 test -z "$as_dir" && as_dir=.
15112 for ac_exec_ext in '' $ac_executable_extensions; do
15113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15114 ac_cv_prog_ac_ct_CXX="$ac_prog"
15115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15124 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15125 if test -n "$ac_ct_CXX"; then
15126 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15127 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15129 { echo "$as_me:$LINENO: result: no" >&5
15130 echo "${ECHO_T}no" >&6; }
15134 test -n "$ac_ct_CXX" && break
15137 if test "x$ac_ct_CXX" = x; then
15140 case $cross_compiling:$ac_tool_warned in
15142 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15143 whose name does not start with the host triplet. If you think this
15144 configuration is useful to you, please write to autoconf@gnu.org." >&5
15145 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15146 whose name does not start with the host triplet. If you think this
15147 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15148 ac_tool_warned=yes ;;
15156 # Provide some information about the compiler.
15157 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15158 ac_compiler=`set X $ac_compile; echo $2`
15159 { (ac_try="$ac_compiler --version >&5"
15160 case "(($ac_try" in
15161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15162 *) ac_try_echo=$ac_try;;
15164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15165 (eval "$ac_compiler --version >&5") 2>&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); }
15169 { (ac_try="$ac_compiler -v >&5"
15170 case "(($ac_try" in
15171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15172 *) ac_try_echo=$ac_try;;
15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_compiler -v >&5") 2>&5
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); }
15179 { (ac_try="$ac_compiler -V >&5"
15180 case "(($ac_try" in
15181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15182 *) ac_try_echo=$ac_try;;
15184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15185 (eval "$ac_compiler -V >&5") 2>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); }
15190 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15191 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15192 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 cat >conftest.$ac_ext <<_ACEOF
15198 cat confdefs.h >>conftest.$ac_ext
15199 cat >>conftest.$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15213 rm -f conftest.$ac_objext
15214 if { (ac_try="$ac_compile"
15215 case "(($ac_try" in
15216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15217 *) ac_try_echo=$ac_try;;
15219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15220 (eval "$ac_compile") 2>conftest.er1
15222 grep -v '^ *+' conftest.er1 >conftest.err
15224 cat conftest.err >&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); } && {
15227 test -z "$ac_cxx_werror_flag" ||
15228 test ! -s conftest.err
15229 } && test -s conftest.$ac_objext; then
15230 ac_compiler_gnu=yes
15232 echo "$as_me: failed program was:" >&5
15233 sed 's/^/| /' conftest.$ac_ext >&5
15238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15239 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15242 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15243 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15244 GXX=`test $ac_compiler_gnu = yes && echo yes`
15245 ac_test_CXXFLAGS=${CXXFLAGS+set}
15246 ac_save_CXXFLAGS=$CXXFLAGS
15247 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15248 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15249 if test "${ac_cv_prog_cxx_g+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15253 ac_cxx_werror_flag=yes
15254 ac_cv_prog_cxx_g=no
15256 cat >conftest.$ac_ext <<_ACEOF
15259 cat confdefs.h >>conftest.$ac_ext
15260 cat >>conftest.$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15271 rm -f conftest.$ac_objext
15272 if { (ac_try="$ac_compile"
15273 case "(($ac_try" in
15274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15275 *) ac_try_echo=$ac_try;;
15277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15278 (eval "$ac_compile") 2>conftest.er1
15280 grep -v '^ *+' conftest.er1 >conftest.err
15282 cat conftest.err >&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } && {
15285 test -z "$ac_cxx_werror_flag" ||
15286 test ! -s conftest.err
15287 } && test -s conftest.$ac_objext; then
15288 ac_cv_prog_cxx_g=yes
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.$ac_ext >&5
15294 cat >conftest.$ac_ext <<_ACEOF
15297 cat confdefs.h >>conftest.$ac_ext
15298 cat >>conftest.$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15309 rm -f conftest.$ac_objext
15310 if { (ac_try="$ac_compile"
15311 case "(($ac_try" in
15312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15313 *) ac_try_echo=$ac_try;;
15315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15316 (eval "$ac_compile") 2>conftest.er1
15318 grep -v '^ *+' conftest.er1 >conftest.err
15320 cat conftest.err >&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); } && {
15323 test -z "$ac_cxx_werror_flag" ||
15324 test ! -s conftest.err
15325 } && test -s conftest.$ac_objext; then
15328 echo "$as_me: failed program was:" >&5
15329 sed 's/^/| /' conftest.$ac_ext >&5
15331 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15333 cat >conftest.$ac_ext <<_ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15357 grep -v '^ *+' conftest.er1 >conftest.err
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_cxx_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.$ac_objext; then
15365 ac_cv_prog_cxx_g=yes
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15380 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15382 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15383 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15384 if test "$ac_test_CXXFLAGS" = set; then
15385 CXXFLAGS=$ac_save_CXXFLAGS
15386 elif test $ac_cv_prog_cxx_g = yes; then
15387 if test "$GXX" = yes; then
15393 if test "$GXX" = yes; then
15400 ac_cpp='$CPP $CPPFLAGS'
15401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15408 ac_cpp='$CXXCPP $CPPFLAGS'
15409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15413 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15414 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15415 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 cat >conftest.$ac_ext <<_ACEOF
15421 cat confdefs.h >>conftest.$ac_ext
15422 cat >>conftest.$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15429 #ifndef __INTEL_COMPILER
15437 rm -f conftest.$ac_objext
15438 if { (ac_try="$ac_compile"
15439 case "(($ac_try" in
15440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15441 *) ac_try_echo=$ac_try;;
15443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15444 (eval "$ac_compile") 2>conftest.er1
15446 grep -v '^ *+' conftest.er1 >conftest.err
15448 cat conftest.err >&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); } && {
15451 test -z "$ac_cxx_werror_flag" ||
15452 test ! -s conftest.err
15453 } && test -s conftest.$ac_objext; then
15454 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15456 echo "$as_me: failed program was:" >&5
15457 sed 's/^/| /' conftest.$ac_ext >&5
15459 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15467 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15468 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15470 ac_cpp='$CPP $CPPFLAGS'
15471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15475 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15482 if test "x$GCXX" != "xyes"; then
15483 if test "xCXX" = "xC"; then
15484 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15485 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15486 if test "${bakefile_cv_c_exto+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 cat >conftest.$ac_ext <<_ACEOF
15492 cat confdefs.h >>conftest.$ac_ext
15493 cat >>conftest.$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15504 rm -f conftest.$ac_objext conftest.$ac_ext.o
15505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15506 (eval $ac_compile) 2>&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; then
15510 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15512 conftest.$ac_ext.o)
15513 bakefile_cv_c_exto="-ext o"
15520 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15521 See \`config.log' for more details." >&5
15522 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15523 See \`config.log' for more details." >&2;}
15524 { (exit 1); exit 1; }; }
15528 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15531 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15532 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15533 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15534 if test "c" = "c"; then
15535 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15537 if test "c" = "cxx"; then
15538 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15542 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15543 unset ac_cv_prog_cc_g
15544 ac_test_CFLAGS=${CFLAGS+set}
15545 ac_save_CFLAGS=$CFLAGS
15546 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15547 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15548 if test "${ac_cv_prog_cc_g+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15551 ac_save_c_werror_flag=$ac_c_werror_flag
15552 ac_c_werror_flag=yes
15555 cat >conftest.$ac_ext <<_ACEOF
15558 cat confdefs.h >>conftest.$ac_ext
15559 cat >>conftest.$ac_ext <<_ACEOF
15560 /* end confdefs.h. */
15570 rm -f conftest.$ac_objext
15571 if { (ac_try="$ac_compile"
15572 case "(($ac_try" in
15573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15574 *) ac_try_echo=$ac_try;;
15576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15577 (eval "$ac_compile") 2>conftest.er1
15579 grep -v '^ *+' conftest.er1 >conftest.err
15581 cat conftest.err >&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } && {
15584 test -z "$ac_c_werror_flag" ||
15585 test ! -s conftest.err
15586 } && test -s conftest.$ac_objext; then
15587 ac_cv_prog_cc_g=yes
15589 echo "$as_me: failed program was:" >&5
15590 sed 's/^/| /' conftest.$ac_ext >&5
15593 cat >conftest.$ac_ext <<_ACEOF
15596 cat confdefs.h >>conftest.$ac_ext
15597 cat >>conftest.$ac_ext <<_ACEOF
15598 /* end confdefs.h. */
15608 rm -f conftest.$ac_objext
15609 if { (ac_try="$ac_compile"
15610 case "(($ac_try" in
15611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15612 *) ac_try_echo=$ac_try;;
15614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15615 (eval "$ac_compile") 2>conftest.er1
15617 grep -v '^ *+' conftest.er1 >conftest.err
15619 cat conftest.err >&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); } && {
15622 test -z "$ac_c_werror_flag" ||
15623 test ! -s conftest.err
15624 } && test -s conftest.$ac_objext; then
15627 echo "$as_me: failed program was:" >&5
15628 sed 's/^/| /' conftest.$ac_ext >&5
15630 ac_c_werror_flag=$ac_save_c_werror_flag
15632 cat >conftest.$ac_ext <<_ACEOF
15635 cat confdefs.h >>conftest.$ac_ext
15636 cat >>conftest.$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15647 rm -f conftest.$ac_objext
15648 if { (ac_try="$ac_compile"
15649 case "(($ac_try" in
15650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_compile") 2>conftest.er1
15656 grep -v '^ *+' conftest.er1 >conftest.err
15658 cat conftest.err >&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } && {
15661 test -z "$ac_c_werror_flag" ||
15662 test ! -s conftest.err
15663 } && test -s conftest.$ac_objext; then
15664 ac_cv_prog_cc_g=yes
15666 echo "$as_me: failed program was:" >&5
15667 sed 's/^/| /' conftest.$ac_ext >&5
15672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15679 ac_c_werror_flag=$ac_save_c_werror_flag
15681 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15682 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15683 if test "$ac_test_CFLAGS" = set; then
15684 CFLAGS=$ac_save_CFLAGS
15685 elif test $ac_cv_prog_cc_g = yes; then
15686 if test "$GCC" = yes; then
15692 if test "$GCC" = yes; then
15704 ac_cpp='$CXXCPP $CPPFLAGS'
15705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15709 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15710 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15711 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15712 echo $ECHO_N "(cached) $ECHO_C" >&6
15714 cat >conftest.$ac_ext <<_ACEOF
15717 cat confdefs.h >>conftest.$ac_ext
15718 cat >>conftest.$ac_ext <<_ACEOF
15719 /* end confdefs.h. */
15732 rm -f conftest.$ac_objext
15733 if { (ac_try="$ac_compile"
15734 case "(($ac_try" in
15735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15736 *) ac_try_echo=$ac_try;;
15738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15739 (eval "$ac_compile") 2>conftest.er1
15741 grep -v '^ *+' conftest.er1 >conftest.err
15743 cat conftest.err >&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); } && {
15746 test -z "$ac_cxx_werror_flag" ||
15747 test ! -s conftest.err
15748 } && test -s conftest.$ac_objext; then
15749 bakefile_compiler_xlc=yes
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15754 bakefile_compiler_xlc=no
15757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15758 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15761 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15762 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15764 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15766 ac_cpp='$CPP $CPPFLAGS'
15767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15776 ac_cpp='$CXXCPP $CPPFLAGS'
15777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15781 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15782 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15783 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15784 echo $ECHO_N "(cached) $ECHO_C" >&6
15786 cat >conftest.$ac_ext <<_ACEOF
15789 cat confdefs.h >>conftest.$ac_ext
15790 cat >>conftest.$ac_ext <<_ACEOF
15791 /* end confdefs.h. */
15804 rm -f conftest.$ac_objext
15805 if { (ac_try="$ac_compile"
15806 case "(($ac_try" in
15807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15808 *) ac_try_echo=$ac_try;;
15810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15811 (eval "$ac_compile") 2>conftest.er1
15813 grep -v '^ *+' conftest.er1 >conftest.err
15815 cat conftest.err >&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } && {
15818 test -z "$ac_cxx_werror_flag" ||
15819 test ! -s conftest.err
15820 } && test -s conftest.$ac_objext; then
15821 bakefile_compiler_mwerks=yes
15823 echo "$as_me: failed program was:" >&5
15824 sed 's/^/| /' conftest.$ac_ext >&5
15826 bakefile_compiler_mwerks=no
15829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15830 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15833 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15834 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15836 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15838 ac_cpp='$CPP $CPPFLAGS'
15839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15845 ac_cpp='$CXXCPP $CPPFLAGS'
15846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15850 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15851 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15852 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15853 echo $ECHO_N "(cached) $ECHO_C" >&6
15855 cat >conftest.$ac_ext <<_ACEOF
15858 cat confdefs.h >>conftest.$ac_ext
15859 cat >>conftest.$ac_ext <<_ACEOF
15860 /* end confdefs.h. */
15873 rm -f conftest.$ac_objext
15874 if { (ac_try="$ac_compile"
15875 case "(($ac_try" in
15876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15877 *) ac_try_echo=$ac_try;;
15879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15880 (eval "$ac_compile") 2>conftest.er1
15882 grep -v '^ *+' conftest.er1 >conftest.err
15884 cat conftest.err >&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } && {
15887 test -z "$ac_cxx_werror_flag" ||
15888 test ! -s conftest.err
15889 } && test -s conftest.$ac_objext; then
15890 bakefile_compiler_xlc=yes
15892 echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.$ac_ext >&5
15895 bakefile_compiler_xlc=no
15898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15899 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15902 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15903 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15905 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15907 ac_cpp='$CPP $CPPFLAGS'
15908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15919 ac_cpp='$CXXCPP $CPPFLAGS'
15920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15924 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15925 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15926 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 cat >conftest.$ac_ext <<_ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15940 #ifndef _SGI_COMPILER_VERSION
15948 rm -f conftest.$ac_objext
15949 if { (ac_try="$ac_compile"
15950 case "(($ac_try" in
15951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15952 *) ac_try_echo=$ac_try;;
15954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15955 (eval "$ac_compile") 2>conftest.er1
15957 grep -v '^ *+' conftest.er1 >conftest.err
15959 cat conftest.err >&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } && {
15962 test -z "$ac_cxx_werror_flag" ||
15963 test ! -s conftest.err
15964 } && test -s conftest.$ac_objext; then
15965 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15967 echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.$ac_ext >&5
15970 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15978 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15979 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15981 ac_cpp='$CPP $CPPFLAGS'
15982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15986 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15999 ac_cpp='$CXXCPP $CPPFLAGS'
16000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16004 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16005 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16006 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16009 cat >conftest.$ac_ext <<_ACEOF
16012 cat confdefs.h >>conftest.$ac_ext
16013 cat >>conftest.$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16028 rm -f conftest.$ac_objext
16029 if { (ac_try="$ac_compile"
16030 case "(($ac_try" in
16031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_compile") 2>conftest.er1
16037 grep -v '^ *+' conftest.er1 >conftest.err
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } && {
16042 test -z "$ac_cxx_werror_flag" ||
16043 test ! -s conftest.err
16044 } && test -s conftest.$ac_objext; then
16045 bakefile_cv_cxx_compiler___HP_aCC=yes
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16050 bakefile_cv_cxx_compiler___HP_aCC=no
16054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16058 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16059 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16066 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16079 ac_cpp='$CXXCPP $CPPFLAGS'
16080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16084 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16085 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16086 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16089 cat >conftest.$ac_ext <<_ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16108 rm -f conftest.$ac_objext
16109 if { (ac_try="$ac_compile"
16110 case "(($ac_try" in
16111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16112 *) ac_try_echo=$ac_try;;
16114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16115 (eval "$ac_compile") 2>conftest.er1
16117 grep -v '^ *+' conftest.er1 >conftest.err
16119 cat conftest.err >&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } && {
16122 test -z "$ac_cxx_werror_flag" ||
16123 test ! -s conftest.err
16124 } && test -s conftest.$ac_objext; then
16125 bakefile_cv_cxx_compiler___DECCXX=yes
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.$ac_ext >&5
16130 bakefile_cv_cxx_compiler___DECCXX=no
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16138 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16141 ac_cpp='$CPP $CPPFLAGS'
16142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16146 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16159 ac_cpp='$CXXCPP $CPPFLAGS'
16160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16164 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16165 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16166 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16169 cat >conftest.$ac_ext <<_ACEOF
16172 cat confdefs.h >>conftest.$ac_ext
16173 cat >>conftest.$ac_ext <<_ACEOF
16174 /* end confdefs.h. */
16180 #ifndef __SUNPRO_CC
16188 rm -f conftest.$ac_objext
16189 if { (ac_try="$ac_compile"
16190 case "(($ac_try" in
16191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_compile") 2>conftest.er1
16197 grep -v '^ *+' conftest.er1 >conftest.err
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } && {
16202 test -z "$ac_cxx_werror_flag" ||
16203 test ! -s conftest.err
16204 } && test -s conftest.$ac_objext; then
16205 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16210 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16218 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16219 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16221 ac_cpp='$CPP $CPPFLAGS'
16222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16226 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16239 if test -n "$ac_tool_prefix"; then
16240 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16241 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16244 if test "${ac_cv_prog_RANLIB+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16247 if test -n "$RANLIB"; then
16248 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16251 for as_dir in $PATH
16254 test -z "$as_dir" && as_dir=.
16255 for ac_exec_ext in '' $ac_executable_extensions; do
16256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16257 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16267 RANLIB=$ac_cv_prog_RANLIB
16268 if test -n "$RANLIB"; then
16269 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16270 echo "${ECHO_T}$RANLIB" >&6; }
16272 { echo "$as_me:$LINENO: result: no" >&5
16273 echo "${ECHO_T}no" >&6; }
16278 if test -z "$ac_cv_prog_RANLIB"; then
16279 ac_ct_RANLIB=$RANLIB
16280 # Extract the first word of "ranlib", so it can be a program name with args.
16281 set dummy ranlib; ac_word=$2
16282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16284 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 if test -n "$ac_ct_RANLIB"; then
16288 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16291 for as_dir in $PATH
16294 test -z "$as_dir" && as_dir=.
16295 for ac_exec_ext in '' $ac_executable_extensions; do
16296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16297 ac_cv_prog_ac_ct_RANLIB="ranlib"
16298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16307 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16308 if test -n "$ac_ct_RANLIB"; then
16309 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16310 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16312 { echo "$as_me:$LINENO: result: no" >&5
16313 echo "${ECHO_T}no" >&6; }
16316 if test "x$ac_ct_RANLIB" = x; then
16319 case $cross_compiling:$ac_tool_warned in
16321 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16322 whose name does not start with the host triplet. If you think this
16323 configuration is useful to you, please write to autoconf@gnu.org." >&5
16324 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16325 whose name does not start with the host triplet. If you think this
16326 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16327 ac_tool_warned=yes ;;
16329 RANLIB=$ac_ct_RANLIB
16332 RANLIB="$ac_cv_prog_RANLIB"
16336 if test "x$SUNCXX" != xyes; then
16337 if test -n "$ac_tool_prefix"; then
16338 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16339 set dummy ${ac_tool_prefix}ar; ac_word=$2
16340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16342 if test "${ac_cv_prog_AR+set}" = set; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16345 if test -n "$AR"; then
16346 ac_cv_prog_AR="$AR" # Let the user override the test.
16348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16349 for as_dir in $PATH
16352 test -z "$as_dir" && as_dir=.
16353 for ac_exec_ext in '' $ac_executable_extensions; do
16354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16355 ac_cv_prog_AR="${ac_tool_prefix}ar"
16356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16366 if test -n "$AR"; then
16367 { echo "$as_me:$LINENO: result: $AR" >&5
16368 echo "${ECHO_T}$AR" >&6; }
16370 { echo "$as_me:$LINENO: result: no" >&5
16371 echo "${ECHO_T}no" >&6; }
16376 if test -z "$ac_cv_prog_AR"; then
16378 # Extract the first word of "ar", so it can be a program name with args.
16379 set dummy ar; ac_word=$2
16380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16382 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16385 if test -n "$ac_ct_AR"; then
16386 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16389 for as_dir in $PATH
16392 test -z "$as_dir" && as_dir=.
16393 for ac_exec_ext in '' $ac_executable_extensions; do
16394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16395 ac_cv_prog_ac_ct_AR="ar"
16396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16405 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16406 if test -n "$ac_ct_AR"; then
16407 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16408 echo "${ECHO_T}$ac_ct_AR" >&6; }
16410 { echo "$as_me:$LINENO: result: no" >&5
16411 echo "${ECHO_T}no" >&6; }
16414 if test "x$ac_ct_AR" = x; then
16417 case $cross_compiling:$ac_tool_warned in
16419 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16420 whose name does not start with the host triplet. If you think this
16421 configuration is useful to you, please write to autoconf@gnu.org." >&5
16422 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16423 whose name does not start with the host triplet. If you think this
16424 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16425 ac_tool_warned=yes ;;
16430 AR="$ac_cv_prog_AR"
16433 if test "x$AR" = "x" ; then
16434 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16435 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16436 { (exit 1); exit 1; }; }
16440 # Find a good install program. We prefer a C program (faster),
16441 # so one script is as good as another. But avoid the broken or
16442 # incompatible versions:
16443 # SysV /etc/install, /usr/sbin/install
16444 # SunOS /usr/etc/install
16445 # IRIX /sbin/install
16447 # AmigaOS /C/install, which installs bootblocks on floppy discs
16448 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16449 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16450 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16451 # OS/2's system install, which has a completely different semantic
16452 # ./install, which can be erroneously created by make from ./install.sh.
16453 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16454 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16455 if test -z "$INSTALL"; then
16456 if test "${ac_cv_path_install+set}" = set; then
16457 echo $ECHO_N "(cached) $ECHO_C" >&6
16459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16460 for as_dir in $PATH
16463 test -z "$as_dir" && as_dir=.
16464 # Account for people who put trailing slashes in PATH elements.
16466 ./ | .// | /cC/* | \
16467 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16468 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16471 # OSF1 and SCO ODT 3.0 have their own names for install.
16472 # Don't use installbsd from OSF since it installs stuff as root
16474 for ac_prog in ginstall scoinst install; do
16475 for ac_exec_ext in '' $ac_executable_extensions; do
16476 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16477 if test $ac_prog = install &&
16478 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16479 # AIX install. It has an incompatible calling convention.
16481 elif test $ac_prog = install &&
16482 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16483 # program-specific install script used by HP pwplus--don't use.
16486 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16499 if test "${ac_cv_path_install+set}" = set; then
16500 INSTALL=$ac_cv_path_install
16502 # As a last resort, use the slow shell script. Don't cache a
16503 # value for INSTALL within a source directory, because that will
16504 # break other packages using the cache if that directory is
16505 # removed, or if the value is a relative name.
16506 INSTALL=$ac_install_sh
16509 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16510 echo "${ECHO_T}$INSTALL" >&6; }
16512 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16513 # It thinks the first close brace ends the variable substitution.
16514 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16516 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16518 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16524 ?:* ) # Drive letter, considered as absolute.
16527 INSTALL=`pwd`/${INSTALL} ;;
16534 INSTALL_PROGRAM="cp -fp"
16535 INSTALL_DATA="cp -fp"
16541 if test -n "$ac_tool_prefix"; then
16542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16543 set dummy ${ac_tool_prefix}strip; ac_word=$2
16544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16546 if test "${ac_cv_prog_STRIP+set}" = set; then
16547 echo $ECHO_N "(cached) $ECHO_C" >&6
16549 if test -n "$STRIP"; then
16550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16553 for as_dir in $PATH
16556 test -z "$as_dir" && as_dir=.
16557 for ac_exec_ext in '' $ac_executable_extensions; do
16558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16569 STRIP=$ac_cv_prog_STRIP
16570 if test -n "$STRIP"; then
16571 { echo "$as_me:$LINENO: result: $STRIP" >&5
16572 echo "${ECHO_T}$STRIP" >&6; }
16574 { echo "$as_me:$LINENO: result: no" >&5
16575 echo "${ECHO_T}no" >&6; }
16580 if test -z "$ac_cv_prog_STRIP"; then
16582 # Extract the first word of "strip", so it can be a program name with args.
16583 set dummy strip; ac_word=$2
16584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16586 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 if test -n "$ac_ct_STRIP"; then
16590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16593 for as_dir in $PATH
16596 test -z "$as_dir" && as_dir=.
16597 for ac_exec_ext in '' $ac_executable_extensions; do
16598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16599 ac_cv_prog_ac_ct_STRIP="strip"
16600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16610 if test -n "$ac_ct_STRIP"; then
16611 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16612 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16614 { echo "$as_me:$LINENO: result: no" >&5
16615 echo "${ECHO_T}no" >&6; }
16618 if test "x$ac_ct_STRIP" = x; then
16621 case $cross_compiling:$ac_tool_warned in
16623 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16624 whose name does not start with the host triplet. If you think this
16625 configuration is useful to you, please write to autoconf@gnu.org." >&5
16626 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16627 whose name does not start with the host triplet. If you think this
16628 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16629 ac_tool_warned=yes ;;
16634 STRIP="$ac_cv_prog_STRIP"
16638 if test "$wxUSE_WINE" = "yes"; then
16639 if test -n "$ac_tool_prefix"; then
16640 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16641 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16642 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16644 if test "${ac_cv_prog_WINDRES+set}" = set; then
16645 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 if test -n "$WINDRES"; then
16648 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16651 for as_dir in $PATH
16654 test -z "$as_dir" && as_dir=.
16655 for ac_exec_ext in '' $ac_executable_extensions; do
16656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16657 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16667 WINDRES=$ac_cv_prog_WINDRES
16668 if test -n "$WINDRES"; then
16669 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16670 echo "${ECHO_T}$WINDRES" >&6; }
16672 { echo "$as_me:$LINENO: result: no" >&5
16673 echo "${ECHO_T}no" >&6; }
16678 if test -z "$ac_cv_prog_WINDRES"; then
16679 ac_ct_WINDRES=$WINDRES
16680 # Extract the first word of "wrc", so it can be a program name with args.
16681 set dummy wrc; ac_word=$2
16682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16684 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 if test -n "$ac_ct_WINDRES"; then
16688 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16691 for as_dir in $PATH
16694 test -z "$as_dir" && as_dir=.
16695 for ac_exec_ext in '' $ac_executable_extensions; do
16696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16697 ac_cv_prog_ac_ct_WINDRES="wrc"
16698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16707 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16708 if test -n "$ac_ct_WINDRES"; then
16709 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16710 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16712 { echo "$as_me:$LINENO: result: no" >&5
16713 echo "${ECHO_T}no" >&6; }
16716 if test "x$ac_ct_WINDRES" = x; then
16719 case $cross_compiling:$ac_tool_warned in
16721 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16722 whose name does not start with the host triplet. If you think this
16723 configuration is useful to you, please write to autoconf@gnu.org." >&5
16724 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16725 whose name does not start with the host triplet. If you think this
16726 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16727 ac_tool_warned=yes ;;
16729 WINDRES=$ac_ct_WINDRES
16732 WINDRES="$ac_cv_prog_WINDRES"
16738 *-*-cygwin* | *-*-mingw32* )
16739 if test -n "$ac_tool_prefix"; then
16740 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16741 set dummy ${ac_tool_prefix}windres; ac_word=$2
16742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16744 if test "${ac_cv_prog_WINDRES+set}" = set; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16747 if test -n "$WINDRES"; then
16748 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16751 for as_dir in $PATH
16754 test -z "$as_dir" && as_dir=.
16755 for ac_exec_ext in '' $ac_executable_extensions; do
16756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16757 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16767 WINDRES=$ac_cv_prog_WINDRES
16768 if test -n "$WINDRES"; then
16769 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16770 echo "${ECHO_T}$WINDRES" >&6; }
16772 { echo "$as_me:$LINENO: result: no" >&5
16773 echo "${ECHO_T}no" >&6; }
16778 if test -z "$ac_cv_prog_WINDRES"; then
16779 ac_ct_WINDRES=$WINDRES
16780 # Extract the first word of "windres", so it can be a program name with args.
16781 set dummy windres; ac_word=$2
16782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16784 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 if test -n "$ac_ct_WINDRES"; then
16788 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16791 for as_dir in $PATH
16794 test -z "$as_dir" && as_dir=.
16795 for ac_exec_ext in '' $ac_executable_extensions; do
16796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16797 ac_cv_prog_ac_ct_WINDRES="windres"
16798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16807 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16808 if test -n "$ac_ct_WINDRES"; then
16809 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16810 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16812 { echo "$as_me:$LINENO: result: no" >&5
16813 echo "${ECHO_T}no" >&6; }
16816 if test "x$ac_ct_WINDRES" = x; then
16819 case $cross_compiling:$ac_tool_warned in
16821 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16822 whose name does not start with the host triplet. If you think this
16823 configuration is useful to you, please write to autoconf@gnu.org." >&5
16824 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16825 whose name does not start with the host triplet. If you think this
16826 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16827 ac_tool_warned=yes ;;
16829 WINDRES=$ac_ct_WINDRES
16832 WINDRES="$ac_cv_prog_WINDRES"
16836 if test -n "$ac_tool_prefix"; then
16837 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16838 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16841 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16842 echo $ECHO_N "(cached) $ECHO_C" >&6
16844 if test -n "$DLLTOOL"; then
16845 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16848 for as_dir in $PATH
16851 test -z "$as_dir" && as_dir=.
16852 for ac_exec_ext in '' $ac_executable_extensions; do
16853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16854 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16864 DLLTOOL=$ac_cv_prog_DLLTOOL
16865 if test -n "$DLLTOOL"; then
16866 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16867 echo "${ECHO_T}$DLLTOOL" >&6; }
16869 { echo "$as_me:$LINENO: result: no" >&5
16870 echo "${ECHO_T}no" >&6; }
16875 if test -z "$ac_cv_prog_DLLTOOL"; then
16876 ac_ct_DLLTOOL=$DLLTOOL
16877 # Extract the first word of "dlltool", so it can be a program name with args.
16878 set dummy dlltool; ac_word=$2
16879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16881 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 if test -n "$ac_ct_DLLTOOL"; then
16885 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16888 for as_dir in $PATH
16891 test -z "$as_dir" && as_dir=.
16892 for ac_exec_ext in '' $ac_executable_extensions; do
16893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16894 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16904 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16905 if test -n "$ac_ct_DLLTOOL"; then
16906 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16907 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16909 { echo "$as_me:$LINENO: result: no" >&5
16910 echo "${ECHO_T}no" >&6; }
16913 if test "x$ac_ct_DLLTOOL" = x; then
16916 case $cross_compiling:$ac_tool_warned in
16918 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16919 whose name does not start with the host triplet. If you think this
16920 configuration is useful to you, please write to autoconf@gnu.org." >&5
16921 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16922 whose name does not start with the host triplet. If you think this
16923 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16924 ac_tool_warned=yes ;;
16926 DLLTOOL=$ac_ct_DLLTOOL
16929 DLLTOOL="$ac_cv_prog_DLLTOOL"
16936 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16937 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16938 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16942 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16943 $EGREP -s GNU > /dev/null); then
16944 wx_cv_prog_makeisgnu="yes"
16946 wx_cv_prog_makeisgnu="no"
16950 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16951 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16953 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16961 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16962 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16963 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16964 if test "${wx_cv_prog_makevpath+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16968 cat - << EOF > confMake
16974 if test ! -d sub ; then
16977 echo dummy > sub/file
16978 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16980 rm -f sub/file check final_file confMake
16982 if test "$RESULT" = 0; then
16983 wx_cv_prog_makevpath="yes"
16985 wx_cv_prog_makevpath="no"
16989 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16990 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16992 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16993 { { echo "$as_me:$LINENO: error:
16994 You need a make-utility that is able to use the variable
16996 If your version of make does not support VPATH correctly,
16997 please install GNU-make (possibly as gmake), and start
16998 configure with the following command:
16999 export MAKE=gmake; ./configure for sh-type shells
17000 setenv MAKE gmake; ./configure for csh-type shells
17001 Also please do remember to use gmake in this case every time
17002 you are trying to compile.
17004 echo "$as_me: error:
17005 You need a make-utility that is able to use the variable
17007 If your version of make does not support VPATH correctly,
17008 please install GNU-make (possibly as gmake), and start
17009 configure with the following command:
17010 export MAKE=gmake; ./configure for sh-type shells
17011 setenv MAKE gmake; ./configure for csh-type shells
17012 Also please do remember to use gmake in this case every time
17013 you are trying to compile.
17015 { (exit 1); exit 1; }; }
17017 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17018 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17020 if test "$LN_S" = "ln -s"; then
17021 { echo "$as_me:$LINENO: result: yes" >&5
17022 echo "${ECHO_T}yes" >&6; }
17024 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17025 echo "${ECHO_T}no, using $LN_S" >&6; }
17031 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17032 CXXFLAGS="-qunique $CXXFLAGS"
17036 powerpc-*-darwin* )
17037 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17038 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17039 cat >conftest.$ac_ext <<_ACEOF
17042 cat confdefs.h >>conftest.$ac_ext
17043 cat >>conftest.$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17049 #ifndef __POWERPC__
17050 choke me for lack of PowerPC
17057 rm -f conftest.$ac_objext
17058 if { (ac_try="$ac_compile"
17059 case "(($ac_try" in
17060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17061 *) ac_try_echo=$ac_try;;
17063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17064 (eval "$ac_compile") 2>conftest.er1
17066 grep -v '^ *+' conftest.er1 >conftest.err
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } && {
17071 test -z "$ac_c_werror_flag" ||
17072 test ! -s conftest.err
17073 } && test -s conftest.$ac_objext; then
17074 { echo "$as_me:$LINENO: result: yes" >&5
17075 echo "${ECHO_T}yes" >&6; }
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.$ac_ext >&5
17080 { echo "$as_me:$LINENO: result: no" >&5
17081 echo "${ECHO_T}no" >&6; }
17082 cat >>confdefs.h <<\_ACEOF
17083 #define __POWERPC__ 1
17089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17095 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17096 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17097 cat >conftest.$ac_ext <<_ACEOF
17100 cat confdefs.h >>conftest.$ac_ext
17101 cat >>conftest.$ac_ext <<_ACEOF
17102 /* end confdefs.h. */
17103 #include <CoreFoundation/CFBase.h>
17113 rm -f conftest.$ac_objext
17114 if { (ac_try="$ac_compile"
17115 case "(($ac_try" in
17116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17117 *) ac_try_echo=$ac_try;;
17119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17120 (eval "$ac_compile") 2>conftest.er1
17122 grep -v '^ *+' conftest.er1 >conftest.err
17124 cat conftest.err >&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } && {
17127 test -z "$ac_c_werror_flag" ||
17128 test ! -s conftest.err
17129 } && test -s conftest.$ac_objext; then
17130 { echo "$as_me:$LINENO: result: yes" >&5
17131 echo "${ECHO_T}yes" >&6; }
17133 echo "$as_me: failed program was:" >&5
17134 sed 's/^/| /' conftest.$ac_ext >&5
17136 { echo "$as_me:$LINENO: result: no" >&5
17137 echo "${ECHO_T}no" >&6; }
17138 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17139 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17140 cat >conftest.$ac_ext <<_ACEOF
17143 cat confdefs.h >>conftest.$ac_ext
17144 cat >>conftest.$ac_ext <<_ACEOF
17145 /* end confdefs.h. */
17146 #define __CF_USE_FRAMEWORK_INCLUDES__
17147 #include <CoreFoundation/CFBase.h>
17157 rm -f conftest.$ac_objext
17158 if { (ac_try="$ac_compile"
17159 case "(($ac_try" in
17160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17161 *) ac_try_echo=$ac_try;;
17163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17164 (eval "$ac_compile") 2>conftest.er1
17166 grep -v '^ *+' conftest.er1 >conftest.err
17168 cat conftest.err >&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); } && {
17171 test -z "$ac_c_werror_flag" ||
17172 test ! -s conftest.err
17173 } && test -s conftest.$ac_objext; then
17174 { echo "$as_me:$LINENO: result: yes" >&5
17175 echo "${ECHO_T}yes" >&6; }
17176 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17178 echo "$as_me: failed program was:" >&5
17179 sed 's/^/| /' conftest.$ac_ext >&5
17181 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17182 See \`config.log' for more details." >&5
17183 echo "$as_me: error: no. CoreFoundation not available.
17184 See \`config.log' for more details." >&2;}
17185 { (exit 1); exit 1; }; }
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199 doesnt_want_win32=0
17202 if test "$wxUSE_MSW" = 1 ; then
17205 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17206 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17207 if test "${wx_cv_nocygwin+set}" = set; then
17208 echo $ECHO_N "(cached) $ECHO_C" >&6
17211 cat >conftest.$ac_ext <<_ACEOF
17214 cat confdefs.h >>conftest.$ac_ext
17215 cat >>conftest.$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17230 rm -f conftest.$ac_objext
17231 if { (ac_try="$ac_compile"
17232 case "(($ac_try" in
17233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17234 *) ac_try_echo=$ac_try;;
17236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17237 (eval "$ac_compile") 2>conftest.er1
17239 grep -v '^ *+' conftest.er1 >conftest.err
17241 cat conftest.err >&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } && {
17244 test -z "$ac_c_werror_flag" ||
17245 test ! -s conftest.err
17246 } && test -s conftest.$ac_objext; then
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.$ac_ext >&5
17256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17260 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17261 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17263 if test "$wx_cv_nocygwin" = "yes"; then
17266 doesnt_want_win32=1
17269 if test "$wants_win32" = 1 ; then
17270 BAKEFILE_FORCE_PLATFORM=win32
17278 if test "$wxUSE_WINE" = "yes"; then
17280 LDFLAGS_GUI="-mwindows"
17283 if test "$wants_win32" = 1 ; then
17286 cat >>confdefs.h <<\_ACEOF
17287 #define __WIN32__ 1
17290 cat >>confdefs.h <<\_ACEOF
17291 #define __WIN95__ 1
17294 cat >>confdefs.h <<\_ACEOF
17295 #define __WINDOWS__ 1
17298 cat >>confdefs.h <<\_ACEOF
17299 #define __GNUWIN32__ 1
17302 cat >>confdefs.h <<\_ACEOF
17307 if test "$doesnt_want_win32" = 1 ; then
17312 if test "$USE_UNIX" = 1 ; then
17314 cat >>confdefs.h <<\_ACEOF
17321 *-pc-os2_emx | *-pc-os2-emx )
17322 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17323 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17324 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17325 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 ac_check_lib_save_LIBS=$LIBS
17329 LIBS="-lcExt $LIBS"
17330 cat >conftest.$ac_ext <<_ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17337 /* Override any GCC internal prototype to avoid an error.
17338 Use char because int might match the return type of a GCC
17339 builtin and then its argument prototype would still apply. */
17352 rm -f conftest.$ac_objext conftest$ac_exeext
17353 if { (ac_try="$ac_link"
17354 case "(($ac_try" in
17355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17356 *) ac_try_echo=$ac_try;;
17358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17359 (eval "$ac_link") 2>conftest.er1
17361 grep -v '^ *+' conftest.er1 >conftest.err
17363 cat conftest.err >&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } && {
17366 test -z "$ac_c_werror_flag" ||
17367 test ! -s conftest.err
17368 } && test -s conftest$ac_exeext &&
17369 $as_test_x conftest$ac_exeext; then
17370 ac_cv_lib_cExt_drand48=yes
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.$ac_ext >&5
17375 ac_cv_lib_cExt_drand48=no
17378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17379 conftest$ac_exeext conftest.$ac_ext
17380 LIBS=$ac_check_lib_save_LIBS
17382 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17383 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17384 if test $ac_cv_lib_cExt_drand48 = yes; then
17385 LIBS="$LIBS -lcExt"
17389 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17391 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17392 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17393 if test "${wx_cv_gccversion+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17397 if test "$cross_compiling" = yes; then
17398 wx_cv_gccversion="EMX2"
17401 cat >conftest.$ac_ext <<_ACEOF
17404 cat confdefs.h >>conftest.$ac_ext
17405 cat >>conftest.$ac_ext <<_ACEOF
17406 /* end confdefs.h. */
17412 FILE *f=fopen("conftestval", "w");
17417 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17419 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17429 rm -f conftest$ac_exeext
17430 if { (ac_try="$ac_link"
17431 case "(($ac_try" in
17432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17433 *) ac_try_echo=$ac_try;;
17435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17436 (eval "$ac_link") 2>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17440 { (case "(($ac_try" in
17441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17442 *) ac_try_echo=$ac_try;;
17444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17445 (eval "$ac_try") 2>&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); }; }; then
17449 wx_cv_gccversion=`cat conftestval`
17451 echo "$as_me: program exited with status $ac_status" >&5
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.$ac_ext >&5
17455 ( exit $ac_status )
17456 wx_cv_gccversion="EMX2"
17458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17464 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17465 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17466 if test "$wx_cv_gccversion" = "EMX2"; then
17467 LIBS="$LIBS -lstdcpp"
17468 LDFLAGS="$LDFLAGS -Zsysv-signals"
17470 if test "$wx_cv_gccversion" = "EMX3"; then
17471 LIBS="$LIBS -lstdcxx -lgcc"
17472 LDFLAGS="$LDFLAGS -Zsysv-signals"
17474 LIBS="$LIBS -lstdc++"
17477 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17478 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17479 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17486 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17487 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17488 if test "${ac_cv_string_strcasecmp+set}" = set; then
17489 echo $ECHO_N "(cached) $ECHO_C" >&6
17492 cat >conftest.$ac_ext <<_ACEOF
17495 cat confdefs.h >>conftest.$ac_ext
17496 cat >>conftest.$ac_ext <<_ACEOF
17497 /* end confdefs.h. */
17499 #include <string.h>
17505 strcasecmp("foo", "bar");
17511 rm -f conftest.$ac_objext conftest$ac_exeext
17512 if { (ac_try="$ac_link"
17513 case "(($ac_try" in
17514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17515 *) ac_try_echo=$ac_try;;
17517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17518 (eval "$ac_link") 2>conftest.er1
17520 grep -v '^ *+' conftest.er1 >conftest.err
17522 cat conftest.err >&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); } && {
17525 test -z "$ac_c_werror_flag" ||
17526 test ! -s conftest.err
17527 } && test -s conftest$ac_exeext &&
17528 $as_test_x conftest$ac_exeext; then
17529 ac_cv_string_strcasecmp=yes
17531 echo "$as_me: failed program was:" >&5
17532 sed 's/^/| /' conftest.$ac_ext >&5
17534 ac_cv_string_strcasecmp=no
17538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17539 conftest$ac_exeext conftest.$ac_ext
17542 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17543 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17545 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17546 cat >>confdefs.h <<\_ACEOF
17547 #define HAVE_STRCASECMP_IN_STRING_H 1
17551 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17552 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17553 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 cat >conftest.$ac_ext <<_ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17564 #include <strings.h>
17570 strcasecmp("foo", "bar");
17576 rm -f conftest.$ac_objext conftest$ac_exeext
17577 if { (ac_try="$ac_link"
17578 case "(($ac_try" in
17579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_link") 2>conftest.er1
17585 grep -v '^ *+' conftest.er1 >conftest.err
17587 cat conftest.err >&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } && {
17590 test -z "$ac_c_werror_flag" ||
17591 test ! -s conftest.err
17592 } && test -s conftest$ac_exeext &&
17593 $as_test_x conftest$ac_exeext; then
17594 ac_cv_strings_strcasecmp=yes
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17599 ac_cv_strings_strcasecmp=no
17603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17604 conftest$ac_exeext conftest.$ac_ext
17607 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17608 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17610 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17611 cat >>confdefs.h <<\_ACEOF
17612 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17616 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17617 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17618 { (exit 1); exit 1; }; }
17626 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17627 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17628 if test "${ac_cv_header_stdc+set}" = set; then
17629 echo $ECHO_N "(cached) $ECHO_C" >&6
17631 cat >conftest.$ac_ext <<_ACEOF
17634 cat confdefs.h >>conftest.$ac_ext
17635 cat >>conftest.$ac_ext <<_ACEOF
17636 /* end confdefs.h. */
17637 #include <stdlib.h>
17638 #include <stdarg.h>
17639 #include <string.h>
17650 rm -f conftest.$ac_objext
17651 if { (ac_try="$ac_compile"
17652 case "(($ac_try" in
17653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17654 *) ac_try_echo=$ac_try;;
17656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17657 (eval "$ac_compile") 2>conftest.er1
17659 grep -v '^ *+' conftest.er1 >conftest.err
17661 cat conftest.err >&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); } && {
17664 test -z "$ac_c_werror_flag" ||
17665 test ! -s conftest.err
17666 } && test -s conftest.$ac_objext; then
17667 ac_cv_header_stdc=yes
17669 echo "$as_me: failed program was:" >&5
17670 sed 's/^/| /' conftest.$ac_ext >&5
17672 ac_cv_header_stdc=no
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17677 if test $ac_cv_header_stdc = yes; then
17678 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17679 cat >conftest.$ac_ext <<_ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 #include <string.h>
17688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17689 $EGREP "memchr" >/dev/null 2>&1; then
17692 ac_cv_header_stdc=no
17698 if test $ac_cv_header_stdc = yes; then
17699 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17700 cat >conftest.$ac_ext <<_ACEOF
17703 cat confdefs.h >>conftest.$ac_ext
17704 cat >>conftest.$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 #include <stdlib.h>
17709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17710 $EGREP "free" >/dev/null 2>&1; then
17713 ac_cv_header_stdc=no
17719 if test $ac_cv_header_stdc = yes; then
17720 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17721 if test "$cross_compiling" = yes; then
17724 cat >conftest.$ac_ext <<_ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17731 #include <stdlib.h>
17732 #if ((' ' & 0x0FF) == 0x020)
17733 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17734 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17736 # define ISLOWER(c) \
17737 (('a' <= (c) && (c) <= 'i') \
17738 || ('j' <= (c) && (c) <= 'r') \
17739 || ('s' <= (c) && (c) <= 'z'))
17740 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17743 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17748 for (i = 0; i < 256; i++)
17749 if (XOR (islower (i), ISLOWER (i))
17750 || toupper (i) != TOUPPER (i))
17755 rm -f conftest$ac_exeext
17756 if { (ac_try="$ac_link"
17757 case "(($ac_try" in
17758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17759 *) ac_try_echo=$ac_try;;
17761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 (eval "$ac_link") 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17766 { (case "(($ac_try" in
17767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17768 *) ac_try_echo=$ac_try;;
17770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17771 (eval "$ac_try") 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; }; then
17777 echo "$as_me: program exited with status $ac_status" >&5
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.$ac_ext >&5
17781 ( exit $ac_status )
17782 ac_cv_header_stdc=no
17784 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17790 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17791 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17792 if test $ac_cv_header_stdc = yes; then
17794 cat >>confdefs.h <<\_ACEOF
17795 #define STDC_HEADERS 1
17800 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17810 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17811 inttypes.h stdint.h unistd.h
17813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17814 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17817 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 cat >conftest.$ac_ext <<_ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 $ac_includes_default
17827 #include <$ac_header>
17829 rm -f conftest.$ac_objext
17830 if { (ac_try="$ac_compile"
17831 case "(($ac_try" in
17832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17833 *) ac_try_echo=$ac_try;;
17835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17836 (eval "$ac_compile") 2>conftest.er1
17838 grep -v '^ *+' conftest.er1 >conftest.err
17840 cat conftest.err >&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } && {
17843 test -z "$ac_c_werror_flag" ||
17844 test ! -s conftest.err
17845 } && test -s conftest.$ac_objext; then
17846 eval "$as_ac_Header=yes"
17848 echo "$as_me: failed program was:" >&5
17849 sed 's/^/| /' conftest.$ac_ext >&5
17851 eval "$as_ac_Header=no"
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17856 ac_res=`eval echo '${'$as_ac_Header'}'`
17857 { echo "$as_me:$LINENO: result: $ac_res" >&5
17858 echo "${ECHO_T}$ac_res" >&6; }
17859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17860 cat >>confdefs.h <<_ACEOF
17861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17875 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17883 cat >conftest.$ac_ext <<_ACEOF
17886 cat confdefs.h >>conftest.$ac_ext
17887 cat >>conftest.$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889 $ac_includes_default
17891 #include <$ac_header>
17893 rm -f conftest.$ac_objext
17894 if { (ac_try="$ac_compile"
17895 case "(($ac_try" in
17896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17897 *) ac_try_echo=$ac_try;;
17899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17900 (eval "$ac_compile") 2>conftest.er1
17902 grep -v '^ *+' conftest.er1 >conftest.err
17904 cat conftest.err >&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } && {
17907 test -z "$ac_c_werror_flag" ||
17908 test ! -s conftest.err
17909 } && test -s conftest.$ac_objext; then
17910 eval "$as_ac_Header=yes"
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.$ac_ext >&5
17915 eval "$as_ac_Header=no"
17918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17920 ac_res=`eval echo '${'$as_ac_Header'}'`
17921 { echo "$as_me:$LINENO: result: $ac_res" >&5
17922 echo "${ECHO_T}$ac_res" >&6; }
17923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17924 cat >>confdefs.h <<_ACEOF
17925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17933 if test "$ac_cv_header_wchar_h" != "yes"; then
17934 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
17935 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
17936 if test "${ac_cv_header_wcstr_h+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17939 cat >conftest.$ac_ext <<_ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17945 $ac_includes_default
17949 rm -f conftest.$ac_objext
17950 if { (ac_try="$ac_compile"
17951 case "(($ac_try" in
17952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17953 *) ac_try_echo=$ac_try;;
17955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17956 (eval "$ac_compile") 2>conftest.er1
17958 grep -v '^ *+' conftest.er1 >conftest.err
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } && {
17963 test -z "$ac_c_werror_flag" ||
17964 test ! -s conftest.err
17965 } && test -s conftest.$ac_objext; then
17966 ac_cv_header_wcstr_h=yes
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17971 ac_cv_header_wcstr_h=no
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17976 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17977 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17983 *-pc-os2_emx | *-pc-os2-emx )
17984 if test $ac_cv_header_langinfo_h = "yes" \
17985 -a \( "$wx_cv_gccversion" = "EMX2" \
17986 -o "$wx_cv_gccversion" = "EMX3" \
17987 -o "$wx_cv_gccversion" = "Innotek5" \); then
17988 LIBS="$LIBS -lintl"
17993 if test "$USE_UNIX" = 1 ; then
17994 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
17995 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
17996 if test "${ac_cv_header_sys_select_h+set}" = set; then
17997 echo $ECHO_N "(cached) $ECHO_C" >&6
17999 cat >conftest.$ac_ext <<_ACEOF
18002 cat confdefs.h >>conftest.$ac_ext
18003 cat >>conftest.$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005 $ac_includes_default
18007 #include <sys/select.h>
18009 rm -f conftest.$ac_objext
18010 if { (ac_try="$ac_compile"
18011 case "(($ac_try" in
18012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18013 *) ac_try_echo=$ac_try;;
18015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 (eval "$ac_compile") 2>conftest.er1
18018 grep -v '^ *+' conftest.er1 >conftest.err
18020 cat conftest.err >&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } && {
18023 test -z "$ac_c_werror_flag" ||
18024 test ! -s conftest.err
18025 } && test -s conftest.$ac_objext; then
18026 ac_cv_header_sys_select_h=yes
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.$ac_ext >&5
18031 ac_cv_header_sys_select_h=no
18034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18036 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18037 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18043 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18044 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18045 if test "${ac_cv_c_const+set}" = set; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 cat >conftest.$ac_ext <<_ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18058 /* FIXME: Include the comments suggested by Paul. */
18059 #ifndef __cplusplus
18060 /* Ultrix mips cc rejects this. */
18061 typedef int charset[2];
18063 /* SunOS 4.1.1 cc rejects this. */
18064 char const *const *pcpcc;
18066 /* NEC SVR4.0.2 mips cc rejects this. */
18067 struct point {int x, y;};
18068 static struct point const zero = {0,0};
18069 /* AIX XL C 1.02.0.0 rejects this.
18070 It does not let you subtract one const X* pointer from another in
18071 an arm of an if-expression whose if-part is not a constant
18073 const char *g = "string";
18074 pcpcc = &g + (g ? g-g : 0);
18075 /* HPUX 7.0 cc rejects these. */
18077 ppc = (char**) pcpcc;
18078 pcpcc = (char const *const *) ppc;
18079 { /* SCO 3.2v4 cc rejects this. */
18081 char const *s = 0 ? (char *) 0 : (char const *) 0;
18086 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18087 int x[] = {25, 17};
18088 const int *foo = &x[0];
18091 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18092 typedef const int *iptr;
18096 { /* AIX XL C 1.02.0.0 rejects this saying
18097 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18098 struct s { int j; const int *ap[3]; };
18099 struct s *b; b->j = 5;
18101 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18102 const int foo = 10;
18103 if (!foo) return 0;
18105 return !cs[0] && !zero.x;
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18121 grep -v '^ *+' conftest.er1 >conftest.err
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_c_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.$ac_objext; then
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18139 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18140 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18141 if test $ac_cv_c_const = no; then
18143 cat >>confdefs.h <<\_ACEOF
18149 { echo "$as_me:$LINENO: checking for inline" >&5
18150 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18151 if test "${ac_cv_c_inline+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18155 for ac_kw in inline __inline__ __inline; do
18156 cat >conftest.$ac_ext <<_ACEOF
18159 cat confdefs.h >>conftest.$ac_ext
18160 cat >>conftest.$ac_ext <<_ACEOF
18161 /* end confdefs.h. */
18162 #ifndef __cplusplus
18164 static $ac_kw foo_t static_foo () {return 0; }
18165 $ac_kw foo_t foo () {return 0; }
18169 rm -f conftest.$ac_objext
18170 if { (ac_try="$ac_compile"
18171 case "(($ac_try" in
18172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18173 *) ac_try_echo=$ac_try;;
18175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18176 (eval "$ac_compile") 2>conftest.er1
18178 grep -v '^ *+' conftest.er1 >conftest.err
18180 cat conftest.err >&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } && {
18183 test -z "$ac_c_werror_flag" ||
18184 test ! -s conftest.err
18185 } && test -s conftest.$ac_objext; then
18186 ac_cv_c_inline=$ac_kw
18188 echo "$as_me: failed program was:" >&5
18189 sed 's/^/| /' conftest.$ac_ext >&5
18194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18195 test "$ac_cv_c_inline" != no && break
18199 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18200 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18203 case $ac_cv_c_inline in
18206 case $ac_cv_c_inline in
18208 *) ac_val=$ac_cv_c_inline;;
18210 cat >>confdefs.h <<_ACEOF
18211 #ifndef __cplusplus
18212 #define inline $ac_val
18219 { echo "$as_me:$LINENO: checking for short" >&5
18220 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18221 if test "${ac_cv_type_short+set}" = set; then
18222 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 cat >conftest.$ac_ext <<_ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 $ac_includes_default
18231 typedef short ac__type_new_;
18235 if ((ac__type_new_ *) 0)
18237 if (sizeof (ac__type_new_))
18243 rm -f conftest.$ac_objext
18244 if { (ac_try="$ac_compile"
18245 case "(($ac_try" in
18246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18247 *) ac_try_echo=$ac_try;;
18249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18250 (eval "$ac_compile") 2>conftest.er1
18252 grep -v '^ *+' conftest.er1 >conftest.err
18254 cat conftest.err >&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); } && {
18257 test -z "$ac_c_werror_flag" ||
18258 test ! -s conftest.err
18259 } && test -s conftest.$ac_objext; then
18260 ac_cv_type_short=yes
18262 echo "$as_me: failed program was:" >&5
18263 sed 's/^/| /' conftest.$ac_ext >&5
18265 ac_cv_type_short=no
18268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18270 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18271 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18273 # The cast to long int works around a bug in the HP C Compiler
18274 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18275 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18276 # This bug is HP SR number 8606223364.
18277 { echo "$as_me:$LINENO: checking size of short" >&5
18278 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18279 if test "${ac_cv_sizeof_short+set}" = set; then
18280 echo $ECHO_N "(cached) $ECHO_C" >&6
18282 if test "$cross_compiling" = yes; then
18283 # Depending upon the size, compute the lo and hi bounds.
18284 cat >conftest.$ac_ext <<_ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 $ac_includes_default
18291 typedef short ac__type_sizeof_;
18295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18302 rm -f conftest.$ac_objext
18303 if { (ac_try="$ac_compile"
18304 case "(($ac_try" in
18305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18306 *) ac_try_echo=$ac_try;;
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_compile") 2>conftest.er1
18311 grep -v '^ *+' conftest.er1 >conftest.err
18313 cat conftest.err >&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } && {
18316 test -z "$ac_c_werror_flag" ||
18317 test ! -s conftest.err
18318 } && test -s conftest.$ac_objext; then
18321 cat >conftest.$ac_ext <<_ACEOF
18324 cat confdefs.h >>conftest.$ac_ext
18325 cat >>conftest.$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327 $ac_includes_default
18328 typedef short ac__type_sizeof_;
18332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18339 rm -f conftest.$ac_objext
18340 if { (ac_try="$ac_compile"
18341 case "(($ac_try" in
18342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18343 *) ac_try_echo=$ac_try;;
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18346 (eval "$ac_compile") 2>conftest.er1
18348 grep -v '^ *+' conftest.er1 >conftest.err
18350 cat conftest.err >&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); } && {
18353 test -z "$ac_c_werror_flag" ||
18354 test ! -s conftest.err
18355 } && test -s conftest.$ac_objext; then
18356 ac_hi=$ac_mid; break
18358 echo "$as_me: failed program was:" >&5
18359 sed 's/^/| /' conftest.$ac_ext >&5
18361 ac_lo=`expr $ac_mid + 1`
18362 if test $ac_lo -le $ac_mid; then
18366 ac_mid=`expr 2 '*' $ac_mid + 1`
18369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18375 cat >conftest.$ac_ext <<_ACEOF
18378 cat confdefs.h >>conftest.$ac_ext
18379 cat >>conftest.$ac_ext <<_ACEOF
18380 /* end confdefs.h. */
18381 $ac_includes_default
18382 typedef short ac__type_sizeof_;
18386 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18393 rm -f conftest.$ac_objext
18394 if { (ac_try="$ac_compile"
18395 case "(($ac_try" in
18396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18397 *) ac_try_echo=$ac_try;;
18399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18400 (eval "$ac_compile") 2>conftest.er1
18402 grep -v '^ *+' conftest.er1 >conftest.err
18404 cat conftest.err >&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } && {
18407 test -z "$ac_c_werror_flag" ||
18408 test ! -s conftest.err
18409 } && test -s conftest.$ac_objext; then
18412 cat >conftest.$ac_ext <<_ACEOF
18415 cat confdefs.h >>conftest.$ac_ext
18416 cat >>conftest.$ac_ext <<_ACEOF
18417 /* end confdefs.h. */
18418 $ac_includes_default
18419 typedef short ac__type_sizeof_;
18423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18430 rm -f conftest.$ac_objext
18431 if { (ac_try="$ac_compile"
18432 case "(($ac_try" in
18433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18434 *) ac_try_echo=$ac_try;;
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_compile") 2>conftest.er1
18439 grep -v '^ *+' conftest.er1 >conftest.err
18441 cat conftest.err >&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && {
18444 test -z "$ac_c_werror_flag" ||
18445 test ! -s conftest.err
18446 } && test -s conftest.$ac_objext; then
18447 ac_lo=$ac_mid; break
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18452 ac_hi=`expr '(' $ac_mid ')' - 1`
18453 if test $ac_mid -le $ac_hi; then
18457 ac_mid=`expr 2 '*' $ac_mid`
18460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18473 # Binary search between lo and hi bounds.
18474 while test "x$ac_lo" != "x$ac_hi"; do
18475 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18476 cat >conftest.$ac_ext <<_ACEOF
18479 cat confdefs.h >>conftest.$ac_ext
18480 cat >>conftest.$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18482 $ac_includes_default
18483 typedef short ac__type_sizeof_;
18487 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18494 rm -f conftest.$ac_objext
18495 if { (ac_try="$ac_compile"
18496 case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_compile") 2>conftest.er1
18503 grep -v '^ *+' conftest.er1 >conftest.err
18505 cat conftest.err >&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } && {
18508 test -z "$ac_c_werror_flag" ||
18509 test ! -s conftest.err
18510 } && test -s conftest.$ac_objext; then
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.$ac_ext >&5
18516 ac_lo=`expr '(' $ac_mid ')' + 1`
18519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18522 ?*) ac_cv_sizeof_short=$ac_lo;;
18523 '') if test "$ac_cv_type_short" = yes; then
18524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18525 See \`config.log' for more details." >&5
18526 echo "$as_me: error: cannot compute sizeof (short)
18527 See \`config.log' for more details." >&2;}
18528 { (exit 77); exit 77; }; }
18530 ac_cv_sizeof_short=0
18534 cat >conftest.$ac_ext <<_ACEOF
18537 cat confdefs.h >>conftest.$ac_ext
18538 cat >>conftest.$ac_ext <<_ACEOF
18539 /* end confdefs.h. */
18540 $ac_includes_default
18541 typedef short ac__type_sizeof_;
18542 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18543 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18545 #include <stdlib.h>
18550 FILE *f = fopen ("conftest.val", "w");
18553 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18555 long int i = longval ();
18556 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18558 fprintf (f, "%ld\n", i);
18562 unsigned long int i = ulongval ();
18563 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18565 fprintf (f, "%lu\n", i);
18567 return ferror (f) || fclose (f) != 0;
18573 rm -f conftest$ac_exeext
18574 if { (ac_try="$ac_link"
18575 case "(($ac_try" in
18576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18577 *) ac_try_echo=$ac_try;;
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_link") 2>&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18584 { (case "(($ac_try" in
18585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18586 *) ac_try_echo=$ac_try;;
18588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18589 (eval "$ac_try") 2>&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; }; then
18593 ac_cv_sizeof_short=`cat conftest.val`
18595 echo "$as_me: program exited with status $ac_status" >&5
18596 echo "$as_me: failed program was:" >&5
18597 sed 's/^/| /' conftest.$ac_ext >&5
18599 ( exit $ac_status )
18600 if test "$ac_cv_type_short" = yes; then
18601 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18602 See \`config.log' for more details." >&5
18603 echo "$as_me: error: cannot compute sizeof (short)
18604 See \`config.log' for more details." >&2;}
18605 { (exit 77); exit 77; }; }
18607 ac_cv_sizeof_short=0
18610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18614 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18615 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18619 cat >>confdefs.h <<_ACEOF
18620 #define SIZEOF_SHORT $ac_cv_sizeof_short
18624 { echo "$as_me:$LINENO: checking for void *" >&5
18625 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18626 if test "${ac_cv_type_void_p+set}" = set; then
18627 echo $ECHO_N "(cached) $ECHO_C" >&6
18629 cat >conftest.$ac_ext <<_ACEOF
18632 cat confdefs.h >>conftest.$ac_ext
18633 cat >>conftest.$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18635 $ac_includes_default
18636 typedef void * ac__type_new_;
18640 if ((ac__type_new_ *) 0)
18642 if (sizeof (ac__type_new_))
18648 rm -f conftest.$ac_objext
18649 if { (ac_try="$ac_compile"
18650 case "(($ac_try" in
18651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18652 *) ac_try_echo=$ac_try;;
18654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18655 (eval "$ac_compile") 2>conftest.er1
18657 grep -v '^ *+' conftest.er1 >conftest.err
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } && {
18662 test -z "$ac_c_werror_flag" ||
18663 test ! -s conftest.err
18664 } && test -s conftest.$ac_objext; then
18665 ac_cv_type_void_p=yes
18667 echo "$as_me: failed program was:" >&5
18668 sed 's/^/| /' conftest.$ac_ext >&5
18670 ac_cv_type_void_p=no
18673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18675 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18676 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18678 # The cast to long int works around a bug in the HP C Compiler
18679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18680 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18681 # This bug is HP SR number 8606223364.
18682 { echo "$as_me:$LINENO: checking size of void *" >&5
18683 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18684 if test "${ac_cv_sizeof_void_p+set}" = set; then
18685 echo $ECHO_N "(cached) $ECHO_C" >&6
18687 if test "$cross_compiling" = yes; then
18688 # Depending upon the size, compute the lo and hi bounds.
18689 cat >conftest.$ac_ext <<_ACEOF
18692 cat confdefs.h >>conftest.$ac_ext
18693 cat >>conftest.$ac_ext <<_ACEOF
18694 /* end confdefs.h. */
18695 $ac_includes_default
18696 typedef void * ac__type_sizeof_;
18700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18707 rm -f conftest.$ac_objext
18708 if { (ac_try="$ac_compile"
18709 case "(($ac_try" in
18710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18711 *) ac_try_echo=$ac_try;;
18713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18714 (eval "$ac_compile") 2>conftest.er1
18716 grep -v '^ *+' conftest.er1 >conftest.err
18718 cat conftest.err >&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } && {
18721 test -z "$ac_c_werror_flag" ||
18722 test ! -s conftest.err
18723 } && test -s conftest.$ac_objext; then
18726 cat >conftest.$ac_ext <<_ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18732 $ac_includes_default
18733 typedef void * ac__type_sizeof_;
18737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18744 rm -f conftest.$ac_objext
18745 if { (ac_try="$ac_compile"
18746 case "(($ac_try" in
18747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18748 *) ac_try_echo=$ac_try;;
18750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18751 (eval "$ac_compile") 2>conftest.er1
18753 grep -v '^ *+' conftest.er1 >conftest.err
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } && {
18758 test -z "$ac_c_werror_flag" ||
18759 test ! -s conftest.err
18760 } && test -s conftest.$ac_objext; then
18761 ac_hi=$ac_mid; break
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18766 ac_lo=`expr $ac_mid + 1`
18767 if test $ac_lo -le $ac_mid; then
18771 ac_mid=`expr 2 '*' $ac_mid + 1`
18774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18780 cat >conftest.$ac_ext <<_ACEOF
18783 cat confdefs.h >>conftest.$ac_ext
18784 cat >>conftest.$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18786 $ac_includes_default
18787 typedef void * ac__type_sizeof_;
18791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18798 rm -f conftest.$ac_objext
18799 if { (ac_try="$ac_compile"
18800 case "(($ac_try" in
18801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18802 *) ac_try_echo=$ac_try;;
18804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18805 (eval "$ac_compile") 2>conftest.er1
18807 grep -v '^ *+' conftest.er1 >conftest.err
18809 cat conftest.err >&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } && {
18812 test -z "$ac_c_werror_flag" ||
18813 test ! -s conftest.err
18814 } && test -s conftest.$ac_objext; then
18817 cat >conftest.$ac_ext <<_ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823 $ac_includes_default
18824 typedef void * ac__type_sizeof_;
18828 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18835 rm -f conftest.$ac_objext
18836 if { (ac_try="$ac_compile"
18837 case "(($ac_try" in
18838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18839 *) ac_try_echo=$ac_try;;
18841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18842 (eval "$ac_compile") 2>conftest.er1
18844 grep -v '^ *+' conftest.er1 >conftest.err
18846 cat conftest.err >&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } && {
18849 test -z "$ac_c_werror_flag" ||
18850 test ! -s conftest.err
18851 } && test -s conftest.$ac_objext; then
18852 ac_lo=$ac_mid; break
18854 echo "$as_me: failed program was:" >&5
18855 sed 's/^/| /' conftest.$ac_ext >&5
18857 ac_hi=`expr '(' $ac_mid ')' - 1`
18858 if test $ac_mid -le $ac_hi; then
18862 ac_mid=`expr 2 '*' $ac_mid`
18865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18868 echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.$ac_ext >&5
18874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18878 # Binary search between lo and hi bounds.
18879 while test "x$ac_lo" != "x$ac_hi"; do
18880 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18881 cat >conftest.$ac_ext <<_ACEOF
18884 cat confdefs.h >>conftest.$ac_ext
18885 cat >>conftest.$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18887 $ac_includes_default
18888 typedef void * ac__type_sizeof_;
18892 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18899 rm -f conftest.$ac_objext
18900 if { (ac_try="$ac_compile"
18901 case "(($ac_try" in
18902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18903 *) ac_try_echo=$ac_try;;
18905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18906 (eval "$ac_compile") 2>conftest.er1
18908 grep -v '^ *+' conftest.er1 >conftest.err
18910 cat conftest.err >&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); } && {
18913 test -z "$ac_c_werror_flag" ||
18914 test ! -s conftest.err
18915 } && test -s conftest.$ac_objext; then
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.$ac_ext >&5
18921 ac_lo=`expr '(' $ac_mid ')' + 1`
18924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18928 '') if test "$ac_cv_type_void_p" = yes; then
18929 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18930 See \`config.log' for more details." >&5
18931 echo "$as_me: error: cannot compute sizeof (void *)
18932 See \`config.log' for more details." >&2;}
18933 { (exit 77); exit 77; }; }
18935 ac_cv_sizeof_void_p=0
18939 cat >conftest.$ac_ext <<_ACEOF
18942 cat confdefs.h >>conftest.$ac_ext
18943 cat >>conftest.$ac_ext <<_ACEOF
18944 /* end confdefs.h. */
18945 $ac_includes_default
18946 typedef void * ac__type_sizeof_;
18947 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18948 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18950 #include <stdlib.h>
18955 FILE *f = fopen ("conftest.val", "w");
18958 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18960 long int i = longval ();
18961 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18963 fprintf (f, "%ld\n", i);
18967 unsigned long int i = ulongval ();
18968 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18970 fprintf (f, "%lu\n", i);
18972 return ferror (f) || fclose (f) != 0;
18978 rm -f conftest$ac_exeext
18979 if { (ac_try="$ac_link"
18980 case "(($ac_try" in
18981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18982 *) ac_try_echo=$ac_try;;
18984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18985 (eval "$ac_link") 2>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18989 { (case "(($ac_try" in
18990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18991 *) ac_try_echo=$ac_try;;
18993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18994 (eval "$ac_try") 2>&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); }; }; then
18998 ac_cv_sizeof_void_p=`cat conftest.val`
19000 echo "$as_me: program exited with status $ac_status" >&5
19001 echo "$as_me: failed program was:" >&5
19002 sed 's/^/| /' conftest.$ac_ext >&5
19004 ( exit $ac_status )
19005 if test "$ac_cv_type_void_p" = yes; then
19006 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19007 See \`config.log' for more details." >&5
19008 echo "$as_me: error: cannot compute sizeof (void *)
19009 See \`config.log' for more details." >&2;}
19010 { (exit 77); exit 77; }; }
19012 ac_cv_sizeof_void_p=0
19015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19019 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19020 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19024 cat >>confdefs.h <<_ACEOF
19025 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19029 { echo "$as_me:$LINENO: checking for int" >&5
19030 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19031 if test "${ac_cv_type_int+set}" = set; then
19032 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 cat >conftest.$ac_ext <<_ACEOF
19037 cat confdefs.h >>conftest.$ac_ext
19038 cat >>conftest.$ac_ext <<_ACEOF
19039 /* end confdefs.h. */
19040 $ac_includes_default
19041 typedef int ac__type_new_;
19045 if ((ac__type_new_ *) 0)
19047 if (sizeof (ac__type_new_))
19053 rm -f conftest.$ac_objext
19054 if { (ac_try="$ac_compile"
19055 case "(($ac_try" in
19056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19057 *) ac_try_echo=$ac_try;;
19059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19060 (eval "$ac_compile") 2>conftest.er1
19062 grep -v '^ *+' conftest.er1 >conftest.err
19064 cat conftest.err >&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } && {
19067 test -z "$ac_c_werror_flag" ||
19068 test ! -s conftest.err
19069 } && test -s conftest.$ac_objext; then
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19080 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19081 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19083 # The cast to long int works around a bug in the HP C Compiler
19084 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19085 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19086 # This bug is HP SR number 8606223364.
19087 { echo "$as_me:$LINENO: checking size of int" >&5
19088 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19089 if test "${ac_cv_sizeof_int+set}" = set; then
19090 echo $ECHO_N "(cached) $ECHO_C" >&6
19092 if test "$cross_compiling" = yes; then
19093 # Depending upon the size, compute the lo and hi bounds.
19094 cat >conftest.$ac_ext <<_ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 $ac_includes_default
19101 typedef int ac__type_sizeof_;
19105 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19112 rm -f conftest.$ac_objext
19113 if { (ac_try="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19121 grep -v '^ *+' conftest.er1 >conftest.err
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.$ac_objext; then
19131 cat >conftest.$ac_ext <<_ACEOF
19134 cat confdefs.h >>conftest.$ac_ext
19135 cat >>conftest.$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 $ac_includes_default
19138 typedef int ac__type_sizeof_;
19142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19149 rm -f conftest.$ac_objext
19150 if { (ac_try="$ac_compile"
19151 case "(($ac_try" in
19152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19153 *) ac_try_echo=$ac_try;;
19155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19156 (eval "$ac_compile") 2>conftest.er1
19158 grep -v '^ *+' conftest.er1 >conftest.err
19160 cat conftest.err >&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } && {
19163 test -z "$ac_c_werror_flag" ||
19164 test ! -s conftest.err
19165 } && test -s conftest.$ac_objext; then
19166 ac_hi=$ac_mid; break
19168 echo "$as_me: failed program was:" >&5
19169 sed 's/^/| /' conftest.$ac_ext >&5
19171 ac_lo=`expr $ac_mid + 1`
19172 if test $ac_lo -le $ac_mid; then
19176 ac_mid=`expr 2 '*' $ac_mid + 1`
19179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19185 cat >conftest.$ac_ext <<_ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 $ac_includes_default
19192 typedef int ac__type_sizeof_;
19196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19203 rm -f conftest.$ac_objext
19204 if { (ac_try="$ac_compile"
19205 case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_compile") 2>conftest.er1
19212 grep -v '^ *+' conftest.er1 >conftest.err
19214 cat conftest.err >&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } && {
19217 test -z "$ac_c_werror_flag" ||
19218 test ! -s conftest.err
19219 } && test -s conftest.$ac_objext; then
19222 cat >conftest.$ac_ext <<_ACEOF
19225 cat confdefs.h >>conftest.$ac_ext
19226 cat >>conftest.$ac_ext <<_ACEOF
19227 /* end confdefs.h. */
19228 $ac_includes_default
19229 typedef int ac__type_sizeof_;
19233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19240 rm -f conftest.$ac_objext
19241 if { (ac_try="$ac_compile"
19242 case "(($ac_try" in
19243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19247 (eval "$ac_compile") 2>conftest.er1
19249 grep -v '^ *+' conftest.er1 >conftest.err
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } && {
19254 test -z "$ac_c_werror_flag" ||
19255 test ! -s conftest.err
19256 } && test -s conftest.$ac_objext; then
19257 ac_lo=$ac_mid; break
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19262 ac_hi=`expr '(' $ac_mid ')' - 1`
19263 if test $ac_mid -le $ac_hi; then
19267 ac_mid=`expr 2 '*' $ac_mid`
19270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.$ac_ext >&5
19279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19283 # Binary search between lo and hi bounds.
19284 while test "x$ac_lo" != "x$ac_hi"; do
19285 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19286 cat >conftest.$ac_ext <<_ACEOF
19289 cat confdefs.h >>conftest.$ac_ext
19290 cat >>conftest.$ac_ext <<_ACEOF
19291 /* end confdefs.h. */
19292 $ac_includes_default
19293 typedef int ac__type_sizeof_;
19297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19304 rm -f conftest.$ac_objext
19305 if { (ac_try="$ac_compile"
19306 case "(($ac_try" in
19307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19308 *) ac_try_echo=$ac_try;;
19310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19311 (eval "$ac_compile") 2>conftest.er1
19313 grep -v '^ *+' conftest.er1 >conftest.err
19315 cat conftest.err >&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); } && {
19318 test -z "$ac_c_werror_flag" ||
19319 test ! -s conftest.err
19320 } && test -s conftest.$ac_objext; then
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19326 ac_lo=`expr '(' $ac_mid ')' + 1`
19329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19332 ?*) ac_cv_sizeof_int=$ac_lo;;
19333 '') if test "$ac_cv_type_int" = yes; then
19334 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19335 See \`config.log' for more details." >&5
19336 echo "$as_me: error: cannot compute sizeof (int)
19337 See \`config.log' for more details." >&2;}
19338 { (exit 77); exit 77; }; }
19344 cat >conftest.$ac_ext <<_ACEOF
19347 cat confdefs.h >>conftest.$ac_ext
19348 cat >>conftest.$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350 $ac_includes_default
19351 typedef int ac__type_sizeof_;
19352 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19353 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19355 #include <stdlib.h>
19360 FILE *f = fopen ("conftest.val", "w");
19363 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19365 long int i = longval ();
19366 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19368 fprintf (f, "%ld\n", i);
19372 unsigned long int i = ulongval ();
19373 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19375 fprintf (f, "%lu\n", i);
19377 return ferror (f) || fclose (f) != 0;
19383 rm -f conftest$ac_exeext
19384 if { (ac_try="$ac_link"
19385 case "(($ac_try" in
19386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19387 *) ac_try_echo=$ac_try;;
19389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19390 (eval "$ac_link") 2>&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19394 { (case "(($ac_try" in
19395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19396 *) ac_try_echo=$ac_try;;
19398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19399 (eval "$ac_try") 2>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; }; then
19403 ac_cv_sizeof_int=`cat conftest.val`
19405 echo "$as_me: program exited with status $ac_status" >&5
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19409 ( exit $ac_status )
19410 if test "$ac_cv_type_int" = yes; then
19411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19412 See \`config.log' for more details." >&5
19413 echo "$as_me: error: cannot compute sizeof (int)
19414 See \`config.log' for more details." >&2;}
19415 { (exit 77); exit 77; }; }
19420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19424 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19425 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19429 cat >>confdefs.h <<_ACEOF
19430 #define SIZEOF_INT $ac_cv_sizeof_int
19434 { echo "$as_me:$LINENO: checking for long" >&5
19435 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19436 if test "${ac_cv_type_long+set}" = set; then
19437 echo $ECHO_N "(cached) $ECHO_C" >&6
19439 cat >conftest.$ac_ext <<_ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 $ac_includes_default
19446 typedef long ac__type_new_;
19450 if ((ac__type_new_ *) 0)
19452 if (sizeof (ac__type_new_))
19458 rm -f conftest.$ac_objext
19459 if { (ac_try="$ac_compile"
19460 case "(($ac_try" in
19461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19462 *) ac_try_echo=$ac_try;;
19464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19465 (eval "$ac_compile") 2>conftest.er1
19467 grep -v '^ *+' conftest.er1 >conftest.err
19469 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } && {
19472 test -z "$ac_c_werror_flag" ||
19473 test ! -s conftest.err
19474 } && test -s conftest.$ac_objext; then
19475 ac_cv_type_long=yes
19477 echo "$as_me: failed program was:" >&5
19478 sed 's/^/| /' conftest.$ac_ext >&5
19483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19485 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19486 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19488 # The cast to long int works around a bug in the HP C Compiler
19489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19490 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19491 # This bug is HP SR number 8606223364.
19492 { echo "$as_me:$LINENO: checking size of long" >&5
19493 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19494 if test "${ac_cv_sizeof_long+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 if test "$cross_compiling" = yes; then
19498 # Depending upon the size, compute the lo and hi bounds.
19499 cat >conftest.$ac_ext <<_ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 $ac_includes_default
19506 typedef long ac__type_sizeof_;
19510 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19517 rm -f conftest.$ac_objext
19518 if { (ac_try="$ac_compile"
19519 case "(($ac_try" in
19520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_compile") 2>conftest.er1
19526 grep -v '^ *+' conftest.er1 >conftest.err
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && {
19531 test -z "$ac_c_werror_flag" ||
19532 test ! -s conftest.err
19533 } && test -s conftest.$ac_objext; then
19536 cat >conftest.$ac_ext <<_ACEOF
19539 cat confdefs.h >>conftest.$ac_ext
19540 cat >>conftest.$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19542 $ac_includes_default
19543 typedef long ac__type_sizeof_;
19547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19554 rm -f conftest.$ac_objext
19555 if { (ac_try="$ac_compile"
19556 case "(($ac_try" in
19557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19558 *) ac_try_echo=$ac_try;;
19560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19561 (eval "$ac_compile") 2>conftest.er1
19563 grep -v '^ *+' conftest.er1 >conftest.err
19565 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } && {
19568 test -z "$ac_c_werror_flag" ||
19569 test ! -s conftest.err
19570 } && test -s conftest.$ac_objext; then
19571 ac_hi=$ac_mid; break
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19576 ac_lo=`expr $ac_mid + 1`
19577 if test $ac_lo -le $ac_mid; then
19581 ac_mid=`expr 2 '*' $ac_mid + 1`
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 echo "$as_me: failed program was:" >&5
19588 sed 's/^/| /' conftest.$ac_ext >&5
19590 cat >conftest.$ac_ext <<_ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19597 typedef long ac__type_sizeof_;
19601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19608 rm -f conftest.$ac_objext
19609 if { (ac_try="$ac_compile"
19610 case "(($ac_try" in
19611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19612 *) ac_try_echo=$ac_try;;
19614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19615 (eval "$ac_compile") 2>conftest.er1
19617 grep -v '^ *+' conftest.er1 >conftest.err
19619 cat conftest.err >&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } && {
19622 test -z "$ac_c_werror_flag" ||
19623 test ! -s conftest.err
19624 } && test -s conftest.$ac_objext; then
19627 cat >conftest.$ac_ext <<_ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 $ac_includes_default
19634 typedef long ac__type_sizeof_;
19638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19645 rm -f conftest.$ac_objext
19646 if { (ac_try="$ac_compile"
19647 case "(($ac_try" in
19648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19649 *) ac_try_echo=$ac_try;;
19651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19652 (eval "$ac_compile") 2>conftest.er1
19654 grep -v '^ *+' conftest.er1 >conftest.err
19656 cat conftest.err >&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } && {
19659 test -z "$ac_c_werror_flag" ||
19660 test ! -s conftest.err
19661 } && test -s conftest.$ac_objext; then
19662 ac_lo=$ac_mid; break
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.$ac_ext >&5
19667 ac_hi=`expr '(' $ac_mid ')' - 1`
19668 if test $ac_mid -le $ac_hi; then
19672 ac_mid=`expr 2 '*' $ac_mid`
19675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19688 # Binary search between lo and hi bounds.
19689 while test "x$ac_lo" != "x$ac_hi"; do
19690 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19691 cat >conftest.$ac_ext <<_ACEOF
19694 cat confdefs.h >>conftest.$ac_ext
19695 cat >>conftest.$ac_ext <<_ACEOF
19696 /* end confdefs.h. */
19697 $ac_includes_default
19698 typedef long ac__type_sizeof_;
19702 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19709 rm -f conftest.$ac_objext
19710 if { (ac_try="$ac_compile"
19711 case "(($ac_try" in
19712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19713 *) ac_try_echo=$ac_try;;
19715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19716 (eval "$ac_compile") 2>conftest.er1
19718 grep -v '^ *+' conftest.er1 >conftest.err
19720 cat conftest.err >&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } && {
19723 test -z "$ac_c_werror_flag" ||
19724 test ! -s conftest.err
19725 } && test -s conftest.$ac_objext; then
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.$ac_ext >&5
19731 ac_lo=`expr '(' $ac_mid ')' + 1`
19734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19737 ?*) ac_cv_sizeof_long=$ac_lo;;
19738 '') if test "$ac_cv_type_long" = yes; then
19739 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19740 See \`config.log' for more details." >&5
19741 echo "$as_me: error: cannot compute sizeof (long)
19742 See \`config.log' for more details." >&2;}
19743 { (exit 77); exit 77; }; }
19745 ac_cv_sizeof_long=0
19749 cat >conftest.$ac_ext <<_ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19756 typedef long ac__type_sizeof_;
19757 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19758 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19760 #include <stdlib.h>
19765 FILE *f = fopen ("conftest.val", "w");
19768 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19770 long int i = longval ();
19771 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19773 fprintf (f, "%ld\n", i);
19777 unsigned long int i = ulongval ();
19778 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19780 fprintf (f, "%lu\n", i);
19782 return ferror (f) || fclose (f) != 0;
19788 rm -f conftest$ac_exeext
19789 if { (ac_try="$ac_link"
19790 case "(($ac_try" in
19791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19792 *) ac_try_echo=$ac_try;;
19794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19795 (eval "$ac_link") 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19799 { (case "(($ac_try" in
19800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19801 *) ac_try_echo=$ac_try;;
19803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19804 (eval "$ac_try") 2>&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); }; }; then
19808 ac_cv_sizeof_long=`cat conftest.val`
19810 echo "$as_me: program exited with status $ac_status" >&5
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19814 ( exit $ac_status )
19815 if test "$ac_cv_type_long" = yes; then
19816 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19817 See \`config.log' for more details." >&5
19818 echo "$as_me: error: cannot compute sizeof (long)
19819 See \`config.log' for more details." >&2;}
19820 { (exit 77); exit 77; }; }
19822 ac_cv_sizeof_long=0
19825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19829 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19830 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19834 cat >>confdefs.h <<_ACEOF
19835 #define SIZEOF_LONG $ac_cv_sizeof_long
19839 { echo "$as_me:$LINENO: checking for size_t" >&5
19840 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19841 if test "${ac_cv_type_size_t+set}" = set; then
19842 echo $ECHO_N "(cached) $ECHO_C" >&6
19844 cat >conftest.$ac_ext <<_ACEOF
19847 cat confdefs.h >>conftest.$ac_ext
19848 cat >>conftest.$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19850 $ac_includes_default
19851 typedef size_t ac__type_new_;
19855 if ((ac__type_new_ *) 0)
19857 if (sizeof (ac__type_new_))
19863 rm -f conftest.$ac_objext
19864 if { (ac_try="$ac_compile"
19865 case "(($ac_try" in
19866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19867 *) ac_try_echo=$ac_try;;
19869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19870 (eval "$ac_compile") 2>conftest.er1
19872 grep -v '^ *+' conftest.er1 >conftest.err
19874 cat conftest.err >&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } && {
19877 test -z "$ac_c_werror_flag" ||
19878 test ! -s conftest.err
19879 } && test -s conftest.$ac_objext; then
19880 ac_cv_type_size_t=yes
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.$ac_ext >&5
19885 ac_cv_type_size_t=no
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19891 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19893 # The cast to long int works around a bug in the HP C Compiler
19894 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19895 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19896 # This bug is HP SR number 8606223364.
19897 { echo "$as_me:$LINENO: checking size of size_t" >&5
19898 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19899 if test "${ac_cv_sizeof_size_t+set}" = set; then
19900 echo $ECHO_N "(cached) $ECHO_C" >&6
19902 if test "$cross_compiling" = yes; then
19903 # Depending upon the size, compute the lo and hi bounds.
19904 cat >conftest.$ac_ext <<_ACEOF
19907 cat confdefs.h >>conftest.$ac_ext
19908 cat >>conftest.$ac_ext <<_ACEOF
19909 /* end confdefs.h. */
19910 $ac_includes_default
19911 typedef size_t ac__type_sizeof_;
19915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19922 rm -f conftest.$ac_objext
19923 if { (ac_try="$ac_compile"
19924 case "(($ac_try" in
19925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19926 *) ac_try_echo=$ac_try;;
19928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19929 (eval "$ac_compile") 2>conftest.er1
19931 grep -v '^ *+' conftest.er1 >conftest.err
19933 cat conftest.err >&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); } && {
19936 test -z "$ac_c_werror_flag" ||
19937 test ! -s conftest.err
19938 } && test -s conftest.$ac_objext; then
19941 cat >conftest.$ac_ext <<_ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 $ac_includes_default
19948 typedef size_t ac__type_sizeof_;
19952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19959 rm -f conftest.$ac_objext
19960 if { (ac_try="$ac_compile"
19961 case "(($ac_try" in
19962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19963 *) ac_try_echo=$ac_try;;
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19968 grep -v '^ *+' conftest.er1 >conftest.err
19970 cat conftest.err >&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest.$ac_objext; then
19976 ac_hi=$ac_mid; break
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.$ac_ext >&5
19981 ac_lo=`expr $ac_mid + 1`
19982 if test $ac_lo -le $ac_mid; then
19986 ac_mid=`expr 2 '*' $ac_mid + 1`
19989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19995 cat >conftest.$ac_ext <<_ACEOF
19998 cat confdefs.h >>conftest.$ac_ext
19999 cat >>conftest.$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20001 $ac_includes_default
20002 typedef size_t ac__type_sizeof_;
20006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20013 rm -f conftest.$ac_objext
20014 if { (ac_try="$ac_compile"
20015 case "(($ac_try" in
20016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20017 *) ac_try_echo=$ac_try;;
20019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20020 (eval "$ac_compile") 2>conftest.er1
20022 grep -v '^ *+' conftest.er1 >conftest.err
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } && {
20027 test -z "$ac_c_werror_flag" ||
20028 test ! -s conftest.err
20029 } && test -s conftest.$ac_objext; then
20032 cat >conftest.$ac_ext <<_ACEOF
20035 cat confdefs.h >>conftest.$ac_ext
20036 cat >>conftest.$ac_ext <<_ACEOF
20037 /* end confdefs.h. */
20038 $ac_includes_default
20039 typedef size_t ac__type_sizeof_;
20043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20050 rm -f conftest.$ac_objext
20051 if { (ac_try="$ac_compile"
20052 case "(($ac_try" in
20053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20054 *) ac_try_echo=$ac_try;;
20056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20057 (eval "$ac_compile") 2>conftest.er1
20059 grep -v '^ *+' conftest.er1 >conftest.err
20061 cat conftest.err >&5
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); } && {
20064 test -z "$ac_c_werror_flag" ||
20065 test ! -s conftest.err
20066 } && test -s conftest.$ac_objext; then
20067 ac_lo=$ac_mid; break
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20072 ac_hi=`expr '(' $ac_mid ')' - 1`
20073 if test $ac_mid -le $ac_hi; then
20077 ac_mid=`expr 2 '*' $ac_mid`
20080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20093 # Binary search between lo and hi bounds.
20094 while test "x$ac_lo" != "x$ac_hi"; do
20095 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20096 cat >conftest.$ac_ext <<_ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102 $ac_includes_default
20103 typedef size_t ac__type_sizeof_;
20107 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20114 rm -f conftest.$ac_objext
20115 if { (ac_try="$ac_compile"
20116 case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20118 *) ac_try_echo=$ac_try;;
20120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_compile") 2>conftest.er1
20123 grep -v '^ *+' conftest.er1 >conftest.err
20125 cat conftest.err >&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } && {
20128 test -z "$ac_c_werror_flag" ||
20129 test ! -s conftest.err
20130 } && test -s conftest.$ac_objext; then
20133 echo "$as_me: failed program was:" >&5
20134 sed 's/^/| /' conftest.$ac_ext >&5
20136 ac_lo=`expr '(' $ac_mid ')' + 1`
20139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20142 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20143 '') if test "$ac_cv_type_size_t" = yes; then
20144 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20145 See \`config.log' for more details." >&5
20146 echo "$as_me: error: cannot compute sizeof (size_t)
20147 See \`config.log' for more details." >&2;}
20148 { (exit 77); exit 77; }; }
20150 ac_cv_sizeof_size_t=0
20154 cat >conftest.$ac_ext <<_ACEOF
20157 cat confdefs.h >>conftest.$ac_ext
20158 cat >>conftest.$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160 $ac_includes_default
20161 typedef size_t ac__type_sizeof_;
20162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20165 #include <stdlib.h>
20170 FILE *f = fopen ("conftest.val", "w");
20173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20175 long int i = longval ();
20176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20178 fprintf (f, "%ld\n", i);
20182 unsigned long int i = ulongval ();
20183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20185 fprintf (f, "%lu\n", i);
20187 return ferror (f) || fclose (f) != 0;
20193 rm -f conftest$ac_exeext
20194 if { (ac_try="$ac_link"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_link") 2>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20204 { (case "(($ac_try" in
20205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20206 *) ac_try_echo=$ac_try;;
20208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20209 (eval "$ac_try") 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_sizeof_size_t=`cat conftest.val`
20215 echo "$as_me: program exited with status $ac_status" >&5
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20219 ( exit $ac_status )
20220 if test "$ac_cv_type_size_t" = yes; then
20221 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20222 See \`config.log' for more details." >&5
20223 echo "$as_me: error: cannot compute sizeof (size_t)
20224 See \`config.log' for more details." >&2;}
20225 { (exit 77); exit 77; }; }
20227 ac_cv_sizeof_size_t=0
20230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20234 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20235 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20239 cat >>confdefs.h <<_ACEOF
20240 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20247 { echo "$as_me:$LINENO: checking for long long" >&5
20248 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20249 if test "${ac_cv_type_long_long+set}" = set; then
20250 echo $ECHO_N "(cached) $ECHO_C" >&6
20252 cat >conftest.$ac_ext <<_ACEOF
20255 cat confdefs.h >>conftest.$ac_ext
20256 cat >>conftest.$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20258 $ac_includes_default
20259 typedef long long ac__type_new_;
20263 if ((ac__type_new_ *) 0)
20265 if (sizeof (ac__type_new_))
20271 rm -f conftest.$ac_objext
20272 if { (ac_try="$ac_compile"
20273 case "(($ac_try" in
20274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20275 *) ac_try_echo=$ac_try;;
20277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20278 (eval "$ac_compile") 2>conftest.er1
20280 grep -v '^ *+' conftest.er1 >conftest.err
20282 cat conftest.err >&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); } && {
20285 test -z "$ac_c_werror_flag" ||
20286 test ! -s conftest.err
20287 } && test -s conftest.$ac_objext; then
20288 ac_cv_type_long_long=yes
20290 echo "$as_me: failed program was:" >&5
20291 sed 's/^/| /' conftest.$ac_ext >&5
20293 ac_cv_type_long_long=no
20296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20298 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20299 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20301 # The cast to long int works around a bug in the HP C Compiler
20302 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20303 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20304 # This bug is HP SR number 8606223364.
20305 { echo "$as_me:$LINENO: checking size of long long" >&5
20306 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20307 if test "${ac_cv_sizeof_long_long+set}" = set; then
20308 echo $ECHO_N "(cached) $ECHO_C" >&6
20310 if test "$cross_compiling" = yes; then
20311 # Depending upon the size, compute the lo and hi bounds.
20312 cat >conftest.$ac_ext <<_ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 $ac_includes_default
20319 typedef long long ac__type_sizeof_;
20323 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20330 rm -f conftest.$ac_objext
20331 if { (ac_try="$ac_compile"
20332 case "(($ac_try" in
20333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20334 *) ac_try_echo=$ac_try;;
20336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20337 (eval "$ac_compile") 2>conftest.er1
20339 grep -v '^ *+' conftest.er1 >conftest.err
20341 cat conftest.err >&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } && {
20344 test -z "$ac_c_werror_flag" ||
20345 test ! -s conftest.err
20346 } && test -s conftest.$ac_objext; then
20349 cat >conftest.$ac_ext <<_ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 typedef long long ac__type_sizeof_;
20360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20367 rm -f conftest.$ac_objext
20368 if { (ac_try="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20376 grep -v '^ *+' conftest.er1 >conftest.err
20378 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && {
20381 test -z "$ac_c_werror_flag" ||
20382 test ! -s conftest.err
20383 } && test -s conftest.$ac_objext; then
20384 ac_hi=$ac_mid; break
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.$ac_ext >&5
20389 ac_lo=`expr $ac_mid + 1`
20390 if test $ac_lo -le $ac_mid; then
20394 ac_mid=`expr 2 '*' $ac_mid + 1`
20397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.$ac_ext >&5
20403 cat >conftest.$ac_ext <<_ACEOF
20406 cat confdefs.h >>conftest.$ac_ext
20407 cat >>conftest.$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20409 $ac_includes_default
20410 typedef long long ac__type_sizeof_;
20414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20421 rm -f conftest.$ac_objext
20422 if { (ac_try="$ac_compile"
20423 case "(($ac_try" in
20424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20425 *) ac_try_echo=$ac_try;;
20427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20428 (eval "$ac_compile") 2>conftest.er1
20430 grep -v '^ *+' conftest.er1 >conftest.err
20432 cat conftest.err >&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } && {
20435 test -z "$ac_c_werror_flag" ||
20436 test ! -s conftest.err
20437 } && test -s conftest.$ac_objext; then
20440 cat >conftest.$ac_ext <<_ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 $ac_includes_default
20447 typedef long long ac__type_sizeof_;
20451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20458 rm -f conftest.$ac_objext
20459 if { (ac_try="$ac_compile"
20460 case "(($ac_try" in
20461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20462 *) ac_try_echo=$ac_try;;
20464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20465 (eval "$ac_compile") 2>conftest.er1
20467 grep -v '^ *+' conftest.er1 >conftest.err
20469 cat conftest.err >&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); } && {
20472 test -z "$ac_c_werror_flag" ||
20473 test ! -s conftest.err
20474 } && test -s conftest.$ac_objext; then
20475 ac_lo=$ac_mid; break
20477 echo "$as_me: failed program was:" >&5
20478 sed 's/^/| /' conftest.$ac_ext >&5
20480 ac_hi=`expr '(' $ac_mid ')' - 1`
20481 if test $ac_mid -le $ac_hi; then
20485 ac_mid=`expr 2 '*' $ac_mid`
20488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20501 # Binary search between lo and hi bounds.
20502 while test "x$ac_lo" != "x$ac_hi"; do
20503 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20504 cat >conftest.$ac_ext <<_ACEOF
20507 cat confdefs.h >>conftest.$ac_ext
20508 cat >>conftest.$ac_ext <<_ACEOF
20509 /* end confdefs.h. */
20510 $ac_includes_default
20511 typedef long long ac__type_sizeof_;
20515 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20522 rm -f conftest.$ac_objext
20523 if { (ac_try="$ac_compile"
20524 case "(($ac_try" in
20525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20526 *) ac_try_echo=$ac_try;;
20528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20529 (eval "$ac_compile") 2>conftest.er1
20531 grep -v '^ *+' conftest.er1 >conftest.err
20533 cat conftest.err >&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } && {
20536 test -z "$ac_c_werror_flag" ||
20537 test ! -s conftest.err
20538 } && test -s conftest.$ac_objext; then
20541 echo "$as_me: failed program was:" >&5
20542 sed 's/^/| /' conftest.$ac_ext >&5
20544 ac_lo=`expr '(' $ac_mid ')' + 1`
20547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20550 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20551 '') if test "$ac_cv_type_long_long" = yes; then
20552 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20553 See \`config.log' for more details." >&5
20554 echo "$as_me: error: cannot compute sizeof (long long)
20555 See \`config.log' for more details." >&2;}
20556 { (exit 77); exit 77; }; }
20558 ac_cv_sizeof_long_long=0
20562 cat >conftest.$ac_ext <<_ACEOF
20565 cat confdefs.h >>conftest.$ac_ext
20566 cat >>conftest.$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 $ac_includes_default
20569 typedef long long ac__type_sizeof_;
20570 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20571 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20573 #include <stdlib.h>
20578 FILE *f = fopen ("conftest.val", "w");
20581 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20583 long int i = longval ();
20584 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20586 fprintf (f, "%ld\n", i);
20590 unsigned long int i = ulongval ();
20591 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20593 fprintf (f, "%lu\n", i);
20595 return ferror (f) || fclose (f) != 0;
20601 rm -f conftest$ac_exeext
20602 if { (ac_try="$ac_link"
20603 case "(($ac_try" in
20604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_link") 2>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20612 { (case "(($ac_try" in
20613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20614 *) ac_try_echo=$ac_try;;
20616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20617 (eval "$ac_try") 2>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20621 ac_cv_sizeof_long_long=`cat conftest.val`
20623 echo "$as_me: program exited with status $ac_status" >&5
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20627 ( exit $ac_status )
20628 if test "$ac_cv_type_long_long" = yes; then
20629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20630 See \`config.log' for more details." >&5
20631 echo "$as_me: error: cannot compute sizeof (long long)
20632 See \`config.log' for more details." >&2;}
20633 { (exit 77); exit 77; }; }
20635 ac_cv_sizeof_long_long=0
20638 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20642 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20643 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20647 cat >>confdefs.h <<_ACEOF
20648 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20654 { echo "$as_me:$LINENO: checking for long long" >&5
20655 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20656 if test "${ac_cv_type_long_long+set}" = set; then
20657 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 cat >conftest.$ac_ext <<_ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 $ac_includes_default
20666 typedef long long ac__type_new_;
20670 if ((ac__type_new_ *) 0)
20672 if (sizeof (ac__type_new_))
20678 rm -f conftest.$ac_objext
20679 if { (ac_try="$ac_compile"
20680 case "(($ac_try" in
20681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20682 *) ac_try_echo=$ac_try;;
20684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20685 (eval "$ac_compile") 2>conftest.er1
20687 grep -v '^ *+' conftest.er1 >conftest.err
20689 cat conftest.err >&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } && {
20692 test -z "$ac_c_werror_flag" ||
20693 test ! -s conftest.err
20694 } && test -s conftest.$ac_objext; then
20695 ac_cv_type_long_long=yes
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20700 ac_cv_type_long_long=no
20703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20705 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20706 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20708 # The cast to long int works around a bug in the HP C Compiler
20709 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20710 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20711 # This bug is HP SR number 8606223364.
20712 { echo "$as_me:$LINENO: checking size of long long" >&5
20713 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20714 if test "${ac_cv_sizeof_long_long+set}" = set; then
20715 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 if test "$cross_compiling" = yes; then
20718 # Depending upon the size, compute the lo and hi bounds.
20719 cat >conftest.$ac_ext <<_ACEOF
20722 cat confdefs.h >>conftest.$ac_ext
20723 cat >>conftest.$ac_ext <<_ACEOF
20724 /* end confdefs.h. */
20725 $ac_includes_default
20726 typedef long long ac__type_sizeof_;
20730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
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
20756 cat >conftest.$ac_ext <<_ACEOF
20759 cat confdefs.h >>conftest.$ac_ext
20760 cat >>conftest.$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20763 typedef long long ac__type_sizeof_;
20767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20774 rm -f conftest.$ac_objext
20775 if { (ac_try="$ac_compile"
20776 case "(($ac_try" in
20777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20778 *) ac_try_echo=$ac_try;;
20780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20781 (eval "$ac_compile") 2>conftest.er1
20783 grep -v '^ *+' conftest.er1 >conftest.err
20785 cat conftest.err >&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && {
20788 test -z "$ac_c_werror_flag" ||
20789 test ! -s conftest.err
20790 } && test -s conftest.$ac_objext; then
20791 ac_hi=$ac_mid; break
20793 echo "$as_me: failed program was:" >&5
20794 sed 's/^/| /' conftest.$ac_ext >&5
20796 ac_lo=`expr $ac_mid + 1`
20797 if test $ac_lo -le $ac_mid; then
20801 ac_mid=`expr 2 '*' $ac_mid + 1`
20804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20807 echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.$ac_ext >&5
20810 cat >conftest.$ac_ext <<_ACEOF
20813 cat confdefs.h >>conftest.$ac_ext
20814 cat >>conftest.$ac_ext <<_ACEOF
20815 /* end confdefs.h. */
20816 $ac_includes_default
20817 typedef long long ac__type_sizeof_;
20821 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20828 rm -f conftest.$ac_objext
20829 if { (ac_try="$ac_compile"
20830 case "(($ac_try" in
20831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20832 *) ac_try_echo=$ac_try;;
20834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20835 (eval "$ac_compile") 2>conftest.er1
20837 grep -v '^ *+' conftest.er1 >conftest.err
20839 cat conftest.err >&5
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); } && {
20842 test -z "$ac_c_werror_flag" ||
20843 test ! -s conftest.err
20844 } && test -s conftest.$ac_objext; then
20847 cat >conftest.$ac_ext <<_ACEOF
20850 cat confdefs.h >>conftest.$ac_ext
20851 cat >>conftest.$ac_ext <<_ACEOF
20852 /* end confdefs.h. */
20853 $ac_includes_default
20854 typedef long long ac__type_sizeof_;
20858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20865 rm -f conftest.$ac_objext
20866 if { (ac_try="$ac_compile"
20867 case "(($ac_try" in
20868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20869 *) ac_try_echo=$ac_try;;
20871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20872 (eval "$ac_compile") 2>conftest.er1
20874 grep -v '^ *+' conftest.er1 >conftest.err
20876 cat conftest.err >&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && {
20879 test -z "$ac_c_werror_flag" ||
20880 test ! -s conftest.err
20881 } && test -s conftest.$ac_objext; then
20882 ac_lo=$ac_mid; break
20884 echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.$ac_ext >&5
20887 ac_hi=`expr '(' $ac_mid ')' - 1`
20888 if test $ac_mid -le $ac_hi; then
20892 ac_mid=`expr 2 '*' $ac_mid`
20895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20898 echo "$as_me: failed program was:" >&5
20899 sed 's/^/| /' conftest.$ac_ext >&5
20904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20908 # Binary search between lo and hi bounds.
20909 while test "x$ac_lo" != "x$ac_hi"; do
20910 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20911 cat >conftest.$ac_ext <<_ACEOF
20914 cat confdefs.h >>conftest.$ac_ext
20915 cat >>conftest.$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917 $ac_includes_default
20918 typedef long long ac__type_sizeof_;
20922 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20929 rm -f conftest.$ac_objext
20930 if { (ac_try="$ac_compile"
20931 case "(($ac_try" in
20932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20933 *) ac_try_echo=$ac_try;;
20935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20936 (eval "$ac_compile") 2>conftest.er1
20938 grep -v '^ *+' conftest.er1 >conftest.err
20940 cat conftest.err >&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); } && {
20943 test -z "$ac_c_werror_flag" ||
20944 test ! -s conftest.err
20945 } && test -s conftest.$ac_objext; then
20948 echo "$as_me: failed program was:" >&5
20949 sed 's/^/| /' conftest.$ac_ext >&5
20951 ac_lo=`expr '(' $ac_mid ')' + 1`
20954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20957 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20958 '') if test "$ac_cv_type_long_long" = yes; then
20959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20960 See \`config.log' for more details." >&5
20961 echo "$as_me: error: cannot compute sizeof (long long)
20962 See \`config.log' for more details." >&2;}
20963 { (exit 77); exit 77; }; }
20965 ac_cv_sizeof_long_long=0
20969 cat >conftest.$ac_ext <<_ACEOF
20972 cat confdefs.h >>conftest.$ac_ext
20973 cat >>conftest.$ac_ext <<_ACEOF
20974 /* end confdefs.h. */
20975 $ac_includes_default
20976 typedef long long ac__type_sizeof_;
20977 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20978 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20980 #include <stdlib.h>
20985 FILE *f = fopen ("conftest.val", "w");
20988 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20990 long int i = longval ();
20991 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20993 fprintf (f, "%ld\n", i);
20997 unsigned long int i = ulongval ();
20998 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21000 fprintf (f, "%lu\n", i);
21002 return ferror (f) || fclose (f) != 0;
21008 rm -f conftest$ac_exeext
21009 if { (ac_try="$ac_link"
21010 case "(($ac_try" in
21011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21012 *) ac_try_echo=$ac_try;;
21014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21015 (eval "$ac_link") 2>&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21019 { (case "(($ac_try" in
21020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21021 *) ac_try_echo=$ac_try;;
21023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21024 (eval "$ac_try") 2>&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; }; then
21028 ac_cv_sizeof_long_long=`cat conftest.val`
21030 echo "$as_me: program exited with status $ac_status" >&5
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.$ac_ext >&5
21034 ( exit $ac_status )
21035 if test "$ac_cv_type_long_long" = yes; then
21036 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21037 See \`config.log' for more details." >&5
21038 echo "$as_me: error: cannot compute sizeof (long long)
21039 See \`config.log' for more details." >&2;}
21040 { (exit 77); exit 77; }; }
21042 ac_cv_sizeof_long_long=0
21045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21049 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21050 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21054 cat >>confdefs.h <<_ACEOF
21055 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21059 if test "$ac_cv_sizeof_long_long" != "0"; then
21060 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21064 { echo "$as_me:$LINENO: checking for long long" >&5
21065 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21066 if test "${ac_cv_type_long_long+set}" = set; then
21067 echo $ECHO_N "(cached) $ECHO_C" >&6
21069 cat >conftest.$ac_ext <<_ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 $ac_includes_default
21076 typedef long long ac__type_new_;
21080 if ((ac__type_new_ *) 0)
21082 if (sizeof (ac__type_new_))
21088 rm -f conftest.$ac_objext
21089 if { (ac_try="$ac_compile"
21090 case "(($ac_try" in
21091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21092 *) ac_try_echo=$ac_try;;
21094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21095 (eval "$ac_compile") 2>conftest.er1
21097 grep -v '^ *+' conftest.er1 >conftest.err
21099 cat conftest.err >&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } && {
21102 test -z "$ac_c_werror_flag" ||
21103 test ! -s conftest.err
21104 } && test -s conftest.$ac_objext; then
21105 ac_cv_type_long_long=yes
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.$ac_ext >&5
21110 ac_cv_type_long_long=no
21113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21116 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21118 # The cast to long int works around a bug in the HP C Compiler
21119 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21120 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21121 # This bug is HP SR number 8606223364.
21122 { echo "$as_me:$LINENO: checking size of long long" >&5
21123 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21124 if test "${ac_cv_sizeof_long_long+set}" = set; then
21125 echo $ECHO_N "(cached) $ECHO_C" >&6
21127 if test "$cross_compiling" = yes; then
21128 # Depending upon the size, compute the lo and hi bounds.
21129 cat >conftest.$ac_ext <<_ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 $ac_includes_default
21136 typedef long long ac__type_sizeof_;
21140 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21147 rm -f conftest.$ac_objext
21148 if { (ac_try="$ac_compile"
21149 case "(($ac_try" in
21150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21151 *) ac_try_echo=$ac_try;;
21153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21154 (eval "$ac_compile") 2>conftest.er1
21156 grep -v '^ *+' conftest.er1 >conftest.err
21158 cat conftest.err >&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } && {
21161 test -z "$ac_c_werror_flag" ||
21162 test ! -s conftest.err
21163 } && test -s conftest.$ac_objext; then
21166 cat >conftest.$ac_ext <<_ACEOF
21169 cat confdefs.h >>conftest.$ac_ext
21170 cat >>conftest.$ac_ext <<_ACEOF
21171 /* end confdefs.h. */
21172 $ac_includes_default
21173 typedef long long ac__type_sizeof_;
21177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21184 rm -f conftest.$ac_objext
21185 if { (ac_try="$ac_compile"
21186 case "(($ac_try" in
21187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21188 *) ac_try_echo=$ac_try;;
21190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21191 (eval "$ac_compile") 2>conftest.er1
21193 grep -v '^ *+' conftest.er1 >conftest.err
21195 cat conftest.err >&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); } && {
21198 test -z "$ac_c_werror_flag" ||
21199 test ! -s conftest.err
21200 } && test -s conftest.$ac_objext; then
21201 ac_hi=$ac_mid; break
21203 echo "$as_me: failed program was:" >&5
21204 sed 's/^/| /' conftest.$ac_ext >&5
21206 ac_lo=`expr $ac_mid + 1`
21207 if test $ac_lo -le $ac_mid; then
21211 ac_mid=`expr 2 '*' $ac_mid + 1`
21214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21217 echo "$as_me: failed program was:" >&5
21218 sed 's/^/| /' conftest.$ac_ext >&5
21220 cat >conftest.$ac_ext <<_ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 $ac_includes_default
21227 typedef long long ac__type_sizeof_;
21231 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21238 rm -f conftest.$ac_objext
21239 if { (ac_try="$ac_compile"
21240 case "(($ac_try" in
21241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21242 *) ac_try_echo=$ac_try;;
21244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21245 (eval "$ac_compile") 2>conftest.er1
21247 grep -v '^ *+' conftest.er1 >conftest.err
21249 cat conftest.err >&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); } && {
21252 test -z "$ac_c_werror_flag" ||
21253 test ! -s conftest.err
21254 } && test -s conftest.$ac_objext; then
21257 cat >conftest.$ac_ext <<_ACEOF
21260 cat confdefs.h >>conftest.$ac_ext
21261 cat >>conftest.$ac_ext <<_ACEOF
21262 /* end confdefs.h. */
21263 $ac_includes_default
21264 typedef long long ac__type_sizeof_;
21268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21275 rm -f conftest.$ac_objext
21276 if { (ac_try="$ac_compile"
21277 case "(($ac_try" in
21278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21279 *) ac_try_echo=$ac_try;;
21281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21282 (eval "$ac_compile") 2>conftest.er1
21284 grep -v '^ *+' conftest.er1 >conftest.err
21286 cat conftest.err >&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); } && {
21289 test -z "$ac_c_werror_flag" ||
21290 test ! -s conftest.err
21291 } && test -s conftest.$ac_objext; then
21292 ac_lo=$ac_mid; break
21294 echo "$as_me: failed program was:" >&5
21295 sed 's/^/| /' conftest.$ac_ext >&5
21297 ac_hi=`expr '(' $ac_mid ')' - 1`
21298 if test $ac_mid -le $ac_hi; then
21302 ac_mid=`expr 2 '*' $ac_mid`
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.$ac_ext >&5
21314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21318 # Binary search between lo and hi bounds.
21319 while test "x$ac_lo" != "x$ac_hi"; do
21320 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21321 cat >conftest.$ac_ext <<_ACEOF
21324 cat confdefs.h >>conftest.$ac_ext
21325 cat >>conftest.$ac_ext <<_ACEOF
21326 /* end confdefs.h. */
21327 $ac_includes_default
21328 typedef long long ac__type_sizeof_;
21332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21339 rm -f conftest.$ac_objext
21340 if { (ac_try="$ac_compile"
21341 case "(($ac_try" in
21342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21343 *) ac_try_echo=$ac_try;;
21345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21346 (eval "$ac_compile") 2>conftest.er1
21348 grep -v '^ *+' conftest.er1 >conftest.err
21350 cat conftest.err >&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } && {
21353 test -z "$ac_c_werror_flag" ||
21354 test ! -s conftest.err
21355 } && test -s conftest.$ac_objext; then
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.$ac_ext >&5
21361 ac_lo=`expr '(' $ac_mid ')' + 1`
21364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21367 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21368 '') if test "$ac_cv_type_long_long" = yes; then
21369 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21370 See \`config.log' for more details." >&5
21371 echo "$as_me: error: cannot compute sizeof (long long)
21372 See \`config.log' for more details." >&2;}
21373 { (exit 77); exit 77; }; }
21375 ac_cv_sizeof_long_long=0
21379 cat >conftest.$ac_ext <<_ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 $ac_includes_default
21386 typedef long long ac__type_sizeof_;
21387 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21388 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21390 #include <stdlib.h>
21395 FILE *f = fopen ("conftest.val", "w");
21398 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21400 long int i = longval ();
21401 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21403 fprintf (f, "%ld\n", i);
21407 unsigned long int i = ulongval ();
21408 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21410 fprintf (f, "%lu\n", i);
21412 return ferror (f) || fclose (f) != 0;
21418 rm -f conftest$ac_exeext
21419 if { (ac_try="$ac_link"
21420 case "(($ac_try" in
21421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21422 *) ac_try_echo=$ac_try;;
21424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425 (eval "$ac_link") 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21429 { (case "(($ac_try" in
21430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21431 *) ac_try_echo=$ac_try;;
21433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21434 (eval "$ac_try") 2>&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); }; }; then
21438 ac_cv_sizeof_long_long=`cat conftest.val`
21440 echo "$as_me: program exited with status $ac_status" >&5
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.$ac_ext >&5
21444 ( exit $ac_status )
21445 if test "$ac_cv_type_long_long" = yes; then
21446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21447 See \`config.log' for more details." >&5
21448 echo "$as_me: error: cannot compute sizeof (long long)
21449 See \`config.log' for more details." >&2;}
21450 { (exit 77); exit 77; }; }
21452 ac_cv_sizeof_long_long=0
21455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21459 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21460 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21464 cat >>confdefs.h <<_ACEOF
21465 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21471 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21472 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21473 if test "${ac_cv_type_wchar_t+set}" = set; then
21474 echo $ECHO_N "(cached) $ECHO_C" >&6
21476 cat >conftest.$ac_ext <<_ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21483 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21484 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21485 # error "fake wchar_t"
21487 #ifdef HAVE_WCHAR_H
21489 # include <stddef.h>
21491 # include <wchar.h>
21493 #ifdef HAVE_STDLIB_H
21494 # include <stdlib.h>
21500 typedef wchar_t ac__type_new_;
21504 if ((ac__type_new_ *) 0)
21506 if (sizeof (ac__type_new_))
21512 rm -f conftest.$ac_objext
21513 if { (ac_try="$ac_compile"
21514 case "(($ac_try" in
21515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21516 *) ac_try_echo=$ac_try;;
21518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21519 (eval "$ac_compile") 2>conftest.er1
21521 grep -v '^ *+' conftest.er1 >conftest.err
21523 cat conftest.err >&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } && {
21526 test -z "$ac_c_werror_flag" ||
21527 test ! -s conftest.err
21528 } && test -s conftest.$ac_objext; then
21529 ac_cv_type_wchar_t=yes
21531 echo "$as_me: failed program was:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21534 ac_cv_type_wchar_t=no
21537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21540 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21542 # The cast to long int works around a bug in the HP C Compiler
21543 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21544 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21545 # This bug is HP SR number 8606223364.
21546 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21547 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21548 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21549 echo $ECHO_N "(cached) $ECHO_C" >&6
21551 if test "$cross_compiling" = yes; then
21552 # Depending upon the size, compute the lo and hi bounds.
21553 cat >conftest.$ac_ext <<_ACEOF
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21560 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21561 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21562 # error "fake wchar_t"
21564 #ifdef HAVE_WCHAR_H
21566 # include <stddef.h>
21568 # include <wchar.h>
21570 #ifdef HAVE_STDLIB_H
21571 # include <stdlib.h>
21577 typedef wchar_t ac__type_sizeof_;
21581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21588 rm -f conftest.$ac_objext
21589 if { (ac_try="$ac_compile"
21590 case "(($ac_try" in
21591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21592 *) ac_try_echo=$ac_try;;
21594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21595 (eval "$ac_compile") 2>conftest.er1
21597 grep -v '^ *+' conftest.er1 >conftest.err
21599 cat conftest.err >&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); } && {
21602 test -z "$ac_c_werror_flag" ||
21603 test ! -s conftest.err
21604 } && test -s conftest.$ac_objext; then
21607 cat >conftest.$ac_ext <<_ACEOF
21610 cat confdefs.h >>conftest.$ac_ext
21611 cat >>conftest.$ac_ext <<_ACEOF
21612 /* end confdefs.h. */
21614 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21615 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21616 # error "fake wchar_t"
21618 #ifdef HAVE_WCHAR_H
21620 # include <stddef.h>
21622 # include <wchar.h>
21624 #ifdef HAVE_STDLIB_H
21625 # include <stdlib.h>
21631 typedef wchar_t ac__type_sizeof_;
21635 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21642 rm -f conftest.$ac_objext
21643 if { (ac_try="$ac_compile"
21644 case "(($ac_try" in
21645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21646 *) ac_try_echo=$ac_try;;
21648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21649 (eval "$ac_compile") 2>conftest.er1
21651 grep -v '^ *+' conftest.er1 >conftest.err
21653 cat conftest.err >&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); } && {
21656 test -z "$ac_c_werror_flag" ||
21657 test ! -s conftest.err
21658 } && test -s conftest.$ac_objext; then
21659 ac_hi=$ac_mid; break
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.$ac_ext >&5
21664 ac_lo=`expr $ac_mid + 1`
21665 if test $ac_lo -le $ac_mid; then
21669 ac_mid=`expr 2 '*' $ac_mid + 1`
21672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21675 echo "$as_me: failed program was:" >&5
21676 sed 's/^/| /' conftest.$ac_ext >&5
21678 cat >conftest.$ac_ext <<_ACEOF
21681 cat confdefs.h >>conftest.$ac_ext
21682 cat >>conftest.$ac_ext <<_ACEOF
21683 /* end confdefs.h. */
21685 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21686 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21687 # error "fake wchar_t"
21689 #ifdef HAVE_WCHAR_H
21691 # include <stddef.h>
21693 # include <wchar.h>
21695 #ifdef HAVE_STDLIB_H
21696 # include <stdlib.h>
21702 typedef wchar_t ac__type_sizeof_;
21706 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21713 rm -f conftest.$ac_objext
21714 if { (ac_try="$ac_compile"
21715 case "(($ac_try" in
21716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21717 *) ac_try_echo=$ac_try;;
21719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21720 (eval "$ac_compile") 2>conftest.er1
21722 grep -v '^ *+' conftest.er1 >conftest.err
21724 cat conftest.err >&5
21725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726 (exit $ac_status); } && {
21727 test -z "$ac_c_werror_flag" ||
21728 test ! -s conftest.err
21729 } && test -s conftest.$ac_objext; then
21732 cat >conftest.$ac_ext <<_ACEOF
21735 cat confdefs.h >>conftest.$ac_ext
21736 cat >>conftest.$ac_ext <<_ACEOF
21737 /* end confdefs.h. */
21739 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21740 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21741 # error "fake wchar_t"
21743 #ifdef HAVE_WCHAR_H
21745 # include <stddef.h>
21747 # include <wchar.h>
21749 #ifdef HAVE_STDLIB_H
21750 # include <stdlib.h>
21756 typedef wchar_t ac__type_sizeof_;
21760 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21767 rm -f conftest.$ac_objext
21768 if { (ac_try="$ac_compile"
21769 case "(($ac_try" in
21770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21771 *) ac_try_echo=$ac_try;;
21773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21774 (eval "$ac_compile") 2>conftest.er1
21776 grep -v '^ *+' conftest.er1 >conftest.err
21778 cat conftest.err >&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); } && {
21781 test -z "$ac_c_werror_flag" ||
21782 test ! -s conftest.err
21783 } && test -s conftest.$ac_objext; then
21784 ac_lo=$ac_mid; break
21786 echo "$as_me: failed program was:" >&5
21787 sed 's/^/| /' conftest.$ac_ext >&5
21789 ac_hi=`expr '(' $ac_mid ')' - 1`
21790 if test $ac_mid -le $ac_hi; then
21794 ac_mid=`expr 2 '*' $ac_mid`
21797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21800 echo "$as_me: failed program was:" >&5
21801 sed 's/^/| /' conftest.$ac_ext >&5
21806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21810 # Binary search between lo and hi bounds.
21811 while test "x$ac_lo" != "x$ac_hi"; do
21812 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21813 cat >conftest.$ac_ext <<_ACEOF
21816 cat confdefs.h >>conftest.$ac_ext
21817 cat >>conftest.$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21820 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21821 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21822 # error "fake wchar_t"
21824 #ifdef HAVE_WCHAR_H
21826 # include <stddef.h>
21828 # include <wchar.h>
21830 #ifdef HAVE_STDLIB_H
21831 # include <stdlib.h>
21837 typedef wchar_t ac__type_sizeof_;
21841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21848 rm -f conftest.$ac_objext
21849 if { (ac_try="$ac_compile"
21850 case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852 *) ac_try_echo=$ac_try;;
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_compile") 2>conftest.er1
21857 grep -v '^ *+' conftest.er1 >conftest.err
21859 cat conftest.err >&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } && {
21862 test -z "$ac_c_werror_flag" ||
21863 test ! -s conftest.err
21864 } && test -s conftest.$ac_objext; then
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21870 ac_lo=`expr '(' $ac_mid ')' + 1`
21873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21876 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21877 '') if test "$ac_cv_type_wchar_t" = yes; then
21878 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21879 See \`config.log' for more details." >&5
21880 echo "$as_me: error: cannot compute sizeof (wchar_t)
21881 See \`config.log' for more details." >&2;}
21882 { (exit 77); exit 77; }; }
21884 ac_cv_sizeof_wchar_t=0
21888 cat >conftest.$ac_ext <<_ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21895 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21896 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21897 # error "fake wchar_t"
21899 #ifdef HAVE_WCHAR_H
21901 # include <stddef.h>
21903 # include <wchar.h>
21905 #ifdef HAVE_STDLIB_H
21906 # include <stdlib.h>
21912 typedef wchar_t ac__type_sizeof_;
21913 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21914 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21916 #include <stdlib.h>
21921 FILE *f = fopen ("conftest.val", "w");
21924 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21926 long int i = longval ();
21927 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21929 fprintf (f, "%ld\n", i);
21933 unsigned long int i = ulongval ();
21934 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21936 fprintf (f, "%lu\n", i);
21938 return ferror (f) || fclose (f) != 0;
21944 rm -f conftest$ac_exeext
21945 if { (ac_try="$ac_link"
21946 case "(($ac_try" in
21947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21948 *) ac_try_echo=$ac_try;;
21950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21951 (eval "$ac_link") 2>&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21955 { (case "(($ac_try" in
21956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21957 *) ac_try_echo=$ac_try;;
21959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21960 (eval "$ac_try") 2>&5
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); }; }; then
21964 ac_cv_sizeof_wchar_t=`cat conftest.val`
21966 echo "$as_me: program exited with status $ac_status" >&5
21967 echo "$as_me: failed program was:" >&5
21968 sed 's/^/| /' conftest.$ac_ext >&5
21970 ( exit $ac_status )
21971 if test "$ac_cv_type_wchar_t" = yes; then
21972 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21973 See \`config.log' for more details." >&5
21974 echo "$as_me: error: cannot compute sizeof (wchar_t)
21975 See \`config.log' for more details." >&2;}
21976 { (exit 77); exit 77; }; }
21978 ac_cv_sizeof_wchar_t=0
21981 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21985 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21986 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21990 cat >>confdefs.h <<_ACEOF
21991 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21995 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22001 { echo "$as_me:$LINENO: checking for va_copy" >&5
22002 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22003 if test "${wx_cv_func_va_copy+set}" = set; then
22004 echo $ECHO_N "(cached) $ECHO_C" >&6
22007 cat >conftest.$ac_ext <<_ACEOF
22009 #include <stdarg.h>
22010 void foo(char *f, ...)
22024 rm -f conftest.$ac_objext conftest$ac_exeext
22025 if { (ac_try="$ac_link"
22026 case "(($ac_try" in
22027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22028 *) ac_try_echo=$ac_try;;
22030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22031 (eval "$ac_link") 2>conftest.er1
22033 grep -v '^ *+' conftest.er1 >conftest.err
22035 cat conftest.err >&5
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); } && {
22038 test -z "$ac_c_werror_flag" ||
22039 test ! -s conftest.err
22040 } && test -s conftest$ac_exeext &&
22041 $as_test_x conftest$ac_exeext; then
22042 wx_cv_func_va_copy=yes
22044 echo "$as_me: failed program was:" >&5
22045 sed 's/^/| /' conftest.$ac_ext >&5
22047 wx_cv_func_va_copy=no
22051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22052 conftest$ac_exeext conftest.$ac_ext
22056 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22057 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22059 if test $wx_cv_func_va_copy = "yes"; then
22060 cat >>confdefs.h <<\_ACEOF
22061 #define HAVE_VA_COPY 1
22065 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22066 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22067 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22068 echo $ECHO_N "(cached) $ECHO_C" >&6
22071 if test "$cross_compiling" = yes; then
22072 wx_cv_type_va_list_lvalue=yes
22075 cat >conftest.$ac_ext <<_ACEOF
22077 #include <stdarg.h>
22078 int foo(char *f, ...)
22083 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22091 return foo("hi", 17);
22094 rm -f conftest$ac_exeext
22095 if { (ac_try="$ac_link"
22096 case "(($ac_try" in
22097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_link") 2>&5
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22105 { (case "(($ac_try" in
22106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22107 *) ac_try_echo=$ac_try;;
22109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22110 (eval "$ac_try") 2>&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); }; }; then
22114 wx_cv_type_va_list_lvalue=yes
22116 echo "$as_me: program exited with status $ac_status" >&5
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.$ac_ext >&5
22120 ( exit $ac_status )
22121 wx_cv_type_va_list_lvalue=no
22123 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: $wx_cv_type_va_list_lvalue" >&5
22131 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22133 if test $wx_cv_type_va_list_lvalue != "yes"; then
22134 cat >>confdefs.h <<\_ACEOF
22135 #define VA_LIST_IS_ARRAY 1
22141 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22143 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22144 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22145 if test "${wx_cv_have_variadic_macros+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22150 ac_cpp='$CXXCPP $CPPFLAGS'
22151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22155 cat >conftest.$ac_ext <<_ACEOF
22158 cat confdefs.h >>conftest.$ac_ext
22159 cat >>conftest.$ac_ext <<_ACEOF
22160 /* end confdefs.h. */
22163 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22169 test("%s %d %p", "test", 1, 0);
22176 rm -f conftest.$ac_objext
22177 if { (ac_try="$ac_compile"
22178 case "(($ac_try" in
22179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22180 *) ac_try_echo=$ac_try;;
22182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22183 (eval "$ac_compile") 2>conftest.er1
22185 grep -v '^ *+' conftest.er1 >conftest.err
22187 cat conftest.err >&5
22188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189 (exit $ac_status); } && {
22190 test -z "$ac_cxx_werror_flag" ||
22191 test ! -s conftest.err
22192 } && test -s conftest.$ac_objext; then
22193 wx_cv_have_variadic_macros=yes
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.$ac_ext >&5
22198 wx_cv_have_variadic_macros=no
22202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22204 ac_cpp='$CPP $CPPFLAGS'
22205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22212 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22213 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22215 if test $wx_cv_have_variadic_macros = "yes"; then
22216 cat >>confdefs.h <<\_ACEOF
22217 #define HAVE_VARIADIC_MACROS 1
22223 # Check whether --enable-largefile was given.
22224 if test "${enable_largefile+set}" = set; then
22225 enableval=$enable_largefile;
22228 if test "$enable_largefile" != no; then
22231 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22232 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22233 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22234 echo $ECHO_N "(cached) $ECHO_C" >&6
22237 cat >conftest.$ac_ext <<_ACEOF
22240 cat confdefs.h >>conftest.$ac_ext
22241 cat >>conftest.$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22243 #define _FILE_OFFSET_BITS 64
22244 #include <sys/types.h>
22249 unsigned int field: sizeof(off_t) == 8;
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22265 grep -v '^ *+' conftest.er1 >conftest.err
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && {
22270 test -z "$ac_c_werror_flag" ||
22271 test ! -s conftest.err
22272 } && test -s conftest.$ac_objext; then
22273 ac_cv_sys_file_offset_bits=64
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22278 ac_cv_sys_file_offset_bits=no
22281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22285 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22286 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22288 if test "$ac_cv_sys_file_offset_bits" != no; then
22290 cat >>confdefs.h <<_ACEOF
22291 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22296 if test "x$wx_largefile" != "xyes"; then
22298 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22299 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22300 if test "${ac_cv_sys_large_files+set}" = set; then
22301 echo $ECHO_N "(cached) $ECHO_C" >&6
22304 cat >conftest.$ac_ext <<_ACEOF
22307 cat confdefs.h >>conftest.$ac_ext
22308 cat >>conftest.$ac_ext <<_ACEOF
22309 /* end confdefs.h. */
22310 #define _LARGE_FILES 1
22311 #include <sys/types.h>
22316 unsigned int field: sizeof(off_t) == 8;
22323 rm -f conftest.$ac_objext
22324 if { (ac_try="$ac_compile"
22325 case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_compile") 2>conftest.er1
22332 grep -v '^ *+' conftest.er1 >conftest.err
22334 cat conftest.err >&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); } && {
22337 test -z "$ac_c_werror_flag" ||
22338 test ! -s conftest.err
22339 } && test -s conftest.$ac_objext; then
22340 ac_cv_sys_large_files=1
22342 echo "$as_me: failed program was:" >&5
22343 sed 's/^/| /' conftest.$ac_ext >&5
22345 ac_cv_sys_large_files=no
22348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22352 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22353 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22355 if test "$ac_cv_sys_large_files" != no; then
22357 cat >>confdefs.h <<_ACEOF
22358 #define _LARGE_FILES $ac_cv_sys_large_files
22365 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22366 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22367 if test "x$wx_largefile" = "xyes"; then
22368 cat >>confdefs.h <<\_ACEOF
22369 #define HAVE_LARGEFILE_SUPPORT 1
22373 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22374 echo "${ECHO_T}$wx_largefile" >&6; }
22378 if test "x$wx_largefile" = "xyes"; then
22379 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22380 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22382 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22383 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22384 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22385 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22386 echo $ECHO_N "(cached) $ECHO_C" >&6
22390 ac_cpp='$CXXCPP $CPPFLAGS'
22391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22395 cat >conftest.$ac_ext <<_ACEOF
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22406 #ifndef __STDC_EXT__
22414 rm -f conftest.$ac_objext
22415 if { (ac_try="$ac_compile"
22416 case "(($ac_try" in
22417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22418 *) ac_try_echo=$ac_try;;
22420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22421 (eval "$ac_compile") 2>conftest.er1
22423 grep -v '^ *+' conftest.er1 >conftest.err
22425 cat conftest.err >&5
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); } && {
22428 test -z "$ac_cxx_werror_flag" ||
22429 test ! -s conftest.err
22430 } && test -s conftest.$ac_objext; then
22431 wx_cv_STDC_EXT_required=no
22433 echo "$as_me: failed program was:" >&5
22434 sed 's/^/| /' conftest.$ac_ext >&5
22436 wx_cv_STDC_EXT_required=yes
22440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22442 ac_cpp='$CPP $CPPFLAGS'
22443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22450 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22451 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22452 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22453 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22457 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22459 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22460 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22461 if test "${ac_cv_sys_largefile_source+set}" = set; then
22462 echo $ECHO_N "(cached) $ECHO_C" >&6
22465 cat >conftest.$ac_ext <<_ACEOF
22468 cat confdefs.h >>conftest.$ac_ext
22469 cat >>conftest.$ac_ext <<_ACEOF
22470 /* end confdefs.h. */
22475 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22480 rm -f conftest.$ac_objext conftest$ac_exeext
22481 if { (ac_try="$ac_link"
22482 case "(($ac_try" in
22483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22484 *) ac_try_echo=$ac_try;;
22486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22487 (eval "$ac_link") 2>conftest.er1
22489 grep -v '^ *+' conftest.er1 >conftest.err
22491 cat conftest.err >&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); } && {
22494 test -z "$ac_c_werror_flag" ||
22495 test ! -s conftest.err
22496 } && test -s conftest$ac_exeext &&
22497 $as_test_x conftest$ac_exeext; then
22498 ac_cv_sys_largefile_source=no; break
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.$ac_ext >&5
22506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22507 conftest$ac_exeext conftest.$ac_ext
22508 cat >conftest.$ac_ext <<_ACEOF
22511 cat confdefs.h >>conftest.$ac_ext
22512 cat >>conftest.$ac_ext <<_ACEOF
22513 /* end confdefs.h. */
22514 #define _LARGEFILE_SOURCE 1
22519 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22524 rm -f conftest.$ac_objext conftest$ac_exeext
22525 if { (ac_try="$ac_link"
22526 case "(($ac_try" in
22527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22528 *) ac_try_echo=$ac_try;;
22530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22531 (eval "$ac_link") 2>conftest.er1
22533 grep -v '^ *+' conftest.er1 >conftest.err
22535 cat conftest.err >&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } && {
22538 test -z "$ac_c_werror_flag" ||
22539 test ! -s conftest.err
22540 } && test -s conftest$ac_exeext &&
22541 $as_test_x conftest$ac_exeext; then
22542 ac_cv_sys_largefile_source=1; break
22544 echo "$as_me: failed program was:" >&5
22545 sed 's/^/| /' conftest.$ac_ext >&5
22550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22551 conftest$ac_exeext conftest.$ac_ext
22552 ac_cv_sys_largefile_source=unknown
22556 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22557 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22558 case $ac_cv_sys_largefile_source in #(
22561 cat >>confdefs.h <<_ACEOF
22562 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22568 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22569 # in glibc 2.1.3, but that breaks too many other things.
22570 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22571 if test $ac_cv_sys_largefile_source != unknown; then
22573 cat >>confdefs.h <<\_ACEOF
22574 #define HAVE_FSEEKO 1
22579 if test "$ac_cv_sys_largefile_source" != no; then
22580 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22584 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22585 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22586 if test "${ac_cv_c_bigendian+set}" = set; then
22587 echo $ECHO_N "(cached) $ECHO_C" >&6
22589 ac_cv_c_bigendian=unknown
22590 # See if sys/param.h defines the BYTE_ORDER macro.
22591 cat >conftest.$ac_ext <<_ACEOF
22594 cat confdefs.h >>conftest.$ac_ext
22595 cat >>conftest.$ac_ext <<_ACEOF
22596 /* end confdefs.h. */
22597 #include <sys/types.h>
22598 #include <sys/param.h>
22603 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22604 bogus endian macros
22610 rm -f conftest.$ac_objext
22611 if { (ac_try="$ac_compile"
22612 case "(($ac_try" in
22613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614 *) ac_try_echo=$ac_try;;
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_compile") 2>conftest.er1
22619 grep -v '^ *+' conftest.er1 >conftest.err
22621 cat conftest.err >&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } && {
22624 test -z "$ac_c_werror_flag" ||
22625 test ! -s conftest.err
22626 } && test -s conftest.$ac_objext; then
22627 # It does; now see whether it defined to BIG_ENDIAN or not.
22628 cat >conftest.$ac_ext <<_ACEOF
22631 cat confdefs.h >>conftest.$ac_ext
22632 cat >>conftest.$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 #include <sys/types.h>
22635 #include <sys/param.h>
22640 #if BYTE_ORDER != BIG_ENDIAN
22647 rm -f conftest.$ac_objext
22648 if { (ac_try="$ac_compile"
22649 case "(($ac_try" in
22650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22651 *) ac_try_echo=$ac_try;;
22653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22654 (eval "$ac_compile") 2>conftest.er1
22656 grep -v '^ *+' conftest.er1 >conftest.err
22658 cat conftest.err >&5
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); } && {
22661 test -z "$ac_c_werror_flag" ||
22662 test ! -s conftest.err
22663 } && test -s conftest.$ac_objext; then
22664 ac_cv_c_bigendian=yes
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.$ac_ext >&5
22669 ac_cv_c_bigendian=no
22672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22674 echo "$as_me: failed program was:" >&5
22675 sed 's/^/| /' conftest.$ac_ext >&5
22680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681 if test $ac_cv_c_bigendian = unknown; then
22682 if test "$cross_compiling" = yes; then
22683 ac_cv_c_bigendian=unknown
22685 cat >conftest.$ac_ext <<_ACEOF
22688 cat confdefs.h >>conftest.$ac_ext
22689 cat >>conftest.$ac_ext <<_ACEOF
22690 /* end confdefs.h. */
22692 /* Are we little or big endian? From Harbison&Steele. */
22696 char c[sizeof (long)];
22699 exit (u.c[sizeof (long) - 1] == 1);
22702 rm -f conftest$ac_exeext
22703 if { (ac_try="$ac_link"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_link") 2>&5
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22713 { (case "(($ac_try" in
22714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22715 *) ac_try_echo=$ac_try;;
22717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22718 (eval "$ac_try") 2>&5
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); }; }; then
22722 ac_cv_c_bigendian=no
22724 echo "$as_me: program exited with status $ac_status" >&5
22725 echo "$as_me: failed program was:" >&5
22726 sed 's/^/| /' conftest.$ac_ext >&5
22728 ( exit $ac_status )
22729 ac_cv_c_bigendian=yes
22731 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22737 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22738 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22739 if test $ac_cv_c_bigendian = unknown; then
22740 { 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
22741 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;}
22743 if test $ac_cv_c_bigendian = yes; then
22744 cat >>confdefs.h <<\_ACEOF
22745 #define WORDS_BIGENDIAN 1
22754 ac_cpp='$CXXCPP $CPPFLAGS'
22755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22760 { echo "$as_me:$LINENO: checking for iostream" >&5
22761 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22762 if test "${ac_cv_header_iostream+set}" = set; then
22763 echo $ECHO_N "(cached) $ECHO_C" >&6
22765 cat >conftest.$ac_ext <<_ACEOF
22768 cat confdefs.h >>conftest.$ac_ext
22769 cat >>conftest.$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22773 #include <iostream>
22775 rm -f conftest.$ac_objext
22776 if { (ac_try="$ac_compile"
22777 case "(($ac_try" in
22778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22779 *) ac_try_echo=$ac_try;;
22781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22782 (eval "$ac_compile") 2>conftest.er1
22784 grep -v '^ *+' conftest.er1 >conftest.err
22786 cat conftest.err >&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } && {
22789 test -z "$ac_cxx_werror_flag" ||
22790 test ! -s conftest.err
22791 } && test -s conftest.$ac_objext; then
22792 ac_cv_header_iostream=yes
22794 echo "$as_me: failed program was:" >&5
22795 sed 's/^/| /' conftest.$ac_ext >&5
22797 ac_cv_header_iostream=no
22800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22802 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22803 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22807 if test "$ac_cv_header_iostream" = "yes" ; then
22810 cat >>confdefs.h <<\_ACEOF
22811 #define wxUSE_IOSTREAMH 1
22817 ac_cpp='$CPP $CPPFLAGS'
22818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22825 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22826 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22827 if test "${wx_cv_cpp_bool+set}" = set; then
22828 echo $ECHO_N "(cached) $ECHO_C" >&6
22833 ac_cpp='$CXXCPP $CPPFLAGS'
22834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22839 cat >conftest.$ac_ext <<_ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22859 rm -f conftest.$ac_objext
22860 if { (ac_try="$ac_compile"
22861 case "(($ac_try" in
22862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22863 *) ac_try_echo=$ac_try;;
22865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22866 (eval "$ac_compile") 2>conftest.er1
22868 grep -v '^ *+' conftest.er1 >conftest.err
22870 cat conftest.err >&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } && {
22873 test -z "$ac_cxx_werror_flag" ||
22874 test ! -s conftest.err
22875 } && test -s conftest.$ac_objext; then
22880 echo "$as_me: failed program was:" >&5
22881 sed 's/^/| /' conftest.$ac_ext >&5
22889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22892 ac_cpp='$CPP $CPPFLAGS'
22893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22899 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22900 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22902 if test "$wx_cv_cpp_bool" = "yes"; then
22903 cat >>confdefs.h <<\_ACEOF
22904 #define HAVE_BOOL 1
22911 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22912 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22913 if test "${wx_cv_explicit+set}" = set; then
22914 echo $ECHO_N "(cached) $ECHO_C" >&6
22919 ac_cpp='$CXXCPP $CPPFLAGS'
22920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22925 cat >conftest.$ac_ext <<_ACEOF
22928 cat confdefs.h >>conftest.$ac_ext
22929 cat >>conftest.$ac_ext <<_ACEOF
22930 /* end confdefs.h. */
22932 class Foo { public: explicit Foo(int) {} };
22944 rm -f conftest.$ac_objext
22945 if { (ac_try="$ac_compile"
22946 case "(($ac_try" in
22947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22948 *) ac_try_echo=$ac_try;;
22950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22951 (eval "$ac_compile") 2>conftest.er1
22953 grep -v '^ *+' conftest.er1 >conftest.err
22955 cat conftest.err >&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); } && {
22958 test -z "$ac_cxx_werror_flag" ||
22959 test ! -s conftest.err
22960 } && test -s conftest.$ac_objext; then
22962 cat >conftest.$ac_ext <<_ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22969 class Foo { public: explicit Foo(int) {} };
22970 static void TakeFoo(const Foo& foo) { }
22983 rm -f conftest.$ac_objext
22984 if { (ac_try="$ac_compile"
22985 case "(($ac_try" in
22986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22987 *) ac_try_echo=$ac_try;;
22989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22990 (eval "$ac_compile") 2>conftest.er1
22992 grep -v '^ *+' conftest.er1 >conftest.err
22994 cat conftest.err >&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } && {
22997 test -z "$ac_cxx_werror_flag" ||
22998 test ! -s conftest.err
22999 } && test -s conftest.$ac_objext; then
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.$ac_ext >&5
23009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23012 echo "$as_me: failed program was:" >&5
23013 sed 's/^/| /' conftest.$ac_ext >&5
23019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23022 ac_cpp='$CPP $CPPFLAGS'
23023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23029 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23030 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23032 if test "$wx_cv_explicit" = "yes"; then
23033 cat >>confdefs.h <<\_ACEOF
23034 #define HAVE_EXPLICIT 1
23040 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23041 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23042 if test "${ac_cv_cxx_const_cast+set}" = set; then
23043 echo $ECHO_N "(cached) $ECHO_C" >&6
23047 ac_cpp='$CXXCPP $CPPFLAGS'
23048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23052 cat >conftest.$ac_ext <<_ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23062 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23067 rm -f conftest.$ac_objext
23068 if { (ac_try="$ac_compile"
23069 case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_compile") 2>conftest.er1
23076 grep -v '^ *+' conftest.er1 >conftest.err
23078 cat conftest.err >&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } && {
23081 test -z "$ac_cxx_werror_flag" ||
23082 test ! -s conftest.err
23083 } && test -s conftest.$ac_objext; then
23084 ac_cv_cxx_const_cast=yes
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23089 ac_cv_cxx_const_cast=no
23092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23094 ac_cpp='$CPP $CPPFLAGS'
23095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23101 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23102 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23103 if test "$ac_cv_cxx_const_cast" = yes; then
23105 cat >>confdefs.h <<\_ACEOF
23106 #define HAVE_CONST_CAST
23111 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23112 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23113 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23114 echo $ECHO_N "(cached) $ECHO_C" >&6
23118 ac_cpp='$CXXCPP $CPPFLAGS'
23119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23123 cat >conftest.$ac_ext <<_ACEOF
23126 cat confdefs.h >>conftest.$ac_ext
23127 cat >>conftest.$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23129 #include <typeinfo>
23130 class Base { public : Base () {} virtual void f () = 0;};
23131 class Derived : public Base { public : Derived () {} virtual void f () {} };
23132 class Unrelated { public : Unrelated () {} };
23133 int g (Unrelated&) { return 0; }
23138 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23143 rm -f conftest.$ac_objext
23144 if { (ac_try="$ac_compile"
23145 case "(($ac_try" in
23146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23147 *) ac_try_echo=$ac_try;;
23149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23150 (eval "$ac_compile") 2>conftest.er1
23152 grep -v '^ *+' conftest.er1 >conftest.err
23154 cat conftest.err >&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); } && {
23157 test -z "$ac_cxx_werror_flag" ||
23158 test ! -s conftest.err
23159 } && test -s conftest.$ac_objext; then
23160 ac_cv_cxx_reinterpret_cast=yes
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23165 ac_cv_cxx_reinterpret_cast=no
23168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23170 ac_cpp='$CPP $CPPFLAGS'
23171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23177 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23178 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23179 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23181 cat >>confdefs.h <<\_ACEOF
23182 #define HAVE_REINTERPRET_CAST
23187 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23188 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23189 if test "${ac_cv_cxx_static_cast+set}" = set; then
23190 echo $ECHO_N "(cached) $ECHO_C" >&6
23194 ac_cpp='$CXXCPP $CPPFLAGS'
23195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23199 cat >conftest.$ac_ext <<_ACEOF
23202 cat confdefs.h >>conftest.$ac_ext
23203 cat >>conftest.$ac_ext <<_ACEOF
23204 /* end confdefs.h. */
23205 #include <typeinfo>
23206 class Base { public : Base () {} virtual void f () = 0; };
23207 class Derived : public Base { public : Derived () {} virtual void f () {} };
23208 int g (Derived&) { return 0; }
23213 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23218 rm -f conftest.$ac_objext
23219 if { (ac_try="$ac_compile"
23220 case "(($ac_try" in
23221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23222 *) ac_try_echo=$ac_try;;
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_compile") 2>conftest.er1
23227 grep -v '^ *+' conftest.er1 >conftest.err
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } && {
23232 test -z "$ac_cxx_werror_flag" ||
23233 test ! -s conftest.err
23234 } && test -s conftest.$ac_objext; then
23235 ac_cv_cxx_static_cast=yes
23237 echo "$as_me: failed program was:" >&5
23238 sed 's/^/| /' conftest.$ac_ext >&5
23240 ac_cv_cxx_static_cast=no
23243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245 ac_cpp='$CPP $CPPFLAGS'
23246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23252 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23253 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23254 if test "$ac_cv_cxx_static_cast" = yes; then
23256 cat >>confdefs.h <<\_ACEOF
23257 #define HAVE_STATIC_CAST
23263 if test "x$SUNCXX" = xyes; then
23264 CXXFLAGS="-features=tmplife $CXXFLAGS"
23267 if test "x$SUNCC" = xyes; then
23268 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23271 if test "x$SGICC" = "xyes"; then
23272 CFLAGS="-woff 3970 $CFLAGS"
23274 if test "x$SGICXX" = "xyes"; then
23275 CXXFLAGS="-woff 3970 $CXXFLAGS"
23278 if test "x$HPCC" = "xyes"; then
23279 CFLAGS="+W 2011,2450 $CFLAGS"
23281 if test "x$HPCXX" = "xyes"; then
23282 CXXFLAGS="+W 2340 $CXXFLAGS"
23285 if test "x$COMPAQCXX" = "xyes"; then
23286 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23290 ac_cpp='$CXXCPP $CPPFLAGS'
23291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23296 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23297 if test "$wxUSE_UNICODE" = "yes"; then
23298 std_string="std::wstring"
23299 char_type="wchar_t"
23301 std_string="std::string"
23305 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23306 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23307 if test "${wx_cv_class_stdstring+set}" = set; then
23308 echo $ECHO_N "(cached) $ECHO_C" >&6
23311 cat >conftest.$ac_ext <<_ACEOF
23314 cat confdefs.h >>conftest.$ac_ext
23315 cat >>conftest.$ac_ext <<_ACEOF
23316 /* end confdefs.h. */
23326 rm -f conftest.$ac_objext
23327 if { (ac_try="$ac_compile"
23328 case "(($ac_try" in
23329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23330 *) ac_try_echo=$ac_try;;
23332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23333 (eval "$ac_compile") 2>conftest.er1
23335 grep -v '^ *+' conftest.er1 >conftest.err
23337 cat conftest.err >&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); } && {
23340 test -z "$ac_cxx_werror_flag" ||
23341 test ! -s conftest.err
23342 } && test -s conftest.$ac_objext; then
23343 wx_cv_class_stdstring=yes
23345 echo "$as_me: failed program was:" >&5
23346 sed 's/^/| /' conftest.$ac_ext >&5
23348 wx_cv_class_stdstring=no
23352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23356 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23357 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23359 if test "$wx_cv_class_stdstring" = yes; then
23360 if test "$wxUSE_UNICODE" = "yes"; then
23361 cat >>confdefs.h <<\_ACEOF
23362 #define HAVE_STD_WSTRING 1
23367 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23368 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23369 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23370 echo $ECHO_N "(cached) $ECHO_C" >&6
23373 cat >conftest.$ac_ext <<_ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23380 #ifdef HAVE_WCHAR_H
23382 # include <stddef.h>
23384 # include <wchar.h>
23386 #ifdef HAVE_STDLIB_H
23387 # include <stdlib.h>
23395 std::basic_string<$char_type> foo;
23396 const $char_type* dummy = foo.c_str();
23401 rm -f conftest.$ac_objext
23402 if { (ac_try="$ac_compile"
23403 case "(($ac_try" in
23404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23405 *) ac_try_echo=$ac_try;;
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_compile") 2>conftest.er1
23410 grep -v '^ *+' conftest.er1 >conftest.err
23412 cat conftest.err >&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } && {
23415 test -z "$ac_cxx_werror_flag" ||
23416 test ! -s conftest.err
23417 } && test -s conftest.$ac_objext; then
23418 wx_cv_class_stdbasicstring=yes
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23423 wx_cv_class_stdbasicstring=no
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23431 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23432 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23434 if test "$wx_cv_class_stdbasicstring" != yes; then
23435 if test "$wxUSE_STL" = "yes"; then
23436 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23437 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23438 { (exit 1); exit 1; }; }
23439 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23440 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23441 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23442 { (exit 1); exit 1; }; }
23444 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23445 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23446 wxUSE_STD_STRING=no
23452 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23453 { echo "$as_me:$LINENO: checking for std::istream" >&5
23454 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23455 if test "${ac_cv_type_std__istream+set}" = set; then
23456 echo $ECHO_N "(cached) $ECHO_C" >&6
23458 cat >conftest.$ac_ext <<_ACEOF
23461 cat confdefs.h >>conftest.$ac_ext
23462 cat >>conftest.$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23464 #include <iostream>
23466 typedef std::istream ac__type_new_;
23470 if ((ac__type_new_ *) 0)
23472 if (sizeof (ac__type_new_))
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_cxx_werror_flag" ||
23493 test ! -s conftest.err
23494 } && test -s conftest.$ac_objext; then
23495 ac_cv_type_std__istream=yes
23497 echo "$as_me: failed program was:" >&5
23498 sed 's/^/| /' conftest.$ac_ext >&5
23500 ac_cv_type_std__istream=no
23503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23505 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23506 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23507 if test $ac_cv_type_std__istream = yes; then
23509 cat >>confdefs.h <<_ACEOF
23510 #define HAVE_STD__ISTREAM 1
23515 wxUSE_STD_IOSTREAM=no
23517 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23518 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23519 if test "${ac_cv_type_std__ostream+set}" = set; then
23520 echo $ECHO_N "(cached) $ECHO_C" >&6
23522 cat >conftest.$ac_ext <<_ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528 #include <iostream>
23530 typedef std::ostream ac__type_new_;
23534 if ((ac__type_new_ *) 0)
23536 if (sizeof (ac__type_new_))
23542 rm -f conftest.$ac_objext
23543 if { (ac_try="$ac_compile"
23544 case "(($ac_try" in
23545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23546 *) ac_try_echo=$ac_try;;
23548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23549 (eval "$ac_compile") 2>conftest.er1
23551 grep -v '^ *+' conftest.er1 >conftest.err
23553 cat conftest.err >&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } && {
23556 test -z "$ac_cxx_werror_flag" ||
23557 test ! -s conftest.err
23558 } && test -s conftest.$ac_objext; then
23559 ac_cv_type_std__ostream=yes
23561 echo "$as_me: failed program was:" >&5
23562 sed 's/^/| /' conftest.$ac_ext >&5
23564 ac_cv_type_std__ostream=no
23567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23569 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23570 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23571 if test $ac_cv_type_std__ostream = yes; then
23573 cat >>confdefs.h <<_ACEOF
23574 #define HAVE_STD__OSTREAM 1
23579 wxUSE_STD_IOSTREAM=no
23583 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23584 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23585 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23586 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23587 { (exit 1); exit 1; }; }
23589 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23590 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23595 if test "$wxUSE_STL" = "yes"; then
23596 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23597 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23598 if test "${wx_cv_lib_stl+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23601 cat >conftest.$ac_ext <<_ACEOF
23604 cat confdefs.h >>conftest.$ac_ext
23605 cat >>conftest.$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23608 #include <functional>
23609 #include <algorithm>
23615 std::vector<int> moo;
23616 std::list<int> foo;
23617 std::vector<int>::iterator it =
23618 std::find_if(moo.begin(), moo.end(),
23619 std::bind2nd(std::less<int>(), 3));
23624 rm -f conftest.$ac_objext
23625 if { (ac_try="$ac_compile"
23626 case "(($ac_try" in
23627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23628 *) ac_try_echo=$ac_try;;
23630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23631 (eval "$ac_compile") 2>conftest.er1
23633 grep -v '^ *+' conftest.er1 >conftest.err
23635 cat conftest.err >&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); } && {
23638 test -z "$ac_cxx_werror_flag" ||
23639 test ! -s conftest.err
23640 } && test -s conftest.$ac_objext; then
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.$ac_ext >&5
23650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23653 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23654 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23656 if test "$wx_cv_lib_stl" != yes; then
23657 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23658 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23659 { (exit 1); exit 1; }; }
23662 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23663 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23664 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23665 echo $ECHO_N "(cached) $ECHO_C" >&6
23667 cat >conftest.$ac_ext <<_ACEOF
23670 cat confdefs.h >>conftest.$ac_ext
23671 cat >>conftest.$ac_ext <<_ACEOF
23672 /* end confdefs.h. */
23677 std::string foo, bar;
23679 foo.compare(1, 1, bar);
23680 foo.compare(1, 1, bar, 1, 1);
23682 foo.compare(1, 1, "");
23683 foo.compare(1, 1, "", 2);
23688 rm -f conftest.$ac_objext
23689 if { (ac_try="$ac_compile"
23690 case "(($ac_try" in
23691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23692 *) ac_try_echo=$ac_try;;
23694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23695 (eval "$ac_compile") 2>conftest.er1
23697 grep -v '^ *+' conftest.er1 >conftest.err
23699 cat conftest.err >&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); } && {
23702 test -z "$ac_cxx_werror_flag" ||
23703 test ! -s conftest.err
23704 } && test -s conftest.$ac_objext; then
23705 wx_cv_func_stdstring_compare=yes
23707 echo "$as_me: failed program was:" >&5
23708 sed 's/^/| /' conftest.$ac_ext >&5
23710 wx_cv_func_stdstring_compare=no
23714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23717 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23718 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23720 if test "$wx_cv_func_stdstring_compare" = yes; then
23721 cat >>confdefs.h <<\_ACEOF
23722 #define HAVE_STD_STRING_COMPARE 1
23727 { echo "$as_me:$LINENO: checking for hash_map" >&5
23728 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23729 if test "${ac_cv_header_hash_map+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 cat >conftest.$ac_ext <<_ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23741 #include <hash_map>
23743 rm -f conftest.$ac_objext
23744 if { (ac_try="$ac_compile"
23745 case "(($ac_try" in
23746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23747 *) ac_try_echo=$ac_try;;
23749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23750 (eval "$ac_compile") 2>conftest.er1
23752 grep -v '^ *+' conftest.er1 >conftest.err
23754 cat conftest.err >&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); } && {
23757 test -z "$ac_cxx_werror_flag" ||
23758 test ! -s conftest.err
23759 } && test -s conftest.$ac_objext; then
23760 ac_cv_header_hash_map=yes
23762 echo "$as_me: failed program was:" >&5
23763 sed 's/^/| /' conftest.$ac_ext >&5
23765 ac_cv_header_hash_map=no
23768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23770 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23771 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23772 if test $ac_cv_header_hash_map = yes; then
23773 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23774 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23775 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23776 echo $ECHO_N "(cached) $ECHO_C" >&6
23778 cat >conftest.$ac_ext <<_ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23784 #include <hash_map>
23785 #include <hash_set>
23789 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23790 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23795 rm -f conftest.$ac_objext
23796 if { (ac_try="$ac_compile"
23797 case "(($ac_try" in
23798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23799 *) ac_try_echo=$ac_try;;
23801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23802 (eval "$ac_compile") 2>conftest.er1
23804 grep -v '^ *+' conftest.er1 >conftest.err
23806 cat conftest.err >&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } && {
23809 test -z "$ac_cxx_werror_flag" ||
23810 test ! -s conftest.err
23811 } && test -s conftest.$ac_objext; then
23812 wx_cv_class_stdhashmapset=yes
23814 echo "$as_me: failed program was:" >&5
23815 sed 's/^/| /' conftest.$ac_ext >&5
23817 wx_cv_class_stdhashmapset=no
23820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23824 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23825 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23830 if test "$wx_cv_class_stdhashmapset" = yes; then
23831 cat >>confdefs.h <<\_ACEOF
23832 #define HAVE_HASH_MAP 1
23835 cat >>confdefs.h <<\_ACEOF
23836 #define HAVE_STD_HASH_MAP 1
23841 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23842 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23843 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23844 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 cat >conftest.$ac_ext <<_ACEOF
23849 cat confdefs.h >>conftest.$ac_ext
23850 cat >>conftest.$ac_ext <<_ACEOF
23851 /* end confdefs.h. */
23855 #include <ext/hash_map>
23857 rm -f conftest.$ac_objext
23858 if { (ac_try="$ac_compile"
23859 case "(($ac_try" in
23860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23861 *) ac_try_echo=$ac_try;;
23863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23864 (eval "$ac_compile") 2>conftest.er1
23866 grep -v '^ *+' conftest.er1 >conftest.err
23868 cat conftest.err >&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); } && {
23871 test -z "$ac_cxx_werror_flag" ||
23872 test ! -s conftest.err
23873 } && test -s conftest.$ac_objext; then
23874 ac_cv_header_ext_hash_map=yes
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.$ac_ext >&5
23879 ac_cv_header_ext_hash_map=no
23882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23884 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23885 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23886 if test $ac_cv_header_ext_hash_map = yes; then
23887 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23888 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23889 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23890 echo $ECHO_N "(cached) $ECHO_C" >&6
23892 cat >conftest.$ac_ext <<_ACEOF
23895 cat confdefs.h >>conftest.$ac_ext
23896 cat >>conftest.$ac_ext <<_ACEOF
23897 /* end confdefs.h. */
23898 #include <ext/hash_map>
23899 #include <ext/hash_set>
23903 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23904 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23909 rm -f conftest.$ac_objext
23910 if { (ac_try="$ac_compile"
23911 case "(($ac_try" in
23912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23913 *) ac_try_echo=$ac_try;;
23915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23916 (eval "$ac_compile") 2>conftest.er1
23918 grep -v '^ *+' conftest.er1 >conftest.err
23920 cat conftest.err >&5
23921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23922 (exit $ac_status); } && {
23923 test -z "$ac_cxx_werror_flag" ||
23924 test ! -s conftest.err
23925 } && test -s conftest.$ac_objext; then
23926 wx_cv_class_gnuhashmapset=yes
23928 echo "$as_me: failed program was:" >&5
23929 sed 's/^/| /' conftest.$ac_ext >&5
23931 wx_cv_class_gnuhashmapset=no
23934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23938 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23939 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23944 if test "$wx_cv_class_gnuhashmapset" = yes; then
23945 cat >>confdefs.h <<\_ACEOF
23946 #define HAVE_EXT_HASH_MAP 1
23949 cat >>confdefs.h <<\_ACEOF
23950 #define HAVE_GNU_CXX_HASH_MAP 1
23957 ac_cpp='$CPP $CPPFLAGS'
23958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23965 /usr/local/include \
23967 /usr/Motif-2.1/include \
23968 /usr/Motif-1.2/include \
23969 /usr/include/Motif1.2 \
23972 /usr/openwin/include \
23976 /usr/X11R6/include \
23977 /usr/X11R6.4/include \
23978 /usr/X11R5/include \
23979 /usr/X11R4/include \
23981 /usr/include/X11R6 \
23982 /usr/include/X11R5 \
23983 /usr/include/X11R4 \
23985 /usr/local/X11R6/include \
23986 /usr/local/X11R5/include \
23987 /usr/local/X11R4/include \
23989 /usr/local/include/X11R6 \
23990 /usr/local/include/X11R5 \
23991 /usr/local/include/X11R4 \
23995 /usr/local/X11/include \
23996 /usr/local/include/X11 \
23998 /usr/XFree86/include/X11 \
24001 /usr/openwin/share/include"
24003 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24004 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24008 if test "${wx_cv_std_libpath+set}" = set; then
24009 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24013 for e in a so sl dylib dll.a; do
24015 if test -f $libc; then
24018 cat >conftest.$ac_ext <<_ACEOF
24019 int main() { return 0; }
24021 rm -f conftest.$ac_objext conftest$ac_exeext
24022 if { (ac_try="$ac_link"
24023 case "(($ac_try" in
24024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24025 *) ac_try_echo=$ac_try;;
24027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24028 (eval "$ac_link") 2>conftest.er1
24030 grep -v '^ *+' conftest.er1 >conftest.err
24032 cat conftest.err >&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } && {
24035 test -z "$ac_c_werror_flag" ||
24036 test ! -s conftest.err
24037 } && test -s conftest$ac_exeext &&
24038 $as_test_x conftest$ac_exeext; then
24039 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.$ac_ext >&5
24047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24048 conftest$ac_exeext conftest.$ac_ext
24050 if test "x$wx_cv_std_libpath" != "x"; then
24056 if test "x$wx_cv_std_libpath" = "x"; then
24057 wx_cv_std_libpath="lib"
24066 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24067 wx_cv_std_libpath="lib/64"
24069 wx_cv_std_libpath="lib"
24074 if test "$ac_cv_sizeof_void_p" = 8 -a \
24075 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24076 wx_cv_std_libpath="lib64"
24078 wx_cv_std_libpath="lib"
24083 wx_cv_std_libpath="lib";
24087 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24088 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24090 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24092 if test "$build" != "$host" -a "$GCC" = yes; then
24093 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24094 cross_root=`dirname $cross_root`
24095 cross_root=`dirname $cross_root`
24097 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24098 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24099 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24101 if test -z "$PKG_CONFIG_PATH"; then
24102 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24103 export PKG_CONFIG_PATH
24106 if test -z "$x_includes" -o "$x_includes" = NONE; then
24109 for ac_dir in $SEARCH_INCLUDE /usr/include;
24111 if test -f "$ac_dir/X11/Intrinsic.h"; then
24112 ac_find_includes=$ac_dir
24117 x_includes=$ac_find_includes
24119 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24122 for ac_dir in $SEARCH_LIB;
24124 for ac_extension in a so sl dylib dll.a; do
24125 if test -f "$ac_dir/libXt.$ac_extension"; then
24126 ac_find_libraries=$ac_dir
24132 x_libraries=$ac_find_libraries
24138 cat >confcache <<\_ACEOF
24139 # This file is a shell script that caches the results of configure
24140 # tests run on this system so they can be shared between configure
24141 # scripts and configure runs, see configure's option --config-cache.
24142 # It is not useful on other systems. If it contains results you don't
24143 # want to keep, you may remove or edit it.
24145 # config.status only pays attention to the cache file if you give it
24146 # the --recheck option to rerun configure.
24148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24150 # following values.
24154 # The following way of writing the cache mishandles newlines in values,
24155 # but we know of no workaround that is simple, portable, and efficient.
24156 # So, we kill variables containing newlines.
24157 # Ultrix sh set writes to stderr and can't be redirected directly,
24158 # and sets the high bit in the cache file unless we assign to the vars.
24160 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24161 eval ac_val=\$$ac_var
24165 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24166 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24169 _ | IFS | as_nl) ;; #(
24170 *) $as_unset $ac_var ;;
24176 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24177 *${as_nl}ac_space=\ *)
24178 # `set' does not quote correctly, so add quotes (double-quote
24179 # substitution turns \\\\ into \\, and sed turns \\ into \).
24182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24185 # `set' quotes correctly as required by POSIX, so do not add quotes.
24186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24195 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24197 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24199 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24200 if test -w "$cache_file"; then
24201 test "x$cache_file" != "x/dev/null" &&
24202 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24203 echo "$as_me: updating cache $cache_file" >&6;}
24204 cat confcache >$cache_file
24206 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24207 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24212 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24213 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24214 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24215 if test "${wx_cv_lib_glibc21+set}" = set; then
24216 echo $ECHO_N "(cached) $ECHO_C" >&6
24219 cat >conftest.$ac_ext <<_ACEOF
24222 cat confdefs.h >>conftest.$ac_ext
24223 cat >>conftest.$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24225 #include <features.h>
24230 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24238 rm -f conftest.$ac_objext
24239 if { (ac_try="$ac_compile"
24240 case "(($ac_try" in
24241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24242 *) ac_try_echo=$ac_try;;
24244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24245 (eval "$ac_compile") 2>conftest.er1
24247 grep -v '^ *+' conftest.er1 >conftest.err
24249 cat conftest.err >&5
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); } && {
24252 test -z "$ac_c_werror_flag" ||
24253 test ! -s conftest.err
24254 } && test -s conftest.$ac_objext; then
24256 wx_cv_lib_glibc21=yes
24259 echo "$as_me: failed program was:" >&5
24260 sed 's/^/| /' conftest.$ac_ext >&5
24263 wx_cv_lib_glibc21=no
24268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24271 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24272 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24273 if test "$wx_cv_lib_glibc21" = "yes"; then
24274 cat >>confdefs.h <<\_ACEOF
24275 #define wxHAVE_GLIBC2 1
24281 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24282 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24283 cat >>confdefs.h <<\_ACEOF
24284 #define _GNU_SOURCE 1
24295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24299 echo $ECHO_N "(cached) $ECHO_C" >&6
24301 cat >conftest.$ac_ext <<_ACEOF
24304 cat confdefs.h >>conftest.$ac_ext
24305 cat >>conftest.$ac_ext <<_ACEOF
24306 /* end confdefs.h. */
24307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24309 #define $ac_func innocuous_$ac_func
24311 /* System header to define __stub macros and hopefully few prototypes,
24312 which can conflict with char $ac_func (); below.
24313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24314 <limits.h> exists even on freestanding compilers. */
24317 # include <limits.h>
24319 # include <assert.h>
24324 /* Override any GCC internal prototype to avoid an error.
24325 Use char because int might match the return type of a GCC
24326 builtin and then its argument prototype would still apply. */
24331 /* The GNU C library defines this for functions which it implements
24332 to always fail with ENOSYS. Some functions are actually named
24333 something starting with __ and the normal name is an alias. */
24334 #if defined __stub_$ac_func || defined __stub___$ac_func
24341 return $ac_func ();
24346 rm -f conftest.$ac_objext conftest$ac_exeext
24347 if { (ac_try="$ac_link"
24348 case "(($ac_try" in
24349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24350 *) ac_try_echo=$ac_try;;
24352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24353 (eval "$ac_link") 2>conftest.er1
24355 grep -v '^ *+' conftest.er1 >conftest.err
24357 cat conftest.err >&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); } && {
24360 test -z "$ac_c_werror_flag" ||
24361 test ! -s conftest.err
24362 } && test -s conftest$ac_exeext &&
24363 $as_test_x conftest$ac_exeext; then
24364 eval "$as_ac_var=yes"
24366 echo "$as_me: failed program was:" >&5
24367 sed 's/^/| /' conftest.$ac_ext >&5
24369 eval "$as_ac_var=no"
24372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24373 conftest$ac_exeext conftest.$ac_ext
24375 ac_res=`eval echo '${'$as_ac_var'}'`
24376 { echo "$as_me:$LINENO: result: $ac_res" >&5
24377 echo "${ECHO_T}$ac_res" >&6; }
24378 if test `eval echo '${'$as_ac_var'}'` = yes; then
24379 cat >>confdefs.h <<_ACEOF
24380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24387 for ac_func in floor
24389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24390 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24392 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24393 echo $ECHO_N "(cached) $ECHO_C" >&6
24395 cat >conftest.$ac_ext <<_ACEOF
24398 cat confdefs.h >>conftest.$ac_ext
24399 cat >>conftest.$ac_ext <<_ACEOF
24400 /* end confdefs.h. */
24401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24403 #define $ac_func innocuous_$ac_func
24405 /* System header to define __stub macros and hopefully few prototypes,
24406 which can conflict with char $ac_func (); below.
24407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24408 <limits.h> exists even on freestanding compilers. */
24411 # include <limits.h>
24413 # include <assert.h>
24418 /* Override any GCC internal prototype to avoid an error.
24419 Use char because int might match the return type of a GCC
24420 builtin and then its argument prototype would still apply. */
24425 /* The GNU C library defines this for functions which it implements
24426 to always fail with ENOSYS. Some functions are actually named
24427 something starting with __ and the normal name is an alias. */
24428 #if defined __stub_$ac_func || defined __stub___$ac_func
24435 return $ac_func ();
24440 rm -f conftest.$ac_objext conftest$ac_exeext
24441 if { (ac_try="$ac_link"
24442 case "(($ac_try" in
24443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24444 *) ac_try_echo=$ac_try;;
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_link") 2>conftest.er1
24449 grep -v '^ *+' conftest.er1 >conftest.err
24451 cat conftest.err >&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } && {
24454 test -z "$ac_c_werror_flag" ||
24455 test ! -s conftest.err
24456 } && test -s conftest$ac_exeext &&
24457 $as_test_x conftest$ac_exeext; then
24458 eval "$as_ac_var=yes"
24460 echo "$as_me: failed program was:" >&5
24461 sed 's/^/| /' conftest.$ac_ext >&5
24463 eval "$as_ac_var=no"
24466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24467 conftest$ac_exeext conftest.$ac_ext
24469 ac_res=`eval echo '${'$as_ac_var'}'`
24470 { echo "$as_me:$LINENO: result: $ac_res" >&5
24471 echo "${ECHO_T}$ac_res" >&6; }
24472 if test `eval echo '${'$as_ac_var'}'` = yes; then
24473 cat >>confdefs.h <<_ACEOF
24474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24480 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24481 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24482 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24483 { echo "$as_me:$LINENO: result: yes" >&5
24484 echo "${ECHO_T}yes" >&6; }
24486 { echo "$as_me:$LINENO: result: no" >&5
24487 echo "${ECHO_T}no" >&6; }
24489 # use different functions to avoid configure caching
24495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24496 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24498 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24499 echo $ECHO_N "(cached) $ECHO_C" >&6
24501 cat >conftest.$ac_ext <<_ACEOF
24504 cat confdefs.h >>conftest.$ac_ext
24505 cat >>conftest.$ac_ext <<_ACEOF
24506 /* end confdefs.h. */
24507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24509 #define $ac_func innocuous_$ac_func
24511 /* System header to define __stub macros and hopefully few prototypes,
24512 which can conflict with char $ac_func (); below.
24513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24514 <limits.h> exists even on freestanding compilers. */
24517 # include <limits.h>
24519 # include <assert.h>
24524 /* Override any GCC internal prototype to avoid an error.
24525 Use char because int might match the return type of a GCC
24526 builtin and then its argument prototype would still apply. */
24531 /* The GNU C library defines this for functions which it implements
24532 to always fail with ENOSYS. Some functions are actually named
24533 something starting with __ and the normal name is an alias. */
24534 #if defined __stub_$ac_func || defined __stub___$ac_func
24541 return $ac_func ();
24546 rm -f conftest.$ac_objext conftest$ac_exeext
24547 if { (ac_try="$ac_link"
24548 case "(($ac_try" in
24549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24550 *) ac_try_echo=$ac_try;;
24552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24553 (eval "$ac_link") 2>conftest.er1
24555 grep -v '^ *+' conftest.er1 >conftest.err
24557 cat conftest.err >&5
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); } && {
24560 test -z "$ac_c_werror_flag" ||
24561 test ! -s conftest.err
24562 } && test -s conftest$ac_exeext &&
24563 $as_test_x conftest$ac_exeext; then
24564 eval "$as_ac_var=yes"
24566 echo "$as_me: failed program was:" >&5
24567 sed 's/^/| /' conftest.$ac_ext >&5
24569 eval "$as_ac_var=no"
24572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24573 conftest$ac_exeext conftest.$ac_ext
24575 ac_res=`eval echo '${'$as_ac_var'}'`
24576 { echo "$as_me:$LINENO: result: $ac_res" >&5
24577 echo "${ECHO_T}$ac_res" >&6; }
24578 if test `eval echo '${'$as_ac_var'}'` = yes; then
24579 cat >>confdefs.h <<_ACEOF
24580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24587 for ac_func in ceil
24589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24590 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24592 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24593 echo $ECHO_N "(cached) $ECHO_C" >&6
24595 cat >conftest.$ac_ext <<_ACEOF
24598 cat confdefs.h >>conftest.$ac_ext
24599 cat >>conftest.$ac_ext <<_ACEOF
24600 /* end confdefs.h. */
24601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24603 #define $ac_func innocuous_$ac_func
24605 /* System header to define __stub macros and hopefully few prototypes,
24606 which can conflict with char $ac_func (); below.
24607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24608 <limits.h> exists even on freestanding compilers. */
24611 # include <limits.h>
24613 # include <assert.h>
24618 /* Override any GCC internal prototype to avoid an error.
24619 Use char because int might match the return type of a GCC
24620 builtin and then its argument prototype would still apply. */
24625 /* The GNU C library defines this for functions which it implements
24626 to always fail with ENOSYS. Some functions are actually named
24627 something starting with __ and the normal name is an alias. */
24628 #if defined __stub_$ac_func || defined __stub___$ac_func
24635 return $ac_func ();
24640 rm -f conftest.$ac_objext conftest$ac_exeext
24641 if { (ac_try="$ac_link"
24642 case "(($ac_try" in
24643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24644 *) ac_try_echo=$ac_try;;
24646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24647 (eval "$ac_link") 2>conftest.er1
24649 grep -v '^ *+' conftest.er1 >conftest.err
24651 cat conftest.err >&5
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); } && {
24654 test -z "$ac_c_werror_flag" ||
24655 test ! -s conftest.err
24656 } && test -s conftest$ac_exeext &&
24657 $as_test_x conftest$ac_exeext; then
24658 eval "$as_ac_var=yes"
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24663 eval "$as_ac_var=no"
24666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24667 conftest$ac_exeext conftest.$ac_ext
24669 ac_res=`eval echo '${'$as_ac_var'}'`
24670 { echo "$as_me:$LINENO: result: $ac_res" >&5
24671 echo "${ECHO_T}$ac_res" >&6; }
24672 if test `eval echo '${'$as_ac_var'}'` = yes; then
24673 cat >>confdefs.h <<_ACEOF
24674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24680 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24681 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24682 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24683 { echo "$as_me:$LINENO: result: yes" >&5
24684 echo "${ECHO_T}yes" >&6; }
24686 { echo "$as_me:$LINENO: result: no" >&5
24687 echo "${ECHO_T}no" >&6; }
24688 # not sure we should warn the user, crash, etc.
24693 ac_cpp='$CXXCPP $CPPFLAGS'
24694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24698 if test "wxUSE_UNICODE" = "yes"; then
24700 for wx_func in wcstoull
24702 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24703 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24704 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24705 echo $ECHO_N "(cached) $ECHO_C" >&6
24708 cat >conftest.$ac_ext <<_ACEOF
24712 cat confdefs.h >>conftest.$ac_ext
24713 cat >>conftest.$ac_ext <<_ACEOF
24714 /* end confdefs.h. */
24717 $ac_includes_default
24733 rm -f conftest.$ac_objext conftest$ac_exeext
24734 if { (ac_try="$ac_link"
24735 case "(($ac_try" in
24736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24737 *) ac_try_echo=$ac_try;;
24739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24740 (eval "$ac_link") 2>conftest.er1
24742 grep -v '^ *+' conftest.er1 >conftest.err
24744 cat conftest.err >&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } && {
24747 test -z "$ac_cxx_werror_flag" ||
24748 test ! -s conftest.err
24749 } && test -s conftest$ac_exeext &&
24750 $as_test_x conftest$ac_exeext; then
24751 eval wx_cv_func_$wx_func=yes
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.$ac_ext >&5
24756 eval wx_cv_func_$wx_func=no
24759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24760 conftest$ac_exeext conftest.$ac_ext
24763 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24764 { echo "$as_me:$LINENO: result: $ac_res" >&5
24765 echo "${ECHO_T}$ac_res" >&6; }
24767 if eval test \$wx_cv_func_$wx_func = yes
24769 cat >>confdefs.h <<_ACEOF
24770 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24782 for wx_func in strtoull
24784 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24785 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24786 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24787 echo $ECHO_N "(cached) $ECHO_C" >&6
24790 cat >conftest.$ac_ext <<_ACEOF
24794 cat confdefs.h >>conftest.$ac_ext
24795 cat >>conftest.$ac_ext <<_ACEOF
24796 /* end confdefs.h. */
24799 $ac_includes_default
24815 rm -f conftest.$ac_objext conftest$ac_exeext
24816 if { (ac_try="$ac_link"
24817 case "(($ac_try" in
24818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24819 *) ac_try_echo=$ac_try;;
24821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24822 (eval "$ac_link") 2>conftest.er1
24824 grep -v '^ *+' conftest.er1 >conftest.err
24826 cat conftest.err >&5
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); } && {
24829 test -z "$ac_cxx_werror_flag" ||
24830 test ! -s conftest.err
24831 } && test -s conftest$ac_exeext &&
24832 $as_test_x conftest$ac_exeext; then
24833 eval wx_cv_func_$wx_func=yes
24835 echo "$as_me: failed program was:" >&5
24836 sed 's/^/| /' conftest.$ac_ext >&5
24838 eval wx_cv_func_$wx_func=no
24841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24842 conftest$ac_exeext conftest.$ac_ext
24845 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24846 { echo "$as_me:$LINENO: result: $ac_res" >&5
24847 echo "${ECHO_T}$ac_res" >&6; }
24849 if eval test \$wx_cv_func_$wx_func = yes
24851 cat >>confdefs.h <<_ACEOF
24852 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24864 ac_cpp='$CPP $CPPFLAGS'
24865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24872 if test "$wxUSE_REGEX" != "no"; then
24873 cat >>confdefs.h <<\_ACEOF
24874 #define wxUSE_REGEX 1
24878 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24879 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24880 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24881 wxUSE_REGEX=builtin
24884 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24885 { echo "$as_me:$LINENO: checking for regex.h" >&5
24886 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24887 if test "${ac_cv_header_regex_h+set}" = set; then
24888 echo $ECHO_N "(cached) $ECHO_C" >&6
24890 cat >conftest.$ac_ext <<_ACEOF
24893 cat confdefs.h >>conftest.$ac_ext
24894 cat >>conftest.$ac_ext <<_ACEOF
24895 /* end confdefs.h. */
24900 rm -f conftest.$ac_objext
24901 if { (ac_try="$ac_compile"
24902 case "(($ac_try" in
24903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24904 *) ac_try_echo=$ac_try;;
24906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24907 (eval "$ac_compile") 2>conftest.er1
24909 grep -v '^ *+' conftest.er1 >conftest.err
24911 cat conftest.err >&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } && {
24914 test -z "$ac_c_werror_flag" ||
24915 test ! -s conftest.err
24916 } && test -s conftest.$ac_objext; then
24917 ac_cv_header_regex_h=yes
24919 echo "$as_me: failed program was:" >&5
24920 sed 's/^/| /' conftest.$ac_ext >&5
24922 ac_cv_header_regex_h=no
24925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24927 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24928 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24929 if test $ac_cv_header_regex_h = yes; then
24932 for ac_func in regcomp re_search
24934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24938 echo $ECHO_N "(cached) $ECHO_C" >&6
24940 cat >conftest.$ac_ext <<_ACEOF
24943 cat confdefs.h >>conftest.$ac_ext
24944 cat >>conftest.$ac_ext <<_ACEOF
24945 /* end confdefs.h. */
24946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24948 #define $ac_func innocuous_$ac_func
24950 /* System header to define __stub macros and hopefully few prototypes,
24951 which can conflict with char $ac_func (); below.
24952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24953 <limits.h> exists even on freestanding compilers. */
24956 # include <limits.h>
24958 # include <assert.h>
24963 /* Override any GCC internal prototype to avoid an error.
24964 Use char because int might match the return type of a GCC
24965 builtin and then its argument prototype would still apply. */
24970 /* The GNU C library defines this for functions which it implements
24971 to always fail with ENOSYS. Some functions are actually named
24972 something starting with __ and the normal name is an alias. */
24973 #if defined __stub_$ac_func || defined __stub___$ac_func
24980 return $ac_func ();
24985 rm -f conftest.$ac_objext conftest$ac_exeext
24986 if { (ac_try="$ac_link"
24987 case "(($ac_try" in
24988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24989 *) ac_try_echo=$ac_try;;
24991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24992 (eval "$ac_link") 2>conftest.er1
24994 grep -v '^ *+' conftest.er1 >conftest.err
24996 cat conftest.err >&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } && {
24999 test -z "$ac_c_werror_flag" ||
25000 test ! -s conftest.err
25001 } && test -s conftest$ac_exeext &&
25002 $as_test_x conftest$ac_exeext; then
25003 eval "$as_ac_var=yes"
25005 echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25008 eval "$as_ac_var=no"
25011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25012 conftest$ac_exeext conftest.$ac_ext
25014 ac_res=`eval echo '${'$as_ac_var'}'`
25015 { echo "$as_me:$LINENO: result: $ac_res" >&5
25016 echo "${ECHO_T}$ac_res" >&6; }
25017 if test `eval echo '${'$as_ac_var'}'` = yes; then
25018 cat >>confdefs.h <<_ACEOF
25019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25029 if test "x$ac_cv_func_regcomp" != "xyes"; then
25030 if test "$wxUSE_REGEX" = "sys" ; then
25031 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25032 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25033 { (exit 1); exit 1; }; }
25035 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25036 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25037 wxUSE_REGEX=builtin
25041 cat >>confdefs.h <<\_ACEOF
25042 #define WX_NO_REGEX_ADVANCED 1
25051 if test "$wxUSE_ZLIB" != "no" ; then
25052 cat >>confdefs.h <<\_ACEOF
25053 #define wxUSE_ZLIB 1
25057 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25058 if test "$USE_DARWIN" = 1; then
25059 system_zlib_h_ok="yes"
25061 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25062 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25063 if test "${ac_cv_header_zlib_h+set}" = set; then
25064 echo $ECHO_N "(cached) $ECHO_C" >&6
25066 if test "$cross_compiling" = yes; then
25067 unset ac_cv_header_zlib_h
25070 cat >conftest.$ac_ext <<_ACEOF
25073 cat confdefs.h >>conftest.$ac_ext
25074 cat >>conftest.$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25082 FILE *f=fopen("conftestval", "w");
25085 ZLIB_VERSION[0] == '1' &&
25086 (ZLIB_VERSION[2] > '1' ||
25087 (ZLIB_VERSION[2] == '1' &&
25088 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25093 rm -f conftest$ac_exeext
25094 if { (ac_try="$ac_link"
25095 case "(($ac_try" in
25096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25097 *) ac_try_echo=$ac_try;;
25099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25100 (eval "$ac_link") 2>&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25104 { (case "(($ac_try" in
25105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25106 *) ac_try_echo=$ac_try;;
25108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25109 (eval "$ac_try") 2>&5
25111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112 (exit $ac_status); }; }; then
25113 ac_cv_header_zlib_h=`cat conftestval`
25115 echo "$as_me: program exited with status $ac_status" >&5
25116 echo "$as_me: failed program was:" >&5
25117 sed 's/^/| /' conftest.$ac_ext >&5
25119 ( exit $ac_status )
25120 ac_cv_header_zlib_h=no
25122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25128 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25129 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25130 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25131 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25132 if test "${ac_cv_header_zlib_h+set}" = set; then
25133 echo $ECHO_N "(cached) $ECHO_C" >&6
25135 cat >conftest.$ac_ext <<_ACEOF
25138 cat confdefs.h >>conftest.$ac_ext
25139 cat >>conftest.$ac_ext <<_ACEOF
25140 /* end confdefs.h. */
25145 rm -f conftest.$ac_objext
25146 if { (ac_try="$ac_compile"
25147 case "(($ac_try" in
25148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25149 *) ac_try_echo=$ac_try;;
25151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25152 (eval "$ac_compile") 2>conftest.er1
25154 grep -v '^ *+' conftest.er1 >conftest.err
25156 cat conftest.err >&5
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); } && {
25159 test -z "$ac_c_werror_flag" ||
25160 test ! -s conftest.err
25161 } && test -s conftest.$ac_objext; then
25162 ac_cv_header_zlib_h=yes
25164 echo "$as_me: failed program was:" >&5
25165 sed 's/^/| /' conftest.$ac_ext >&5
25167 ac_cv_header_zlib_h=no
25170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25172 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25173 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25177 system_zlib_h_ok=$ac_cv_header_zlib_h
25180 if test "$system_zlib_h_ok" = "yes"; then
25181 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25182 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25183 if test "${ac_cv_lib_z_deflate+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25186 ac_check_lib_save_LIBS=$LIBS
25188 cat >conftest.$ac_ext <<_ACEOF
25191 cat confdefs.h >>conftest.$ac_ext
25192 cat >>conftest.$ac_ext <<_ACEOF
25193 /* end confdefs.h. */
25195 /* Override any GCC internal prototype to avoid an error.
25196 Use char because int might match the return type of a GCC
25197 builtin and then its argument prototype would still apply. */
25210 rm -f conftest.$ac_objext conftest$ac_exeext
25211 if { (ac_try="$ac_link"
25212 case "(($ac_try" in
25213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25214 *) ac_try_echo=$ac_try;;
25216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25217 (eval "$ac_link") 2>conftest.er1
25219 grep -v '^ *+' conftest.er1 >conftest.err
25221 cat conftest.err >&5
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); } && {
25224 test -z "$ac_c_werror_flag" ||
25225 test ! -s conftest.err
25226 } && test -s conftest$ac_exeext &&
25227 $as_test_x conftest$ac_exeext; then
25228 ac_cv_lib_z_deflate=yes
25230 echo "$as_me: failed program was:" >&5
25231 sed 's/^/| /' conftest.$ac_ext >&5
25233 ac_cv_lib_z_deflate=no
25236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25237 conftest$ac_exeext conftest.$ac_ext
25238 LIBS=$ac_check_lib_save_LIBS
25240 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25241 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25242 if test $ac_cv_lib_z_deflate = yes; then
25248 if test "x$ZLIB_LINK" = "x" ; then
25249 if test "$wxUSE_ZLIB" = "sys" ; then
25250 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25251 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25252 { (exit 1); exit 1; }; }
25254 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25255 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25266 if test "$wxUSE_LIBPNG" != "no" ; then
25267 cat >>confdefs.h <<\_ACEOF
25268 #define wxUSE_LIBPNG 1
25272 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25273 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25274 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25278 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25279 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25280 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25281 wxUSE_LIBPNG=builtin
25284 if test "$wxUSE_MGL" != 1 ; then
25285 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25286 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25287 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25288 if test "${ac_cv_header_png_h+set}" = set; then
25289 echo $ECHO_N "(cached) $ECHO_C" >&6
25291 if test "$cross_compiling" = yes; then
25292 unset ac_cv_header_png_h
25295 cat >conftest.$ac_ext <<_ACEOF
25298 cat confdefs.h >>conftest.$ac_ext
25299 cat >>conftest.$ac_ext <<_ACEOF
25300 /* end confdefs.h. */
25307 FILE *f=fopen("conftestval", "w");
25310 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25315 rm -f conftest$ac_exeext
25316 if { (ac_try="$ac_link"
25317 case "(($ac_try" in
25318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25319 *) ac_try_echo=$ac_try;;
25321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25322 (eval "$ac_link") 2>&5
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25326 { (case "(($ac_try" in
25327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25328 *) ac_try_echo=$ac_try;;
25330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25331 (eval "$ac_try") 2>&5
25333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25334 (exit $ac_status); }; }; then
25335 ac_cv_header_png_h=`cat conftestval`
25337 echo "$as_me: program exited with status $ac_status" >&5
25338 echo "$as_me: failed program was:" >&5
25339 sed 's/^/| /' conftest.$ac_ext >&5
25341 ( exit $ac_status )
25342 ac_cv_header_png_h=no
25344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25350 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25351 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25352 { echo "$as_me:$LINENO: checking for png.h" >&5
25353 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25354 if test "${ac_cv_header_png_h+set}" = set; then
25355 echo $ECHO_N "(cached) $ECHO_C" >&6
25357 cat >conftest.$ac_ext <<_ACEOF
25360 cat confdefs.h >>conftest.$ac_ext
25361 cat >>conftest.$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25367 rm -f conftest.$ac_objext
25368 if { (ac_try="$ac_compile"
25369 case "(($ac_try" in
25370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25371 *) ac_try_echo=$ac_try;;
25373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25374 (eval "$ac_compile") 2>conftest.er1
25376 grep -v '^ *+' conftest.er1 >conftest.err
25378 cat conftest.err >&5
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); } && {
25381 test -z "$ac_c_werror_flag" ||
25382 test ! -s conftest.err
25383 } && test -s conftest.$ac_objext; then
25384 ac_cv_header_png_h=yes
25386 echo "$as_me: failed program was:" >&5
25387 sed 's/^/| /' conftest.$ac_ext >&5
25389 ac_cv_header_png_h=no
25392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25394 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25395 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25399 if test "$ac_cv_header_png_h" = "yes"; then
25400 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25401 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25402 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25403 echo $ECHO_N "(cached) $ECHO_C" >&6
25405 ac_check_lib_save_LIBS=$LIBS
25406 LIBS="-lpng -lz -lm $LIBS"
25407 cat >conftest.$ac_ext <<_ACEOF
25410 cat confdefs.h >>conftest.$ac_ext
25411 cat >>conftest.$ac_ext <<_ACEOF
25412 /* end confdefs.h. */
25414 /* Override any GCC internal prototype to avoid an error.
25415 Use char because int might match the return type of a GCC
25416 builtin and then its argument prototype would still apply. */
25420 char png_check_sig ();
25424 return png_check_sig ();
25429 rm -f conftest.$ac_objext conftest$ac_exeext
25430 if { (ac_try="$ac_link"
25431 case "(($ac_try" in
25432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25433 *) ac_try_echo=$ac_try;;
25435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25436 (eval "$ac_link") 2>conftest.er1
25438 grep -v '^ *+' conftest.er1 >conftest.err
25440 cat conftest.err >&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); } && {
25443 test -z "$ac_c_werror_flag" ||
25444 test ! -s conftest.err
25445 } && test -s conftest$ac_exeext &&
25446 $as_test_x conftest$ac_exeext; then
25447 ac_cv_lib_png_png_check_sig=yes
25449 echo "$as_me: failed program was:" >&5
25450 sed 's/^/| /' conftest.$ac_ext >&5
25452 ac_cv_lib_png_png_check_sig=no
25455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25456 conftest$ac_exeext conftest.$ac_ext
25457 LIBS=$ac_check_lib_save_LIBS
25459 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25460 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25461 if test $ac_cv_lib_png_png_check_sig = yes; then
25462 PNG_LINK=" -lpng -lz"
25467 if test "x$PNG_LINK" = "x" ; then
25468 if test "$wxUSE_LIBPNG" = "sys" ; then
25469 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25470 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25471 { (exit 1); exit 1; }; }
25473 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25474 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25475 wxUSE_LIBPNG=builtin
25483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25488 if test "$wxUSE_LIBJPEG" != "no" ; then
25489 cat >>confdefs.h <<\_ACEOF
25490 #define wxUSE_LIBJPEG 1
25494 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25495 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25496 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25500 if test "$wxUSE_MGL" != 1 ; then
25501 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25502 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25503 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25504 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25505 echo $ECHO_N "(cached) $ECHO_C" >&6
25507 cat >conftest.$ac_ext <<_ACEOF
25510 cat confdefs.h >>conftest.$ac_ext
25511 cat >>conftest.$ac_ext <<_ACEOF
25512 /* end confdefs.h. */
25514 #undef HAVE_STDLIB_H
25516 #include <jpeglib.h>
25527 rm -f conftest.$ac_objext
25528 if { (ac_try="$ac_compile"
25529 case "(($ac_try" in
25530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25531 *) ac_try_echo=$ac_try;;
25533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25534 (eval "$ac_compile") 2>conftest.er1
25536 grep -v '^ *+' conftest.er1 >conftest.err
25538 cat conftest.err >&5
25539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540 (exit $ac_status); } && {
25541 test -z "$ac_c_werror_flag" ||
25542 test ! -s conftest.err
25543 } && test -s conftest.$ac_objext; then
25544 ac_cv_header_jpeglib_h=yes
25546 echo "$as_me: failed program was:" >&5
25547 sed 's/^/| /' conftest.$ac_ext >&5
25549 ac_cv_header_jpeglib_h=no
25553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25557 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25558 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25560 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25561 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25562 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25563 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25564 echo $ECHO_N "(cached) $ECHO_C" >&6
25566 ac_check_lib_save_LIBS=$LIBS
25567 LIBS="-ljpeg $LIBS"
25568 cat >conftest.$ac_ext <<_ACEOF
25571 cat confdefs.h >>conftest.$ac_ext
25572 cat >>conftest.$ac_ext <<_ACEOF
25573 /* end confdefs.h. */
25575 /* Override any GCC internal prototype to avoid an error.
25576 Use char because int might match the return type of a GCC
25577 builtin and then its argument prototype would still apply. */
25581 char jpeg_read_header ();
25585 return jpeg_read_header ();
25590 rm -f conftest.$ac_objext conftest$ac_exeext
25591 if { (ac_try="$ac_link"
25592 case "(($ac_try" in
25593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25594 *) ac_try_echo=$ac_try;;
25596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25597 (eval "$ac_link") 2>conftest.er1
25599 grep -v '^ *+' conftest.er1 >conftest.err
25601 cat conftest.err >&5
25602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603 (exit $ac_status); } && {
25604 test -z "$ac_c_werror_flag" ||
25605 test ! -s conftest.err
25606 } && test -s conftest$ac_exeext &&
25607 $as_test_x conftest$ac_exeext; then
25608 ac_cv_lib_jpeg_jpeg_read_header=yes
25610 echo "$as_me: failed program was:" >&5
25611 sed 's/^/| /' conftest.$ac_ext >&5
25613 ac_cv_lib_jpeg_jpeg_read_header=no
25616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25617 conftest$ac_exeext conftest.$ac_ext
25618 LIBS=$ac_check_lib_save_LIBS
25620 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25621 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25622 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25623 JPEG_LINK=" -ljpeg"
25628 if test "x$JPEG_LINK" = "x" ; then
25629 if test "$wxUSE_LIBJPEG" = "sys" ; then
25630 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25631 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25632 { (exit 1); exit 1; }; }
25634 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25635 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25636 wxUSE_LIBJPEG=builtin
25641 if test "$wxUSE_MSW" = 1; then
25642 { echo "$as_me:$LINENO: checking for boolean" >&5
25643 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25644 if test "${ac_cv_type_boolean+set}" = set; then
25645 echo $ECHO_N "(cached) $ECHO_C" >&6
25647 cat >conftest.$ac_ext <<_ACEOF
25650 cat confdefs.h >>conftest.$ac_ext
25651 cat >>conftest.$ac_ext <<_ACEOF
25652 /* end confdefs.h. */
25653 #include <windows.h>
25655 typedef boolean ac__type_new_;
25659 if ((ac__type_new_ *) 0)
25661 if (sizeof (ac__type_new_))
25667 rm -f conftest.$ac_objext
25668 if { (ac_try="$ac_compile"
25669 case "(($ac_try" in
25670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25671 *) ac_try_echo=$ac_try;;
25673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25674 (eval "$ac_compile") 2>conftest.er1
25676 grep -v '^ *+' conftest.er1 >conftest.err
25678 cat conftest.err >&5
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); } && {
25681 test -z "$ac_c_werror_flag" ||
25682 test ! -s conftest.err
25683 } && test -s conftest.$ac_objext; then
25684 ac_cv_type_boolean=yes
25686 echo "$as_me: failed program was:" >&5
25687 sed 's/^/| /' conftest.$ac_ext >&5
25689 ac_cv_type_boolean=no
25692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25694 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25695 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25696 if test $ac_cv_type_boolean = yes; then
25698 cat >>confdefs.h <<_ACEOF
25699 #define HAVE_BOOLEAN 1
25703 { echo "$as_me:$LINENO: checking for boolean" >&5
25704 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25705 if test "${ac_cv_type_boolean+set}" = set; then
25706 echo $ECHO_N "(cached) $ECHO_C" >&6
25708 cat >conftest.$ac_ext <<_ACEOF
25711 cat confdefs.h >>conftest.$ac_ext
25712 cat >>conftest.$ac_ext <<_ACEOF
25713 /* end confdefs.h. */
25715 #undef HAVE_BOOLEAN
25717 #include <jpeglib.h>
25720 typedef boolean ac__type_new_;
25724 if ((ac__type_new_ *) 0)
25726 if (sizeof (ac__type_new_))
25732 rm -f conftest.$ac_objext
25733 if { (ac_try="$ac_compile"
25734 case "(($ac_try" in
25735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25736 *) ac_try_echo=$ac_try;;
25738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25739 (eval "$ac_compile") 2>conftest.er1
25741 grep -v '^ *+' conftest.er1 >conftest.err
25743 cat conftest.err >&5
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); } && {
25746 test -z "$ac_c_werror_flag" ||
25747 test ! -s conftest.err
25748 } && test -s conftest.$ac_objext; then
25749 ac_cv_type_boolean=yes
25751 echo "$as_me: failed program was:" >&5
25752 sed 's/^/| /' conftest.$ac_ext >&5
25754 ac_cv_type_boolean=no
25757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25759 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25760 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25762 # The cast to long int works around a bug in the HP C Compiler
25763 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25764 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25765 # This bug is HP SR number 8606223364.
25766 { echo "$as_me:$LINENO: checking size of boolean" >&5
25767 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25768 if test "${ac_cv_sizeof_boolean+set}" = set; then
25769 echo $ECHO_N "(cached) $ECHO_C" >&6
25771 if test "$cross_compiling" = yes; then
25772 # Depending upon the size, compute the lo and hi bounds.
25773 cat >conftest.$ac_ext <<_ACEOF
25776 cat confdefs.h >>conftest.$ac_ext
25777 cat >>conftest.$ac_ext <<_ACEOF
25778 /* end confdefs.h. */
25780 #undef HAVE_BOOLEAN
25782 #include <jpeglib.h>
25785 typedef boolean ac__type_sizeof_;
25789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25796 rm -f conftest.$ac_objext
25797 if { (ac_try="$ac_compile"
25798 case "(($ac_try" in
25799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25800 *) ac_try_echo=$ac_try;;
25802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25803 (eval "$ac_compile") 2>conftest.er1
25805 grep -v '^ *+' conftest.er1 >conftest.err
25807 cat conftest.err >&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); } && {
25810 test -z "$ac_c_werror_flag" ||
25811 test ! -s conftest.err
25812 } && test -s conftest.$ac_objext; then
25815 cat >conftest.$ac_ext <<_ACEOF
25818 cat confdefs.h >>conftest.$ac_ext
25819 cat >>conftest.$ac_ext <<_ACEOF
25820 /* end confdefs.h. */
25822 #undef HAVE_BOOLEAN
25824 #include <jpeglib.h>
25827 typedef boolean ac__type_sizeof_;
25831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25838 rm -f conftest.$ac_objext
25839 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
25847 grep -v '^ *+' conftest.er1 >conftest.err
25849 cat conftest.err >&5
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); } && {
25852 test -z "$ac_c_werror_flag" ||
25853 test ! -s conftest.err
25854 } && test -s conftest.$ac_objext; then
25855 ac_hi=$ac_mid; break
25857 echo "$as_me: failed program was:" >&5
25858 sed 's/^/| /' conftest.$ac_ext >&5
25860 ac_lo=`expr $ac_mid + 1`
25861 if test $ac_lo -le $ac_mid; then
25865 ac_mid=`expr 2 '*' $ac_mid + 1`
25868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25874 cat >conftest.$ac_ext <<_ACEOF
25877 cat confdefs.h >>conftest.$ac_ext
25878 cat >>conftest.$ac_ext <<_ACEOF
25879 /* end confdefs.h. */
25881 #undef HAVE_BOOLEAN
25883 #include <jpeglib.h>
25886 typedef boolean ac__type_sizeof_;
25890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25897 rm -f conftest.$ac_objext
25898 if { (ac_try="$ac_compile"
25899 case "(($ac_try" in
25900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25901 *) ac_try_echo=$ac_try;;
25903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25904 (eval "$ac_compile") 2>conftest.er1
25906 grep -v '^ *+' conftest.er1 >conftest.err
25908 cat conftest.err >&5
25909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25910 (exit $ac_status); } && {
25911 test -z "$ac_c_werror_flag" ||
25912 test ! -s conftest.err
25913 } && test -s conftest.$ac_objext; then
25916 cat >conftest.$ac_ext <<_ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25923 #undef HAVE_BOOLEAN
25925 #include <jpeglib.h>
25928 typedef boolean ac__type_sizeof_;
25932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25939 rm -f conftest.$ac_objext
25940 if { (ac_try="$ac_compile"
25941 case "(($ac_try" in
25942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25943 *) ac_try_echo=$ac_try;;
25945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25946 (eval "$ac_compile") 2>conftest.er1
25948 grep -v '^ *+' conftest.er1 >conftest.err
25950 cat conftest.err >&5
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); } && {
25953 test -z "$ac_c_werror_flag" ||
25954 test ! -s conftest.err
25955 } && test -s conftest.$ac_objext; then
25956 ac_lo=$ac_mid; break
25958 echo "$as_me: failed program was:" >&5
25959 sed 's/^/| /' conftest.$ac_ext >&5
25961 ac_hi=`expr '(' $ac_mid ')' - 1`
25962 if test $ac_mid -le $ac_hi; then
25966 ac_mid=`expr 2 '*' $ac_mid`
25969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.$ac_ext >&5
25978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25982 # Binary search between lo and hi bounds.
25983 while test "x$ac_lo" != "x$ac_hi"; do
25984 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25985 cat >conftest.$ac_ext <<_ACEOF
25988 cat confdefs.h >>conftest.$ac_ext
25989 cat >>conftest.$ac_ext <<_ACEOF
25990 /* end confdefs.h. */
25992 #undef HAVE_BOOLEAN
25994 #include <jpeglib.h>
25997 typedef boolean ac__type_sizeof_;
26001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26008 rm -f conftest.$ac_objext
26009 if { (ac_try="$ac_compile"
26010 case "(($ac_try" in
26011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26012 *) ac_try_echo=$ac_try;;
26014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26015 (eval "$ac_compile") 2>conftest.er1
26017 grep -v '^ *+' conftest.er1 >conftest.err
26019 cat conftest.err >&5
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); } && {
26022 test -z "$ac_c_werror_flag" ||
26023 test ! -s conftest.err
26024 } && test -s conftest.$ac_objext; then
26027 echo "$as_me: failed program was:" >&5
26028 sed 's/^/| /' conftest.$ac_ext >&5
26030 ac_lo=`expr '(' $ac_mid ')' + 1`
26033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26036 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26037 '') if test "$ac_cv_type_boolean" = yes; then
26038 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26039 See \`config.log' for more details." >&5
26040 echo "$as_me: error: cannot compute sizeof (boolean)
26041 See \`config.log' for more details." >&2;}
26042 { (exit 77); exit 77; }; }
26044 ac_cv_sizeof_boolean=0
26048 cat >conftest.$ac_ext <<_ACEOF
26051 cat confdefs.h >>conftest.$ac_ext
26052 cat >>conftest.$ac_ext <<_ACEOF
26053 /* end confdefs.h. */
26055 #undef HAVE_BOOLEAN
26057 #include <jpeglib.h>
26060 typedef boolean ac__type_sizeof_;
26061 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26062 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26064 #include <stdlib.h>
26069 FILE *f = fopen ("conftest.val", "w");
26072 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26074 long int i = longval ();
26075 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26077 fprintf (f, "%ld\n", i);
26081 unsigned long int i = ulongval ();
26082 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26084 fprintf (f, "%lu\n", i);
26086 return ferror (f) || fclose (f) != 0;
26092 rm -f conftest$ac_exeext
26093 if { (ac_try="$ac_link"
26094 case "(($ac_try" in
26095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26096 *) ac_try_echo=$ac_try;;
26098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26099 (eval "$ac_link") 2>&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26103 { (case "(($ac_try" in
26104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26105 *) ac_try_echo=$ac_try;;
26107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26108 (eval "$ac_try") 2>&5
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); }; }; then
26112 ac_cv_sizeof_boolean=`cat conftest.val`
26114 echo "$as_me: program exited with status $ac_status" >&5
26115 echo "$as_me: failed program was:" >&5
26116 sed 's/^/| /' conftest.$ac_ext >&5
26118 ( exit $ac_status )
26119 if test "$ac_cv_type_boolean" = yes; then
26120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26121 See \`config.log' for more details." >&5
26122 echo "$as_me: error: cannot compute sizeof (boolean)
26123 See \`config.log' for more details." >&2;}
26124 { (exit 77); exit 77; }; }
26126 ac_cv_sizeof_boolean=0
26129 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26133 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26134 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26138 cat >>confdefs.h <<_ACEOF
26139 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26143 cat >>confdefs.h <<_ACEOF
26144 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26158 TIFF_PREREQ_LINKS=-lm
26159 if test "$wxUSE_LIBTIFF" != "no" ; then
26160 cat >>confdefs.h <<\_ACEOF
26161 #define wxUSE_LIBTIFF 1
26165 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26166 if test "$wxUSE_LIBJPEG" = "sys"; then
26167 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26169 if test "$wxUSE_ZLIB" = "sys"; then
26170 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26172 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26173 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26174 if test "${ac_cv_header_tiffio_h+set}" = set; then
26175 echo $ECHO_N "(cached) $ECHO_C" >&6
26177 cat >conftest.$ac_ext <<_ACEOF
26180 cat confdefs.h >>conftest.$ac_ext
26181 cat >>conftest.$ac_ext <<_ACEOF
26182 /* end confdefs.h. */
26186 #include <tiffio.h>
26188 rm -f conftest.$ac_objext
26189 if { (ac_try="$ac_compile"
26190 case "(($ac_try" in
26191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26192 *) ac_try_echo=$ac_try;;
26194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26195 (eval "$ac_compile") 2>conftest.er1
26197 grep -v '^ *+' conftest.er1 >conftest.err
26199 cat conftest.err >&5
26200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201 (exit $ac_status); } && {
26202 test -z "$ac_c_werror_flag" ||
26203 test ! -s conftest.err
26204 } && test -s conftest.$ac_objext; then
26205 ac_cv_header_tiffio_h=yes
26207 echo "$as_me: failed program was:" >&5
26208 sed 's/^/| /' conftest.$ac_ext >&5
26210 ac_cv_header_tiffio_h=no
26213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26215 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26216 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26217 if test $ac_cv_header_tiffio_h = yes; then
26219 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26220 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26221 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26222 echo $ECHO_N "(cached) $ECHO_C" >&6
26224 ac_check_lib_save_LIBS=$LIBS
26225 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26226 cat >conftest.$ac_ext <<_ACEOF
26229 cat confdefs.h >>conftest.$ac_ext
26230 cat >>conftest.$ac_ext <<_ACEOF
26231 /* end confdefs.h. */
26233 /* Override any GCC internal prototype to avoid an error.
26234 Use char because int might match the return type of a GCC
26235 builtin and then its argument prototype would still apply. */
26243 return TIFFError ();
26248 rm -f conftest.$ac_objext conftest$ac_exeext
26249 if { (ac_try="$ac_link"
26250 case "(($ac_try" in
26251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26252 *) ac_try_echo=$ac_try;;
26254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26255 (eval "$ac_link") 2>conftest.er1
26257 grep -v '^ *+' conftest.er1 >conftest.err
26259 cat conftest.err >&5
26260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26261 (exit $ac_status); } && {
26262 test -z "$ac_c_werror_flag" ||
26263 test ! -s conftest.err
26264 } && test -s conftest$ac_exeext &&
26265 $as_test_x conftest$ac_exeext; then
26266 ac_cv_lib_tiff_TIFFError=yes
26268 echo "$as_me: failed program was:" >&5
26269 sed 's/^/| /' conftest.$ac_ext >&5
26271 ac_cv_lib_tiff_TIFFError=no
26274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26275 conftest$ac_exeext conftest.$ac_ext
26276 LIBS=$ac_check_lib_save_LIBS
26278 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26279 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26280 if test $ac_cv_lib_tiff_TIFFError = yes; then
26281 TIFF_LINK=" -ltiff"
26289 if test "x$TIFF_LINK" = "x" ; then
26290 if test "$wxUSE_LIBTIFF" = "sys" ; then
26291 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26292 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26293 { (exit 1); exit 1; }; }
26295 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26296 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26297 wxUSE_LIBTIFF=builtin
26306 if test "$wxUSE_WCHAR_T" != "yes"; then
26307 if test "$wxUSE_EXPAT" != "no"; then
26308 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26309 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26312 if test "$wxUSE_XML" != "no"; then
26313 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26314 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26319 if test "$wxUSE_EXPAT" != "no"; then
26321 cat >>confdefs.h <<\_ACEOF
26322 #define wxUSE_EXPAT 1
26325 cat >>confdefs.h <<\_ACEOF
26326 #define wxUSE_XML 1
26330 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26331 { echo "$as_me:$LINENO: checking for expat.h" >&5
26332 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26333 if test "${ac_cv_header_expat_h+set}" = set; then
26334 echo $ECHO_N "(cached) $ECHO_C" >&6
26336 cat >conftest.$ac_ext <<_ACEOF
26339 cat confdefs.h >>conftest.$ac_ext
26340 cat >>conftest.$ac_ext <<_ACEOF
26341 /* end confdefs.h. */
26346 rm -f conftest.$ac_objext
26347 if { (ac_try="$ac_compile"
26348 case "(($ac_try" in
26349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26350 *) ac_try_echo=$ac_try;;
26352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26353 (eval "$ac_compile") 2>conftest.er1
26355 grep -v '^ *+' conftest.er1 >conftest.err
26357 cat conftest.err >&5
26358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359 (exit $ac_status); } && {
26360 test -z "$ac_c_werror_flag" ||
26361 test ! -s conftest.err
26362 } && test -s conftest.$ac_objext; then
26363 ac_cv_header_expat_h=yes
26365 echo "$as_me: failed program was:" >&5
26366 sed 's/^/| /' conftest.$ac_ext >&5
26368 ac_cv_header_expat_h=no
26371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26373 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26374 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26375 if test $ac_cv_header_expat_h = yes; then
26380 if test "x$found_expat_h" = "x1"; then
26381 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26382 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26383 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26384 echo $ECHO_N "(cached) $ECHO_C" >&6
26388 ac_cpp='$CXXCPP $CPPFLAGS'
26389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26393 cat >conftest.$ac_ext <<_ACEOF
26396 cat confdefs.h >>conftest.$ac_ext
26397 cat >>conftest.$ac_ext <<_ACEOF
26398 /* end confdefs.h. */
26408 rm -f conftest.$ac_objext
26409 if { (ac_try="$ac_compile"
26410 case "(($ac_try" in
26411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26412 *) ac_try_echo=$ac_try;;
26414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26415 (eval "$ac_compile") 2>conftest.er1
26417 grep -v '^ *+' conftest.er1 >conftest.err
26419 cat conftest.err >&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); } && {
26422 test -z "$ac_cxx_werror_flag" ||
26423 test ! -s conftest.err
26424 } && test -s conftest.$ac_objext; then
26425 wx_cv_expat_is_not_broken=yes
26427 echo "$as_me: failed program was:" >&5
26428 sed 's/^/| /' conftest.$ac_ext >&5
26430 wx_cv_expat_is_not_broken=no
26434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26436 ac_cpp='$CPP $CPPFLAGS'
26437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26444 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26445 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26446 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26447 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26448 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26449 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26452 ac_check_lib_save_LIBS=$LIBS
26453 LIBS="-lexpat $LIBS"
26454 cat >conftest.$ac_ext <<_ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26461 /* Override any GCC internal prototype to avoid an error.
26462 Use char because int might match the return type of a GCC
26463 builtin and then its argument prototype would still apply. */
26467 char XML_ParserCreate ();
26471 return XML_ParserCreate ();
26476 rm -f conftest.$ac_objext conftest$ac_exeext
26477 if { (ac_try="$ac_link"
26478 case "(($ac_try" in
26479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26480 *) ac_try_echo=$ac_try;;
26482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26483 (eval "$ac_link") 2>conftest.er1
26485 grep -v '^ *+' conftest.er1 >conftest.err
26487 cat conftest.err >&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); } && {
26490 test -z "$ac_c_werror_flag" ||
26491 test ! -s conftest.err
26492 } && test -s conftest$ac_exeext &&
26493 $as_test_x conftest$ac_exeext; then
26494 ac_cv_lib_expat_XML_ParserCreate=yes
26496 echo "$as_me: failed program was:" >&5
26497 sed 's/^/| /' conftest.$ac_ext >&5
26499 ac_cv_lib_expat_XML_ParserCreate=no
26502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26503 conftest$ac_exeext conftest.$ac_ext
26504 LIBS=$ac_check_lib_save_LIBS
26506 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26507 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26508 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26509 EXPAT_LINK=" -lexpat"
26514 if test "x$EXPAT_LINK" = "x" ; then
26515 if test "$wxUSE_EXPAT" = "sys" ; then
26516 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26517 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26518 { (exit 1); exit 1; }; }
26520 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26521 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26522 wxUSE_EXPAT=builtin
26528 if test "$wxUSE_EXPAT" = "builtin" ; then
26529 subdirs="$subdirs src/expat"
26536 if test "$wxUSE_LIBMSPACK" != "no"; then
26537 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26538 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26539 if test "${ac_cv_header_mspack_h+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26542 cat >conftest.$ac_ext <<_ACEOF
26545 cat confdefs.h >>conftest.$ac_ext
26546 cat >>conftest.$ac_ext <<_ACEOF
26547 /* end confdefs.h. */
26550 #include <mspack.h>
26552 rm -f conftest.$ac_objext
26553 if { (ac_try="$ac_compile"
26554 case "(($ac_try" in
26555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26556 *) ac_try_echo=$ac_try;;
26558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26559 (eval "$ac_compile") 2>conftest.er1
26561 grep -v '^ *+' conftest.er1 >conftest.err
26563 cat conftest.err >&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); } && {
26566 test -z "$ac_c_werror_flag" ||
26567 test ! -s conftest.err
26568 } && test -s conftest.$ac_objext; then
26569 ac_cv_header_mspack_h=yes
26571 echo "$as_me: failed program was:" >&5
26572 sed 's/^/| /' conftest.$ac_ext >&5
26574 ac_cv_header_mspack_h=no
26577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26579 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26580 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26581 if test $ac_cv_header_mspack_h = yes; then
26586 if test "x$found_mspack_h" = "x1"; then
26587 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26588 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26589 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26590 echo $ECHO_N "(cached) $ECHO_C" >&6
26592 ac_check_lib_save_LIBS=$LIBS
26593 LIBS="-lmspack $LIBS"
26594 cat >conftest.$ac_ext <<_ACEOF
26597 cat confdefs.h >>conftest.$ac_ext
26598 cat >>conftest.$ac_ext <<_ACEOF
26599 /* end confdefs.h. */
26601 /* Override any GCC internal prototype to avoid an error.
26602 Use char because int might match the return type of a GCC
26603 builtin and then its argument prototype would still apply. */
26607 char mspack_create_chm_decompressor ();
26611 return mspack_create_chm_decompressor ();
26616 rm -f conftest.$ac_objext conftest$ac_exeext
26617 if { (ac_try="$ac_link"
26618 case "(($ac_try" in
26619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620 *) ac_try_echo=$ac_try;;
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623 (eval "$ac_link") 2>conftest.er1
26625 grep -v '^ *+' conftest.er1 >conftest.err
26627 cat conftest.err >&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } && {
26630 test -z "$ac_c_werror_flag" ||
26631 test ! -s conftest.err
26632 } && test -s conftest$ac_exeext &&
26633 $as_test_x conftest$ac_exeext; then
26634 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26636 echo "$as_me: failed program was:" >&5
26637 sed 's/^/| /' conftest.$ac_ext >&5
26639 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26643 conftest$ac_exeext conftest.$ac_ext
26644 LIBS=$ac_check_lib_save_LIBS
26646 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26647 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26648 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26649 MSPACK_LINK=" -lmspack"
26653 if test "x$MSPACK_LINK" = "x" ; then
26658 if test "$wxUSE_LIBMSPACK" != "no"; then
26659 cat >>confdefs.h <<\_ACEOF
26660 #define wxUSE_LIBMSPACK 1
26674 if test "$USE_WIN32" = 1 ; then
26675 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26676 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26677 if test "${ac_cv_header_w32api_h+set}" = set; then
26678 echo $ECHO_N "(cached) $ECHO_C" >&6
26680 cat >conftest.$ac_ext <<_ACEOF
26683 cat confdefs.h >>conftest.$ac_ext
26684 cat >>conftest.$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26688 #include <w32api.h>
26690 rm -f conftest.$ac_objext
26691 if { (ac_try="$ac_compile"
26692 case "(($ac_try" in
26693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26694 *) ac_try_echo=$ac_try;;
26696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26697 (eval "$ac_compile") 2>conftest.er1
26699 grep -v '^ *+' conftest.er1 >conftest.err
26701 cat conftest.err >&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } && {
26704 test -z "$ac_c_werror_flag" ||
26705 test ! -s conftest.err
26706 } && test -s conftest.$ac_objext; then
26707 ac_cv_header_w32api_h=yes
26709 echo "$as_me: failed program was:" >&5
26710 sed 's/^/| /' conftest.$ac_ext >&5
26712 ac_cv_header_w32api_h=no
26715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26717 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26718 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26721 { echo "$as_me:$LINENO: checking for windows.h" >&5
26722 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26723 if test "${ac_cv_header_windows_h+set}" = set; then
26724 echo $ECHO_N "(cached) $ECHO_C" >&6
26726 cat >conftest.$ac_ext <<_ACEOF
26729 cat confdefs.h >>conftest.$ac_ext
26730 cat >>conftest.$ac_ext <<_ACEOF
26731 /* end confdefs.h. */
26734 #include <windows.h>
26736 rm -f conftest.$ac_objext
26737 if { (ac_try="$ac_compile"
26738 case "(($ac_try" in
26739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26740 *) ac_try_echo=$ac_try;;
26742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26743 (eval "$ac_compile") 2>conftest.er1
26745 grep -v '^ *+' conftest.er1 >conftest.err
26747 cat conftest.err >&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } && {
26750 test -z "$ac_c_werror_flag" ||
26751 test ! -s conftest.err
26752 } && test -s conftest.$ac_objext; then
26753 ac_cv_header_windows_h=yes
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26758 ac_cv_header_windows_h=no
26761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26763 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26764 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26765 if test $ac_cv_header_windows_h = yes; then
26769 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26770 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26771 { (exit 1); exit 1; }; }
26777 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26779 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26780 LIBS="$LIBS -loleacc"
26785 LIBS="$LIBS -lkernel32 -luser32"
26788 if test "$wxUSE_ODBC" = "sys" ; then
26791 if test "$wxUSE_ODBC" = "yes" ; then
26792 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26793 cat >>confdefs.h <<\_ACEOF
26794 #define wxUSE_ODBC 1
26799 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26800 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26802 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26804 WIN32INSTALL=win32install
26806 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26807 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26808 if test "${ac_cv_header_pbt_h+set}" = set; then
26809 echo $ECHO_N "(cached) $ECHO_C" >&6
26811 cat >conftest.$ac_ext <<_ACEOF
26814 cat confdefs.h >>conftest.$ac_ext
26815 cat >>conftest.$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26821 rm -f conftest.$ac_objext
26822 if { (ac_try="$ac_compile"
26823 case "(($ac_try" in
26824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26825 *) ac_try_echo=$ac_try;;
26827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26828 (eval "$ac_compile") 2>conftest.er1
26830 grep -v '^ *+' conftest.er1 >conftest.err
26832 cat conftest.err >&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); } && {
26835 test -z "$ac_c_werror_flag" ||
26836 test ! -s conftest.err
26837 } && test -s conftest.$ac_objext; then
26838 ac_cv_header_pbt_h=yes
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.$ac_ext >&5
26843 ac_cv_header_pbt_h=no
26846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26848 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26849 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26850 if test $ac_cv_header_pbt_h = yes; then
26853 cat >>confdefs.h <<\_ACEOF
26854 #define NEED_PBT_H 1
26862 if test "$wxUSE_GUI" = "yes"; then
26872 if test "$wxUSE_COCOA" = 1 ; then
26873 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26874 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26875 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26876 wxUSE_PRINTING_ARCHITECTURE=no
26878 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26879 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26880 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26881 wxUSE_DRAG_AND_DROP=no
26883 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26884 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26885 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26890 if test "$wxUSE_MSW" = 1 ; then
26896 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26900 if test "$wxUSE_GTK" = 1; then
26901 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26902 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26904 gtk_version_cached=1
26905 if test "${wx_cv_lib_gtk+set}" = set; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26909 gtk_version_cached=0
26910 { echo "$as_me:$LINENO: result: " >&5
26911 echo "${ECHO_T}" >&6; }
26914 if test "$wxUSE_THREADS" = "yes"; then
26915 GTK_MODULES=gthread
26919 if test "x$wxGTK_VERSION" != "x1"
26923 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26928 # Check whether --enable-gtktest was given.
26929 if test "${enable_gtktest+set}" = set; then
26930 enableval=$enable_gtktest;
26936 pkg_config_args=gtk+-2.0
26937 for module in . $GTK_MODULES
26941 pkg_config_args="$pkg_config_args gthread-2.0"
26948 # Extract the first word of "pkg-config", so it can be a program name with args.
26949 set dummy pkg-config; ac_word=$2
26950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26952 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26953 echo $ECHO_N "(cached) $ECHO_C" >&6
26955 case $PKG_CONFIG in
26957 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26961 for as_dir in $PATH
26964 test -z "$as_dir" && as_dir=.
26965 for ac_exec_ext in '' $ac_executable_extensions; do
26966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26967 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26975 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26979 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26980 if test -n "$PKG_CONFIG"; then
26981 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26982 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26984 { echo "$as_me:$LINENO: result: no" >&5
26985 echo "${ECHO_T}no" >&6; }
26990 if test x$PKG_CONFIG != xno ; then
26991 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26994 echo "*** pkg-config too old; version 0.7 or better required."
27002 min_gtk_version=2.0.0
27003 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27004 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27006 if test x$PKG_CONFIG != xno ; then
27007 ## don't try to run the test against uninstalled libtool libs
27008 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27009 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27013 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27020 if test x"$no_gtk" = x ; then
27021 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27022 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27023 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27024 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27025 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27026 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27027 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27029 if test "x$enable_gtktest" = "xyes" ; then
27030 ac_save_CFLAGS="$CFLAGS"
27031 ac_save_LIBS="$LIBS"
27032 CFLAGS="$CFLAGS $GTK_CFLAGS"
27033 LIBS="$GTK_LIBS $LIBS"
27035 if test "$cross_compiling" = yes; then
27036 echo $ac_n "cross compiling; assumed OK... $ac_c"
27038 cat >conftest.$ac_ext <<_ACEOF
27041 cat confdefs.h >>conftest.$ac_ext
27042 cat >>conftest.$ac_ext <<_ACEOF
27043 /* end confdefs.h. */
27045 #include <gtk/gtk.h>
27047 #include <stdlib.h>
27052 int major, minor, micro;
27055 system ("touch conf.gtktest");
27057 /* HP/UX 9 (%@#!) writes to sscanf strings */
27058 tmp_version = g_strdup("$min_gtk_version");
27059 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27060 printf("%s, bad version string\n", "$min_gtk_version");
27064 if ((gtk_major_version != $gtk_config_major_version) ||
27065 (gtk_minor_version != $gtk_config_minor_version) ||
27066 (gtk_micro_version != $gtk_config_micro_version))
27068 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27069 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27070 gtk_major_version, gtk_minor_version, gtk_micro_version);
27071 printf ("*** was found! If pkg-config was correct, then it is best\n");
27072 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27073 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27074 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27075 printf("*** required on your system.\n");
27076 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27077 printf("*** to point to the correct configuration files\n");
27079 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27080 (gtk_minor_version != GTK_MINOR_VERSION) ||
27081 (gtk_micro_version != GTK_MICRO_VERSION))
27083 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27084 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27085 printf("*** library (version %d.%d.%d)\n",
27086 gtk_major_version, gtk_minor_version, gtk_micro_version);
27090 if ((gtk_major_version > major) ||
27091 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27092 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27098 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27099 gtk_major_version, gtk_minor_version, gtk_micro_version);
27100 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27101 major, minor, micro);
27102 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27104 printf("*** If you have already installed a sufficiently new version, this error\n");
27105 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27106 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27107 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27108 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27109 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27110 printf("*** so that the correct libraries are found at run-time))\n");
27117 rm -f conftest$ac_exeext
27118 if { (ac_try="$ac_link"
27119 case "(($ac_try" in
27120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27121 *) ac_try_echo=$ac_try;;
27123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27124 (eval "$ac_link") 2>&5
27126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27128 { (case "(($ac_try" in
27129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27130 *) ac_try_echo=$ac_try;;
27132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27133 (eval "$ac_try") 2>&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27139 echo "$as_me: program exited with status $ac_status" >&5
27140 echo "$as_me: failed program was:" >&5
27141 sed 's/^/| /' conftest.$ac_ext >&5
27143 ( exit $ac_status )
27146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27150 CFLAGS="$ac_save_CFLAGS"
27151 LIBS="$ac_save_LIBS"
27154 if test "x$no_gtk" = x ; then
27155 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27156 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27159 { echo "$as_me:$LINENO: result: no" >&5
27160 echo "${ECHO_T}no" >&6; }
27161 if test "$PKG_CONFIG" = "no" ; then
27162 echo "*** A new enough version of pkg-config was not found."
27163 echo "*** See http://pkgconfig.sourceforge.net"
27165 if test -f conf.gtktest ; then
27168 echo "*** Could not run GTK+ test program, checking why..."
27169 ac_save_CFLAGS="$CFLAGS"
27170 ac_save_LIBS="$LIBS"
27171 CFLAGS="$CFLAGS $GTK_CFLAGS"
27172 LIBS="$LIBS $GTK_LIBS"
27173 cat >conftest.$ac_ext <<_ACEOF
27176 cat confdefs.h >>conftest.$ac_ext
27177 cat >>conftest.$ac_ext <<_ACEOF
27178 /* end confdefs.h. */
27180 #include <gtk/gtk.h>
27186 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27191 rm -f conftest.$ac_objext conftest$ac_exeext
27192 if { (ac_try="$ac_link"
27193 case "(($ac_try" in
27194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27195 *) ac_try_echo=$ac_try;;
27197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27198 (eval "$ac_link") 2>conftest.er1
27200 grep -v '^ *+' conftest.er1 >conftest.err
27202 cat conftest.err >&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); } && {
27205 test -z "$ac_c_werror_flag" ||
27206 test ! -s conftest.err
27207 } && test -s conftest$ac_exeext &&
27208 $as_test_x conftest$ac_exeext; then
27209 echo "*** The test program compiled, but did not run. This usually means"
27210 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27211 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27212 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27213 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27214 echo "*** is required on your system"
27216 echo "*** If you have an old version installed, it is best to remove it, although"
27217 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.$ac_ext >&5
27222 echo "*** The test program failed to compile or link. See the file config.log for the"
27223 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27227 conftest$ac_exeext conftest.$ac_ext
27228 CFLAGS="$ac_save_CFLAGS"
27229 LIBS="$ac_save_LIBS"
27243 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27244 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27245 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27247 if test "$wxUSE_SHARED" != "yes"; then
27248 GTK_LIBS="$GTK_LIBS -lX11"
27253 if test -z "$wx_cv_lib_gtk"; then
27254 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27256 # Check whether --with-gtk-prefix was given.
27257 if test "${with_gtk_prefix+set}" = set; then
27258 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27260 gtk_config_prefix=""
27264 # Check whether --with-gtk-exec-prefix was given.
27265 if test "${with_gtk_exec_prefix+set}" = set; then
27266 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27268 gtk_config_exec_prefix=""
27271 # Check whether --enable-gtktest was given.
27272 if test "${enable_gtktest+set}" = set; then
27273 enableval=$enable_gtktest;
27279 for module in . $GTK_MODULES
27283 gtk_config_args="$gtk_config_args gthread"
27288 if test x$gtk_config_exec_prefix != x ; then
27289 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27290 if test x${GTK_CONFIG+set} != xset ; then
27291 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27294 if test x$gtk_config_prefix != x ; then
27295 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27296 if test x${GTK_CONFIG+set} != xset ; then
27297 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27301 # Extract the first word of "gtk-config", so it can be a program name with args.
27302 set dummy gtk-config; ac_word=$2
27303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27305 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27306 echo $ECHO_N "(cached) $ECHO_C" >&6
27308 case $GTK_CONFIG in
27310 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27314 for as_dir in $PATH
27317 test -z "$as_dir" && as_dir=.
27318 for ac_exec_ext in '' $ac_executable_extensions; do
27319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27320 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27328 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27332 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27333 if test -n "$GTK_CONFIG"; then
27334 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27335 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27337 { echo "$as_me:$LINENO: result: no" >&5
27338 echo "${ECHO_T}no" >&6; }
27342 min_gtk_version=1.2.7
27343 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27344 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27346 if test "$GTK_CONFIG" = "no" ; then
27349 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27350 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27351 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27352 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27353 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27354 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27355 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27357 if test "x$enable_gtktest" = "xyes" ; then
27358 ac_save_CFLAGS="$CFLAGS"
27359 ac_save_LIBS="$LIBS"
27360 CFLAGS="$CFLAGS $GTK_CFLAGS"
27361 LIBS="$GTK_LIBS $LIBS"
27363 if test "$cross_compiling" = yes; then
27364 echo $ac_n "cross compiling; assumed OK... $ac_c"
27366 cat >conftest.$ac_ext <<_ACEOF
27369 cat confdefs.h >>conftest.$ac_ext
27370 cat >>conftest.$ac_ext <<_ACEOF
27371 /* end confdefs.h. */
27373 #include <gtk/gtk.h>
27375 #include <stdlib.h>
27380 int major, minor, micro;
27383 system ("touch conf.gtktest");
27385 /* HP/UX 9 (%@#!) writes to sscanf strings */
27386 tmp_version = g_strdup("$min_gtk_version");
27387 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27388 printf("%s, bad version string\n", "$min_gtk_version");
27392 if ((gtk_major_version != $gtk_config_major_version) ||
27393 (gtk_minor_version != $gtk_config_minor_version) ||
27394 (gtk_micro_version != $gtk_config_micro_version))
27396 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27397 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27398 gtk_major_version, gtk_minor_version, gtk_micro_version);
27399 printf ("*** was found! If gtk-config was correct, then it is best\n");
27400 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27401 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27402 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27403 printf("*** required on your system.\n");
27404 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27405 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27406 printf("*** before re-running configure\n");
27408 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27409 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27410 (gtk_minor_version != GTK_MINOR_VERSION) ||
27411 (gtk_micro_version != GTK_MICRO_VERSION))
27413 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27414 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27415 printf("*** library (version %d.%d.%d)\n",
27416 gtk_major_version, gtk_minor_version, gtk_micro_version);
27418 #endif /* defined (GTK_MAJOR_VERSION) ... */
27421 if ((gtk_major_version > major) ||
27422 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27423 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27429 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27430 gtk_major_version, gtk_minor_version, gtk_micro_version);
27431 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27432 major, minor, micro);
27433 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27435 printf("*** If you have already installed a sufficiently new version, this error\n");
27436 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27437 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27438 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27439 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27440 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27441 printf("*** so that the correct libraries are found at run-time))\n");
27448 rm -f conftest$ac_exeext
27449 if { (ac_try="$ac_link"
27450 case "(($ac_try" in
27451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27452 *) ac_try_echo=$ac_try;;
27454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27455 (eval "$ac_link") 2>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27459 { (case "(($ac_try" in
27460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27461 *) ac_try_echo=$ac_try;;
27463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27464 (eval "$ac_try") 2>&5
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); }; }; then
27470 echo "$as_me: program exited with status $ac_status" >&5
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27474 ( exit $ac_status )
27477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27481 CFLAGS="$ac_save_CFLAGS"
27482 LIBS="$ac_save_LIBS"
27485 if test "x$no_gtk" = x ; then
27486 { echo "$as_me:$LINENO: result: yes" >&5
27487 echo "${ECHO_T}yes" >&6; }
27488 wx_cv_lib_gtk=1.2.7
27490 { echo "$as_me:$LINENO: result: no" >&5
27491 echo "${ECHO_T}no" >&6; }
27492 if test "$GTK_CONFIG" = "no" ; then
27493 echo "*** The gtk-config script installed by GTK could not be found"
27494 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27495 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27496 echo "*** full path to gtk-config."
27498 if test -f conf.gtktest ; then
27501 echo "*** Could not run GTK test program, checking why..."
27502 CFLAGS="$CFLAGS $GTK_CFLAGS"
27503 LIBS="$LIBS $GTK_LIBS"
27504 cat >conftest.$ac_ext <<_ACEOF
27507 cat confdefs.h >>conftest.$ac_ext
27508 cat >>conftest.$ac_ext <<_ACEOF
27509 /* end confdefs.h. */
27511 #include <gtk/gtk.h>
27517 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27522 rm -f conftest.$ac_objext conftest$ac_exeext
27523 if { (ac_try="$ac_link"
27524 case "(($ac_try" in
27525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27526 *) ac_try_echo=$ac_try;;
27528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27529 (eval "$ac_link") 2>conftest.er1
27531 grep -v '^ *+' conftest.er1 >conftest.err
27533 cat conftest.err >&5
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); } && {
27536 test -z "$ac_c_werror_flag" ||
27537 test ! -s conftest.err
27538 } && test -s conftest$ac_exeext &&
27539 $as_test_x conftest$ac_exeext; then
27540 echo "*** The test program compiled, but did not run. This usually means"
27541 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27542 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27543 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27544 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27545 echo "*** is required on your system"
27547 echo "*** If you have an old version installed, it is best to remove it, although"
27548 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27550 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27551 echo "*** came with the system with the command"
27553 echo "*** rpm --erase --nodeps gtk gtk-devel"
27555 echo "$as_me: failed program was:" >&5
27556 sed 's/^/| /' conftest.$ac_ext >&5
27558 echo "*** The test program failed to compile or link. See the file config.log for the"
27559 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27560 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27561 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27565 conftest$ac_exeext conftest.$ac_ext
27566 CFLAGS="$ac_save_CFLAGS"
27567 LIBS="$ac_save_LIBS"
27579 if test -z "$wx_cv_lib_gtk"; then
27581 # Check whether --with-gtk-prefix was given.
27582 if test "${with_gtk_prefix+set}" = set; then
27583 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27585 gtk_config_prefix=""
27589 # Check whether --with-gtk-exec-prefix was given.
27590 if test "${with_gtk_exec_prefix+set}" = set; then
27591 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27593 gtk_config_exec_prefix=""
27596 # Check whether --enable-gtktest was given.
27597 if test "${enable_gtktest+set}" = set; then
27598 enableval=$enable_gtktest;
27604 for module in . $GTK_MODULES
27608 gtk_config_args="$gtk_config_args gthread"
27613 if test x$gtk_config_exec_prefix != x ; then
27614 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27615 if test x${GTK_CONFIG+set} != xset ; then
27616 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27619 if test x$gtk_config_prefix != x ; then
27620 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27621 if test x${GTK_CONFIG+set} != xset ; then
27622 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27626 # Extract the first word of "gtk-config", so it can be a program name with args.
27627 set dummy gtk-config; ac_word=$2
27628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27630 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27631 echo $ECHO_N "(cached) $ECHO_C" >&6
27633 case $GTK_CONFIG in
27635 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27639 for as_dir in $PATH
27642 test -z "$as_dir" && as_dir=.
27643 for ac_exec_ext in '' $ac_executable_extensions; do
27644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27645 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27653 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27657 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27658 if test -n "$GTK_CONFIG"; then
27659 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27660 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27662 { echo "$as_me:$LINENO: result: no" >&5
27663 echo "${ECHO_T}no" >&6; }
27667 min_gtk_version=1.2.3
27668 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27669 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27671 if test "$GTK_CONFIG" = "no" ; then
27674 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27675 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27676 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27678 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27680 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27682 if test "x$enable_gtktest" = "xyes" ; then
27683 ac_save_CFLAGS="$CFLAGS"
27684 ac_save_LIBS="$LIBS"
27685 CFLAGS="$CFLAGS $GTK_CFLAGS"
27686 LIBS="$GTK_LIBS $LIBS"
27688 if test "$cross_compiling" = yes; then
27689 echo $ac_n "cross compiling; assumed OK... $ac_c"
27691 cat >conftest.$ac_ext <<_ACEOF
27694 cat confdefs.h >>conftest.$ac_ext
27695 cat >>conftest.$ac_ext <<_ACEOF
27696 /* end confdefs.h. */
27698 #include <gtk/gtk.h>
27700 #include <stdlib.h>
27705 int major, minor, micro;
27708 system ("touch conf.gtktest");
27710 /* HP/UX 9 (%@#!) writes to sscanf strings */
27711 tmp_version = g_strdup("$min_gtk_version");
27712 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27713 printf("%s, bad version string\n", "$min_gtk_version");
27717 if ((gtk_major_version != $gtk_config_major_version) ||
27718 (gtk_minor_version != $gtk_config_minor_version) ||
27719 (gtk_micro_version != $gtk_config_micro_version))
27721 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27722 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27723 gtk_major_version, gtk_minor_version, gtk_micro_version);
27724 printf ("*** was found! If gtk-config was correct, then it is best\n");
27725 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27726 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27727 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27728 printf("*** required on your system.\n");
27729 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27730 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27731 printf("*** before re-running configure\n");
27733 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27734 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27735 (gtk_minor_version != GTK_MINOR_VERSION) ||
27736 (gtk_micro_version != GTK_MICRO_VERSION))
27738 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27739 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27740 printf("*** library (version %d.%d.%d)\n",
27741 gtk_major_version, gtk_minor_version, gtk_micro_version);
27743 #endif /* defined (GTK_MAJOR_VERSION) ... */
27746 if ((gtk_major_version > major) ||
27747 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27748 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27754 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27755 gtk_major_version, gtk_minor_version, gtk_micro_version);
27756 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27757 major, minor, micro);
27758 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27760 printf("*** If you have already installed a sufficiently new version, this error\n");
27761 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27762 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27763 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27764 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27765 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27766 printf("*** so that the correct libraries are found at run-time))\n");
27773 rm -f conftest$ac_exeext
27774 if { (ac_try="$ac_link"
27775 case "(($ac_try" in
27776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27777 *) ac_try_echo=$ac_try;;
27779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27780 (eval "$ac_link") 2>&5
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27784 { (case "(($ac_try" in
27785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27786 *) ac_try_echo=$ac_try;;
27788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27789 (eval "$ac_try") 2>&5
27791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27792 (exit $ac_status); }; }; then
27795 echo "$as_me: program exited with status $ac_status" >&5
27796 echo "$as_me: failed program was:" >&5
27797 sed 's/^/| /' conftest.$ac_ext >&5
27799 ( exit $ac_status )
27802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27806 CFLAGS="$ac_save_CFLAGS"
27807 LIBS="$ac_save_LIBS"
27810 if test "x$no_gtk" = x ; then
27811 { echo "$as_me:$LINENO: result: yes" >&5
27812 echo "${ECHO_T}yes" >&6; }
27813 wx_cv_lib_gtk=1.2.3
27815 { echo "$as_me:$LINENO: result: no" >&5
27816 echo "${ECHO_T}no" >&6; }
27817 if test "$GTK_CONFIG" = "no" ; then
27818 echo "*** The gtk-config script installed by GTK could not be found"
27819 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27820 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27821 echo "*** full path to gtk-config."
27823 if test -f conf.gtktest ; then
27826 echo "*** Could not run GTK test program, checking why..."
27827 CFLAGS="$CFLAGS $GTK_CFLAGS"
27828 LIBS="$LIBS $GTK_LIBS"
27829 cat >conftest.$ac_ext <<_ACEOF
27832 cat confdefs.h >>conftest.$ac_ext
27833 cat >>conftest.$ac_ext <<_ACEOF
27834 /* end confdefs.h. */
27836 #include <gtk/gtk.h>
27842 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27847 rm -f conftest.$ac_objext conftest$ac_exeext
27848 if { (ac_try="$ac_link"
27849 case "(($ac_try" in
27850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27851 *) ac_try_echo=$ac_try;;
27853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27854 (eval "$ac_link") 2>conftest.er1
27856 grep -v '^ *+' conftest.er1 >conftest.err
27858 cat conftest.err >&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); } && {
27861 test -z "$ac_c_werror_flag" ||
27862 test ! -s conftest.err
27863 } && test -s conftest$ac_exeext &&
27864 $as_test_x conftest$ac_exeext; then
27865 echo "*** The test program compiled, but did not run. This usually means"
27866 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27867 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27868 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27869 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27870 echo "*** is required on your system"
27872 echo "*** If you have an old version installed, it is best to remove it, although"
27873 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27875 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27876 echo "*** came with the system with the command"
27878 echo "*** rpm --erase --nodeps gtk gtk-devel"
27880 echo "$as_me: failed program was:" >&5
27881 sed 's/^/| /' conftest.$ac_ext >&5
27883 echo "*** The test program failed to compile or link. See the file config.log for the"
27884 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27885 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27886 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27890 conftest$ac_exeext conftest.$ac_ext
27891 CFLAGS="$ac_save_CFLAGS"
27892 LIBS="$ac_save_LIBS"
27907 if test -z "$wx_cv_lib_gtk"; then
27910 wx_cv_cflags_gtk=$GTK_CFLAGS
27911 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27918 if test "$gtk_version_cached" = 1; then
27919 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27920 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27923 case "$wx_cv_lib_gtk" in
27932 *) { { echo "$as_me:$LINENO: error:
27933 The development files for GTK+ were not found. For GTK+ 2, please
27934 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27935 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27936 and that the version is 1.2.3 or above. Also check that the
27937 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27938 --libs' are in the LD_LIBRARY_PATH or equivalent.
27940 echo "$as_me: error:
27941 The development files for GTK+ were not found. For GTK+ 2, please
27942 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27943 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27944 and that the version is 1.2.3 or above. Also check that the
27945 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27946 --libs' are in the LD_LIBRARY_PATH or equivalent.
27948 { (exit 1); exit 1; }; }
27952 if test "$WXGTK20" = 1; then
27953 save_CFLAGS="$CFLAGS"
27955 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27956 LIBS="$LIBS $wx_cv_libs_gtk"
27958 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27959 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27960 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27961 echo $ECHO_N "(cached) $ECHO_C" >&6
27963 cat >conftest.$ac_ext <<_ACEOF
27966 cat confdefs.h >>conftest.$ac_ext
27967 cat >>conftest.$ac_ext <<_ACEOF
27968 /* end confdefs.h. */
27969 #include <gtk/gtk.h>
27974 #ifndef gtk_icon_size_lookup
27975 (void) gtk_icon_size_lookup;
27982 rm -f conftest.$ac_objext
27983 if { (ac_try="$ac_compile"
27984 case "(($ac_try" in
27985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27986 *) ac_try_echo=$ac_try;;
27988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27989 (eval "$ac_compile") 2>conftest.er1
27991 grep -v '^ *+' conftest.er1 >conftest.err
27993 cat conftest.err >&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); } && {
27996 test -z "$ac_c_werror_flag" ||
27997 test ! -s conftest.err
27998 } && test -s conftest.$ac_objext; then
27999 ac_cv_have_decl_gtk_icon_size_lookup=yes
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28004 ac_cv_have_decl_gtk_icon_size_lookup=no
28007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28009 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28010 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28011 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28013 cat >>confdefs.h <<_ACEOF
28014 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28019 cat >>confdefs.h <<_ACEOF
28020 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28023 cat >>confdefs.h <<\_ACEOF
28024 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28032 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28033 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28034 cat >conftest.$ac_ext <<_ACEOF
28037 cat confdefs.h >>conftest.$ac_ext
28038 cat >>conftest.$ac_ext <<_ACEOF
28039 /* end confdefs.h. */
28041 #include <gtk/gtk.h>
28047 #if !GTK_CHECK_VERSION(2,10,0)
28055 rm -f conftest.$ac_objext
28056 if { (ac_try="$ac_compile"
28057 case "(($ac_try" in
28058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28059 *) ac_try_echo=$ac_try;;
28061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28062 (eval "$ac_compile") 2>conftest.er1
28064 grep -v '^ *+' conftest.er1 >conftest.err
28066 cat conftest.err >&5
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); } && {
28069 test -z "$ac_c_werror_flag" ||
28070 test ! -s conftest.err
28071 } && test -s conftest.$ac_objext; then
28073 cat >>confdefs.h <<\_ACEOF
28074 #define __WXGTK210__ 1
28077 cat >>confdefs.h <<\_ACEOF
28078 #define __WXGTK26__ 1
28081 cat >>confdefs.h <<\_ACEOF
28082 #define __WXGTK24__ 1
28085 { echo "$as_me:$LINENO: result: yes" >&5
28086 echo "${ECHO_T}yes" >&6; }
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28094 { echo "$as_me:$LINENO: result: no" >&5
28095 echo "${ECHO_T}no" >&6; }
28100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28102 if test "$ac_wxgtk210" = 0; then
28103 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28104 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28105 cat >conftest.$ac_ext <<_ACEOF
28108 cat confdefs.h >>conftest.$ac_ext
28109 cat >>conftest.$ac_ext <<_ACEOF
28110 /* end confdefs.h. */
28112 #include <gtk/gtk.h>
28118 #if !GTK_CHECK_VERSION(2,6,0)
28126 rm -f conftest.$ac_objext
28127 if { (ac_try="$ac_compile"
28128 case "(($ac_try" in
28129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28130 *) ac_try_echo=$ac_try;;
28132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28133 (eval "$ac_compile") 2>conftest.er1
28135 grep -v '^ *+' conftest.er1 >conftest.err
28137 cat conftest.err >&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); } && {
28140 test -z "$ac_c_werror_flag" ||
28141 test ! -s conftest.err
28142 } && test -s conftest.$ac_objext; then
28144 cat >>confdefs.h <<\_ACEOF
28145 #define __WXGTK26__ 1
28148 cat >>confdefs.h <<\_ACEOF
28149 #define __WXGTK24__ 1
28152 { echo "$as_me:$LINENO: result: yes" >&5
28153 echo "${ECHO_T}yes" >&6; }
28157 echo "$as_me: failed program was:" >&5
28158 sed 's/^/| /' conftest.$ac_ext >&5
28161 { echo "$as_me:$LINENO: result: no" >&5
28162 echo "${ECHO_T}no" >&6; }
28167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28170 if test "$ac_wxgtk26" = 0; then
28171 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28172 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28173 cat >conftest.$ac_ext <<_ACEOF
28176 cat confdefs.h >>conftest.$ac_ext
28177 cat >>conftest.$ac_ext <<_ACEOF
28178 /* end confdefs.h. */
28180 #include <gtk/gtk.h>
28186 #if !GTK_CHECK_VERSION(2,4,0)
28194 rm -f conftest.$ac_objext
28195 if { (ac_try="$ac_compile"
28196 case "(($ac_try" in
28197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28198 *) ac_try_echo=$ac_try;;
28200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28201 (eval "$ac_compile") 2>conftest.er1
28203 grep -v '^ *+' conftest.er1 >conftest.err
28205 cat conftest.err >&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } && {
28208 test -z "$ac_c_werror_flag" ||
28209 test ! -s conftest.err
28210 } && test -s conftest.$ac_objext; then
28212 cat >>confdefs.h <<\_ACEOF
28213 #define __WXGTK24__ 1
28216 { echo "$as_me:$LINENO: result: yes" >&5
28217 echo "${ECHO_T}yes" >&6; }
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.$ac_ext >&5
28224 { echo "$as_me:$LINENO: result: no" >&5
28225 echo "${ECHO_T}no" >&6; }
28229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28232 CFLAGS="$save_CFLAGS"
28235 if test "$wxUSE_UNICODE" = "yes"; then
28236 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28237 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28241 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28242 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28243 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28244 echo $ECHO_N "(cached) $ECHO_C" >&6
28246 ac_check_lib_save_LIBS=$LIBS
28248 cat >conftest.$ac_ext <<_ACEOF
28251 cat confdefs.h >>conftest.$ac_ext
28252 cat >>conftest.$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28255 /* Override any GCC internal prototype to avoid an error.
28256 Use char because int might match the return type of a GCC
28257 builtin and then its argument prototype would still apply. */
28261 char gdk_im_open ();
28265 return gdk_im_open ();
28270 rm -f conftest.$ac_objext conftest$ac_exeext
28271 if { (ac_try="$ac_link"
28272 case "(($ac_try" in
28273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28274 *) ac_try_echo=$ac_try;;
28276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28277 (eval "$ac_link") 2>conftest.er1
28279 grep -v '^ *+' conftest.er1 >conftest.err
28281 cat conftest.err >&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } && {
28284 test -z "$ac_c_werror_flag" ||
28285 test ! -s conftest.err
28286 } && test -s conftest$ac_exeext &&
28287 $as_test_x conftest$ac_exeext; then
28288 ac_cv_lib_gdk_gdk_im_open=yes
28290 echo "$as_me: failed program was:" >&5
28291 sed 's/^/| /' conftest.$ac_ext >&5
28293 ac_cv_lib_gdk_gdk_im_open=no
28296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28297 conftest$ac_exeext conftest.$ac_ext
28298 LIBS=$ac_check_lib_save_LIBS
28300 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28301 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28302 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28303 cat >>confdefs.h <<\_ACEOF
28310 if test "$USE_DARWIN" != 1; then
28312 for ac_func in poll
28314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28315 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28317 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28318 echo $ECHO_N "(cached) $ECHO_C" >&6
28320 cat >conftest.$ac_ext <<_ACEOF
28323 cat confdefs.h >>conftest.$ac_ext
28324 cat >>conftest.$ac_ext <<_ACEOF
28325 /* end confdefs.h. */
28326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28328 #define $ac_func innocuous_$ac_func
28330 /* System header to define __stub macros and hopefully few prototypes,
28331 which can conflict with char $ac_func (); below.
28332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28333 <limits.h> exists even on freestanding compilers. */
28336 # include <limits.h>
28338 # include <assert.h>
28343 /* Override any GCC internal prototype to avoid an error.
28344 Use char because int might match the return type of a GCC
28345 builtin and then its argument prototype would still apply. */
28350 /* The GNU C library defines this for functions which it implements
28351 to always fail with ENOSYS. Some functions are actually named
28352 something starting with __ and the normal name is an alias. */
28353 #if defined __stub_$ac_func || defined __stub___$ac_func
28360 return $ac_func ();
28365 rm -f conftest.$ac_objext conftest$ac_exeext
28366 if { (ac_try="$ac_link"
28367 case "(($ac_try" in
28368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28369 *) ac_try_echo=$ac_try;;
28371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28372 (eval "$ac_link") 2>conftest.er1
28374 grep -v '^ *+' conftest.er1 >conftest.err
28376 cat conftest.err >&5
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); } && {
28379 test -z "$ac_c_werror_flag" ||
28380 test ! -s conftest.err
28381 } && test -s conftest$ac_exeext &&
28382 $as_test_x conftest$ac_exeext; then
28383 eval "$as_ac_var=yes"
28385 echo "$as_me: failed program was:" >&5
28386 sed 's/^/| /' conftest.$ac_ext >&5
28388 eval "$as_ac_var=no"
28391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28392 conftest$ac_exeext conftest.$ac_ext
28394 ac_res=`eval echo '${'$as_ac_var'}'`
28395 { echo "$as_me:$LINENO: result: $ac_res" >&5
28396 echo "${ECHO_T}$ac_res" >&6; }
28397 if test `eval echo '${'$as_ac_var'}'` = yes; then
28398 cat >>confdefs.h <<_ACEOF
28399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28408 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28409 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28411 AFMINSTALL=afminstall
28415 if test "$wxUSE_GPE" = "yes"; then
28416 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28417 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28420 for ac_dir in $SEARCH_LIB;
28422 for ac_extension in a so sl dylib dll.a; do
28423 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28424 ac_find_libraries=$ac_dir
28430 if test "$ac_find_libraries" != "" ; then
28432 if test "$ac_find_libraries" = "default location"; then
28435 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28437 if test $result = 0; then
28440 ac_path_to_link=" -L$ac_find_libraries"
28444 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28446 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28447 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28449 { echo "$as_me:$LINENO: result: not found" >&5
28450 echo "${ECHO_T}not found" >&6; }
28456 if test "$wxUSE_MGL" = 1; then
28457 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28458 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28459 if test "x$MGL_ROOT" = x ; then
28460 { echo "$as_me:$LINENO: result: not found" >&5
28461 echo "${ECHO_T}not found" >&6; }
28462 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28463 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28464 { (exit 1); exit 1; }; }
28466 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28467 echo "${ECHO_T}$MGL_ROOT" >&6; }
28470 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28471 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28474 if test "x$wxUSE_SHARED" = xyes ; then
28475 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28477 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28481 mgl_os_candidates="dos32/dj2"
28484 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28485 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28486 { (exit 1); exit 1; }; }
28492 for mgl_os_i in $mgl_os_candidates ; do
28493 if test "x$mgl_os" = x ; then
28494 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28495 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28496 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28501 if test "x$mgl_lib_type" = x ; then
28502 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28503 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28504 mgl_lib_type=release
28511 if test "x$mgl_os" = x ; then
28512 { echo "$as_me:$LINENO: result: not found" >&5
28513 echo "${ECHO_T}not found" >&6; }
28514 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28515 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28516 { (exit 1); exit 1; }; }
28518 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28519 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28521 wxUSE_UNIVERSAL="yes"
28523 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28524 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28526 AFMINSTALL=afminstall
28531 if test "$wxUSE_DFB" = 1; then
28534 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28535 if test -n "$ac_tool_prefix"; then
28536 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28537 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28540 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28541 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 case $PKG_CONFIG in
28545 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28549 for as_dir in $PATH
28552 test -z "$as_dir" && as_dir=.
28553 for ac_exec_ext in '' $ac_executable_extensions; do
28554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28555 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28566 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28567 if test -n "$PKG_CONFIG"; then
28568 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28569 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28571 { echo "$as_me:$LINENO: result: no" >&5
28572 echo "${ECHO_T}no" >&6; }
28577 if test -z "$ac_cv_path_PKG_CONFIG"; then
28578 ac_pt_PKG_CONFIG=$PKG_CONFIG
28579 # Extract the first word of "pkg-config", so it can be a program name with args.
28580 set dummy pkg-config; ac_word=$2
28581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28583 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28584 echo $ECHO_N "(cached) $ECHO_C" >&6
28586 case $ac_pt_PKG_CONFIG in
28588 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28592 for as_dir in $PATH
28595 test -z "$as_dir" && as_dir=.
28596 for ac_exec_ext in '' $ac_executable_extensions; do
28597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28598 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28609 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28610 if test -n "$ac_pt_PKG_CONFIG"; then
28611 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28612 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28614 { echo "$as_me:$LINENO: result: no" >&5
28615 echo "${ECHO_T}no" >&6; }
28618 if test "x$ac_pt_PKG_CONFIG" = x; then
28621 case $cross_compiling:$ac_tool_warned in
28623 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28624 whose name does not start with the host triplet. If you think this
28625 configuration is useful to you, please write to autoconf@gnu.org." >&5
28626 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28627 whose name does not start with the host triplet. If you think this
28628 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28629 ac_tool_warned=yes ;;
28631 PKG_CONFIG=$ac_pt_PKG_CONFIG
28634 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28638 if test -n "$PKG_CONFIG"; then
28639 _pkg_min_version=0.9.0
28640 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28641 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28642 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28643 { echo "$as_me:$LINENO: result: yes" >&5
28644 echo "${ECHO_T}yes" >&6; }
28646 { echo "$as_me:$LINENO: result: no" >&5
28647 echo "${ECHO_T}no" >&6; }
28655 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28656 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28658 if test -n "$PKG_CONFIG"; then
28659 if test -n "$DIRECTFB_CFLAGS"; then
28660 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28662 if test -n "$PKG_CONFIG" && \
28663 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28664 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); }; then
28668 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28676 if test -n "$PKG_CONFIG"; then
28677 if test -n "$DIRECTFB_LIBS"; then
28678 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28680 if test -n "$PKG_CONFIG" && \
28681 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28682 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; then
28686 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28697 if test $pkg_failed = yes; then
28699 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28700 _pkg_short_errors_supported=yes
28702 _pkg_short_errors_supported=no
28704 if test $_pkg_short_errors_supported = yes; then
28705 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28707 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28709 # Put the nasty error message in config.log where it belongs
28710 echo "$DIRECTFB_PKG_ERRORS" >&5
28713 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28714 echo "$as_me: error: DirectFB not found." >&2;}
28715 { (exit 1); exit 1; }; }
28718 elif test $pkg_failed = untried; then
28720 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28721 echo "$as_me: error: DirectFB not found." >&2;}
28722 { (exit 1); exit 1; }; }
28726 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28727 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28728 { echo "$as_me:$LINENO: result: yes" >&5
28729 echo "${ECHO_T}yes" >&6; }
28731 wxUSE_UNIVERSAL="yes"
28732 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28733 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28740 if test "$wxUSE_MICROWIN" = 1; then
28741 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28742 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28743 if test "x$MICROWINDOWS" = x ; then
28744 { echo "$as_me:$LINENO: result: not found" >&5
28745 echo "${ECHO_T}not found" >&6; }
28746 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28747 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28748 { (exit 1); exit 1; }; }
28750 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28751 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28754 if test -f $MICROWINDOWS/lib/libmwin.a; then
28755 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28756 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28758 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28759 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28760 { (exit 1); exit 1; }; }
28763 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28764 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28766 wxUSE_UNIVERSAL="yes"
28768 AFMINSTALL=afminstall
28770 GUIDIST=MICROWIN_DIST
28772 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28775 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28776 { echo "$as_me:$LINENO: checking for X" >&5
28777 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28780 # Check whether --with-x was given.
28781 if test "${with_x+set}" = set; then
28785 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28786 if test "x$with_x" = xno; then
28787 # The user explicitly disabled X.
28790 case $x_includes,$x_libraries in #(
28791 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28792 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28793 { (exit 1); exit 1; }; };; #(
28794 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28795 echo $ECHO_N "(cached) $ECHO_C" >&6
28797 # One or both of the vars are not set, and there is no cached value.
28798 ac_x_includes=no ac_x_libraries=no
28799 rm -f -r conftest.dir
28800 if mkdir conftest.dir; then
28802 cat >Imakefile <<'_ACEOF'
28804 @echo incroot='${INCROOT}'
28806 @echo usrlibdir='${USRLIBDIR}'
28808 @echo libdir='${LIBDIR}'
28810 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28811 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28812 for ac_var in incroot usrlibdir libdir; do
28813 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28815 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28816 for ac_extension in a so sl; do
28817 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28818 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28819 ac_im_usrlibdir=$ac_im_libdir; break
28822 # Screen out bogus values from the imake configuration. They are
28823 # bogus both because they are the default anyway, and because
28824 # using them would break gcc on systems where it needs fixed includes.
28825 case $ac_im_incroot in
28826 /usr/include) ac_x_includes= ;;
28827 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28829 case $ac_im_usrlibdir in
28830 /usr/lib | /lib) ;;
28831 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28835 rm -f -r conftest.dir
28838 # Standard set of common directories for X headers.
28839 # Check X11 before X11Rn because it is often a symlink to the current release.
28851 /usr/local/X11/include
28852 /usr/local/X11R6/include
28853 /usr/local/X11R5/include
28854 /usr/local/X11R4/include
28856 /usr/local/include/X11
28857 /usr/local/include/X11R6
28858 /usr/local/include/X11R5
28859 /usr/local/include/X11R4
28863 /usr/XFree86/include/X11
28867 /usr/unsupported/include
28868 /usr/athena/include
28869 /usr/local/x11r5/include
28870 /usr/lpp/Xamples/include
28872 /usr/openwin/include
28873 /usr/openwin/share/include'
28875 if test "$ac_x_includes" = no; then
28876 # Guess where to find include files, by looking for Xlib.h.
28877 # First, try using that file with no special directory specified.
28878 cat >conftest.$ac_ext <<_ACEOF
28881 cat confdefs.h >>conftest.$ac_ext
28882 cat >>conftest.$ac_ext <<_ACEOF
28883 /* end confdefs.h. */
28884 #include <X11/Xlib.h>
28886 if { (ac_try="$ac_cpp conftest.$ac_ext"
28887 case "(($ac_try" in
28888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28889 *) ac_try_echo=$ac_try;;
28891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28892 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28894 grep -v '^ *+' conftest.er1 >conftest.err
28896 cat conftest.err >&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); } >/dev/null && {
28899 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28900 test ! -s conftest.err
28902 # We can compile using X headers with no special include directory.
28905 echo "$as_me: failed program was:" >&5
28906 sed 's/^/| /' conftest.$ac_ext >&5
28908 for ac_dir in $ac_x_header_dirs; do
28909 if test -r "$ac_dir/X11/Xlib.h"; then
28910 ac_x_includes=$ac_dir
28916 rm -f conftest.err conftest.$ac_ext
28917 fi # $ac_x_includes = no
28919 if test "$ac_x_libraries" = no; then
28920 # Check for the libraries.
28921 # See if we find them without any special options.
28922 # Don't add to $LIBS permanently.
28925 cat >conftest.$ac_ext <<_ACEOF
28928 cat confdefs.h >>conftest.$ac_ext
28929 cat >>conftest.$ac_ext <<_ACEOF
28930 /* end confdefs.h. */
28931 #include <X11/Xlib.h>
28940 rm -f conftest.$ac_objext conftest$ac_exeext
28941 if { (ac_try="$ac_link"
28942 case "(($ac_try" in
28943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28944 *) ac_try_echo=$ac_try;;
28946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28947 (eval "$ac_link") 2>conftest.er1
28949 grep -v '^ *+' conftest.er1 >conftest.err
28951 cat conftest.err >&5
28952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953 (exit $ac_status); } && {
28954 test -z "$ac_c_werror_flag" ||
28955 test ! -s conftest.err
28956 } && test -s conftest$ac_exeext &&
28957 $as_test_x conftest$ac_exeext; then
28959 # We can link X programs with no special library path.
28962 echo "$as_me: failed program was:" >&5
28963 sed 's/^/| /' conftest.$ac_ext >&5
28966 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28968 # Don't even attempt the hair of trying to link an X program!
28969 for ac_extension in a so sl; do
28970 if test -r "$ac_dir/libX11.$ac_extension"; then
28971 ac_x_libraries=$ac_dir
28978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28979 conftest$ac_exeext conftest.$ac_ext
28980 fi # $ac_x_libraries = no
28982 case $ac_x_includes,$ac_x_libraries in #(
28983 no,* | *,no | *\'*)
28984 # Didn't find X, or a directory has "'" in its name.
28985 ac_cv_have_x="have_x=no";; #(
28987 # Record where we found X for the cache.
28988 ac_cv_have_x="have_x=yes\
28989 ac_x_includes='$ac_x_includes'\
28990 ac_x_libraries='$ac_x_libraries'"
28996 eval "$ac_cv_have_x"
28999 if test "$have_x" != yes; then
29000 { echo "$as_me:$LINENO: result: $have_x" >&5
29001 echo "${ECHO_T}$have_x" >&6; }
29004 # If each of the values was on the command line, it overrides each guess.
29005 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29006 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29007 # Update the cache value to reflect the command line values.
29008 ac_cv_have_x="have_x=yes\
29009 ac_x_includes='$x_includes'\
29010 ac_x_libraries='$x_libraries'"
29011 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29012 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29015 if test "$no_x" = yes; then
29016 # Not all programs may use this symbol, but it does not hurt to define it.
29018 cat >>confdefs.h <<\_ACEOF
29019 #define X_DISPLAY_MISSING 1
29022 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29024 if test -n "$x_includes"; then
29025 X_CFLAGS="$X_CFLAGS -I$x_includes"
29028 # It would also be nice to do this for all -L options, not just this one.
29029 if test -n "$x_libraries"; then
29030 X_LIBS="$X_LIBS -L$x_libraries"
29031 # For Solaris; some versions of Sun CC require a space after -R and
29032 # others require no space. Words are not sufficient . . . .
29033 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29034 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29035 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29036 ac_xsave_c_werror_flag=$ac_c_werror_flag
29037 ac_c_werror_flag=yes
29038 cat >conftest.$ac_ext <<_ACEOF
29041 cat confdefs.h >>conftest.$ac_ext
29042 cat >>conftest.$ac_ext <<_ACEOF
29043 /* end confdefs.h. */
29053 rm -f conftest.$ac_objext conftest$ac_exeext
29054 if { (ac_try="$ac_link"
29055 case "(($ac_try" in
29056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29057 *) ac_try_echo=$ac_try;;
29059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29060 (eval "$ac_link") 2>conftest.er1
29062 grep -v '^ *+' conftest.er1 >conftest.err
29064 cat conftest.err >&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); } && {
29067 test -z "$ac_c_werror_flag" ||
29068 test ! -s conftest.err
29069 } && test -s conftest$ac_exeext &&
29070 $as_test_x conftest$ac_exeext; then
29071 { echo "$as_me:$LINENO: result: no" >&5
29072 echo "${ECHO_T}no" >&6; }
29073 X_LIBS="$X_LIBS -R$x_libraries"
29075 echo "$as_me: failed program was:" >&5
29076 sed 's/^/| /' conftest.$ac_ext >&5
29078 LIBS="$ac_xsave_LIBS -R $x_libraries"
29079 cat >conftest.$ac_ext <<_ACEOF
29082 cat confdefs.h >>conftest.$ac_ext
29083 cat >>conftest.$ac_ext <<_ACEOF
29084 /* end confdefs.h. */
29094 rm -f conftest.$ac_objext conftest$ac_exeext
29095 if { (ac_try="$ac_link"
29096 case "(($ac_try" in
29097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29098 *) ac_try_echo=$ac_try;;
29100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29101 (eval "$ac_link") 2>conftest.er1
29103 grep -v '^ *+' conftest.er1 >conftest.err
29105 cat conftest.err >&5
29106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29107 (exit $ac_status); } && {
29108 test -z "$ac_c_werror_flag" ||
29109 test ! -s conftest.err
29110 } && test -s conftest$ac_exeext &&
29111 $as_test_x conftest$ac_exeext; then
29112 { echo "$as_me:$LINENO: result: yes" >&5
29113 echo "${ECHO_T}yes" >&6; }
29114 X_LIBS="$X_LIBS -R $x_libraries"
29116 echo "$as_me: failed program was:" >&5
29117 sed 's/^/| /' conftest.$ac_ext >&5
29119 { echo "$as_me:$LINENO: result: neither works" >&5
29120 echo "${ECHO_T}neither works" >&6; }
29123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29124 conftest$ac_exeext conftest.$ac_ext
29127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29128 conftest$ac_exeext conftest.$ac_ext
29129 ac_c_werror_flag=$ac_xsave_c_werror_flag
29130 LIBS=$ac_xsave_LIBS
29133 # Check for system-dependent libraries X programs must link with.
29134 # Do this before checking for the system-independent R6 libraries
29135 # (-lICE), since we may need -lsocket or whatever for X linking.
29137 if test "$ISC" = yes; then
29138 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29140 # Martyn Johnson says this is needed for Ultrix, if the X
29141 # libraries were built with DECnet support. And Karl Berry says
29142 # the Alpha needs dnet_stub (dnet does not exist).
29143 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29144 cat >conftest.$ac_ext <<_ACEOF
29147 cat confdefs.h >>conftest.$ac_ext
29148 cat >>conftest.$ac_ext <<_ACEOF
29149 /* end confdefs.h. */
29151 /* Override any GCC internal prototype to avoid an error.
29152 Use char because int might match the return type of a GCC
29153 builtin and then its argument prototype would still apply. */
29157 char XOpenDisplay ();
29161 return XOpenDisplay ();
29166 rm -f conftest.$ac_objext conftest$ac_exeext
29167 if { (ac_try="$ac_link"
29168 case "(($ac_try" in
29169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29170 *) ac_try_echo=$ac_try;;
29172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29173 (eval "$ac_link") 2>conftest.er1
29175 grep -v '^ *+' conftest.er1 >conftest.err
29177 cat conftest.err >&5
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); } && {
29180 test -z "$ac_c_werror_flag" ||
29181 test ! -s conftest.err
29182 } && test -s conftest$ac_exeext &&
29183 $as_test_x conftest$ac_exeext; then
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29189 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29190 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29191 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29192 echo $ECHO_N "(cached) $ECHO_C" >&6
29194 ac_check_lib_save_LIBS=$LIBS
29195 LIBS="-ldnet $LIBS"
29196 cat >conftest.$ac_ext <<_ACEOF
29199 cat confdefs.h >>conftest.$ac_ext
29200 cat >>conftest.$ac_ext <<_ACEOF
29201 /* end confdefs.h. */
29203 /* Override any GCC internal prototype to avoid an error.
29204 Use char because int might match the return type of a GCC
29205 builtin and then its argument prototype would still apply. */
29213 return dnet_ntoa ();
29218 rm -f conftest.$ac_objext conftest$ac_exeext
29219 if { (ac_try="$ac_link"
29220 case "(($ac_try" in
29221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29222 *) ac_try_echo=$ac_try;;
29224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29225 (eval "$ac_link") 2>conftest.er1
29227 grep -v '^ *+' conftest.er1 >conftest.err
29229 cat conftest.err >&5
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); } && {
29232 test -z "$ac_c_werror_flag" ||
29233 test ! -s conftest.err
29234 } && test -s conftest$ac_exeext &&
29235 $as_test_x conftest$ac_exeext; then
29236 ac_cv_lib_dnet_dnet_ntoa=yes
29238 echo "$as_me: failed program was:" >&5
29239 sed 's/^/| /' conftest.$ac_ext >&5
29241 ac_cv_lib_dnet_dnet_ntoa=no
29244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29245 conftest$ac_exeext conftest.$ac_ext
29246 LIBS=$ac_check_lib_save_LIBS
29248 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29249 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29250 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29251 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29254 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29255 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29256 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29257 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29258 echo $ECHO_N "(cached) $ECHO_C" >&6
29260 ac_check_lib_save_LIBS=$LIBS
29261 LIBS="-ldnet_stub $LIBS"
29262 cat >conftest.$ac_ext <<_ACEOF
29265 cat confdefs.h >>conftest.$ac_ext
29266 cat >>conftest.$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29269 /* Override any GCC internal prototype to avoid an error.
29270 Use char because int might match the return type of a GCC
29271 builtin and then its argument prototype would still apply. */
29279 return dnet_ntoa ();
29284 rm -f conftest.$ac_objext conftest$ac_exeext
29285 if { (ac_try="$ac_link"
29286 case "(($ac_try" in
29287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29288 *) ac_try_echo=$ac_try;;
29290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29291 (eval "$ac_link") 2>conftest.er1
29293 grep -v '^ *+' conftest.er1 >conftest.err
29295 cat conftest.err >&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); } && {
29298 test -z "$ac_c_werror_flag" ||
29299 test ! -s conftest.err
29300 } && test -s conftest$ac_exeext &&
29301 $as_test_x conftest$ac_exeext; then
29302 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29304 echo "$as_me: failed program was:" >&5
29305 sed 's/^/| /' conftest.$ac_ext >&5
29307 ac_cv_lib_dnet_stub_dnet_ntoa=no
29310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29311 conftest$ac_exeext conftest.$ac_ext
29312 LIBS=$ac_check_lib_save_LIBS
29314 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29315 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29316 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29317 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29324 conftest$ac_exeext conftest.$ac_ext
29325 LIBS="$ac_xsave_LIBS"
29327 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29328 # to get the SysV transport functions.
29329 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29331 # The nsl library prevents programs from opening the X display
29332 # on Irix 5.2, according to T.E. Dickey.
29333 # The functions gethostbyname, getservbyname, and inet_addr are
29334 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29335 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29336 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29337 if test "${ac_cv_func_gethostbyname+set}" = set; then
29338 echo $ECHO_N "(cached) $ECHO_C" >&6
29340 cat >conftest.$ac_ext <<_ACEOF
29343 cat confdefs.h >>conftest.$ac_ext
29344 cat >>conftest.$ac_ext <<_ACEOF
29345 /* end confdefs.h. */
29346 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29348 #define gethostbyname innocuous_gethostbyname
29350 /* System header to define __stub macros and hopefully few prototypes,
29351 which can conflict with char gethostbyname (); below.
29352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29353 <limits.h> exists even on freestanding compilers. */
29356 # include <limits.h>
29358 # include <assert.h>
29361 #undef gethostbyname
29363 /* Override any GCC internal prototype to avoid an error.
29364 Use char because int might match the return type of a GCC
29365 builtin and then its argument prototype would still apply. */
29369 char gethostbyname ();
29370 /* The GNU C library defines this for functions which it implements
29371 to always fail with ENOSYS. Some functions are actually named
29372 something starting with __ and the normal name is an alias. */
29373 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29380 return gethostbyname ();
29385 rm -f conftest.$ac_objext conftest$ac_exeext
29386 if { (ac_try="$ac_link"
29387 case "(($ac_try" in
29388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29389 *) ac_try_echo=$ac_try;;
29391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29392 (eval "$ac_link") 2>conftest.er1
29394 grep -v '^ *+' conftest.er1 >conftest.err
29396 cat conftest.err >&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); } && {
29399 test -z "$ac_c_werror_flag" ||
29400 test ! -s conftest.err
29401 } && test -s conftest$ac_exeext &&
29402 $as_test_x conftest$ac_exeext; then
29403 ac_cv_func_gethostbyname=yes
29405 echo "$as_me: failed program was:" >&5
29406 sed 's/^/| /' conftest.$ac_ext >&5
29408 ac_cv_func_gethostbyname=no
29411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29412 conftest$ac_exeext conftest.$ac_ext
29414 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29415 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29417 if test $ac_cv_func_gethostbyname = no; then
29418 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29419 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29420 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29421 echo $ECHO_N "(cached) $ECHO_C" >&6
29423 ac_check_lib_save_LIBS=$LIBS
29425 cat >conftest.$ac_ext <<_ACEOF
29428 cat confdefs.h >>conftest.$ac_ext
29429 cat >>conftest.$ac_ext <<_ACEOF
29430 /* end confdefs.h. */
29432 /* Override any GCC internal prototype to avoid an error.
29433 Use char because int might match the return type of a GCC
29434 builtin and then its argument prototype would still apply. */
29438 char gethostbyname ();
29442 return gethostbyname ();
29447 rm -f conftest.$ac_objext conftest$ac_exeext
29448 if { (ac_try="$ac_link"
29449 case "(($ac_try" in
29450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29451 *) ac_try_echo=$ac_try;;
29453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29454 (eval "$ac_link") 2>conftest.er1
29456 grep -v '^ *+' conftest.er1 >conftest.err
29458 cat conftest.err >&5
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); } && {
29461 test -z "$ac_c_werror_flag" ||
29462 test ! -s conftest.err
29463 } && test -s conftest$ac_exeext &&
29464 $as_test_x conftest$ac_exeext; then
29465 ac_cv_lib_nsl_gethostbyname=yes
29467 echo "$as_me: failed program was:" >&5
29468 sed 's/^/| /' conftest.$ac_ext >&5
29470 ac_cv_lib_nsl_gethostbyname=no
29473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29474 conftest$ac_exeext conftest.$ac_ext
29475 LIBS=$ac_check_lib_save_LIBS
29477 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29478 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29479 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29480 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29483 if test $ac_cv_lib_nsl_gethostbyname = no; then
29484 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29485 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29486 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 ac_check_lib_save_LIBS=$LIBS
29491 cat >conftest.$ac_ext <<_ACEOF
29494 cat confdefs.h >>conftest.$ac_ext
29495 cat >>conftest.$ac_ext <<_ACEOF
29496 /* end confdefs.h. */
29498 /* Override any GCC internal prototype to avoid an error.
29499 Use char because int might match the return type of a GCC
29500 builtin and then its argument prototype would still apply. */
29504 char gethostbyname ();
29508 return gethostbyname ();
29513 rm -f conftest.$ac_objext conftest$ac_exeext
29514 if { (ac_try="$ac_link"
29515 case "(($ac_try" in
29516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29517 *) ac_try_echo=$ac_try;;
29519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29520 (eval "$ac_link") 2>conftest.er1
29522 grep -v '^ *+' conftest.er1 >conftest.err
29524 cat conftest.err >&5
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); } && {
29527 test -z "$ac_c_werror_flag" ||
29528 test ! -s conftest.err
29529 } && test -s conftest$ac_exeext &&
29530 $as_test_x conftest$ac_exeext; then
29531 ac_cv_lib_bsd_gethostbyname=yes
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29536 ac_cv_lib_bsd_gethostbyname=no
29539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29540 conftest$ac_exeext conftest.$ac_ext
29541 LIBS=$ac_check_lib_save_LIBS
29543 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29544 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29545 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29546 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29552 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29553 # socket/setsockopt and other routines are undefined under SCO ODT
29554 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29555 # on later versions), says Simon Leinen: it contains gethostby*
29556 # variants that don't use the name server (or something). -lsocket
29557 # must be given before -lnsl if both are needed. We assume that
29558 # if connect needs -lnsl, so does gethostbyname.
29559 { echo "$as_me:$LINENO: checking for connect" >&5
29560 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29561 if test "${ac_cv_func_connect+set}" = set; then
29562 echo $ECHO_N "(cached) $ECHO_C" >&6
29564 cat >conftest.$ac_ext <<_ACEOF
29567 cat confdefs.h >>conftest.$ac_ext
29568 cat >>conftest.$ac_ext <<_ACEOF
29569 /* end confdefs.h. */
29570 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29572 #define connect innocuous_connect
29574 /* System header to define __stub macros and hopefully few prototypes,
29575 which can conflict with char connect (); below.
29576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29577 <limits.h> exists even on freestanding compilers. */
29580 # include <limits.h>
29582 # include <assert.h>
29587 /* Override any GCC internal prototype to avoid an error.
29588 Use char because int might match the return type of a GCC
29589 builtin and then its argument prototype would still apply. */
29594 /* The GNU C library defines this for functions which it implements
29595 to always fail with ENOSYS. Some functions are actually named
29596 something starting with __ and the normal name is an alias. */
29597 #if defined __stub_connect || defined __stub___connect
29609 rm -f conftest.$ac_objext conftest$ac_exeext
29610 if { (ac_try="$ac_link"
29611 case "(($ac_try" in
29612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29613 *) ac_try_echo=$ac_try;;
29615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29616 (eval "$ac_link") 2>conftest.er1
29618 grep -v '^ *+' conftest.er1 >conftest.err
29620 cat conftest.err >&5
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); } && {
29623 test -z "$ac_c_werror_flag" ||
29624 test ! -s conftest.err
29625 } && test -s conftest$ac_exeext &&
29626 $as_test_x conftest$ac_exeext; then
29627 ac_cv_func_connect=yes
29629 echo "$as_me: failed program was:" >&5
29630 sed 's/^/| /' conftest.$ac_ext >&5
29632 ac_cv_func_connect=no
29635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29636 conftest$ac_exeext conftest.$ac_ext
29638 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29639 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29641 if test $ac_cv_func_connect = no; then
29642 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29643 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29644 if test "${ac_cv_lib_socket_connect+set}" = set; then
29645 echo $ECHO_N "(cached) $ECHO_C" >&6
29647 ac_check_lib_save_LIBS=$LIBS
29648 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29649 cat >conftest.$ac_ext <<_ACEOF
29652 cat confdefs.h >>conftest.$ac_ext
29653 cat >>conftest.$ac_ext <<_ACEOF
29654 /* end confdefs.h. */
29656 /* Override any GCC internal prototype to avoid an error.
29657 Use char because int might match the return type of a GCC
29658 builtin and then its argument prototype would still apply. */
29671 rm -f conftest.$ac_objext conftest$ac_exeext
29672 if { (ac_try="$ac_link"
29673 case "(($ac_try" in
29674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29675 *) ac_try_echo=$ac_try;;
29677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29678 (eval "$ac_link") 2>conftest.er1
29680 grep -v '^ *+' conftest.er1 >conftest.err
29682 cat conftest.err >&5
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); } && {
29685 test -z "$ac_c_werror_flag" ||
29686 test ! -s conftest.err
29687 } && test -s conftest$ac_exeext &&
29688 $as_test_x conftest$ac_exeext; then
29689 ac_cv_lib_socket_connect=yes
29691 echo "$as_me: failed program was:" >&5
29692 sed 's/^/| /' conftest.$ac_ext >&5
29694 ac_cv_lib_socket_connect=no
29697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29698 conftest$ac_exeext conftest.$ac_ext
29699 LIBS=$ac_check_lib_save_LIBS
29701 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29702 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29703 if test $ac_cv_lib_socket_connect = yes; then
29704 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29709 # Guillermo Gomez says -lposix is necessary on A/UX.
29710 { echo "$as_me:$LINENO: checking for remove" >&5
29711 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29712 if test "${ac_cv_func_remove+set}" = set; then
29713 echo $ECHO_N "(cached) $ECHO_C" >&6
29715 cat >conftest.$ac_ext <<_ACEOF
29718 cat confdefs.h >>conftest.$ac_ext
29719 cat >>conftest.$ac_ext <<_ACEOF
29720 /* end confdefs.h. */
29721 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29723 #define remove innocuous_remove
29725 /* System header to define __stub macros and hopefully few prototypes,
29726 which can conflict with char remove (); below.
29727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29728 <limits.h> exists even on freestanding compilers. */
29731 # include <limits.h>
29733 # include <assert.h>
29738 /* Override any GCC internal prototype to avoid an error.
29739 Use char because int might match the return type of a GCC
29740 builtin and then its argument prototype would still apply. */
29745 /* The GNU C library defines this for functions which it implements
29746 to always fail with ENOSYS. Some functions are actually named
29747 something starting with __ and the normal name is an alias. */
29748 #if defined __stub_remove || defined __stub___remove
29760 rm -f conftest.$ac_objext conftest$ac_exeext
29761 if { (ac_try="$ac_link"
29762 case "(($ac_try" in
29763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29764 *) ac_try_echo=$ac_try;;
29766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29767 (eval "$ac_link") 2>conftest.er1
29769 grep -v '^ *+' conftest.er1 >conftest.err
29771 cat conftest.err >&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); } && {
29774 test -z "$ac_c_werror_flag" ||
29775 test ! -s conftest.err
29776 } && test -s conftest$ac_exeext &&
29777 $as_test_x conftest$ac_exeext; then
29778 ac_cv_func_remove=yes
29780 echo "$as_me: failed program was:" >&5
29781 sed 's/^/| /' conftest.$ac_ext >&5
29783 ac_cv_func_remove=no
29786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29787 conftest$ac_exeext conftest.$ac_ext
29789 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29790 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29792 if test $ac_cv_func_remove = no; then
29793 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29794 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29795 if test "${ac_cv_lib_posix_remove+set}" = set; then
29796 echo $ECHO_N "(cached) $ECHO_C" >&6
29798 ac_check_lib_save_LIBS=$LIBS
29799 LIBS="-lposix $LIBS"
29800 cat >conftest.$ac_ext <<_ACEOF
29803 cat confdefs.h >>conftest.$ac_ext
29804 cat >>conftest.$ac_ext <<_ACEOF
29805 /* end confdefs.h. */
29807 /* Override any GCC internal prototype to avoid an error.
29808 Use char because int might match the return type of a GCC
29809 builtin and then its argument prototype would still apply. */
29822 rm -f conftest.$ac_objext conftest$ac_exeext
29823 if { (ac_try="$ac_link"
29824 case "(($ac_try" in
29825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29826 *) ac_try_echo=$ac_try;;
29828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29829 (eval "$ac_link") 2>conftest.er1
29831 grep -v '^ *+' conftest.er1 >conftest.err
29833 cat conftest.err >&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); } && {
29836 test -z "$ac_c_werror_flag" ||
29837 test ! -s conftest.err
29838 } && test -s conftest$ac_exeext &&
29839 $as_test_x conftest$ac_exeext; then
29840 ac_cv_lib_posix_remove=yes
29842 echo "$as_me: failed program was:" >&5
29843 sed 's/^/| /' conftest.$ac_ext >&5
29845 ac_cv_lib_posix_remove=no
29848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29849 conftest$ac_exeext conftest.$ac_ext
29850 LIBS=$ac_check_lib_save_LIBS
29852 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29853 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29854 if test $ac_cv_lib_posix_remove = yes; then
29855 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29860 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29861 { echo "$as_me:$LINENO: checking for shmat" >&5
29862 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29863 if test "${ac_cv_func_shmat+set}" = set; then
29864 echo $ECHO_N "(cached) $ECHO_C" >&6
29866 cat >conftest.$ac_ext <<_ACEOF
29869 cat confdefs.h >>conftest.$ac_ext
29870 cat >>conftest.$ac_ext <<_ACEOF
29871 /* end confdefs.h. */
29872 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29874 #define shmat innocuous_shmat
29876 /* System header to define __stub macros and hopefully few prototypes,
29877 which can conflict with char shmat (); below.
29878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29879 <limits.h> exists even on freestanding compilers. */
29882 # include <limits.h>
29884 # include <assert.h>
29889 /* Override any GCC internal prototype to avoid an error.
29890 Use char because int might match the return type of a GCC
29891 builtin and then its argument prototype would still apply. */
29896 /* The GNU C library defines this for functions which it implements
29897 to always fail with ENOSYS. Some functions are actually named
29898 something starting with __ and the normal name is an alias. */
29899 #if defined __stub_shmat || defined __stub___shmat
29911 rm -f conftest.$ac_objext conftest$ac_exeext
29912 if { (ac_try="$ac_link"
29913 case "(($ac_try" in
29914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29915 *) ac_try_echo=$ac_try;;
29917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29918 (eval "$ac_link") 2>conftest.er1
29920 grep -v '^ *+' conftest.er1 >conftest.err
29922 cat conftest.err >&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); } && {
29925 test -z "$ac_c_werror_flag" ||
29926 test ! -s conftest.err
29927 } && test -s conftest$ac_exeext &&
29928 $as_test_x conftest$ac_exeext; then
29929 ac_cv_func_shmat=yes
29931 echo "$as_me: failed program was:" >&5
29932 sed 's/^/| /' conftest.$ac_ext >&5
29934 ac_cv_func_shmat=no
29937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29938 conftest$ac_exeext conftest.$ac_ext
29940 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29941 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29943 if test $ac_cv_func_shmat = no; then
29944 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29945 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29946 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29947 echo $ECHO_N "(cached) $ECHO_C" >&6
29949 ac_check_lib_save_LIBS=$LIBS
29951 cat >conftest.$ac_ext <<_ACEOF
29954 cat confdefs.h >>conftest.$ac_ext
29955 cat >>conftest.$ac_ext <<_ACEOF
29956 /* end confdefs.h. */
29958 /* Override any GCC internal prototype to avoid an error.
29959 Use char because int might match the return type of a GCC
29960 builtin and then its argument prototype would still apply. */
29973 rm -f conftest.$ac_objext conftest$ac_exeext
29974 if { (ac_try="$ac_link"
29975 case "(($ac_try" in
29976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29977 *) ac_try_echo=$ac_try;;
29979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29980 (eval "$ac_link") 2>conftest.er1
29982 grep -v '^ *+' conftest.er1 >conftest.err
29984 cat conftest.err >&5
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); } && {
29987 test -z "$ac_c_werror_flag" ||
29988 test ! -s conftest.err
29989 } && test -s conftest$ac_exeext &&
29990 $as_test_x conftest$ac_exeext; then
29991 ac_cv_lib_ipc_shmat=yes
29993 echo "$as_me: failed program was:" >&5
29994 sed 's/^/| /' conftest.$ac_ext >&5
29996 ac_cv_lib_ipc_shmat=no
29999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30000 conftest$ac_exeext conftest.$ac_ext
30001 LIBS=$ac_check_lib_save_LIBS
30003 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30004 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30005 if test $ac_cv_lib_ipc_shmat = yes; then
30006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30012 # Check for libraries that X11R6 Xt/Xaw programs need.
30013 ac_save_LDFLAGS=$LDFLAGS
30014 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30015 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30016 # check for ICE first), but we must link in the order -lSM -lICE or
30017 # we get undefined symbols. So assume we have SM if we have ICE.
30018 # These have to be linked with before -lX11, unlike the other
30019 # libraries we check for below, so use a different variable.
30020 # John Interrante, Karl Berry
30021 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30022 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30023 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30024 echo $ECHO_N "(cached) $ECHO_C" >&6
30026 ac_check_lib_save_LIBS=$LIBS
30027 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30028 cat >conftest.$ac_ext <<_ACEOF
30031 cat confdefs.h >>conftest.$ac_ext
30032 cat >>conftest.$ac_ext <<_ACEOF
30033 /* end confdefs.h. */
30035 /* Override any GCC internal prototype to avoid an error.
30036 Use char because int might match the return type of a GCC
30037 builtin and then its argument prototype would still apply. */
30041 char IceConnectionNumber ();
30045 return IceConnectionNumber ();
30050 rm -f conftest.$ac_objext conftest$ac_exeext
30051 if { (ac_try="$ac_link"
30052 case "(($ac_try" in
30053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30054 *) ac_try_echo=$ac_try;;
30056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30057 (eval "$ac_link") 2>conftest.er1
30059 grep -v '^ *+' conftest.er1 >conftest.err
30061 cat conftest.err >&5
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); } && {
30064 test -z "$ac_c_werror_flag" ||
30065 test ! -s conftest.err
30066 } && test -s conftest$ac_exeext &&
30067 $as_test_x conftest$ac_exeext; then
30068 ac_cv_lib_ICE_IceConnectionNumber=yes
30070 echo "$as_me: failed program was:" >&5
30071 sed 's/^/| /' conftest.$ac_ext >&5
30073 ac_cv_lib_ICE_IceConnectionNumber=no
30076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30077 conftest$ac_exeext conftest.$ac_ext
30078 LIBS=$ac_check_lib_save_LIBS
30080 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30081 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30082 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30083 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30086 LDFLAGS=$ac_save_LDFLAGS
30091 if test "$no_x" = "yes"; then
30092 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30093 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30094 { (exit 1); exit 1; }; }
30097 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30098 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30099 AFMINSTALL=afminstall
30100 COMPILED_X_PROGRAM=0
30104 if test "$wxUSE_X11" = 1; then
30105 if test "$wxUSE_NANOX" = "yes"; then
30106 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30107 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30108 if test "x$MICROWIN" = x ; then
30109 { echo "$as_me:$LINENO: result: not found" >&5
30110 echo "${ECHO_T}not found" >&6; }
30111 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30112 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30113 { (exit 1); exit 1; }; }
30115 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30116 echo "${ECHO_T}$MICROWIN" >&6; }
30117 cat >>confdefs.h <<\_ACEOF
30118 #define wxUSE_NANOX 1
30124 if test "$wxUSE_UNICODE" = "yes"; then
30127 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30128 if test -n "$ac_tool_prefix"; then
30129 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30130 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30133 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30134 echo $ECHO_N "(cached) $ECHO_C" >&6
30136 case $PKG_CONFIG in
30138 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30142 for as_dir in $PATH
30145 test -z "$as_dir" && as_dir=.
30146 for ac_exec_ext in '' $ac_executable_extensions; do
30147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30148 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30159 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30160 if test -n "$PKG_CONFIG"; then
30161 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30162 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30164 { echo "$as_me:$LINENO: result: no" >&5
30165 echo "${ECHO_T}no" >&6; }
30170 if test -z "$ac_cv_path_PKG_CONFIG"; then
30171 ac_pt_PKG_CONFIG=$PKG_CONFIG
30172 # Extract the first word of "pkg-config", so it can be a program name with args.
30173 set dummy pkg-config; ac_word=$2
30174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30176 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30177 echo $ECHO_N "(cached) $ECHO_C" >&6
30179 case $ac_pt_PKG_CONFIG in
30181 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30185 for as_dir in $PATH
30188 test -z "$as_dir" && as_dir=.
30189 for ac_exec_ext in '' $ac_executable_extensions; do
30190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30191 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30202 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30203 if test -n "$ac_pt_PKG_CONFIG"; then
30204 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30205 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30207 { echo "$as_me:$LINENO: result: no" >&5
30208 echo "${ECHO_T}no" >&6; }
30211 if test "x$ac_pt_PKG_CONFIG" = x; then
30214 case $cross_compiling:$ac_tool_warned in
30216 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30217 whose name does not start with the host triplet. If you think this
30218 configuration is useful to you, please write to autoconf@gnu.org." >&5
30219 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30220 whose name does not start with the host triplet. If you think this
30221 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30222 ac_tool_warned=yes ;;
30224 PKG_CONFIG=$ac_pt_PKG_CONFIG
30227 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30231 if test -n "$PKG_CONFIG"; then
30232 _pkg_min_version=0.9.0
30233 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30234 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30235 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30236 { echo "$as_me:$LINENO: result: yes" >&5
30237 echo "${ECHO_T}yes" >&6; }
30239 { echo "$as_me:$LINENO: result: no" >&5
30240 echo "${ECHO_T}no" >&6; }
30248 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30249 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30251 if test -n "$PKG_CONFIG"; then
30252 if test -n "$PANGOX_CFLAGS"; then
30253 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30255 if test -n "$PKG_CONFIG" && \
30256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30257 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260 (exit $ac_status); }; then
30261 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30269 if test -n "$PKG_CONFIG"; then
30270 if test -n "$PANGOX_LIBS"; then
30271 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30273 if test -n "$PKG_CONFIG" && \
30274 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30275 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); }; then
30279 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30290 if test $pkg_failed = yes; then
30292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30293 _pkg_short_errors_supported=yes
30295 _pkg_short_errors_supported=no
30297 if test $_pkg_short_errors_supported = yes; then
30298 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30300 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30302 # Put the nasty error message in config.log where it belongs
30303 echo "$PANGOX_PKG_ERRORS" >&5
30306 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30307 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30308 { (exit 1); exit 1; }; }
30311 elif test $pkg_failed = untried; then
30313 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30314 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30315 { (exit 1); exit 1; }; }
30319 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30320 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30321 { echo "$as_me:$LINENO: result: yes" >&5
30322 echo "${ECHO_T}yes" >&6; }
30324 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30325 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30326 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30331 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30332 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30334 if test -n "$PKG_CONFIG"; then
30335 if test -n "$PANGOFT2_CFLAGS"; then
30336 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30338 if test -n "$PKG_CONFIG" && \
30339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30340 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30343 (exit $ac_status); }; then
30344 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30352 if test -n "$PKG_CONFIG"; then
30353 if test -n "$PANGOFT2_LIBS"; then
30354 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30356 if test -n "$PKG_CONFIG" && \
30357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30358 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); }; then
30362 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30373 if test $pkg_failed = yes; then
30375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30376 _pkg_short_errors_supported=yes
30378 _pkg_short_errors_supported=no
30380 if test $_pkg_short_errors_supported = yes; then
30381 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30383 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30385 # Put the nasty error message in config.log where it belongs
30386 echo "$PANGOFT2_PKG_ERRORS" >&5
30389 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30390 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30391 wxUSE_PRINTING_ARCHITECTURE="no"
30394 elif test $pkg_failed = untried; then
30396 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30397 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30398 wxUSE_PRINTING_ARCHITECTURE="no"
30402 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30403 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30404 { echo "$as_me:$LINENO: result: yes" >&5
30405 echo "${ECHO_T}yes" >&6; }
30407 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30408 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30409 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30414 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30415 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30417 if test -n "$PKG_CONFIG"; then
30418 if test -n "$PANGOXFT_CFLAGS"; then
30419 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30421 if test -n "$PKG_CONFIG" && \
30422 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30423 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); }; then
30427 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30435 if test -n "$PKG_CONFIG"; then
30436 if test -n "$PANGOXFT_LIBS"; then
30437 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30439 if test -n "$PKG_CONFIG" && \
30440 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30441 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); }; then
30445 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30456 if test $pkg_failed = yes; then
30458 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30459 _pkg_short_errors_supported=yes
30461 _pkg_short_errors_supported=no
30463 if test $_pkg_short_errors_supported = yes; then
30464 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30466 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30468 # Put the nasty error message in config.log where it belongs
30469 echo "$PANGOXFT_PKG_ERRORS" >&5
30472 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30473 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30476 elif test $pkg_failed = untried; then
30478 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30479 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30483 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30484 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30485 { echo "$as_me:$LINENO: result: yes" >&5
30486 echo "${ECHO_T}yes" >&6; }
30488 cat >>confdefs.h <<\_ACEOF
30489 #define HAVE_PANGO_XFT 1
30492 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30493 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30494 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30498 LIBS="$LIBS $PANGOX_LIBS"
30500 for ac_func in pango_font_family_is_monospace
30502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30506 echo $ECHO_N "(cached) $ECHO_C" >&6
30508 cat >conftest.$ac_ext <<_ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30516 #define $ac_func innocuous_$ac_func
30518 /* System header to define __stub macros and hopefully few prototypes,
30519 which can conflict with char $ac_func (); below.
30520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30521 <limits.h> exists even on freestanding compilers. */
30524 # include <limits.h>
30526 # include <assert.h>
30531 /* Override any GCC internal prototype to avoid an error.
30532 Use char because int might match the return type of a GCC
30533 builtin and then its argument prototype would still apply. */
30538 /* The GNU C library defines this for functions which it implements
30539 to always fail with ENOSYS. Some functions are actually named
30540 something starting with __ and the normal name is an alias. */
30541 #if defined __stub_$ac_func || defined __stub___$ac_func
30548 return $ac_func ();
30553 rm -f conftest.$ac_objext conftest$ac_exeext
30554 if { (ac_try="$ac_link"
30555 case "(($ac_try" in
30556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30557 *) ac_try_echo=$ac_try;;
30559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30560 (eval "$ac_link") 2>conftest.er1
30562 grep -v '^ *+' conftest.er1 >conftest.err
30564 cat conftest.err >&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } && {
30567 test -z "$ac_c_werror_flag" ||
30568 test ! -s conftest.err
30569 } && test -s conftest$ac_exeext &&
30570 $as_test_x conftest$ac_exeext; then
30571 eval "$as_ac_var=yes"
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30576 eval "$as_ac_var=no"
30579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30580 conftest$ac_exeext conftest.$ac_ext
30582 ac_res=`eval echo '${'$as_ac_var'}'`
30583 { echo "$as_me:$LINENO: result: $ac_res" >&5
30584 echo "${ECHO_T}$ac_res" >&6; }
30585 if test `eval echo '${'$as_ac_var'}'` = yes; then
30586 cat >>confdefs.h <<_ACEOF
30587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30596 wxUSE_UNIVERSAL="yes"
30598 if test "$wxUSE_NANOX" = "yes"; then
30599 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30600 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"
30601 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30603 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30610 if test "$wxUSE_MOTIF" = 1; then
30611 if test "$wxUSE_UNICODE" = "yes"; then
30612 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30613 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30614 { (exit 1); exit 1; }; }
30617 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30618 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30621 for ac_dir in $SEARCH_INCLUDE /usr/include;
30623 if test -f "$ac_dir/Xm/Xm.h"; then
30624 ac_find_includes=$ac_dir
30629 if test "$ac_find_includes" != "" ; then
30630 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30631 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30633 if test "x$ac_find_includes" = "x/usr/include"; then
30634 ac_path_to_include=""
30636 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30638 if test $result = 0; then
30639 ac_path_to_include=""
30641 ac_path_to_include=" -I$ac_find_includes"
30645 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30647 save_CFLAGS=$CFLAGS
30648 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30650 cat >conftest.$ac_ext <<_ACEOF
30653 cat confdefs.h >>conftest.$ac_ext
30654 cat >>conftest.$ac_ext <<_ACEOF
30655 /* end confdefs.h. */
30664 version = xmUseVersion;
30670 rm -f conftest.$ac_objext
30671 if { (ac_try="$ac_compile"
30672 case "(($ac_try" in
30673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30674 *) ac_try_echo=$ac_try;;
30676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30677 (eval "$ac_compile") 2>conftest.er1
30679 grep -v '^ *+' conftest.er1 >conftest.err
30681 cat conftest.err >&5
30682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683 (exit $ac_status); } && {
30684 test -z "$ac_c_werror_flag" ||
30685 test ! -s conftest.err
30686 } && test -s conftest.$ac_objext; then
30688 { echo "$as_me:$LINENO: result: found in default search path" >&5
30689 echo "${ECHO_T}found in default search path" >&6; }
30690 COMPILED_X_PROGRAM=1
30693 echo "$as_me: failed program was:" >&5
30694 sed 's/^/| /' conftest.$ac_ext >&5
30697 { echo "$as_me:$LINENO: result: no" >&5
30698 echo "${ECHO_T}no" >&6; }
30699 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30700 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30701 { (exit 1); exit 1; }; }
30706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30708 CFLAGS=$save_CFLAGS
30712 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30713 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30716 for ac_dir in $SEARCH_LIB;
30718 for ac_extension in a so sl dylib dll.a; do
30719 if test -f "$ac_dir/libXm.$ac_extension"; then
30720 ac_find_libraries=$ac_dir
30727 if test "x$ac_find_libraries" != "x" ; then
30728 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30729 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30732 if test "$ac_find_libraries" = "default location"; then
30735 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30737 if test $result = 0; then
30740 ac_path_to_link=" -L$ac_find_libraries"
30744 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30746 save_CFLAGS=$CFLAGS
30747 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30749 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30751 cat >conftest.$ac_ext <<_ACEOF
30754 cat confdefs.h >>conftest.$ac_ext
30755 cat >>conftest.$ac_ext <<_ACEOF
30756 /* end confdefs.h. */
30765 version = xmUseVersion;
30771 rm -f conftest.$ac_objext conftest$ac_exeext
30772 if { (ac_try="$ac_link"
30773 case "(($ac_try" in
30774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30775 *) ac_try_echo=$ac_try;;
30777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30778 (eval "$ac_link") 2>conftest.er1
30780 grep -v '^ *+' conftest.er1 >conftest.err
30782 cat conftest.err >&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); } && {
30785 test -z "$ac_c_werror_flag" ||
30786 test ! -s conftest.err
30787 } && test -s conftest$ac_exeext &&
30788 $as_test_x conftest$ac_exeext; then
30790 { echo "$as_me:$LINENO: result: found in default search path" >&5
30791 echo "${ECHO_T}found in default search path" >&6; }
30792 COMPILED_X_PROGRAM=1
30795 echo "$as_me: failed program was:" >&5
30796 sed 's/^/| /' conftest.$ac_ext >&5
30799 { echo "$as_me:$LINENO: result: no" >&5
30800 echo "${ECHO_T}no" >&6; }
30801 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30802 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30803 { (exit 1); exit 1; }; }
30808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30809 conftest$ac_exeext conftest.$ac_ext
30811 CFLAGS=$save_CFLAGS
30815 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30816 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30820 for libp in "" " -lXp"; do
30821 if test "$libs_found" = "0"; then
30822 for libsm_ice in "" " -lSM -lICE"; do
30823 if test "$libs_found" = "0"; then
30825 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30826 save_CFLAGS=$CFLAGS
30827 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30829 cat >conftest.$ac_ext <<_ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30837 #include <Xm/List.h>
30843 XmString string = NULL;
30846 XmListAddItem(w, string, position);
30852 rm -f conftest.$ac_objext conftest$ac_exeext
30853 if { (ac_try="$ac_link"
30854 case "(($ac_try" in
30855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30856 *) ac_try_echo=$ac_try;;
30858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30859 (eval "$ac_link") 2>conftest.er1
30861 grep -v '^ *+' conftest.er1 >conftest.err
30863 cat conftest.err >&5
30864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30865 (exit $ac_status); } && {
30866 test -z "$ac_c_werror_flag" ||
30867 test ! -s conftest.err
30868 } && test -s conftest$ac_exeext &&
30869 $as_test_x conftest$ac_exeext; then
30872 libsm_ice_link="$libsm_ice"
30873 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30874 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30878 echo "$as_me: failed program was:" >&5
30879 sed 's/^/| /' conftest.$ac_ext >&5
30885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30886 conftest$ac_exeext conftest.$ac_ext
30889 CFLAGS=$save_CFLAGS
30895 if test "$libs_found" = "0"; then
30896 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30897 echo "${ECHO_T}can't find the right libraries" >&6; }
30898 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30899 echo "$as_me: error: can't link a simple motif program" >&2;}
30900 { (exit 1); exit 1; }; }
30903 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30904 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30905 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30906 echo $ECHO_N "(cached) $ECHO_C" >&6
30908 ac_check_lib_save_LIBS=$LIBS
30910 cat >conftest.$ac_ext <<_ACEOF
30913 cat confdefs.h >>conftest.$ac_ext
30914 cat >>conftest.$ac_ext <<_ACEOF
30915 /* end confdefs.h. */
30917 /* Override any GCC internal prototype to avoid an error.
30918 Use char because int might match the return type of a GCC
30919 builtin and then its argument prototype would still apply. */
30923 char SgCreateList ();
30927 return SgCreateList ();
30932 rm -f conftest.$ac_objext conftest$ac_exeext
30933 if { (ac_try="$ac_link"
30934 case "(($ac_try" in
30935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30936 *) ac_try_echo=$ac_try;;
30938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30939 (eval "$ac_link") 2>conftest.er1
30941 grep -v '^ *+' conftest.er1 >conftest.err
30943 cat conftest.err >&5
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); } && {
30946 test -z "$ac_c_werror_flag" ||
30947 test ! -s conftest.err
30948 } && test -s conftest$ac_exeext &&
30949 $as_test_x conftest$ac_exeext; then
30950 ac_cv_lib_Sgm_SgCreateList=yes
30952 echo "$as_me: failed program was:" >&5
30953 sed 's/^/| /' conftest.$ac_ext >&5
30955 ac_cv_lib_Sgm_SgCreateList=no
30958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30959 conftest$ac_exeext conftest.$ac_ext
30960 LIBS=$ac_check_lib_save_LIBS
30962 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30963 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30964 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30965 libsgm_link=" -lSgm"
30969 save_CFLAGS=$CFLAGS
30970 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30972 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30973 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30974 if test "${wx_cv_lib_motif2+set}" = set; then
30975 echo $ECHO_N "(cached) $ECHO_C" >&6
30977 cat >conftest.$ac_ext <<_ACEOF
30980 cat confdefs.h >>conftest.$ac_ext
30981 cat >>conftest.$ac_ext <<_ACEOF
30982 /* end confdefs.h. */
30990 #if XmVersion < 2000
30998 rm -f conftest.$ac_objext
30999 if { (ac_try="$ac_compile"
31000 case "(($ac_try" in
31001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31002 *) ac_try_echo=$ac_try;;
31004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31005 (eval "$ac_compile") 2>conftest.er1
31007 grep -v '^ *+' conftest.er1 >conftest.err
31009 cat conftest.err >&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); } && {
31012 test -z "$ac_c_werror_flag" ||
31013 test ! -s conftest.err
31014 } && test -s conftest.$ac_objext; then
31015 wx_cv_lib_motif2="yes"
31017 echo "$as_me: failed program was:" >&5
31018 sed 's/^/| /' conftest.$ac_ext >&5
31020 wx_cv_lib_motif2="no"
31023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31025 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31026 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31027 if test "$wx_cv_lib_motif2" = "yes"; then
31028 cat >>confdefs.h <<\_ACEOF
31029 #define __WXMOTIF20__ 1
31033 cat >>confdefs.h <<\_ACEOF
31034 #define __WXMOTIF20__ 0
31039 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31040 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31041 if test "${wx_cv_lib_lesstif+set}" = set; then
31042 echo $ECHO_N "(cached) $ECHO_C" >&6
31044 cat >conftest.$ac_ext <<_ACEOF
31047 cat confdefs.h >>conftest.$ac_ext
31048 cat >>conftest.$ac_ext <<_ACEOF
31049 /* end confdefs.h. */
31057 #if !defined(LesstifVersion) || LesstifVersion <= 0
31065 rm -f conftest.$ac_objext
31066 if { (ac_try="$ac_compile"
31067 case "(($ac_try" in
31068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31069 *) ac_try_echo=$ac_try;;
31071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31072 (eval "$ac_compile") 2>conftest.er1
31074 grep -v '^ *+' conftest.er1 >conftest.err
31076 cat conftest.err >&5
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); } && {
31079 test -z "$ac_c_werror_flag" ||
31080 test ! -s conftest.err
31081 } && test -s conftest.$ac_objext; then
31082 wx_cv_lib_lesstif="yes"
31084 echo "$as_me: failed program was:" >&5
31085 sed 's/^/| /' conftest.$ac_ext >&5
31087 wx_cv_lib_lesstif="no"
31090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31093 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31094 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31095 if test "$wx_cv_lib_lesstif" = "yes"; then
31096 cat >>confdefs.h <<\_ACEOF
31097 #define __WXLESSTIF__ 1
31101 cat >>confdefs.h <<\_ACEOF
31102 #define __WXLESSTIF__ 0
31107 CFLAGS=$save_CFLAGS
31109 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31114 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31115 if test "$wxUSE_LIBXPM" = "sys"; then
31116 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31117 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31120 for ac_dir in $SEARCH_LIB;
31122 for ac_extension in a so sl dylib dll.a; do
31123 if test -f "$ac_dir/libXpm.$ac_extension"; then
31124 ac_find_libraries=$ac_dir
31130 if test "$ac_find_libraries" != "" ; then
31132 if test "$ac_find_libraries" = "default location"; then
31135 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31137 if test $result = 0; then
31140 ac_path_to_link=" -L$ac_find_libraries"
31144 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31145 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31146 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31148 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31149 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31150 if test "${wx_cv_x11_xpm_h+set}" = set; then
31151 echo $ECHO_N "(cached) $ECHO_C" >&6
31154 save_CFLAGS=$CFLAGS
31155 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31157 cat >conftest.$ac_ext <<_ACEOF
31160 cat confdefs.h >>conftest.$ac_ext
31161 cat >>conftest.$ac_ext <<_ACEOF
31162 /* end confdefs.h. */
31164 #include <X11/xpm.h>
31171 version = XpmLibraryVersion();
31177 rm -f conftest.$ac_objext
31178 if { (ac_try="$ac_compile"
31179 case "(($ac_try" in
31180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31181 *) ac_try_echo=$ac_try;;
31183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31184 (eval "$ac_compile") 2>conftest.er1
31186 grep -v '^ *+' conftest.er1 >conftest.err
31188 cat conftest.err >&5
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); } && {
31191 test -z "$ac_c_werror_flag" ||
31192 test ! -s conftest.err
31193 } && test -s conftest.$ac_objext; then
31194 wx_cv_x11_xpm_h=yes
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.$ac_ext >&5
31203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31205 CFLAGS=$save_CFLAGS
31209 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31210 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31212 if test $wx_cv_x11_xpm_h = "yes"; then
31213 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31214 cat >>confdefs.h <<\_ACEOF
31215 #define wxHAVE_LIB_XPM 1
31219 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31220 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31226 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31227 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31228 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31229 echo $ECHO_N "(cached) $ECHO_C" >&6
31231 ac_check_lib_save_LIBS=$LIBS
31232 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31233 cat >conftest.$ac_ext <<_ACEOF
31236 cat confdefs.h >>conftest.$ac_ext
31237 cat >>conftest.$ac_ext <<_ACEOF
31238 /* end confdefs.h. */
31240 /* Override any GCC internal prototype to avoid an error.
31241 Use char because int might match the return type of a GCC
31242 builtin and then its argument prototype would still apply. */
31246 char XShapeQueryExtension ();
31250 return XShapeQueryExtension ();
31255 rm -f conftest.$ac_objext conftest$ac_exeext
31256 if { (ac_try="$ac_link"
31257 case "(($ac_try" in
31258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31259 *) ac_try_echo=$ac_try;;
31261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31262 (eval "$ac_link") 2>conftest.er1
31264 grep -v '^ *+' conftest.er1 >conftest.err
31266 cat conftest.err >&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } && {
31269 test -z "$ac_c_werror_flag" ||
31270 test ! -s conftest.err
31271 } && test -s conftest$ac_exeext &&
31272 $as_test_x conftest$ac_exeext; then
31273 ac_cv_lib_Xext_XShapeQueryExtension=yes
31275 echo "$as_me: failed program was:" >&5
31276 sed 's/^/| /' conftest.$ac_ext >&5
31278 ac_cv_lib_Xext_XShapeQueryExtension=no
31281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31282 conftest$ac_exeext conftest.$ac_ext
31283 LIBS=$ac_check_lib_save_LIBS
31285 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31286 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31287 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31289 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31295 if test "$wxHAVE_XEXT_LIB" = 1; then
31296 save_CFLAGS="$CFLAGS"
31297 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31299 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31300 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31301 cat >conftest.$ac_ext <<_ACEOF
31304 cat confdefs.h >>conftest.$ac_ext
31305 cat >>conftest.$ac_ext <<_ACEOF
31306 /* end confdefs.h. */
31308 #include <X11/Xlib.h>
31309 #include <X11/extensions/shape.h>
31315 int dummy1, dummy2;
31316 XShapeQueryExtension((Display*)NULL,
31317 (int*)NULL, (int*)NULL);
31323 rm -f conftest.$ac_objext
31324 if { (ac_try="$ac_compile"
31325 case "(($ac_try" in
31326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31327 *) ac_try_echo=$ac_try;;
31329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31330 (eval "$ac_compile") 2>conftest.er1
31332 grep -v '^ *+' conftest.er1 >conftest.err
31334 cat conftest.err >&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } && {
31337 test -z "$ac_c_werror_flag" ||
31338 test ! -s conftest.err
31339 } && test -s conftest.$ac_objext; then
31341 cat >>confdefs.h <<\_ACEOF
31342 #define HAVE_XSHAPE 1
31345 { echo "$as_me:$LINENO: result: found" >&5
31346 echo "${ECHO_T}found" >&6; }
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.$ac_ext >&5
31353 { echo "$as_me:$LINENO: result: not found" >&5
31354 echo "${ECHO_T}not found" >&6; }
31358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31359 CFLAGS="$save_CFLAGS"
31364 if test "$wxUSE_MAC" = 1; then
31365 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31366 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31367 if test "$GCC" = yes; then
31368 { echo "$as_me:$LINENO: result: gcc" >&5
31369 echo "${ECHO_T}gcc" >&6; }
31370 CPPFLAGS_PASCAL="-fpascal-strings"
31371 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31372 { echo "$as_me:$LINENO: result: xlc" >&5
31373 echo "${ECHO_T}xlc" >&6; }
31374 CPPFLAGS_PASCAL="-qmacpstr"
31376 { echo "$as_me:$LINENO: result: none" >&5
31377 echo "${ECHO_T}none" >&6; }
31380 if test "x$wxUSE_UNIX" = "xyes"; then
31381 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31383 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31388 WXBASEPORT="_carbon"
31391 if test "$wxUSE_COCOA" = 1; then
31396 if test "$wxUSE_PM" = 1; then
31399 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31400 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31401 if test "${wx_cv_spbcdata+set}" = set; then
31402 echo $ECHO_N "(cached) $ECHO_C" >&6
31405 cat >conftest.$ac_ext <<_ACEOF
31408 cat confdefs.h >>conftest.$ac_ext
31409 cat >>conftest.$ac_ext <<_ACEOF
31410 /* end confdefs.h. */
31425 rm -f conftest.$ac_objext
31426 if { (ac_try="$ac_compile"
31427 case "(($ac_try" in
31428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31429 *) ac_try_echo=$ac_try;;
31431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31432 (eval "$ac_compile") 2>conftest.er1
31434 grep -v '^ *+' conftest.er1 >conftest.err
31436 cat conftest.err >&5
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); } && {
31439 test -z "$ac_c_werror_flag" ||
31440 test ! -s conftest.err
31441 } && test -s conftest.$ac_objext; then
31444 echo "$as_me: failed program was:" >&5
31445 sed 's/^/| /' conftest.$ac_ext >&5
31451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31455 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31456 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31458 if test $wx_cv_spbcdata = "yes"; then
31459 cat >>confdefs.h <<\_ACEOF
31460 #define HAVE_SPBCDATA 1
31466 if test "$TOOLKIT" = "PM" ; then
31469 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31472 if test "$wxUSE_UNIVERSAL" = "yes"; then
31473 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31477 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31478 DISTDIR="wx\$(TOOLKIT)"
31484 if test "$USE_WIN32" = 1 ; then
31488 GUIDIST="BASE_DIST"
31493 if test "$wxUSE_GUI" = "yes"; then
31494 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31495 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31496 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31497 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31498 echo $ECHO_N "(cached) $ECHO_C" >&6
31500 cat >conftest.$ac_ext <<_ACEOF
31503 cat confdefs.h >>conftest.$ac_ext
31504 cat >>conftest.$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31508 #include <X11/Xlib.h>
31510 rm -f conftest.$ac_objext
31511 if { (ac_try="$ac_compile"
31512 case "(($ac_try" in
31513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31514 *) ac_try_echo=$ac_try;;
31516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31517 (eval "$ac_compile") 2>conftest.er1
31519 grep -v '^ *+' conftest.er1 >conftest.err
31521 cat conftest.err >&5
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); } && {
31524 test -z "$ac_c_werror_flag" ||
31525 test ! -s conftest.err
31526 } && test -s conftest.$ac_objext; then
31527 ac_cv_header_X11_Xlib_h=yes
31529 echo "$as_me: failed program was:" >&5
31530 sed 's/^/| /' conftest.$ac_ext >&5
31532 ac_cv_header_X11_Xlib_h=no
31535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31537 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31538 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31541 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31542 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31543 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31544 echo $ECHO_N "(cached) $ECHO_C" >&6
31546 cat >conftest.$ac_ext <<_ACEOF
31549 cat confdefs.h >>conftest.$ac_ext
31550 cat >>conftest.$ac_ext <<_ACEOF
31551 /* end confdefs.h. */
31553 #if HAVE_X11_XLIB_H
31554 #include <X11/Xlib.h>
31558 #include <X11/XKBlib.h>
31560 rm -f conftest.$ac_objext
31561 if { (ac_try="$ac_compile"
31562 case "(($ac_try" in
31563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31564 *) ac_try_echo=$ac_try;;
31566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31567 (eval "$ac_compile") 2>conftest.er1
31569 grep -v '^ *+' conftest.er1 >conftest.err
31571 cat conftest.err >&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); } && {
31574 test -z "$ac_c_werror_flag" ||
31575 test ! -s conftest.err
31576 } && test -s conftest.$ac_objext; then
31577 ac_cv_header_X11_XKBlib_h=yes
31579 echo "$as_me: failed program was:" >&5
31580 sed 's/^/| /' conftest.$ac_ext >&5
31582 ac_cv_header_X11_XKBlib_h=no
31585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31587 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31588 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31599 if test "$TOOLKIT" != "MSW" ; then
31601 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31603 { echo "$as_me:$LINENO: checking for sql.h" >&5
31604 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31605 if test "${ac_cv_header_sql_h+set}" = set; then
31606 echo $ECHO_N "(cached) $ECHO_C" >&6
31608 cat >conftest.$ac_ext <<_ACEOF
31611 cat confdefs.h >>conftest.$ac_ext
31612 cat >>conftest.$ac_ext <<_ACEOF
31613 /* end confdefs.h. */
31618 rm -f conftest.$ac_objext
31619 if { (ac_try="$ac_compile"
31620 case "(($ac_try" in
31621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31622 *) ac_try_echo=$ac_try;;
31624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31625 (eval "$ac_compile") 2>conftest.er1
31627 grep -v '^ *+' conftest.er1 >conftest.err
31629 cat conftest.err >&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); } && {
31632 test -z "$ac_c_werror_flag" ||
31633 test ! -s conftest.err
31634 } && test -s conftest.$ac_objext; then
31635 ac_cv_header_sql_h=yes
31637 echo "$as_me: failed program was:" >&5
31638 sed 's/^/| /' conftest.$ac_ext >&5
31640 ac_cv_header_sql_h=no
31643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31645 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31646 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31647 if test $ac_cv_header_sql_h = yes; then
31652 if test "x$found_sql_h" = "x1" ; then
31653 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31654 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31655 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31656 echo $ECHO_N "(cached) $ECHO_C" >&6
31658 ac_check_lib_save_LIBS=$LIBS
31659 LIBS="-liodbc $LIBS"
31660 cat >conftest.$ac_ext <<_ACEOF
31663 cat confdefs.h >>conftest.$ac_ext
31664 cat >>conftest.$ac_ext <<_ACEOF
31665 /* end confdefs.h. */
31667 /* Override any GCC internal prototype to avoid an error.
31668 Use char because int might match the return type of a GCC
31669 builtin and then its argument prototype would still apply. */
31673 char SQLAllocEnv ();
31677 return SQLAllocEnv ();
31682 rm -f conftest.$ac_objext conftest$ac_exeext
31683 if { (ac_try="$ac_link"
31684 case "(($ac_try" in
31685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31686 *) ac_try_echo=$ac_try;;
31688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31689 (eval "$ac_link") 2>conftest.er1
31691 grep -v '^ *+' conftest.er1 >conftest.err
31693 cat conftest.err >&5
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); } && {
31696 test -z "$ac_c_werror_flag" ||
31697 test ! -s conftest.err
31698 } && test -s conftest$ac_exeext &&
31699 $as_test_x conftest$ac_exeext; then
31700 ac_cv_lib_iodbc_SQLAllocEnv=yes
31702 echo "$as_me: failed program was:" >&5
31703 sed 's/^/| /' conftest.$ac_ext >&5
31705 ac_cv_lib_iodbc_SQLAllocEnv=no
31708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31709 conftest$ac_exeext conftest.$ac_ext
31710 LIBS=$ac_check_lib_save_LIBS
31712 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31713 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31714 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31715 ODBC_LINK=" -liodbc"
31718 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31719 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31720 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31721 echo $ECHO_N "(cached) $ECHO_C" >&6
31723 ac_check_lib_save_LIBS=$LIBS
31724 LIBS="-lunixodbc $LIBS"
31725 cat >conftest.$ac_ext <<_ACEOF
31728 cat confdefs.h >>conftest.$ac_ext
31729 cat >>conftest.$ac_ext <<_ACEOF
31730 /* end confdefs.h. */
31732 /* Override any GCC internal prototype to avoid an error.
31733 Use char because int might match the return type of a GCC
31734 builtin and then its argument prototype would still apply. */
31738 char SQLAllocEnv ();
31742 return SQLAllocEnv ();
31747 rm -f conftest.$ac_objext conftest$ac_exeext
31748 if { (ac_try="$ac_link"
31749 case "(($ac_try" in
31750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31751 *) ac_try_echo=$ac_try;;
31753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31754 (eval "$ac_link") 2>conftest.er1
31756 grep -v '^ *+' conftest.er1 >conftest.err
31758 cat conftest.err >&5
31759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760 (exit $ac_status); } && {
31761 test -z "$ac_c_werror_flag" ||
31762 test ! -s conftest.err
31763 } && test -s conftest$ac_exeext &&
31764 $as_test_x conftest$ac_exeext; then
31765 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31767 echo "$as_me: failed program was:" >&5
31768 sed 's/^/| /' conftest.$ac_ext >&5
31770 ac_cv_lib_unixodbc_SQLAllocEnv=no
31773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31774 conftest$ac_exeext conftest.$ac_ext
31775 LIBS=$ac_check_lib_save_LIBS
31777 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31778 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31779 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31780 ODBC_LINK=" -lunixodbc"
31783 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31784 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31785 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31786 echo $ECHO_N "(cached) $ECHO_C" >&6
31788 ac_check_lib_save_LIBS=$LIBS
31789 LIBS="-lodbc $LIBS"
31790 cat >conftest.$ac_ext <<_ACEOF
31793 cat confdefs.h >>conftest.$ac_ext
31794 cat >>conftest.$ac_ext <<_ACEOF
31795 /* end confdefs.h. */
31797 /* Override any GCC internal prototype to avoid an error.
31798 Use char because int might match the return type of a GCC
31799 builtin and then its argument prototype would still apply. */
31803 char SQLAllocEnv ();
31807 return SQLAllocEnv ();
31812 rm -f conftest.$ac_objext conftest$ac_exeext
31813 if { (ac_try="$ac_link"
31814 case "(($ac_try" in
31815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31816 *) ac_try_echo=$ac_try;;
31818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31819 (eval "$ac_link") 2>conftest.er1
31821 grep -v '^ *+' conftest.er1 >conftest.err
31823 cat conftest.err >&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); } && {
31826 test -z "$ac_c_werror_flag" ||
31827 test ! -s conftest.err
31828 } && test -s conftest$ac_exeext &&
31829 $as_test_x conftest$ac_exeext; then
31830 ac_cv_lib_odbc_SQLAllocEnv=yes
31832 echo "$as_me: failed program was:" >&5
31833 sed 's/^/| /' conftest.$ac_ext >&5
31835 ac_cv_lib_odbc_SQLAllocEnv=no
31838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31839 conftest$ac_exeext conftest.$ac_ext
31840 LIBS=$ac_check_lib_save_LIBS
31842 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31843 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31844 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31845 ODBC_LINK=" -lodbc"
31855 if test "x$ODBC_LINK" = "x" ; then
31856 if test "$wxUSE_ODBC" = "sys" ; then
31857 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31858 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31859 { (exit 1); exit 1; }; }
31861 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31862 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31870 if test "$wxUSE_ODBC" = "builtin" ; then
31871 cat >>confdefs.h <<\_ACEOF
31872 #define wxUSE_BUILTIN_IODBC 1
31878 if test "$wxUSE_ODBC" != "no" ; then
31879 cat >>confdefs.h <<\_ACEOF
31880 #define wxUSE_ODBC 1
31883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31885 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31889 if test "$wxUSE_DISPLAY" = "yes"; then
31890 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31891 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31892 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31895 for ac_dir in $SEARCH_LIB;
31897 for ac_extension in a so sl dylib dll.a; do
31898 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31899 ac_find_libraries=$ac_dir
31905 if test "$ac_find_libraries" != "" ; then
31907 if test "$ac_find_libraries" = "default location"; then
31910 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31912 if test $result = 0; then
31915 ac_path_to_link=" -L$ac_find_libraries"
31919 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31920 LDFLAGS="$LDFLAGS $ac_path_to_link"
31922 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31923 { echo "$as_me:$LINENO: result: yes" >&5
31924 echo "${ECHO_T}yes" >&6; }
31926 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31927 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31930 for ac_dir in $SEARCH_LIB;
31932 for ac_extension in a so sl dylib dll.a; do
31933 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31934 ac_find_libraries=$ac_dir
31940 if test "$ac_find_libraries" != "" ; then
31941 { echo "$as_me:$LINENO: result: yes" >&5
31942 echo "${ECHO_T}yes" >&6; }
31943 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31944 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31945 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31946 echo $ECHO_N "(cached) $ECHO_C" >&6
31948 cat >conftest.$ac_ext <<_ACEOF
31951 cat confdefs.h >>conftest.$ac_ext
31952 cat >>conftest.$ac_ext <<_ACEOF
31953 /* end confdefs.h. */
31955 #if HAVE_X11_XLIB_H
31956 #include <X11/Xlib.h>
31960 #include <X11/extensions/xf86vmode.h>
31962 rm -f conftest.$ac_objext
31963 if { (ac_try="$ac_compile"
31964 case "(($ac_try" in
31965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31966 *) ac_try_echo=$ac_try;;
31968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31969 (eval "$ac_compile") 2>conftest.er1
31971 grep -v '^ *+' conftest.er1 >conftest.err
31973 cat conftest.err >&5
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); } && {
31976 test -z "$ac_c_werror_flag" ||
31977 test ! -s conftest.err
31978 } && test -s conftest.$ac_objext; then
31979 ac_cv_header_X11_extensions_xf86vmode_h=yes
31981 echo "$as_me: failed program was:" >&5
31982 sed 's/^/| /' conftest.$ac_ext >&5
31984 ac_cv_header_X11_extensions_xf86vmode_h=no
31987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31989 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31990 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31991 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31993 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31999 { echo "$as_me:$LINENO: result: no" >&5
32000 echo "${ECHO_T}no" >&6; }
32004 { echo "$as_me:$LINENO: result: no" >&5
32005 echo "${ECHO_T}no" >&6; }
32006 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32007 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32010 elif test "$wxUSE_MSW" = 1; then
32011 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32012 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32013 if test "${ac_cv_header_ddraw_h+set}" = set; then
32014 echo $ECHO_N "(cached) $ECHO_C" >&6
32016 cat >conftest.$ac_ext <<_ACEOF
32019 cat confdefs.h >>conftest.$ac_ext
32020 cat >>conftest.$ac_ext <<_ACEOF
32021 /* end confdefs.h. */
32022 #include <windows.h>
32026 rm -f conftest.$ac_objext
32027 if { (ac_try="$ac_compile"
32028 case "(($ac_try" in
32029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32030 *) ac_try_echo=$ac_try;;
32032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32033 (eval "$ac_compile") 2>conftest.er1
32035 grep -v '^ *+' conftest.er1 >conftest.err
32037 cat conftest.err >&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } && {
32040 test -z "$ac_c_werror_flag" ||
32041 test ! -s conftest.err
32042 } && test -s conftest.$ac_objext; then
32043 ac_cv_header_ddraw_h=yes
32045 echo "$as_me: failed program was:" >&5
32046 sed 's/^/| /' conftest.$ac_ext >&5
32048 ac_cv_header_ddraw_h=no
32051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32053 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32054 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32060 if test "$wxUSE_DETECT_SM" = "yes"; then
32061 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32062 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32063 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32066 for ac_dir in $SEARCH_LIB;
32068 for ac_extension in a so sl dylib dll.a; do
32069 if test -f "$ac_dir/libSM.$ac_extension"; then
32070 ac_find_libraries=$ac_dir
32076 if test "$ac_find_libraries" != "" ; then
32078 if test "$ac_find_libraries" = "default location"; then
32081 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32083 if test $result = 0; then
32086 ac_path_to_link=" -L$ac_find_libraries"
32090 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32091 LDFLAGS="$LDFLAGS $ac_path_to_link"
32093 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32094 { echo "$as_me:$LINENO: result: yes" >&5
32095 echo "${ECHO_T}yes" >&6; }
32097 { echo "$as_me:$LINENO: result: no" >&5
32098 echo "${ECHO_T}no" >&6; }
32099 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32100 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32101 wxUSE_DETECT_SM="no"
32104 wxUSE_DETECT_SM="no"
32111 if test "$wxUSE_OPENGL" = "yes"; then
32112 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32113 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32114 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32116 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32117 OPENGL_LIBS="-framework OpenGL -framework AGL"
32118 elif test "$wxUSE_MSW" = 1; then
32119 OPENGL_LIBS="-lopengl32 -lglu32"
32121 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32122 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32125 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32127 if test -f "$ac_dir/GL/gl.h"; then
32128 ac_find_includes=$ac_dir
32133 if test "$ac_find_includes" != "" ; then
32134 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32135 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32137 if test "x$ac_find_includes" = "x/usr/include"; then
32138 ac_path_to_include=""
32140 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32142 if test $result = 0; then
32143 ac_path_to_include=""
32145 ac_path_to_include=" -I$ac_find_includes"
32149 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32151 { echo "$as_me:$LINENO: result: not found" >&5
32152 echo "${ECHO_T}not found" >&6; }
32155 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32156 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32157 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32158 echo $ECHO_N "(cached) $ECHO_C" >&6
32160 cat >conftest.$ac_ext <<_ACEOF
32163 cat confdefs.h >>conftest.$ac_ext
32164 cat >>conftest.$ac_ext <<_ACEOF
32165 /* end confdefs.h. */
32170 rm -f conftest.$ac_objext
32171 if { (ac_try="$ac_compile"
32172 case "(($ac_try" in
32173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32174 *) ac_try_echo=$ac_try;;
32176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32177 (eval "$ac_compile") 2>conftest.er1
32179 grep -v '^ *+' conftest.er1 >conftest.err
32181 cat conftest.err >&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } && {
32184 test -z "$ac_c_werror_flag" ||
32185 test ! -s conftest.err
32186 } && test -s conftest.$ac_objext; then
32187 ac_cv_header_GL_gl_h=yes
32189 echo "$as_me: failed program was:" >&5
32190 sed 's/^/| /' conftest.$ac_ext >&5
32192 ac_cv_header_GL_gl_h=no
32195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32197 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32198 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32199 if test $ac_cv_header_GL_gl_h = yes; then
32201 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32202 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32203 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32204 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32207 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32208 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32210 # Is the header compilable?
32211 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32212 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32213 cat >conftest.$ac_ext <<_ACEOF
32216 cat confdefs.h >>conftest.$ac_ext
32217 cat >>conftest.$ac_ext <<_ACEOF
32218 /* end confdefs.h. */
32219 $ac_includes_default
32220 #include <GL/glu.h>
32222 rm -f conftest.$ac_objext
32223 if { (ac_try="$ac_compile"
32224 case "(($ac_try" in
32225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32226 *) ac_try_echo=$ac_try;;
32228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32229 (eval "$ac_compile") 2>conftest.er1
32231 grep -v '^ *+' conftest.er1 >conftest.err
32233 cat conftest.err >&5
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); } && {
32236 test -z "$ac_c_werror_flag" ||
32237 test ! -s conftest.err
32238 } && test -s conftest.$ac_objext; then
32239 ac_header_compiler=yes
32241 echo "$as_me: failed program was:" >&5
32242 sed 's/^/| /' conftest.$ac_ext >&5
32244 ac_header_compiler=no
32247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32248 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32249 echo "${ECHO_T}$ac_header_compiler" >&6; }
32251 # Is the header present?
32252 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32253 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32254 cat >conftest.$ac_ext <<_ACEOF
32257 cat confdefs.h >>conftest.$ac_ext
32258 cat >>conftest.$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32260 #include <GL/glu.h>
32262 if { (ac_try="$ac_cpp conftest.$ac_ext"
32263 case "(($ac_try" in
32264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32265 *) ac_try_echo=$ac_try;;
32267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32270 grep -v '^ *+' conftest.er1 >conftest.err
32272 cat conftest.err >&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); } >/dev/null && {
32275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32276 test ! -s conftest.err
32278 ac_header_preproc=yes
32280 echo "$as_me: failed program was:" >&5
32281 sed 's/^/| /' conftest.$ac_ext >&5
32283 ac_header_preproc=no
32286 rm -f conftest.err conftest.$ac_ext
32287 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32288 echo "${ECHO_T}$ac_header_preproc" >&6; }
32290 # So? What about this header?
32291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32293 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32294 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32295 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32296 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32297 ac_header_preproc=yes
32300 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32301 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32302 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32303 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32304 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32305 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32306 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32307 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32308 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32309 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32310 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32311 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32313 ## ----------------------------------------- ##
32314 ## Report this to wx-dev@lists.wxwidgets.org ##
32315 ## ----------------------------------------- ##
32317 ) | sed "s/^/$as_me: WARNING: /" >&2
32320 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32321 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32322 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32323 echo $ECHO_N "(cached) $ECHO_C" >&6
32325 ac_cv_header_GL_glu_h=$ac_header_preproc
32327 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32328 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32331 if test $ac_cv_header_GL_glu_h = yes; then
32335 { echo "$as_me:$LINENO: checking for -lGL" >&5
32336 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32339 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32341 for ac_extension in a so sl dylib dll.a; do
32342 if test -f "$ac_dir/libGL.$ac_extension"; then
32343 ac_find_libraries=$ac_dir
32349 if test "$ac_find_libraries" != "" ; then
32350 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32351 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32354 if test "$ac_find_libraries" = "default location"; then
32357 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32359 if test $result = 0; then
32362 ac_path_to_link=" -L$ac_find_libraries"
32366 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32367 LDFLAGS_GL="$ac_path_to_link"
32370 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32371 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32374 for ac_dir in $SEARCH_LIB;
32376 for ac_extension in a so sl dylib dll.a; do
32377 if test -f "$ac_dir/libGLU.$ac_extension"; then
32378 ac_find_libraries=$ac_dir
32384 if test "$ac_find_libraries" != "" ; then
32386 if test "$ac_find_libraries" = "default location"; then
32389 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32391 if test $result = 0; then
32394 ac_path_to_link=" -L$ac_find_libraries"
32398 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32399 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32400 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32404 OPENGL_LIBS="-lGL -lGLU"
32405 { echo "$as_me:$LINENO: result: yes" >&5
32406 echo "${ECHO_T}yes" >&6; }
32408 { echo "$as_me:$LINENO: result: no" >&5
32409 echo "${ECHO_T}no" >&6; }
32412 { echo "$as_me:$LINENO: result: no" >&5
32413 echo "${ECHO_T}no" >&6; }
32416 if test "$found_gl" != 1; then
32417 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32418 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32421 for ac_dir in $SEARCH_LIB;
32423 for ac_extension in a so sl dylib dll.a; do
32424 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32425 ac_find_libraries=$ac_dir
32431 if test "$ac_find_libraries" != "" ; then
32433 if test "$ac_find_libraries" = "default location"; then
32436 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32438 if test $result = 0; then
32441 ac_path_to_link=" -L$ac_find_libraries"
32445 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32446 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32447 { echo "$as_me:$LINENO: result: yes" >&5
32448 echo "${ECHO_T}yes" >&6; }
32450 { echo "$as_me:$LINENO: result: no" >&5
32451 echo "${ECHO_T}no" >&6; }
32463 if test "x$OPENGL_LIBS" = "x"; then
32464 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32465 echo "$as_me: error: OpenGL libraries not available" >&2;}
32466 { (exit 1); exit 1; }; }
32470 if test "$wxUSE_OPENGL" = "yes"; then
32472 cat >>confdefs.h <<\_ACEOF
32473 #define wxUSE_OPENGL 1
32476 cat >>confdefs.h <<\_ACEOF
32477 #define wxUSE_GLCANVAS 1
32480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32485 if test -n "$TOOLKIT" ; then
32486 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32491 if test "$wxUSE_SHARED" = "yes"; then
32495 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32496 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32501 if test "$wxUSE_SHARED" = "yes"; then
32505 *-*-cygwin* | *-*-mingw* )
32506 wx_cv_version_script=no
32510 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32511 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32512 if test "${wx_cv_version_script+set}" = set; then
32513 echo $ECHO_N "(cached) $ECHO_C" >&6
32516 echo "VER_1 { *; };" >conftest.sym
32517 echo "int main() { return 0; }" >conftest.cpp
32520 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32521 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32523 (eval $ac_try) 2>&5
32525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 (exit $ac_status); }; } ; then
32527 if test -s conftest.stderr ; then
32528 wx_cv_version_script=no
32530 wx_cv_version_script=yes
32533 wx_cv_version_script=no
32536 if test $wx_cv_version_script = yes
32538 echo "struct B { virtual ~B() { } }; \
32539 struct D : public B { }; \
32540 void F() { D d; }" > conftest.cpp
32543 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32544 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546 (eval $ac_try) 2>&5
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); }; } &&
32551 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32552 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32554 (eval $ac_try) 2>&5
32556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32557 (exit $ac_status); }; }
32560 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32561 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; }
32568 wx_cv_version_script=yes
32570 wx_cv_version_script=no
32575 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32576 rm -f conftest1.output conftest2.output conftest3.output
32579 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32580 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32582 if test $wx_cv_version_script = yes ; then
32583 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32590 *-*-linux* | *-*-gnu* )
32591 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32592 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32596 if test "$GCC" = yes ; then
32597 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32599 saveLdflags="$LDFLAGS"
32600 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32601 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32602 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32603 cat >conftest.$ac_ext <<_ACEOF
32606 cat confdefs.h >>conftest.$ac_ext
32607 cat >>conftest.$ac_ext <<_ACEOF
32608 /* end confdefs.h. */
32618 rm -f conftest.$ac_objext conftest$ac_exeext
32619 if { (ac_try="$ac_link"
32620 case "(($ac_try" in
32621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32622 *) ac_try_echo=$ac_try;;
32624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32625 (eval "$ac_link") 2>conftest.er1
32627 grep -v '^ *+' conftest.er1 >conftest.err
32629 cat conftest.err >&5
32630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32631 (exit $ac_status); } && {
32632 test -z "$ac_c_werror_flag" ||
32633 test ! -s conftest.err
32634 } && test -s conftest$ac_exeext &&
32635 $as_test_x conftest$ac_exeext; then
32637 { echo "$as_me:$LINENO: result: yes" >&5
32638 echo "${ECHO_T}yes" >&6; }
32639 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32640 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32643 echo "$as_me: failed program was:" >&5
32644 sed 's/^/| /' conftest.$ac_ext >&5
32647 { echo "$as_me:$LINENO: result: no" >&5
32648 echo "${ECHO_T}no" >&6; }
32649 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32650 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32651 LDFLAGS="$saveLdflags -Wl,-R,/"
32652 cat >conftest.$ac_ext <<_ACEOF
32655 cat confdefs.h >>conftest.$ac_ext
32656 cat >>conftest.$ac_ext <<_ACEOF
32657 /* end confdefs.h. */
32667 rm -f conftest.$ac_objext conftest$ac_exeext
32668 if { (ac_try="$ac_link"
32669 case "(($ac_try" in
32670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32671 *) ac_try_echo=$ac_try;;
32673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32674 (eval "$ac_link") 2>conftest.er1
32676 grep -v '^ *+' conftest.er1 >conftest.err
32678 cat conftest.err >&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); } && {
32681 test -z "$ac_c_werror_flag" ||
32682 test ! -s conftest.err
32683 } && test -s conftest$ac_exeext &&
32684 $as_test_x conftest$ac_exeext; then
32686 { echo "$as_me:$LINENO: result: yes" >&5
32687 echo "${ECHO_T}yes" >&6; }
32688 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32689 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32692 echo "$as_me: failed program was:" >&5
32693 sed 's/^/| /' conftest.$ac_ext >&5
32696 { echo "$as_me:$LINENO: result: no" >&5
32697 echo "${ECHO_T}no" >&6; }
32701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32702 conftest$ac_exeext conftest.$ac_ext
32706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32707 conftest$ac_exeext conftest.$ac_ext
32708 LDFLAGS="$saveLdflags"
32710 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32711 WXCONFIG_RPATH="-R\$libdir"
32716 install_name_tool=`which install_name_tool`
32717 if test "$install_name_tool" -a -x "$install_name_tool"; then
32718 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32719 cat <<EOF >change-install-names
32721 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32722 inst_cmd="install_name_tool "
32723 for i in \${libnames} ; do
32724 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32728 chmod +x change-install-names
32732 *-*-cygwin* | *-*-mingw32* )
32733 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32737 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32738 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32743 if test $wxUSE_RPATH = "no"; then
32744 SAMPLES_RPATH_FLAG=''
32745 SAMPLES_RPATH_POSTLINK=''
32753 config_linkage_component="-static"
32760 lib_unicode_suffix=
32762 if test "$wxUSE_UNICODE" = "yes"; then
32763 lib_unicode_suffix=u
32764 WX_CHARTYPE="unicode"
32769 WX_DEBUGTYPE="release"
32771 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32773 WX_DEBUGTYPE="debug"
32777 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32778 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32781 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32785 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32787 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32789 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32791 if test "$cross_compiling" = "yes"; then
32792 HOST_SUFFIX="-$host_alias"
32793 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32794 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32797 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32798 if test "${TOOLKIT_DIR}" = "os2"; then
32799 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32801 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32806 if test "$wxUSE_COCOA" = 1; then
32809 ac_cpp='$CPP $CPPFLAGS'
32810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32816 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32817 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32818 cat >conftest.$ac_ext <<_ACEOF
32821 cat confdefs.h >>conftest.$ac_ext
32822 cat >>conftest.$ac_ext <<_ACEOF
32823 /* end confdefs.h. */
32824 #include <AppKit/NSEvent.h>
32825 #include <CoreFoundation/CoreFoundation.h>
32835 rm -f conftest.$ac_objext
32836 if { (ac_try="$ac_compile"
32837 case "(($ac_try" in
32838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32839 *) ac_try_echo=$ac_try;;
32841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32842 (eval "$ac_compile") 2>conftest.er1
32844 grep -v '^ *+' conftest.er1 >conftest.err
32846 cat conftest.err >&5
32847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32848 (exit $ac_status); } && {
32849 test -z "$ac_c_werror_flag" ||
32850 test ! -s conftest.err
32851 } && test -s conftest.$ac_objext; then
32852 { echo "$as_me:$LINENO: result: no" >&5
32853 echo "${ECHO_T}no" >&6; }
32855 echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.$ac_ext >&5
32858 { echo "$as_me:$LINENO: result: yes" >&5
32859 echo "${ECHO_T}yes" >&6; }
32860 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32861 echo $ECHO_N "checking if defining __Point__ will fix it... $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 __Point__ 1
32869 #include <AppKit/NSEvent.h>
32870 #include <CoreFoundation/CoreFoundation.h>
32880 rm -f conftest.$ac_objext
32881 if { (ac_try="$ac_compile"
32882 case "(($ac_try" in
32883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32884 *) ac_try_echo=$ac_try;;
32886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32887 (eval "$ac_compile") 2>conftest.er1
32889 grep -v '^ *+' conftest.er1 >conftest.err
32891 cat conftest.err >&5
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); } && {
32894 test -z "$ac_c_werror_flag" ||
32895 test ! -s conftest.err
32896 } && test -s conftest.$ac_objext; then
32897 { echo "$as_me:$LINENO: result: yes" >&5
32898 echo "${ECHO_T}yes" >&6; }
32899 cat >>confdefs.h <<\_ACEOF
32900 #define __Point__ 1
32905 echo "$as_me: failed program was:" >&5
32906 sed 's/^/| /' conftest.$ac_ext >&5
32908 { { echo "$as_me:$LINENO: error: no
32909 See \`config.log' for more details." >&5
32910 echo "$as_me: error: no
32911 See \`config.log' for more details." >&2;}
32912 { (exit 1); exit 1; }; }
32916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32922 ac_cpp='$CPP $CPPFLAGS'
32923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32929 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32930 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32931 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32933 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32935 # Extract the first word of "Rez", so it can be a program name with args.
32936 set dummy Rez; ac_word=$2
32937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32939 if test "${ac_cv_prog_REZ+set}" = set; then
32940 echo $ECHO_N "(cached) $ECHO_C" >&6
32942 if test -n "$REZ"; then
32943 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32946 for as_dir in $PATH
32949 test -z "$as_dir" && as_dir=.
32950 for ac_exec_ext in '' $ac_executable_extensions; do
32951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32952 ac_cv_prog_REZ="Rez"
32953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32960 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32963 REZ=$ac_cv_prog_REZ
32964 if test -n "$REZ"; then
32965 { echo "$as_me:$LINENO: result: $REZ" >&5
32966 echo "${ECHO_T}$REZ" >&6; }
32968 { echo "$as_me:$LINENO: result: no" >&5
32969 echo "${ECHO_T}no" >&6; }
32973 # Extract the first word of "DeRez", so it can be a program name with args.
32974 set dummy DeRez; ac_word=$2
32975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32977 if test "${ac_cv_prog_DEREZ+set}" = set; then
32978 echo $ECHO_N "(cached) $ECHO_C" >&6
32980 if test -n "$DEREZ"; then
32981 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32984 for as_dir in $PATH
32987 test -z "$as_dir" && as_dir=.
32988 for ac_exec_ext in '' $ac_executable_extensions; do
32989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32990 ac_cv_prog_DEREZ="DeRez"
32991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32998 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33001 DEREZ=$ac_cv_prog_DEREZ
33002 if test -n "$DEREZ"; then
33003 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33004 echo "${ECHO_T}$DEREZ" >&6; }
33006 { echo "$as_me:$LINENO: result: no" >&5
33007 echo "${ECHO_T}no" >&6; }
33011 # Extract the first word of "SetFile", so it can be a program name with args.
33012 set dummy SetFile; ac_word=$2
33013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33015 if test "${ac_cv_prog_SETFILE+set}" = set; then
33016 echo $ECHO_N "(cached) $ECHO_C" >&6
33018 if test -n "$SETFILE"; then
33019 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33022 for as_dir in $PATH
33025 test -z "$as_dir" && as_dir=.
33026 for ac_exec_ext in '' $ac_executable_extensions; do
33027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33028 ac_cv_prog_SETFILE="SetFile"
33029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33036 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33039 SETFILE=$ac_cv_prog_SETFILE
33040 if test -n "$SETFILE"; then
33041 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33042 echo "${ECHO_T}$SETFILE" >&6; }
33044 { echo "$as_me:$LINENO: result: no" >&5
33045 echo "${ECHO_T}no" >&6; }
33050 MACSETFILE="\$(SETFILE)"
33052 if test "$wxUSE_MAC" = 1; then
33053 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33055 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33057 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33058 RESCOMP="echo -n \| $REZ"
33059 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33065 if test "$wxUSE_PM" = 1; then
33067 WXCONFIG_RESFLAGS="-ep"
33069 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33071 POSTLINK_COMMAND="@true"
33078 { echo "$as_me:$LINENO: checking for mode_t" >&5
33079 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33080 if test "${ac_cv_type_mode_t+set}" = set; then
33081 echo $ECHO_N "(cached) $ECHO_C" >&6
33083 cat >conftest.$ac_ext <<_ACEOF
33086 cat confdefs.h >>conftest.$ac_ext
33087 cat >>conftest.$ac_ext <<_ACEOF
33088 /* end confdefs.h. */
33089 $ac_includes_default
33090 typedef mode_t ac__type_new_;
33094 if ((ac__type_new_ *) 0)
33096 if (sizeof (ac__type_new_))
33102 rm -f conftest.$ac_objext
33103 if { (ac_try="$ac_compile"
33104 case "(($ac_try" in
33105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33106 *) ac_try_echo=$ac_try;;
33108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33109 (eval "$ac_compile") 2>conftest.er1
33111 grep -v '^ *+' conftest.er1 >conftest.err
33113 cat conftest.err >&5
33114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33115 (exit $ac_status); } && {
33116 test -z "$ac_c_werror_flag" ||
33117 test ! -s conftest.err
33118 } && test -s conftest.$ac_objext; then
33119 ac_cv_type_mode_t=yes
33121 echo "$as_me: failed program was:" >&5
33122 sed 's/^/| /' conftest.$ac_ext >&5
33124 ac_cv_type_mode_t=no
33127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33129 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33130 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33131 if test $ac_cv_type_mode_t = yes; then
33135 cat >>confdefs.h <<_ACEOF
33141 { echo "$as_me:$LINENO: checking for off_t" >&5
33142 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33143 if test "${ac_cv_type_off_t+set}" = set; then
33144 echo $ECHO_N "(cached) $ECHO_C" >&6
33146 cat >conftest.$ac_ext <<_ACEOF
33149 cat confdefs.h >>conftest.$ac_ext
33150 cat >>conftest.$ac_ext <<_ACEOF
33151 /* end confdefs.h. */
33152 $ac_includes_default
33153 typedef off_t ac__type_new_;
33157 if ((ac__type_new_ *) 0)
33159 if (sizeof (ac__type_new_))
33165 rm -f conftest.$ac_objext
33166 if { (ac_try="$ac_compile"
33167 case "(($ac_try" in
33168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33169 *) ac_try_echo=$ac_try;;
33171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33172 (eval "$ac_compile") 2>conftest.er1
33174 grep -v '^ *+' conftest.er1 >conftest.err
33176 cat conftest.err >&5
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); } && {
33179 test -z "$ac_c_werror_flag" ||
33180 test ! -s conftest.err
33181 } && test -s conftest.$ac_objext; then
33182 ac_cv_type_off_t=yes
33184 echo "$as_me: failed program was:" >&5
33185 sed 's/^/| /' conftest.$ac_ext >&5
33187 ac_cv_type_off_t=no
33190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33192 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33193 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33194 if test $ac_cv_type_off_t = yes; then
33198 cat >>confdefs.h <<_ACEOF
33199 #define off_t long int
33204 { echo "$as_me:$LINENO: checking for pid_t" >&5
33205 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33206 if test "${ac_cv_type_pid_t+set}" = set; then
33207 echo $ECHO_N "(cached) $ECHO_C" >&6
33209 cat >conftest.$ac_ext <<_ACEOF
33212 cat confdefs.h >>conftest.$ac_ext
33213 cat >>conftest.$ac_ext <<_ACEOF
33214 /* end confdefs.h. */
33215 $ac_includes_default
33216 typedef pid_t ac__type_new_;
33220 if ((ac__type_new_ *) 0)
33222 if (sizeof (ac__type_new_))
33228 rm -f conftest.$ac_objext
33229 if { (ac_try="$ac_compile"
33230 case "(($ac_try" in
33231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33232 *) ac_try_echo=$ac_try;;
33234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33235 (eval "$ac_compile") 2>conftest.er1
33237 grep -v '^ *+' conftest.er1 >conftest.err
33239 cat conftest.err >&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); } && {
33242 test -z "$ac_c_werror_flag" ||
33243 test ! -s conftest.err
33244 } && test -s conftest.$ac_objext; then
33245 ac_cv_type_pid_t=yes
33247 echo "$as_me: failed program was:" >&5
33248 sed 's/^/| /' conftest.$ac_ext >&5
33250 ac_cv_type_pid_t=no
33253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33255 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33256 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33257 if test $ac_cv_type_pid_t = yes; then
33261 cat >>confdefs.h <<_ACEOF
33267 { echo "$as_me:$LINENO: checking for size_t" >&5
33268 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33269 if test "${ac_cv_type_size_t+set}" = set; then
33270 echo $ECHO_N "(cached) $ECHO_C" >&6
33272 cat >conftest.$ac_ext <<_ACEOF
33275 cat confdefs.h >>conftest.$ac_ext
33276 cat >>conftest.$ac_ext <<_ACEOF
33277 /* end confdefs.h. */
33278 $ac_includes_default
33279 typedef size_t ac__type_new_;
33283 if ((ac__type_new_ *) 0)
33285 if (sizeof (ac__type_new_))
33291 rm -f conftest.$ac_objext
33292 if { (ac_try="$ac_compile"
33293 case "(($ac_try" in
33294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33295 *) ac_try_echo=$ac_try;;
33297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33298 (eval "$ac_compile") 2>conftest.er1
33300 grep -v '^ *+' conftest.er1 >conftest.err
33302 cat conftest.err >&5
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); } && {
33305 test -z "$ac_c_werror_flag" ||
33306 test ! -s conftest.err
33307 } && test -s conftest.$ac_objext; then
33308 ac_cv_type_size_t=yes
33310 echo "$as_me: failed program was:" >&5
33311 sed 's/^/| /' conftest.$ac_ext >&5
33313 ac_cv_type_size_t=no
33316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33318 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33319 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33320 if test $ac_cv_type_size_t = yes; then
33324 cat >>confdefs.h <<_ACEOF
33325 #define size_t unsigned int
33330 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33331 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33332 if test "${ac_cv_type_uid_t+set}" = set; then
33333 echo $ECHO_N "(cached) $ECHO_C" >&6
33335 cat >conftest.$ac_ext <<_ACEOF
33338 cat confdefs.h >>conftest.$ac_ext
33339 cat >>conftest.$ac_ext <<_ACEOF
33340 /* end confdefs.h. */
33341 #include <sys/types.h>
33344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33345 $EGREP "uid_t" >/dev/null 2>&1; then
33346 ac_cv_type_uid_t=yes
33348 ac_cv_type_uid_t=no
33353 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33354 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33355 if test $ac_cv_type_uid_t = no; then
33357 cat >>confdefs.h <<\_ACEOF
33362 cat >>confdefs.h <<\_ACEOF
33369 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33370 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33371 if test "${ac_cv_type_ssize_t+set}" = set; then
33372 echo $ECHO_N "(cached) $ECHO_C" >&6
33374 cat >conftest.$ac_ext <<_ACEOF
33377 cat confdefs.h >>conftest.$ac_ext
33378 cat >>conftest.$ac_ext <<_ACEOF
33379 /* end confdefs.h. */
33380 $ac_includes_default
33381 typedef ssize_t ac__type_new_;
33385 if ((ac__type_new_ *) 0)
33387 if (sizeof (ac__type_new_))
33393 rm -f conftest.$ac_objext
33394 if { (ac_try="$ac_compile"
33395 case "(($ac_try" in
33396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33397 *) ac_try_echo=$ac_try;;
33399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33400 (eval "$ac_compile") 2>conftest.er1
33402 grep -v '^ *+' conftest.er1 >conftest.err
33404 cat conftest.err >&5
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); } && {
33407 test -z "$ac_c_werror_flag" ||
33408 test ! -s conftest.err
33409 } && test -s conftest.$ac_objext; then
33410 ac_cv_type_ssize_t=yes
33412 echo "$as_me: failed program was:" >&5
33413 sed 's/^/| /' conftest.$ac_ext >&5
33415 ac_cv_type_ssize_t=no
33418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33420 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33421 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33422 if test $ac_cv_type_ssize_t = yes; then
33424 cat >>confdefs.h <<_ACEOF
33425 #define HAVE_SSIZE_T 1
33433 ac_cpp='$CXXCPP $CPPFLAGS'
33434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33437 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33438 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33439 if test "${wx_cv_size_t_is_uint+set}" = set; then
33440 echo $ECHO_N "(cached) $ECHO_C" >&6
33443 cat >conftest.$ac_ext <<_ACEOF
33446 cat confdefs.h >>conftest.$ac_ext
33447 cat >>conftest.$ac_ext <<_ACEOF
33448 /* end confdefs.h. */
33449 #include <stddef.h>
33456 struct Foo { void foo(size_t); void foo(unsigned int); };
33464 rm -f conftest.$ac_objext
33465 if { (ac_try="$ac_compile"
33466 case "(($ac_try" in
33467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33468 *) ac_try_echo=$ac_try;;
33470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33471 (eval "$ac_compile") 2>conftest.er1
33473 grep -v '^ *+' conftest.er1 >conftest.err
33475 cat conftest.err >&5
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); } && {
33478 test -z "$ac_cxx_werror_flag" ||
33479 test ! -s conftest.err
33480 } && test -s conftest.$ac_objext; then
33481 wx_cv_size_t_is_uint=no
33483 echo "$as_me: failed program was:" >&5
33484 sed 's/^/| /' conftest.$ac_ext >&5
33486 wx_cv_size_t_is_uint=yes
33490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33494 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33495 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33497 if test "$wx_cv_size_t_is_uint" = "yes"; then
33498 cat >>confdefs.h <<\_ACEOF
33499 #define wxSIZE_T_IS_UINT 1
33503 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33504 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33505 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33506 echo $ECHO_N "(cached) $ECHO_C" >&6
33508 cat >conftest.$ac_ext <<_ACEOF
33511 cat confdefs.h >>conftest.$ac_ext
33512 cat >>conftest.$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33514 #include <stddef.h>
33521 struct Foo { void foo(size_t); void foo(unsigned long); };
33529 rm -f conftest.$ac_objext
33530 if { (ac_try="$ac_compile"
33531 case "(($ac_try" in
33532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33533 *) ac_try_echo=$ac_try;;
33535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33536 (eval "$ac_compile") 2>conftest.er1
33538 grep -v '^ *+' conftest.er1 >conftest.err
33540 cat conftest.err >&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); } && {
33543 test -z "$ac_cxx_werror_flag" ||
33544 test ! -s conftest.err
33545 } && test -s conftest.$ac_objext; then
33546 wx_cv_size_t_is_ulong=no
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.$ac_ext >&5
33551 wx_cv_size_t_is_ulong=yes
33555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33558 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33559 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33561 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33562 cat >>confdefs.h <<\_ACEOF
33563 #define wxSIZE_T_IS_ULONG 1
33570 ac_cpp='$CPP $CPPFLAGS'
33571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33576 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33577 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33578 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 cat >conftest.$ac_ext <<_ACEOF
33585 cat confdefs.h >>conftest.$ac_ext
33586 cat >>conftest.$ac_ext <<_ACEOF
33587 /* end confdefs.h. */
33601 rm -f conftest.$ac_objext
33602 if { (ac_try="$ac_compile"
33603 case "(($ac_try" in
33604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33605 *) ac_try_echo=$ac_try;;
33607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33608 (eval "$ac_compile") 2>conftest.er1
33610 grep -v '^ *+' conftest.er1 >conftest.err
33612 cat conftest.err >&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); } && {
33615 test -z "$ac_c_werror_flag" ||
33616 test ! -s conftest.err
33617 } && test -s conftest.$ac_objext; then
33619 wx_cv_struct_pw_gecos=yes
33622 echo "$as_me: failed program was:" >&5
33623 sed 's/^/| /' conftest.$ac_ext >&5
33626 wx_cv_struct_pw_gecos=no
33631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33635 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33636 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33638 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33639 cat >>confdefs.h <<\_ACEOF
33640 #define HAVE_PW_GECOS 1
33646 if test "$wxUSE_WCHAR_T" = "yes"; then
33647 cat >>confdefs.h <<\_ACEOF
33648 #define wxUSE_WCHAR_T 1
33655 for ac_func in wcslen
33657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33658 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33660 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33661 echo $ECHO_N "(cached) $ECHO_C" >&6
33663 cat >conftest.$ac_ext <<_ACEOF
33666 cat confdefs.h >>conftest.$ac_ext
33667 cat >>conftest.$ac_ext <<_ACEOF
33668 /* end confdefs.h. */
33669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33671 #define $ac_func innocuous_$ac_func
33673 /* System header to define __stub macros and hopefully few prototypes,
33674 which can conflict with char $ac_func (); below.
33675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33676 <limits.h> exists even on freestanding compilers. */
33679 # include <limits.h>
33681 # include <assert.h>
33686 /* Override any GCC internal prototype to avoid an error.
33687 Use char because int might match the return type of a GCC
33688 builtin and then its argument prototype would still apply. */
33693 /* The GNU C library defines this for functions which it implements
33694 to always fail with ENOSYS. Some functions are actually named
33695 something starting with __ and the normal name is an alias. */
33696 #if defined __stub_$ac_func || defined __stub___$ac_func
33703 return $ac_func ();
33708 rm -f conftest.$ac_objext conftest$ac_exeext
33709 if { (ac_try="$ac_link"
33710 case "(($ac_try" in
33711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33712 *) ac_try_echo=$ac_try;;
33714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33715 (eval "$ac_link") 2>conftest.er1
33717 grep -v '^ *+' conftest.er1 >conftest.err
33719 cat conftest.err >&5
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); } && {
33722 test -z "$ac_c_werror_flag" ||
33723 test ! -s conftest.err
33724 } && test -s conftest$ac_exeext &&
33725 $as_test_x conftest$ac_exeext; then
33726 eval "$as_ac_var=yes"
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.$ac_ext >&5
33731 eval "$as_ac_var=no"
33734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33735 conftest$ac_exeext conftest.$ac_ext
33737 ac_res=`eval echo '${'$as_ac_var'}'`
33738 { echo "$as_me:$LINENO: result: $ac_res" >&5
33739 echo "${ECHO_T}$ac_res" >&6; }
33740 if test `eval echo '${'$as_ac_var'}'` = yes; then
33741 cat >>confdefs.h <<_ACEOF
33742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33749 if test "$WCSLEN_FOUND" = 0; then
33750 if test "$TOOLKIT" = "MSW"; then
33751 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33752 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33753 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33754 echo $ECHO_N "(cached) $ECHO_C" >&6
33756 ac_check_lib_save_LIBS=$LIBS
33757 LIBS="-lmsvcrt $LIBS"
33758 cat >conftest.$ac_ext <<_ACEOF
33761 cat confdefs.h >>conftest.$ac_ext
33762 cat >>conftest.$ac_ext <<_ACEOF
33763 /* end confdefs.h. */
33765 /* Override any GCC internal prototype to avoid an error.
33766 Use char because int might match the return type of a GCC
33767 builtin and then its argument prototype would still apply. */
33780 rm -f conftest.$ac_objext conftest$ac_exeext
33781 if { (ac_try="$ac_link"
33782 case "(($ac_try" in
33783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33784 *) ac_try_echo=$ac_try;;
33786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33787 (eval "$ac_link") 2>conftest.er1
33789 grep -v '^ *+' conftest.er1 >conftest.err
33791 cat conftest.err >&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); } && {
33794 test -z "$ac_c_werror_flag" ||
33795 test ! -s conftest.err
33796 } && test -s conftest$ac_exeext &&
33797 $as_test_x conftest$ac_exeext; then
33798 ac_cv_lib_msvcrt_wcslen=yes
33800 echo "$as_me: failed program was:" >&5
33801 sed 's/^/| /' conftest.$ac_ext >&5
33803 ac_cv_lib_msvcrt_wcslen=no
33806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33807 conftest$ac_exeext conftest.$ac_ext
33808 LIBS=$ac_check_lib_save_LIBS
33810 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33811 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33812 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33817 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33818 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33819 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33820 echo $ECHO_N "(cached) $ECHO_C" >&6
33822 ac_check_lib_save_LIBS=$LIBS
33824 cat >conftest.$ac_ext <<_ACEOF
33827 cat confdefs.h >>conftest.$ac_ext
33828 cat >>conftest.$ac_ext <<_ACEOF
33829 /* end confdefs.h. */
33831 /* Override any GCC internal prototype to avoid an error.
33832 Use char because int might match the return type of a GCC
33833 builtin and then its argument prototype would still apply. */
33846 rm -f conftest.$ac_objext conftest$ac_exeext
33847 if { (ac_try="$ac_link"
33848 case "(($ac_try" in
33849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33850 *) ac_try_echo=$ac_try;;
33852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33853 (eval "$ac_link") 2>conftest.er1
33855 grep -v '^ *+' conftest.er1 >conftest.err
33857 cat conftest.err >&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); } && {
33860 test -z "$ac_c_werror_flag" ||
33861 test ! -s conftest.err
33862 } && test -s conftest$ac_exeext &&
33863 $as_test_x conftest$ac_exeext; then
33864 ac_cv_lib_w_wcslen=yes
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.$ac_ext >&5
33869 ac_cv_lib_w_wcslen=no
33872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33873 conftest$ac_exeext conftest.$ac_ext
33874 LIBS=$ac_check_lib_save_LIBS
33876 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33877 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33878 if test $ac_cv_lib_w_wcslen = yes; then
33888 if test "$WCSLEN_FOUND" = 1; then
33889 cat >>confdefs.h <<\_ACEOF
33890 #define HAVE_WCSLEN 1
33895 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33896 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33899 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33900 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33901 if test "${ac_cv_type_mbstate_t+set}" = set; then
33902 echo $ECHO_N "(cached) $ECHO_C" >&6
33904 cat >conftest.$ac_ext <<_ACEOF
33907 cat confdefs.h >>conftest.$ac_ext
33908 cat >>conftest.$ac_ext <<_ACEOF
33909 /* end confdefs.h. */
33912 typedef mbstate_t ac__type_new_;
33916 if ((ac__type_new_ *) 0)
33918 if (sizeof (ac__type_new_))
33924 rm -f conftest.$ac_objext
33925 if { (ac_try="$ac_compile"
33926 case "(($ac_try" in
33927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33928 *) ac_try_echo=$ac_try;;
33930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33931 (eval "$ac_compile") 2>conftest.er1
33933 grep -v '^ *+' conftest.er1 >conftest.err
33935 cat conftest.err >&5
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); } && {
33938 test -z "$ac_c_werror_flag" ||
33939 test ! -s conftest.err
33940 } && test -s conftest.$ac_objext; then
33941 ac_cv_type_mbstate_t=yes
33943 echo "$as_me: failed program was:" >&5
33944 sed 's/^/| /' conftest.$ac_ext >&5
33946 ac_cv_type_mbstate_t=no
33949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33951 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33952 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33953 if test $ac_cv_type_mbstate_t = yes; then
33955 cat >>confdefs.h <<_ACEOF
33956 #define HAVE_MBSTATE_T 1
33960 for ac_func in wcsrtombs
33962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33963 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33965 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33966 echo $ECHO_N "(cached) $ECHO_C" >&6
33968 cat >conftest.$ac_ext <<_ACEOF
33971 cat confdefs.h >>conftest.$ac_ext
33972 cat >>conftest.$ac_ext <<_ACEOF
33973 /* end confdefs.h. */
33974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33976 #define $ac_func innocuous_$ac_func
33978 /* System header to define __stub macros and hopefully few prototypes,
33979 which can conflict with char $ac_func (); below.
33980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33981 <limits.h> exists even on freestanding compilers. */
33984 # include <limits.h>
33986 # include <assert.h>
33991 /* Override any GCC internal prototype to avoid an error.
33992 Use char because int might match the return type of a GCC
33993 builtin and then its argument prototype would still apply. */
33998 /* The GNU C library defines this for functions which it implements
33999 to always fail with ENOSYS. Some functions are actually named
34000 something starting with __ and the normal name is an alias. */
34001 #if defined __stub_$ac_func || defined __stub___$ac_func
34008 return $ac_func ();
34013 rm -f conftest.$ac_objext conftest$ac_exeext
34014 if { (ac_try="$ac_link"
34015 case "(($ac_try" in
34016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34017 *) ac_try_echo=$ac_try;;
34019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34020 (eval "$ac_link") 2>conftest.er1
34022 grep -v '^ *+' conftest.er1 >conftest.err
34024 cat conftest.err >&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); } && {
34027 test -z "$ac_c_werror_flag" ||
34028 test ! -s conftest.err
34029 } && test -s conftest$ac_exeext &&
34030 $as_test_x conftest$ac_exeext; then
34031 eval "$as_ac_var=yes"
34033 echo "$as_me: failed program was:" >&5
34034 sed 's/^/| /' conftest.$ac_ext >&5
34036 eval "$as_ac_var=no"
34039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34040 conftest$ac_exeext conftest.$ac_ext
34042 ac_res=`eval echo '${'$as_ac_var'}'`
34043 { echo "$as_me:$LINENO: result: $ac_res" >&5
34044 echo "${ECHO_T}$ac_res" >&6; }
34045 if test `eval echo '${'$as_ac_var'}'` = yes; then
34046 cat >>confdefs.h <<_ACEOF
34047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34056 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34057 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34062 for ac_func in snprintf vsnprintf
34064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34067 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34068 echo $ECHO_N "(cached) $ECHO_C" >&6
34070 cat >conftest.$ac_ext <<_ACEOF
34073 cat confdefs.h >>conftest.$ac_ext
34074 cat >>conftest.$ac_ext <<_ACEOF
34075 /* end confdefs.h. */
34076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34078 #define $ac_func innocuous_$ac_func
34080 /* System header to define __stub macros and hopefully few prototypes,
34081 which can conflict with char $ac_func (); below.
34082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34083 <limits.h> exists even on freestanding compilers. */
34086 # include <limits.h>
34088 # include <assert.h>
34093 /* Override any GCC internal prototype to avoid an error.
34094 Use char because int might match the return type of a GCC
34095 builtin and then its argument prototype would still apply. */
34100 /* The GNU C library defines this for functions which it implements
34101 to always fail with ENOSYS. Some functions are actually named
34102 something starting with __ and the normal name is an alias. */
34103 #if defined __stub_$ac_func || defined __stub___$ac_func
34110 return $ac_func ();
34115 rm -f conftest.$ac_objext conftest$ac_exeext
34116 if { (ac_try="$ac_link"
34117 case "(($ac_try" in
34118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34119 *) ac_try_echo=$ac_try;;
34121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34122 (eval "$ac_link") 2>conftest.er1
34124 grep -v '^ *+' conftest.er1 >conftest.err
34126 cat conftest.err >&5
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); } && {
34129 test -z "$ac_c_werror_flag" ||
34130 test ! -s conftest.err
34131 } && test -s conftest$ac_exeext &&
34132 $as_test_x conftest$ac_exeext; then
34133 eval "$as_ac_var=yes"
34135 echo "$as_me: failed program was:" >&5
34136 sed 's/^/| /' conftest.$ac_ext >&5
34138 eval "$as_ac_var=no"
34141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34142 conftest$ac_exeext conftest.$ac_ext
34144 ac_res=`eval echo '${'$as_ac_var'}'`
34145 { echo "$as_me:$LINENO: result: $ac_res" >&5
34146 echo "${ECHO_T}$ac_res" >&6; }
34147 if test `eval echo '${'$as_ac_var'}'` = yes; then
34148 cat >>confdefs.h <<_ACEOF
34149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34156 if test "$ac_cv_func_vsnprintf" = "yes"; then
34157 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34158 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34159 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34160 echo $ECHO_N "(cached) $ECHO_C" >&6
34163 cat >conftest.$ac_ext <<_ACEOF
34166 cat confdefs.h >>conftest.$ac_ext
34167 cat >>conftest.$ac_ext <<_ACEOF
34168 /* end confdefs.h. */
34171 #include <stdarg.h>
34173 #if __MSL__ >= 0x6000
34175 using namespace std;
34185 vsnprintf(buf, 10u, "%s", ap);
34191 rm -f conftest.$ac_objext
34192 if { (ac_try="$ac_compile"
34193 case "(($ac_try" in
34194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34195 *) ac_try_echo=$ac_try;;
34197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34198 (eval "$ac_compile") 2>conftest.er1
34200 grep -v '^ *+' conftest.er1 >conftest.err
34202 cat conftest.err >&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } && {
34205 test -z "$ac_c_werror_flag" ||
34206 test ! -s conftest.err
34207 } && test -s conftest.$ac_objext; then
34208 wx_cv_func_vsnprintf_decl=yes
34210 echo "$as_me: failed program was:" >&5
34211 sed 's/^/| /' conftest.$ac_ext >&5
34213 wx_cv_func_vsnprintf_decl=no
34217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34221 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34222 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34224 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34225 cat >>confdefs.h <<\_ACEOF
34226 #define HAVE_VSNPRINTF_DECL 1
34230 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34231 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34232 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34233 echo $ECHO_N "(cached) $ECHO_C" >&6
34236 cat >conftest.$ac_ext <<_ACEOF
34239 cat confdefs.h >>conftest.$ac_ext
34240 cat >>conftest.$ac_ext <<_ACEOF
34241 /* end confdefs.h. */
34244 #include <stdarg.h>
34246 #if __MSL__ >= 0x6000
34248 using namespace std;
34258 const char *fmt = "%s";
34259 vsnprintf(buf, 10u, fmt, ap);
34265 rm -f conftest.$ac_objext
34266 if { (ac_try="$ac_compile"
34267 case "(($ac_try" in
34268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34269 *) ac_try_echo=$ac_try;;
34271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34272 (eval "$ac_compile") 2>conftest.er1
34274 grep -v '^ *+' conftest.er1 >conftest.err
34276 cat conftest.err >&5
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); } && {
34279 test -z "$ac_c_werror_flag" ||
34280 test ! -s conftest.err
34281 } && test -s conftest.$ac_objext; then
34282 wx_cv_func_broken_vsnprintf_decl=no
34284 echo "$as_me: failed program was:" >&5
34285 sed 's/^/| /' conftest.$ac_ext >&5
34287 wx_cv_func_broken_vsnprintf_decl=yes
34291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34295 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34296 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34298 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34299 cat >>confdefs.h <<\_ACEOF
34300 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34307 if test "$ac_cv_func_snprintf" = "yes"; then
34308 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34309 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34310 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34311 echo $ECHO_N "(cached) $ECHO_C" >&6
34314 cat >conftest.$ac_ext <<_ACEOF
34317 cat confdefs.h >>conftest.$ac_ext
34318 cat >>conftest.$ac_ext <<_ACEOF
34319 /* end confdefs.h. */
34322 #include <stdarg.h>
34324 #if __MSL__ >= 0x6000
34326 using namespace std;
34335 snprintf(buf, 10u, "%s", "wx");
34341 rm -f conftest.$ac_objext
34342 if { (ac_try="$ac_compile"
34343 case "(($ac_try" in
34344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34345 *) ac_try_echo=$ac_try;;
34347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34348 (eval "$ac_compile") 2>conftest.er1
34350 grep -v '^ *+' conftest.er1 >conftest.err
34352 cat conftest.err >&5
34353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 (exit $ac_status); } && {
34355 test -z "$ac_c_werror_flag" ||
34356 test ! -s conftest.err
34357 } && test -s conftest.$ac_objext; then
34358 wx_cv_func_snprintf_decl=yes
34360 echo "$as_me: failed program was:" >&5
34361 sed 's/^/| /' conftest.$ac_ext >&5
34363 wx_cv_func_snprintf_decl=no
34367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34371 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34372 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34374 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34375 cat >>confdefs.h <<\_ACEOF
34376 #define HAVE_SNPRINTF_DECL 1
34380 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34381 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34382 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34386 cat >conftest.$ac_ext <<_ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34394 #include <stdarg.h>
34396 #if __MSL__ >= 0x6000
34398 using namespace std;
34407 const char *fmt = "%s";
34408 snprintf(buf, 10u, fmt, "wx");
34414 rm -f conftest.$ac_objext
34415 if { (ac_try="$ac_compile"
34416 case "(($ac_try" in
34417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34418 *) ac_try_echo=$ac_try;;
34420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34421 (eval "$ac_compile") 2>conftest.er1
34423 grep -v '^ *+' conftest.er1 >conftest.err
34425 cat conftest.err >&5
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); } && {
34428 test -z "$ac_c_werror_flag" ||
34429 test ! -s conftest.err
34430 } && test -s conftest.$ac_objext; then
34431 wx_cv_func_broken_snprintf_decl=no
34433 echo "$as_me: failed program was:" >&5
34434 sed 's/^/| /' conftest.$ac_ext >&5
34436 wx_cv_func_broken_snprintf_decl=yes
34440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34444 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34445 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34447 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34448 cat >>confdefs.h <<\_ACEOF
34449 #define HAVE_BROKEN_SNPRINTF_DECL 1
34455 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34457 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34458 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34459 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34460 echo $ECHO_N "(cached) $ECHO_C" >&6
34463 if test "$cross_compiling" = yes; then
34465 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34466 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34467 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34468 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34469 wx_cv_func_snprintf_pos_params=no
34473 cat >conftest.$ac_ext <<_ACEOF
34476 cat confdefs.h >>conftest.$ac_ext
34477 cat >>conftest.$ac_ext <<_ACEOF
34478 /* end confdefs.h. */
34485 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34486 if (strcmp ("2 3 1", buffer) == 0)
34492 rm -f conftest$ac_exeext
34493 if { (ac_try="$ac_link"
34494 case "(($ac_try" in
34495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34496 *) ac_try_echo=$ac_try;;
34498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34499 (eval "$ac_link") 2>&5
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34503 { (case "(($ac_try" in
34504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34505 *) ac_try_echo=$ac_try;;
34507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34508 (eval "$ac_try") 2>&5
34510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34511 (exit $ac_status); }; }; then
34512 wx_cv_func_snprintf_pos_params=no
34514 echo "$as_me: program exited with status $ac_status" >&5
34515 echo "$as_me: failed program was:" >&5
34516 sed 's/^/| /' conftest.$ac_ext >&5
34518 ( exit $ac_status )
34519 wx_cv_func_snprintf_pos_params=yes
34521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34528 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34529 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34531 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34532 cat >>confdefs.h <<\_ACEOF
34533 #define HAVE_UNIX98_PRINTF 1
34540 if test "$wxUSE_UNICODE" = yes; then
34543 for ac_func in swprintf
34545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34546 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34548 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34549 echo $ECHO_N "(cached) $ECHO_C" >&6
34551 cat >conftest.$ac_ext <<_ACEOF
34554 cat confdefs.h >>conftest.$ac_ext
34555 cat >>conftest.$ac_ext <<_ACEOF
34556 /* end confdefs.h. */
34557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34559 #define $ac_func innocuous_$ac_func
34561 /* System header to define __stub macros and hopefully few prototypes,
34562 which can conflict with char $ac_func (); below.
34563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34564 <limits.h> exists even on freestanding compilers. */
34567 # include <limits.h>
34569 # include <assert.h>
34574 /* Override any GCC internal prototype to avoid an error.
34575 Use char because int might match the return type of a GCC
34576 builtin and then its argument prototype would still apply. */
34581 /* The GNU C library defines this for functions which it implements
34582 to always fail with ENOSYS. Some functions are actually named
34583 something starting with __ and the normal name is an alias. */
34584 #if defined __stub_$ac_func || defined __stub___$ac_func
34591 return $ac_func ();
34596 rm -f conftest.$ac_objext conftest$ac_exeext
34597 if { (ac_try="$ac_link"
34598 case "(($ac_try" in
34599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34600 *) ac_try_echo=$ac_try;;
34602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34603 (eval "$ac_link") 2>conftest.er1
34605 grep -v '^ *+' conftest.er1 >conftest.err
34607 cat conftest.err >&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); } && {
34610 test -z "$ac_c_werror_flag" ||
34611 test ! -s conftest.err
34612 } && test -s conftest$ac_exeext &&
34613 $as_test_x conftest$ac_exeext; then
34614 eval "$as_ac_var=yes"
34616 echo "$as_me: failed program was:" >&5
34617 sed 's/^/| /' conftest.$ac_ext >&5
34619 eval "$as_ac_var=no"
34622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34623 conftest$ac_exeext conftest.$ac_ext
34625 ac_res=`eval echo '${'$as_ac_var'}'`
34626 { echo "$as_me:$LINENO: result: $ac_res" >&5
34627 echo "${ECHO_T}$ac_res" >&6; }
34628 if test `eval echo '${'$as_ac_var'}'` = yes; then
34629 cat >>confdefs.h <<_ACEOF
34630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34637 if test "$ac_cv_func_swprintf" = "yes"; then
34638 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34639 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34640 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34641 echo $ECHO_N "(cached) $ECHO_C" >&6
34644 cat >conftest.$ac_ext <<_ACEOF
34647 cat confdefs.h >>conftest.$ac_ext
34648 cat >>conftest.$ac_ext <<_ACEOF
34649 /* end confdefs.h. */
34652 #include <stdarg.h>
34660 const wchar_t *fmt = L"test";
34661 swprintf(buf, 10u, fmt);
34667 rm -f conftest.$ac_objext
34668 if { (ac_try="$ac_compile"
34669 case "(($ac_try" in
34670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34671 *) ac_try_echo=$ac_try;;
34673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34674 (eval "$ac_compile") 2>conftest.er1
34676 grep -v '^ *+' conftest.er1 >conftest.err
34678 cat conftest.err >&5
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); } && {
34681 test -z "$ac_c_werror_flag" ||
34682 test ! -s conftest.err
34683 } && test -s conftest.$ac_objext; then
34684 wx_cv_func_broken_swprintf_decl=no
34686 echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.$ac_ext >&5
34689 wx_cv_func_broken_swprintf_decl=yes
34693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34697 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34698 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34700 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34701 cat >>confdefs.h <<\_ACEOF
34702 #define HAVE_BROKEN_SWPRINTF_DECL 1
34708 wchar_headers="#include <stdio.h>
34709 #include <wchar.h>"
34712 { echo "$as_me:$LINENO: checking for widec.h" >&5
34713 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34714 if test "${ac_cv_header_widec_h+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. */
34723 $ac_includes_default
34727 rm -f conftest.$ac_objext
34728 if { (ac_try="$ac_compile"
34729 case "(($ac_try" in
34730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34731 *) ac_try_echo=$ac_try;;
34733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34734 (eval "$ac_compile") 2>conftest.er1
34736 grep -v '^ *+' conftest.er1 >conftest.err
34738 cat conftest.err >&5
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); } && {
34741 test -z "$ac_c_werror_flag" ||
34742 test ! -s conftest.err
34743 } && test -s conftest.$ac_objext; then
34744 ac_cv_header_widec_h=yes
34746 echo "$as_me: failed program was:" >&5
34747 sed 's/^/| /' conftest.$ac_ext >&5
34749 ac_cv_header_widec_h=no
34752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34754 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34755 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34758 if test "$ac_cv_header_widec_h" = "yes"; then
34759 wchar_headers="$wchar_headers
34760 #include <widec.h>"
34765 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34767 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34768 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34769 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34770 echo $ECHO_N "(cached) $ECHO_C" >&6
34773 cat >conftest.$ac_ext <<_ACEOF
34777 cat confdefs.h >>conftest.$ac_ext
34778 cat >>conftest.$ac_ext <<_ACEOF
34779 /* end confdefs.h. */
34782 $ac_includes_default
34798 rm -f conftest.$ac_objext conftest$ac_exeext
34799 if { (ac_try="$ac_link"
34800 case "(($ac_try" in
34801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34802 *) ac_try_echo=$ac_try;;
34804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34805 (eval "$ac_link") 2>conftest.er1
34807 grep -v '^ *+' conftest.er1 >conftest.err
34809 cat conftest.err >&5
34810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34811 (exit $ac_status); } && {
34812 test -z "$ac_c_werror_flag" ||
34813 test ! -s conftest.err
34814 } && test -s conftest$ac_exeext &&
34815 $as_test_x conftest$ac_exeext; then
34816 eval wx_cv_func_$wx_func=yes
34818 echo "$as_me: failed program was:" >&5
34819 sed 's/^/| /' conftest.$ac_ext >&5
34821 eval wx_cv_func_$wx_func=no
34824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34825 conftest$ac_exeext conftest.$ac_ext
34828 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34829 { echo "$as_me:$LINENO: result: $ac_res" >&5
34830 echo "${ECHO_T}$ac_res" >&6; }
34832 if eval test \$wx_cv_func_$wx_func = yes
34834 cat >>confdefs.h <<_ACEOF
34835 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34846 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34847 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34848 cat >conftest.$ac_ext <<_ACEOF
34851 cat confdefs.h >>conftest.$ac_ext
34852 cat >>conftest.$ac_ext <<_ACEOF
34853 /* end confdefs.h. */
34863 rm -f conftest.$ac_objext
34864 if { (ac_try="$ac_compile"
34865 case "(($ac_try" in
34866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34867 *) ac_try_echo=$ac_try;;
34869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34870 (eval "$ac_compile") 2>conftest.er1
34872 grep -v '^ *+' conftest.er1 >conftest.err
34874 cat conftest.err >&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } && {
34877 test -z "$ac_c_werror_flag" ||
34878 test ! -s conftest.err
34879 } && test -s conftest.$ac_objext; then
34880 { echo "$as_me:$LINENO: result: yes" >&5
34881 echo "${ECHO_T}yes" >&6; }
34882 cat >>confdefs.h <<\_ACEOF
34883 #define HAVE__VSNWPRINTF 1
34887 echo "$as_me: failed program was:" >&5
34888 sed 's/^/| /' conftest.$ac_ext >&5
34890 { echo "$as_me:$LINENO: result: no" >&5
34891 echo "${ECHO_T}no" >&6; }
34894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34897 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34899 for wx_func in fnmatch
34901 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34902 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34903 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34904 echo $ECHO_N "(cached) $ECHO_C" >&6
34907 cat >conftest.$ac_ext <<_ACEOF
34911 cat confdefs.h >>conftest.$ac_ext
34912 cat >>conftest.$ac_ext <<_ACEOF
34913 /* end confdefs.h. */
34915 #include <fnmatch.h>
34916 $ac_includes_default
34932 rm -f conftest.$ac_objext conftest$ac_exeext
34933 if { (ac_try="$ac_link"
34934 case "(($ac_try" in
34935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34936 *) ac_try_echo=$ac_try;;
34938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34939 (eval "$ac_link") 2>conftest.er1
34941 grep -v '^ *+' conftest.er1 >conftest.err
34943 cat conftest.err >&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); } && {
34946 test -z "$ac_c_werror_flag" ||
34947 test ! -s conftest.err
34948 } && test -s conftest$ac_exeext &&
34949 $as_test_x conftest$ac_exeext; then
34950 eval wx_cv_func_$wx_func=yes
34952 echo "$as_me: failed program was:" >&5
34953 sed 's/^/| /' conftest.$ac_ext >&5
34955 eval wx_cv_func_$wx_func=no
34958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34959 conftest$ac_exeext conftest.$ac_ext
34962 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34963 { echo "$as_me:$LINENO: result: $ac_res" >&5
34964 echo "${ECHO_T}$ac_res" >&6; }
34966 if eval test \$wx_cv_func_$wx_func = yes
34968 cat >>confdefs.h <<_ACEOF
34969 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34981 if test "$wxUSE_FILE" = "yes"; then
34983 for wx_func in fsync
34985 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34986 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34987 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34988 echo $ECHO_N "(cached) $ECHO_C" >&6
34991 cat >conftest.$ac_ext <<_ACEOF
34995 cat confdefs.h >>conftest.$ac_ext
34996 cat >>conftest.$ac_ext <<_ACEOF
34997 /* end confdefs.h. */
35000 $ac_includes_default
35016 rm -f conftest.$ac_objext conftest$ac_exeext
35017 if { (ac_try="$ac_link"
35018 case "(($ac_try" in
35019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35020 *) ac_try_echo=$ac_try;;
35022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35023 (eval "$ac_link") 2>conftest.er1
35025 grep -v '^ *+' conftest.er1 >conftest.err
35027 cat conftest.err >&5
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); } && {
35030 test -z "$ac_c_werror_flag" ||
35031 test ! -s conftest.err
35032 } && test -s conftest$ac_exeext &&
35033 $as_test_x conftest$ac_exeext; then
35034 eval wx_cv_func_$wx_func=yes
35036 echo "$as_me: failed program was:" >&5
35037 sed 's/^/| /' conftest.$ac_ext >&5
35039 eval wx_cv_func_$wx_func=no
35042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35043 conftest$ac_exeext conftest.$ac_ext
35046 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35047 { echo "$as_me:$LINENO: result: $ac_res" >&5
35048 echo "${ECHO_T}$ac_res" >&6; }
35050 if eval test \$wx_cv_func_$wx_func = yes
35052 cat >>confdefs.h <<_ACEOF
35053 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35066 for wx_func in round
35068 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35069 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35070 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35071 echo $ECHO_N "(cached) $ECHO_C" >&6
35074 cat >conftest.$ac_ext <<_ACEOF
35078 cat confdefs.h >>conftest.$ac_ext
35079 cat >>conftest.$ac_ext <<_ACEOF
35080 /* end confdefs.h. */
35083 $ac_includes_default
35099 rm -f conftest.$ac_objext conftest$ac_exeext
35100 if { (ac_try="$ac_link"
35101 case "(($ac_try" in
35102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35103 *) ac_try_echo=$ac_try;;
35105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35106 (eval "$ac_link") 2>conftest.er1
35108 grep -v '^ *+' conftest.er1 >conftest.err
35110 cat conftest.err >&5
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); } && {
35113 test -z "$ac_c_werror_flag" ||
35114 test ! -s conftest.err
35115 } && test -s conftest$ac_exeext &&
35116 $as_test_x conftest$ac_exeext; then
35117 eval wx_cv_func_$wx_func=yes
35119 echo "$as_me: failed program was:" >&5
35120 sed 's/^/| /' conftest.$ac_ext >&5
35122 eval wx_cv_func_$wx_func=no
35125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35126 conftest$ac_exeext conftest.$ac_ext
35129 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35130 { echo "$as_me:$LINENO: result: $ac_res" >&5
35131 echo "${ECHO_T}$ac_res" >&6; }
35133 if eval test \$wx_cv_func_$wx_func = yes
35135 cat >>confdefs.h <<_ACEOF
35136 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35147 if test "$TOOLKIT" != "MSW"; then
35153 # Check whether --with-libiconv-prefix was given.
35154 if test "${with_libiconv_prefix+set}" = set; then
35155 withval=$with_libiconv_prefix;
35156 for dir in `echo "$withval" | tr : ' '`; do
35157 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35158 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35164 { echo "$as_me:$LINENO: checking for iconv" >&5
35165 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35166 if test "${am_cv_func_iconv+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35170 am_cv_func_iconv="no, consider installing GNU libiconv"
35172 cat >conftest.$ac_ext <<_ACEOF
35175 cat confdefs.h >>conftest.$ac_ext
35176 cat >>conftest.$ac_ext <<_ACEOF
35177 /* end confdefs.h. */
35178 #include <stdlib.h>
35183 iconv_t cd = iconv_open("","");
35184 iconv(cd,NULL,NULL,NULL,NULL);
35190 rm -f conftest.$ac_objext conftest$ac_exeext
35191 if { (ac_try="$ac_link"
35192 case "(($ac_try" in
35193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35194 *) ac_try_echo=$ac_try;;
35196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35197 (eval "$ac_link") 2>conftest.er1
35199 grep -v '^ *+' conftest.er1 >conftest.err
35201 cat conftest.err >&5
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); } && {
35204 test -z "$ac_c_werror_flag" ||
35205 test ! -s conftest.err
35206 } && test -s conftest$ac_exeext &&
35207 $as_test_x conftest$ac_exeext; then
35208 am_cv_func_iconv=yes
35210 echo "$as_me: failed program was:" >&5
35211 sed 's/^/| /' conftest.$ac_ext >&5
35216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35217 conftest$ac_exeext conftest.$ac_ext
35218 if test "$am_cv_func_iconv" != yes; then
35219 am_save_LIBS="$LIBS"
35220 LIBS="$LIBS -liconv"
35221 cat >conftest.$ac_ext <<_ACEOF
35224 cat confdefs.h >>conftest.$ac_ext
35225 cat >>conftest.$ac_ext <<_ACEOF
35226 /* end confdefs.h. */
35227 #include <stdlib.h>
35232 iconv_t cd = iconv_open("","");
35233 iconv(cd,NULL,NULL,NULL,NULL);
35239 rm -f conftest.$ac_objext conftest$ac_exeext
35240 if { (ac_try="$ac_link"
35241 case "(($ac_try" in
35242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35243 *) ac_try_echo=$ac_try;;
35245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35246 (eval "$ac_link") 2>conftest.er1
35248 grep -v '^ *+' conftest.er1 >conftest.err
35250 cat conftest.err >&5
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); } && {
35253 test -z "$ac_c_werror_flag" ||
35254 test ! -s conftest.err
35255 } && test -s conftest$ac_exeext &&
35256 $as_test_x conftest$ac_exeext; then
35257 am_cv_lib_iconv=yes
35258 am_cv_func_iconv=yes
35260 echo "$as_me: failed program was:" >&5
35261 sed 's/^/| /' conftest.$ac_ext >&5
35266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35267 conftest$ac_exeext conftest.$ac_ext
35268 LIBS="$am_save_LIBS"
35272 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35273 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35274 if test "$am_cv_func_iconv" = yes; then
35276 cat >>confdefs.h <<\_ACEOF
35277 #define HAVE_ICONV 1
35280 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35281 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35282 if test "${wx_cv_func_iconv_const+set}" = set; then
35283 echo $ECHO_N "(cached) $ECHO_C" >&6
35285 cat >conftest.$ac_ext <<_ACEOF
35288 cat confdefs.h >>conftest.$ac_ext
35289 cat >>conftest.$ac_ext <<_ACEOF
35290 /* end confdefs.h. */
35292 #include <stdlib.h>
35298 #if defined(__STDC__) || defined(__cplusplus)
35299 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35312 rm -f conftest.$ac_objext
35313 if { (ac_try="$ac_compile"
35314 case "(($ac_try" in
35315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35316 *) ac_try_echo=$ac_try;;
35318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35319 (eval "$ac_compile") 2>conftest.er1
35321 grep -v '^ *+' conftest.er1 >conftest.err
35323 cat conftest.err >&5
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); } && {
35326 test -z "$ac_c_werror_flag" ||
35327 test ! -s conftest.err
35328 } && test -s conftest.$ac_objext; then
35329 wx_cv_func_iconv_const="no"
35331 echo "$as_me: failed program was:" >&5
35332 sed 's/^/| /' conftest.$ac_ext >&5
35334 wx_cv_func_iconv_const="yes"
35338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35341 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35342 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35345 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35346 iconv_const="const"
35350 cat >>confdefs.h <<_ACEOF
35351 #define ICONV_CONST $iconv_const
35356 if test "$am_cv_lib_iconv" = yes; then
35361 LIBS="$LIBICONV $LIBS"
35363 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35365 for ac_func in sigaction
35367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35368 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35370 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35371 echo $ECHO_N "(cached) $ECHO_C" >&6
35373 cat >conftest.$ac_ext <<_ACEOF
35376 cat confdefs.h >>conftest.$ac_ext
35377 cat >>conftest.$ac_ext <<_ACEOF
35378 /* end confdefs.h. */
35379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35381 #define $ac_func innocuous_$ac_func
35383 /* System header to define __stub macros and hopefully few prototypes,
35384 which can conflict with char $ac_func (); below.
35385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35386 <limits.h> exists even on freestanding compilers. */
35389 # include <limits.h>
35391 # include <assert.h>
35396 /* Override any GCC internal prototype to avoid an error.
35397 Use char because int might match the return type of a GCC
35398 builtin and then its argument prototype would still apply. */
35403 /* The GNU C library defines this for functions which it implements
35404 to always fail with ENOSYS. Some functions are actually named
35405 something starting with __ and the normal name is an alias. */
35406 #if defined __stub_$ac_func || defined __stub___$ac_func
35413 return $ac_func ();
35418 rm -f conftest.$ac_objext conftest$ac_exeext
35419 if { (ac_try="$ac_link"
35420 case "(($ac_try" in
35421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35422 *) ac_try_echo=$ac_try;;
35424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35425 (eval "$ac_link") 2>conftest.er1
35427 grep -v '^ *+' conftest.er1 >conftest.err
35429 cat conftest.err >&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } && {
35432 test -z "$ac_c_werror_flag" ||
35433 test ! -s conftest.err
35434 } && test -s conftest$ac_exeext &&
35435 $as_test_x conftest$ac_exeext; then
35436 eval "$as_ac_var=yes"
35438 echo "$as_me: failed program was:" >&5
35439 sed 's/^/| /' conftest.$ac_ext >&5
35441 eval "$as_ac_var=no"
35444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35445 conftest$ac_exeext conftest.$ac_ext
35447 ac_res=`eval echo '${'$as_ac_var'}'`
35448 { echo "$as_me:$LINENO: result: $ac_res" >&5
35449 echo "${ECHO_T}$ac_res" >&6; }
35450 if test `eval echo '${'$as_ac_var'}'` = yes; then
35451 cat >>confdefs.h <<_ACEOF
35452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35459 if test "$ac_cv_func_sigaction" = "no"; then
35460 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35461 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35462 wxUSE_ON_FATAL_EXCEPTION=no
35465 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35466 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35467 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35468 if test "${wx_cv_type_sa_handler+set}" = set; then
35469 echo $ECHO_N "(cached) $ECHO_C" >&6
35473 ac_cpp='$CXXCPP $CPPFLAGS'
35474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35478 cat >conftest.$ac_ext <<_ACEOF
35481 cat confdefs.h >>conftest.$ac_ext
35482 cat >>conftest.$ac_ext <<_ACEOF
35483 /* end confdefs.h. */
35484 #include <signal.h>
35489 extern void testSigHandler(int);
35491 struct sigaction sa;
35492 sa.sa_handler = testSigHandler;
35498 rm -f conftest.$ac_objext
35499 if { (ac_try="$ac_compile"
35500 case "(($ac_try" in
35501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35502 *) ac_try_echo=$ac_try;;
35504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35505 (eval "$ac_compile") 2>conftest.er1
35507 grep -v '^ *+' conftest.er1 >conftest.err
35509 cat conftest.err >&5
35510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35511 (exit $ac_status); } && {
35512 test -z "$ac_cxx_werror_flag" ||
35513 test ! -s conftest.err
35514 } && test -s conftest.$ac_objext; then
35516 wx_cv_type_sa_handler=int
35519 echo "$as_me: failed program was:" >&5
35520 sed 's/^/| /' conftest.$ac_ext >&5
35523 wx_cv_type_sa_handler=void
35527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35529 ac_cpp='$CPP $CPPFLAGS'
35530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35536 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35537 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35539 cat >>confdefs.h <<_ACEOF
35540 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35546 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35547 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35548 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35549 if test "${wx_cv_func_backtrace+set}" = set; then
35550 echo $ECHO_N "(cached) $ECHO_C" >&6
35554 ac_cpp='$CXXCPP $CPPFLAGS'
35555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35559 cat >conftest.$ac_ext <<_ACEOF
35562 cat confdefs.h >>conftest.$ac_ext
35563 cat >>conftest.$ac_ext <<_ACEOF
35564 /* end confdefs.h. */
35565 #include <execinfo.h>
35573 backtrace(trace, 1);
35574 messages = backtrace_symbols(trace, 1);
35580 rm -f conftest.$ac_objext
35581 if { (ac_try="$ac_compile"
35582 case "(($ac_try" in
35583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35584 *) ac_try_echo=$ac_try;;
35586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35587 (eval "$ac_compile") 2>conftest.er1
35589 grep -v '^ *+' conftest.er1 >conftest.err
35591 cat conftest.err >&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } && {
35594 test -z "$ac_cxx_werror_flag" ||
35595 test ! -s conftest.err
35596 } && test -s conftest.$ac_objext; then
35597 wx_cv_func_backtrace=yes
35599 echo "$as_me: failed program was:" >&5
35600 sed 's/^/| /' conftest.$ac_ext >&5
35602 wx_cv_func_backtrace=no
35606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35608 ac_cpp='$CPP $CPPFLAGS'
35609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35616 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35617 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35620 if test "$wx_cv_func_backtrace" = "no"; then
35621 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35622 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35623 wxUSE_STACKWALKER=no
35625 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35626 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35627 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35628 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 ac_cpp='$CXXCPP $CPPFLAGS'
35633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35637 cat >conftest.$ac_ext <<_ACEOF
35640 cat confdefs.h >>conftest.$ac_ext
35641 cat >>conftest.$ac_ext <<_ACEOF
35642 /* end confdefs.h. */
35643 #include <cxxabi.h>
35649 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35655 rm -f conftest.$ac_objext conftest$ac_exeext
35656 if { (ac_try="$ac_link"
35657 case "(($ac_try" in
35658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35659 *) ac_try_echo=$ac_try;;
35661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35662 (eval "$ac_link") 2>conftest.er1
35664 grep -v '^ *+' conftest.er1 >conftest.err
35666 cat conftest.err >&5
35667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 (exit $ac_status); } && {
35669 test -z "$ac_cxx_werror_flag" ||
35670 test ! -s conftest.err
35671 } && test -s conftest$ac_exeext &&
35672 $as_test_x conftest$ac_exeext; then
35673 wx_cv_func_cxa_demangle=yes
35675 echo "$as_me: failed program was:" >&5
35676 sed 's/^/| /' conftest.$ac_ext >&5
35678 wx_cv_func_cxa_demangle=no
35682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35683 conftest$ac_exeext conftest.$ac_ext
35685 ac_cpp='$CPP $CPPFLAGS'
35686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35693 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35694 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35696 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35697 cat >>confdefs.h <<\_ACEOF
35698 #define HAVE_CXA_DEMANGLE 1
35705 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35706 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35707 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35708 wxUSE_STACKWALKER=no
35714 for ac_func in mkstemp mktemp
35716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35717 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35719 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35720 echo $ECHO_N "(cached) $ECHO_C" >&6
35722 cat >conftest.$ac_ext <<_ACEOF
35725 cat confdefs.h >>conftest.$ac_ext
35726 cat >>conftest.$ac_ext <<_ACEOF
35727 /* end confdefs.h. */
35728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35730 #define $ac_func innocuous_$ac_func
35732 /* System header to define __stub macros and hopefully few prototypes,
35733 which can conflict with char $ac_func (); below.
35734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35735 <limits.h> exists even on freestanding compilers. */
35738 # include <limits.h>
35740 # include <assert.h>
35745 /* Override any GCC internal prototype to avoid an error.
35746 Use char because int might match the return type of a GCC
35747 builtin and then its argument prototype would still apply. */
35752 /* The GNU C library defines this for functions which it implements
35753 to always fail with ENOSYS. Some functions are actually named
35754 something starting with __ and the normal name is an alias. */
35755 #if defined __stub_$ac_func || defined __stub___$ac_func
35762 return $ac_func ();
35767 rm -f conftest.$ac_objext conftest$ac_exeext
35768 if { (ac_try="$ac_link"
35769 case "(($ac_try" in
35770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35771 *) ac_try_echo=$ac_try;;
35773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35774 (eval "$ac_link") 2>conftest.er1
35776 grep -v '^ *+' conftest.er1 >conftest.err
35778 cat conftest.err >&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } && {
35781 test -z "$ac_c_werror_flag" ||
35782 test ! -s conftest.err
35783 } && test -s conftest$ac_exeext &&
35784 $as_test_x conftest$ac_exeext; then
35785 eval "$as_ac_var=yes"
35787 echo "$as_me: failed program was:" >&5
35788 sed 's/^/| /' conftest.$ac_ext >&5
35790 eval "$as_ac_var=no"
35793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35794 conftest$ac_exeext conftest.$ac_ext
35796 ac_res=`eval echo '${'$as_ac_var'}'`
35797 { echo "$as_me:$LINENO: result: $ac_res" >&5
35798 echo "${ECHO_T}$ac_res" >&6; }
35799 if test `eval echo '${'$as_ac_var'}'` = yes; then
35800 cat >>confdefs.h <<_ACEOF
35801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35808 { echo "$as_me:$LINENO: checking for statfs" >&5
35809 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35810 if test "${wx_cv_func_statfs+set}" = set; then
35811 echo $ECHO_N "(cached) $ECHO_C" >&6
35813 cat >conftest.$ac_ext <<_ACEOF
35816 cat confdefs.h >>conftest.$ac_ext
35817 cat >>conftest.$ac_ext <<_ACEOF
35818 /* end confdefs.h. */
35820 #if defined(__BSD__)
35821 #include <sys/param.h>
35822 #include <sys/mount.h>
35824 #include <sys/vfs.h>
35842 rm -f conftest.$ac_objext
35843 if { (ac_try="$ac_compile"
35844 case "(($ac_try" in
35845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35846 *) ac_try_echo=$ac_try;;
35848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35849 (eval "$ac_compile") 2>conftest.er1
35851 grep -v '^ *+' conftest.er1 >conftest.err
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } && {
35856 test -z "$ac_c_werror_flag" ||
35857 test ! -s conftest.err
35858 } && test -s conftest.$ac_objext; then
35859 wx_cv_func_statfs=yes
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35864 wx_cv_func_statfs=no
35868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35871 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35872 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35874 if test "$wx_cv_func_statfs" = "yes"; then
35875 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35876 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35877 if test "${wx_cv_func_statfs_decl+set}" = set; then
35878 echo $ECHO_N "(cached) $ECHO_C" >&6
35881 ac_cpp='$CXXCPP $CPPFLAGS'
35882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35886 cat >conftest.$ac_ext <<_ACEOF
35889 cat confdefs.h >>conftest.$ac_ext
35890 cat >>conftest.$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35893 #if defined(__BSD__)
35894 #include <sys/param.h>
35895 #include <sys/mount.h>
35897 #include <sys/vfs.h>
35911 rm -f conftest.$ac_objext
35912 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
35926 test ! -s conftest.err
35927 } && test -s conftest.$ac_objext; then
35928 wx_cv_func_statfs_decl=yes
35930 echo "$as_me: failed program was:" >&5
35931 sed 's/^/| /' conftest.$ac_ext >&5
35933 wx_cv_func_statfs_decl=no
35937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35939 ac_cpp='$CPP $CPPFLAGS'
35940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35946 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35947 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35949 if test "$wx_cv_func_statfs_decl" = "yes"; then
35950 cat >>confdefs.h <<\_ACEOF
35951 #define HAVE_STATFS_DECL 1
35956 wx_cv_type_statvfs_t="struct statfs"
35957 cat >>confdefs.h <<\_ACEOF
35958 #define HAVE_STATFS 1
35962 { echo "$as_me:$LINENO: checking for statvfs" >&5
35963 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35964 if test "${wx_cv_func_statvfs+set}" = set; then
35965 echo $ECHO_N "(cached) $ECHO_C" >&6
35967 cat >conftest.$ac_ext <<_ACEOF
35970 cat confdefs.h >>conftest.$ac_ext
35971 cat >>conftest.$ac_ext <<_ACEOF
35972 /* end confdefs.h. */
35974 #include <stddef.h>
35975 #include <sys/statvfs.h>
35981 statvfs("/", NULL);
35987 rm -f conftest.$ac_objext
35988 if { (ac_try="$ac_compile"
35989 case "(($ac_try" in
35990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35991 *) ac_try_echo=$ac_try;;
35993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35994 (eval "$ac_compile") 2>conftest.er1
35996 grep -v '^ *+' conftest.er1 >conftest.err
35998 cat conftest.err >&5
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); } && {
36001 test -z "$ac_c_werror_flag" ||
36002 test ! -s conftest.err
36003 } && test -s conftest.$ac_objext; then
36004 wx_cv_func_statvfs=yes
36006 echo "$as_me: failed program was:" >&5
36007 sed 's/^/| /' conftest.$ac_ext >&5
36009 wx_cv_func_statvfs=no
36013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36016 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36017 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36019 if test "$wx_cv_func_statvfs" = "yes"; then
36020 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36021 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36022 if test "${wx_cv_type_statvfs_t+set}" = set; then
36023 echo $ECHO_N "(cached) $ECHO_C" >&6
36026 ac_cpp='$CXXCPP $CPPFLAGS'
36027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36031 cat >conftest.$ac_ext <<_ACEOF
36034 cat confdefs.h >>conftest.$ac_ext
36035 cat >>conftest.$ac_ext <<_ACEOF
36036 /* end confdefs.h. */
36038 #include <sys/statvfs.h>
36055 rm -f conftest.$ac_objext
36056 if { (ac_try="$ac_compile"
36057 case "(($ac_try" in
36058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36059 *) ac_try_echo=$ac_try;;
36061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36062 (eval "$ac_compile") 2>conftest.er1
36064 grep -v '^ *+' conftest.er1 >conftest.err
36066 cat conftest.err >&5
36067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36068 (exit $ac_status); } && {
36069 test -z "$ac_cxx_werror_flag" ||
36070 test ! -s conftest.err
36071 } && test -s conftest.$ac_objext; then
36072 wx_cv_type_statvfs_t=statvfs_t
36074 echo "$as_me: failed program was:" >&5
36075 sed 's/^/| /' conftest.$ac_ext >&5
36078 cat >conftest.$ac_ext <<_ACEOF
36081 cat confdefs.h >>conftest.$ac_ext
36082 cat >>conftest.$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36085 #include <sys/statvfs.h>
36102 rm -f conftest.$ac_objext
36103 if { (ac_try="$ac_compile"
36104 case "(($ac_try" in
36105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36106 *) ac_try_echo=$ac_try;;
36108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36109 (eval "$ac_compile") 2>conftest.er1
36111 grep -v '^ *+' conftest.er1 >conftest.err
36113 cat conftest.err >&5
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); } && {
36116 test -z "$ac_cxx_werror_flag" ||
36117 test ! -s conftest.err
36118 } && test -s conftest.$ac_objext; then
36119 wx_cv_type_statvfs_t="struct statvfs"
36121 echo "$as_me: failed program was:" >&5
36122 sed 's/^/| /' conftest.$ac_ext >&5
36124 wx_cv_type_statvfs_t="unknown"
36128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36135 ac_cpp='$CPP $CPPFLAGS'
36136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36142 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36143 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36145 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36146 cat >>confdefs.h <<\_ACEOF
36147 #define HAVE_STATVFS 1
36152 wx_cv_type_statvfs_t="unknown"
36156 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36157 cat >>confdefs.h <<_ACEOF
36158 #define WX_STATFS_T $wx_cv_type_statvfs_t
36162 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36163 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36166 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36169 for ac_func in fcntl flock
36171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36172 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36174 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36175 echo $ECHO_N "(cached) $ECHO_C" >&6
36177 cat >conftest.$ac_ext <<_ACEOF
36180 cat confdefs.h >>conftest.$ac_ext
36181 cat >>conftest.$ac_ext <<_ACEOF
36182 /* end confdefs.h. */
36183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36185 #define $ac_func innocuous_$ac_func
36187 /* System header to define __stub macros and hopefully few prototypes,
36188 which can conflict with char $ac_func (); below.
36189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36190 <limits.h> exists even on freestanding compilers. */
36193 # include <limits.h>
36195 # include <assert.h>
36200 /* Override any GCC internal prototype to avoid an error.
36201 Use char because int might match the return type of a GCC
36202 builtin and then its argument prototype would still apply. */
36207 /* The GNU C library defines this for functions which it implements
36208 to always fail with ENOSYS. Some functions are actually named
36209 something starting with __ and the normal name is an alias. */
36210 #if defined __stub_$ac_func || defined __stub___$ac_func
36217 return $ac_func ();
36222 rm -f conftest.$ac_objext conftest$ac_exeext
36223 if { (ac_try="$ac_link"
36224 case "(($ac_try" in
36225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36226 *) ac_try_echo=$ac_try;;
36228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36229 (eval "$ac_link") 2>conftest.er1
36231 grep -v '^ *+' conftest.er1 >conftest.err
36233 cat conftest.err >&5
36234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36235 (exit $ac_status); } && {
36236 test -z "$ac_c_werror_flag" ||
36237 test ! -s conftest.err
36238 } && test -s conftest$ac_exeext &&
36239 $as_test_x conftest$ac_exeext; then
36240 eval "$as_ac_var=yes"
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.$ac_ext >&5
36245 eval "$as_ac_var=no"
36248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36249 conftest$ac_exeext conftest.$ac_ext
36251 ac_res=`eval echo '${'$as_ac_var'}'`
36252 { echo "$as_me:$LINENO: result: $ac_res" >&5
36253 echo "${ECHO_T}$ac_res" >&6; }
36254 if test `eval echo '${'$as_ac_var'}'` = yes; then
36255 cat >>confdefs.h <<_ACEOF
36256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36263 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36264 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36265 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36266 wxUSE_SNGLINST_CHECKER=no
36271 for ac_func in timegm
36273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36274 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36276 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36277 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 cat >conftest.$ac_ext <<_ACEOF
36282 cat confdefs.h >>conftest.$ac_ext
36283 cat >>conftest.$ac_ext <<_ACEOF
36284 /* end confdefs.h. */
36285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36287 #define $ac_func innocuous_$ac_func
36289 /* System header to define __stub macros and hopefully few prototypes,
36290 which can conflict with char $ac_func (); below.
36291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36292 <limits.h> exists even on freestanding compilers. */
36295 # include <limits.h>
36297 # include <assert.h>
36302 /* Override any GCC internal prototype to avoid an error.
36303 Use char because int might match the return type of a GCC
36304 builtin and then its argument prototype would still apply. */
36309 /* The GNU C library defines this for functions which it implements
36310 to always fail with ENOSYS. Some functions are actually named
36311 something starting with __ and the normal name is an alias. */
36312 #if defined __stub_$ac_func || defined __stub___$ac_func
36319 return $ac_func ();
36324 rm -f conftest.$ac_objext conftest$ac_exeext
36325 if { (ac_try="$ac_link"
36326 case "(($ac_try" in
36327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36328 *) ac_try_echo=$ac_try;;
36330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36331 (eval "$ac_link") 2>conftest.er1
36333 grep -v '^ *+' conftest.er1 >conftest.err
36335 cat conftest.err >&5
36336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36337 (exit $ac_status); } && {
36338 test -z "$ac_c_werror_flag" ||
36339 test ! -s conftest.err
36340 } && test -s conftest$ac_exeext &&
36341 $as_test_x conftest$ac_exeext; then
36342 eval "$as_ac_var=yes"
36344 echo "$as_me: failed program was:" >&5
36345 sed 's/^/| /' conftest.$ac_ext >&5
36347 eval "$as_ac_var=no"
36350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36351 conftest$ac_exeext conftest.$ac_ext
36353 ac_res=`eval echo '${'$as_ac_var'}'`
36354 { echo "$as_me:$LINENO: result: $ac_res" >&5
36355 echo "${ECHO_T}$ac_res" >&6; }
36356 if test `eval echo '${'$as_ac_var'}'` = yes; then
36357 cat >>confdefs.h <<_ACEOF
36358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36367 for ac_func in putenv setenv
36369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36370 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36372 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36373 echo $ECHO_N "(cached) $ECHO_C" >&6
36375 cat >conftest.$ac_ext <<_ACEOF
36378 cat confdefs.h >>conftest.$ac_ext
36379 cat >>conftest.$ac_ext <<_ACEOF
36380 /* end confdefs.h. */
36381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36383 #define $ac_func innocuous_$ac_func
36385 /* System header to define __stub macros and hopefully few prototypes,
36386 which can conflict with char $ac_func (); below.
36387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36388 <limits.h> exists even on freestanding compilers. */
36391 # include <limits.h>
36393 # include <assert.h>
36398 /* Override any GCC internal prototype to avoid an error.
36399 Use char because int might match the return type of a GCC
36400 builtin and then its argument prototype would still apply. */
36405 /* The GNU C library defines this for functions which it implements
36406 to always fail with ENOSYS. Some functions are actually named
36407 something starting with __ and the normal name is an alias. */
36408 #if defined __stub_$ac_func || defined __stub___$ac_func
36415 return $ac_func ();
36420 rm -f conftest.$ac_objext conftest$ac_exeext
36421 if { (ac_try="$ac_link"
36422 case "(($ac_try" in
36423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36424 *) ac_try_echo=$ac_try;;
36426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36427 (eval "$ac_link") 2>conftest.er1
36429 grep -v '^ *+' conftest.er1 >conftest.err
36431 cat conftest.err >&5
36432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36433 (exit $ac_status); } && {
36434 test -z "$ac_c_werror_flag" ||
36435 test ! -s conftest.err
36436 } && test -s conftest$ac_exeext &&
36437 $as_test_x conftest$ac_exeext; then
36438 eval "$as_ac_var=yes"
36440 echo "$as_me: failed program was:" >&5
36441 sed 's/^/| /' conftest.$ac_ext >&5
36443 eval "$as_ac_var=no"
36446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36447 conftest$ac_exeext conftest.$ac_ext
36449 ac_res=`eval echo '${'$as_ac_var'}'`
36450 { echo "$as_me:$LINENO: result: $ac_res" >&5
36451 echo "${ECHO_T}$ac_res" >&6; }
36452 if test `eval echo '${'$as_ac_var'}'` = yes; then
36453 cat >>confdefs.h <<_ACEOF
36454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36461 HAVE_SOME_SLEEP_FUNC=0
36462 if test "$USE_BEOS" = 1; then
36463 cat >>confdefs.h <<\_ACEOF
36464 #define HAVE_SLEEP 1
36467 HAVE_SOME_SLEEP_FUNC=1
36470 if test "$USE_DARWIN" = 1; then
36471 cat >>confdefs.h <<\_ACEOF
36472 #define HAVE_USLEEP 1
36475 HAVE_SOME_SLEEP_FUNC=1
36478 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36481 for ac_func in nanosleep
36483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36484 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36486 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36487 echo $ECHO_N "(cached) $ECHO_C" >&6
36489 cat >conftest.$ac_ext <<_ACEOF
36492 cat confdefs.h >>conftest.$ac_ext
36493 cat >>conftest.$ac_ext <<_ACEOF
36494 /* end confdefs.h. */
36495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36497 #define $ac_func innocuous_$ac_func
36499 /* System header to define __stub macros and hopefully few prototypes,
36500 which can conflict with char $ac_func (); below.
36501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36502 <limits.h> exists even on freestanding compilers. */
36505 # include <limits.h>
36507 # include <assert.h>
36512 /* Override any GCC internal prototype to avoid an error.
36513 Use char because int might match the return type of a GCC
36514 builtin and then its argument prototype would still apply. */
36519 /* The GNU C library defines this for functions which it implements
36520 to always fail with ENOSYS. Some functions are actually named
36521 something starting with __ and the normal name is an alias. */
36522 #if defined __stub_$ac_func || defined __stub___$ac_func
36529 return $ac_func ();
36534 rm -f conftest.$ac_objext conftest$ac_exeext
36535 if { (ac_try="$ac_link"
36536 case "(($ac_try" in
36537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36538 *) ac_try_echo=$ac_try;;
36540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36541 (eval "$ac_link") 2>conftest.er1
36543 grep -v '^ *+' conftest.er1 >conftest.err
36545 cat conftest.err >&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } && {
36548 test -z "$ac_c_werror_flag" ||
36549 test ! -s conftest.err
36550 } && test -s conftest$ac_exeext &&
36551 $as_test_x conftest$ac_exeext; then
36552 eval "$as_ac_var=yes"
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36557 eval "$as_ac_var=no"
36560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36561 conftest$ac_exeext conftest.$ac_ext
36563 ac_res=`eval echo '${'$as_ac_var'}'`
36564 { echo "$as_me:$LINENO: result: $ac_res" >&5
36565 echo "${ECHO_T}$ac_res" >&6; }
36566 if test `eval echo '${'$as_ac_var'}'` = yes; then
36567 cat >>confdefs.h <<_ACEOF
36568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36570 cat >>confdefs.h <<\_ACEOF
36571 #define HAVE_NANOSLEEP 1
36576 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36577 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36578 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36579 echo $ECHO_N "(cached) $ECHO_C" >&6
36581 ac_check_lib_save_LIBS=$LIBS
36582 LIBS="-lposix4 $LIBS"
36583 cat >conftest.$ac_ext <<_ACEOF
36586 cat confdefs.h >>conftest.$ac_ext
36587 cat >>conftest.$ac_ext <<_ACEOF
36588 /* end confdefs.h. */
36590 /* Override any GCC internal prototype to avoid an error.
36591 Use char because int might match the return type of a GCC
36592 builtin and then its argument prototype would still apply. */
36600 return nanosleep ();
36605 rm -f conftest.$ac_objext conftest$ac_exeext
36606 if { (ac_try="$ac_link"
36607 case "(($ac_try" in
36608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36609 *) ac_try_echo=$ac_try;;
36611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36612 (eval "$ac_link") 2>conftest.er1
36614 grep -v '^ *+' conftest.er1 >conftest.err
36616 cat conftest.err >&5
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); } && {
36619 test -z "$ac_c_werror_flag" ||
36620 test ! -s conftest.err
36621 } && test -s conftest$ac_exeext &&
36622 $as_test_x conftest$ac_exeext; then
36623 ac_cv_lib_posix4_nanosleep=yes
36625 echo "$as_me: failed program was:" >&5
36626 sed 's/^/| /' conftest.$ac_ext >&5
36628 ac_cv_lib_posix4_nanosleep=no
36631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36632 conftest$ac_exeext conftest.$ac_ext
36633 LIBS=$ac_check_lib_save_LIBS
36635 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36636 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36637 if test $ac_cv_lib_posix4_nanosleep = yes; then
36639 cat >>confdefs.h <<\_ACEOF
36640 #define HAVE_NANOSLEEP 1
36643 POSIX4_LINK=" -lposix4"
36648 for wx_func in usleep
36650 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36651 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36652 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36653 echo $ECHO_N "(cached) $ECHO_C" >&6
36656 cat >conftest.$ac_ext <<_ACEOF
36660 cat confdefs.h >>conftest.$ac_ext
36661 cat >>conftest.$ac_ext <<_ACEOF
36662 /* end confdefs.h. */
36665 $ac_includes_default
36681 rm -f conftest.$ac_objext conftest$ac_exeext
36682 if { (ac_try="$ac_link"
36683 case "(($ac_try" in
36684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36685 *) ac_try_echo=$ac_try;;
36687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36688 (eval "$ac_link") 2>conftest.er1
36690 grep -v '^ *+' conftest.er1 >conftest.err
36692 cat conftest.err >&5
36693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36694 (exit $ac_status); } && {
36695 test -z "$ac_c_werror_flag" ||
36696 test ! -s conftest.err
36697 } && test -s conftest$ac_exeext &&
36698 $as_test_x conftest$ac_exeext; then
36699 eval wx_cv_func_$wx_func=yes
36701 echo "$as_me: failed program was:" >&5
36702 sed 's/^/| /' conftest.$ac_ext >&5
36704 eval wx_cv_func_$wx_func=no
36707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36708 conftest$ac_exeext conftest.$ac_ext
36711 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36712 { echo "$as_me:$LINENO: result: $ac_res" >&5
36713 echo "${ECHO_T}$ac_res" >&6; }
36715 if eval test \$wx_cv_func_$wx_func = yes
36717 cat >>confdefs.h <<_ACEOF
36718 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36724 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36725 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36742 for wx_func in uname
36744 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36745 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36746 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36747 echo $ECHO_N "(cached) $ECHO_C" >&6
36750 cat >conftest.$ac_ext <<_ACEOF
36754 cat confdefs.h >>conftest.$ac_ext
36755 cat >>conftest.$ac_ext <<_ACEOF
36756 /* end confdefs.h. */
36758 #include <sys/utsname.h>
36759 $ac_includes_default
36775 rm -f conftest.$ac_objext conftest$ac_exeext
36776 if { (ac_try="$ac_link"
36777 case "(($ac_try" in
36778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36779 *) ac_try_echo=$ac_try;;
36781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36782 (eval "$ac_link") 2>conftest.er1
36784 grep -v '^ *+' conftest.er1 >conftest.err
36786 cat conftest.err >&5
36787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36788 (exit $ac_status); } && {
36789 test -z "$ac_c_werror_flag" ||
36790 test ! -s conftest.err
36791 } && test -s conftest$ac_exeext &&
36792 $as_test_x conftest$ac_exeext; then
36793 eval wx_cv_func_$wx_func=yes
36795 echo "$as_me: failed program was:" >&5
36796 sed 's/^/| /' conftest.$ac_ext >&5
36798 eval wx_cv_func_$wx_func=no
36801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36802 conftest$ac_exeext conftest.$ac_ext
36805 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36806 { echo "$as_me:$LINENO: result: $ac_res" >&5
36807 echo "${ECHO_T}$ac_res" >&6; }
36809 if eval test \$wx_cv_func_$wx_func = yes
36811 cat >>confdefs.h <<_ACEOF
36812 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36822 if test "$wx_cv_func_uname" != yes; then
36824 for wx_func in gethostname
36826 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36827 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36828 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36829 echo $ECHO_N "(cached) $ECHO_C" >&6
36832 cat >conftest.$ac_ext <<_ACEOF
36836 cat confdefs.h >>conftest.$ac_ext
36837 cat >>conftest.$ac_ext <<_ACEOF
36838 /* end confdefs.h. */
36841 $ac_includes_default
36857 rm -f conftest.$ac_objext conftest$ac_exeext
36858 if { (ac_try="$ac_link"
36859 case "(($ac_try" in
36860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36861 *) ac_try_echo=$ac_try;;
36863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36864 (eval "$ac_link") 2>conftest.er1
36866 grep -v '^ *+' conftest.er1 >conftest.err
36868 cat conftest.err >&5
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); } && {
36871 test -z "$ac_c_werror_flag" ||
36872 test ! -s conftest.err
36873 } && test -s conftest$ac_exeext &&
36874 $as_test_x conftest$ac_exeext; then
36875 eval wx_cv_func_$wx_func=yes
36877 echo "$as_me: failed program was:" >&5
36878 sed 's/^/| /' conftest.$ac_ext >&5
36880 eval wx_cv_func_$wx_func=no
36883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36884 conftest$ac_exeext conftest.$ac_ext
36887 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36888 { echo "$as_me:$LINENO: result: $ac_res" >&5
36889 echo "${ECHO_T}$ac_res" >&6; }
36891 if eval test \$wx_cv_func_$wx_func = yes
36893 cat >>confdefs.h <<_ACEOF
36894 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36907 for wx_func in strtok_r
36909 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36910 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36911 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 cat >conftest.$ac_ext <<_ACEOF
36919 cat confdefs.h >>conftest.$ac_ext
36920 cat >>conftest.$ac_ext <<_ACEOF
36921 /* end confdefs.h. */
36924 $ac_includes_default
36940 rm -f conftest.$ac_objext conftest$ac_exeext
36941 if { (ac_try="$ac_link"
36942 case "(($ac_try" in
36943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36944 *) ac_try_echo=$ac_try;;
36946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36947 (eval "$ac_link") 2>conftest.er1
36949 grep -v '^ *+' conftest.er1 >conftest.err
36951 cat conftest.err >&5
36952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36953 (exit $ac_status); } && {
36954 test -z "$ac_c_werror_flag" ||
36955 test ! -s conftest.err
36956 } && test -s conftest$ac_exeext &&
36957 $as_test_x conftest$ac_exeext; then
36958 eval wx_cv_func_$wx_func=yes
36960 echo "$as_me: failed program was:" >&5
36961 sed 's/^/| /' conftest.$ac_ext >&5
36963 eval wx_cv_func_$wx_func=no
36966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36967 conftest$ac_exeext conftest.$ac_ext
36970 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36971 { echo "$as_me:$LINENO: result: $ac_res" >&5
36972 echo "${ECHO_T}$ac_res" >&6; }
36974 if eval test \$wx_cv_func_$wx_func = yes
36976 cat >>confdefs.h <<_ACEOF
36977 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36990 for ac_func in inet_addr
36992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36993 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36995 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36996 echo $ECHO_N "(cached) $ECHO_C" >&6
36998 cat >conftest.$ac_ext <<_ACEOF
37001 cat confdefs.h >>conftest.$ac_ext
37002 cat >>conftest.$ac_ext <<_ACEOF
37003 /* end confdefs.h. */
37004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37006 #define $ac_func innocuous_$ac_func
37008 /* System header to define __stub macros and hopefully few prototypes,
37009 which can conflict with char $ac_func (); below.
37010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37011 <limits.h> exists even on freestanding compilers. */
37014 # include <limits.h>
37016 # include <assert.h>
37021 /* Override any GCC internal prototype to avoid an error.
37022 Use char because int might match the return type of a GCC
37023 builtin and then its argument prototype would still apply. */
37028 /* The GNU C library defines this for functions which it implements
37029 to always fail with ENOSYS. Some functions are actually named
37030 something starting with __ and the normal name is an alias. */
37031 #if defined __stub_$ac_func || defined __stub___$ac_func
37038 return $ac_func ();
37043 rm -f conftest.$ac_objext conftest$ac_exeext
37044 if { (ac_try="$ac_link"
37045 case "(($ac_try" in
37046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37047 *) ac_try_echo=$ac_try;;
37049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37050 (eval "$ac_link") 2>conftest.er1
37052 grep -v '^ *+' conftest.er1 >conftest.err
37054 cat conftest.err >&5
37055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37056 (exit $ac_status); } && {
37057 test -z "$ac_c_werror_flag" ||
37058 test ! -s conftest.err
37059 } && test -s conftest$ac_exeext &&
37060 $as_test_x conftest$ac_exeext; then
37061 eval "$as_ac_var=yes"
37063 echo "$as_me: failed program was:" >&5
37064 sed 's/^/| /' conftest.$ac_ext >&5
37066 eval "$as_ac_var=no"
37069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37070 conftest$ac_exeext conftest.$ac_ext
37072 ac_res=`eval echo '${'$as_ac_var'}'`
37073 { echo "$as_me:$LINENO: result: $ac_res" >&5
37074 echo "${ECHO_T}$ac_res" >&6; }
37075 if test `eval echo '${'$as_ac_var'}'` = yes; then
37076 cat >>confdefs.h <<_ACEOF
37077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37079 cat >>confdefs.h <<\_ACEOF
37080 #define HAVE_INET_ADDR 1
37085 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37086 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37087 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37088 echo $ECHO_N "(cached) $ECHO_C" >&6
37090 ac_check_lib_save_LIBS=$LIBS
37092 cat >conftest.$ac_ext <<_ACEOF
37095 cat confdefs.h >>conftest.$ac_ext
37096 cat >>conftest.$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37099 /* Override any GCC internal prototype to avoid an error.
37100 Use char because int might match the return type of a GCC
37101 builtin and then its argument prototype would still apply. */
37109 return inet_addr ();
37114 rm -f conftest.$ac_objext conftest$ac_exeext
37115 if { (ac_try="$ac_link"
37116 case "(($ac_try" in
37117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37118 *) ac_try_echo=$ac_try;;
37120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37121 (eval "$ac_link") 2>conftest.er1
37123 grep -v '^ *+' conftest.er1 >conftest.err
37125 cat conftest.err >&5
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); } && {
37128 test -z "$ac_c_werror_flag" ||
37129 test ! -s conftest.err
37130 } && test -s conftest$ac_exeext &&
37131 $as_test_x conftest$ac_exeext; then
37132 ac_cv_lib_nsl_inet_addr=yes
37134 echo "$as_me: failed program was:" >&5
37135 sed 's/^/| /' conftest.$ac_ext >&5
37137 ac_cv_lib_nsl_inet_addr=no
37140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37141 conftest$ac_exeext conftest.$ac_ext
37142 LIBS=$ac_check_lib_save_LIBS
37144 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37145 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37146 if test $ac_cv_lib_nsl_inet_addr = yes; then
37150 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37151 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37152 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37153 echo $ECHO_N "(cached) $ECHO_C" >&6
37155 ac_check_lib_save_LIBS=$LIBS
37156 LIBS="-lresolv $LIBS"
37157 cat >conftest.$ac_ext <<_ACEOF
37160 cat confdefs.h >>conftest.$ac_ext
37161 cat >>conftest.$ac_ext <<_ACEOF
37162 /* end confdefs.h. */
37164 /* Override any GCC internal prototype to avoid an error.
37165 Use char because int might match the return type of a GCC
37166 builtin and then its argument prototype would still apply. */
37174 return inet_addr ();
37179 rm -f conftest.$ac_objext conftest$ac_exeext
37180 if { (ac_try="$ac_link"
37181 case "(($ac_try" in
37182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37183 *) ac_try_echo=$ac_try;;
37185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37186 (eval "$ac_link") 2>conftest.er1
37188 grep -v '^ *+' conftest.er1 >conftest.err
37190 cat conftest.err >&5
37191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37192 (exit $ac_status); } && {
37193 test -z "$ac_c_werror_flag" ||
37194 test ! -s conftest.err
37195 } && test -s conftest$ac_exeext &&
37196 $as_test_x conftest$ac_exeext; then
37197 ac_cv_lib_resolv_inet_addr=yes
37199 echo "$as_me: failed program was:" >&5
37200 sed 's/^/| /' conftest.$ac_ext >&5
37202 ac_cv_lib_resolv_inet_addr=no
37205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37206 conftest$ac_exeext conftest.$ac_ext
37207 LIBS=$ac_check_lib_save_LIBS
37209 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37210 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37211 if test $ac_cv_lib_resolv_inet_addr = yes; then
37215 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37216 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37217 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37220 ac_check_lib_save_LIBS=$LIBS
37221 LIBS="-lsocket $LIBS"
37222 cat >conftest.$ac_ext <<_ACEOF
37225 cat confdefs.h >>conftest.$ac_ext
37226 cat >>conftest.$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37229 /* Override any GCC internal prototype to avoid an error.
37230 Use char because int might match the return type of a GCC
37231 builtin and then its argument prototype would still apply. */
37239 return inet_addr ();
37244 rm -f conftest.$ac_objext conftest$ac_exeext
37245 if { (ac_try="$ac_link"
37246 case "(($ac_try" in
37247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37248 *) ac_try_echo=$ac_try;;
37250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37251 (eval "$ac_link") 2>conftest.er1
37253 grep -v '^ *+' conftest.er1 >conftest.err
37255 cat conftest.err >&5
37256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37257 (exit $ac_status); } && {
37258 test -z "$ac_c_werror_flag" ||
37259 test ! -s conftest.err
37260 } && test -s conftest$ac_exeext &&
37261 $as_test_x conftest$ac_exeext; then
37262 ac_cv_lib_socket_inet_addr=yes
37264 echo "$as_me: failed program was:" >&5
37265 sed 's/^/| /' conftest.$ac_ext >&5
37267 ac_cv_lib_socket_inet_addr=no
37270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37271 conftest$ac_exeext conftest.$ac_ext
37272 LIBS=$ac_check_lib_save_LIBS
37274 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37275 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37276 if test $ac_cv_lib_socket_inet_addr = yes; then
37296 for ac_func in inet_aton
37298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37299 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37301 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37302 echo $ECHO_N "(cached) $ECHO_C" >&6
37304 cat >conftest.$ac_ext <<_ACEOF
37307 cat confdefs.h >>conftest.$ac_ext
37308 cat >>conftest.$ac_ext <<_ACEOF
37309 /* end confdefs.h. */
37310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37312 #define $ac_func innocuous_$ac_func
37314 /* System header to define __stub macros and hopefully few prototypes,
37315 which can conflict with char $ac_func (); below.
37316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37317 <limits.h> exists even on freestanding compilers. */
37320 # include <limits.h>
37322 # include <assert.h>
37327 /* Override any GCC internal prototype to avoid an error.
37328 Use char because int might match the return type of a GCC
37329 builtin and then its argument prototype would still apply. */
37334 /* The GNU C library defines this for functions which it implements
37335 to always fail with ENOSYS. Some functions are actually named
37336 something starting with __ and the normal name is an alias. */
37337 #if defined __stub_$ac_func || defined __stub___$ac_func
37344 return $ac_func ();
37349 rm -f conftest.$ac_objext conftest$ac_exeext
37350 if { (ac_try="$ac_link"
37351 case "(($ac_try" in
37352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37353 *) ac_try_echo=$ac_try;;
37355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37356 (eval "$ac_link") 2>conftest.er1
37358 grep -v '^ *+' conftest.er1 >conftest.err
37360 cat conftest.err >&5
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); } && {
37363 test -z "$ac_c_werror_flag" ||
37364 test ! -s conftest.err
37365 } && test -s conftest$ac_exeext &&
37366 $as_test_x conftest$ac_exeext; then
37367 eval "$as_ac_var=yes"
37369 echo "$as_me: failed program was:" >&5
37370 sed 's/^/| /' conftest.$ac_ext >&5
37372 eval "$as_ac_var=no"
37375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37376 conftest$ac_exeext conftest.$ac_ext
37378 ac_res=`eval echo '${'$as_ac_var'}'`
37379 { echo "$as_me:$LINENO: result: $ac_res" >&5
37380 echo "${ECHO_T}$ac_res" >&6; }
37381 if test `eval echo '${'$as_ac_var'}'` = yes; then
37382 cat >>confdefs.h <<_ACEOF
37383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37385 cat >>confdefs.h <<\_ACEOF
37386 #define HAVE_INET_ATON 1
37391 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37392 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37393 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37394 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37395 echo $ECHO_N "(cached) $ECHO_C" >&6
37397 ac_check_lib_save_LIBS=$LIBS
37398 LIBS="-l$INET_LINK $LIBS"
37399 cat >conftest.$ac_ext <<_ACEOF
37402 cat confdefs.h >>conftest.$ac_ext
37403 cat >>conftest.$ac_ext <<_ACEOF
37404 /* end confdefs.h. */
37406 /* Override any GCC internal prototype to avoid an error.
37407 Use char because int might match the return type of a GCC
37408 builtin and then its argument prototype would still apply. */
37416 return inet_aton ();
37421 rm -f conftest.$ac_objext conftest$ac_exeext
37422 if { (ac_try="$ac_link"
37423 case "(($ac_try" in
37424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37425 *) ac_try_echo=$ac_try;;
37427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37428 (eval "$ac_link") 2>conftest.er1
37430 grep -v '^ *+' conftest.er1 >conftest.err
37432 cat conftest.err >&5
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); } && {
37435 test -z "$ac_c_werror_flag" ||
37436 test ! -s conftest.err
37437 } && test -s conftest$ac_exeext &&
37438 $as_test_x conftest$ac_exeext; then
37439 eval "$as_ac_Lib=yes"
37441 echo "$as_me: failed program was:" >&5
37442 sed 's/^/| /' conftest.$ac_ext >&5
37444 eval "$as_ac_Lib=no"
37447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37448 conftest$ac_exeext conftest.$ac_ext
37449 LIBS=$ac_check_lib_save_LIBS
37451 ac_res=`eval echo '${'$as_ac_Lib'}'`
37452 { echo "$as_me:$LINENO: result: $ac_res" >&5
37453 echo "${ECHO_T}$ac_res" >&6; }
37454 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37455 cat >>confdefs.h <<\_ACEOF
37456 #define HAVE_INET_ATON 1
37466 if test "x$INET_LINK" != "x"; then
37467 cat >>confdefs.h <<\_ACEOF
37468 #define HAVE_INET_ADDR 1
37471 INET_LINK=" -l$INET_LINK"
37475 for wx_func in fdopen
37477 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37478 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37479 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37480 echo $ECHO_N "(cached) $ECHO_C" >&6
37483 cat >conftest.$ac_ext <<_ACEOF
37487 cat confdefs.h >>conftest.$ac_ext
37488 cat >>conftest.$ac_ext <<_ACEOF
37489 /* end confdefs.h. */
37492 $ac_includes_default
37508 rm -f conftest.$ac_objext conftest$ac_exeext
37509 if { (ac_try="$ac_link"
37510 case "(($ac_try" in
37511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37512 *) ac_try_echo=$ac_try;;
37514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37515 (eval "$ac_link") 2>conftest.er1
37517 grep -v '^ *+' conftest.er1 >conftest.err
37519 cat conftest.err >&5
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); } && {
37522 test -z "$ac_c_werror_flag" ||
37523 test ! -s conftest.err
37524 } && test -s conftest$ac_exeext &&
37525 $as_test_x conftest$ac_exeext; then
37526 eval wx_cv_func_$wx_func=yes
37528 echo "$as_me: failed program was:" >&5
37529 sed 's/^/| /' conftest.$ac_ext >&5
37531 eval wx_cv_func_$wx_func=no
37534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37535 conftest$ac_exeext conftest.$ac_ext
37538 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37539 { echo "$as_me:$LINENO: result: $ac_res" >&5
37540 echo "${ECHO_T}$ac_res" >&6; }
37542 if eval test \$wx_cv_func_$wx_func = yes
37544 cat >>confdefs.h <<_ACEOF
37545 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37560 cat >confcache <<\_ACEOF
37561 # This file is a shell script that caches the results of configure
37562 # tests run on this system so they can be shared between configure
37563 # scripts and configure runs, see configure's option --config-cache.
37564 # It is not useful on other systems. If it contains results you don't
37565 # want to keep, you may remove or edit it.
37567 # config.status only pays attention to the cache file if you give it
37568 # the --recheck option to rerun configure.
37570 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37571 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37572 # following values.
37576 # The following way of writing the cache mishandles newlines in values,
37577 # but we know of no workaround that is simple, portable, and efficient.
37578 # So, we kill variables containing newlines.
37579 # Ultrix sh set writes to stderr and can't be redirected directly,
37580 # and sets the high bit in the cache file unless we assign to the vars.
37582 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37583 eval ac_val=\$$ac_var
37587 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37588 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37591 _ | IFS | as_nl) ;; #(
37592 *) $as_unset $ac_var ;;
37598 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37599 *${as_nl}ac_space=\ *)
37600 # `set' does not quote correctly, so add quotes (double-quote
37601 # substitution turns \\\\ into \\, and sed turns \\ into \).
37604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37607 # `set' quotes correctly as required by POSIX, so do not add quotes.
37608 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37617 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37619 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37621 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37622 if test -w "$cache_file"; then
37623 test "x$cache_file" != "x/dev/null" &&
37624 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37625 echo "$as_me: updating cache $cache_file" >&6;}
37626 cat confcache >$cache_file
37628 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37629 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37635 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37641 if test "$wxUSE_THREADS" = "yes" ; then
37642 if test "$USE_BEOS" = 1; then
37643 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37644 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37649 if test "$wxUSE_THREADS" = "yes" ; then
37652 THREAD_OPTS="-pthread"
37654 *-*-solaris2* | *-*-sunos4* )
37655 if test "x$GCC" = "xyes"; then
37656 THREAD_OPTS="-pthreads $THREAD_OPTS"
37658 THREAD_OPTS="-mt $THREAD_OPTS"
37662 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37664 *-*-darwin* | *-*-cygwin* )
37668 THREAD_OPTS="pthreads"
37671 if test "x$GCC" = "xyes"; then
37672 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37680 if test "x$GCC" = "xyes"; then
37686 if test "x$GCC" != "xyes"; then
37687 THREAD_OPTS="-Ethread"
37692 THREAD_OPTS="$THREAD_OPTS pthread none"
37695 for flag in $THREAD_OPTS; do
37698 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37699 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37703 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37704 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37705 THREADS_CFLAGS="$flag"
37709 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37710 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37711 THREADS_LINK="-l$flag"
37716 save_CFLAGS="$CFLAGS"
37717 LIBS="$THREADS_LINK $LIBS"
37718 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37720 cat >conftest.$ac_ext <<_ACEOF
37723 cat confdefs.h >>conftest.$ac_ext
37724 cat >>conftest.$ac_ext <<_ACEOF
37725 /* end confdefs.h. */
37726 #include <pthread.h>
37730 pthread_create(0,0,0,0);
37735 rm -f conftest.$ac_objext conftest$ac_exeext
37736 if { (ac_try="$ac_link"
37737 case "(($ac_try" in
37738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37739 *) ac_try_echo=$ac_try;;
37741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37742 (eval "$ac_link") 2>conftest.er1
37744 grep -v '^ *+' conftest.er1 >conftest.err
37746 cat conftest.err >&5
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); } && {
37749 test -z "$ac_c_werror_flag" ||
37750 test ! -s conftest.err
37751 } && test -s conftest$ac_exeext &&
37752 $as_test_x conftest$ac_exeext; then
37755 echo "$as_me: failed program was:" >&5
37756 sed 's/^/| /' conftest.$ac_ext >&5
37761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37762 conftest$ac_exeext conftest.$ac_ext
37765 CFLAGS="$save_CFLAGS"
37767 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37768 echo "${ECHO_T}$THREADS_OK" >&6; }
37769 if test "x$THREADS_OK" = "xyes"; then
37777 if test "x$THREADS_OK" != "xyes"; then
37779 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37780 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37782 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37783 LIBS="$THREADS_LINK $LIBS"
37785 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37786 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37790 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37791 flag="-D_THREAD_SAFE"
37794 flag="-D_THREAD_SAFE"
37797 flag="-D_REENTRANT"
37798 if test "x$GCC" != "xyes"; then
37799 flag="$flag -D_RWSTD_MULTI_THREAD"
37802 *solaris* | alpha*-osf*)
37803 flag="-D_REENTRANT"
37806 { echo "$as_me:$LINENO: result: ${flag}" >&5
37807 echo "${ECHO_T}${flag}" >&6; }
37808 if test "x$flag" != xno; then
37809 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37812 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37816 if test "$wxUSE_THREADS" = "yes" ; then
37818 for ac_func in thr_setconcurrency
37820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37821 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37824 echo $ECHO_N "(cached) $ECHO_C" >&6
37826 cat >conftest.$ac_ext <<_ACEOF
37829 cat confdefs.h >>conftest.$ac_ext
37830 cat >>conftest.$ac_ext <<_ACEOF
37831 /* end confdefs.h. */
37832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37834 #define $ac_func innocuous_$ac_func
37836 /* System header to define __stub macros and hopefully few prototypes,
37837 which can conflict with char $ac_func (); below.
37838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37839 <limits.h> exists even on freestanding compilers. */
37842 # include <limits.h>
37844 # include <assert.h>
37849 /* Override any GCC internal prototype to avoid an error.
37850 Use char because int might match the return type of a GCC
37851 builtin and then its argument prototype would still apply. */
37856 /* The GNU C library defines this for functions which it implements
37857 to always fail with ENOSYS. Some functions are actually named
37858 something starting with __ and the normal name is an alias. */
37859 #if defined __stub_$ac_func || defined __stub___$ac_func
37866 return $ac_func ();
37871 rm -f conftest.$ac_objext conftest$ac_exeext
37872 if { (ac_try="$ac_link"
37873 case "(($ac_try" in
37874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37875 *) ac_try_echo=$ac_try;;
37877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37878 (eval "$ac_link") 2>conftest.er1
37880 grep -v '^ *+' conftest.er1 >conftest.err
37882 cat conftest.err >&5
37883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37884 (exit $ac_status); } && {
37885 test -z "$ac_c_werror_flag" ||
37886 test ! -s conftest.err
37887 } && test -s conftest$ac_exeext &&
37888 $as_test_x conftest$ac_exeext; then
37889 eval "$as_ac_var=yes"
37891 echo "$as_me: failed program was:" >&5
37892 sed 's/^/| /' conftest.$ac_ext >&5
37894 eval "$as_ac_var=no"
37897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37898 conftest$ac_exeext conftest.$ac_ext
37900 ac_res=`eval echo '${'$as_ac_var'}'`
37901 { echo "$as_me:$LINENO: result: $ac_res" >&5
37902 echo "${ECHO_T}$ac_res" >&6; }
37903 if test `eval echo '${'$as_ac_var'}'` = yes; then
37904 cat >>confdefs.h <<_ACEOF
37905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37912 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37913 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37914 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37915 echo $ECHO_N "(cached) $ECHO_C" >&6
37918 cat >conftest.$ac_ext <<_ACEOF
37921 cat confdefs.h >>conftest.$ac_ext
37922 cat >>conftest.$ac_ext <<_ACEOF
37923 /* end confdefs.h. */
37924 #include <pthread.h>
37925 void ThreadCleanupFunc(void *p);
37932 pthread_cleanup_push(ThreadCleanupFunc, p);
37933 pthread_cleanup_pop(0);
37939 rm -f conftest.$ac_objext
37940 if { (ac_try="$ac_compile"
37941 case "(($ac_try" in
37942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37943 *) ac_try_echo=$ac_try;;
37945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37946 (eval "$ac_compile") 2>conftest.er1
37948 grep -v '^ *+' conftest.er1 >conftest.err
37950 cat conftest.err >&5
37951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952 (exit $ac_status); } && {
37953 test -z "$ac_c_werror_flag" ||
37954 test ! -s conftest.err
37955 } && test -s conftest.$ac_objext; then
37957 wx_cv_func_pthread_cleanup=yes
37960 echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.$ac_ext >&5
37964 wx_cv_func_pthread_cleanup=no
37969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37972 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37973 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37974 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37975 cat >>confdefs.h <<\_ACEOF
37976 #define wxHAVE_PTHREAD_CLEANUP 1
37981 { echo "$as_me:$LINENO: checking for sched.h" >&5
37982 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37983 if test "${ac_cv_header_sched_h+set}" = set; then
37984 echo $ECHO_N "(cached) $ECHO_C" >&6
37986 cat >conftest.$ac_ext <<_ACEOF
37989 cat confdefs.h >>conftest.$ac_ext
37990 cat >>conftest.$ac_ext <<_ACEOF
37991 /* end confdefs.h. */
37992 $ac_includes_default
37996 rm -f conftest.$ac_objext
37997 if { (ac_try="$ac_compile"
37998 case "(($ac_try" in
37999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38000 *) ac_try_echo=$ac_try;;
38002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38003 (eval "$ac_compile") 2>conftest.er1
38005 grep -v '^ *+' conftest.er1 >conftest.err
38007 cat conftest.err >&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); } && {
38010 test -z "$ac_c_werror_flag" ||
38011 test ! -s conftest.err
38012 } && test -s conftest.$ac_objext; then
38013 ac_cv_header_sched_h=yes
38015 echo "$as_me: failed program was:" >&5
38016 sed 's/^/| /' conftest.$ac_ext >&5
38018 ac_cv_header_sched_h=no
38021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38023 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38024 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38027 if test "$ac_cv_header_sched_h" = "yes"; then
38028 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38029 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38030 if test "${ac_cv_func_sched_yield+set}" = set; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38033 cat >conftest.$ac_ext <<_ACEOF
38036 cat confdefs.h >>conftest.$ac_ext
38037 cat >>conftest.$ac_ext <<_ACEOF
38038 /* end confdefs.h. */
38039 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38041 #define sched_yield innocuous_sched_yield
38043 /* System header to define __stub macros and hopefully few prototypes,
38044 which can conflict with char sched_yield (); below.
38045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38046 <limits.h> exists even on freestanding compilers. */
38049 # include <limits.h>
38051 # include <assert.h>
38056 /* Override any GCC internal prototype to avoid an error.
38057 Use char because int might match the return type of a GCC
38058 builtin and then its argument prototype would still apply. */
38062 char sched_yield ();
38063 /* The GNU C library defines this for functions which it implements
38064 to always fail with ENOSYS. Some functions are actually named
38065 something starting with __ and the normal name is an alias. */
38066 #if defined __stub_sched_yield || defined __stub___sched_yield
38073 return sched_yield ();
38078 rm -f conftest.$ac_objext conftest$ac_exeext
38079 if { (ac_try="$ac_link"
38080 case "(($ac_try" in
38081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38082 *) ac_try_echo=$ac_try;;
38084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38085 (eval "$ac_link") 2>conftest.er1
38087 grep -v '^ *+' conftest.er1 >conftest.err
38089 cat conftest.err >&5
38090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38091 (exit $ac_status); } && {
38092 test -z "$ac_c_werror_flag" ||
38093 test ! -s conftest.err
38094 } && test -s conftest$ac_exeext &&
38095 $as_test_x conftest$ac_exeext; then
38096 ac_cv_func_sched_yield=yes
38098 echo "$as_me: failed program was:" >&5
38099 sed 's/^/| /' conftest.$ac_ext >&5
38101 ac_cv_func_sched_yield=no
38104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38105 conftest$ac_exeext conftest.$ac_ext
38107 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38108 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38109 if test $ac_cv_func_sched_yield = yes; then
38110 cat >>confdefs.h <<\_ACEOF
38111 #define HAVE_SCHED_YIELD 1
38116 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38117 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38118 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38119 echo $ECHO_N "(cached) $ECHO_C" >&6
38121 ac_check_lib_save_LIBS=$LIBS
38122 LIBS="-lposix4 $LIBS"
38123 cat >conftest.$ac_ext <<_ACEOF
38126 cat confdefs.h >>conftest.$ac_ext
38127 cat >>conftest.$ac_ext <<_ACEOF
38128 /* end confdefs.h. */
38130 /* Override any GCC internal prototype to avoid an error.
38131 Use char because int might match the return type of a GCC
38132 builtin and then its argument prototype would still apply. */
38136 char sched_yield ();
38140 return sched_yield ();
38145 rm -f conftest.$ac_objext conftest$ac_exeext
38146 if { (ac_try="$ac_link"
38147 case "(($ac_try" in
38148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38149 *) ac_try_echo=$ac_try;;
38151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38152 (eval "$ac_link") 2>conftest.er1
38154 grep -v '^ *+' conftest.er1 >conftest.err
38156 cat conftest.err >&5
38157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38158 (exit $ac_status); } && {
38159 test -z "$ac_c_werror_flag" ||
38160 test ! -s conftest.err
38161 } && test -s conftest$ac_exeext &&
38162 $as_test_x conftest$ac_exeext; then
38163 ac_cv_lib_posix4_sched_yield=yes
38165 echo "$as_me: failed program was:" >&5
38166 sed 's/^/| /' conftest.$ac_ext >&5
38168 ac_cv_lib_posix4_sched_yield=no
38171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38172 conftest$ac_exeext conftest.$ac_ext
38173 LIBS=$ac_check_lib_save_LIBS
38175 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38176 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38177 if test $ac_cv_lib_posix4_sched_yield = yes; then
38178 cat >>confdefs.h <<\_ACEOF
38179 #define HAVE_SCHED_YIELD 1
38181 POSIX4_LINK=" -lposix4"
38183 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38184 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38195 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38196 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38197 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38198 echo $ECHO_N "(cached) $ECHO_C" >&6
38200 cat >conftest.$ac_ext <<_ACEOF
38203 cat confdefs.h >>conftest.$ac_ext
38204 cat >>conftest.$ac_ext <<_ACEOF
38205 /* end confdefs.h. */
38206 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38208 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38210 /* System header to define __stub macros and hopefully few prototypes,
38211 which can conflict with char pthread_attr_getschedpolicy (); below.
38212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38213 <limits.h> exists even on freestanding compilers. */
38216 # include <limits.h>
38218 # include <assert.h>
38221 #undef pthread_attr_getschedpolicy
38223 /* Override any GCC internal prototype to avoid an error.
38224 Use char because int might match the return type of a GCC
38225 builtin and then its argument prototype would still apply. */
38229 char pthread_attr_getschedpolicy ();
38230 /* The GNU C library defines this for functions which it implements
38231 to always fail with ENOSYS. Some functions are actually named
38232 something starting with __ and the normal name is an alias. */
38233 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38240 return pthread_attr_getschedpolicy ();
38245 rm -f conftest.$ac_objext conftest$ac_exeext
38246 if { (ac_try="$ac_link"
38247 case "(($ac_try" in
38248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38249 *) ac_try_echo=$ac_try;;
38251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38252 (eval "$ac_link") 2>conftest.er1
38254 grep -v '^ *+' conftest.er1 >conftest.err
38256 cat conftest.err >&5
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); } && {
38259 test -z "$ac_c_werror_flag" ||
38260 test ! -s conftest.err
38261 } && test -s conftest$ac_exeext &&
38262 $as_test_x conftest$ac_exeext; then
38263 ac_cv_func_pthread_attr_getschedpolicy=yes
38265 echo "$as_me: failed program was:" >&5
38266 sed 's/^/| /' conftest.$ac_ext >&5
38268 ac_cv_func_pthread_attr_getschedpolicy=no
38271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38272 conftest$ac_exeext conftest.$ac_ext
38274 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38275 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38276 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38277 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38278 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38279 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38280 echo $ECHO_N "(cached) $ECHO_C" >&6
38282 cat >conftest.$ac_ext <<_ACEOF
38285 cat confdefs.h >>conftest.$ac_ext
38286 cat >>conftest.$ac_ext <<_ACEOF
38287 /* end confdefs.h. */
38288 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38290 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38292 /* System header to define __stub macros and hopefully few prototypes,
38293 which can conflict with char pthread_attr_setschedparam (); below.
38294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38295 <limits.h> exists even on freestanding compilers. */
38298 # include <limits.h>
38300 # include <assert.h>
38303 #undef pthread_attr_setschedparam
38305 /* Override any GCC internal prototype to avoid an error.
38306 Use char because int might match the return type of a GCC
38307 builtin and then its argument prototype would still apply. */
38311 char pthread_attr_setschedparam ();
38312 /* The GNU C library defines this for functions which it implements
38313 to always fail with ENOSYS. Some functions are actually named
38314 something starting with __ and the normal name is an alias. */
38315 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38322 return pthread_attr_setschedparam ();
38327 rm -f conftest.$ac_objext conftest$ac_exeext
38328 if { (ac_try="$ac_link"
38329 case "(($ac_try" in
38330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38331 *) ac_try_echo=$ac_try;;
38333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38334 (eval "$ac_link") 2>conftest.er1
38336 grep -v '^ *+' conftest.er1 >conftest.err
38338 cat conftest.err >&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); } && {
38341 test -z "$ac_c_werror_flag" ||
38342 test ! -s conftest.err
38343 } && test -s conftest$ac_exeext &&
38344 $as_test_x conftest$ac_exeext; then
38345 ac_cv_func_pthread_attr_setschedparam=yes
38347 echo "$as_me: failed program was:" >&5
38348 sed 's/^/| /' conftest.$ac_ext >&5
38350 ac_cv_func_pthread_attr_setschedparam=no
38353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38354 conftest$ac_exeext conftest.$ac_ext
38356 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38357 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38358 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38359 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38360 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38361 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 cat >conftest.$ac_ext <<_ACEOF
38367 cat confdefs.h >>conftest.$ac_ext
38368 cat >>conftest.$ac_ext <<_ACEOF
38369 /* end confdefs.h. */
38370 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38372 #define sched_get_priority_max innocuous_sched_get_priority_max
38374 /* System header to define __stub macros and hopefully few prototypes,
38375 which can conflict with char sched_get_priority_max (); below.
38376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38377 <limits.h> exists even on freestanding compilers. */
38380 # include <limits.h>
38382 # include <assert.h>
38385 #undef sched_get_priority_max
38387 /* Override any GCC internal prototype to avoid an error.
38388 Use char because int might match the return type of a GCC
38389 builtin and then its argument prototype would still apply. */
38393 char sched_get_priority_max ();
38394 /* The GNU C library defines this for functions which it implements
38395 to always fail with ENOSYS. Some functions are actually named
38396 something starting with __ and the normal name is an alias. */
38397 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38404 return sched_get_priority_max ();
38409 rm -f conftest.$ac_objext conftest$ac_exeext
38410 if { (ac_try="$ac_link"
38411 case "(($ac_try" in
38412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38413 *) ac_try_echo=$ac_try;;
38415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38416 (eval "$ac_link") 2>conftest.er1
38418 grep -v '^ *+' conftest.er1 >conftest.err
38420 cat conftest.err >&5
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); } && {
38423 test -z "$ac_c_werror_flag" ||
38424 test ! -s conftest.err
38425 } && test -s conftest$ac_exeext &&
38426 $as_test_x conftest$ac_exeext; then
38427 ac_cv_func_sched_get_priority_max=yes
38429 echo "$as_me: failed program was:" >&5
38430 sed 's/^/| /' conftest.$ac_ext >&5
38432 ac_cv_func_sched_get_priority_max=no
38435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38436 conftest$ac_exeext conftest.$ac_ext
38438 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38439 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38440 if test $ac_cv_func_sched_get_priority_max = yes; then
38443 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38444 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38445 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 ac_check_lib_save_LIBS=$LIBS
38449 LIBS="-lposix4 $LIBS"
38450 cat >conftest.$ac_ext <<_ACEOF
38453 cat confdefs.h >>conftest.$ac_ext
38454 cat >>conftest.$ac_ext <<_ACEOF
38455 /* end confdefs.h. */
38457 /* Override any GCC internal prototype to avoid an error.
38458 Use char because int might match the return type of a GCC
38459 builtin and then its argument prototype would still apply. */
38463 char sched_get_priority_max ();
38467 return sched_get_priority_max ();
38472 rm -f conftest.$ac_objext conftest$ac_exeext
38473 if { (ac_try="$ac_link"
38474 case "(($ac_try" in
38475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38476 *) ac_try_echo=$ac_try;;
38478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38479 (eval "$ac_link") 2>conftest.er1
38481 grep -v '^ *+' conftest.er1 >conftest.err
38483 cat conftest.err >&5
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); } && {
38486 test -z "$ac_c_werror_flag" ||
38487 test ! -s conftest.err
38488 } && test -s conftest$ac_exeext &&
38489 $as_test_x conftest$ac_exeext; then
38490 ac_cv_lib_posix4_sched_get_priority_max=yes
38492 echo "$as_me: failed program was:" >&5
38493 sed 's/^/| /' conftest.$ac_ext >&5
38495 ac_cv_lib_posix4_sched_get_priority_max=no
38498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38499 conftest$ac_exeext conftest.$ac_ext
38500 LIBS=$ac_check_lib_save_LIBS
38502 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38503 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38504 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38507 POSIX4_LINK=" -lposix4"
38521 if test "$HAVE_PRIOR_FUNCS" = 1; then
38522 cat >>confdefs.h <<\_ACEOF
38523 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38527 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38528 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38531 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38532 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38533 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38534 echo $ECHO_N "(cached) $ECHO_C" >&6
38536 cat >conftest.$ac_ext <<_ACEOF
38539 cat confdefs.h >>conftest.$ac_ext
38540 cat >>conftest.$ac_ext <<_ACEOF
38541 /* end confdefs.h. */
38542 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38544 #define pthread_cancel innocuous_pthread_cancel
38546 /* System header to define __stub macros and hopefully few prototypes,
38547 which can conflict with char pthread_cancel (); below.
38548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38549 <limits.h> exists even on freestanding compilers. */
38552 # include <limits.h>
38554 # include <assert.h>
38557 #undef pthread_cancel
38559 /* Override any GCC internal prototype to avoid an error.
38560 Use char because int might match the return type of a GCC
38561 builtin and then its argument prototype would still apply. */
38565 char pthread_cancel ();
38566 /* The GNU C library defines this for functions which it implements
38567 to always fail with ENOSYS. Some functions are actually named
38568 something starting with __ and the normal name is an alias. */
38569 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38576 return pthread_cancel ();
38581 rm -f conftest.$ac_objext conftest$ac_exeext
38582 if { (ac_try="$ac_link"
38583 case "(($ac_try" in
38584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38585 *) ac_try_echo=$ac_try;;
38587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38588 (eval "$ac_link") 2>conftest.er1
38590 grep -v '^ *+' conftest.er1 >conftest.err
38592 cat conftest.err >&5
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); } && {
38595 test -z "$ac_c_werror_flag" ||
38596 test ! -s conftest.err
38597 } && test -s conftest$ac_exeext &&
38598 $as_test_x conftest$ac_exeext; then
38599 ac_cv_func_pthread_cancel=yes
38601 echo "$as_me: failed program was:" >&5
38602 sed 's/^/| /' conftest.$ac_ext >&5
38604 ac_cv_func_pthread_cancel=no
38607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38608 conftest$ac_exeext conftest.$ac_ext
38610 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38611 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38612 if test $ac_cv_func_pthread_cancel = yes; then
38613 cat >>confdefs.h <<\_ACEOF
38614 #define HAVE_PTHREAD_CANCEL 1
38618 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38619 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38623 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38624 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38625 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38626 echo $ECHO_N "(cached) $ECHO_C" >&6
38628 cat >conftest.$ac_ext <<_ACEOF
38631 cat confdefs.h >>conftest.$ac_ext
38632 cat >>conftest.$ac_ext <<_ACEOF
38633 /* end confdefs.h. */
38634 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38636 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38638 /* System header to define __stub macros and hopefully few prototypes,
38639 which can conflict with char pthread_mutex_timedlock (); below.
38640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38641 <limits.h> exists even on freestanding compilers. */
38644 # include <limits.h>
38646 # include <assert.h>
38649 #undef pthread_mutex_timedlock
38651 /* Override any GCC internal prototype to avoid an error.
38652 Use char because int might match the return type of a GCC
38653 builtin and then its argument prototype would still apply. */
38657 char pthread_mutex_timedlock ();
38658 /* The GNU C library defines this for functions which it implements
38659 to always fail with ENOSYS. Some functions are actually named
38660 something starting with __ and the normal name is an alias. */
38661 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38668 return pthread_mutex_timedlock ();
38673 rm -f conftest.$ac_objext conftest$ac_exeext
38674 if { (ac_try="$ac_link"
38675 case "(($ac_try" in
38676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38677 *) ac_try_echo=$ac_try;;
38679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38680 (eval "$ac_link") 2>conftest.er1
38682 grep -v '^ *+' conftest.er1 >conftest.err
38684 cat conftest.err >&5
38685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38686 (exit $ac_status); } && {
38687 test -z "$ac_c_werror_flag" ||
38688 test ! -s conftest.err
38689 } && test -s conftest$ac_exeext &&
38690 $as_test_x conftest$ac_exeext; then
38691 ac_cv_func_pthread_mutex_timedlock=yes
38693 echo "$as_me: failed program was:" >&5
38694 sed 's/^/| /' conftest.$ac_ext >&5
38696 ac_cv_func_pthread_mutex_timedlock=no
38699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38700 conftest$ac_exeext conftest.$ac_ext
38702 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38703 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38704 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38705 cat >>confdefs.h <<\_ACEOF
38706 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38710 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38711 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38715 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38716 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38717 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38718 echo $ECHO_N "(cached) $ECHO_C" >&6
38720 cat >conftest.$ac_ext <<_ACEOF
38723 cat confdefs.h >>conftest.$ac_ext
38724 cat >>conftest.$ac_ext <<_ACEOF
38725 /* end confdefs.h. */
38726 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38728 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38730 /* System header to define __stub macros and hopefully few prototypes,
38731 which can conflict with char pthread_attr_setstacksize (); below.
38732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38733 <limits.h> exists even on freestanding compilers. */
38736 # include <limits.h>
38738 # include <assert.h>
38741 #undef pthread_attr_setstacksize
38743 /* Override any GCC internal prototype to avoid an error.
38744 Use char because int might match the return type of a GCC
38745 builtin and then its argument prototype would still apply. */
38749 char pthread_attr_setstacksize ();
38750 /* The GNU C library defines this for functions which it implements
38751 to always fail with ENOSYS. Some functions are actually named
38752 something starting with __ and the normal name is an alias. */
38753 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38760 return pthread_attr_setstacksize ();
38765 rm -f conftest.$ac_objext conftest$ac_exeext
38766 if { (ac_try="$ac_link"
38767 case "(($ac_try" in
38768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38769 *) ac_try_echo=$ac_try;;
38771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38772 (eval "$ac_link") 2>conftest.er1
38774 grep -v '^ *+' conftest.er1 >conftest.err
38776 cat conftest.err >&5
38777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38778 (exit $ac_status); } && {
38779 test -z "$ac_c_werror_flag" ||
38780 test ! -s conftest.err
38781 } && test -s conftest$ac_exeext &&
38782 $as_test_x conftest$ac_exeext; then
38783 ac_cv_func_pthread_attr_setstacksize=yes
38785 echo "$as_me: failed program was:" >&5
38786 sed 's/^/| /' conftest.$ac_ext >&5
38788 ac_cv_func_pthread_attr_setstacksize=no
38791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38792 conftest$ac_exeext conftest.$ac_ext
38794 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38795 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38796 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38797 cat >>confdefs.h <<\_ACEOF
38798 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38805 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38806 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38807 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38808 echo $ECHO_N "(cached) $ECHO_C" >&6
38811 cat >conftest.$ac_ext <<_ACEOF
38814 cat confdefs.h >>conftest.$ac_ext
38815 cat >>conftest.$ac_ext <<_ACEOF
38816 /* end confdefs.h. */
38817 #include <pthread.h>
38822 pthread_mutexattr_t attr;
38823 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38829 rm -f conftest.$ac_objext
38830 if { (ac_try="$ac_compile"
38831 case "(($ac_try" in
38832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38833 *) ac_try_echo=$ac_try;;
38835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38836 (eval "$ac_compile") 2>conftest.er1
38838 grep -v '^ *+' conftest.er1 >conftest.err
38840 cat conftest.err >&5
38841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38842 (exit $ac_status); } && {
38843 test -z "$ac_c_werror_flag" ||
38844 test ! -s conftest.err
38845 } && test -s conftest.$ac_objext; then
38846 wx_cv_type_pthread_mutexattr_t=yes
38848 echo "$as_me: failed program was:" >&5
38849 sed 's/^/| /' conftest.$ac_ext >&5
38851 wx_cv_type_pthread_mutexattr_t=no
38855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38858 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38859 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38861 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38862 cat >>confdefs.h <<\_ACEOF
38863 #define HAVE_PTHREAD_MUTEXATTR_T 1
38867 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38868 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38869 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38870 echo $ECHO_N "(cached) $ECHO_C" >&6
38873 cat >conftest.$ac_ext <<_ACEOF
38876 cat confdefs.h >>conftest.$ac_ext
38877 cat >>conftest.$ac_ext <<_ACEOF
38878 /* end confdefs.h. */
38879 #include <pthread.h>
38884 pthread_mutexattr_t attr;
38885 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38891 rm -f conftest.$ac_objext
38892 if { (ac_try="$ac_compile"
38893 case "(($ac_try" in
38894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38895 *) ac_try_echo=$ac_try;;
38897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38898 (eval "$ac_compile") 2>conftest.er1
38900 grep -v '^ *+' conftest.er1 >conftest.err
38902 cat conftest.err >&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } && {
38905 test -z "$ac_c_werror_flag" ||
38906 test ! -s conftest.err
38907 } && test -s conftest.$ac_objext; then
38908 wx_cv_func_pthread_mutexattr_settype_decl=yes
38910 echo "$as_me: failed program was:" >&5
38911 sed 's/^/| /' conftest.$ac_ext >&5
38913 wx_cv_func_pthread_mutexattr_settype_decl=no
38917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38920 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38921 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38922 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38923 cat >>confdefs.h <<\_ACEOF
38924 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38929 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38930 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38931 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38932 echo $ECHO_N "(cached) $ECHO_C" >&6
38935 cat >conftest.$ac_ext <<_ACEOF
38938 cat confdefs.h >>conftest.$ac_ext
38939 cat >>conftest.$ac_ext <<_ACEOF
38940 /* end confdefs.h. */
38941 #include <pthread.h>
38946 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38952 rm -f conftest.$ac_objext
38953 if { (ac_try="$ac_compile"
38954 case "(($ac_try" in
38955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38956 *) ac_try_echo=$ac_try;;
38958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38959 (eval "$ac_compile") 2>conftest.er1
38961 grep -v '^ *+' conftest.er1 >conftest.err
38963 cat conftest.err >&5
38964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38965 (exit $ac_status); } && {
38966 test -z "$ac_c_werror_flag" ||
38967 test ! -s conftest.err
38968 } && test -s conftest.$ac_objext; then
38970 wx_cv_type_pthread_rec_mutex_init=yes
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.$ac_ext >&5
38977 wx_cv_type_pthread_rec_mutex_init=no
38982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38985 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38986 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38987 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38988 cat >>confdefs.h <<\_ACEOF
38989 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38993 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38994 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39000 if test "$wxUSE_THREADS" = "yes" ; then
39003 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39004 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39005 if test "${wx_cv_cflags_mthread+set}" = set; then
39006 echo $ECHO_N "(cached) $ECHO_C" >&6
39009 CFLAGS_OLD="$CFLAGS"
39010 CFLAGS="-mthreads $CFLAGS"
39011 cat >conftest.$ac_ext <<_ACEOF
39014 cat confdefs.h >>conftest.$ac_ext
39015 cat >>conftest.$ac_ext <<_ACEOF
39016 /* end confdefs.h. */
39026 rm -f conftest.$ac_objext
39027 if { (ac_try="$ac_compile"
39028 case "(($ac_try" in
39029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39030 *) ac_try_echo=$ac_try;;
39032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39033 (eval "$ac_compile") 2>conftest.er1
39035 grep -v '^ *+' conftest.er1 >conftest.err
39037 cat conftest.err >&5
39038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39039 (exit $ac_status); } && {
39040 test -z "$ac_c_werror_flag" ||
39041 test ! -s conftest.err
39042 } && test -s conftest.$ac_objext; then
39043 wx_cv_cflags_mthread=yes
39045 echo "$as_me: failed program was:" >&5
39046 sed 's/^/| /' conftest.$ac_ext >&5
39048 wx_cv_cflags_mthread=no
39052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39056 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39057 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39059 if test "$wx_cv_cflags_mthread" = "yes"; then
39060 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39061 LDFLAGS="$LDFLAGS -mthreads"
39063 CFLAGS="$CFLAGS_OLD"
39067 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39068 LDFLAGS="$LDFLAGS -Zmt"
39074 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39075 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39076 if test "${ac_cv_func_localtime_r+set}" = set; then
39077 echo $ECHO_N "(cached) $ECHO_C" >&6
39079 cat >conftest.$ac_ext <<_ACEOF
39082 cat confdefs.h >>conftest.$ac_ext
39083 cat >>conftest.$ac_ext <<_ACEOF
39084 /* end confdefs.h. */
39085 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39087 #define localtime_r innocuous_localtime_r
39089 /* System header to define __stub macros and hopefully few prototypes,
39090 which can conflict with char localtime_r (); below.
39091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39092 <limits.h> exists even on freestanding compilers. */
39095 # include <limits.h>
39097 # include <assert.h>
39102 /* Override any GCC internal prototype to avoid an error.
39103 Use char because int might match the return type of a GCC
39104 builtin and then its argument prototype would still apply. */
39108 char localtime_r ();
39109 /* The GNU C library defines this for functions which it implements
39110 to always fail with ENOSYS. Some functions are actually named
39111 something starting with __ and the normal name is an alias. */
39112 #if defined __stub_localtime_r || defined __stub___localtime_r
39119 return localtime_r ();
39124 rm -f conftest.$ac_objext conftest$ac_exeext
39125 if { (ac_try="$ac_link"
39126 case "(($ac_try" in
39127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39128 *) ac_try_echo=$ac_try;;
39130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39131 (eval "$ac_link") 2>conftest.er1
39133 grep -v '^ *+' conftest.er1 >conftest.err
39135 cat conftest.err >&5
39136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39137 (exit $ac_status); } && {
39138 test -z "$ac_c_werror_flag" ||
39139 test ! -s conftest.err
39140 } && test -s conftest$ac_exeext &&
39141 $as_test_x conftest$ac_exeext; then
39142 ac_cv_func_localtime_r=yes
39144 echo "$as_me: failed program was:" >&5
39145 sed 's/^/| /' conftest.$ac_ext >&5
39147 ac_cv_func_localtime_r=no
39150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39151 conftest$ac_exeext conftest.$ac_ext
39153 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39154 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39155 if test $ac_cv_func_localtime_r = yes; then
39156 cat >>confdefs.h <<\_ACEOF
39157 #define HAVE_LOCALTIME_R 1
39162 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39163 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39164 if test "${ac_cv_func_gmtime_r+set}" = set; then
39165 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 cat >conftest.$ac_ext <<_ACEOF
39170 cat confdefs.h >>conftest.$ac_ext
39171 cat >>conftest.$ac_ext <<_ACEOF
39172 /* end confdefs.h. */
39173 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39175 #define gmtime_r innocuous_gmtime_r
39177 /* System header to define __stub macros and hopefully few prototypes,
39178 which can conflict with char gmtime_r (); below.
39179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39180 <limits.h> exists even on freestanding compilers. */
39183 # include <limits.h>
39185 # include <assert.h>
39190 /* Override any GCC internal prototype to avoid an error.
39191 Use char because int might match the return type of a GCC
39192 builtin and then its argument prototype would still apply. */
39197 /* The GNU C library defines this for functions which it implements
39198 to always fail with ENOSYS. Some functions are actually named
39199 something starting with __ and the normal name is an alias. */
39200 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39207 return gmtime_r ();
39212 rm -f conftest.$ac_objext conftest$ac_exeext
39213 if { (ac_try="$ac_link"
39214 case "(($ac_try" in
39215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39216 *) ac_try_echo=$ac_try;;
39218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39219 (eval "$ac_link") 2>conftest.er1
39221 grep -v '^ *+' conftest.er1 >conftest.err
39223 cat conftest.err >&5
39224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39225 (exit $ac_status); } && {
39226 test -z "$ac_c_werror_flag" ||
39227 test ! -s conftest.err
39228 } && test -s conftest$ac_exeext &&
39229 $as_test_x conftest$ac_exeext; then
39230 ac_cv_func_gmtime_r=yes
39232 echo "$as_me: failed program was:" >&5
39233 sed 's/^/| /' conftest.$ac_ext >&5
39235 ac_cv_func_gmtime_r=no
39238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39239 conftest$ac_exeext conftest.$ac_ext
39241 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39242 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39243 if test $ac_cv_func_gmtime_r = yes; then
39244 cat >>confdefs.h <<\_ACEOF
39245 #define HAVE_GMTIME_R 1
39250 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39251 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39252 if test "${ac_cv_func_readdir_r+set}" = set; then
39253 echo $ECHO_N "(cached) $ECHO_C" >&6
39255 cat >conftest.$ac_ext <<_ACEOF
39258 cat confdefs.h >>conftest.$ac_ext
39259 cat >>conftest.$ac_ext <<_ACEOF
39260 /* end confdefs.h. */
39261 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39263 #define readdir_r innocuous_readdir_r
39265 /* System header to define __stub macros and hopefully few prototypes,
39266 which can conflict with char readdir_r (); below.
39267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39268 <limits.h> exists even on freestanding compilers. */
39271 # include <limits.h>
39273 # include <assert.h>
39278 /* Override any GCC internal prototype to avoid an error.
39279 Use char because int might match the return type of a GCC
39280 builtin and then its argument prototype would still apply. */
39285 /* The GNU C library defines this for functions which it implements
39286 to always fail with ENOSYS. Some functions are actually named
39287 something starting with __ and the normal name is an alias. */
39288 #if defined __stub_readdir_r || defined __stub___readdir_r
39295 return readdir_r ();
39300 rm -f conftest.$ac_objext conftest$ac_exeext
39301 if { (ac_try="$ac_link"
39302 case "(($ac_try" in
39303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39304 *) ac_try_echo=$ac_try;;
39306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39307 (eval "$ac_link") 2>conftest.er1
39309 grep -v '^ *+' conftest.er1 >conftest.err
39311 cat conftest.err >&5
39312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39313 (exit $ac_status); } && {
39314 test -z "$ac_c_werror_flag" ||
39315 test ! -s conftest.err
39316 } && test -s conftest$ac_exeext &&
39317 $as_test_x conftest$ac_exeext; then
39318 ac_cv_func_readdir_r=yes
39320 echo "$as_me: failed program was:" >&5
39321 sed 's/^/| /' conftest.$ac_ext >&5
39323 ac_cv_func_readdir_r=no
39326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39327 conftest$ac_exeext conftest.$ac_ext
39329 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39330 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39331 if test $ac_cv_func_readdir_r = yes; then
39332 cat >>confdefs.h <<\_ACEOF
39333 #define HAVE_READDIR_R 1
39342 ac_cpp='$CPP $CPPFLAGS'
39343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39347 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39348 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39350 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39351 echo $ECHO_N "(cached) $ECHO_C" >&6
39356 ac_cv_func_which_gethostbyname_r=unknown
39359 # ONE ARGUMENT (sanity check)
39362 # This should fail, as there is no variant of gethostbyname_r() that takes
39363 # a single argument. If it actually compiles, then we can assume that
39364 # netdb.h is not declaring the function, and the compiler is thereby
39365 # assuming an implicit prototype. In which case, we're out of luck.
39367 cat >conftest.$ac_ext <<_ACEOF
39370 cat confdefs.h >>conftest.$ac_ext
39371 cat >>conftest.$ac_ext <<_ACEOF
39372 /* end confdefs.h. */
39378 char *name = "www.gnu.org";
39379 (void)gethostbyname_r(name) /* ; */
39385 rm -f conftest.$ac_objext
39386 if { (ac_try="$ac_compile"
39387 case "(($ac_try" in
39388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39389 *) ac_try_echo=$ac_try;;
39391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39392 (eval "$ac_compile") 2>conftest.er1
39394 grep -v '^ *+' conftest.er1 >conftest.err
39396 cat conftest.err >&5
39397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39398 (exit $ac_status); } && {
39399 test -z "$ac_c_werror_flag" ||
39400 test ! -s conftest.err
39401 } && test -s conftest.$ac_objext; then
39402 ac_cv_func_which_gethostbyname_r=no
39404 echo "$as_me: failed program was:" >&5
39405 sed 's/^/| /' conftest.$ac_ext >&5
39410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39417 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39419 cat >conftest.$ac_ext <<_ACEOF
39422 cat confdefs.h >>conftest.$ac_ext
39423 cat >>conftest.$ac_ext <<_ACEOF
39424 /* end confdefs.h. */
39430 char *name = "www.gnu.org";
39431 struct hostent ret, *retp;
39435 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39441 rm -f conftest.$ac_objext
39442 if { (ac_try="$ac_compile"
39443 case "(($ac_try" in
39444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39445 *) ac_try_echo=$ac_try;;
39447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39448 (eval "$ac_compile") 2>conftest.er1
39450 grep -v '^ *+' conftest.er1 >conftest.err
39452 cat conftest.err >&5
39453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39454 (exit $ac_status); } && {
39455 test -z "$ac_c_werror_flag" ||
39456 test ! -s conftest.err
39457 } && test -s conftest.$ac_objext; then
39458 ac_cv_func_which_gethostbyname_r=six
39460 echo "$as_me: failed program was:" >&5
39461 sed 's/^/| /' conftest.$ac_ext >&5
39466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39475 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39477 cat >conftest.$ac_ext <<_ACEOF
39480 cat confdefs.h >>conftest.$ac_ext
39481 cat >>conftest.$ac_ext <<_ACEOF
39482 /* end confdefs.h. */
39488 char *name = "www.gnu.org";
39489 struct hostent ret;
39493 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39499 rm -f conftest.$ac_objext
39500 if { (ac_try="$ac_compile"
39501 case "(($ac_try" in
39502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39503 *) ac_try_echo=$ac_try;;
39505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39506 (eval "$ac_compile") 2>conftest.er1
39508 grep -v '^ *+' conftest.er1 >conftest.err
39510 cat conftest.err >&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } && {
39513 test -z "$ac_c_werror_flag" ||
39514 test ! -s conftest.err
39515 } && test -s conftest.$ac_objext; then
39516 ac_cv_func_which_gethostbyname_r=five
39518 echo "$as_me: failed program was:" >&5
39519 sed 's/^/| /' conftest.$ac_ext >&5
39524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39530 # (e.g. AIX, HP-UX, Tru64)
39533 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39535 cat >conftest.$ac_ext <<_ACEOF
39538 cat confdefs.h >>conftest.$ac_ext
39539 cat >>conftest.$ac_ext <<_ACEOF
39540 /* end confdefs.h. */
39546 char *name = "www.gnu.org";
39547 struct hostent ret;
39548 struct hostent_data data;
39549 (void)gethostbyname_r(name, &ret, &data) /* ; */
39555 rm -f conftest.$ac_objext
39556 if { (ac_try="$ac_compile"
39557 case "(($ac_try" in
39558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39559 *) ac_try_echo=$ac_try;;
39561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39562 (eval "$ac_compile") 2>conftest.er1
39564 grep -v '^ *+' conftest.er1 >conftest.err
39566 cat conftest.err >&5
39567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39568 (exit $ac_status); } && {
39569 test -z "$ac_c_werror_flag" ||
39570 test ! -s conftest.err
39571 } && test -s conftest.$ac_objext; then
39572 ac_cv_func_which_gethostbyname_r=three
39574 echo "$as_me: failed program was:" >&5
39575 sed 's/^/| /' conftest.$ac_ext >&5
39580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39588 case "$ac_cv_func_which_gethostbyname_r" in
39590 { echo "$as_me:$LINENO: result: three" >&5
39591 echo "${ECHO_T}three" >&6; }
39592 cat >>confdefs.h <<\_ACEOF
39593 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39599 { echo "$as_me:$LINENO: result: five" >&5
39600 echo "${ECHO_T}five" >&6; }
39601 cat >>confdefs.h <<\_ACEOF
39602 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39608 { echo "$as_me:$LINENO: result: six" >&5
39609 echo "${ECHO_T}six" >&6; }
39610 cat >>confdefs.h <<\_ACEOF
39611 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39617 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39618 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39622 { echo "$as_me:$LINENO: result: can't tell" >&5
39623 echo "${ECHO_T}can't tell" >&6; }
39627 { { echo "$as_me:$LINENO: error: internal error" >&5
39628 echo "$as_me: error: internal error" >&2;}
39629 { (exit 1); exit 1; }; }
39634 ac_cpp='$CPP $CPPFLAGS'
39635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39641 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39642 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39643 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39644 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39645 if test "${ac_cv_func_gethostbyname+set}" = set; then
39646 echo $ECHO_N "(cached) $ECHO_C" >&6
39648 cat >conftest.$ac_ext <<_ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39654 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39656 #define gethostbyname innocuous_gethostbyname
39658 /* System header to define __stub macros and hopefully few prototypes,
39659 which can conflict with char gethostbyname (); below.
39660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39661 <limits.h> exists even on freestanding compilers. */
39664 # include <limits.h>
39666 # include <assert.h>
39669 #undef gethostbyname
39671 /* Override any GCC internal prototype to avoid an error.
39672 Use char because int might match the return type of a GCC
39673 builtin and then its argument prototype would still apply. */
39677 char gethostbyname ();
39678 /* The GNU C library defines this for functions which it implements
39679 to always fail with ENOSYS. Some functions are actually named
39680 something starting with __ and the normal name is an alias. */
39681 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39688 return gethostbyname ();
39693 rm -f conftest.$ac_objext conftest$ac_exeext
39694 if { (ac_try="$ac_link"
39695 case "(($ac_try" in
39696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39697 *) ac_try_echo=$ac_try;;
39699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39700 (eval "$ac_link") 2>conftest.er1
39702 grep -v '^ *+' conftest.er1 >conftest.err
39704 cat conftest.err >&5
39705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39706 (exit $ac_status); } && {
39707 test -z "$ac_c_werror_flag" ||
39708 test ! -s conftest.err
39709 } && test -s conftest$ac_exeext &&
39710 $as_test_x conftest$ac_exeext; then
39711 ac_cv_func_gethostbyname=yes
39713 echo "$as_me: failed program was:" >&5
39714 sed 's/^/| /' conftest.$ac_ext >&5
39716 ac_cv_func_gethostbyname=no
39719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39720 conftest$ac_exeext conftest.$ac_ext
39722 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39723 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39724 if test $ac_cv_func_gethostbyname = yes; then
39725 cat >>confdefs.h <<\_ACEOF
39726 #define HAVE_GETHOSTBYNAME 1
39732 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39733 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39734 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39735 echo $ECHO_N "(cached) $ECHO_C" >&6
39738 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39739 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39740 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39741 echo $ECHO_N "(cached) $ECHO_C" >&6
39743 cat >conftest.$ac_ext <<_ACEOF
39746 cat confdefs.h >>conftest.$ac_ext
39747 cat >>conftest.$ac_ext <<_ACEOF
39748 /* end confdefs.h. */
39749 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39751 #define getservbyname_r innocuous_getservbyname_r
39753 /* System header to define __stub macros and hopefully few prototypes,
39754 which can conflict with char getservbyname_r (); below.
39755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39756 <limits.h> exists even on freestanding compilers. */
39759 # include <limits.h>
39761 # include <assert.h>
39764 #undef getservbyname_r
39766 /* Override any GCC internal prototype to avoid an error.
39767 Use char because int might match the return type of a GCC
39768 builtin and then its argument prototype would still apply. */
39772 char getservbyname_r ();
39773 /* The GNU C library defines this for functions which it implements
39774 to always fail with ENOSYS. Some functions are actually named
39775 something starting with __ and the normal name is an alias. */
39776 #if defined __stub_getservbyname_r || defined __stub___getservbyname_r
39783 return getservbyname_r ();
39788 rm -f conftest.$ac_objext conftest$ac_exeext
39789 if { (ac_try="$ac_link"
39790 case "(($ac_try" in
39791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39792 *) ac_try_echo=$ac_try;;
39794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39795 (eval "$ac_link") 2>conftest.er1
39797 grep -v '^ *+' conftest.er1 >conftest.err
39799 cat conftest.err >&5
39800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39801 (exit $ac_status); } && {
39802 test -z "$ac_c_werror_flag" ||
39803 test ! -s conftest.err
39804 } && test -s conftest$ac_exeext &&
39805 $as_test_x conftest$ac_exeext; then
39806 ac_cv_func_getservbyname_r=yes
39808 echo "$as_me: failed program was:" >&5
39809 sed 's/^/| /' conftest.$ac_ext >&5
39811 ac_cv_func_getservbyname_r=no
39814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39815 conftest$ac_exeext conftest.$ac_ext
39817 { echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39818 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6; }
39819 if test $ac_cv_func_getservbyname_r = yes; then
39821 cat >conftest.$ac_ext <<_ACEOF
39824 cat confdefs.h >>conftest.$ac_ext
39825 cat >>conftest.$ac_ext <<_ACEOF
39826 /* end confdefs.h. */
39828 # include <netdb.h>
39837 struct servent *se;
39838 struct servent_data data;
39839 (void) getservbyname_r(name, proto, se, &data);
39846 rm -f conftest.$ac_objext
39847 if { (ac_try="$ac_compile"
39848 case "(($ac_try" in
39849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39850 *) ac_try_echo=$ac_try;;
39852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39853 (eval "$ac_compile") 2>conftest.er1
39855 grep -v '^ *+' conftest.er1 >conftest.err
39857 cat conftest.err >&5
39858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39859 (exit $ac_status); } && {
39860 test -z "$ac_c_werror_flag" ||
39861 test ! -s conftest.err
39862 } && test -s conftest.$ac_objext; then
39863 ac_cv_func_which_getservbyname_r=four
39865 echo "$as_me: failed program was:" >&5
39866 sed 's/^/| /' conftest.$ac_ext >&5
39869 cat >conftest.$ac_ext <<_ACEOF
39872 cat confdefs.h >>conftest.$ac_ext
39873 cat >>conftest.$ac_ext <<_ACEOF
39874 /* end confdefs.h. */
39876 # include <netdb.h>
39884 struct servent *se, *res;
39887 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39893 rm -f conftest.$ac_objext
39894 if { (ac_try="$ac_compile"
39895 case "(($ac_try" in
39896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39897 *) ac_try_echo=$ac_try;;
39899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39900 (eval "$ac_compile") 2>conftest.er1
39902 grep -v '^ *+' conftest.er1 >conftest.err
39904 cat conftest.err >&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); } && {
39907 test -z "$ac_c_werror_flag" ||
39908 test ! -s conftest.err
39909 } && test -s conftest.$ac_objext; then
39910 ac_cv_func_which_getservbyname_r=six
39912 echo "$as_me: failed program was:" >&5
39913 sed 's/^/| /' conftest.$ac_ext >&5
39916 cat >conftest.$ac_ext <<_ACEOF
39919 cat confdefs.h >>conftest.$ac_ext
39920 cat >>conftest.$ac_ext <<_ACEOF
39921 /* end confdefs.h. */
39923 # include <netdb.h>
39931 struct servent *se;
39934 (void) getservbyname_r(name, proto, se, buffer, buflen)
39940 rm -f conftest.$ac_objext
39941 if { (ac_try="$ac_compile"
39942 case "(($ac_try" in
39943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39944 *) ac_try_echo=$ac_try;;
39946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39947 (eval "$ac_compile") 2>conftest.er1
39949 grep -v '^ *+' conftest.er1 >conftest.err
39951 cat conftest.err >&5
39952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39953 (exit $ac_status); } && {
39954 test -z "$ac_c_werror_flag" ||
39955 test ! -s conftest.err
39956 } && test -s conftest.$ac_objext; then
39957 ac_cv_func_which_getservbyname_r=five
39959 echo "$as_me: failed program was:" >&5
39960 sed 's/^/| /' conftest.$ac_ext >&5
39962 ac_cv_func_which_getservbyname_r=no
39965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39980 ac_cv_func_which_getservbyname_r=no
39984 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39985 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39987 if test $ac_cv_func_which_getservbyname_r = six; then
39988 cat >>confdefs.h <<\_ACEOF
39989 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39992 elif test $ac_cv_func_which_getservbyname_r = five; then
39993 cat >>confdefs.h <<\_ACEOF
39994 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39997 elif test $ac_cv_func_which_getservbyname_r = four; then
39998 cat >>confdefs.h <<\_ACEOF
39999 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40006 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40007 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40009 for ac_func in getservbyname
40011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40012 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40014 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40015 echo $ECHO_N "(cached) $ECHO_C" >&6
40017 cat >conftest.$ac_ext <<_ACEOF
40020 cat confdefs.h >>conftest.$ac_ext
40021 cat >>conftest.$ac_ext <<_ACEOF
40022 /* end confdefs.h. */
40023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40025 #define $ac_func innocuous_$ac_func
40027 /* System header to define __stub macros and hopefully few prototypes,
40028 which can conflict with char $ac_func (); below.
40029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40030 <limits.h> exists even on freestanding compilers. */
40033 # include <limits.h>
40035 # include <assert.h>
40040 /* Override any GCC internal prototype to avoid an error.
40041 Use char because int might match the return type of a GCC
40042 builtin and then its argument prototype would still apply. */
40047 /* The GNU C library defines this for functions which it implements
40048 to always fail with ENOSYS. Some functions are actually named
40049 something starting with __ and the normal name is an alias. */
40050 #if defined __stub_$ac_func || defined __stub___$ac_func
40057 return $ac_func ();
40062 rm -f conftest.$ac_objext conftest$ac_exeext
40063 if { (ac_try="$ac_link"
40064 case "(($ac_try" in
40065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40066 *) ac_try_echo=$ac_try;;
40068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40069 (eval "$ac_link") 2>conftest.er1
40071 grep -v '^ *+' conftest.er1 >conftest.err
40073 cat conftest.err >&5
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); } && {
40076 test -z "$ac_c_werror_flag" ||
40077 test ! -s conftest.err
40078 } && test -s conftest$ac_exeext &&
40079 $as_test_x conftest$ac_exeext; then
40080 eval "$as_ac_var=yes"
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.$ac_ext >&5
40085 eval "$as_ac_var=no"
40088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40089 conftest$ac_exeext conftest.$ac_ext
40091 ac_res=`eval echo '${'$as_ac_var'}'`
40092 { echo "$as_me:$LINENO: result: $ac_res" >&5
40093 echo "${ECHO_T}$ac_res" >&6; }
40094 if test `eval echo '${'$as_ac_var'}'` = yes; then
40095 cat >>confdefs.h <<_ACEOF
40096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40098 cat >>confdefs.h <<\_ACEOF
40099 #define HAVE_GETSERVBYNAME 1
40107 if test "$wxUSE_THREADS" = "yes"; then
40108 cat >>confdefs.h <<\_ACEOF
40109 #define wxUSE_THREADS 1
40113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40115 if test "$wx_cv_func_strtok_r" = "yes"; then
40116 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40117 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40118 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40119 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40120 { echo "$as_me:$LINENO: result: yes" >&5
40121 echo "${ECHO_T}yes" >&6; }
40123 { echo "$as_me:$LINENO: result: no" >&5
40124 echo "${ECHO_T}no" >&6; }
40129 if test "$WXGTK20" = 1 ; then
40130 cat >>confdefs.h <<_ACEOF
40131 #define __WXGTK20__ $WXGTK20
40137 if test "$WXGTK12" = 1 ; then
40138 cat >>confdefs.h <<_ACEOF
40139 #define __WXGTK12__ $WXGTK12
40144 if test "$WXGTK127" = 1 ; then
40145 cat >>confdefs.h <<_ACEOF
40146 #define __WXGTK127__ $WXGTK127
40151 if test "$WXGPE" = 1 ; then
40152 cat >>confdefs.h <<_ACEOF
40153 #define __WXGPE__ $WXGPE
40159 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40164 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40165 wxUSE_DEBUG_INFO=yes
40166 if test "$GCC" = yes; then
40167 DEBUG_CFLAGS="-ggdb"
40171 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40172 cat >>confdefs.h <<\_ACEOF
40176 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40178 if test "$wxUSE_GTK" = 1 ; then
40179 if test "x$wxGTK_VERSION" = "x1" ; then
40180 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40185 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40186 cat >>confdefs.h <<\_ACEOF
40187 #define wxUSE_MEMORY_TRACING 1
40190 cat >>confdefs.h <<\_ACEOF
40191 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40194 cat >>confdefs.h <<\_ACEOF
40195 #define wxUSE_DEBUG_NEW_ALWAYS 1
40198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40201 if test "$wxUSE_DMALLOC" = "yes" ; then
40202 DMALLOC_LIBS="-ldmallocthcxx"
40206 if test "$wxUSE_PROFILE" = "yes" ; then
40207 PROFILE_FLAGS=" -pg"
40210 if test "$GCC" = "yes" ; then
40211 if test "$wxUSE_NO_RTTI" = "yes" ; then
40212 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40214 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40215 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40217 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40218 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40223 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40226 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40232 if test "$wxUSE_OPTIMISE" = "no" ; then
40233 if test "$GCC" = yes ; then
40234 OPTIMISE_CFLAGS="-O0"
40237 if test "$GCC" = yes ; then
40239 *-pc-os2_emx | *-pc-os2-emx )
40240 OPTIMISE_CFLAGS="-O2"
40243 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40247 OPTIMISE_CFLAGS="-O"
40252 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40253 cat >>confdefs.h <<\_ACEOF
40254 #define WXWIN_COMPATIBILITY_2_6 1
40258 WXWIN_COMPATIBILITY_2_8="yes"
40261 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40262 cat >>confdefs.h <<\_ACEOF
40263 #define WXWIN_COMPATIBILITY_2_8 1
40269 if test "$wxUSE_GUI" = "yes"; then
40270 cat >>confdefs.h <<\_ACEOF
40271 #define wxUSE_GUI 1
40278 if test "$wxUSE_UNIX" = "yes"; then
40279 cat >>confdefs.h <<\_ACEOF
40280 #define wxUSE_UNIX 1
40286 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40290 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40291 if test "$USE_DARWIN" = 1; then
40293 elif test "$USE_DOS" = 1; then
40297 for ac_func in dlopen
40299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40303 echo $ECHO_N "(cached) $ECHO_C" >&6
40305 cat >conftest.$ac_ext <<_ACEOF
40308 cat confdefs.h >>conftest.$ac_ext
40309 cat >>conftest.$ac_ext <<_ACEOF
40310 /* end confdefs.h. */
40311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40313 #define $ac_func innocuous_$ac_func
40315 /* System header to define __stub macros and hopefully few prototypes,
40316 which can conflict with char $ac_func (); below.
40317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40318 <limits.h> exists even on freestanding compilers. */
40321 # include <limits.h>
40323 # include <assert.h>
40328 /* Override any GCC internal prototype to avoid an error.
40329 Use char because int might match the return type of a GCC
40330 builtin and then its argument prototype would still apply. */
40335 /* The GNU C library defines this for functions which it implements
40336 to always fail with ENOSYS. Some functions are actually named
40337 something starting with __ and the normal name is an alias. */
40338 #if defined __stub_$ac_func || defined __stub___$ac_func
40345 return $ac_func ();
40350 rm -f conftest.$ac_objext conftest$ac_exeext
40351 if { (ac_try="$ac_link"
40352 case "(($ac_try" in
40353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40354 *) ac_try_echo=$ac_try;;
40356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40357 (eval "$ac_link") 2>conftest.er1
40359 grep -v '^ *+' conftest.er1 >conftest.err
40361 cat conftest.err >&5
40362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363 (exit $ac_status); } && {
40364 test -z "$ac_c_werror_flag" ||
40365 test ! -s conftest.err
40366 } && test -s conftest$ac_exeext &&
40367 $as_test_x conftest$ac_exeext; then
40368 eval "$as_ac_var=yes"
40370 echo "$as_me: failed program was:" >&5
40371 sed 's/^/| /' conftest.$ac_ext >&5
40373 eval "$as_ac_var=no"
40376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40377 conftest$ac_exeext conftest.$ac_ext
40379 ac_res=`eval echo '${'$as_ac_var'}'`
40380 { echo "$as_me:$LINENO: result: $ac_res" >&5
40381 echo "${ECHO_T}$ac_res" >&6; }
40382 if test `eval echo '${'$as_ac_var'}'` = yes; then
40383 cat >>confdefs.h <<_ACEOF
40384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40387 cat >>confdefs.h <<\_ACEOF
40388 #define HAVE_DLOPEN 1
40395 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40396 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40397 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40398 echo $ECHO_N "(cached) $ECHO_C" >&6
40400 ac_check_lib_save_LIBS=$LIBS
40402 cat >conftest.$ac_ext <<_ACEOF
40405 cat confdefs.h >>conftest.$ac_ext
40406 cat >>conftest.$ac_ext <<_ACEOF
40407 /* end confdefs.h. */
40409 /* Override any GCC internal prototype to avoid an error.
40410 Use char because int might match the return type of a GCC
40411 builtin and then its argument prototype would still apply. */
40424 rm -f conftest.$ac_objext conftest$ac_exeext
40425 if { (ac_try="$ac_link"
40426 case "(($ac_try" in
40427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40428 *) ac_try_echo=$ac_try;;
40430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40431 (eval "$ac_link") 2>conftest.er1
40433 grep -v '^ *+' conftest.er1 >conftest.err
40435 cat conftest.err >&5
40436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40437 (exit $ac_status); } && {
40438 test -z "$ac_c_werror_flag" ||
40439 test ! -s conftest.err
40440 } && test -s conftest$ac_exeext &&
40441 $as_test_x conftest$ac_exeext; then
40442 ac_cv_lib_dl_dlopen=yes
40444 echo "$as_me: failed program was:" >&5
40445 sed 's/^/| /' conftest.$ac_ext >&5
40447 ac_cv_lib_dl_dlopen=no
40450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40451 conftest$ac_exeext conftest.$ac_ext
40452 LIBS=$ac_check_lib_save_LIBS
40454 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40455 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40456 if test $ac_cv_lib_dl_dlopen = yes; then
40458 cat >>confdefs.h <<\_ACEOF
40459 #define HAVE_DLOPEN 1
40463 DL_LINK=" -ldl$DL_LINK"
40468 for ac_func in shl_load
40470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40471 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40473 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40474 echo $ECHO_N "(cached) $ECHO_C" >&6
40476 cat >conftest.$ac_ext <<_ACEOF
40479 cat confdefs.h >>conftest.$ac_ext
40480 cat >>conftest.$ac_ext <<_ACEOF
40481 /* end confdefs.h. */
40482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40484 #define $ac_func innocuous_$ac_func
40486 /* System header to define __stub macros and hopefully few prototypes,
40487 which can conflict with char $ac_func (); below.
40488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40489 <limits.h> exists even on freestanding compilers. */
40492 # include <limits.h>
40494 # include <assert.h>
40499 /* Override any GCC internal prototype to avoid an error.
40500 Use char because int might match the return type of a GCC
40501 builtin and then its argument prototype would still apply. */
40506 /* The GNU C library defines this for functions which it implements
40507 to always fail with ENOSYS. Some functions are actually named
40508 something starting with __ and the normal name is an alias. */
40509 #if defined __stub_$ac_func || defined __stub___$ac_func
40516 return $ac_func ();
40521 rm -f conftest.$ac_objext conftest$ac_exeext
40522 if { (ac_try="$ac_link"
40523 case "(($ac_try" in
40524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40525 *) ac_try_echo=$ac_try;;
40527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40528 (eval "$ac_link") 2>conftest.er1
40530 grep -v '^ *+' conftest.er1 >conftest.err
40532 cat conftest.err >&5
40533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40534 (exit $ac_status); } && {
40535 test -z "$ac_c_werror_flag" ||
40536 test ! -s conftest.err
40537 } && test -s conftest$ac_exeext &&
40538 $as_test_x conftest$ac_exeext; then
40539 eval "$as_ac_var=yes"
40541 echo "$as_me: failed program was:" >&5
40542 sed 's/^/| /' conftest.$ac_ext >&5
40544 eval "$as_ac_var=no"
40547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40548 conftest$ac_exeext conftest.$ac_ext
40550 ac_res=`eval echo '${'$as_ac_var'}'`
40551 { echo "$as_me:$LINENO: result: $ac_res" >&5
40552 echo "${ECHO_T}$ac_res" >&6; }
40553 if test `eval echo '${'$as_ac_var'}'` = yes; then
40554 cat >>confdefs.h <<_ACEOF
40555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40558 cat >>confdefs.h <<\_ACEOF
40559 #define HAVE_SHL_LOAD 1
40566 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40567 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40568 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40569 echo $ECHO_N "(cached) $ECHO_C" >&6
40571 ac_check_lib_save_LIBS=$LIBS
40572 LIBS="-lshl_load $LIBS"
40573 cat >conftest.$ac_ext <<_ACEOF
40576 cat confdefs.h >>conftest.$ac_ext
40577 cat >>conftest.$ac_ext <<_ACEOF
40578 /* end confdefs.h. */
40580 /* Override any GCC internal prototype to avoid an error.
40581 Use char because int might match the return type of a GCC
40582 builtin and then its argument prototype would still apply. */
40595 rm -f conftest.$ac_objext conftest$ac_exeext
40596 if { (ac_try="$ac_link"
40597 case "(($ac_try" in
40598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40599 *) ac_try_echo=$ac_try;;
40601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40602 (eval "$ac_link") 2>conftest.er1
40604 grep -v '^ *+' conftest.er1 >conftest.err
40606 cat conftest.err >&5
40607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40608 (exit $ac_status); } && {
40609 test -z "$ac_c_werror_flag" ||
40610 test ! -s conftest.err
40611 } && test -s conftest$ac_exeext &&
40612 $as_test_x conftest$ac_exeext; then
40613 ac_cv_lib_shl_load_dld=yes
40615 echo "$as_me: failed program was:" >&5
40616 sed 's/^/| /' conftest.$ac_ext >&5
40618 ac_cv_lib_shl_load_dld=no
40621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40622 conftest$ac_exeext conftest.$ac_ext
40623 LIBS=$ac_check_lib_save_LIBS
40625 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40626 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40627 if test $ac_cv_lib_shl_load_dld = yes; then
40630 DL_LINK=" -ldld$DL_LINK"
40646 if test "$HAVE_DL_FUNCS" = 1; then
40648 for ac_func in dlerror
40650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40653 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40654 echo $ECHO_N "(cached) $ECHO_C" >&6
40656 cat >conftest.$ac_ext <<_ACEOF
40659 cat confdefs.h >>conftest.$ac_ext
40660 cat >>conftest.$ac_ext <<_ACEOF
40661 /* end confdefs.h. */
40662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40664 #define $ac_func innocuous_$ac_func
40666 /* System header to define __stub macros and hopefully few prototypes,
40667 which can conflict with char $ac_func (); below.
40668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40669 <limits.h> exists even on freestanding compilers. */
40672 # include <limits.h>
40674 # include <assert.h>
40679 /* Override any GCC internal prototype to avoid an error.
40680 Use char because int might match the return type of a GCC
40681 builtin and then its argument prototype would still apply. */
40686 /* The GNU C library defines this for functions which it implements
40687 to always fail with ENOSYS. Some functions are actually named
40688 something starting with __ and the normal name is an alias. */
40689 #if defined __stub_$ac_func || defined __stub___$ac_func
40696 return $ac_func ();
40701 rm -f conftest.$ac_objext conftest$ac_exeext
40702 if { (ac_try="$ac_link"
40703 case "(($ac_try" in
40704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40705 *) ac_try_echo=$ac_try;;
40707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40708 (eval "$ac_link") 2>conftest.er1
40710 grep -v '^ *+' conftest.er1 >conftest.err
40712 cat conftest.err >&5
40713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40714 (exit $ac_status); } && {
40715 test -z "$ac_c_werror_flag" ||
40716 test ! -s conftest.err
40717 } && test -s conftest$ac_exeext &&
40718 $as_test_x conftest$ac_exeext; then
40719 eval "$as_ac_var=yes"
40721 echo "$as_me: failed program was:" >&5
40722 sed 's/^/| /' conftest.$ac_ext >&5
40724 eval "$as_ac_var=no"
40727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40728 conftest$ac_exeext conftest.$ac_ext
40730 ac_res=`eval echo '${'$as_ac_var'}'`
40731 { echo "$as_me:$LINENO: result: $ac_res" >&5
40732 echo "${ECHO_T}$ac_res" >&6; }
40733 if test `eval echo '${'$as_ac_var'}'` = yes; then
40734 cat >>confdefs.h <<_ACEOF
40735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40737 cat >>confdefs.h <<\_ACEOF
40738 #define HAVE_DLERROR 1
40743 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40744 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40745 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40746 echo $ECHO_N "(cached) $ECHO_C" >&6
40748 ac_check_lib_save_LIBS=$LIBS
40750 cat >conftest.$ac_ext <<_ACEOF
40753 cat confdefs.h >>conftest.$ac_ext
40754 cat >>conftest.$ac_ext <<_ACEOF
40755 /* end confdefs.h. */
40757 /* Override any GCC internal prototype to avoid an error.
40758 Use char because int might match the return type of a GCC
40759 builtin and then its argument prototype would still apply. */
40772 rm -f conftest.$ac_objext conftest$ac_exeext
40773 if { (ac_try="$ac_link"
40774 case "(($ac_try" in
40775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40776 *) ac_try_echo=$ac_try;;
40778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40779 (eval "$ac_link") 2>conftest.er1
40781 grep -v '^ *+' conftest.er1 >conftest.err
40783 cat conftest.err >&5
40784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40785 (exit $ac_status); } && {
40786 test -z "$ac_c_werror_flag" ||
40787 test ! -s conftest.err
40788 } && test -s conftest$ac_exeext &&
40789 $as_test_x conftest$ac_exeext; then
40790 ac_cv_lib_dl_dlerror=yes
40792 echo "$as_me: failed program was:" >&5
40793 sed 's/^/| /' conftest.$ac_ext >&5
40795 ac_cv_lib_dl_dlerror=no
40798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40799 conftest$ac_exeext conftest.$ac_ext
40800 LIBS=$ac_check_lib_save_LIBS
40802 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40803 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40804 if test $ac_cv_lib_dl_dlerror = yes; then
40805 cat >>confdefs.h <<\_ACEOF
40806 #define HAVE_DLERROR 1
40819 if test "$HAVE_DL_FUNCS" = 0; then
40820 if test "$HAVE_SHL_FUNCS" = 0; then
40821 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40822 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40823 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40824 wxUSE_DYNAMIC_LOADER=no
40825 wxUSE_DYNLIB_CLASS=no
40827 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40828 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40835 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40836 cat >>confdefs.h <<\_ACEOF
40837 #define wxUSE_DYNAMIC_LOADER 1
40841 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40842 cat >>confdefs.h <<\_ACEOF
40843 #define wxUSE_DYNLIB_CLASS 1
40850 if test "$wxUSE_PLUGINS" = "yes" ; then
40851 if test "$wxUSE_SHARED" = "no" ; then
40852 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40853 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40856 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40857 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40858 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40861 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40862 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40863 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40866 if test "$wxUSE_PLUGINS" = "yes" ; then
40867 cat >>confdefs.h <<\_ACEOF
40868 #define wxUSE_PLUGINS 1
40875 if test "$wxUSE_STL" = "yes"; then
40876 cat >>confdefs.h <<\_ACEOF
40877 #define wxUSE_STL 1
40882 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40883 cat >>confdefs.h <<\_ACEOF
40884 #define wxUSE_EXTENDED_RTTI 1
40889 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40890 cat >>confdefs.h <<\_ACEOF
40891 #define wxUSE_APPLE_IEEE 1
40896 if test "$wxUSE_TIMER" = "yes"; then
40897 cat >>confdefs.h <<\_ACEOF
40898 #define wxUSE_TIMER 1
40903 if test "$USE_UNIX" = "1" ; then
40904 if test "$wxUSE_MGL" != 1; then
40905 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40906 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40907 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40908 echo $ECHO_N "(cached) $ECHO_C" >&6
40911 cat >conftest.$ac_ext <<_ACEOF
40914 cat confdefs.h >>conftest.$ac_ext
40915 cat >>conftest.$ac_ext <<_ACEOF
40916 /* end confdefs.h. */
40918 #include <sys/ioctl.h>
40919 #include <sys/soundcard.h>
40925 ioctl(0, SNDCTL_DSP_SPEED, 0);
40931 rm -f conftest.$ac_objext conftest$ac_exeext
40932 if { (ac_try="$ac_link"
40933 case "(($ac_try" in
40934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40935 *) ac_try_echo=$ac_try;;
40937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40938 (eval "$ac_link") 2>conftest.er1
40940 grep -v '^ *+' conftest.er1 >conftest.err
40942 cat conftest.err >&5
40943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40944 (exit $ac_status); } && {
40945 test -z "$ac_c_werror_flag" ||
40946 test ! -s conftest.err
40947 } && test -s conftest$ac_exeext &&
40948 $as_test_x conftest$ac_exeext; then
40949 ac_cv_header_sys_soundcard=yes
40951 echo "$as_me: failed program was:" >&5
40952 sed 's/^/| /' conftest.$ac_ext >&5
40956 LIBS="$saveLibs -lossaudio"
40957 cat >conftest.$ac_ext <<_ACEOF
40960 cat confdefs.h >>conftest.$ac_ext
40961 cat >>conftest.$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40964 #include <sys/ioctl.h>
40965 #include <sys/soundcard.h>
40971 ioctl(0, SNDCTL_DSP_SPEED, 0);
40977 rm -f conftest.$ac_objext conftest$ac_exeext
40978 if { (ac_try="$ac_link"
40979 case "(($ac_try" in
40980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40981 *) ac_try_echo=$ac_try;;
40983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40984 (eval "$ac_link") 2>conftest.er1
40986 grep -v '^ *+' conftest.er1 >conftest.err
40988 cat conftest.err >&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); } && {
40991 test -z "$ac_c_werror_flag" ||
40992 test ! -s conftest.err
40993 } && test -s conftest$ac_exeext &&
40994 $as_test_x conftest$ac_exeext; then
40995 ac_cv_header_sys_soundcard=yes
40997 echo "$as_me: failed program was:" >&5
40998 sed 's/^/| /' conftest.$ac_ext >&5
41002 ac_cv_header_sys_soundcard=no
41007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41008 conftest$ac_exeext conftest.$ac_ext
41013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41014 conftest$ac_exeext conftest.$ac_ext
41017 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41018 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41021 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41022 cat >>confdefs.h <<\_ACEOF
41023 #define HAVE_SYS_SOUNDCARD_H 1
41030 if test "$wxUSE_SOUND" = "yes"; then
41031 if test "$USE_UNIX" = "1" ; then
41032 if test "$wxUSE_LIBSDL" != "no"; then
41034 # Check whether --with-sdl-prefix was given.
41035 if test "${with_sdl_prefix+set}" = set; then
41036 withval=$with_sdl_prefix; sdl_prefix="$withval"
41042 # Check whether --with-sdl-exec-prefix was given.
41043 if test "${with_sdl_exec_prefix+set}" = set; then
41044 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41049 # Check whether --enable-sdltest was given.
41050 if test "${enable_sdltest+set}" = set; then
41051 enableval=$enable_sdltest;
41057 if test x$sdl_exec_prefix != x ; then
41058 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41059 if test x${SDL_CONFIG+set} != xset ; then
41060 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41063 if test x$sdl_prefix != x ; then
41064 sdl_args="$sdl_args --prefix=$sdl_prefix"
41065 if test x${SDL_CONFIG+set} != xset ; then
41066 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41070 if test "x$prefix" != xNONE; then
41071 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41073 # Extract the first word of "sdl-config", so it can be a program name with args.
41074 set dummy sdl-config; ac_word=$2
41075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41077 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41078 echo $ECHO_N "(cached) $ECHO_C" >&6
41080 case $SDL_CONFIG in
41082 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41086 for as_dir in $PATH
41089 test -z "$as_dir" && as_dir=.
41090 for ac_exec_ext in '' $ac_executable_extensions; do
41091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41092 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41100 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41104 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41105 if test -n "$SDL_CONFIG"; then
41106 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41107 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41109 { echo "$as_me:$LINENO: result: no" >&5
41110 echo "${ECHO_T}no" >&6; }
41114 min_sdl_version=1.2.0
41115 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41116 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41118 if test "$SDL_CONFIG" = "no" ; then
41121 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41122 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41124 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41125 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41126 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41128 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41130 if test "x$enable_sdltest" = "xyes" ; then
41131 ac_save_CFLAGS="$CFLAGS"
41132 ac_save_CXXFLAGS="$CXXFLAGS"
41133 ac_save_LIBS="$LIBS"
41134 CFLAGS="$CFLAGS $SDL_CFLAGS"
41135 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41136 LIBS="$LIBS $SDL_LIBS"
41138 if test "$cross_compiling" = yes; then
41139 echo $ac_n "cross compiling; assumed OK... $ac_c"
41141 cat >conftest.$ac_ext <<_ACEOF
41144 cat confdefs.h >>conftest.$ac_ext
41145 cat >>conftest.$ac_ext <<_ACEOF
41146 /* end confdefs.h. */
41149 #include <stdlib.h>
41150 #include <string.h>
41154 my_strdup (char *str)
41160 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41161 strcpy (new_str, str);
41169 int main (int argc, char *argv[])
41171 int major, minor, micro;
41174 /* This hangs on some systems (?)
41175 system ("touch conf.sdltest");
41177 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41179 /* HP/UX 9 (%@#!) writes to sscanf strings */
41180 tmp_version = my_strdup("$min_sdl_version");
41181 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41182 printf("%s, bad version string\n", "$min_sdl_version");
41186 if (($sdl_major_version > major) ||
41187 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41188 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41194 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41195 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41196 printf("*** best to upgrade to the required version.\n");
41197 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41198 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41199 printf("*** config.cache before re-running configure\n");
41206 rm -f conftest$ac_exeext
41207 if { (ac_try="$ac_link"
41208 case "(($ac_try" in
41209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41210 *) ac_try_echo=$ac_try;;
41212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41213 (eval "$ac_link") 2>&5
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41217 { (case "(($ac_try" in
41218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41219 *) ac_try_echo=$ac_try;;
41221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41222 (eval "$ac_try") 2>&5
41224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41225 (exit $ac_status); }; }; then
41228 echo "$as_me: program exited with status $ac_status" >&5
41229 echo "$as_me: failed program was:" >&5
41230 sed 's/^/| /' conftest.$ac_ext >&5
41232 ( exit $ac_status )
41235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41239 CFLAGS="$ac_save_CFLAGS"
41240 CXXFLAGS="$ac_save_CXXFLAGS"
41241 LIBS="$ac_save_LIBS"
41244 if test "x$no_sdl" = x ; then
41245 { echo "$as_me:$LINENO: result: yes" >&5
41246 echo "${ECHO_T}yes" >&6; }
41248 EXTRALIBS_SDL="$SDL_LIBS"
41249 CFLAGS="$SDL_CFLAGS $CFLAGS"
41250 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41251 cat >>confdefs.h <<\_ACEOF
41252 #define wxUSE_LIBSDL 1
41257 { echo "$as_me:$LINENO: result: no" >&5
41258 echo "${ECHO_T}no" >&6; }
41259 if test "$SDL_CONFIG" = "no" ; then
41260 echo "*** The sdl-config script installed by SDL could not be found"
41261 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41262 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41263 echo "*** full path to sdl-config."
41265 if test -f conf.sdltest ; then
41268 echo "*** Could not run SDL test program, checking why..."
41269 CFLAGS="$CFLAGS $SDL_CFLAGS"
41270 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41271 LIBS="$LIBS $SDL_LIBS"
41272 cat >conftest.$ac_ext <<_ACEOF
41275 cat confdefs.h >>conftest.$ac_ext
41276 cat >>conftest.$ac_ext <<_ACEOF
41277 /* end confdefs.h. */
41282 int main(int argc, char *argv[])
41285 #define main K_and_R_C_main
41295 rm -f conftest.$ac_objext conftest$ac_exeext
41296 if { (ac_try="$ac_link"
41297 case "(($ac_try" in
41298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41299 *) ac_try_echo=$ac_try;;
41301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41302 (eval "$ac_link") 2>conftest.er1
41304 grep -v '^ *+' conftest.er1 >conftest.err
41306 cat conftest.err >&5
41307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308 (exit $ac_status); } && {
41309 test -z "$ac_c_werror_flag" ||
41310 test ! -s conftest.err
41311 } && test -s conftest$ac_exeext &&
41312 $as_test_x conftest$ac_exeext; then
41313 echo "*** The test program compiled, but did not run. This usually means"
41314 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41315 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41316 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41317 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41318 echo "*** is required on your system"
41320 echo "*** If you have an old version installed, it is best to remove it, although"
41321 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41323 echo "$as_me: failed program was:" >&5
41324 sed 's/^/| /' conftest.$ac_ext >&5
41326 echo "*** The test program failed to compile or link. See the file config.log for the"
41327 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41328 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41329 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41333 conftest$ac_exeext conftest.$ac_ext
41334 CFLAGS="$ac_save_CFLAGS"
41335 CXXFLAGS="$ac_save_CXXFLAGS"
41336 LIBS="$ac_save_LIBS"
41347 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41352 if test "$wxUSE_MGL" = 1; then
41353 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41354 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41360 if test "$wxUSE_SOUND" = "yes"; then
41361 cat >>confdefs.h <<\_ACEOF
41362 #define wxUSE_SOUND 1
41365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41368 if test "$WXGTK20" = 1; then
41371 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41372 if test -n "$ac_tool_prefix"; then
41373 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41374 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41377 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41378 echo $ECHO_N "(cached) $ECHO_C" >&6
41380 case $PKG_CONFIG in
41382 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41386 for as_dir in $PATH
41389 test -z "$as_dir" && as_dir=.
41390 for ac_exec_ext in '' $ac_executable_extensions; do
41391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41392 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41403 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41404 if test -n "$PKG_CONFIG"; then
41405 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41406 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41408 { echo "$as_me:$LINENO: result: no" >&5
41409 echo "${ECHO_T}no" >&6; }
41414 if test -z "$ac_cv_path_PKG_CONFIG"; then
41415 ac_pt_PKG_CONFIG=$PKG_CONFIG
41416 # Extract the first word of "pkg-config", so it can be a program name with args.
41417 set dummy pkg-config; ac_word=$2
41418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41420 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41421 echo $ECHO_N "(cached) $ECHO_C" >&6
41423 case $ac_pt_PKG_CONFIG in
41425 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41429 for as_dir in $PATH
41432 test -z "$as_dir" && as_dir=.
41433 for ac_exec_ext in '' $ac_executable_extensions; do
41434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41435 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41446 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41447 if test -n "$ac_pt_PKG_CONFIG"; then
41448 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41449 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41451 { echo "$as_me:$LINENO: result: no" >&5
41452 echo "${ECHO_T}no" >&6; }
41455 if test "x$ac_pt_PKG_CONFIG" = x; then
41458 case $cross_compiling:$ac_tool_warned in
41460 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41461 whose name does not start with the host triplet. If you think this
41462 configuration is useful to you, please write to autoconf@gnu.org." >&5
41463 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41464 whose name does not start with the host triplet. If you think this
41465 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41466 ac_tool_warned=yes ;;
41468 PKG_CONFIG=$ac_pt_PKG_CONFIG
41471 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41475 if test -n "$PKG_CONFIG"; then
41476 _pkg_min_version=0.9.0
41477 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41478 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41479 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41480 { echo "$as_me:$LINENO: result: yes" >&5
41481 echo "${ECHO_T}yes" >&6; }
41483 { echo "$as_me:$LINENO: result: no" >&5
41484 echo "${ECHO_T}no" >&6; }
41490 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41491 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41495 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41496 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41498 if test -n "$PKG_CONFIG"; then
41499 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41500 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41502 if test -n "$PKG_CONFIG" && \
41503 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41504 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507 (exit $ac_status); }; then
41508 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41516 if test -n "$PKG_CONFIG"; then
41517 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41518 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41520 if test -n "$PKG_CONFIG" && \
41521 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41522 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41525 (exit $ac_status); }; then
41526 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41537 if test $pkg_failed = yes; then
41539 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41540 _pkg_short_errors_supported=yes
41542 _pkg_short_errors_supported=no
41544 if test $_pkg_short_errors_supported = yes; then
41545 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41547 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41549 # Put the nasty error message in config.log where it belongs
41550 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41553 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41554 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41555 wxUSE_LIBGNOMEPRINT="no"
41558 elif test $pkg_failed = untried; then
41560 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41561 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41562 wxUSE_LIBGNOMEPRINT="no"
41566 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41567 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41568 { echo "$as_me:$LINENO: result: yes" >&5
41569 echo "${ECHO_T}yes" >&6; }
41571 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41572 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41573 cat >>confdefs.h <<\_ACEOF
41574 #define wxUSE_LIBGNOMEPRINT 1
41582 if test "$wxUSE_MIMETYPE" = "yes" ; then
41583 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41587 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41588 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41590 if test -n "$PKG_CONFIG"; then
41591 if test -n "$GNOMEVFS_CFLAGS"; then
41592 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41594 if test -n "$PKG_CONFIG" && \
41595 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41596 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41599 (exit $ac_status); }; then
41600 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41608 if test -n "$PKG_CONFIG"; then
41609 if test -n "$GNOMEVFS_LIBS"; then
41610 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41612 if test -n "$PKG_CONFIG" && \
41613 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41614 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41617 (exit $ac_status); }; then
41618 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41629 if test $pkg_failed = yes; then
41631 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41632 _pkg_short_errors_supported=yes
41634 _pkg_short_errors_supported=no
41636 if test $_pkg_short_errors_supported = yes; then
41637 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41639 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41641 # Put the nasty error message in config.log where it belongs
41642 echo "$GNOMEVFS_PKG_ERRORS" >&5
41645 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41646 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41647 wxUSE_LIBGNOMEVFS="no"
41650 elif test $pkg_failed = untried; then
41652 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41653 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41654 wxUSE_LIBGNOMEVFS="no"
41658 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41659 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41660 { echo "$as_me:$LINENO: result: yes" >&5
41661 echo "${ECHO_T}yes" >&6; }
41663 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41664 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41665 cat >>confdefs.h <<\_ACEOF
41666 #define wxUSE_LIBGNOMEVFS 1
41674 if test "$wxUSE_LIBHILDON" = "yes" ; then
41677 { echo "$as_me:$LINENO: checking for HILDON" >&5
41678 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41680 if test -n "$PKG_CONFIG"; then
41681 if test -n "$HILDON_CFLAGS"; then
41682 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41684 if test -n "$PKG_CONFIG" && \
41685 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41686 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); }; then
41690 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41698 if test -n "$PKG_CONFIG"; then
41699 if test -n "$HILDON_LIBS"; then
41700 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41702 if test -n "$PKG_CONFIG" && \
41703 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41704 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); }; then
41708 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41719 if test $pkg_failed = yes; then
41721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41722 _pkg_short_errors_supported=yes
41724 _pkg_short_errors_supported=no
41726 if test $_pkg_short_errors_supported = yes; then
41727 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41729 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41731 # Put the nasty error message in config.log where it belongs
41732 echo "$HILDON_PKG_ERRORS" >&5
41735 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41736 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41737 wxUSE_LIBHILDON="no"
41740 elif test $pkg_failed = untried; then
41742 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41743 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41744 wxUSE_LIBHILDON="no"
41748 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41749 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41750 { echo "$as_me:$LINENO: result: yes" >&5
41751 echo "${ECHO_T}yes" >&6; }
41753 EXTRALIBS_HILDON="$HILDON_LIBS"
41754 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41755 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41756 cat >>confdefs.h <<\_ACEOF
41757 #define wxUSE_LIBHILDON 1
41765 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41766 cat >>confdefs.h <<\_ACEOF
41767 #define wxUSE_CMDLINE_PARSER 1
41772 if test "$wxUSE_STOPWATCH" = "yes"; then
41773 cat >>confdefs.h <<\_ACEOF
41774 #define wxUSE_STOPWATCH 1
41779 if test "$wxUSE_DATETIME" = "yes"; then
41780 cat >>confdefs.h <<\_ACEOF
41781 #define wxUSE_DATETIME 1
41786 if test "$wxUSE_FILE" = "yes"; then
41787 cat >>confdefs.h <<\_ACEOF
41788 #define wxUSE_FILE 1
41793 if test "$wxUSE_FFILE" = "yes"; then
41794 cat >>confdefs.h <<\_ACEOF
41795 #define wxUSE_FFILE 1
41800 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41801 if test "$wxUSE_STREAMS" != yes; then
41802 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41803 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41804 wxUSE_ARCHIVE_STREAMS=no
41806 cat >>confdefs.h <<\_ACEOF
41807 #define wxUSE_ARCHIVE_STREAMS 1
41813 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41814 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41815 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41816 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41817 elif test "$wxUSE_ZLIB" = "no"; then
41818 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41819 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41821 cat >>confdefs.h <<\_ACEOF
41822 #define wxUSE_ZIPSTREAM 1
41828 if test "$wxUSE_TARSTREAM" = "yes"; then
41829 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41830 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41831 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41833 cat >>confdefs.h <<\_ACEOF
41834 #define wxUSE_TARSTREAM 1
41840 if test "$wxUSE_FILESYSTEM" = "yes"; then
41841 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41842 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41843 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41844 wxUSE_FILESYSTEM=no
41846 cat >>confdefs.h <<\_ACEOF
41847 #define wxUSE_FILESYSTEM 1
41853 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41854 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41855 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41856 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41858 cat >>confdefs.h <<\_ACEOF
41859 #define wxUSE_FS_ARCHIVE 1
41865 if test "$wxUSE_FS_ZIP" = "yes"; then
41866 if test "$wxUSE_FS_ARCHIVE" != yes; then
41867 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41868 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41870 cat >>confdefs.h <<\_ACEOF
41871 #define wxUSE_FS_ZIP 1
41877 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41878 if test "$USE_UNIX" != 1; then
41879 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41880 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41881 wxUSE_ON_FATAL_EXCEPTION=no
41883 cat >>confdefs.h <<\_ACEOF
41884 #define wxUSE_ON_FATAL_EXCEPTION 1
41890 if test "$wxUSE_STACKWALKER" = "yes"; then
41891 cat >>confdefs.h <<\_ACEOF
41892 #define wxUSE_STACKWALKER 1
41897 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41898 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41899 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41900 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41901 wxUSE_DEBUGREPORT=no
41903 cat >>confdefs.h <<\_ACEOF
41904 #define wxUSE_DEBUGREPORT 1
41907 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41913 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41914 cat >>confdefs.h <<\_ACEOF
41915 #define wxUSE_SNGLINST_CHECKER 1
41920 if test "$wxUSE_BUSYINFO" = "yes"; then
41921 cat >>confdefs.h <<\_ACEOF
41922 #define wxUSE_BUSYINFO 1
41927 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41928 cat >>confdefs.h <<\_ACEOF
41929 #define wxUSE_STD_IOSTREAM 1
41934 if test "$wxUSE_STD_STRING" = "yes"; then
41935 cat >>confdefs.h <<\_ACEOF
41936 #define wxUSE_STD_STRING 1
41941 if test "$wxUSE_STDPATHS" = "yes"; then
41942 cat >>confdefs.h <<\_ACEOF
41943 #define wxUSE_STDPATHS 1
41948 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41949 cat >>confdefs.h <<\_ACEOF
41950 #define wxUSE_TEXTBUFFER 1
41955 if test "$wxUSE_TEXTFILE" = "yes"; then
41956 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41957 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41958 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41960 cat >>confdefs.h <<\_ACEOF
41961 #define wxUSE_TEXTFILE 1
41967 if test "$wxUSE_CONFIG" = "yes" ; then
41968 if test "$wxUSE_TEXTFILE" != "yes"; then
41969 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41970 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41972 cat >>confdefs.h <<\_ACEOF
41973 #define wxUSE_CONFIG 1
41976 cat >>confdefs.h <<\_ACEOF
41977 #define wxUSE_CONFIG_NATIVE 1
41980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41984 if test "$wxUSE_INTL" = "yes" ; then
41985 if test "$wxUSE_FILE" != "yes"; then
41986 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41987 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41989 cat >>confdefs.h <<\_ACEOF
41990 #define wxUSE_INTL 1
41993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41994 GUIDIST="$GUIDIST INTL_DIST"
41998 if test "$wxUSE_LOG" = "yes"; then
41999 cat >>confdefs.h <<\_ACEOF
42000 #define wxUSE_LOG 1
42004 if test "$wxUSE_LOGGUI" = "yes"; then
42005 cat >>confdefs.h <<\_ACEOF
42006 #define wxUSE_LOGGUI 1
42011 if test "$wxUSE_LOGWINDOW" = "yes"; then
42012 cat >>confdefs.h <<\_ACEOF
42013 #define wxUSE_LOGWINDOW 1
42018 if test "$wxUSE_LOGDIALOG" = "yes"; then
42019 cat >>confdefs.h <<\_ACEOF
42020 #define wxUSE_LOG_DIALOG 1
42025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42028 if test "$wxUSE_LONGLONG" = "yes"; then
42029 cat >>confdefs.h <<\_ACEOF
42030 #define wxUSE_LONGLONG 1
42035 if test "$wxUSE_GEOMETRY" = "yes"; then
42036 cat >>confdefs.h <<\_ACEOF
42037 #define wxUSE_GEOMETRY 1
42042 if test "$wxUSE_STREAMS" = "yes" ; then
42043 cat >>confdefs.h <<\_ACEOF
42044 #define wxUSE_STREAMS 1
42049 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42050 cat >>confdefs.h <<\_ACEOF
42051 #define wxUSE_PRINTF_POS_PARAMS 1
42058 if test "$wxUSE_DATETIME" = "yes"; then
42060 for ac_func in strptime
42062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42065 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42066 echo $ECHO_N "(cached) $ECHO_C" >&6
42068 cat >conftest.$ac_ext <<_ACEOF
42071 cat confdefs.h >>conftest.$ac_ext
42072 cat >>conftest.$ac_ext <<_ACEOF
42073 /* end confdefs.h. */
42074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42076 #define $ac_func innocuous_$ac_func
42078 /* System header to define __stub macros and hopefully few prototypes,
42079 which can conflict with char $ac_func (); below.
42080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42081 <limits.h> exists even on freestanding compilers. */
42084 # include <limits.h>
42086 # include <assert.h>
42091 /* Override any GCC internal prototype to avoid an error.
42092 Use char because int might match the return type of a GCC
42093 builtin and then its argument prototype would still apply. */
42098 /* The GNU C library defines this for functions which it implements
42099 to always fail with ENOSYS. Some functions are actually named
42100 something starting with __ and the normal name is an alias. */
42101 #if defined __stub_$ac_func || defined __stub___$ac_func
42108 return $ac_func ();
42113 rm -f conftest.$ac_objext conftest$ac_exeext
42114 if { (ac_try="$ac_link"
42115 case "(($ac_try" in
42116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42117 *) ac_try_echo=$ac_try;;
42119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42120 (eval "$ac_link") 2>conftest.er1
42122 grep -v '^ *+' conftest.er1 >conftest.err
42124 cat conftest.err >&5
42125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126 (exit $ac_status); } && {
42127 test -z "$ac_c_werror_flag" ||
42128 test ! -s conftest.err
42129 } && test -s conftest$ac_exeext &&
42130 $as_test_x conftest$ac_exeext; then
42131 eval "$as_ac_var=yes"
42133 echo "$as_me: failed program was:" >&5
42134 sed 's/^/| /' conftest.$ac_ext >&5
42136 eval "$as_ac_var=no"
42139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42140 conftest$ac_exeext conftest.$ac_ext
42142 ac_res=`eval echo '${'$as_ac_var'}'`
42143 { echo "$as_me:$LINENO: result: $ac_res" >&5
42144 echo "${ECHO_T}$ac_res" >&6; }
42145 if test `eval echo '${'$as_ac_var'}'` = yes; then
42146 cat >>confdefs.h <<_ACEOF
42147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42153 if test "$ac_cv_func_strptime" = "yes"; then
42154 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42155 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42156 if test "${wx_cv_func_strptime_decl+set}" = set; then
42157 echo $ECHO_N "(cached) $ECHO_C" >&6
42161 ac_cpp='$CXXCPP $CPPFLAGS'
42162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42166 cat >conftest.$ac_ext <<_ACEOF
42169 cat confdefs.h >>conftest.$ac_ext
42170 cat >>conftest.$ac_ext <<_ACEOF
42171 /* end confdefs.h. */
42180 strptime("foo", "bar", &t);
42186 rm -f conftest.$ac_objext
42187 if { (ac_try="$ac_compile"
42188 case "(($ac_try" in
42189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42190 *) ac_try_echo=$ac_try;;
42192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42193 (eval "$ac_compile") 2>conftest.er1
42195 grep -v '^ *+' conftest.er1 >conftest.err
42197 cat conftest.err >&5
42198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42199 (exit $ac_status); } && {
42200 test -z "$ac_cxx_werror_flag" ||
42201 test ! -s conftest.err
42202 } && test -s conftest.$ac_objext; then
42203 wx_cv_func_strptime_decl=yes
42205 echo "$as_me: failed program was:" >&5
42206 sed 's/^/| /' conftest.$ac_ext >&5
42208 wx_cv_func_strptime_decl=no
42212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42214 ac_cpp='$CPP $CPPFLAGS'
42215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42222 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42223 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42225 if test "$wx_cv_func_strptime_decl" = "yes"; then
42226 cat >>confdefs.h <<\_ACEOF
42227 #define HAVE_STRPTIME_DECL 1
42232 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42233 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42234 if test "${wx_cv_var_timezone+set}" = set; then
42235 echo $ECHO_N "(cached) $ECHO_C" >&6
42239 ac_cpp='$CXXCPP $CPPFLAGS'
42240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42244 cat >conftest.$ac_ext <<_ACEOF
42247 cat confdefs.h >>conftest.$ac_ext
42248 cat >>conftest.$ac_ext <<_ACEOF
42249 /* end confdefs.h. */
42264 rm -f conftest.$ac_objext
42265 if { (ac_try="$ac_compile"
42266 case "(($ac_try" in
42267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42268 *) ac_try_echo=$ac_try;;
42270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42271 (eval "$ac_compile") 2>conftest.er1
42273 grep -v '^ *+' conftest.er1 >conftest.err
42275 cat conftest.err >&5
42276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42277 (exit $ac_status); } && {
42278 test -z "$ac_cxx_werror_flag" ||
42279 test ! -s conftest.err
42280 } && test -s conftest.$ac_objext; then
42282 wx_cv_var_timezone=timezone
42285 echo "$as_me: failed program was:" >&5
42286 sed 's/^/| /' conftest.$ac_ext >&5
42289 cat >conftest.$ac_ext <<_ACEOF
42292 cat confdefs.h >>conftest.$ac_ext
42293 cat >>conftest.$ac_ext <<_ACEOF
42294 /* end confdefs.h. */
42309 rm -f conftest.$ac_objext
42310 if { (ac_try="$ac_compile"
42311 case "(($ac_try" in
42312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42313 *) ac_try_echo=$ac_try;;
42315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42316 (eval "$ac_compile") 2>conftest.er1
42318 grep -v '^ *+' conftest.er1 >conftest.err
42320 cat conftest.err >&5
42321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42322 (exit $ac_status); } && {
42323 test -z "$ac_cxx_werror_flag" ||
42324 test ! -s conftest.err
42325 } && test -s conftest.$ac_objext; then
42327 wx_cv_var_timezone=_timezone
42330 echo "$as_me: failed program was:" >&5
42331 sed 's/^/| /' conftest.$ac_ext >&5
42334 cat >conftest.$ac_ext <<_ACEOF
42337 cat confdefs.h >>conftest.$ac_ext
42338 cat >>conftest.$ac_ext <<_ACEOF
42339 /* end confdefs.h. */
42354 rm -f conftest.$ac_objext
42355 if { (ac_try="$ac_compile"
42356 case "(($ac_try" in
42357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42358 *) ac_try_echo=$ac_try;;
42360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42361 (eval "$ac_compile") 2>conftest.er1
42363 grep -v '^ *+' conftest.er1 >conftest.err
42365 cat conftest.err >&5
42366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42367 (exit $ac_status); } && {
42368 test -z "$ac_cxx_werror_flag" ||
42369 test ! -s conftest.err
42370 } && test -s conftest.$ac_objext; then
42372 wx_cv_var_timezone=__timezone
42375 echo "$as_me: failed program was:" >&5
42376 sed 's/^/| /' conftest.$ac_ext >&5
42379 if test "$USE_DOS" = 0 ; then
42380 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42381 echo "$as_me: WARNING: no timezone variable" >&2;}
42387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42399 ac_cpp='$CPP $CPPFLAGS'
42400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42407 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42408 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42410 if test "x$wx_cv_var_timezone" != x ; then
42411 cat >>confdefs.h <<_ACEOF
42412 #define WX_TIMEZONE $wx_cv_var_timezone
42418 for ac_func in localtime
42420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42424 echo $ECHO_N "(cached) $ECHO_C" >&6
42426 cat >conftest.$ac_ext <<_ACEOF
42429 cat confdefs.h >>conftest.$ac_ext
42430 cat >>conftest.$ac_ext <<_ACEOF
42431 /* end confdefs.h. */
42432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42434 #define $ac_func innocuous_$ac_func
42436 /* System header to define __stub macros and hopefully few prototypes,
42437 which can conflict with char $ac_func (); below.
42438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42439 <limits.h> exists even on freestanding compilers. */
42442 # include <limits.h>
42444 # include <assert.h>
42449 /* Override any GCC internal prototype to avoid an error.
42450 Use char because int might match the return type of a GCC
42451 builtin and then its argument prototype would still apply. */
42456 /* The GNU C library defines this for functions which it implements
42457 to always fail with ENOSYS. Some functions are actually named
42458 something starting with __ and the normal name is an alias. */
42459 #if defined __stub_$ac_func || defined __stub___$ac_func
42466 return $ac_func ();
42471 rm -f conftest.$ac_objext conftest$ac_exeext
42472 if { (ac_try="$ac_link"
42473 case "(($ac_try" in
42474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42475 *) ac_try_echo=$ac_try;;
42477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42478 (eval "$ac_link") 2>conftest.er1
42480 grep -v '^ *+' conftest.er1 >conftest.err
42482 cat conftest.err >&5
42483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42484 (exit $ac_status); } && {
42485 test -z "$ac_c_werror_flag" ||
42486 test ! -s conftest.err
42487 } && test -s conftest$ac_exeext &&
42488 $as_test_x conftest$ac_exeext; then
42489 eval "$as_ac_var=yes"
42491 echo "$as_me: failed program was:" >&5
42492 sed 's/^/| /' conftest.$ac_ext >&5
42494 eval "$as_ac_var=no"
42497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42498 conftest$ac_exeext conftest.$ac_ext
42500 ac_res=`eval echo '${'$as_ac_var'}'`
42501 { echo "$as_me:$LINENO: result: $ac_res" >&5
42502 echo "${ECHO_T}$ac_res" >&6; }
42503 if test `eval echo '${'$as_ac_var'}'` = yes; then
42504 cat >>confdefs.h <<_ACEOF
42505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42512 if test "$ac_cv_func_localtime" = "yes"; then
42513 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42514 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42515 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42516 echo $ECHO_N "(cached) $ECHO_C" >&6
42519 cat >conftest.$ac_ext <<_ACEOF
42522 cat confdefs.h >>conftest.$ac_ext
42523 cat >>conftest.$ac_ext <<_ACEOF
42524 /* end confdefs.h. */
42539 rm -f conftest.$ac_objext
42540 if { (ac_try="$ac_compile"
42541 case "(($ac_try" in
42542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42543 *) ac_try_echo=$ac_try;;
42545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42546 (eval "$ac_compile") 2>conftest.er1
42548 grep -v '^ *+' conftest.er1 >conftest.err
42550 cat conftest.err >&5
42551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42552 (exit $ac_status); } && {
42553 test -z "$ac_c_werror_flag" ||
42554 test ! -s conftest.err
42555 } && test -s conftest.$ac_objext; then
42557 wx_cv_struct_tm_has_gmtoff=yes
42560 echo "$as_me: failed program was:" >&5
42561 sed 's/^/| /' conftest.$ac_ext >&5
42563 wx_cv_struct_tm_has_gmtoff=no
42567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42570 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42571 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42574 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42575 cat >>confdefs.h <<\_ACEOF
42576 #define WX_GMTOFF_IN_TM 1
42583 for ac_func in gettimeofday ftime
42585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42589 echo $ECHO_N "(cached) $ECHO_C" >&6
42591 cat >conftest.$ac_ext <<_ACEOF
42594 cat confdefs.h >>conftest.$ac_ext
42595 cat >>conftest.$ac_ext <<_ACEOF
42596 /* end confdefs.h. */
42597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42599 #define $ac_func innocuous_$ac_func
42601 /* System header to define __stub macros and hopefully few prototypes,
42602 which can conflict with char $ac_func (); below.
42603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42604 <limits.h> exists even on freestanding compilers. */
42607 # include <limits.h>
42609 # include <assert.h>
42614 /* Override any GCC internal prototype to avoid an error.
42615 Use char because int might match the return type of a GCC
42616 builtin and then its argument prototype would still apply. */
42621 /* The GNU C library defines this for functions which it implements
42622 to always fail with ENOSYS. Some functions are actually named
42623 something starting with __ and the normal name is an alias. */
42624 #if defined __stub_$ac_func || defined __stub___$ac_func
42631 return $ac_func ();
42636 rm -f conftest.$ac_objext conftest$ac_exeext
42637 if { (ac_try="$ac_link"
42638 case "(($ac_try" in
42639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42640 *) ac_try_echo=$ac_try;;
42642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42643 (eval "$ac_link") 2>conftest.er1
42645 grep -v '^ *+' conftest.er1 >conftest.err
42647 cat conftest.err >&5
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); } && {
42650 test -z "$ac_c_werror_flag" ||
42651 test ! -s conftest.err
42652 } && test -s conftest$ac_exeext &&
42653 $as_test_x conftest$ac_exeext; then
42654 eval "$as_ac_var=yes"
42656 echo "$as_me: failed program was:" >&5
42657 sed 's/^/| /' conftest.$ac_ext >&5
42659 eval "$as_ac_var=no"
42662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42663 conftest$ac_exeext conftest.$ac_ext
42665 ac_res=`eval echo '${'$as_ac_var'}'`
42666 { echo "$as_me:$LINENO: result: $ac_res" >&5
42667 echo "${ECHO_T}$ac_res" >&6; }
42668 if test `eval echo '${'$as_ac_var'}'` = yes; then
42669 cat >>confdefs.h <<_ACEOF
42670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42677 if test "$ac_cv_func_gettimeofday" = "yes"; then
42678 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42679 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42680 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42681 echo $ECHO_N "(cached) $ECHO_C" >&6
42684 cat >conftest.$ac_ext <<_ACEOF
42687 cat confdefs.h >>conftest.$ac_ext
42688 cat >>conftest.$ac_ext <<_ACEOF
42689 /* end confdefs.h. */
42691 #include <sys/time.h>
42692 #include <unistd.h>
42699 gettimeofday(&tv, NULL);
42705 rm -f conftest.$ac_objext
42706 if { (ac_try="$ac_compile"
42707 case "(($ac_try" in
42708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42709 *) ac_try_echo=$ac_try;;
42711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42712 (eval "$ac_compile") 2>conftest.er1
42714 grep -v '^ *+' conftest.er1 >conftest.err
42716 cat conftest.err >&5
42717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42718 (exit $ac_status); } && {
42719 test -z "$ac_c_werror_flag" ||
42720 test ! -s conftest.err
42721 } && test -s conftest.$ac_objext; then
42722 wx_cv_func_gettimeofday_has_2_args=yes
42724 echo "$as_me: failed program was:" >&5
42725 sed 's/^/| /' conftest.$ac_ext >&5
42727 cat >conftest.$ac_ext <<_ACEOF
42730 cat confdefs.h >>conftest.$ac_ext
42731 cat >>conftest.$ac_ext <<_ACEOF
42732 /* end confdefs.h. */
42734 #include <sys/time.h>
42735 #include <unistd.h>
42748 rm -f conftest.$ac_objext
42749 if { (ac_try="$ac_compile"
42750 case "(($ac_try" in
42751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42752 *) ac_try_echo=$ac_try;;
42754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42755 (eval "$ac_compile") 2>conftest.er1
42757 grep -v '^ *+' conftest.er1 >conftest.err
42759 cat conftest.err >&5
42760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42761 (exit $ac_status); } && {
42762 test -z "$ac_c_werror_flag" ||
42763 test ! -s conftest.err
42764 } && test -s conftest.$ac_objext; then
42765 wx_cv_func_gettimeofday_has_2_args=no
42767 echo "$as_me: failed program was:" >&5
42768 sed 's/^/| /' conftest.$ac_ext >&5
42771 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42772 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42773 wx_cv_func_gettimeofday_has_2_args=unknown
42778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42785 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42786 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42788 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42789 cat >>confdefs.h <<\_ACEOF
42790 #define WX_GETTIMEOFDAY_NO_TZ 1
42796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42800 if test "$wxUSE_SOCKETS" = "yes"; then
42801 if test "$wxUSE_MGL" = "1"; then
42802 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42803 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42808 if test "$wxUSE_SOCKETS" = "yes"; then
42809 if test "$TOOLKIT" != "MSW"; then
42810 { echo "$as_me:$LINENO: checking for socket" >&5
42811 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42812 if test "${ac_cv_func_socket+set}" = set; then
42813 echo $ECHO_N "(cached) $ECHO_C" >&6
42815 cat >conftest.$ac_ext <<_ACEOF
42818 cat confdefs.h >>conftest.$ac_ext
42819 cat >>conftest.$ac_ext <<_ACEOF
42820 /* end confdefs.h. */
42821 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42823 #define socket innocuous_socket
42825 /* System header to define __stub macros and hopefully few prototypes,
42826 which can conflict with char socket (); below.
42827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42828 <limits.h> exists even on freestanding compilers. */
42831 # include <limits.h>
42833 # include <assert.h>
42838 /* Override any GCC internal prototype to avoid an error.
42839 Use char because int might match the return type of a GCC
42840 builtin and then its argument prototype would still apply. */
42845 /* The GNU C library defines this for functions which it implements
42846 to always fail with ENOSYS. Some functions are actually named
42847 something starting with __ and the normal name is an alias. */
42848 #if defined __stub_socket || defined __stub___socket
42860 rm -f conftest.$ac_objext conftest$ac_exeext
42861 if { (ac_try="$ac_link"
42862 case "(($ac_try" in
42863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42864 *) ac_try_echo=$ac_try;;
42866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42867 (eval "$ac_link") 2>conftest.er1
42869 grep -v '^ *+' conftest.er1 >conftest.err
42871 cat conftest.err >&5
42872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42873 (exit $ac_status); } && {
42874 test -z "$ac_c_werror_flag" ||
42875 test ! -s conftest.err
42876 } && test -s conftest$ac_exeext &&
42877 $as_test_x conftest$ac_exeext; then
42878 ac_cv_func_socket=yes
42880 echo "$as_me: failed program was:" >&5
42881 sed 's/^/| /' conftest.$ac_ext >&5
42883 ac_cv_func_socket=no
42886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42887 conftest$ac_exeext conftest.$ac_ext
42889 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42890 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42891 if test $ac_cv_func_socket = yes; then
42895 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42896 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42897 if test "${ac_cv_lib_socket_socket+set}" = set; then
42898 echo $ECHO_N "(cached) $ECHO_C" >&6
42900 ac_check_lib_save_LIBS=$LIBS
42901 LIBS="-lsocket $LIBS"
42902 cat >conftest.$ac_ext <<_ACEOF
42905 cat confdefs.h >>conftest.$ac_ext
42906 cat >>conftest.$ac_ext <<_ACEOF
42907 /* end confdefs.h. */
42909 /* Override any GCC internal prototype to avoid an error.
42910 Use char because int might match the return type of a GCC
42911 builtin and then its argument prototype would still apply. */
42924 rm -f conftest.$ac_objext conftest$ac_exeext
42925 if { (ac_try="$ac_link"
42926 case "(($ac_try" in
42927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42928 *) ac_try_echo=$ac_try;;
42930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42931 (eval "$ac_link") 2>conftest.er1
42933 grep -v '^ *+' conftest.er1 >conftest.err
42935 cat conftest.err >&5
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); } && {
42938 test -z "$ac_c_werror_flag" ||
42939 test ! -s conftest.err
42940 } && test -s conftest$ac_exeext &&
42941 $as_test_x conftest$ac_exeext; then
42942 ac_cv_lib_socket_socket=yes
42944 echo "$as_me: failed program was:" >&5
42945 sed 's/^/| /' conftest.$ac_ext >&5
42947 ac_cv_lib_socket_socket=no
42950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42951 conftest$ac_exeext conftest.$ac_ext
42952 LIBS=$ac_check_lib_save_LIBS
42954 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42955 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42956 if test $ac_cv_lib_socket_socket = yes; then
42957 if test "$INET_LINK" != " -lsocket"; then
42958 INET_LINK="$INET_LINK -lsocket"
42962 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42963 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42976 if test "$wxUSE_SOCKETS" = "yes" ; then
42977 if test "$TOOLKIT" != "MSW"; then
42978 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42979 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42980 if test "${wx_cv_type_getsockname3+set}" = set; then
42981 echo $ECHO_N "(cached) $ECHO_C" >&6
42985 ac_cpp='$CXXCPP $CPPFLAGS'
42986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42990 cat >conftest.$ac_ext <<_ACEOF
42993 cat confdefs.h >>conftest.$ac_ext
42994 cat >>conftest.$ac_ext <<_ACEOF
42995 /* end confdefs.h. */
42997 #include <sys/types.h>
42998 #include <sys/socket.h>
43005 getsockname(0, 0, &len);
43011 rm -f conftest.$ac_objext
43012 if { (ac_try="$ac_compile"
43013 case "(($ac_try" in
43014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43015 *) ac_try_echo=$ac_try;;
43017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43018 (eval "$ac_compile") 2>conftest.er1
43020 grep -v '^ *+' conftest.er1 >conftest.err
43022 cat conftest.err >&5
43023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024 (exit $ac_status); } && {
43025 test -z "$ac_cxx_werror_flag" ||
43026 test ! -s conftest.err
43027 } && test -s conftest.$ac_objext; then
43028 wx_cv_type_getsockname3=socklen_t
43030 echo "$as_me: failed program was:" >&5
43031 sed 's/^/| /' conftest.$ac_ext >&5
43034 CFLAGS_OLD="$CFLAGS"
43035 if test "$GCC" = yes ; then
43036 CFLAGS="-Werror $CFLAGS"
43039 cat >conftest.$ac_ext <<_ACEOF
43042 cat confdefs.h >>conftest.$ac_ext
43043 cat >>conftest.$ac_ext <<_ACEOF
43044 /* end confdefs.h. */
43046 #include <sys/types.h>
43047 #include <sys/socket.h>
43054 getsockname(0, 0, &len);
43060 rm -f conftest.$ac_objext
43061 if { (ac_try="$ac_compile"
43062 case "(($ac_try" in
43063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43064 *) ac_try_echo=$ac_try;;
43066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43067 (eval "$ac_compile") 2>conftest.er1
43069 grep -v '^ *+' conftest.er1 >conftest.err
43071 cat conftest.err >&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); } && {
43074 test -z "$ac_cxx_werror_flag" ||
43075 test ! -s conftest.err
43076 } && test -s conftest.$ac_objext; then
43077 wx_cv_type_getsockname3=size_t
43079 echo "$as_me: failed program was:" >&5
43080 sed 's/^/| /' conftest.$ac_ext >&5
43082 cat >conftest.$ac_ext <<_ACEOF
43085 cat confdefs.h >>conftest.$ac_ext
43086 cat >>conftest.$ac_ext <<_ACEOF
43087 /* end confdefs.h. */
43089 #include <sys/types.h>
43090 #include <sys/socket.h>
43097 getsockname(0, 0, &len);
43103 rm -f conftest.$ac_objext
43104 if { (ac_try="$ac_compile"
43105 case "(($ac_try" in
43106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43107 *) ac_try_echo=$ac_try;;
43109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43110 (eval "$ac_compile") 2>conftest.er1
43112 grep -v '^ *+' conftest.er1 >conftest.err
43114 cat conftest.err >&5
43115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43116 (exit $ac_status); } && {
43117 test -z "$ac_cxx_werror_flag" ||
43118 test ! -s conftest.err
43119 } && test -s conftest.$ac_objext; then
43120 wx_cv_type_getsockname3=int
43122 echo "$as_me: failed program was:" >&5
43123 sed 's/^/| /' conftest.$ac_ext >&5
43125 wx_cv_type_getsockname3=unknown
43129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43135 CFLAGS="$CFLAGS_OLD"
43140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43142 ac_cpp='$CPP $CPPFLAGS'
43143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43149 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43150 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43152 if test "$wx_cv_type_getsockname3" = "unknown"; then
43154 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43155 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43157 cat >>confdefs.h <<_ACEOF
43158 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43162 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43163 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43164 if test "${wx_cv_type_getsockopt5+set}" = set; then
43165 echo $ECHO_N "(cached) $ECHO_C" >&6
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43174 cat >conftest.$ac_ext <<_ACEOF
43177 cat confdefs.h >>conftest.$ac_ext
43178 cat >>conftest.$ac_ext <<_ACEOF
43179 /* end confdefs.h. */
43181 #include <sys/types.h>
43182 #include <sys/socket.h>
43189 getsockopt(0, 0, 0, 0, &len);
43195 rm -f conftest.$ac_objext
43196 if { (ac_try="$ac_compile"
43197 case "(($ac_try" in
43198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43199 *) ac_try_echo=$ac_try;;
43201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43202 (eval "$ac_compile") 2>conftest.er1
43204 grep -v '^ *+' conftest.er1 >conftest.err
43206 cat conftest.err >&5
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); } && {
43209 test -z "$ac_cxx_werror_flag" ||
43210 test ! -s conftest.err
43211 } && test -s conftest.$ac_objext; then
43212 wx_cv_type_getsockopt5=socklen_t
43214 echo "$as_me: failed program was:" >&5
43215 sed 's/^/| /' conftest.$ac_ext >&5
43218 cat >conftest.$ac_ext <<_ACEOF
43221 cat confdefs.h >>conftest.$ac_ext
43222 cat >>conftest.$ac_ext <<_ACEOF
43223 /* end confdefs.h. */
43225 #include <sys/types.h>
43226 #include <sys/socket.h>
43233 getsockopt(0, 0, 0, 0, &len);
43239 rm -f conftest.$ac_objext
43240 if { (ac_try="$ac_compile"
43241 case "(($ac_try" in
43242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43243 *) ac_try_echo=$ac_try;;
43245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43246 (eval "$ac_compile") 2>conftest.er1
43248 grep -v '^ *+' conftest.er1 >conftest.err
43250 cat conftest.err >&5
43251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43252 (exit $ac_status); } && {
43253 test -z "$ac_cxx_werror_flag" ||
43254 test ! -s conftest.err
43255 } && test -s conftest.$ac_objext; then
43256 wx_cv_type_getsockopt5=size_t
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.$ac_ext >&5
43261 cat >conftest.$ac_ext <<_ACEOF
43264 cat confdefs.h >>conftest.$ac_ext
43265 cat >>conftest.$ac_ext <<_ACEOF
43266 /* end confdefs.h. */
43268 #include <sys/types.h>
43269 #include <sys/socket.h>
43276 getsockopt(0, 0, 0, 0, &len);
43282 rm -f conftest.$ac_objext
43283 if { (ac_try="$ac_compile"
43284 case "(($ac_try" in
43285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43286 *) ac_try_echo=$ac_try;;
43288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43289 (eval "$ac_compile") 2>conftest.er1
43291 grep -v '^ *+' conftest.er1 >conftest.err
43293 cat conftest.err >&5
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); } && {
43296 test -z "$ac_cxx_werror_flag" ||
43297 test ! -s conftest.err
43298 } && test -s conftest.$ac_objext; then
43299 wx_cv_type_getsockopt5=int
43301 echo "$as_me: failed program was:" >&5
43302 sed 's/^/| /' conftest.$ac_ext >&5
43304 wx_cv_type_getsockopt5=unknown
43308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43319 ac_cpp='$CPP $CPPFLAGS'
43320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43326 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43327 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43329 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43331 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43332 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43334 cat >>confdefs.h <<_ACEOF
43335 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43342 if test "$wxUSE_SOCKETS" = "yes" ; then
43343 cat >>confdefs.h <<\_ACEOF
43344 #define wxUSE_SOCKETS 1
43347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43350 if test "$wxUSE_PROTOCOL" = "yes"; then
43351 if test "$wxUSE_SOCKETS" != "yes"; then
43352 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43353 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43358 if test "$wxUSE_PROTOCOL" = "yes"; then
43359 cat >>confdefs.h <<\_ACEOF
43360 #define wxUSE_PROTOCOL 1
43364 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43365 cat >>confdefs.h <<\_ACEOF
43366 #define wxUSE_PROTOCOL_HTTP 1
43370 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43371 cat >>confdefs.h <<\_ACEOF
43372 #define wxUSE_PROTOCOL_FTP 1
43376 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43377 cat >>confdefs.h <<\_ACEOF
43378 #define wxUSE_PROTOCOL_FILE 1
43383 if test "$wxUSE_FS_INET" = "yes"; then
43384 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43385 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43390 if test "$wxUSE_URL" = "yes"; then
43391 if test "$wxUSE_PROTOCOL" != "yes"; then
43392 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43393 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43396 if test "$wxUSE_URL" = "yes"; then
43397 cat >>confdefs.h <<\_ACEOF
43398 #define wxUSE_URL 1
43404 if test "$wxUSE_VARIANT" = "yes"; then
43405 cat >>confdefs.h <<\_ACEOF
43406 #define wxUSE_VARIANT 1
43411 if test "$wxUSE_FS_INET" = "yes"; then
43412 cat >>confdefs.h <<\_ACEOF
43413 #define wxUSE_FS_INET 1
43419 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43422 if test "$TOOLKIT" = "MSW"; then
43425 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43426 if test "$USE_DARWIN" = 1; then
43427 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43428 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43430 ac_cpp='$CXXCPP $CPPFLAGS'
43431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43435 cat >conftest.$ac_ext <<_ACEOF
43438 cat confdefs.h >>conftest.$ac_ext
43439 cat >>conftest.$ac_ext <<_ACEOF
43440 /* end confdefs.h. */
43441 #include <IOKit/hid/IOHIDLib.h>
43445 IOHIDQueueInterface *qi = NULL;
43446 IOHIDCallbackFunction cb = NULL;
43447 qi->setEventCallout(NULL, cb, NULL, NULL);
43452 rm -f conftest.$ac_objext
43453 if { (ac_try="$ac_compile"
43454 case "(($ac_try" in
43455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43456 *) ac_try_echo=$ac_try;;
43458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43459 (eval "$ac_compile") 2>conftest.er1
43461 grep -v '^ *+' conftest.er1 >conftest.err
43463 cat conftest.err >&5
43464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43465 (exit $ac_status); } && {
43466 test -z "$ac_cxx_werror_flag" ||
43467 test ! -s conftest.err
43468 } && test -s conftest.$ac_objext; then
43472 echo "$as_me: failed program was:" >&5
43473 sed 's/^/| /' conftest.$ac_ext >&5
43478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43480 ac_cpp='$CPP $CPPFLAGS'
43481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43485 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43486 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43490 if test "$wxUSE_MGL" != "1"; then
43491 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43492 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43493 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43494 echo $ECHO_N "(cached) $ECHO_C" >&6
43496 cat >conftest.$ac_ext <<_ACEOF
43499 cat confdefs.h >>conftest.$ac_ext
43500 cat >>conftest.$ac_ext <<_ACEOF
43501 /* end confdefs.h. */
43502 $ac_includes_default
43504 #include <linux/joystick.h>
43506 rm -f conftest.$ac_objext
43507 if { (ac_try="$ac_compile"
43508 case "(($ac_try" in
43509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43510 *) ac_try_echo=$ac_try;;
43512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43513 (eval "$ac_compile") 2>conftest.er1
43515 grep -v '^ *+' conftest.er1 >conftest.err
43517 cat conftest.err >&5
43518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43519 (exit $ac_status); } && {
43520 test -z "$ac_c_werror_flag" ||
43521 test ! -s conftest.err
43522 } && test -s conftest.$ac_objext; then
43523 ac_cv_header_linux_joystick_h=yes
43525 echo "$as_me: failed program was:" >&5
43526 sed 's/^/| /' conftest.$ac_ext >&5
43528 ac_cv_header_linux_joystick_h=no
43531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43533 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43534 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43535 if test $ac_cv_header_linux_joystick_h = yes; then
43543 if test "$wxUSE_JOYSTICK" = "yes"; then
43544 cat >>confdefs.h <<\_ACEOF
43545 #define wxUSE_JOYSTICK 1
43548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43550 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43551 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43557 if test "$wxUSE_FONTMAP" = "yes" ; then
43558 cat >>confdefs.h <<\_ACEOF
43559 #define wxUSE_FONTMAP 1
43564 if test "$wxUSE_UNICODE" = "yes" ; then
43565 cat >>confdefs.h <<\_ACEOF
43566 #define wxUSE_UNICODE 1
43570 if test "$USE_WIN32" != 1; then
43571 wxUSE_UNICODE_MSLU=no
43574 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43575 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43576 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43577 if test "${ac_cv_lib_unicows_main+set}" = set; then
43578 echo $ECHO_N "(cached) $ECHO_C" >&6
43580 ac_check_lib_save_LIBS=$LIBS
43581 LIBS="-lunicows $LIBS"
43582 cat >conftest.$ac_ext <<_ACEOF
43585 cat confdefs.h >>conftest.$ac_ext
43586 cat >>conftest.$ac_ext <<_ACEOF
43587 /* end confdefs.h. */
43598 rm -f conftest.$ac_objext conftest$ac_exeext
43599 if { (ac_try="$ac_link"
43600 case "(($ac_try" in
43601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43602 *) ac_try_echo=$ac_try;;
43604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43605 (eval "$ac_link") 2>conftest.er1
43607 grep -v '^ *+' conftest.er1 >conftest.err
43609 cat conftest.err >&5
43610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43611 (exit $ac_status); } && {
43612 test -z "$ac_c_werror_flag" ||
43613 test ! -s conftest.err
43614 } && test -s conftest$ac_exeext &&
43615 $as_test_x conftest$ac_exeext; then
43616 ac_cv_lib_unicows_main=yes
43618 echo "$as_me: failed program was:" >&5
43619 sed 's/^/| /' conftest.$ac_ext >&5
43621 ac_cv_lib_unicows_main=no
43624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43625 conftest$ac_exeext conftest.$ac_ext
43626 LIBS=$ac_check_lib_save_LIBS
43628 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43629 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43630 if test $ac_cv_lib_unicows_main = yes; then
43632 cat >>confdefs.h <<\_ACEOF
43633 #define wxUSE_UNICODE_MSLU 1
43639 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43640 Applications will only run on Windows NT/2000/XP!" >&5
43641 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43642 Applications will only run on Windows NT/2000/XP!" >&2;}
43643 wxUSE_UNICODE_MSLU=no
43650 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43651 cat >>confdefs.h <<\_ACEOF
43652 #define wxUSE_UNICODE_UTF8 1
43657 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43658 cat >>confdefs.h <<\_ACEOF
43659 #define wxUSE_EXPERIMENTAL_PRINTF 1
43665 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43666 cat >>confdefs.h <<\_ACEOF
43667 #define wxUSE_POSTSCRIPT 1
43672 cat >>confdefs.h <<\_ACEOF
43673 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43677 cat >>confdefs.h <<\_ACEOF
43678 #define wxUSE_NORMALIZED_PS_FONTS 1
43683 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43684 cat >>confdefs.h <<\_ACEOF
43685 #define wxUSE_CONSTRAINTS 1
43688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43691 if test "$wxUSE_MDI" = "yes"; then
43692 cat >>confdefs.h <<\_ACEOF
43693 #define wxUSE_MDI 1
43697 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43698 cat >>confdefs.h <<\_ACEOF
43699 #define wxUSE_MDI_ARCHITECTURE 1
43702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43706 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43707 cat >>confdefs.h <<\_ACEOF
43708 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43712 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43717 if test "$wxUSE_HELP" = "yes"; then
43718 cat >>confdefs.h <<\_ACEOF
43719 #define wxUSE_HELP 1
43722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43724 if test "$wxUSE_MSW" = 1; then
43725 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43726 cat >>confdefs.h <<\_ACEOF
43727 #define wxUSE_MS_HTML_HELP 1
43733 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43734 if test "$wxUSE_HTML" = "yes"; then
43735 cat >>confdefs.h <<\_ACEOF
43736 #define wxUSE_WXHTML_HELP 1
43740 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43741 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43742 wxUSE_WXHTML_HELP=no
43747 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43748 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43749 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43750 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43752 cat >>confdefs.h <<\_ACEOF
43753 #define wxUSE_PRINTING_ARCHITECTURE 1
43757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43762 if test "$wxUSE_METAFILE" = "yes"; then
43763 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43764 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43765 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43771 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43772 -o "$wxUSE_CLIPBOARD" = "yes" \
43773 -o "$wxUSE_OLE" = "yes" \
43774 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43775 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43776 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43777 if test "${ac_cv_header_ole2_h+set}" = set; then
43778 echo $ECHO_N "(cached) $ECHO_C" >&6
43780 cat >conftest.$ac_ext <<_ACEOF
43783 cat confdefs.h >>conftest.$ac_ext
43784 cat >>conftest.$ac_ext <<_ACEOF
43785 /* end confdefs.h. */
43790 rm -f conftest.$ac_objext
43791 if { (ac_try="$ac_compile"
43792 case "(($ac_try" in
43793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43794 *) ac_try_echo=$ac_try;;
43796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43797 (eval "$ac_compile") 2>conftest.er1
43799 grep -v '^ *+' conftest.er1 >conftest.err
43801 cat conftest.err >&5
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); } && {
43804 test -z "$ac_c_werror_flag" ||
43805 test ! -s conftest.err
43806 } && test -s conftest.$ac_objext; then
43807 ac_cv_header_ole2_h=yes
43809 echo "$as_me: failed program was:" >&5
43810 sed 's/^/| /' conftest.$ac_ext >&5
43812 ac_cv_header_ole2_h=no
43815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43817 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43818 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43822 if test "$ac_cv_header_ole2_h" = "yes" ; then
43823 if test "$GCC" = yes ; then
43824 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43825 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43826 cat >conftest.$ac_ext <<_ACEOF
43829 cat confdefs.h >>conftest.$ac_ext
43830 cat >>conftest.$ac_ext <<_ACEOF
43831 /* end confdefs.h. */
43832 #include <windows.h>
43842 rm -f conftest.$ac_objext
43843 if { (ac_try="$ac_compile"
43844 case "(($ac_try" in
43845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43846 *) ac_try_echo=$ac_try;;
43848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43849 (eval "$ac_compile") 2>conftest.er1
43851 grep -v '^ *+' conftest.er1 >conftest.err
43853 cat conftest.err >&5
43854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43855 (exit $ac_status); } && {
43856 test -z "$ac_c_werror_flag" ||
43857 test ! -s conftest.err
43858 } && test -s conftest.$ac_objext; then
43859 { echo "$as_me:$LINENO: result: no" >&5
43860 echo "${ECHO_T}no" >&6; }
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.$ac_ext >&5
43865 { echo "$as_me:$LINENO: result: yes" >&5
43866 echo "${ECHO_T}yes" >&6; }
43867 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43871 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43872 if test "$wxUSE_OLE" = "yes" ; then
43873 cat >>confdefs.h <<\_ACEOF
43874 #define wxUSE_OLE 1
43877 cat >>confdefs.h <<\_ACEOF
43878 #define wxUSE_OLE_AUTOMATION 1
43881 cat >>confdefs.h <<\_ACEOF
43882 #define wxUSE_ACTIVEX 1
43885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43889 if test "$wxUSE_DATAOBJ" = "yes" ; then
43890 cat >>confdefs.h <<\_ACEOF
43891 #define wxUSE_DATAOBJ 1
43896 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43897 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43900 wxUSE_DRAG_AND_DROP=no
43905 if test "$wxUSE_METAFILE" = "yes"; then
43906 cat >>confdefs.h <<\_ACEOF
43907 #define wxUSE_METAFILE 1
43911 cat >>confdefs.h <<\_ACEOF
43912 #define wxUSE_ENH_METAFILE 1
43918 if test "$wxUSE_IPC" = "yes"; then
43919 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43920 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43921 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43925 if test "$wxUSE_IPC" = "yes"; then
43926 cat >>confdefs.h <<\_ACEOF
43927 #define wxUSE_IPC 1
43930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43934 if test "$wxUSE_DATAOBJ" = "yes"; then
43935 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43936 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43937 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43940 cat >>confdefs.h <<\_ACEOF
43941 #define wxUSE_DATAOBJ 1
43946 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43947 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43949 wxUSE_DRAG_AND_DROP=no
43952 if test "$wxUSE_CLIPBOARD" = "yes"; then
43953 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43954 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43955 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43959 if test "$wxUSE_CLIPBOARD" = "yes"; then
43960 cat >>confdefs.h <<\_ACEOF
43961 #define wxUSE_CLIPBOARD 1
43967 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43968 if test "$wxUSE_GTK" = 1; then
43969 if test "$WXGTK12" != 1; then
43970 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43971 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43972 wxUSE_DRAG_AND_DROP=no
43976 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43977 "$wxUSE_DFB" = 1; then
43978 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43979 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43980 wxUSE_DRAG_AND_DROP=no
43983 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43984 cat >>confdefs.h <<\_ACEOF
43985 #define wxUSE_DRAG_AND_DROP 1
43992 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43996 if test "$wxUSE_SPLINES" = "yes" ; then
43997 cat >>confdefs.h <<\_ACEOF
43998 #define wxUSE_SPLINES 1
44003 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44004 cat >>confdefs.h <<\_ACEOF
44005 #define wxUSE_MOUSEWHEEL 1
44012 if test "$wxUSE_CONTROLS" = "yes"; then
44016 if test "$wxUSE_ACCEL" = "yes"; then
44017 cat >>confdefs.h <<\_ACEOF
44018 #define wxUSE_ACCEL 1
44024 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44025 cat >>confdefs.h <<\_ACEOF
44026 #define wxUSE_ANIMATIONCTRL 1
44030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44033 if test "$wxUSE_BUTTON" = "yes"; then
44034 cat >>confdefs.h <<\_ACEOF
44035 #define wxUSE_BUTTON 1
44041 if test "$wxUSE_BMPBUTTON" = "yes"; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_BMPBUTTON 1
44049 if test "$wxUSE_CALCTRL" = "yes"; then
44050 cat >>confdefs.h <<\_ACEOF
44051 #define wxUSE_CALENDARCTRL 1
44055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44058 if test "$wxUSE_CARET" = "yes"; then
44059 cat >>confdefs.h <<\_ACEOF
44060 #define wxUSE_CARET 1
44064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44067 if test "$wxUSE_COLLPANE" = "yes"; then
44068 cat >>confdefs.h <<\_ACEOF
44069 #define wxUSE_COLLPANE 1
44073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44076 if test "$wxUSE_COMBOBOX" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_COMBOBOX 1
44084 if test "$wxUSE_COMBOCTRL" = "yes"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define wxUSE_COMBOCTRL 1
44092 if test "$wxUSE_CHOICE" = "yes"; then
44093 cat >>confdefs.h <<\_ACEOF
44094 #define wxUSE_CHOICE 1
44100 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44101 cat >>confdefs.h <<\_ACEOF
44102 #define wxUSE_CHOICEBOOK 1
44108 if test "$wxUSE_CHECKBOX" = "yes"; then
44109 cat >>confdefs.h <<\_ACEOF
44110 #define wxUSE_CHECKBOX 1
44116 if test "$wxUSE_CHECKLST" = "yes"; then
44117 cat >>confdefs.h <<\_ACEOF
44118 #define wxUSE_CHECKLISTBOX 1
44122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44125 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_COLOURPICKERCTRL 1
44133 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44134 cat >>confdefs.h <<\_ACEOF
44135 #define wxUSE_DATEPICKCTRL 1
44141 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44142 cat >>confdefs.h <<\_ACEOF
44143 #define wxUSE_DIRPICKERCTRL 1
44149 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44150 cat >>confdefs.h <<\_ACEOF
44151 #define wxUSE_FILEPICKERCTRL 1
44157 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44158 cat >>confdefs.h <<\_ACEOF
44159 #define wxUSE_FONTPICKERCTRL 1
44165 if test "$wxUSE_DISPLAY" = "yes"; then
44166 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44167 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44168 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44171 cat >>confdefs.h <<\_ACEOF
44172 #define wxUSE_DISPLAY 1
44175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44179 if test "$wxUSE_DETECT_SM" = "yes"; then
44180 cat >>confdefs.h <<\_ACEOF
44181 #define wxUSE_DETECT_SM 1
44186 if test "$wxUSE_GAUGE" = "yes"; then
44187 cat >>confdefs.h <<\_ACEOF
44188 #define wxUSE_GAUGE 1
44194 if test "$wxUSE_GRID" = "yes"; then
44195 cat >>confdefs.h <<\_ACEOF
44196 #define wxUSE_GRID 1
44200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44203 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44204 cat >>confdefs.h <<\_ACEOF
44205 #define wxUSE_HYPERLINKCTRL 1
44211 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44212 cat >>confdefs.h <<\_ACEOF
44213 #define wxUSE_BITMAPCOMBOBOX 1
44219 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44220 cat >>confdefs.h <<\_ACEOF
44221 #define wxUSE_DATAVIEWCTRL 1
44225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44228 if test "$wxUSE_IMAGLIST" = "yes"; then
44229 cat >>confdefs.h <<\_ACEOF
44230 #define wxUSE_IMAGLIST 1
44235 if test "$wxUSE_LISTBOOK" = "yes"; then
44236 cat >>confdefs.h <<\_ACEOF
44237 #define wxUSE_LISTBOOK 1
44243 if test "$wxUSE_LISTBOX" = "yes"; then
44244 cat >>confdefs.h <<\_ACEOF
44245 #define wxUSE_LISTBOX 1
44249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44252 if test "$wxUSE_LISTCTRL" = "yes"; then
44253 if test "$wxUSE_IMAGLIST" = "yes"; then
44254 cat >>confdefs.h <<\_ACEOF
44255 #define wxUSE_LISTCTRL 1
44259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44261 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44262 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44266 if test "$wxUSE_NOTEBOOK" = "yes"; then
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_NOTEBOOK 1
44272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44275 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44276 cat >>confdefs.h <<\_ACEOF
44277 #define wxUSE_ODCOMBOBOX 1
44281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44285 if test "$wxUSE_RADIOBOX" = "yes"; then
44286 cat >>confdefs.h <<\_ACEOF
44287 #define wxUSE_RADIOBOX 1
44293 if test "$wxUSE_RADIOBTN" = "yes"; then
44294 cat >>confdefs.h <<\_ACEOF
44295 #define wxUSE_RADIOBTN 1
44301 if test "$wxUSE_SASH" = "yes"; then
44302 cat >>confdefs.h <<\_ACEOF
44303 #define wxUSE_SASH 1
44306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44309 if test "$wxUSE_SCROLLBAR" = "yes"; then
44310 cat >>confdefs.h <<\_ACEOF
44311 #define wxUSE_SCROLLBAR 1
44315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44318 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44319 cat >>confdefs.h <<\_ACEOF
44320 #define wxUSE_SEARCHCTRL 1
44326 if test "$wxUSE_SLIDER" = "yes"; then
44327 cat >>confdefs.h <<\_ACEOF
44328 #define wxUSE_SLIDER 1
44334 if test "$wxUSE_SPINBTN" = "yes"; then
44335 cat >>confdefs.h <<\_ACEOF
44336 #define wxUSE_SPINBTN 1
44342 if test "$wxUSE_SPINCTRL" = "yes"; then
44343 cat >>confdefs.h <<\_ACEOF
44344 #define wxUSE_SPINCTRL 1
44350 if test "$wxUSE_SPLITTER" = "yes"; then
44351 cat >>confdefs.h <<\_ACEOF
44352 #define wxUSE_SPLITTER 1
44355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44358 if test "$wxUSE_STATBMP" = "yes"; then
44359 cat >>confdefs.h <<\_ACEOF
44360 #define wxUSE_STATBMP 1
44366 if test "$wxUSE_STATBOX" = "yes"; then
44367 cat >>confdefs.h <<\_ACEOF
44368 #define wxUSE_STATBOX 1
44374 if test "$wxUSE_STATTEXT" = "yes"; then
44375 cat >>confdefs.h <<\_ACEOF
44376 #define wxUSE_STATTEXT 1
44382 if test "$wxUSE_STATLINE" = "yes"; then
44383 cat >>confdefs.h <<\_ACEOF
44384 #define wxUSE_STATLINE 1
44390 if test "$wxUSE_STATUSBAR" = "yes"; then
44391 cat >>confdefs.h <<\_ACEOF
44392 #define wxUSE_NATIVE_STATUSBAR 1
44395 cat >>confdefs.h <<\_ACEOF
44396 #define wxUSE_STATUSBAR 1
44401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44404 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_TAB_DIALOG 1
44411 if test "$wxUSE_TEXTCTRL" = "yes"; then
44412 cat >>confdefs.h <<\_ACEOF
44413 #define wxUSE_TEXTCTRL 1
44417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44420 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44421 if test "$wxUSE_COCOA" = 1 ; then
44422 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44423 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44427 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44428 cat >>confdefs.h <<\_ACEOF
44429 #define wxUSE_TOGGLEBTN 1
44436 if test "$wxUSE_TOOLBAR" = "yes"; then
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_TOOLBAR 1
44443 if test "$wxUSE_UNIVERSAL" = "yes"; then
44444 wxUSE_TOOLBAR_NATIVE="no"
44446 wxUSE_TOOLBAR_NATIVE="yes"
44447 cat >>confdefs.h <<\_ACEOF
44448 #define wxUSE_TOOLBAR_NATIVE 1
44453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44456 if test "$wxUSE_TOOLTIPS" = "yes"; then
44457 if test "$wxUSE_MOTIF" = 1; then
44458 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44459 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44461 if test "$wxUSE_UNIVERSAL" = "yes"; then
44462 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44463 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44465 cat >>confdefs.h <<\_ACEOF
44466 #define wxUSE_TOOLTIPS 1
44473 if test "$wxUSE_TREEBOOK" = "yes"; then
44474 cat >>confdefs.h <<\_ACEOF
44475 #define wxUSE_TREEBOOK 1
44481 if test "$wxUSE_TOOLBOOK" = "yes"; then
44482 cat >>confdefs.h <<\_ACEOF
44483 #define wxUSE_TOOLBOOK 1
44489 if test "$wxUSE_TREECTRL" = "yes"; then
44490 if test "$wxUSE_IMAGLIST" = "yes"; then
44491 cat >>confdefs.h <<\_ACEOF
44492 #define wxUSE_TREECTRL 1
44496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44498 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44499 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44503 if test "$wxUSE_POPUPWIN" = "yes"; then
44504 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44505 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44506 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44508 if test "$wxUSE_PM" = 1; then
44509 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44510 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44512 cat >>confdefs.h <<\_ACEOF
44513 #define wxUSE_POPUPWIN 1
44516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44523 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44524 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44525 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44526 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44528 cat >>confdefs.h <<\_ACEOF
44529 #define wxUSE_DIALUP_MANAGER 1
44532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44536 if test "$wxUSE_TIPWINDOW" = "yes"; then
44537 if test "$wxUSE_PM" = 1; then
44538 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44539 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_TIPWINDOW 1
44548 if test "$USES_CONTROLS" = 1; then
44549 cat >>confdefs.h <<\_ACEOF
44550 #define wxUSE_CONTROLS 1
44556 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44557 cat >>confdefs.h <<\_ACEOF
44558 #define wxUSE_ACCESSIBILITY 1
44561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44564 if test "$wxUSE_DC_CACHEING" = "yes"; then
44565 cat >>confdefs.h <<\_ACEOF
44566 #define wxUSE_DC_CACHEING 1
44571 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_DRAGIMAGE 1
44576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44579 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44580 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44581 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44582 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_EXCEPTIONS 1
44588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44593 if test "$wxUSE_HTML" = "yes"; then
44594 cat >>confdefs.h <<\_ACEOF
44595 #define wxUSE_HTML 1
44599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44600 if test "$wxUSE_MAC" = 1; then
44601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44604 if test "$wxUSE_WEBKIT" = "yes"; then
44605 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44606 old_CPPFLAGS="$CPPFLAGS"
44607 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44608 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44609 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44610 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44611 echo $ECHO_N "(cached) $ECHO_C" >&6
44613 cat >conftest.$ac_ext <<_ACEOF
44616 cat confdefs.h >>conftest.$ac_ext
44617 cat >>conftest.$ac_ext <<_ACEOF
44618 /* end confdefs.h. */
44620 #include <Carbon/Carbon.h>
44621 #include <WebKit/WebKit.h>
44624 #include <WebKit/HIWebView.h>
44626 rm -f conftest.$ac_objext
44627 if { (ac_try="$ac_compile"
44628 case "(($ac_try" in
44629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44630 *) ac_try_echo=$ac_try;;
44632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44633 (eval "$ac_compile") 2>conftest.er1
44635 grep -v '^ *+' conftest.er1 >conftest.err
44637 cat conftest.err >&5
44638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44639 (exit $ac_status); } && {
44640 test -z "$ac_c_werror_flag" ||
44641 test ! -s conftest.err
44642 } && test -s conftest.$ac_objext; then
44643 ac_cv_header_WebKit_HIWebView_h=yes
44645 echo "$as_me: failed program was:" >&5
44646 sed 's/^/| /' conftest.$ac_ext >&5
44648 ac_cv_header_WebKit_HIWebView_h=no
44651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44653 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44654 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44655 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44657 cat >>confdefs.h <<\_ACEOF
44658 #define wxUSE_WEBKIT 1
44661 WEBKIT_LINK="-framework WebKit"
44665 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44666 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44672 CPPFLAGS="$old_CPPFLAGS"
44673 elif test "$wxUSE_COCOA" = 1; then
44674 cat >>confdefs.h <<\_ACEOF
44675 #define wxUSE_WEBKIT 1
44684 if test "$wxUSE_XRC" = "yes"; then
44685 if test "$wxUSE_XML" != "yes"; then
44686 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44687 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_XRC 1
44695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44700 if test "$wxUSE_AUI" = "yes"; then
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_AUI 1
44706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44710 if test "$wxUSE_STC" = "yes"; then
44711 cat >>confdefs.h <<\_ACEOF
44712 #define wxUSE_STC 1
44716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44719 if test "$wxUSE_MENUS" = "yes"; then
44720 cat >>confdefs.h <<\_ACEOF
44721 #define wxUSE_MENUS 1
44724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44727 if test "$wxUSE_METAFILE" = "yes"; then
44728 cat >>confdefs.h <<\_ACEOF
44729 #define wxUSE_METAFILE 1
44734 if test "$wxUSE_MIMETYPE" = "yes"; then
44735 cat >>confdefs.h <<\_ACEOF
44736 #define wxUSE_MIMETYPE 1
44741 if test "$wxUSE_MINIFRAME" = "yes"; then
44742 cat >>confdefs.h <<\_ACEOF
44743 #define wxUSE_MINIFRAME 1
44746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44749 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44750 cat >>confdefs.h <<\_ACEOF
44751 #define wxUSE_SYSTEM_OPTIONS 1
44754 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44755 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44761 if test "$wxUSE_VALIDATORS" = "yes"; then
44762 cat >>confdefs.h <<\_ACEOF
44763 #define wxUSE_VALIDATORS 1
44766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44769 if test "$wxUSE_PALETTE" = "yes" ; then
44770 if test "$wxUSE_DFB" = 1; then
44771 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44772 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44775 cat >>confdefs.h <<\_ACEOF
44776 #define wxUSE_PALETTE 1
44782 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44783 LIBS=" -lunicows $LIBS"
44787 if test "$wxUSE_RICHTEXT" = "yes"; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_RICHTEXT 1
44793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44797 if test "$wxUSE_IMAGE" = "yes" ; then
44798 cat >>confdefs.h <<\_ACEOF
44799 #define wxUSE_IMAGE 1
44803 if test "$wxUSE_GIF" = "yes" ; then
44804 cat >>confdefs.h <<\_ACEOF
44805 #define wxUSE_GIF 1
44810 if test "$wxUSE_PCX" = "yes" ; then
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_PCX 1
44817 if test "$wxUSE_TGA" = "yes" ; then
44818 cat >>confdefs.h <<\_ACEOF
44819 #define wxUSE_TGA 1
44824 if test "$wxUSE_IFF" = "yes" ; then
44825 cat >>confdefs.h <<\_ACEOF
44826 #define wxUSE_IFF 1
44831 if test "$wxUSE_PNM" = "yes" ; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_PNM 1
44838 if test "$wxUSE_XPM" = "yes" ; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_XPM 1
44845 if test "$wxUSE_ICO_CUR" = "yes" ; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_ICO_CUR 1
44854 if test "$wxUSE_ABOUTDLG" = "yes"; then
44855 cat >>confdefs.h <<\_ACEOF
44856 #define wxUSE_ABOUTDLG 1
44861 if test "$wxUSE_CHOICEDLG" = "yes"; then
44862 cat >>confdefs.h <<\_ACEOF
44863 #define wxUSE_CHOICEDLG 1
44868 if test "$wxUSE_COLOURDLG" = "yes"; then
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_COLOURDLG 1
44875 if test "$wxUSE_FILEDLG" = "yes"; then
44876 cat >>confdefs.h <<\_ACEOF
44877 #define wxUSE_FILEDLG 1
44882 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44883 cat >>confdefs.h <<\_ACEOF
44884 #define wxUSE_FINDREPLDLG 1
44889 if test "$wxUSE_FONTDLG" = "yes"; then
44890 cat >>confdefs.h <<\_ACEOF
44891 #define wxUSE_FONTDLG 1
44896 if test "$wxUSE_DIRDLG" = "yes"; then
44897 if test "$wxUSE_TREECTRL" != "yes"; then
44898 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44899 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_DIRDLG 1
44908 if test "$wxUSE_MSGDLG" = "yes"; then
44909 cat >>confdefs.h <<\_ACEOF
44910 #define wxUSE_MSGDLG 1
44915 if test "$wxUSE_NUMBERDLG" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_NUMBERDLG 1
44922 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44923 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44924 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44925 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44927 cat >>confdefs.h <<\_ACEOF
44928 #define wxUSE_PROGRESSDLG 1
44934 if test "$wxUSE_SPLASH" = "yes"; then
44935 cat >>confdefs.h <<\_ACEOF
44936 #define wxUSE_SPLASH 1
44939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44942 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44943 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44944 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44945 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44947 cat >>confdefs.h <<\_ACEOF
44948 #define wxUSE_STARTUP_TIPS 1
44954 if test "$wxUSE_TEXTDLG" = "yes"; then
44955 cat >>confdefs.h <<\_ACEOF
44956 #define wxUSE_TEXTDLG 1
44961 if test "$wxUSE_WIZARDDLG" = "yes"; then
44962 cat >>confdefs.h <<\_ACEOF
44963 #define wxUSE_WIZARDDLG 1
44966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44970 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44971 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44972 cat >>confdefs.h <<\_ACEOF
44973 #define wxUSE_GRAPHICS_CONTEXT 1
44976 elif test "$wxUSE_GTK" != 1; then
44977 cat >>confdefs.h <<\_ACEOF
44978 #define wxUSE_GRAPHICS_CONTEXT 1
44984 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44985 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44987 if test -n "$PKG_CONFIG"; then
44988 if test -n "$CAIRO_CFLAGS"; then
44989 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44991 if test -n "$PKG_CONFIG" && \
44992 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44993 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); }; then
44997 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45005 if test -n "$PKG_CONFIG"; then
45006 if test -n "$CAIRO_LIBS"; then
45007 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45009 if test -n "$PKG_CONFIG" && \
45010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45011 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45014 (exit $ac_status); }; then
45015 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45026 if test $pkg_failed = yes; then
45028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45029 _pkg_short_errors_supported=yes
45031 _pkg_short_errors_supported=no
45033 if test $_pkg_short_errors_supported = yes; then
45034 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45036 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45038 # Put the nasty error message in config.log where it belongs
45039 echo "$CAIRO_PKG_ERRORS" >&5
45041 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45042 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45044 elif test $pkg_failed = untried; then
45045 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45046 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45049 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45050 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45051 { echo "$as_me:$LINENO: result: yes" >&5
45052 echo "${ECHO_T}yes" >&6; }
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_GRAPHICS_CONTEXT 1
45064 if test "$wxUSE_MEDIACTRL" = "yes"; then
45067 if test "$wxUSE_GTK" = 1; then
45068 wxUSE_GSTREAMER="no"
45070 GST_VERSION_MAJOR=0
45071 GST_VERSION_MINOR=10
45072 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45074 if test "$wxUSE_GSTREAMER8" = "no"; then
45077 { echo "$as_me:$LINENO: checking for GST" >&5
45078 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45080 if test -n "$PKG_CONFIG"; then
45081 if test -n "$GST_CFLAGS"; then
45082 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45084 if test -n "$PKG_CONFIG" && \
45085 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45086 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45089 (exit $ac_status); }; then
45090 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45098 if test -n "$PKG_CONFIG"; then
45099 if test -n "$GST_LIBS"; then
45100 pkg_cv_GST_LIBS="$GST_LIBS"
45102 if test -n "$PKG_CONFIG" && \
45103 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45104 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107 (exit $ac_status); }; then
45108 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45119 if test $pkg_failed = yes; then
45121 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45122 _pkg_short_errors_supported=yes
45124 _pkg_short_errors_supported=no
45126 if test $_pkg_short_errors_supported = yes; then
45127 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45129 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45131 # Put the nasty error message in config.log where it belongs
45132 echo "$GST_PKG_ERRORS" >&5
45135 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45136 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45137 GST_VERSION_MINOR=8
45140 elif test $pkg_failed = untried; then
45142 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45143 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45144 GST_VERSION_MINOR=8
45148 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45149 GST_LIBS=$pkg_cv_GST_LIBS
45150 { echo "$as_me:$LINENO: result: yes" >&5
45151 echo "${ECHO_T}yes" >&6; }
45153 wxUSE_GSTREAMER="yes"
45154 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45158 GST_VERSION_MINOR=8
45161 if test $GST_VERSION_MINOR = "8"; then
45162 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45165 { echo "$as_me:$LINENO: checking for GST" >&5
45166 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45168 if test -n "$PKG_CONFIG"; then
45169 if test -n "$GST_CFLAGS"; then
45170 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45172 if test -n "$PKG_CONFIG" && \
45173 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45174 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45177 (exit $ac_status); }; then
45178 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45186 if test -n "$PKG_CONFIG"; then
45187 if test -n "$GST_LIBS"; then
45188 pkg_cv_GST_LIBS="$GST_LIBS"
45190 if test -n "$PKG_CONFIG" && \
45191 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45192 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45195 (exit $ac_status); }; then
45196 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45207 if test $pkg_failed = yes; then
45209 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45210 _pkg_short_errors_supported=yes
45212 _pkg_short_errors_supported=no
45214 if test $_pkg_short_errors_supported = yes; then
45215 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45217 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45219 # Put the nasty error message in config.log where it belongs
45220 echo "$GST_PKG_ERRORS" >&5
45223 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45224 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45226 elif test $pkg_failed = untried; then
45228 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45229 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45232 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45233 GST_LIBS=$pkg_cv_GST_LIBS
45234 { echo "$as_me:$LINENO: result: yes" >&5
45235 echo "${ECHO_T}yes" >&6; }
45236 wxUSE_GSTREAMER="yes"
45241 if test "$wxUSE_GSTREAMER" = "yes"; then
45244 if "$GCC" = yes; then
45245 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45246 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45250 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45251 LIBS="$GST_LIBS $LIBS"
45253 cat >>confdefs.h <<\_ACEOF
45254 #define wxUSE_GSTREAMER 1
45262 if test $USE_MEDIA = 1; then
45263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_MEDIACTRL 1
45272 if test "$cross_compiling" = "yes"; then
45275 OSINFO=`uname -s -r -m`
45276 OSINFO="\"$OSINFO\""
45279 cat >>confdefs.h <<_ACEOF
45280 #define WXWIN_OS_DESCRIPTION $OSINFO
45285 if test "x$prefix" != "xNONE"; then
45288 wxPREFIX=$ac_default_prefix
45291 cat >>confdefs.h <<_ACEOF
45292 #define wxINSTALL_PREFIX "$wxPREFIX"
45298 CORE_BASE_LIBS="net base"
45299 CORE_GUI_LIBS="adv core"
45301 if test "$wxUSE_XML" = "yes" ; then
45302 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45304 if test "$wxUSE_ODBC" != "no" ; then
45305 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45306 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45308 if test "$wxUSE_HTML" = "yes" ; then
45309 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45311 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45312 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45314 if test "$wxUSE_XRC" = "yes" ; then
45315 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45317 if test "$wxUSE_AUI" = "yes" ; then
45318 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45320 if test "$wxUSE_STC" = "yes" ; then
45321 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45324 if test "$wxUSE_GUI" != "yes"; then
45333 if test "$wxUSE_MAC" = 1 ; then
45334 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45335 if test "$USE_DARWIN" = 1; then
45336 LDFLAGS="$LDFLAGS -framework QuickTime"
45338 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45341 if test "$USE_DARWIN" = 1; then
45342 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45344 LDFLAGS="$LDFLAGS -lCarbonLib"
45347 if test "$wxUSE_COCOA" = 1 ; then
45348 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45349 if test "$wxUSE_MEDIACTRL" = "yes"; then
45350 LDFLAGS="$LDFLAGS -framework QuickTime"
45353 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45354 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45357 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45359 if test "$wxUSE_GUI" = "yes"; then
45362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45363 dynamic erase event exec font image minimal mobile \
45364 mobile/wxedit mobile/styles propsize render \
45365 rotate shaped svg taborder vscroll widgets"
45367 if test "$wxUSE_MONOLITHIC" != "yes"; then
45368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45370 if test "$TOOLKIT" = "MSW"; then
45371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45372 if test "$wxUSE_UNIVERSAL" != "yes"; then
45373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45376 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45380 SAMPLES_SUBDIRS="console"
45384 if test "x$INTELCC" = "xyes" ; then
45385 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45386 elif test "$GCC" = yes ; then
45387 CWARNINGS="-Wall -Wundef"
45390 if test "x$INTELCXX" = "xyes" ; then
45391 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45392 elif test "$GXX" = yes ; then
45393 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45397 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45398 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45401 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45402 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45403 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45406 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45407 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45408 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45410 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45413 if test "x$MWCC" = "xyes"; then
45415 CC="$CC -cwd source -I-"
45416 CXX="$CXX -cwd source -I-"
45421 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45422 EXTRALIBS_XML="$EXPAT_LINK"
45423 EXTRALIBS_HTML="$MSPACK_LINK"
45424 EXTRALIBS_ODBC="$ODBC_LINK"
45425 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45426 if test "$wxUSE_GUI" = "yes"; then
45427 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45429 if test "$wxUSE_OPENGL" = "yes"; then
45430 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45433 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45435 WXCONFIG_LIBS="$LIBS"
45437 if test "$wxUSE_REGEX" = "builtin" ; then
45438 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45440 if test "$wxUSE_EXPAT" = "builtin" ; then
45441 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45443 if test "$wxUSE_ODBC" = "builtin" ; then
45444 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45446 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45447 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45449 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45450 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45452 if test "$wxUSE_LIBPNG" = "builtin" ; then
45453 wxconfig_3rdparty="png $wxconfig_3rdparty"
45455 if test "$wxUSE_ZLIB" = "builtin" ; then
45456 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45459 for i in $wxconfig_3rdparty ; do
45460 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45464 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45467 case "$wxUNIV_THEMES" in
45469 cat >>confdefs.h <<\_ACEOF
45470 #define wxUSE_ALL_THEMES 1
45476 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45477 cat >>confdefs.h <<_ACEOF
45478 #define wxUSE_THEME_$t 1
45495 if test $wxUSE_MONOLITHIC = "yes" ; then
45501 if test $wxUSE_PLUGINS = "yes" ; then
45507 if test $wxUSE_ODBC != "no" ; then
45513 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45519 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45549 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45560 TOOLKIT_DESC="GTK+"
45561 if test "$WXGTK20" = 1; then
45562 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45563 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45564 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45566 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45567 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45569 if test "$wxUSE_LIBHILDON" = "yes"; then
45570 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45573 if test "$TOOLKIT_EXTRA" != ""; then
45574 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45580 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45584 TOOLKIT_DESC="base only"
45588 if test "$wxUSE_WINE" = "yes"; then
45589 BAKEFILE_FORCE_PLATFORM=win32
45592 if test "$wxUSE_MAC" = 1 ; then
45593 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45594 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45595 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45597 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45599 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45600 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45601 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45602 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45605 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45606 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45609 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45611 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45612 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45613 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45614 echo $ECHO_N "(cached) $ECHO_C" >&6
45617 echo '#include <stdio.h>
45618 const wchar_t test_var[] = L"awidetest";' > conftest.h
45620 echo '#include "conftest.h"
45623 printf("%ls", test_var);
45627 wx_cv_gcc_pch_bug="pch not supported"
45629 if $CXX conftest.h >/dev/null 2>&1
45633 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45635 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45636 grep awidetest >/dev/null
45638 wx_cv_gcc_pch_bug=no
45640 wx_cv_gcc_pch_bug=yes
45645 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45648 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45649 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45651 if test "$wx_cv_gcc_pch_bug" = yes; then
45659 if test "x$BAKEFILE_HOST" = "x"; then
45660 if test "x${host}" = "x" ; then
45661 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45662 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45663 { (exit 1); exit 1; }; }
45666 BAKEFILE_HOST="${host}"
45669 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45671 if test -n "$ac_tool_prefix"; then
45672 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45673 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45676 if test "${ac_cv_prog_RANLIB+set}" = set; then
45677 echo $ECHO_N "(cached) $ECHO_C" >&6
45679 if test -n "$RANLIB"; then
45680 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45683 for as_dir in $PATH
45686 test -z "$as_dir" && as_dir=.
45687 for ac_exec_ext in '' $ac_executable_extensions; do
45688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45689 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45699 RANLIB=$ac_cv_prog_RANLIB
45700 if test -n "$RANLIB"; then
45701 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45702 echo "${ECHO_T}$RANLIB" >&6; }
45704 { echo "$as_me:$LINENO: result: no" >&5
45705 echo "${ECHO_T}no" >&6; }
45710 if test -z "$ac_cv_prog_RANLIB"; then
45711 ac_ct_RANLIB=$RANLIB
45712 # Extract the first word of "ranlib", so it can be a program name with args.
45713 set dummy ranlib; ac_word=$2
45714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45716 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45717 echo $ECHO_N "(cached) $ECHO_C" >&6
45719 if test -n "$ac_ct_RANLIB"; then
45720 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45723 for as_dir in $PATH
45726 test -z "$as_dir" && as_dir=.
45727 for ac_exec_ext in '' $ac_executable_extensions; do
45728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45729 ac_cv_prog_ac_ct_RANLIB="ranlib"
45730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45739 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45740 if test -n "$ac_ct_RANLIB"; then
45741 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45742 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45744 { echo "$as_me:$LINENO: result: no" >&5
45745 echo "${ECHO_T}no" >&6; }
45748 if test "x$ac_ct_RANLIB" = x; then
45751 case $cross_compiling:$ac_tool_warned in
45753 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45754 whose name does not start with the host triplet. If you think this
45755 configuration is useful to you, please write to autoconf@gnu.org." >&5
45756 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45757 whose name does not start with the host triplet. If you think this
45758 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45759 ac_tool_warned=yes ;;
45761 RANLIB=$ac_ct_RANLIB
45764 RANLIB="$ac_cv_prog_RANLIB"
45767 # Find a good install program. We prefer a C program (faster),
45768 # so one script is as good as another. But avoid the broken or
45769 # incompatible versions:
45770 # SysV /etc/install, /usr/sbin/install
45771 # SunOS /usr/etc/install
45772 # IRIX /sbin/install
45774 # AmigaOS /C/install, which installs bootblocks on floppy discs
45775 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45776 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45777 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45778 # OS/2's system install, which has a completely different semantic
45779 # ./install, which can be erroneously created by make from ./install.sh.
45780 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45781 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45782 if test -z "$INSTALL"; then
45783 if test "${ac_cv_path_install+set}" = set; then
45784 echo $ECHO_N "(cached) $ECHO_C" >&6
45786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45787 for as_dir in $PATH
45790 test -z "$as_dir" && as_dir=.
45791 # Account for people who put trailing slashes in PATH elements.
45793 ./ | .// | /cC/* | \
45794 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45795 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45798 # OSF1 and SCO ODT 3.0 have their own names for install.
45799 # Don't use installbsd from OSF since it installs stuff as root
45801 for ac_prog in ginstall scoinst install; do
45802 for ac_exec_ext in '' $ac_executable_extensions; do
45803 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45804 if test $ac_prog = install &&
45805 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45806 # AIX install. It has an incompatible calling convention.
45808 elif test $ac_prog = install &&
45809 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45810 # program-specific install script used by HP pwplus--don't use.
45813 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45826 if test "${ac_cv_path_install+set}" = set; then
45827 INSTALL=$ac_cv_path_install
45829 # As a last resort, use the slow shell script. Don't cache a
45830 # value for INSTALL within a source directory, because that will
45831 # break other packages using the cache if that directory is
45832 # removed, or if the value is a relative name.
45833 INSTALL=$ac_install_sh
45836 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45837 echo "${ECHO_T}$INSTALL" >&6; }
45839 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45840 # It thinks the first close brace ends the variable substitution.
45841 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45843 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45845 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45847 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45848 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45850 if test "$LN_S" = "ln -s"; then
45851 { echo "$as_me:$LINENO: result: yes" >&5
45852 echo "${ECHO_T}yes" >&6; }
45854 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45855 echo "${ECHO_T}no, using $LN_S" >&6; }
45859 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45860 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45861 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45862 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45863 echo $ECHO_N "(cached) $ECHO_C" >&6
45865 cat >conftest.make <<\_ACEOF
45868 @echo '@@@%%%=$(MAKE)=@@@%%%'
45870 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45871 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45872 *@@@%%%=?*=@@@%%%*)
45873 eval ac_cv_prog_make_${ac_make}_set=yes;;
45875 eval ac_cv_prog_make_${ac_make}_set=no;;
45877 rm -f conftest.make
45879 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45880 { echo "$as_me:$LINENO: result: yes" >&5
45881 echo "${ECHO_T}yes" >&6; }
45884 { echo "$as_me:$LINENO: result: no" >&5
45885 echo "${ECHO_T}no" >&6; }
45886 SET_MAKE="MAKE=${MAKE-make}"
45891 if test "x$SUNCXX" = "xyes"; then
45893 AROPTIONS="-xar -o"
45895 elif test "x$SGICC" = "xyes"; then
45900 if test -n "$ac_tool_prefix"; then
45901 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45902 set dummy ${ac_tool_prefix}ar; ac_word=$2
45903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45905 if test "${ac_cv_prog_AR+set}" = set; then
45906 echo $ECHO_N "(cached) $ECHO_C" >&6
45908 if test -n "$AR"; then
45909 ac_cv_prog_AR="$AR" # Let the user override the test.
45911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45912 for as_dir in $PATH
45915 test -z "$as_dir" && as_dir=.
45916 for ac_exec_ext in '' $ac_executable_extensions; do
45917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45918 ac_cv_prog_AR="${ac_tool_prefix}ar"
45919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45929 if test -n "$AR"; then
45930 { echo "$as_me:$LINENO: result: $AR" >&5
45931 echo "${ECHO_T}$AR" >&6; }
45933 { echo "$as_me:$LINENO: result: no" >&5
45934 echo "${ECHO_T}no" >&6; }
45939 if test -z "$ac_cv_prog_AR"; then
45941 # Extract the first word of "ar", so it can be a program name with args.
45942 set dummy ar; ac_word=$2
45943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45945 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45946 echo $ECHO_N "(cached) $ECHO_C" >&6
45948 if test -n "$ac_ct_AR"; then
45949 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45952 for as_dir in $PATH
45955 test -z "$as_dir" && as_dir=.
45956 for ac_exec_ext in '' $ac_executable_extensions; do
45957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45958 ac_cv_prog_ac_ct_AR="ar"
45959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45968 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45969 if test -n "$ac_ct_AR"; then
45970 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45971 echo "${ECHO_T}$ac_ct_AR" >&6; }
45973 { echo "$as_me:$LINENO: result: no" >&5
45974 echo "${ECHO_T}no" >&6; }
45977 if test "x$ac_ct_AR" = x; then
45980 case $cross_compiling:$ac_tool_warned in
45982 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45983 whose name does not start with the host triplet. If you think this
45984 configuration is useful to you, please write to autoconf@gnu.org." >&5
45985 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45986 whose name does not start with the host triplet. If you think this
45987 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45988 ac_tool_warned=yes ;;
45993 AR="$ac_cv_prog_AR"
46000 if test -n "$ac_tool_prefix"; then
46001 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46002 set dummy ${ac_tool_prefix}strip; ac_word=$2
46003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46005 if test "${ac_cv_prog_STRIP+set}" = set; then
46006 echo $ECHO_N "(cached) $ECHO_C" >&6
46008 if test -n "$STRIP"; then
46009 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46012 for as_dir in $PATH
46015 test -z "$as_dir" && as_dir=.
46016 for ac_exec_ext in '' $ac_executable_extensions; do
46017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46018 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46028 STRIP=$ac_cv_prog_STRIP
46029 if test -n "$STRIP"; then
46030 { echo "$as_me:$LINENO: result: $STRIP" >&5
46031 echo "${ECHO_T}$STRIP" >&6; }
46033 { echo "$as_me:$LINENO: result: no" >&5
46034 echo "${ECHO_T}no" >&6; }
46039 if test -z "$ac_cv_prog_STRIP"; then
46041 # Extract the first word of "strip", so it can be a program name with args.
46042 set dummy strip; ac_word=$2
46043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46045 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46046 echo $ECHO_N "(cached) $ECHO_C" >&6
46048 if test -n "$ac_ct_STRIP"; then
46049 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46052 for as_dir in $PATH
46055 test -z "$as_dir" && as_dir=.
46056 for ac_exec_ext in '' $ac_executable_extensions; do
46057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46058 ac_cv_prog_ac_ct_STRIP="strip"
46059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46068 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46069 if test -n "$ac_ct_STRIP"; then
46070 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46071 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46073 { echo "$as_me:$LINENO: result: no" >&5
46074 echo "${ECHO_T}no" >&6; }
46077 if test "x$ac_ct_STRIP" = x; then
46080 case $cross_compiling:$ac_tool_warned in
46082 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46083 whose name does not start with the host triplet. If you think this
46084 configuration is useful to you, please write to autoconf@gnu.org." >&5
46085 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46086 whose name does not start with the host triplet. If you think this
46087 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46088 ac_tool_warned=yes ;;
46093 STRIP="$ac_cv_prog_STRIP"
46096 if test -n "$ac_tool_prefix"; then
46097 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46098 set dummy ${ac_tool_prefix}nm; ac_word=$2
46099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46101 if test "${ac_cv_prog_NM+set}" = set; then
46102 echo $ECHO_N "(cached) $ECHO_C" >&6
46104 if test -n "$NM"; then
46105 ac_cv_prog_NM="$NM" # Let the user override the test.
46107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46108 for as_dir in $PATH
46111 test -z "$as_dir" && as_dir=.
46112 for ac_exec_ext in '' $ac_executable_extensions; do
46113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46114 ac_cv_prog_NM="${ac_tool_prefix}nm"
46115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46125 if test -n "$NM"; then
46126 { echo "$as_me:$LINENO: result: $NM" >&5
46127 echo "${ECHO_T}$NM" >&6; }
46129 { echo "$as_me:$LINENO: result: no" >&5
46130 echo "${ECHO_T}no" >&6; }
46135 if test -z "$ac_cv_prog_NM"; then
46137 # Extract the first word of "nm", so it can be a program name with args.
46138 set dummy nm; ac_word=$2
46139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46141 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46142 echo $ECHO_N "(cached) $ECHO_C" >&6
46144 if test -n "$ac_ct_NM"; then
46145 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46148 for as_dir in $PATH
46151 test -z "$as_dir" && as_dir=.
46152 for ac_exec_ext in '' $ac_executable_extensions; do
46153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46154 ac_cv_prog_ac_ct_NM="nm"
46155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46164 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46165 if test -n "$ac_ct_NM"; then
46166 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46167 echo "${ECHO_T}$ac_ct_NM" >&6; }
46169 { echo "$as_me:$LINENO: result: no" >&5
46170 echo "${ECHO_T}no" >&6; }
46173 if test "x$ac_ct_NM" = x; then
46176 case $cross_compiling:$ac_tool_warned in
46178 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46179 whose name does not start with the host triplet. If you think this
46180 configuration is useful to you, please write to autoconf@gnu.org." >&5
46181 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46182 whose name does not start with the host triplet. If you think this
46183 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46184 ac_tool_warned=yes ;;
46189 NM="$ac_cv_prog_NM"
46193 case ${BAKEFILE_HOST} in
46195 INSTALL_DIR="mkdir -p"
46198 INSTALL_DIR='$(INSTALL) -d'
46204 case ${BAKEFILE_HOST} in
46205 *-*-cygwin* | *-*-mingw32* )
46206 LDFLAGS_GUI="-mwindows"
46212 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46213 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46214 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46215 echo $ECHO_N "(cached) $ECHO_C" >&6
46218 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46219 egrep -s GNU > /dev/null); then
46220 bakefile_cv_prog_makeisgnu="yes"
46222 bakefile_cv_prog_makeisgnu="no"
46226 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46227 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46229 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46246 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46247 case "${BAKEFILE_HOST}" in
46254 *-pc-os2_emx | *-pc-os2-emx )
46264 powerpc-apple-macos* )
46273 case "$BAKEFILE_FORCE_PLATFORM" in
46294 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46295 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46296 { (exit 1); exit 1; }; }
46311 # Check whether --enable-omf was given.
46312 if test "${enable_omf+set}" = set; then
46313 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46317 case "${BAKEFILE_HOST}" in
46319 if test "x$GCC" = "xyes"; then
46320 CFLAGS="$CFLAGS -fno-common"
46321 CXXFLAGS="$CXXFLAGS -fno-common"
46323 if test "x$XLCC" = "xyes"; then
46324 CFLAGS="$CFLAGS -qnocommon"
46325 CXXFLAGS="$CXXFLAGS -qnocommon"
46329 *-pc-os2_emx | *-pc-os2-emx )
46330 if test "x$bk_os2_use_omf" = "xyes" ; then
46333 LDFLAGS="-Zomf $LDFLAGS"
46334 CFLAGS="-Zomf $CFLAGS"
46335 CXXFLAGS="-Zomf $CXXFLAGS"
46343 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46349 SO_SUFFIX_MODULE="so"
46354 DLLPREFIX_MODULE=""
46358 case "${BAKEFILE_HOST}" in
46361 SO_SUFFIX_MODULE="sl"
46365 SO_SUFFIX_MODULE="a"
46369 SO_SUFFIX_MODULE="dll"
46370 DLLIMP_SUFFIX="dll.a"
46377 SO_SUFFIX_MODULE="dll"
46378 DLLIMP_SUFFIX="dll.a"
46388 *-pc-os2_emx | *-pc-os2-emx )
46390 SO_SUFFIX_MODULE="dll"
46391 DLLIMP_SUFFIX=$OS2_LIBEXT
46395 LIBEXT=".$OS2_LIBEXT"
46400 SO_SUFFIX_MODULE="bundle"
46404 if test "x$DLLIMP_SUFFIX" = "x" ; then
46405 DLLIMP_SUFFIX="$SO_SUFFIX"
46420 if test "x$GCC" = "xyes"; then
46424 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46425 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46428 case "${BAKEFILE_HOST}" in
46430 if test "x$GCC" != "xyes"; then
46431 LDFLAGS="$LDFLAGS -L/usr/lib"
46433 SHARED_LD_CC="${CC} -b -o"
46434 SHARED_LD_CXX="${CXX} -b -o"
46440 if test "x$GCC" != "xyes"; then
46441 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46442 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46443 if test "${bakefile_cv_prog_icc+set}" = set; then
46444 echo $ECHO_N "(cached) $ECHO_C" >&6
46447 cat >conftest.$ac_ext <<_ACEOF
46450 cat confdefs.h >>conftest.$ac_ext
46451 cat >>conftest.$ac_ext <<_ACEOF
46452 /* end confdefs.h. */
46458 #ifndef __INTEL_COMPILER
46466 rm -f conftest.$ac_objext
46467 if { (ac_try="$ac_compile"
46468 case "(($ac_try" in
46469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46470 *) ac_try_echo=$ac_try;;
46472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46473 (eval "$ac_compile") 2>conftest.er1
46475 grep -v '^ *+' conftest.er1 >conftest.err
46477 cat conftest.err >&5
46478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46479 (exit $ac_status); } && {
46480 test -z "$ac_c_werror_flag" ||
46481 test ! -s conftest.err
46482 } && test -s conftest.$ac_objext; then
46483 bakefile_cv_prog_icc=yes
46485 echo "$as_me: failed program was:" >&5
46486 sed 's/^/| /' conftest.$ac_ext >&5
46488 bakefile_cv_prog_icc=no
46492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46495 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46496 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46497 if test "$bakefile_cv_prog_icc" = "yes"; then
46504 if test "x$GCC" != xyes ; then
46505 SHARED_LD_CC="${CC} -G -o"
46506 SHARED_LD_CXX="${CXX} -G -o"
46514 cat <<EOF >shared-ld-sh
46516 #-----------------------------------------------------------------------------
46517 #-- Name: distrib/mac/shared-ld-sh
46518 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46519 #-- Author: Gilles Depeyrot
46520 #-- Copyright: (c) 2002 Gilles Depeyrot
46521 #-- Licence: any use permitted
46522 #-----------------------------------------------------------------------------
46527 linking_flag="-dynamiclib"
46528 ldargs="-r -keep_private_externs -nostdlib"
46530 while test ${D}# -gt 0; do
46537 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46538 # collect these options and values
46539 args="${D}{args} ${D}1 ${D}2"
46544 # collect these load args
46545 ldargs="${D}{ldargs} ${D}1"
46548 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46549 # collect these options
46550 args="${D}{args} ${D}1"
46553 -dynamiclib|-bundle)
46554 linking_flag="${D}1"
46558 echo "shared-ld: unhandled option '${D}1'"
46562 *.o | *.a | *.dylib)
46563 # collect object files
46564 objects="${D}{objects} ${D}1"
46568 echo "shared-ld: unhandled argument '${D}1'"
46579 # Link one module containing all the others
46581 if test ${D}{verbose} = 1; then
46582 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46584 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46588 # Link the shared library from the single module created, but only if the
46589 # previous command didn't fail:
46591 if test ${D}{status} = 0; then
46592 if test ${D}{verbose} = 1; then
46593 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46595 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46600 # Remove intermediate module
46602 rm -f master.${D}${D}.o
46607 chmod +x shared-ld-sh
46609 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46610 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46613 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46614 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46615 if test "${bakefile_cv_gcc31+set}" = set; then
46616 echo $ECHO_N "(cached) $ECHO_C" >&6
46619 cat >conftest.$ac_ext <<_ACEOF
46622 cat confdefs.h >>conftest.$ac_ext
46623 cat >>conftest.$ac_ext <<_ACEOF
46624 /* end confdefs.h. */
46630 #if (__GNUC__ < 3) || \
46631 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46639 rm -f conftest.$ac_objext
46640 if { (ac_try="$ac_compile"
46641 case "(($ac_try" in
46642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46643 *) ac_try_echo=$ac_try;;
46645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46646 (eval "$ac_compile") 2>conftest.er1
46648 grep -v '^ *+' conftest.er1 >conftest.err
46650 cat conftest.err >&5
46651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46652 (exit $ac_status); } && {
46653 test -z "$ac_c_werror_flag" ||
46654 test ! -s conftest.err
46655 } && test -s conftest.$ac_objext; then
46657 bakefile_cv_gcc31=yes
46660 echo "$as_me: failed program was:" >&5
46661 sed 's/^/| /' conftest.$ac_ext >&5
46664 bakefile_cv_gcc31=no
46669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46672 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46673 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46674 if test "$bakefile_cv_gcc31" = "no"; then
46675 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46676 SHARED_LD_CXX="$SHARED_LD_CC"
46678 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46679 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46682 if test "x$GCC" == "xyes"; then
46683 PIC_FLAG="-dynamic -fPIC"
46685 if test "x$XLCC" = "xyes"; then
46686 PIC_FLAG="-dynamic -DPIC"
46691 if test "x$GCC" = "xyes"; then
46694 case "${BAKEFILE_HOST}" in
46696 LD_EXPFULL="-Wl,-bexpfull"
46700 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46701 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46703 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46704 set dummy makeC++SharedLib; ac_word=$2
46705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46707 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46708 echo $ECHO_N "(cached) $ECHO_C" >&6
46710 if test -n "$AIX_CXX_LD"; then
46711 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46714 for as_dir in $PATH
46717 test -z "$as_dir" && as_dir=.
46718 for ac_exec_ext in '' $ac_executable_extensions; do
46719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46720 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46728 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46731 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46732 if test -n "$AIX_CXX_LD"; then
46733 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46734 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46736 { echo "$as_me:$LINENO: result: no" >&5
46737 echo "${ECHO_T}no" >&6; }
46741 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46742 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46747 SHARED_LD_CC="${LD} -nostart -o"
46748 SHARED_LD_CXX="${LD} -nostart -o"
46752 if test "x$GCC" != "xyes"; then
46757 *-*-cygwin* | *-*-mingw32* )
46759 SHARED_LD_CC="\$(CC) -shared -o"
46760 SHARED_LD_CXX="\$(CXX) -shared -o"
46764 *-pc-os2_emx | *-pc-os2-emx )
46765 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46766 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46770 cat <<EOF >dllar.sh
46773 # dllar - a tool to build both a .dll and an .a file
46774 # from a set of object (.o) files for EMX/OS2.
46776 # Written by Andrew Zabolotny, bit@freya.etu.ru
46777 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46779 # This script will accept a set of files on the command line.
46780 # All the public symbols from the .o files will be exported into
46781 # a .DEF file, then linker will be run (through gcc) against them to
46782 # build a shared library consisting of all given .o files. All libraries
46783 # (.a) will be first decompressed into component .o files then act as
46784 # described above. You can optionally give a description (-d "description")
46785 # which will be put into .DLL. To see the list of accepted options (as well
46786 # as command-line format) simply run this program without options. The .DLL
46787 # is built to be imported by name (there is no guarantee that new versions
46788 # of the library you build will have same ordinals for same symbols).
46790 # dllar is free software; you can redistribute it and/or modify
46791 # it under the terms of the GNU General Public License as published by
46792 # the Free Software Foundation; either version 2, or (at your option)
46793 # any later version.
46795 # dllar is distributed in the hope that it will be useful,
46796 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46797 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46798 # GNU General Public License for more details.
46800 # You should have received a copy of the GNU General Public License
46801 # along with dllar; see the file COPYING. If not, write to the Free
46802 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46805 # To successfuly run this program you will need:
46806 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46807 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46809 # (used to build the .dll)
46811 # (used to create .def file from .o files)
46813 # (used to create .a file from .def file)
46814 # - GNU text utilites (cat, sort, uniq)
46815 # used to process emxexp output
46816 # - GNU file utilities (mv, rm)
46818 # - lxlite (optional, see flag below)
46819 # (used for general .dll cleanup)
46826 # basnam, variant of basename, which does _not_ remove the path, _iff_
46827 # second argument (suffix to remove) is given
46831 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46834 echo ${D}1 | sed 's/'${D}2'${D}//'
46837 echo "error in basnam ${D}*"
46843 # Cleanup temporary files and output
46846 for i in ${D}inputFiles ; do
46849 rm -rf \`basnam ${D}i !\`
46856 # Kill result in case of failure as there is just to many stupid make/nmake
46857 # things out there which doesn't do this.
46858 if [ ${D}# -eq 0 ]; then
46859 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46863 # Print usage and exit script with rc=1.
46865 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46866 echo ' [-name-mangler-script script.sh]'
46867 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46868 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46869 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46870 echo ' [*.o] [*.a]'
46871 echo '*> "output_file" should have no extension.'
46872 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46873 echo ' The import library name is derived from this and is set to "name".a,'
46874 echo ' unless overridden by -import'
46875 echo '*> "importlib_name" should have no extension.'
46876 echo ' If it has the .o, or .a extension, it is automatically removed.'
46877 echo ' This name is used as the import library name and may be longer and'
46878 echo ' more descriptive than the DLL name which has to follow the old '
46879 echo ' 8.3 convention of FAT.'
46880 echo '*> "script.sh may be given to override the output_file name by a'
46881 echo ' different name. It is mainly useful if the regular make process'
46882 echo ' of some package does not take into account OS/2 restriction of'
46883 echo ' DLL name lengths. It takes the importlib name as input and is'
46884 echo ' supposed to procude a shorter name as output. The script should'
46885 echo ' expect to get importlib_name without extension and should produce'
46886 echo ' a (max.) 8 letter name without extension.'
46887 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46888 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46889 echo ' These flags will be put at the start of GCC command line.'
46890 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46891 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46892 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46893 echo ' If the last character of a symbol is "*", all symbols beginning'
46894 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46895 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46896 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46897 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46898 echo ' C runtime DLLs.'
46899 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46900 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46901 echo ' unchanged to GCC at the end of command line.'
46902 echo '*> If you create a DLL from a library and you do not specify -o,'
46903 echo ' the basename for DLL and import library will be set to library name,'
46904 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46905 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46906 echo ' library will be renamed into gcc_s.a.'
46909 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46910 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46915 # Execute a command.
46916 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46917 # @Uses Whatever CleanUp() uses.
46923 if [ ${D}rcCmd -ne 0 ]; then
46924 echo "command failed, exit code="${D}rcCmd
46939 CFLAGS="-s -Zcrtdll"
46941 EXPORT_BY_ORDINALS=0
46946 case ${D}curDirS in
46950 curDirS=${D}{curDirS}"/"
46953 # Parse commandline
46956 while [ ${D}1 ]; do
46959 EXPORT_BY_ORDINALS=1;
46969 -name-mangler-script)
46990 exclude_symbols=${D}{exclude_symbols}${D}1" "
46994 library_flags=${D}{library_flags}${D}1" "
47013 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47016 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47017 if [ ${D}omfLinking -eq 1 ]; then
47018 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47020 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47025 if [ ${D}libsToLink -ne 0 ]; then
47026 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47028 for file in ${D}1 ; do
47029 if [ -f ${D}file ]; then
47030 inputFiles="${D}{inputFiles} ${D}file"
47034 if [ ${D}found -eq 0 ]; then
47035 echo "ERROR: No file(s) found: "${D}1
47042 done # iterate cmdline words
47045 if [ -z "${D}inputFiles" ]; then
47046 echo "dllar: no input files"
47050 # Now extract all .o files from .a files
47052 for file in ${D}inputFiles ; do
47063 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47068 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47070 if [ ${D}? -ne 0 ]; then
47071 echo "Failed to create subdirectory ./${D}dirname"
47075 # Append '!' to indicate archive
47076 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47077 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47080 for subfile in ${D}dirname/*.o* ; do
47081 if [ -f ${D}subfile ]; then
47083 if [ -s ${D}subfile ]; then
47084 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47085 newInputFiles="${D}newInputFiles ${D}subfile"
47089 if [ ${D}found -eq 0 ]; then
47090 echo "WARNING: there are no files in archive \\'${D}file\\'"
47094 newInputFiles="${D}{newInputFiles} ${D}file"
47098 inputFiles="${D}newInputFiles"
47100 # Output filename(s).
47102 if [ -z ${D}outFile ]; then
47104 set outFile ${D}inputFiles; outFile=${D}2
47107 # If it is an archive, remove the '!' and the '_%' suffixes
47108 case ${D}outFile in
47110 outFile=\`basnam ${D}outFile _%!\`
47115 case ${D}outFile in
47117 outFile=\`basnam ${D}outFile .dll\`
47120 outFile=\`basnam ${D}outFile .DLL\`
47123 outFile=\`basnam ${D}outFile .o\`
47126 outFile=\`basnam ${D}outFile .obj\`
47129 outFile=\`basnam ${D}outFile .a\`
47132 outFile=\`basnam ${D}outFile .lib\`
47137 case ${D}outimpFile in
47139 outimpFile=\`basnam ${D}outimpFile .a\`
47142 outimpFile=\`basnam ${D}outimpFile .lib\`
47147 if [ -z ${D}outimpFile ]; then
47148 outimpFile=${D}outFile
47150 defFile="${D}{outFile}.def"
47151 arcFile="${D}{outimpFile}.a"
47152 arcFile2="${D}{outimpFile}.lib"
47154 #create ${D}dllFile as something matching 8.3 restrictions,
47155 if [ -z ${D}renameScript ] ; then
47156 dllFile="${D}outFile"
47158 dllFile=\`${D}renameScript ${D}outimpFile\`
47161 if [ ${D}do_backup -ne 0 ] ; then
47162 if [ -f ${D}arcFile ] ; then
47163 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47165 if [ -f ${D}arcFile2 ] ; then
47166 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47170 # Extract public symbols from all the object files.
47171 tmpdefFile=${D}{defFile}_%
47172 rm -f ${D}tmpdefFile
47173 for file in ${D}inputFiles ; do
47178 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47183 # Create the def file.
47185 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47186 dllFile="${D}{dllFile}.dll"
47187 if [ ! -z ${D}description ]; then
47188 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47190 echo "EXPORTS" >> ${D}defFile
47192 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47193 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47195 # Checks if the export is ok or not.
47196 for word in ${D}exclude_symbols; do
47197 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47198 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47202 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47203 sed "=" < ${D}tmpdefFile | \\
47207 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47209 ' > ${D}{tmpdefFile}%
47210 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47212 rm -f ${D}{tmpdefFile}%
47214 cat ${D}tmpdefFile >> ${D}defFile
47215 rm -f ${D}tmpdefFile
47217 # Do linking, create implib, and apply lxlite.
47219 for file in ${D}inputFiles ; do
47224 gccCmdl="${D}gccCmdl ${D}file"
47228 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47229 touch "${D}{outFile}.dll"
47231 doCommand "emximp -o ${D}arcFile ${D}defFile"
47232 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47234 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47237 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47239 doCommand "emxomf -s -l ${D}arcFile"
47249 powerpc-apple-macos* | \
47250 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47260 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47261 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47262 { (exit 1); exit 1; }; }
47265 if test "x$PIC_FLAG" != "x" ; then
47266 PIC_FLAG="$PIC_FLAG -DPIC"
47269 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47270 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47272 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47273 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47292 case "${BAKEFILE_HOST}" in
47293 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47294 SONAME_FLAG="-Wl,-soname,"
47328 # Check whether --enable-dependency-tracking was given.
47329 if test "${enable_dependency_tracking+set}" = set; then
47330 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47334 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47335 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47338 if test "x$bk_use_trackdeps" = "xno" ; then
47340 { echo "$as_me:$LINENO: result: disabled" >&5
47341 echo "${ECHO_T}disabled" >&6; }
47345 if test "x$GCC" = "xyes"; then
47347 case "${BAKEFILE_HOST}" in
47349 DEPSFLAG="-no-cpp-precomp -MMD"
47355 { echo "$as_me:$LINENO: result: gcc" >&5
47356 echo "${ECHO_T}gcc" >&6; }
47357 elif test "x$MWCC" = "xyes"; then
47360 { echo "$as_me:$LINENO: result: mwcc" >&5
47361 echo "${ECHO_T}mwcc" >&6; }
47362 elif test "x$SUNCC" = "xyes"; then
47365 { echo "$as_me:$LINENO: result: Sun cc" >&5
47366 echo "${ECHO_T}Sun cc" >&6; }
47367 elif test "x$SGICC" = "xyes"; then
47370 { echo "$as_me:$LINENO: result: SGI cc" >&5
47371 echo "${ECHO_T}SGI cc" >&6; }
47372 elif test "x$HPCC" = "xyes"; then
47375 { echo "$as_me:$LINENO: result: HP cc" >&5
47376 echo "${ECHO_T}HP cc" >&6; }
47377 elif test "x$COMPAQCC" = "xyes"; then
47380 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47381 echo "${ECHO_T}Compaq cc" >&6; }
47384 { echo "$as_me:$LINENO: result: none" >&5
47385 echo "${ECHO_T}none" >&6; }
47388 if test $DEPS_TRACKING = 1 ; then
47394 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47395 # script. It is used to track C/C++ files dependencies in portable way.
47397 # Permission is given to use this file in any way.
47399 DEPSMODE=${DEPSMODE}
47401 DEPSFLAG="${DEPSFLAG}"
47403 mkdir -p ${D}DEPSDIR
47405 if test ${D}DEPSMODE = gcc ; then
47406 ${D}* ${D}{DEPSFLAG}
47408 if test ${D}{status} != 0 ; then
47411 # move created file to the location we want it in:
47412 while test ${D}# -gt 0; do
47426 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47427 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47428 if test -f ${D}depfile ; then
47429 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47432 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47433 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47434 if test ! -f ${D}depfile ; then
47435 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47436 depfile="${D}objfile.d"
47438 if test -f ${D}depfile ; then
47439 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47444 elif test ${D}DEPSMODE = mwcc ; then
47445 ${D}* || exit ${D}?
47446 # Run mwcc again with -MM and redirect into the dep file we want
47447 # NOTE: We can't use shift here because we need ${D}* to be valid
47449 for arg in ${D}* ; do
47450 if test "${D}prevarg" = "-o"; then
47463 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47465 elif test ${D}DEPSMODE = unixcc; then
47466 ${D}* || exit ${D}?
47467 # Run compiler again with deps flag and redirect into the dep file.
47468 # It doesn't work if the '-o FILE' option is used, but without it the
47469 # dependency file will contain the wrong name for the object. So it is
47470 # removed from the command line, and the dep file is fixed with sed.
47472 while test ${D}# -gt 0; do
47479 eval arg${D}#=\\${D}1
47480 cmd="${D}cmd \\${D}arg${D}#"
47485 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47494 BK_DEPS="`pwd`/bk-deps"
47502 case ${BAKEFILE_HOST} in
47503 *-*-cygwin* | *-*-mingw32* )
47504 if test -n "$ac_tool_prefix"; then
47505 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47506 set dummy ${ac_tool_prefix}windres; ac_word=$2
47507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47509 if test "${ac_cv_prog_WINDRES+set}" = set; then
47510 echo $ECHO_N "(cached) $ECHO_C" >&6
47512 if test -n "$WINDRES"; then
47513 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47516 for as_dir in $PATH
47519 test -z "$as_dir" && as_dir=.
47520 for ac_exec_ext in '' $ac_executable_extensions; do
47521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47522 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47532 WINDRES=$ac_cv_prog_WINDRES
47533 if test -n "$WINDRES"; then
47534 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47535 echo "${ECHO_T}$WINDRES" >&6; }
47537 { echo "$as_me:$LINENO: result: no" >&5
47538 echo "${ECHO_T}no" >&6; }
47543 if test -z "$ac_cv_prog_WINDRES"; then
47544 ac_ct_WINDRES=$WINDRES
47545 # Extract the first word of "windres", so it can be a program name with args.
47546 set dummy windres; ac_word=$2
47547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47549 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47550 echo $ECHO_N "(cached) $ECHO_C" >&6
47552 if test -n "$ac_ct_WINDRES"; then
47553 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47556 for as_dir in $PATH
47559 test -z "$as_dir" && as_dir=.
47560 for ac_exec_ext in '' $ac_executable_extensions; do
47561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47562 ac_cv_prog_ac_ct_WINDRES="windres"
47563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47572 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47573 if test -n "$ac_ct_WINDRES"; then
47574 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47575 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47577 { echo "$as_me:$LINENO: result: no" >&5
47578 echo "${ECHO_T}no" >&6; }
47581 if test "x$ac_ct_WINDRES" = x; then
47584 case $cross_compiling:$ac_tool_warned in
47586 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47587 whose name does not start with the host triplet. If you think this
47588 configuration is useful to you, please write to autoconf@gnu.org." >&5
47589 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47590 whose name does not start with the host triplet. If you think this
47591 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47592 ac_tool_warned=yes ;;
47594 WINDRES=$ac_ct_WINDRES
47597 WINDRES="$ac_cv_prog_WINDRES"
47602 *-*-darwin* | powerpc-apple-macos* )
47603 # Extract the first word of "Rez", so it can be a program name with args.
47604 set dummy Rez; ac_word=$2
47605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47607 if test "${ac_cv_prog_REZ+set}" = set; then
47608 echo $ECHO_N "(cached) $ECHO_C" >&6
47610 if test -n "$REZ"; then
47611 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47614 for as_dir in $PATH
47617 test -z "$as_dir" && as_dir=.
47618 for ac_exec_ext in '' $ac_executable_extensions; do
47619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47620 ac_cv_prog_REZ="Rez"
47621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47628 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47631 REZ=$ac_cv_prog_REZ
47632 if test -n "$REZ"; then
47633 { echo "$as_me:$LINENO: result: $REZ" >&5
47634 echo "${ECHO_T}$REZ" >&6; }
47636 { echo "$as_me:$LINENO: result: no" >&5
47637 echo "${ECHO_T}no" >&6; }
47641 # Extract the first word of "SetFile", so it can be a program name with args.
47642 set dummy SetFile; ac_word=$2
47643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47645 if test "${ac_cv_prog_SETFILE+set}" = set; then
47646 echo $ECHO_N "(cached) $ECHO_C" >&6
47648 if test -n "$SETFILE"; then
47649 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47652 for as_dir in $PATH
47655 test -z "$as_dir" && as_dir=.
47656 for ac_exec_ext in '' $ac_executable_extensions; do
47657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47658 ac_cv_prog_SETFILE="SetFile"
47659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47666 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47669 SETFILE=$ac_cv_prog_SETFILE
47670 if test -n "$SETFILE"; then
47671 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47672 echo "${ECHO_T}$SETFILE" >&6; }
47674 { echo "$as_me:$LINENO: result: no" >&5
47675 echo "${ECHO_T}no" >&6; }
47687 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47690 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47694 # Check whether --enable-precomp-headers was given.
47695 if test "${enable_precomp_headers+set}" = set; then
47696 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47705 case ${BAKEFILE_HOST} in
47711 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47712 if test "x$GCC" = "xyes"; then
47713 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47714 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47715 cat >conftest.$ac_ext <<_ACEOF
47718 cat confdefs.h >>conftest.$ac_ext
47719 cat >>conftest.$ac_ext <<_ACEOF
47720 /* end confdefs.h. */
47726 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47727 There is no PCH support
47730 There is no PCH support
47732 #if (__GNUC__ == 3) && \
47733 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47734 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47735 ( defined(__INTEL_COMPILER) )
47736 There is no PCH support
47743 rm -f conftest.$ac_objext
47744 if { (ac_try="$ac_compile"
47745 case "(($ac_try" in
47746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47747 *) ac_try_echo=$ac_try;;
47749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47750 (eval "$ac_compile") 2>conftest.er1
47752 grep -v '^ *+' conftest.er1 >conftest.err
47754 cat conftest.err >&5
47755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47756 (exit $ac_status); } && {
47757 test -z "$ac_c_werror_flag" ||
47758 test ! -s conftest.err
47759 } && test -s conftest.$ac_objext; then
47761 { echo "$as_me:$LINENO: result: yes" >&5
47762 echo "${ECHO_T}yes" >&6; }
47766 echo "$as_me: failed program was:" >&5
47767 sed 's/^/| /' conftest.$ac_ext >&5
47770 cat >conftest.$ac_ext <<_ACEOF
47773 cat confdefs.h >>conftest.$ac_ext
47774 cat >>conftest.$ac_ext <<_ACEOF
47775 /* end confdefs.h. */
47781 #if !defined(__INTEL_COMPILER) || \
47782 (__INTEL_COMPILER < 800)
47783 There is no PCH support
47790 rm -f conftest.$ac_objext
47791 if { (ac_try="$ac_compile"
47792 case "(($ac_try" in
47793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47794 *) ac_try_echo=$ac_try;;
47796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47797 (eval "$ac_compile") 2>conftest.er1
47799 grep -v '^ *+' conftest.er1 >conftest.err
47801 cat conftest.err >&5
47802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47803 (exit $ac_status); } && {
47804 test -z "$ac_c_werror_flag" ||
47805 test ! -s conftest.err
47806 } && test -s conftest.$ac_objext; then
47808 { echo "$as_me:$LINENO: result: yes" >&5
47809 echo "${ECHO_T}yes" >&6; }
47813 echo "$as_me: failed program was:" >&5
47814 sed 's/^/| /' conftest.$ac_ext >&5
47817 { echo "$as_me:$LINENO: result: no" >&5
47818 echo "${ECHO_T}no" >&6; }
47822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47827 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47831 cat <<EOF >bk-make-pch
47834 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47835 # script. It is used to generated precompiled headers.
47837 # Permission is given to use this file in any way.
47847 while test ${D}{#} -gt 0; do
47851 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47852 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47853 headerfile="${D}{incdir}/${D}{header}"
47856 -use-pch|-use_pch )
47861 if test ${D}add_to_cmdline = 1 ; then
47862 compiler="${D}{compiler} ${D}{1}"
47867 if test "x${D}{headerfile}" = "x" ; then
47868 echo "error: can't find header ${D}{header} in include paths" >&2
47870 if test -f ${D}{outfile} ; then
47871 rm -f ${D}{outfile}
47873 mkdir -p \`dirname ${D}{outfile}\`
47875 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47877 if test "x${GCC_PCH}" = "x1" ; then
47878 # can do this because gcc is >= 3.4:
47879 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47880 elif test "x${ICC_PCH}" = "x1" ; then
47881 filename=pch_gen-${D}${D}
47882 file=${D}{filename}.c
47883 dfile=${D}{filename}.d
47884 cat > ${D}file <<EOT
47885 #include "${D}header"
47887 # using -MF icc complains about differing command lines in creation/use
47888 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47889 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47890 rm -f ${D}file ${D}dfile ${D}{filename}.o
47896 chmod +x bk-make-pch
47897 BK_MAKE_PCH="`pwd`/bk-make-pch"
47906 COND_BUILD_DEBUG="#"
47907 if test "x$BUILD" = "xdebug" ; then
47908 COND_BUILD_DEBUG=""
47911 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47912 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47913 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47916 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47917 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47918 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47921 COND_BUILD_DEBUG_UNICODE_0="#"
47922 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47923 COND_BUILD_DEBUG_UNICODE_0=""
47926 COND_BUILD_DEBUG_UNICODE_1="#"
47927 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47928 COND_BUILD_DEBUG_UNICODE_1=""
47931 COND_BUILD_RELEASE="#"
47932 if test "x$BUILD" = "xrelease" ; then
47933 COND_BUILD_RELEASE=""
47936 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47937 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47938 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47941 COND_BUILD_RELEASE_UNICODE_0="#"
47942 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47943 COND_BUILD_RELEASE_UNICODE_0=""
47946 COND_BUILD_RELEASE_UNICODE_1="#"
47947 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47948 COND_BUILD_RELEASE_UNICODE_1=""
47951 COND_DEBUG_FLAG_1="#"
47952 if test "x$DEBUG_FLAG" = "x1" ; then
47953 COND_DEBUG_FLAG_1=""
47956 COND_DEBUG_INFO_0="#"
47957 if test "x$DEBUG_INFO" = "x0" ; then
47958 COND_DEBUG_INFO_0=""
47961 COND_DEBUG_INFO_1="#"
47962 if test "x$DEBUG_INFO" = "x1" ; then
47963 COND_DEBUG_INFO_1=""
47966 COND_DEPS_TRACKING_0="#"
47967 if test "x$DEPS_TRACKING" = "x0" ; then
47968 COND_DEPS_TRACKING_0=""
47971 COND_DEPS_TRACKING_1="#"
47972 if test "x$DEPS_TRACKING" = "x1" ; then
47973 COND_DEPS_TRACKING_1=""
47977 if test "x$GCC_PCH" = "x1" ; then
47982 if test "x$ICC_PCH" = "x1" ; then
47986 COND_MONOLITHIC_0="#"
47987 if test "x$MONOLITHIC" = "x0" ; then
47988 COND_MONOLITHIC_0=""
47991 COND_MONOLITHIC_0_SHARED_0="#"
47992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47993 COND_MONOLITHIC_0_SHARED_0=""
47996 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47998 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48006 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48007 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48008 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48011 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48012 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48013 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48016 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48017 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48018 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48021 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48022 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48023 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48026 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48027 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48028 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48031 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48032 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48033 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48036 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48037 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48038 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48041 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48042 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48043 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48046 COND_MONOLITHIC_0_SHARED_1="#"
48047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48048 COND_MONOLITHIC_0_SHARED_1=""
48051 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48053 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48056 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48058 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48061 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48063 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48066 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48068 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48071 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48073 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48076 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48078 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48081 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48083 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48086 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48088 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48091 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48093 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48096 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48098 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48101 COND_MONOLITHIC_0_USE_AUI_1="#"
48102 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48103 COND_MONOLITHIC_0_USE_AUI_1=""
48106 COND_MONOLITHIC_0_USE_GUI_1="#"
48107 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48108 COND_MONOLITHIC_0_USE_GUI_1=""
48111 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48112 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48113 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48116 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48117 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48118 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48121 COND_MONOLITHIC_0_USE_HTML_1="#"
48122 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48123 COND_MONOLITHIC_0_USE_HTML_1=""
48126 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48127 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48128 COND_MONOLITHIC_0_USE_MEDIA_1=""
48131 COND_MONOLITHIC_0_USE_ODBC_1="#"
48132 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48133 COND_MONOLITHIC_0_USE_ODBC_1=""
48136 COND_MONOLITHIC_0_USE_QA_1="#"
48137 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48138 COND_MONOLITHIC_0_USE_QA_1=""
48141 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48142 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48143 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48146 COND_MONOLITHIC_0_USE_STC_1="#"
48147 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48148 COND_MONOLITHIC_0_USE_STC_1=""
48151 COND_MONOLITHIC_0_USE_XRC_1="#"
48152 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48153 COND_MONOLITHIC_0_USE_XRC_1=""
48156 COND_MONOLITHIC_1="#"
48157 if test "x$MONOLITHIC" = "x1" ; then
48158 COND_MONOLITHIC_1=""
48161 COND_MONOLITHIC_1_SHARED_0="#"
48162 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48163 COND_MONOLITHIC_1_SHARED_0=""
48166 COND_MONOLITHIC_1_SHARED_1="#"
48167 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48168 COND_MONOLITHIC_1_SHARED_1=""
48171 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48172 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48173 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48176 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48177 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48178 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48181 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48182 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48183 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48186 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48187 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48188 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48191 COND_PLATFORM_MACOSX_1="#"
48192 if test "x$PLATFORM_MACOSX" = "x1" ; then
48193 COND_PLATFORM_MACOSX_1=""
48196 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48197 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48198 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48201 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48202 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48203 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48206 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48207 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48208 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48211 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48212 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48213 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48216 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48217 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48218 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48221 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48222 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48223 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48226 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48227 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48228 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48231 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48232 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48233 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48236 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48237 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48238 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48241 COND_PLATFORM_MACOS_1="#"
48242 if test "x$PLATFORM_MACOS" = "x1" ; then
48243 COND_PLATFORM_MACOS_1=""
48246 COND_PLATFORM_MAC_1="#"
48247 if test "x$PLATFORM_MAC" = "x1" ; then
48248 COND_PLATFORM_MAC_1=""
48251 COND_PLATFORM_MSDOS_0="#"
48252 if test "x$PLATFORM_MSDOS" = "x0" ; then
48253 COND_PLATFORM_MSDOS_0=""
48256 COND_PLATFORM_MSDOS_1="#"
48257 if test "x$PLATFORM_MSDOS" = "x1" ; then
48258 COND_PLATFORM_MSDOS_1=""
48261 COND_PLATFORM_OS2_1="#"
48262 if test "x$PLATFORM_OS2" = "x1" ; then
48263 COND_PLATFORM_OS2_1=""
48266 COND_PLATFORM_UNIX_0="#"
48267 if test "x$PLATFORM_UNIX" = "x0" ; then
48268 COND_PLATFORM_UNIX_0=""
48271 COND_PLATFORM_UNIX_1="#"
48272 if test "x$PLATFORM_UNIX" = "x1" ; then
48273 COND_PLATFORM_UNIX_1=""
48276 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48277 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48278 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48281 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48282 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48283 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48286 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48287 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48288 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48291 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48292 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48293 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48296 COND_PLATFORM_WIN32_0="#"
48297 if test "x$PLATFORM_WIN32" = "x0" ; then
48298 COND_PLATFORM_WIN32_0=""
48301 COND_PLATFORM_WIN32_1="#"
48302 if test "x$PLATFORM_WIN32" = "x1" ; then
48303 COND_PLATFORM_WIN32_1=""
48307 if test "x$SHARED" = "x0" ; then
48311 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48312 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48313 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48316 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48317 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48318 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48321 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48322 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48323 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48326 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48327 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48328 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48331 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48332 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48333 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48336 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48337 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48338 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48341 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48342 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48343 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48346 COND_SHARED_0_USE_STC_1="#"
48347 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48348 COND_SHARED_0_USE_STC_1=""
48351 COND_SHARED_0_USE_XRC_1="#"
48352 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48353 COND_SHARED_0_USE_XRC_1=""
48356 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48357 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48358 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48361 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48362 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48363 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48366 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48367 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48368 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48371 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48372 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48373 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48377 if test "x$SHARED" = "x1" ; then
48381 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48382 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48383 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48386 COND_SHARED_1_USE_XRC_1="#"
48387 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48388 COND_SHARED_1_USE_XRC_1=""
48392 if test "x$TOOLKIT" = "x" ; then
48396 COND_TOOLKIT_COCOA="#"
48397 if test "x$TOOLKIT" = "xCOCOA" ; then
48398 COND_TOOLKIT_COCOA=""
48401 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48402 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48403 COND_TOOLKIT_COCOA_USE_GUI_1=""
48406 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48407 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48408 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48411 COND_TOOLKIT_DFB="#"
48412 if test "x$TOOLKIT" = "xDFB" ; then
48413 COND_TOOLKIT_DFB=""
48416 COND_TOOLKIT_DFB_USE_GUI_1="#"
48417 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48418 COND_TOOLKIT_DFB_USE_GUI_1=""
48421 COND_TOOLKIT_GTK="#"
48422 if test "x$TOOLKIT" = "xGTK" ; then
48423 COND_TOOLKIT_GTK=""
48426 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48427 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48428 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48431 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48432 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48433 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48436 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48437 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48438 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48441 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48442 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48443 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48446 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48447 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48448 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48451 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48452 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48453 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48456 COND_TOOLKIT_GTK_USE_GUI_1="#"
48457 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48458 COND_TOOLKIT_GTK_USE_GUI_1=""
48461 COND_TOOLKIT_MAC="#"
48462 if test "x$TOOLKIT" = "xMAC" ; then
48463 COND_TOOLKIT_MAC=""
48466 COND_TOOLKIT_MAC_USE_GUI_1="#"
48467 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48468 COND_TOOLKIT_MAC_USE_GUI_1=""
48471 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48472 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48473 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48476 COND_TOOLKIT_MGL="#"
48477 if test "x$TOOLKIT" = "xMGL" ; then
48478 COND_TOOLKIT_MGL=""
48481 COND_TOOLKIT_MGL_USE_GUI_1="#"
48482 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48483 COND_TOOLKIT_MGL_USE_GUI_1=""
48486 COND_TOOLKIT_MOTIF="#"
48487 if test "x$TOOLKIT" = "xMOTIF" ; then
48488 COND_TOOLKIT_MOTIF=""
48491 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48492 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48493 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48496 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48497 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48498 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48501 COND_TOOLKIT_MSW="#"
48502 if test "x$TOOLKIT" = "xMSW" ; then
48503 COND_TOOLKIT_MSW=""
48506 COND_TOOLKIT_MSW_USE_GUI_1="#"
48507 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48508 COND_TOOLKIT_MSW_USE_GUI_1=""
48511 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48512 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48513 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48516 COND_TOOLKIT_MSW_WXUNIV_0="#"
48517 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48518 COND_TOOLKIT_MSW_WXUNIV_0=""
48521 COND_TOOLKIT_PM="#"
48522 if test "x$TOOLKIT" = "xPM" ; then
48526 COND_TOOLKIT_PM_USE_GUI_1="#"
48527 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48528 COND_TOOLKIT_PM_USE_GUI_1=""
48531 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48532 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48533 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48536 COND_TOOLKIT_WINCE="#"
48537 if test "x$TOOLKIT" = "xWINCE" ; then
48538 COND_TOOLKIT_WINCE=""
48541 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48542 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48543 COND_TOOLKIT_WINCE_USE_GUI_1=""
48546 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48547 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48548 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48551 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48552 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48553 COND_TOOLKIT_WINCE_WXUNIV_0=""
48556 COND_TOOLKIT_X11="#"
48557 if test "x$TOOLKIT" = "xX11" ; then
48558 COND_TOOLKIT_X11=""
48561 COND_TOOLKIT_X11_USE_GUI_1="#"
48562 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48563 COND_TOOLKIT_X11_USE_GUI_1=""
48567 if test "x$UNICODE" = "x1" ; then
48571 COND_USE_EXCEPTIONS_0="#"
48572 if test "x$USE_EXCEPTIONS" = "x0" ; then
48573 COND_USE_EXCEPTIONS_0=""
48576 COND_USE_EXCEPTIONS_1="#"
48577 if test "x$USE_EXCEPTIONS" = "x1" ; then
48578 COND_USE_EXCEPTIONS_1=""
48582 if test "x$USE_GUI" = "x0" ; then
48587 if test "x$USE_GUI" = "x1" ; then
48591 COND_USE_GUI_1_USE_OPENGL_1="#"
48592 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48593 COND_USE_GUI_1_USE_OPENGL_1=""
48596 COND_USE_GUI_1_WXUNIV_0="#"
48597 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48598 COND_USE_GUI_1_WXUNIV_0=""
48601 COND_USE_GUI_1_WXUNIV_1="#"
48602 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48603 COND_USE_GUI_1_WXUNIV_1=""
48606 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48607 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48608 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48611 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48612 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48613 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48616 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48617 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48618 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48621 COND_USE_ODBC_1="#"
48622 if test "x$USE_ODBC" = "x1" ; then
48626 COND_USE_OPENGL_1="#"
48627 if test "x$USE_OPENGL" = "x1" ; then
48628 COND_USE_OPENGL_1=""
48632 if test "x$USE_PCH" = "x1" ; then
48636 COND_USE_PLUGINS_0="#"
48637 if test "x$USE_PLUGINS" = "x0" ; then
48638 COND_USE_PLUGINS_0=""
48641 COND_USE_RTTI_0="#"
48642 if test "x$USE_RTTI" = "x0" ; then
48646 COND_USE_RTTI_1="#"
48647 if test "x$USE_RTTI" = "x1" ; then
48651 COND_USE_SOSYMLINKS_1="#"
48652 if test "x$USE_SOSYMLINKS" = "x1" ; then
48653 COND_USE_SOSYMLINKS_1=""
48656 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48657 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48658 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48661 COND_USE_SOVERLINUX_1="#"
48662 if test "x$USE_SOVERLINUX" = "x1" ; then
48663 COND_USE_SOVERLINUX_1=""
48666 COND_USE_SOVERSION_0="#"
48667 if test "x$USE_SOVERSION" = "x0" ; then
48668 COND_USE_SOVERSION_0=""
48671 COND_USE_SOVERSOLARIS_1="#"
48672 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48673 COND_USE_SOVERSOLARIS_1=""
48677 if test "x$USE_STC" = "x1" ; then
48681 COND_USE_THREADS_0="#"
48682 if test "x$USE_THREADS" = "x0" ; then
48683 COND_USE_THREADS_0=""
48686 COND_USE_THREADS_1="#"
48687 if test "x$USE_THREADS" = "x1" ; then
48688 COND_USE_THREADS_1=""
48692 if test "x$USE_XRC" = "x1" ; then
48696 COND_WINDOWS_IMPLIB_1="#"
48697 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48698 COND_WINDOWS_IMPLIB_1=""
48701 COND_WITH_PLUGIN_SDL_1="#"
48702 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48703 COND_WITH_PLUGIN_SDL_1=""
48707 if test "x$WXUNIV" = "x0" ; then
48712 if test "x$WXUNIV" = "x1" ; then
48716 COND_WXUSE_EXPAT_BUILTIN="#"
48717 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48718 COND_WXUSE_EXPAT_BUILTIN=""
48721 COND_WXUSE_LIBJPEG_BUILTIN="#"
48722 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48723 COND_WXUSE_LIBJPEG_BUILTIN=""
48726 COND_WXUSE_LIBPNG_BUILTIN="#"
48727 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48728 COND_WXUSE_LIBPNG_BUILTIN=""
48731 COND_WXUSE_LIBTIFF_BUILTIN="#"
48732 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48733 COND_WXUSE_LIBTIFF_BUILTIN=""
48736 COND_WXUSE_ODBC_BUILTIN="#"
48737 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48738 COND_WXUSE_ODBC_BUILTIN=""
48741 COND_WXUSE_REGEX_BUILTIN="#"
48742 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48743 COND_WXUSE_REGEX_BUILTIN=""
48746 COND_WXUSE_ZLIB_BUILTIN="#"
48747 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48748 COND_WXUSE_ZLIB_BUILTIN=""
48753 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48754 { { 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
48755 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;}
48756 { (exit 1); exit 1; }; }
48759 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48760 { { 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
48761 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;}
48762 { (exit 1); exit 1; }; }
48766 if test $GCC_PCH = 1
48768 if test "$wx_cv_gcc_pch_bug" = yes; then
48769 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48770 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48771 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48772 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48773 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48774 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48777 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48781 if test "$wxUSE_MAC" = 1 ; then
48782 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48783 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48789 if test "$wxUSE_SHARED" = "yes"; then
48791 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48792 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48795 *-pc-os2_emx | *-pc-os2-emx )
48796 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48797 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48798 cp -p ${srcdir}/src/os2/dllnames.sh .
48799 cp -p ${srcdir}/src/os2/dllar.sh .
48804 EXE_LINKER="$CXX -o"
48807 if test "$wxUSE_OMF" = "yes"; then
48809 *-pc-os2_emx | *-pc-os2-emx )
48810 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48811 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48812 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48817 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48819 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48881 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48882 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48883 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48884 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48885 echo $ECHO_N "(cached) $ECHO_C" >&6
48887 cat >conftest.make <<\_ACEOF
48890 @echo '@@@%%%=$(MAKE)=@@@%%%'
48892 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48893 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48894 *@@@%%%=?*=@@@%%%*)
48895 eval ac_cv_prog_make_${ac_make}_set=yes;;
48897 eval ac_cv_prog_make_${ac_make}_set=no;;
48899 rm -f conftest.make
48901 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48902 { echo "$as_me:$LINENO: result: yes" >&5
48903 echo "${ECHO_T}yes" >&6; }
48906 { echo "$as_me:$LINENO: result: no" >&5
48907 echo "${ECHO_T}no" >&6; }
48908 SET_MAKE="MAKE=${MAKE-make}"
48913 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48916 if test "$USE_WIN32" = 1; then
48917 ac_config_commands="$ac_config_commands
48923 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48926 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48929 if test "$wx_cv_version_script" = "yes"; then
48930 ac_config_files="$ac_config_files version-script"
48933 ac_config_files="$ac_config_files Makefile"
48936 ac_config_commands="$ac_config_commands wx-config"
48940 if test "$wxWITH_SUBDIRS" != "no"; then
48941 if test "$wxUSE_GUI" = "yes"; then
48942 SUBDIRS="samples demos utils"
48943 else SUBDIRS="samples utils"
48948 # Check whether --with-cppunit-prefix was given.
48949 if test "${with_cppunit_prefix+set}" = set; then
48950 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48952 cppunit_config_prefix=""
48956 # Check whether --with-cppunit-exec-prefix was given.
48957 if test "${with_cppunit_exec_prefix+set}" = set; then
48958 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48960 cppunit_config_exec_prefix=""
48964 if test x$cppunit_config_exec_prefix != x ; then
48965 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48966 if test x${CPPUNIT_CONFIG+set} != xset ; then
48967 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48970 if test x$cppunit_config_prefix != x ; then
48971 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48972 if test x${CPPUNIT_CONFIG+set} != xset ; then
48973 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48977 # Extract the first word of "cppunit-config", so it can be a program name with args.
48978 set dummy cppunit-config; ac_word=$2
48979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48981 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48982 echo $ECHO_N "(cached) $ECHO_C" >&6
48984 case $CPPUNIT_CONFIG in
48986 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48990 for as_dir in $PATH
48993 test -z "$as_dir" && as_dir=.
48994 for ac_exec_ext in '' $ac_executable_extensions; do
48995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48996 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49004 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49008 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49009 if test -n "$CPPUNIT_CONFIG"; then
49010 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49011 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49013 { echo "$as_me:$LINENO: result: no" >&5
49014 echo "${ECHO_T}no" >&6; }
49018 cppunit_version_min=1.8.0
49020 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49021 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49023 if test "$CPPUNIT_CONFIG" = "no" ; then
49024 { echo "$as_me:$LINENO: result: no" >&5
49025 echo "${ECHO_T}no" >&6; }
49028 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49029 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49030 cppunit_version=`$CPPUNIT_CONFIG --version`
49032 cppunit_major_version=`echo $cppunit_version | \
49033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49034 cppunit_minor_version=`echo $cppunit_version | \
49035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49036 cppunit_micro_version=`echo $cppunit_version | \
49037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49039 cppunit_major_min=`echo $cppunit_version_min | \
49040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49041 if test "x${cppunit_major_min}" = "x" ; then
49042 cppunit_major_min=0
49045 cppunit_minor_min=`echo $cppunit_version_min | \
49046 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49047 if test "x${cppunit_minor_min}" = "x" ; then
49048 cppunit_minor_min=0
49051 cppunit_micro_min=`echo $cppunit_version_min | \
49052 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49053 if test "x${cppunit_micro_min}" = "x" ; then
49054 cppunit_micro_min=0
49057 cppunit_version_proper=`expr \
49058 $cppunit_major_version \> $cppunit_major_min \| \
49059 $cppunit_major_version \= $cppunit_major_min \& \
49060 $cppunit_minor_version \> $cppunit_minor_min \| \
49061 $cppunit_major_version \= $cppunit_major_min \& \
49062 $cppunit_minor_version \= $cppunit_minor_min \& \
49063 $cppunit_micro_version \>= $cppunit_micro_min `
49065 if test "$cppunit_version_proper" = "1" ; then
49066 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49067 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49069 { echo "$as_me:$LINENO: result: no" >&5
49070 echo "${ECHO_T}no" >&6; }
49075 if test "x$no_cppunit" = x ; then
49076 SUBDIRS="$SUBDIRS tests"
49087 for subdir in `echo $SUBDIRS`; do
49088 if test -d ${srcdir}/${subdir} ; then
49089 if test "$wxUSE_GUI" = "yes"; then
49090 if test ${subdir} = "samples"; then
49091 makefiles="samples/Makefile.in $makefiles"
49092 for sample in `echo $SAMPLES_SUBDIRS`; do
49093 if test -d $srcdir/samples/$sample; then
49094 makefiles="samples/$sample/Makefile.in $makefiles"
49098 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49099 eval "disabled=\$$disabled_var"
49100 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49101 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49103 else if test ${subdir} = "samples"; then
49104 makefiles="samples/Makefile.in samples/console/Makefile.in"
49105 elif test ${subdir} = "utils"; then
49107 for util in HelpGen tex2rtf ; do
49108 if test -d $srcdir/utils/$util ; then
49109 makefiles="utils/$util/Makefile.in \
49110 utils/$util/src/Makefile.in \
49114 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49118 for mkin in $makefiles ; do
49119 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49120 ac_config_files="$ac_config_files $mk"
49126 cat >confcache <<\_ACEOF
49127 # This file is a shell script that caches the results of configure
49128 # tests run on this system so they can be shared between configure
49129 # scripts and configure runs, see configure's option --config-cache.
49130 # It is not useful on other systems. If it contains results you don't
49131 # want to keep, you may remove or edit it.
49133 # config.status only pays attention to the cache file if you give it
49134 # the --recheck option to rerun configure.
49136 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49137 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49138 # following values.
49142 # The following way of writing the cache mishandles newlines in values,
49143 # but we know of no workaround that is simple, portable, and efficient.
49144 # So, we kill variables containing newlines.
49145 # Ultrix sh set writes to stderr and can't be redirected directly,
49146 # and sets the high bit in the cache file unless we assign to the vars.
49148 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49149 eval ac_val=\$$ac_var
49153 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49154 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49157 _ | IFS | as_nl) ;; #(
49158 *) $as_unset $ac_var ;;
49164 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49165 *${as_nl}ac_space=\ *)
49166 # `set' does not quote correctly, so add quotes (double-quote
49167 # substitution turns \\\\ into \\, and sed turns \\ into \).
49170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49173 # `set' quotes correctly as required by POSIX, so do not add quotes.
49174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49183 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49185 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49187 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49188 if test -w "$cache_file"; then
49189 test "x$cache_file" != "x/dev/null" &&
49190 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49191 echo "$as_me: updating cache $cache_file" >&6;}
49192 cat confcache >$cache_file
49194 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49195 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49200 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49201 # Let make expand exec_prefix.
49202 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49204 DEFS=-DHAVE_CONFIG_H
49208 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49209 # 1. Remove the extension, and $U if already installed.
49210 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49211 ac_i=`echo "$ac_i" | sed "$ac_script"`
49212 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49213 # will be set to the directory where LIBOBJS objects are built.
49214 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49215 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49217 LIBOBJS=$ac_libobjs
49219 LTLIBOBJS=$ac_ltlibobjs
49223 : ${CONFIG_STATUS=./config.status}
49224 ac_clean_files_save=$ac_clean_files
49225 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49226 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49227 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49228 cat >$CONFIG_STATUS <<_ACEOF
49230 # Generated by $as_me.
49231 # Run this file to recreate the current configuration.
49232 # Compiler output produced by configure, useful for debugging
49233 # configure, is in config.log if it exists.
49236 ac_cs_recheck=false
49238 SHELL=\${CONFIG_SHELL-$SHELL}
49241 cat >>$CONFIG_STATUS <<\_ACEOF
49242 ## --------------------- ##
49243 ## M4sh Initialization. ##
49244 ## --------------------- ##
49246 # Be more Bourne compatible
49247 DUALCASE=1; export DUALCASE # for MKS sh
49248 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49251 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49252 # is contrary to our usage. Disable this feature.
49253 alias -g '${1+"$@"}'='"$@"'
49254 setopt NO_GLOB_SUBST
49256 case `(set -o) 2>/dev/null` in
49257 *posix*) set -o posix ;;
49266 # Avoid depending upon Character Ranges.
49267 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49268 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49269 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49270 as_cr_digits='0123456789'
49271 as_cr_alnum=$as_cr_Letters$as_cr_digits
49273 # The user is always right.
49274 if test "${PATH_SEPARATOR+set}" != set; then
49275 echo "#! /bin/sh" >conf$$.sh
49276 echo "exit 0" >>conf$$.sh
49278 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49286 # Support unset when possible.
49287 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49295 # We need space, tab and new line, in precisely that order. Quoting is
49296 # there to prevent editors from complaining about space-tab.
49297 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49298 # splitting by setting IFS to empty value.)
49303 # Find who we are. Look in the path if we contain no directory separator.
49305 *[\\/]* ) as_myself=$0 ;;
49306 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49307 for as_dir in $PATH
49310 test -z "$as_dir" && as_dir=.
49311 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49317 # We did not find ourselves, most probably we were run as `sh COMMAND'
49318 # in which case we are not to be found in the path.
49319 if test "x$as_myself" = x; then
49322 if test ! -f "$as_myself"; then
49323 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49324 { (exit 1); exit 1; }
49327 # Work around bugs in pre-3.0 UWIN ksh.
49328 for as_var in ENV MAIL MAILPATH
49329 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49337 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49338 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49339 LC_TELEPHONE LC_TIME
49341 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49342 eval $as_var=C; export $as_var
49344 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49348 # Required to use basename.
49349 if expr a : '\(a\)' >/dev/null 2>&1 &&
49350 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49356 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49357 as_basename=basename
49363 # Name of the executable.
49364 as_me=`$as_basename -- "$0" ||
49365 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49366 X"$0" : 'X\(//\)$' \| \
49367 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49369 sed '/^.*\/\([^/][^/]*\)\/*$/{
49388 as_lineno_1=$LINENO
49389 as_lineno_2=$LINENO
49390 test "x$as_lineno_1" != "x$as_lineno_2" &&
49391 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49393 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49394 # uniformly replaced by the line number. The first 'sed' inserts a
49395 # line-number line after each line using $LINENO; the second 'sed'
49396 # does the real work. The second script uses 'N' to pair each
49397 # line-number line with the line containing $LINENO, and appends
49398 # trailing '-' during substitution so that $LINENO is not a special
49399 # case at line end.
49400 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49401 # scripts with optimization help from Paolo Bonzini. Blame Lee
49402 # E. McMahon (1931-1989) for sed's syntax. :-)
49414 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49417 ' >$as_me.lineno &&
49418 chmod +x "$as_me.lineno" ||
49419 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49420 { (exit 1); exit 1; }; }
49422 # Don't try to exec as it changes $[0], causing all sort of problems
49423 # (the dirname of $[0] is not the place where we might find the
49424 # original and so on. Autoconf is especially sensitive to this).
49425 . "./$as_me.lineno"
49426 # Exit status is that of the last command.
49431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49437 ECHO_C= ECHO_N= ECHO_T=
49438 case `echo -n x` in
49440 case `echo 'x\c'` in
49441 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49448 if expr a : '\(a\)' >/dev/null 2>&1 &&
49449 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49455 rm -f conf$$ conf$$.exe conf$$.file
49456 if test -d conf$$.dir; then
49457 rm -f conf$$.dir/conf$$.file
49463 if ln -s conf$$.file conf$$ 2>/dev/null; then
49465 # ... but there are two gotchas:
49466 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49467 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49468 # In both cases, we have to default to `cp -p'.
49469 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49471 elif ln conf$$.file conf$$ 2>/dev/null; then
49476 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49477 rmdir conf$$.dir 2>/dev/null
49479 if mkdir -p . 2>/dev/null; then
49482 test -d ./-p && rmdir ./-p
49486 if test -x / >/dev/null 2>&1; then
49487 as_test_x='test -x'
49489 if ls -dL / >/dev/null 2>&1; then
49496 if test -d "$1"; then
49502 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49503 ???[sx]*):;;*)false;;esac;fi
49507 as_executable_p=$as_test_x
49509 # Sed expression to map a string onto a valid CPP name.
49510 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49512 # Sed expression to map a string onto a valid variable name.
49513 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49518 # Save the log message, to keep $[0] and so on meaningful, and to
49519 # report actual input values of CONFIG_FILES etc. instead of their
49520 # values after options handling.
49522 This file was extended by wxWidgets $as_me 2.9.0, which was
49523 generated by GNU Autoconf 2.61. Invocation command line was
49525 CONFIG_FILES = $CONFIG_FILES
49526 CONFIG_HEADERS = $CONFIG_HEADERS
49527 CONFIG_LINKS = $CONFIG_LINKS
49528 CONFIG_COMMANDS = $CONFIG_COMMANDS
49531 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49536 cat >>$CONFIG_STATUS <<_ACEOF
49537 # Files that config.status was made for.
49538 config_files="$ac_config_files"
49539 config_headers="$ac_config_headers"
49540 config_commands="$ac_config_commands"
49544 cat >>$CONFIG_STATUS <<\_ACEOF
49546 \`$as_me' instantiates files from templates according to the
49547 current configuration.
49549 Usage: $0 [OPTIONS] [FILE]...
49551 -h, --help print this help, then exit
49552 -V, --version print version number and configuration settings, then exit
49553 -q, --quiet do not print progress messages
49554 -d, --debug don't remove temporary files
49555 --recheck update $as_me by reconfiguring in the same conditions
49556 --file=FILE[:TEMPLATE]
49557 instantiate the configuration file FILE
49558 --header=FILE[:TEMPLATE]
49559 instantiate the configuration header FILE
49561 Configuration files:
49564 Configuration headers:
49567 Configuration commands:
49570 Report bugs to <bug-autoconf@gnu.org>."
49573 cat >>$CONFIG_STATUS <<_ACEOF
49575 wxWidgets config.status 2.9.0
49576 configured by $0, generated by GNU Autoconf 2.61,
49577 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49579 Copyright (C) 2006 Free Software Foundation, Inc.
49580 This config.status script is free software; the Free Software Foundation
49581 gives unlimited permission to copy, distribute and modify it."
49588 cat >>$CONFIG_STATUS <<\_ACEOF
49589 # If no file are specified by the user, then we need to provide default
49590 # value. By we need to know if files were specified by the user.
49596 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49597 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49608 # Handling of the options.
49609 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49611 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49612 echo "$ac_cs_version"; exit ;;
49613 --debug | --debu | --deb | --de | --d | -d )
49615 --file | --fil | --fi | --f )
49617 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49618 ac_need_defaults=false;;
49619 --header | --heade | --head | --hea )
49621 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49622 ac_need_defaults=false;;
49624 # Conflict between --help and --header
49625 { echo "$as_me: error: ambiguous option: $1
49626 Try \`$0 --help' for more information." >&2
49627 { (exit 1); exit 1; }; };;
49628 --help | --hel | -h )
49629 echo "$ac_cs_usage"; exit ;;
49630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49631 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49634 # This is an error.
49635 -*) { echo "$as_me: error: unrecognized option: $1
49636 Try \`$0 --help' for more information." >&2
49637 { (exit 1); exit 1; }; } ;;
49639 *) ac_config_targets="$ac_config_targets $1"
49640 ac_need_defaults=false ;;
49646 ac_configure_extra_args=
49648 if $ac_cs_silent; then
49650 ac_configure_extra_args="$ac_configure_extra_args --silent"
49654 cat >>$CONFIG_STATUS <<_ACEOF
49655 if \$ac_cs_recheck; then
49656 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49657 CONFIG_SHELL=$SHELL
49658 export CONFIG_SHELL
49659 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49663 cat >>$CONFIG_STATUS <<\_ACEOF
49667 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49668 ## Running $as_me. ##
49674 cat >>$CONFIG_STATUS <<_ACEOF
49680 infile="$srcdir/include/wx/msw/genrcdefs.h"
49681 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49684 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49685 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49686 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49692 cat >>$CONFIG_STATUS <<\_ACEOF
49694 # Handling of arguments.
49695 for ac_config_target in $ac_config_targets
49697 case $ac_config_target in
49698 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49699 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49700 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49701 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49702 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49703 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49704 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49705 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49707 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49708 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49709 { (exit 1); exit 1; }; };;
49714 # If the user did not use the arguments to specify the items to instantiate,
49715 # then the envvar interface is used. Set only those that are not.
49716 # We use the long form for the default assignment because of an extremely
49717 # bizarre bug on SunOS 4.1.3.
49718 if $ac_need_defaults; then
49719 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49720 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49721 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49724 # Have a temporary directory for convenience. Make it in the build tree
49725 # simply because there is no reason against having it here, and in addition,
49726 # creating and moving files from /tmp can sometimes cause problems.
49727 # Hook for its removal unless debugging.
49728 # Note that there is a small window in which the directory will not be cleaned:
49729 # after its creation but before its name has been assigned to `$tmp'.
49733 trap 'exit_status=$?
49734 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49736 trap '{ (exit 1); exit 1; }' 1 2 13 15
49738 # Create a (secure) tmp directory for tmp files.
49741 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49742 test -n "$tmp" && test -d "$tmp"
49745 tmp=./conf$$-$RANDOM
49746 (umask 077 && mkdir "$tmp")
49749 echo "$me: cannot create a temporary directory in ." >&2
49750 { (exit 1); exit 1; }
49754 # Set up the sed scripts for CONFIG_FILES section.
49757 # No need to generate the scripts if there are no CONFIG_FILES.
49758 # This happens for instance when ./config.status config.h
49759 if test -n "$CONFIG_FILES"; then
49766 for ac_last_try in false false false false false :; do
49767 cat >conf$$subs.sed <<_ACEOF
49768 SHELL!$SHELL$ac_delim
49769 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49770 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49771 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49772 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49773 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49774 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49775 exec_prefix!$exec_prefix$ac_delim
49776 prefix!$prefix$ac_delim
49777 program_transform_name!$program_transform_name$ac_delim
49778 bindir!$bindir$ac_delim
49779 sbindir!$sbindir$ac_delim
49780 libexecdir!$libexecdir$ac_delim
49781 datarootdir!$datarootdir$ac_delim
49782 datadir!$datadir$ac_delim
49783 sysconfdir!$sysconfdir$ac_delim
49784 sharedstatedir!$sharedstatedir$ac_delim
49785 localstatedir!$localstatedir$ac_delim
49786 includedir!$includedir$ac_delim
49787 oldincludedir!$oldincludedir$ac_delim
49788 docdir!$docdir$ac_delim
49789 infodir!$infodir$ac_delim
49790 htmldir!$htmldir$ac_delim
49791 dvidir!$dvidir$ac_delim
49792 pdfdir!$pdfdir$ac_delim
49793 psdir!$psdir$ac_delim
49794 libdir!$libdir$ac_delim
49795 localedir!$localedir$ac_delim
49796 mandir!$mandir$ac_delim
49797 DEFS!$DEFS$ac_delim
49798 ECHO_C!$ECHO_C$ac_delim
49799 ECHO_N!$ECHO_N$ac_delim
49800 ECHO_T!$ECHO_T$ac_delim
49801 LIBS!$LIBS$ac_delim
49802 build_alias!$build_alias$ac_delim
49803 host_alias!$host_alias$ac_delim
49804 target_alias!$target_alias$ac_delim
49805 build!$build$ac_delim
49806 build_cpu!$build_cpu$ac_delim
49807 build_vendor!$build_vendor$ac_delim
49808 build_os!$build_os$ac_delim
49809 host!$host$ac_delim
49810 host_cpu!$host_cpu$ac_delim
49811 host_vendor!$host_vendor$ac_delim
49812 host_os!$host_os$ac_delim
49813 target!$target$ac_delim
49814 target_cpu!$target_cpu$ac_delim
49815 target_vendor!$target_vendor$ac_delim
49816 target_os!$target_os$ac_delim
49817 wx_top_builddir!$wx_top_builddir$ac_delim
49819 CFLAGS!$CFLAGS$ac_delim
49820 LDFLAGS!$LDFLAGS$ac_delim
49821 CPPFLAGS!$CPPFLAGS$ac_delim
49822 ac_ct_CC!$ac_ct_CC$ac_delim
49823 EXEEXT!$EXEEXT$ac_delim
49824 OBJEXT!$OBJEXT$ac_delim
49826 GREP!$GREP$ac_delim
49827 EGREP!$EGREP$ac_delim
49829 CXXFLAGS!$CXXFLAGS$ac_delim
49830 ac_ct_CXX!$ac_ct_CXX$ac_delim
49831 RANLIB!$RANLIB$ac_delim
49833 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49834 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49835 INSTALL_DATA!$INSTALL_DATA$ac_delim
49836 STRIP!$STRIP$ac_delim
49837 WINDRES!$WINDRES$ac_delim
49838 DLLTOOL!$DLLTOOL$ac_delim
49839 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49840 LN_S!$LN_S$ac_delim
49841 subdirs!$subdirs$ac_delim
49842 PKG_CONFIG!$PKG_CONFIG$ac_delim
49843 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49844 GTK_LIBS!$GTK_LIBS$ac_delim
49845 GTK_CONFIG!$GTK_CONFIG$ac_delim
49846 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49847 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49848 XMKMF!$XMKMF$ac_delim
49849 X_CFLAGS!$X_CFLAGS$ac_delim
49850 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49851 X_LIBS!$X_LIBS$ac_delim
49852 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49853 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49854 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49855 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49856 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49857 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49858 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49860 DEREZ!$DEREZ$ac_delim
49861 SETFILE!$SETFILE$ac_delim
49862 LIBICONV!$LIBICONV$ac_delim
49863 SDL_CONFIG!$SDL_CONFIG$ac_delim
49864 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49867 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49869 elif $ac_last_try; then
49870 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49871 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49872 { (exit 1); exit 1; }; }
49874 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49878 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49879 if test -n "$ac_eof"; then
49880 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49881 ac_eof=`expr $ac_eof + 1`
49884 cat >>$CONFIG_STATUS <<_ACEOF
49885 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49889 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49890 s/^/s,@/; s/!/@,|#_!!_#|/
49893 s/'"$ac_delim"'$/,g/; t
49895 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49896 ' >>$CONFIG_STATUS <conf$$subs.sed
49897 rm -f conf$$subs.sed
49898 cat >>$CONFIG_STATUS <<_ACEOF
49904 for ac_last_try in false false false false false :; do
49905 cat >conf$$subs.sed <<_ACEOF
49906 SDL_LIBS!$SDL_LIBS$ac_delim
49907 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49908 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49909 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49910 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49911 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49912 HILDON_LIBS!$HILDON_LIBS$ac_delim
49913 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49914 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49915 GST_CFLAGS!$GST_CFLAGS$ac_delim
49916 GST_LIBS!$GST_LIBS$ac_delim
49917 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49918 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49919 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49920 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49921 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49922 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49923 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49924 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49925 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49926 VENDOR!$VENDOR$ac_delim
49927 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49928 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49929 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49930 WXUNIV!$WXUNIV$ac_delim
49931 MONOLITHIC!$MONOLITHIC$ac_delim
49932 USE_PLUGINS!$USE_PLUGINS$ac_delim
49933 EXTRALIBS!$EXTRALIBS$ac_delim
49934 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49935 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49936 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49937 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49938 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49939 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49940 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49941 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49942 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49943 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49944 UNICODE!$UNICODE$ac_delim
49945 BUILD!$BUILD$ac_delim
49946 DEBUG_INFO!$DEBUG_INFO$ac_delim
49947 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49948 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49949 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49950 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49951 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49952 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49953 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49954 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49955 SET_MAKE!$SET_MAKE$ac_delim
49956 MAKE_SET!$MAKE_SET$ac_delim
49957 AROPTIONS!$AROPTIONS$ac_delim
49959 INSTALL_DIR!$INSTALL_DIR$ac_delim
49960 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49961 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49962 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49963 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49964 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49965 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49966 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49967 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49968 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49969 SO_SUFFIX!$SO_SUFFIX$ac_delim
49970 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49971 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49972 LIBPREFIX!$LIBPREFIX$ac_delim
49973 LIBEXT!$LIBEXT$ac_delim
49974 DLLPREFIX!$DLLPREFIX$ac_delim
49975 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49976 dlldir!$dlldir$ac_delim
49977 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49978 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49979 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49980 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49981 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49982 PIC_FLAG!$PIC_FLAG$ac_delim
49983 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49984 USE_SOVERSION!$USE_SOVERSION$ac_delim
49985 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49986 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49987 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49988 USE_MACVERSION!$USE_MACVERSION$ac_delim
49989 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49990 SONAME_FLAG!$SONAME_FLAG$ac_delim
49991 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49992 BK_DEPS!$BK_DEPS$ac_delim
49993 GCC_PCH!$GCC_PCH$ac_delim
49994 ICC_PCH!$ICC_PCH$ac_delim
49995 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49996 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49997 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49998 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49999 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50000 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50001 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50002 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50005 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50007 elif $ac_last_try; then
50008 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50009 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50010 { (exit 1); exit 1; }; }
50012 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50016 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50017 if test -n "$ac_eof"; then
50018 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50019 ac_eof=`expr $ac_eof + 1`
50022 cat >>$CONFIG_STATUS <<_ACEOF
50023 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50024 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50027 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50028 s/^/s,@/; s/!/@,|#_!!_#|/
50031 s/'"$ac_delim"'$/,g/; t
50033 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50034 ' >>$CONFIG_STATUS <conf$$subs.sed
50035 rm -f conf$$subs.sed
50036 cat >>$CONFIG_STATUS <<_ACEOF
50042 for ac_last_try in false false false false false :; do
50043 cat >conf$$subs.sed <<_ACEOF
50044 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50045 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50046 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50047 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50048 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50049 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50050 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50051 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50052 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50053 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50054 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50055 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50056 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50057 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50058 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50059 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50060 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50061 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50062 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50063 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50064 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50065 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50066 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50067 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50068 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50069 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50071 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50072 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50073 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50074 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50075 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50076 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50077 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50078 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50079 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50080 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50081 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50082 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50083 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50084 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50085 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50086 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50087 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50088 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50089 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50090 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50091 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50092 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50093 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50094 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50095 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50096 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50097 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50098 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50099 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50100 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50101 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50102 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50103 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50104 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50105 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50106 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50107 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50108 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50109 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50110 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50111 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50112 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50113 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50114 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50115 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50116 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50117 COND_SHARED_0!$COND_SHARED_0$ac_delim
50118 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50119 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50120 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50121 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50122 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50123 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50124 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50125 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50126 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50127 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50128 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50129 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50130 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50131 COND_SHARED_1!$COND_SHARED_1$ac_delim
50132 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50133 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50134 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50135 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50136 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50137 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50138 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50139 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50140 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50143 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50145 elif $ac_last_try; then
50146 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50147 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50148 { (exit 1); exit 1; }; }
50150 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50154 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50155 if test -n "$ac_eof"; then
50156 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50157 ac_eof=`expr $ac_eof + 1`
50160 cat >>$CONFIG_STATUS <<_ACEOF
50161 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50162 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50165 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50166 s/^/s,@/; s/!/@,|#_!!_#|/
50169 s/'"$ac_delim"'$/,g/; t
50171 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50172 ' >>$CONFIG_STATUS <conf$$subs.sed
50173 rm -f conf$$subs.sed
50174 cat >>$CONFIG_STATUS <<_ACEOF
50180 for ac_last_try in false false false false false :; do
50181 cat >conf$$subs.sed <<_ACEOF
50182 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50183 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50184 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50185 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50186 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50187 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50188 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50189 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50190 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50191 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50192 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50193 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50194 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50195 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50196 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50197 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50198 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50199 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50200 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50201 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50202 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50203 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50204 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50205 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50206 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50207 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50208 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50209 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50210 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50211 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50212 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50213 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50214 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50215 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50216 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50217 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50218 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50219 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50220 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50221 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50222 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50223 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50224 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50225 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50226 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50227 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50228 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50229 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50230 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50231 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50232 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50233 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50234 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50235 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50236 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50237 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50238 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50239 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50240 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50241 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50242 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50243 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50244 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50245 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50246 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50247 SHARED!$SHARED$ac_delim
50248 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50249 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50250 USE_GUI!$USE_GUI$ac_delim
50251 AFMINSTALL!$AFMINSTALL$ac_delim
50252 WIN32INSTALL!$WIN32INSTALL$ac_delim
50253 TOOLKIT!$TOOLKIT$ac_delim
50254 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50255 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50256 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50257 cross_compiling!$cross_compiling$ac_delim
50258 WIDGET_SET!$WIDGET_SET$ac_delim
50259 WX_RELEASE!$WX_RELEASE$ac_delim
50260 WX_VERSION!$WX_VERSION$ac_delim
50261 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50262 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50263 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50264 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50265 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50266 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50267 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50268 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50269 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50270 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50271 EXE_LINKER!$EXE_LINKER$ac_delim
50272 GUIDIST!$GUIDIST$ac_delim
50273 DISTDIR!$DISTDIR$ac_delim
50274 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50275 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50276 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50277 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50278 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50281 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50283 elif $ac_last_try; then
50284 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50285 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50286 { (exit 1); exit 1; }; }
50288 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50292 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50293 if test -n "$ac_eof"; then
50294 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50295 ac_eof=`expr $ac_eof + 1`
50298 cat >>$CONFIG_STATUS <<_ACEOF
50299 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50300 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50303 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50304 s/^/s,@/; s/!/@,|#_!!_#|/
50307 s/'"$ac_delim"'$/,g/; t
50309 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50310 ' >>$CONFIG_STATUS <conf$$subs.sed
50311 rm -f conf$$subs.sed
50312 cat >>$CONFIG_STATUS <<_ACEOF
50318 for ac_last_try in false false false false false :; do
50319 cat >conf$$subs.sed <<_ACEOF
50320 RESCOMP!$RESCOMP$ac_delim
50321 RESFLAGS!$RESFLAGS$ac_delim
50322 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50323 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50324 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50325 LIBWXMACRES!$LIBWXMACRES$ac_delim
50326 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50327 MACSETFILE!$MACSETFILE$ac_delim
50329 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50330 LIBOBJS!$LIBOBJS$ac_delim
50331 LTLIBOBJS!$LTLIBOBJS$ac_delim
50334 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
50336 elif $ac_last_try; then
50337 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50338 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50339 { (exit 1); exit 1; }; }
50341 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50345 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50346 if test -n "$ac_eof"; then
50347 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50348 ac_eof=`expr $ac_eof + 1`
50351 cat >>$CONFIG_STATUS <<_ACEOF
50352 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50353 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50356 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50357 s/^/s,@/; s/!/@,|#_!!_#|/
50360 s/'"$ac_delim"'$/,g/; t
50362 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50363 ' >>$CONFIG_STATUS <conf$$subs.sed
50364 rm -f conf$$subs.sed
50365 cat >>$CONFIG_STATUS <<_ACEOF
50372 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50373 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50374 # trailing colons and then remove the whole line if VPATH becomes empty
50375 # (actually we leave an empty line to preserve line numbers).
50376 if test "x$srcdir" = x.; then
50377 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50378 s/:*\$(srcdir):*/:/
50379 s/:*\${srcdir}:*/:/
50381 s/^\([^=]*=[ ]*\):*/\1/
50387 cat >>$CONFIG_STATUS <<\_ACEOF
50388 fi # test -n "$CONFIG_FILES"
50391 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50394 :[FHLC]) ac_mode=$ac_tag; continue;;
50396 case $ac_mode$ac_tag in
50398 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50399 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50400 { (exit 1); exit 1; }; };;
50401 :[FH]-) ac_tag=-:-;;
50402 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50419 -) ac_f="$tmp/stdin";;
50420 *) # Look for the file first in the build tree, then in the source tree
50421 # (if the path is not absolute). The absolute path cannot be DOS-style,
50422 # because $ac_f cannot contain `:'.
50426 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50428 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50429 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50430 { (exit 1); exit 1; }; };;
50432 ac_file_inputs="$ac_file_inputs $ac_f"
50435 # Let's still pretend it is `configure' which instantiates (i.e., don't
50436 # use $as_me), people would be surprised to read:
50437 # /* config.h. Generated by config.status. */
50438 configure_input="Generated from "`IFS=:
50439 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50440 if test x"$ac_file" != x-; then
50441 configure_input="$ac_file. $configure_input"
50442 { echo "$as_me:$LINENO: creating $ac_file" >&5
50443 echo "$as_me: creating $ac_file" >&6;}
50447 *:-:* | *:-) cat >"$tmp/stdin";;
50452 ac_dir=`$as_dirname -- "$ac_file" ||
50453 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50454 X"$ac_file" : 'X\(//\)[^/]' \| \
50455 X"$ac_file" : 'X\(//\)$' \| \
50456 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50462 /^X\(\/\/\)[^/].*/{
50477 -*) as_dir=./$as_dir;;
50479 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50483 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50484 *) as_qdir=$as_dir;;
50486 as_dirs="'$as_qdir' $as_dirs"
50487 as_dir=`$as_dirname -- "$as_dir" ||
50488 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50489 X"$as_dir" : 'X\(//\)[^/]' \| \
50490 X"$as_dir" : 'X\(//\)$' \| \
50491 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50497 /^X\(\/\/\)[^/].*/{
50510 test -d "$as_dir" && break
50512 test -z "$as_dirs" || eval "mkdir $as_dirs"
50513 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50514 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50515 { (exit 1); exit 1; }; }; }
50519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50521 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50522 # A ".." for each directory in $ac_dir_suffix.
50523 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50524 case $ac_top_builddir_sub in
50525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50529 ac_abs_top_builddir=$ac_pwd
50530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50531 # for backward compatibility:
50532 ac_top_builddir=$ac_top_build_prefix
50535 .) # We are building in place.
50537 ac_top_srcdir=$ac_top_builddir_sub
50538 ac_abs_top_srcdir=$ac_pwd ;;
50539 [\\/]* | ?:[\\/]* ) # Absolute name.
50540 ac_srcdir=$srcdir$ac_dir_suffix;
50541 ac_top_srcdir=$srcdir
50542 ac_abs_top_srcdir=$srcdir ;;
50543 *) # Relative name.
50544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50545 ac_top_srcdir=$ac_top_build_prefix$srcdir
50546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50558 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50559 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50563 cat >>$CONFIG_STATUS <<\_ACEOF
50564 # If the template does not know about datarootdir, expand it.
50565 # FIXME: This hack should be removed a few years after 2.60.
50566 ac_datarootdir_hack=; ac_datarootdir_seen=
50568 case `sed -n '/datarootdir/ {
50577 ' $ac_file_inputs` in
50578 *datarootdir*) ac_datarootdir_seen=yes;;
50579 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50580 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50581 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50583 cat >>$CONFIG_STATUS <<_ACEOF
50584 ac_datarootdir_hack='
50585 s&@datadir@&$datadir&g
50586 s&@docdir@&$docdir&g
50587 s&@infodir@&$infodir&g
50588 s&@localedir@&$localedir&g
50589 s&@mandir@&$mandir&g
50590 s&\\\${datarootdir}&$datarootdir&g' ;;
50594 # Neutralize VPATH when `$srcdir' = `.'.
50595 # Shell code in configure.ac might set extrasub.
50596 # FIXME: do we really want to maintain this feature?
50597 cat >>$CONFIG_STATUS <<_ACEOF
50601 cat >>$CONFIG_STATUS <<\_ACEOF
50603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50604 s&@configure_input@&$configure_input&;t t
50605 s&@top_builddir@&$ac_top_builddir_sub&;t t
50606 s&@srcdir@&$ac_srcdir&;t t
50607 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50608 s&@top_srcdir@&$ac_top_srcdir&;t t
50609 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50610 s&@builddir@&$ac_builddir&;t t
50611 s&@abs_builddir@&$ac_abs_builddir&;t t
50612 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50613 s&@INSTALL@&$ac_INSTALL&;t t
50614 $ac_datarootdir_hack
50615 " $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
50617 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50618 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50619 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50620 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50621 which seems to be undefined. Please make sure it is defined." >&5
50622 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50623 which seems to be undefined. Please make sure it is defined." >&2;}
50627 -) cat "$tmp/out"; rm -f "$tmp/out";;
50628 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50637 # Transform confdefs.h into a sed script `conftest.defines', that
50638 # substitutes the proper values into config.h.in to produce config.h.
50639 rm -f conftest.defines conftest.tail
50640 # First, append a space to every undef/define line, to ease matching.
50641 echo 's/$/ /' >conftest.defines
50642 # Then, protect against being on the right side of a sed subst, or in
50643 # an unquoted here document, in config.status. If some macros were
50644 # called several times there might be several #defines for the same
50645 # symbol, which is useless. But do not sort them, since the last
50646 # AC_DEFINE must be honored.
50647 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50648 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50649 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50650 # PARAMS is the parameter list in the macro definition--in most cases, it's
50651 # just an empty string.
50652 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50653 ac_dB='\\)[ (].*,\\1define\\2'
50661 s/^[ ]*#[ ]*define[ ][ ]*//
50666 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50667 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50668 ' >>conftest.defines
50670 # Remove the space that was appended to ease matching.
50671 # Then replace #undef with comments. This is necessary, for
50672 # example, in the case of _POSIX_SOURCE, which is predefined and required
50673 # on some systems where configure will not decide to define it.
50674 # (The regexp can be short, since the line contains either #define or #undef.)
50676 s,^[ #]*u.*,/* & */,' >>conftest.defines
50678 # Break up conftest.defines:
50679 ac_max_sed_lines=50
50681 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50682 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50683 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50685 ac_in='$ac_file_inputs'
50686 ac_out='"$tmp/out1"'
50687 ac_nxt='"$tmp/out2"'
50691 # Write a here document:
50692 cat >>$CONFIG_STATUS <<_ACEOF
50693 # First, check the format of the line:
50694 cat >"\$tmp/defines.sed" <<\\CEOF
50695 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50696 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50700 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50702 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50703 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50704 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50705 grep . conftest.tail >/dev/null || break
50706 rm -f conftest.defines
50707 mv conftest.tail conftest.defines
50709 rm -f conftest.defines conftest.tail
50711 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50712 cat >>$CONFIG_STATUS <<\_ACEOF
50713 if test x"$ac_file" != x-; then
50714 echo "/* $configure_input */" >"$tmp/config.h"
50715 cat "$ac_result" >>"$tmp/config.h"
50716 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50717 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50718 echo "$as_me: $ac_file is unchanged" >&6;}
50721 mv "$tmp/config.h" $ac_file
50724 echo "/* $configure_input */"
50730 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50731 echo "$as_me: executing $ac_file commands" >&6;}
50736 case $ac_file$ac_mode in
50738 mkdir -p $outdir &&
50739 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50741 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50742 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50743 "wx-config":C) rm -f wx-config
50744 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50751 { (exit 0); exit 0; }
50753 chmod +x $CONFIG_STATUS
50754 ac_clean_files=$ac_clean_files_save
50757 # configure is writing to config.log, and then calls config.status.
50758 # config.status does its own redirection, appending to config.log.
50759 # Unfortunately, on DOS this fails, as config.log is still kept open
50760 # by configure, so config.status won't be able to write to it; its
50761 # output is simply discarded. So we exec the FD to /dev/null,
50762 # effectively closing config.log, so it can be properly (re)opened and
50763 # appended to by config.status. When coming back to configure, we
50764 # need to make the FD available again.
50765 if test "$no_create" != yes; then
50767 ac_config_status_args=
50768 test "$silent" = yes &&
50769 ac_config_status_args="$ac_config_status_args --quiet"
50771 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50773 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50774 # would make configure fail if this is the last instruction.
50775 $ac_cs_success || { (exit 1); exit 1; }
50779 # CONFIG_SUBDIRS section.
50781 if test "$no_recursion" != yes; then
50783 # Remove --cache-file and --srcdir arguments so they do not pile up.
50784 ac_sub_configure_args=
50786 eval "set x $ac_configure_args"
50790 if test -n "$ac_prev"; then
50795 -cache-file | --cache-file | --cache-fil | --cache-fi \
50796 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50797 ac_prev=cache_file ;;
50798 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50799 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50802 --config-cache | -C)
50804 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50806 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50808 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50810 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50814 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50816 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50820 # Always prepend --prefix to ensure using the same prefix
50821 # in subdir configurations.
50822 ac_arg="--prefix=$prefix"
50824 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50826 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50829 if test "$silent" = yes; then
50830 ac_sub_configure_args="--silent $ac_sub_configure_args"
50834 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50836 # Do not complain, so a configure script can configure whichever
50837 # parts of a large source tree are present.
50838 test -d "$srcdir/$ac_dir" || continue
50840 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50841 echo "$as_me:$LINENO: $ac_msg" >&5
50845 -*) as_dir=./$as_dir;;
50847 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50851 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50852 *) as_qdir=$as_dir;;
50854 as_dirs="'$as_qdir' $as_dirs"
50855 as_dir=`$as_dirname -- "$as_dir" ||
50856 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50857 X"$as_dir" : 'X\(//\)[^/]' \| \
50858 X"$as_dir" : 'X\(//\)$' \| \
50859 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50865 /^X\(\/\/\)[^/].*/{
50878 test -d "$as_dir" && break
50880 test -z "$as_dirs" || eval "mkdir $as_dirs"
50881 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50882 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50883 { (exit 1); exit 1; }; }; }
50887 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50889 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50890 # A ".." for each directory in $ac_dir_suffix.
50891 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50892 case $ac_top_builddir_sub in
50893 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50894 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50897 ac_abs_top_builddir=$ac_pwd
50898 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50899 # for backward compatibility:
50900 ac_top_builddir=$ac_top_build_prefix
50903 .) # We are building in place.
50905 ac_top_srcdir=$ac_top_builddir_sub
50906 ac_abs_top_srcdir=$ac_pwd ;;
50907 [\\/]* | ?:[\\/]* ) # Absolute name.
50908 ac_srcdir=$srcdir$ac_dir_suffix;
50909 ac_top_srcdir=$srcdir
50910 ac_abs_top_srcdir=$srcdir ;;
50911 *) # Relative name.
50912 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50913 ac_top_srcdir=$ac_top_build_prefix$srcdir
50914 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50916 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50921 # Check for guested configure; otherwise get Cygnus style configure.
50922 if test -f "$ac_srcdir/configure.gnu"; then
50923 ac_sub_configure=$ac_srcdir/configure.gnu
50924 elif test -f "$ac_srcdir/configure"; then
50925 ac_sub_configure=$ac_srcdir/configure
50926 elif test -f "$ac_srcdir/configure.in"; then
50927 # This should be Cygnus configure.
50928 ac_sub_configure=$ac_aux_dir/configure
50930 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50931 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50935 # The recursion is here.
50936 if test -n "$ac_sub_configure"; then
50937 # Make the cache file name correct relative to the subdirectory.
50938 case $cache_file in
50939 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50940 *) # Relative name.
50941 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50944 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50945 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50946 # The eval makes quoting arguments work.
50947 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50948 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50949 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50950 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50951 { (exit 1); exit 1; }; }
50960 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50962 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50963 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50965 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50966 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50967 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50969 echo " What level of wxWidgets compatibility should be enabled?"
50970 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50971 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50973 echo " Which libraries should wxWidgets use?"
50974 echo " jpeg ${wxUSE_LIBJPEG-none}"
50975 echo " png ${wxUSE_LIBPNG-none}"
50976 echo " regex ${wxUSE_REGEX}"
50977 echo " tiff ${wxUSE_LIBTIFF-none}"
50978 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50979 echo " xpm ${wxUSE_LIBXPM-none}"
50981 echo " zlib ${wxUSE_ZLIB}"
50982 echo " odbc ${wxUSE_ODBC}"
50983 echo " expat ${wxUSE_EXPAT}"
50984 echo " libmspack ${wxUSE_LIBMSPACK}"
50985 echo " sdl ${wxUSE_LIBSDL}"