2 # From configure.in Id: configure.in 48336 2007-08-22 15:11:12Z VS .
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
707 LIBGNOMEPRINTUI_CFLAGS
754 SAMPLES_RPATH_POSTLINK
810 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
811 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
812 COND_BUILD_DEBUG_UNICODE_0
813 COND_BUILD_DEBUG_UNICODE_1
815 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
816 COND_BUILD_RELEASE_UNICODE_0
817 COND_BUILD_RELEASE_UNICODE_1
826 COND_MONOLITHIC_0_SHARED_0
827 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
846 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
848 COND_MONOLITHIC_0_USE_AUI_1
849 COND_MONOLITHIC_0_USE_GUI_1
850 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_HTML_1
853 COND_MONOLITHIC_0_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_QA_1
856 COND_MONOLITHIC_0_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_USE_STC_1
858 COND_MONOLITHIC_0_USE_XRC_1
860 COND_MONOLITHIC_1_SHARED_0
861 COND_MONOLITHIC_1_SHARED_1
862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
863 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
864 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
865 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
866 COND_PLATFORM_MACOSX_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_
868 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
869 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
871 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
873 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
874 COND_PLATFORM_MACOSX_1_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
876 COND_PLATFORM_MACOS_1
878 COND_PLATFORM_MSDOS_0
879 COND_PLATFORM_MSDOS_1
883 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
885 COND_PLATFORM_UNIX_1_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
887 COND_PLATFORM_WIN32_0
888 COND_PLATFORM_WIN32_1
890 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
891 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
897 COND_SHARED_0_USE_STC_1
898 COND_SHARED_0_USE_XRC_1
899 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
900 COND_SHARED_0_WXUSE_ODBC_BUILTIN
901 COND_SHARED_0_WXUSE_REGEX_BUILTIN
902 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
904 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
905 COND_SHARED_1_USE_XRC_1
908 COND_TOOLKIT_COCOA_USE_GUI_1
909 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_DFB_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_USE_GUI_1
921 COND_TOOLKIT_MAC_USE_GUI_1
922 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MGL_USE_GUI_1
926 COND_TOOLKIT_MOTIF_USE_GUI_1
927 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_USE_GUI_1
930 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_WXUNIV_0
933 COND_TOOLKIT_PM_USE_GUI_1
934 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_USE_GUI_1
937 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_WXUNIV_0
940 COND_TOOLKIT_X11_USE_GUI_1
942 COND_USE_EXCEPTIONS_0
943 COND_USE_EXCEPTIONS_1
946 COND_USE_GUI_1_USE_OPENGL_1
947 COND_USE_GUI_1_WXUNIV_0
948 COND_USE_GUI_1_WXUNIV_1
949 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
950 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
951 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
958 COND_USE_SOSYMLINKS_1
959 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
960 COND_USE_SOVERLINUX_1
962 COND_USE_SOVERSOLARIS_1
967 COND_WINDOWS_IMPLIB_1
968 COND_WITH_PLUGIN_SDL_1
971 COND_WXUSE_EXPAT_BUILTIN
972 COND_WXUSE_LIBJPEG_BUILTIN
973 COND_WXUSE_LIBPNG_BUILTIN
974 COND_WXUSE_LIBTIFF_BUILTIN
975 COND_WXUSE_ODBC_BUILTIN
976 COND_WXUSE_REGEX_BUILTIN
977 COND_WXUSE_ZLIB_BUILTIN
980 WX_LIBRARY_BASENAME_NOGUI
981 WX_LIBRARY_BASENAME_GUI
1001 WXCONFIG_LDFLAGS_GUI
1014 WX_RESOURCES_MACOSX_ASCII
1015 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars='build_alias
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1057 ac_subdirs_all='src/expat'
1059 # Initialize some variables set by options.
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1071 program_transform_name=s,x,x,
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1123 case $ac_dashdash$ac_option in
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1147 -datadir | --datadir | --datadi | --datad)
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1168 -docdir | --docdir | --docdi | --doc | --do)
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1216 htmldir=$ac_optarg ;;
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1230 -libdir | --libdir | --libdi | --libd)
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1321 -psdir | --psdir | --psdi | --psd | --ps)
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1334 sbindir=$ac_optarg ;;
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1345 sharedstatedir=$ac_optarg ;;
1347 -site | --site | --sit)
1349 -site=* | --site=* | --sit=*)
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1394 # Obsolete; use --with-x.
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val=\$$ac_var
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1478 test "$silent" = yes && exec 6>/dev/null
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-iniconf use wxIniConfig (Win32 only)
1734 --enable-regkey use wxRegKey class (Win32 only)
1735 --enable-docview use document view architecture
1736 --enable-help use help subsystem
1737 --enable-mshtmlhelp use MS HTML Help (win32)
1738 --enable-html use wxHTML sub-library
1739 --enable-htmlhelp use wxHTML-based help
1740 --enable-xrc use XRC resources sub-library
1741 --enable-aui use AUI docking library
1742 --enable-stc use wxStyledTextCtrl library
1743 --enable-constraints use layout-constraints system
1744 --enable-printarch use printing architecture
1745 --enable-mdi use multiple document interface architecture
1746 --enable-mdidoc use docview architecture with MDI
1747 --enable-loggui use standard GUI logger
1748 --enable-logwin use wxLogWindow
1749 --enable-logdialog use wxLogDialog
1750 --enable-webkit use wxWebKitCtrl (Mac)
1751 --enable-richtext use wxRichTextCtrl
1752 --enable-graphics_ctx use graphics context 2D drawing API
1753 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1754 --enable-svg use wxSVGFileDC device context
1755 --enable-clipboard use wxClipboard class
1756 --enable-dnd use Drag'n'Drop classes
1757 --enable-metafile use win32 metafiles
1758 --disable-controls disable compilation of all standard controls
1759 --enable-accel use accelerators
1760 --enable-animatectrl use wxAnimationCtrl class
1761 --enable-button use wxButton class
1762 --enable-bmpbutton use wxBitmapButton class
1763 --enable-bmpcombobox use wxBitmapComboBox class
1764 --enable-calendar use wxCalendarCtrl class
1765 --enable-caret use wxCaret class
1766 --enable-checkbox use wxCheckBox class
1767 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1768 --enable-choice use wxChoice class
1769 --enable-choicebook use wxChoicebook class
1770 --enable-collpane use wxCollapsiblePane class
1771 --enable-colourpicker use wxColourPickerCtrl class
1772 --enable-combobox use wxComboBox class
1773 --enable-comboctrl use wxComboCtrl class
1774 --enable-datepick use wxDatePickerCtrl class
1775 --enable-dirpicker use wxDirPickerCtrl class
1776 --enable-display use wxDisplay class
1777 --enable-detect_sm use code to detect X11 session manager
1778 --enable-editablebox use wxEditableListBox class
1779 --enable-filepicker use wxFilePickerCtrl class
1780 --enable-fontpicker use wxFontPickerCtrl class
1781 --enable-gauge use wxGauge class
1782 --enable-grid use wxGrid class
1783 --enable-dataviewctrl use wxDataViewCtrl class
1784 --enable-hyperlink use wxHyperlinkCtrl class
1785 --enable-imaglist use wxImageList class
1786 --enable-listbook use wxListbook class
1787 --enable-listbox use wxListBox class
1788 --enable-listctrl use wxListCtrl class
1789 --enable-notebook use wxNotebook class
1790 --enable-odcombobox use wxOwnerDrawnComboBox class
1791 --enable-radiobox use wxRadioBox class
1792 --enable-radiobtn use wxRadioButton class
1793 --enable-sash use wxSashWindow class
1794 --enable-scrollbar use wxScrollBar class and scrollable windows
1795 --enable-searchctrl use wxSearchCtrl class
1796 --enable-slider use wxSlider class
1797 --enable-spinbtn use wxSpinButton class
1798 --enable-spinctrl use wxSpinCtrl class
1799 --enable-splitter use wxSplitterWindow class
1800 --enable-statbmp use wxStaticBitmap class
1801 --enable-statbox use wxStaticBox class
1802 --enable-statline use wxStaticLine class
1803 --enable-stattext use wxStaticText class
1804 --enable-statusbar use wxStatusBar class
1805 --enable-tabdialog use wxTabControl class
1806 --enable-taskbaricon use wxTaskBarIcon class
1807 --enable-textctrl use wxTextCtrl class
1808 --enable-togglebtn use wxToggleButton class
1809 --enable-toolbar use wxToolBar class
1810 --enable-tbarnative use native wxToolBar class
1811 --enable-treebook use wxTreebook class
1812 --enable-toolbook use wxToolbook class
1813 --enable-treectrl use wxTreeCtrl class
1814 --enable-tipwindow use wxTipWindow class
1815 --enable-popupwin use wxPopUpWindow class
1816 --enable-commondlg use all common dialogs
1817 --enable-aboutdlg use wxAboutBox
1818 --enable-choicedlg use wxChoiceDialog
1819 --enable-coldlg use wxColourDialog
1820 --enable-filedlg use wxFileDialog
1821 --enable-finddlg use wxFindReplaceDialog
1822 --enable-fontdlg use wxFontDialog
1823 --enable-dirdlg use wxDirDialog
1824 --enable-msgdlg use wxMessageDialog
1825 --enable-numberdlg use wxNumberEntryDialog
1826 --enable-splash use wxSplashScreen
1827 --enable-textdlg use wxTextDialog
1828 --enable-tipdlg use startup tips
1829 --enable-progressdlg use wxProgressDialog
1830 --enable-wizarddlg use wxWizard
1831 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1832 --enable-miniframe use wxMiniFrame class
1833 --enable-tooltips use wxToolTip class
1834 --enable-splines use spline drawing code
1835 --enable-mousewheel use mousewheel
1836 --enable-validators use wxValidator and derived classes
1837 --enable-busyinfo use wxBusyInfo
1838 --enable-joystick use wxJoystick
1839 --enable-metafiles use wxMetaFile (Win32 only)
1840 --enable-dragimage use wxDragImage
1841 --enable-accessibility enable accessibility support
1842 --enable-palette use wxPalette class
1843 --enable-image use wxImage class
1844 --enable-gif use gif images (GIF file format)
1845 --enable-pcx use pcx images (PCX file format)
1846 --enable-tga use tga images (TGA file format)
1847 --enable-iff use iff images (IFF file format)
1848 --enable-pnm use pnm images (PNM file format)
1849 --enable-xpm use xpm images (XPM file format)
1850 --enable-icocur use Windows ICO and CUR formats
1851 --enable-dccache cache temporary wxDC objects (Win32 only)
1852 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1853 --enable-ownerdrawn use owner drawn controls (Win32 only)
1854 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1855 --enable-wxdib use wxDIB class (Win32 only)
1856 --disable-largefile omit support for large files
1857 --disable-gtktest do not try to compile and run a test GTK+ program
1858 --disable-gtktest Do not try to compile and run a test GTK program
1859 --disable-sdltest Do not try to compile and run a test SDL program
1860 --enable-omf use OMF object format (OS/2)
1861 --disable-dependency-tracking
1862 don't use dependency tracking even if the compiler
1864 --disable-precomp-headers
1865 don't use precompiled headers even if compiler can
1868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1870 --without-subdirs don't generate makefiles for samples/demos/...
1871 --with-flavour=NAME specify a name to identify this build
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1874 --with-motif use Motif/Lesstif
1875 --with-mac use Mac OS X
1876 --with-cocoa use Cocoa
1877 --with-wine use Wine
1878 --with-msw use MS-Windows
1879 --with-pm use OS/2 Presentation Manager
1880 --with-mgl use SciTech MGL
1881 --with-directfb use DirectFB
1882 --with-microwin use MicroWindows
1884 --with-libpng use libpng (PNG image format)
1885 --with-libjpeg use libjpeg (JPEG file format)
1886 --with-libtiff use libtiff (TIFF file format)
1887 --with-libxpm use libxpm (XPM file format)
1888 --with-libmspack use libmspack (CHM help files loading)
1889 --without-gnomeprint don't use GNOME printing libraries
1890 --with-gnomevfs use GNOME VFS for associating MIME types
1891 --with-hildon use Hildon framework for Nokia 770
1892 --with-opengl use OpenGL (or Mesa)
1893 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1894 --with-sdl use SDL for audio on Unix
1895 --with-regex enable support for wxRegEx class
1896 --with-zlib use zlib for LZW compression
1897 --with-odbc use the IODBC and wxODBC classes
1898 --with-expat enable XML support using expat parser
1899 --with-macosx-sdk=PATH use an OS X SDK at PATH
1900 --with-macosx-version-min=VER build binaries which require at least this OS X version
1901 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1902 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1903 --with-x use the X Window System
1904 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1905 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1906 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1907 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1908 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1910 Some influential environment variables:
1911 CC C compiler command
1912 CFLAGS C compiler flags
1913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1914 nonstandard directory <lib dir>
1915 LIBS libraries to pass to the linker, e.g. -l<library>
1916 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1917 you have headers in a nonstandard directory <include dir>
1919 CXX C++ compiler command
1920 CXXFLAGS C++ compiler flags
1921 PKG_CONFIG path to pkg-config utility
1923 C compiler flags for DIRECTFB, overriding pkg-config
1925 linker flags for DIRECTFB, overriding pkg-config
1926 XMKMF Path to xmkmf, Makefile generator for X Window System
1928 C compiler flags for PANGOX, overriding pkg-config
1929 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1931 C compiler flags for PANGOFT2, overriding pkg-config
1933 linker flags for PANGOFT2, overriding pkg-config
1935 C compiler flags for PANGOXFT, overriding pkg-config
1937 linker flags for PANGOXFT, overriding pkg-config
1938 LIBGNOMEPRINTUI_CFLAGS
1939 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1940 LIBGNOMEPRINTUI_LIBS
1941 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1943 C compiler flags for GNOMEVFS, overriding pkg-config
1945 linker flags for GNOMEVFS, overriding pkg-config
1947 C compiler flags for HILDON, overriding pkg-config
1948 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1950 C compiler flags for CAIRO, overriding pkg-config
1951 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1952 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1953 GST_LIBS linker flags for GST, overriding pkg-config
1955 Use these variables to override the choices made by `configure' or to help
1956 it to find libraries and programs with nonstandard names/locations.
1958 Report bugs to <wx-dev@lists.wxwidgets.org>.
1963 if test "$ac_init_help" = "recursive"; then
1964 # If there are subdirs, report their specific --help.
1965 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1966 test -d "$ac_dir" || continue
1970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1972 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1973 # A ".." for each directory in $ac_dir_suffix.
1974 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1975 case $ac_top_builddir_sub in
1976 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1977 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1980 ac_abs_top_builddir=$ac_pwd
1981 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1982 # for backward compatibility:
1983 ac_top_builddir=$ac_top_build_prefix
1986 .) # We are building in place.
1988 ac_top_srcdir=$ac_top_builddir_sub
1989 ac_abs_top_srcdir=$ac_pwd ;;
1990 [\\/]* | ?:[\\/]* ) # Absolute name.
1991 ac_srcdir=$srcdir$ac_dir_suffix;
1992 ac_top_srcdir=$srcdir
1993 ac_abs_top_srcdir=$srcdir ;;
1995 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1996 ac_top_srcdir=$ac_top_build_prefix$srcdir
1997 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2001 cd "$ac_dir" || { ac_status=$?; continue; }
2002 # Check for guested configure.
2003 if test -f "$ac_srcdir/configure.gnu"; then
2005 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2006 elif test -f "$ac_srcdir/configure"; then
2008 $SHELL "$ac_srcdir/configure" --help=recursive
2010 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2012 cd "$ac_pwd" || { ac_status=$?; break; }
2016 test -n "$ac_init_help" && exit $ac_status
2017 if $ac_init_version; then
2019 wxWidgets configure 2.9.0
2020 generated by GNU Autoconf 2.61
2022 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2023 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2024 This configure script is free software; the Free Software Foundation
2025 gives unlimited permission to copy, distribute and modify it.
2029 cat >config.log <<_ACEOF
2030 This file contains any messages produced by compilers while
2031 running configure, to aid debugging if configure makes a mistake.
2033 It was created by wxWidgets $as_me 2.9.0, which was
2034 generated by GNU Autoconf 2.61. Invocation command line was
2046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2058 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069 test -z "$as_dir" && as_dir=.
2070 echo "PATH: $as_dir"
2086 # Keep a trace of the command line.
2087 # Strip out --no-create and --no-recursion so they do not pile up.
2088 # Strip out --silent because we don't want to record it for future runs.
2089 # Also quote any args containing shell meta-characters.
2090 # Make two passes to allow for proper duplicate-argument suppression.
2094 ac_must_keep_next=false
2100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2102 | -silent | --silent | --silen | --sile | --sil)
2105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2111 if test $ac_must_keep_next = true; then
2112 ac_must_keep_next=false # Got value, back to normal.
2115 *=* | --config-cache | -C | -disable-* | --disable-* \
2116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2118 | -with-* | --with-* | -without-* | --without-* | --x)
2119 case "$ac_configure_args0 " in
2120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2123 -* ) ac_must_keep_next=true ;;
2126 ac_configure_args="$ac_configure_args '$ac_arg'"
2131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2134 # When interrupted or exit'd, cleanup temporary files, and complete
2135 # config.log. We remove comments because anyway the quotes in there
2136 # would cause problems or look ugly.
2137 # WARNING: Use '\'' to represent an apostrophe within the trap.
2138 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2139 trap 'exit_status=$?
2140 # Save into config.log some information that might help in debugging.
2145 ## ---------------- ##
2146 ## Cache variables. ##
2147 ## ---------------- ##
2150 # The following way of writing the cache mishandles newlines in values,
2152 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2153 eval ac_val=\$$ac_var
2157 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2158 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2161 _ | IFS | as_nl) ;; #(
2162 *) $as_unset $ac_var ;;
2167 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2168 *${as_nl}ac_space=\ *)
2170 "s/'\''/'\''\\\\'\'''\''/g;
2171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2182 ## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##
2187 for ac_var in $ac_subst_vars
2189 eval ac_val=\$$ac_var
2191 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2193 echo "$ac_var='\''$ac_val'\''"
2197 if test -n "$ac_subst_files"; then
2199 ## ------------------- ##
2200 ## File substitutions. ##
2201 ## ------------------- ##
2204 for ac_var in $ac_subst_files
2206 eval ac_val=\$$ac_var
2208 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2210 echo "$ac_var='\''$ac_val'\''"
2215 if test -s confdefs.h; then
2225 test "$ac_signal" != 0 &&
2226 echo "$as_me: caught signal $ac_signal"
2227 echo "$as_me: exit $exit_status"
2229 rm -f core *.core core.conftest.* &&
2230 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2233 for ac_signal in 1 2 13 15; do
2234 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2238 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2239 rm -f -r conftest* confdefs.h
2241 # Predefined preprocessor variables.
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_NAME "$PACKAGE_NAME"
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_STRING "$PACKAGE_STRING"
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer explicitly selected file to automatically selected ones.
2270 if test -n "$CONFIG_SITE"; then
2271 set x "$CONFIG_SITE"
2272 elif test "x$prefix" != xNONE; then
2273 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2275 set x "$ac_default_prefix/share/config.site" \
2276 "$ac_default_prefix/etc/config.site"
2281 if test -r "$ac_site_file"; then
2282 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2283 echo "$as_me: loading site script $ac_site_file" >&6;}
2284 sed 's/^/| /' "$ac_site_file" >&5
2289 if test -r "$cache_file"; then
2290 # Some versions of bash will fail to source /dev/null (special
2291 # files actually), so we avoid doing that.
2292 if test -f "$cache_file"; then
2293 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2294 echo "$as_me: loading cache $cache_file" >&6;}
2296 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297 *) . "./$cache_file";;
2301 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2302 echo "$as_me: creating cache $cache_file" >&6;}
2306 # Check that the precious variables saved in the cache have kept the same
2308 ac_cache_corrupted=false
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311 eval ac_new_set=\$ac_env_${ac_var}_set
2312 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313 eval ac_new_val=\$ac_env_${ac_var}_value
2314 case $ac_old_set,$ac_new_set in
2316 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2317 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2320 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2321 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2325 if test "x$ac_old_val" != "x$ac_new_val"; then
2326 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2327 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2328 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2329 echo "$as_me: former value: $ac_old_val" >&2;}
2330 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2331 echo "$as_me: current value: $ac_new_val" >&2;}
2332 ac_cache_corrupted=:
2335 # Pass precious variables to config.status.
2336 if test "$ac_new_set" = set; then
2338 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339 *) ac_arg=$ac_var=$ac_new_val ;;
2341 case " $ac_configure_args " in
2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2343 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2347 if $ac_cache_corrupted; then
2348 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2349 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2350 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2351 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2352 { (exit 1); exit 1; }; }
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2390 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2391 if test -f "$ac_dir/install-sh"; then
2393 ac_install_sh="$ac_aux_dir/install-sh -c"
2395 elif test -f "$ac_dir/install.sh"; then
2397 ac_install_sh="$ac_aux_dir/install.sh -c"
2399 elif test -f "$ac_dir/shtool"; then
2401 ac_install_sh="$ac_aux_dir/shtool install -c"
2405 if test -z "$ac_aux_dir"; then
2406 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2407 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2408 { (exit 1); exit 1; }; }
2411 # These three variables are undocumented and unsupported,
2412 # and are intended to be withdrawn in a future Autoconf release.
2413 # They can cause serious problems if a builder's source tree is in a directory
2414 # whose full name contains unusual characters.
2415 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2416 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2417 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2420 # Make sure we can run config.sub.
2421 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2422 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2423 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2424 { (exit 1); exit 1; }; }
2426 { echo "$as_me:$LINENO: checking build system type" >&5
2427 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2428 if test "${ac_cv_build+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 ac_build_alias=$build_alias
2432 test "x$ac_build_alias" = x &&
2433 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2434 test "x$ac_build_alias" = x &&
2435 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2436 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2437 { (exit 1); exit 1; }; }
2438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2439 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2441 { (exit 1); exit 1; }; }
2444 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2445 echo "${ECHO_T}$ac_cv_build" >&6; }
2446 case $ac_cv_build in
2448 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2449 echo "$as_me: error: invalid value of canonical build" >&2;}
2450 { (exit 1); exit 1; }; };;
2453 ac_save_IFS=$IFS; IFS='-'
2459 # Remember, the first character of IFS is used to create $*,
2460 # except with old shells:
2463 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2466 { echo "$as_me:$LINENO: checking host system type" >&5
2467 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2468 if test "${ac_cv_host+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 if test "x$host_alias" = x; then
2472 ac_cv_host=$ac_cv_build
2474 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2481 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2482 echo "${ECHO_T}$ac_cv_host" >&6; }
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2486 echo "$as_me: error: invalid value of canonical host" >&2;}
2487 { (exit 1); exit 1; }; };;
2490 ac_save_IFS=$IFS; IFS='-'
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2503 { echo "$as_me:$LINENO: checking target system type" >&5
2504 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_target+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 if test "x$target_alias" = x; then
2509 ac_cv_target=$ac_cv_host
2511 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2518 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2519 echo "${ECHO_T}$ac_cv_target" >&6; }
2520 case $ac_cv_target in
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2523 echo "$as_me: error: invalid value of canonical target" >&2;}
2524 { (exit 1); exit 1; }; };;
2526 target=$ac_cv_target
2527 ac_save_IFS=$IFS; IFS='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2540 # The aliases save the names the user supplied, while $host etc.
2541 # will get canonicalized.
2542 test -n "$target_alias" &&
2543 test "$program_prefix$program_suffix$program_transform_name" = \
2545 program_prefix=${target_alias}-
2549 wx_major_version_number=2
2550 wx_minor_version_number=9
2552 wx_subrelease_number=0
2554 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2555 WX_VERSION=$WX_RELEASE.$wx_release_number
2556 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2558 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2561 wx_top_builddir="`pwd`"
2574 USE_BSD= USE_DARWIN= USE_FREEBSD=
2580 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2588 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2590 DEFAULT_wxUSE_COCOA=0
2594 DEFAULT_wxUSE_MICROWIN=0
2595 DEFAULT_wxUSE_MOTIF=0
2601 DEFAULT_DEFAULT_wxUSE_COCOA=0
2602 DEFAULT_DEFAULT_wxUSE_GTK=0
2603 DEFAULT_DEFAULT_wxUSE_MAC=0
2604 DEFAULT_DEFAULT_wxUSE_MGL=0
2605 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2606 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2607 DEFAULT_DEFAULT_wxUSE_MSW=0
2608 DEFAULT_DEFAULT_wxUSE_PM=0
2609 DEFAULT_DEFAULT_wxUSE_X11=0
2610 DEFAULT_DEFAULT_wxUSE_DFB=0
2615 SAMPLES_RPATH_POSTLINK=
2617 DEFAULT_STD_FLAG=yes
2622 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2625 cat >>confdefs.h <<\_ACEOF
2630 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2634 cat >>confdefs.h <<\_ACEOF
2639 if test "x$TMP" = "xalpha"; then
2641 cat >>confdefs.h <<\_ACEOF
2646 DEFAULT_DEFAULT_wxUSE_GTK=1
2648 *-*-gnu* | *-*-k*bsd*-gnu )
2651 if test "x$TMP" = "xalpha"; then
2653 cat >>confdefs.h <<\_ACEOF
2658 DEFAULT_DEFAULT_wxUSE_GTK=1
2660 *-*-irix5* | *-*-irix6* )
2663 cat >>confdefs.h <<\_ACEOF
2667 cat >>confdefs.h <<\_ACEOF
2671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2677 cat >>confdefs.h <<\_ACEOF
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SOLARIS__ 1
2685 cat >>confdefs.h <<\_ACEOF
2689 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2690 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2696 cat >>confdefs.h <<\_ACEOF
2700 cat >>confdefs.h <<\_ACEOF
2704 cat >>confdefs.h <<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __FREEBSD__ 1
2717 cat >>confdefs.h <<\_ACEOF
2721 DEFAULT_DEFAULT_wxUSE_GTK=1
2723 *-*-openbsd*|*-*-mirbsd*)
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __OPENBSD__ 1
2730 cat >>confdefs.h <<\_ACEOF
2734 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __NETBSD__ 1
2743 cat >>confdefs.h <<\_ACEOF
2747 DEFAULT_DEFAULT_wxUSE_GTK=1
2748 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2750 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2755 cat >>confdefs.h <<\_ACEOF
2759 cat >>confdefs.h <<\_ACEOF
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2769 cat >>confdefs.h <<\_ACEOF
2773 cat >>confdefs.h <<\_ACEOF
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 cat >>confdefs.h <<\_ACEOF
2786 cat >>confdefs.h <<\_ACEOF
2790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2797 cat >>confdefs.h <<\_ACEOF
2801 cat >>confdefs.h <<\_ACEOF
2805 cat >>confdefs.h <<\_ACEOF
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __UNIXWARE__ 1
2822 *-*-cygwin* | *-*-mingw32* )
2825 DEFAULT_DEFAULT_wxUSE_MSW=1
2831 cat >>confdefs.h <<\_ACEOF
2836 DEFAULT_DEFAULT_wxUSE_MGL=1
2839 *-pc-os2_emx | *-pc-os2-emx )
2840 cat >>confdefs.h <<\_ACEOF
2845 cat >>confdefs.h <<\_ACEOF
2850 DEFAULT_DEFAULT_wxUSE_PM=1
2852 LDFLAGS="$LDFLAGS -Zcrtdll"
2853 ac_executable_extensions=".exe"
2854 export ac_executable_extensions
2858 for ac_dir in $PATH; do
2860 if test -z "$ac_TEMP_PATH"; then
2861 ac_TEMP_PATH="$ac_dir"
2863 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2866 export PATH="$ac_TEMP_PATH"
2875 cat >>confdefs.h <<\_ACEOF
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __DARWIN__ 1
2883 cat >>confdefs.h <<\_ACEOF
2884 #define TARGET_CARBON 1
2887 DEFAULT_DEFAULT_wxUSE_MAC=1
2890 powerpc-apple-macos* )
2892 ac_cv_c_bigendian=yes
2894 DEFAULT_DEFAULT_wxUSE_MAC=1
2900 cat >>confdefs.h <<\_ACEOF
2907 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2908 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2909 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2910 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2912 DEFAULT_DEFAULT_wxUSE_X11=1
2913 DEFAULT_wxUSE_SHARED=no
2919 wx_arg_cache_file="configarg.cache"
2920 echo "loading argument cache $wx_arg_cache_file"
2921 rm -f ${wx_arg_cache_file}.tmp
2922 touch ${wx_arg_cache_file}.tmp
2923 touch ${wx_arg_cache_file}
2926 DEFAULT_wxUSE_ALL_FEATURES=yes
2928 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2929 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2931 DEFAULT_wxUSE_DMALLOC=no
2932 DEFAULT_wxUSE_LIBGNOMEVFS=no
2933 DEFAULT_wxUSE_LIBHILDON=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_ODBC=no
2937 DEFAULT_wxUSE_OPENGL=no
2939 DEFAULT_wxUSE_ACCESSIBILITY=no
2940 DEFAULT_wxUSE_DATAVIEWCTRL=no
2941 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2942 DEFAULT_wxUSE_MEDIACTRL=no
2943 DEFAULT_wxUSE_TAB_DIALOG=no
2945 DEFAULT_wxUSE_UNICODE_UTF8=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2950 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2952 DEFAULT_wxUSE_GTK2=yes
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2957 for toolkit in `echo $ALL_TOOLKITS`; do
2958 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2959 if test "x$LINE" != "x" ; then
2960 has_toolkit_in_cache=1
2961 eval "DEFAULT_$LINE"
2962 eval "CACHE_$toolkit=1"
2964 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2965 if test "x$LINE" != "x" ; then
2966 eval "DEFAULT_$LINE"
2975 enablestring=disable
2977 if test -z "$defaultval"; then
2978 if test x"$enablestring" = xdisable; then
2985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2986 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2987 # Check whether --enable-gui was given.
2988 if test "${enable_gui+set}" = set; then
2989 enableval=$enable_gui;
2990 if test "$enableval" = yes; then
2991 wx_cv_use_gui='wxUSE_GUI=yes'
2993 wx_cv_use_gui='wxUSE_GUI=no'
2999 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x ; then
3001 eval "DEFAULT_$LINE"
3007 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3012 eval "$wx_cv_use_gui"
3013 if test "x$cache" = xyes; then
3014 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_GUI = yes; then
3027 { echo "$as_me:$LINENO: result: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3042 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3043 # Check whether --enable-monolithic was given.
3044 if test "${enable_monolithic+set}" = set; then
3045 enableval=$enable_monolithic;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3049 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3055 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x ; then
3057 eval "DEFAULT_$LINE"
3063 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3068 eval "$wx_cv_use_monolithic"
3069 if test "x$cache" = xyes; then
3070 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3073 if test x"$enablestring" = xdisable; then
3074 if test $wxUSE_MONOLITHIC = yes; then
3080 result=$wxUSE_MONOLITHIC
3083 { echo "$as_me:$LINENO: result: $result" >&5
3084 echo "${ECHO_T}$result" >&6; }
3089 if test -z "$defaultval"; then
3090 if test x"$enablestring" = xdisable; then
3097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3098 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3099 # Check whether --enable-plugins was given.
3100 if test "${enable_plugins+set}" = set; then
3101 enableval=$enable_plugins;
3102 if test "$enableval" = yes; then
3103 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3105 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3111 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x ; then
3113 eval "DEFAULT_$LINE"
3119 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3124 eval "$wx_cv_use_plugins"
3125 if test "x$cache" = xyes; then
3126 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3129 if test x"$enablestring" = xdisable; then
3130 if test $wxUSE_PLUGINS = yes; then
3136 result=$wxUSE_PLUGINS
3139 { echo "$as_me:$LINENO: result: $result" >&5
3140 echo "${ECHO_T}$result" >&6; }
3144 defaultval=$wxUSE_ALL_FEATURES
3145 if test -z "$defaultval"; then
3146 if test x"$withstring" = xwithout; then
3152 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3153 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3155 # Check whether --with-subdirs was given.
3156 if test "${with_subdirs+set}" = set; then
3157 withval=$with_subdirs;
3158 if test "$withval" = yes; then
3159 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3161 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3167 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x ; then
3169 eval "DEFAULT_$LINE"
3175 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3180 eval "$wx_cv_use_subdirs"
3181 if test "x$cache" = xyes; then
3182 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3185 if test x"$withstring" = xwithout; then
3186 if test $wxWITH_SUBDIRS = yes; then
3192 result=$wxWITH_SUBDIRS
3195 { echo "$as_me:$LINENO: result: $result" >&5
3196 echo "${ECHO_T}$result" >&6; }
3199 # Check whether --with-flavour was given.
3200 if test "${with_flavour+set}" = set; then
3201 withval=$with_flavour; WX_FLAVOUR="$withval"
3207 if test -z "$defaultval"; then
3208 if test x"$enablestring" = xdisable; then
3215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3216 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3217 # Check whether --enable-official_build was given.
3218 if test "${enable_official_build+set}" = set; then
3219 enableval=$enable_official_build;
3220 if test "$enableval" = yes; then
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3223 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3229 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3237 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3242 eval "$wx_cv_use_official_build"
3243 if test "x$cache" = xyes; then
3244 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3247 if test x"$enablestring" = xdisable; then
3248 if test $wxUSE_OFFICIAL_BUILD = yes; then
3254 result=$wxUSE_OFFICIAL_BUILD
3257 { echo "$as_me:$LINENO: result: $result" >&5
3258 echo "${ECHO_T}$result" >&6; }
3260 # Check whether --enable-vendor was given.
3261 if test "${enable_vendor+set}" = set; then
3262 enableval=$enable_vendor; VENDOR="$enableval"
3265 if test "x$VENDOR" = "x"; then
3270 enablestring=disable
3272 if test -z "$defaultval"; then
3273 if test x"$enablestring" = xdisable; then
3280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3281 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3282 # Check whether --enable-all-features was given.
3283 if test "${enable_all_features+set}" = set; then
3284 enableval=$enable_all_features;
3285 if test "$enableval" = yes; then
3286 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3288 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3294 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3302 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3307 eval "$wx_cv_use_all_features"
3308 if test "x$cache" = xyes; then
3309 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3312 if test x"$enablestring" = xdisable; then
3313 if test $wxUSE_ALL_FEATURES = yes; then
3319 result=$wxUSE_ALL_FEATURES
3322 { echo "$as_me:$LINENO: result: $result" >&5
3323 echo "${ECHO_T}$result" >&6; }
3327 if test "$wxUSE_GUI" = "yes"; then
3332 if test -z "$defaultval"; then
3333 if test x"$enablestring" = xdisable; then
3340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3341 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3342 # Check whether --enable-universal was given.
3343 if test "${enable_universal+set}" = set; then
3344 enableval=$enable_universal;
3345 if test "$enableval" = yes; then
3346 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3348 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3354 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3362 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3367 eval "$wx_cv_use_universal"
3368 if test "x$cache" = xyes; then
3369 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3372 if test x"$enablestring" = xdisable; then
3373 if test $wxUSE_UNIVERSAL = yes; then
3379 result=$wxUSE_UNIVERSAL
3382 { echo "$as_me:$LINENO: result: $result" >&5
3383 echo "${ECHO_T}$result" >&6; }
3385 if test "$wxUSE_UNIVERSAL" = "yes"; then
3387 # Check whether --with-themes was given.
3388 if test "${with_themes+set}" = set; then
3389 withval=$with_themes; wxUNIV_THEMES="$withval"
3395 # Check whether --with-gtk was given.
3396 if test "${with_gtk+set}" = set; then
3397 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3401 # Check whether --with-motif was given.
3402 if test "${with_motif+set}" = set; then
3403 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3407 # Check whether --with-mac was given.
3408 if test "${with_mac+set}" = set; then
3409 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-cocoa was given.
3414 if test "${with_cocoa+set}" = set; then
3415 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-wine was given.
3420 if test "${with_wine+set}" = set; then
3421 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3425 # Check whether --with-msw was given.
3426 if test "${with_msw+set}" = set; then
3427 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-pm was given.
3432 if test "${with_pm+set}" = set; then
3433 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3437 # Check whether --with-mgl was given.
3438 if test "${with_mgl+set}" = set; then
3439 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3443 # Check whether --with-directfb was given.
3444 if test "${with_directfb+set}" = set; then
3445 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3449 # Check whether --with-microwin was given.
3450 if test "${with_microwin+set}" = set; then
3451 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3455 # Check whether --with-x11 was given.
3456 if test "${with_x11+set}" = set; then
3457 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3463 if test -z "$defaultval"; then
3464 if test x"$enablestring" = xdisable; then
3471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3473 # Check whether --enable-nanox was given.
3474 if test "${enable_nanox+set}" = set; then
3475 enableval=$enable_nanox;
3476 if test "$enableval" = yes; then
3477 wx_cv_use_nanox='wxUSE_NANOX=yes'
3479 wx_cv_use_nanox='wxUSE_NANOX=no'
3485 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x ; then
3487 eval "DEFAULT_$LINE"
3493 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3498 eval "$wx_cv_use_nanox"
3499 if test "x$cache" = xyes; then
3500 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3503 if test x"$enablestring" = xdisable; then
3504 if test $wxUSE_NANOX = yes; then
3513 { echo "$as_me:$LINENO: result: $result" >&5
3514 echo "${ECHO_T}$result" >&6; }
3517 # Check whether --enable-gtk2 was given.
3518 if test "${enable_gtk2+set}" = set; then
3519 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3525 if test -z "$defaultval"; then
3526 if test x"$enablestring" = xdisable; then
3533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3535 # Check whether --enable-gpe was given.
3536 if test "${enable_gpe+set}" = set; then
3537 enableval=$enable_gpe;
3538 if test "$enableval" = yes; then
3539 wx_cv_use_gpe='wxUSE_GPE=yes'
3541 wx_cv_use_gpe='wxUSE_GPE=no'
3547 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x ; then
3549 eval "DEFAULT_$LINE"
3555 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3560 eval "$wx_cv_use_gpe"
3561 if test "x$cache" = xyes; then
3562 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3565 if test x"$enablestring" = xdisable; then
3566 if test $wxUSE_GPE = yes; then
3575 { echo "$as_me:$LINENO: result: $result" >&5
3576 echo "${ECHO_T}$result" >&6; }
3581 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3582 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3584 # Check whether --with-libpng was given.
3585 if test "${with_libpng+set}" = set; then
3586 withval=$with_libpng;
3587 if test "$withval" = yes; then
3588 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3589 elif test "$withval" = no; then
3590 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3591 elif test "$withval" = sys; then
3592 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3593 elif test "$withval" = builtin; then
3594 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3596 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3597 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3598 { (exit 1); exit 1; }; }
3604 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x ; then
3606 eval "DEFAULT_$LINE"
3612 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3617 eval "$wx_cv_use_libpng"
3618 if test "x$cache" = xyes; then
3619 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3622 if test "$wxUSE_LIBPNG" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBPNG" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBPNG" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBPNG" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3641 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3642 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3644 # Check whether --with-libjpeg was given.
3645 if test "${with_libjpeg+set}" = set; then
3646 withval=$with_libjpeg;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3664 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3672 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3677 eval "$wx_cv_use_libjpeg"
3678 if test "x$cache" = xyes; then
3679 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3682 if test "$wxUSE_LIBJPEG" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBJPEG" = no; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBJPEG" = sys; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBJPEG" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3701 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3702 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3704 # Check whether --with-libtiff was given.
3705 if test "${with_libtiff+set}" = set; then
3706 withval=$with_libtiff;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3709 elif test "$withval" = no; then
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3711 elif test "$withval" = sys; then
3712 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3724 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3732 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3737 eval "$wx_cv_use_libtiff"
3738 if test "x$cache" = xyes; then
3739 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3742 if test "$wxUSE_LIBTIFF" = yes; then
3743 { echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6; }
3745 elif test "$wxUSE_LIBTIFF" = no; then
3746 { echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6; }
3748 elif test "$wxUSE_LIBTIFF" = sys; then
3749 { echo "$as_me:$LINENO: result: system version" >&5
3750 echo "${ECHO_T}system version" >&6; }
3751 elif test "$wxUSE_LIBTIFF" = builtin; then
3752 { echo "$as_me:$LINENO: result: builtin version" >&5
3753 echo "${ECHO_T}builtin version" >&6; }
3755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3756 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3757 { (exit 1); exit 1; }; }
3761 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3762 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3764 # Check whether --with-libxpm was given.
3765 if test "${with_libxpm+set}" = set; then
3766 withval=$with_libxpm;
3767 if test "$withval" = yes; then
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3769 elif test "$withval" = no; then
3770 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3771 elif test "$withval" = sys; then
3772 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3773 elif test "$withval" = builtin; then
3774 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3784 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3785 if test "x$LINE" != x ; then
3786 eval "DEFAULT_$LINE"
3792 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3797 eval "$wx_cv_use_libxpm"
3798 if test "x$cache" = xyes; then
3799 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3802 if test "$wxUSE_LIBXPM" = yes; then
3803 { echo "$as_me:$LINENO: result: yes" >&5
3804 echo "${ECHO_T}yes" >&6; }
3805 elif test "$wxUSE_LIBXPM" = no; then
3806 { echo "$as_me:$LINENO: result: no" >&5
3807 echo "${ECHO_T}no" >&6; }
3808 elif test "$wxUSE_LIBXPM" = sys; then
3809 { echo "$as_me:$LINENO: result: system version" >&5
3810 echo "${ECHO_T}system version" >&6; }
3811 elif test "$wxUSE_LIBXPM" = builtin; then
3812 { echo "$as_me:$LINENO: result: builtin version" >&5
3813 echo "${ECHO_T}builtin version" >&6; }
3815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3816 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3817 { (exit 1); exit 1; }; }
3822 defaultval=$wxUSE_ALL_FEATURES
3823 if test -z "$defaultval"; then
3824 if test x"$withstring" = xwithout; then
3830 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3831 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3833 # Check whether --with-libmspack was given.
3834 if test "${with_libmspack+set}" = set; then
3835 withval=$with_libmspack;
3836 if test "$withval" = yes; then
3837 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3839 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3845 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x ; then
3847 eval "DEFAULT_$LINE"
3853 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3858 eval "$wx_cv_use_libmspack"
3859 if test "x$cache" = xyes; then
3860 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3863 if test x"$withstring" = xwithout; then
3864 if test $wxUSE_LIBMSPACK = yes; then
3870 result=$wxUSE_LIBMSPACK
3873 { echo "$as_me:$LINENO: result: $result" >&5
3874 echo "${ECHO_T}$result" >&6; }
3878 defaultval=$wxUSE_ALL_FEATURES
3879 if test -z "$defaultval"; then
3880 if test x"$withstring" = xwithout; then
3886 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3887 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3889 # Check whether --with-gnomeprint was given.
3890 if test "${with_gnomeprint+set}" = set; then
3891 withval=$with_gnomeprint;
3892 if test "$withval" = yes; then
3893 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3901 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3909 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3914 eval "$wx_cv_use_gnomeprint"
3915 if test "x$cache" = xyes; then
3916 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3919 if test x"$withstring" = xwithout; then
3920 if test $wxUSE_LIBGNOMEPRINT = yes; then
3926 result=$wxUSE_LIBGNOMEPRINT
3929 { echo "$as_me:$LINENO: result: $result" >&5
3930 echo "${ECHO_T}$result" >&6; }
3934 defaultval=$wxUSE_ALL_FEATURES
3935 if test -z "$defaultval"; then
3936 if test x"$withstring" = xwithout; then
3942 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3943 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3945 # Check whether --with-gnomevfs was given.
3946 if test "${with_gnomevfs+set}" = set; then
3947 withval=$with_gnomevfs;
3948 if test "$withval" = yes; then
3949 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3951 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3957 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x ; then
3959 eval "DEFAULT_$LINE"
3965 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3970 eval "$wx_cv_use_gnomevfs"
3971 if test "x$cache" = xyes; then
3972 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3975 if test x"$withstring" = xwithout; then
3976 if test $wxUSE_LIBGNOMEVFS = yes; then
3982 result=$wxUSE_LIBGNOMEVFS
3985 { echo "$as_me:$LINENO: result: $result" >&5
3986 echo "${ECHO_T}$result" >&6; }
3990 defaultval=$wxUSE_ALL_FEATURES
3991 if test -z "$defaultval"; then
3992 if test x"$withstring" = xwithout; then
3998 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3999 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4001 # Check whether --with-hildon was given.
4002 if test "${with_hildon+set}" = set; then
4003 withval=$with_hildon;
4004 if test "$withval" = yes; then
4005 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4007 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4013 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4021 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4026 eval "$wx_cv_use_hildon"
4027 if test "x$cache" = xyes; then
4028 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4031 if test x"$withstring" = xwithout; then
4032 if test $wxUSE_LIBHILDON = yes; then
4038 result=$wxUSE_LIBHILDON
4041 { echo "$as_me:$LINENO: result: $result" >&5
4042 echo "${ECHO_T}$result" >&6; }
4046 defaultval=$wxUSE_ALL_FEATURES
4047 if test -z "$defaultval"; then
4048 if test x"$withstring" = xwithout; then
4054 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4055 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4057 # Check whether --with-opengl was given.
4058 if test "${with_opengl+set}" = set; then
4059 withval=$with_opengl;
4060 if test "$withval" = yes; then
4061 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4063 wx_cv_use_opengl='wxUSE_OPENGL=no'
4069 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4077 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4082 eval "$wx_cv_use_opengl"
4083 if test "x$cache" = xyes; then
4084 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4087 if test x"$withstring" = xwithout; then
4088 if test $wxUSE_OPENGL = yes; then
4094 result=$wxUSE_OPENGL
4097 { echo "$as_me:$LINENO: result: $result" >&5
4098 echo "${ECHO_T}$result" >&6; }
4105 defaultval=$wxUSE_ALL_FEATURES
4106 if test -z "$defaultval"; then
4107 if test x"$withstring" = xwithout; then
4113 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4114 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4116 # Check whether --with-dmalloc was given.
4117 if test "${with_dmalloc+set}" = set; then
4118 withval=$with_dmalloc;
4119 if test "$withval" = yes; then
4120 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4122 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4128 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4129 if test "x$LINE" != x ; then
4130 eval "DEFAULT_$LINE"
4136 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4141 eval "$wx_cv_use_dmalloc"
4142 if test "x$cache" = xyes; then
4143 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4146 if test x"$withstring" = xwithout; then
4147 if test $wxUSE_DMALLOC = yes; then
4153 result=$wxUSE_DMALLOC
4156 { echo "$as_me:$LINENO: result: $result" >&5
4157 echo "${ECHO_T}$result" >&6; }
4161 defaultval=$wxUSE_ALL_FEATURES
4162 if test -z "$defaultval"; then
4163 if test x"$withstring" = xwithout; then
4169 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4170 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4172 # Check whether --with-sdl was given.
4173 if test "${with_sdl+set}" = set; then
4175 if test "$withval" = yes; then
4176 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4178 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4184 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x ; then
4186 eval "DEFAULT_$LINE"
4192 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4197 eval "$wx_cv_use_sdl"
4198 if test "x$cache" = xyes; then
4199 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4202 if test x"$withstring" = xwithout; then
4203 if test $wxUSE_LIBSDL = yes; then
4209 result=$wxUSE_LIBSDL
4212 { echo "$as_me:$LINENO: result: $result" >&5
4213 echo "${ECHO_T}$result" >&6; }
4216 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4217 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4219 # Check whether --with-regex was given.
4220 if test "${with_regex+set}" = set; then
4221 withval=$with_regex;
4222 if test "$withval" = yes; then
4223 wx_cv_use_regex='wxUSE_REGEX=yes'
4224 elif test "$withval" = no; then
4225 wx_cv_use_regex='wxUSE_REGEX=no'
4226 elif test "$withval" = sys; then
4227 wx_cv_use_regex='wxUSE_REGEX=sys'
4228 elif test "$withval" = builtin; then
4229 wx_cv_use_regex='wxUSE_REGEX=builtin'
4231 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4232 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4233 { (exit 1); exit 1; }; }
4239 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4247 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4252 eval "$wx_cv_use_regex"
4253 if test "x$cache" = xyes; then
4254 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4257 if test "$wxUSE_REGEX" = yes; then
4258 { echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6; }
4260 elif test "$wxUSE_REGEX" = no; then
4261 { echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6; }
4263 elif test "$wxUSE_REGEX" = sys; then
4264 { echo "$as_me:$LINENO: result: system version" >&5
4265 echo "${ECHO_T}system version" >&6; }
4266 elif test "$wxUSE_REGEX" = builtin; then
4267 { echo "$as_me:$LINENO: result: builtin version" >&5
4268 echo "${ECHO_T}builtin version" >&6; }
4270 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4271 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4272 { (exit 1); exit 1; }; }
4276 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4277 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4279 # Check whether --with-zlib was given.
4280 if test "${with_zlib+set}" = set; then
4282 if test "$withval" = yes; then
4283 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4284 elif test "$withval" = no; then
4285 wx_cv_use_zlib='wxUSE_ZLIB=no'
4286 elif test "$withval" = sys; then
4287 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4288 elif test "$withval" = builtin; then
4289 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4291 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4292 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4293 { (exit 1); exit 1; }; }
4299 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x ; then
4301 eval "DEFAULT_$LINE"
4307 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4312 eval "$wx_cv_use_zlib"
4313 if test "x$cache" = xyes; then
4314 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4317 if test "$wxUSE_ZLIB" = yes; then
4318 { echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6; }
4320 elif test "$wxUSE_ZLIB" = no; then
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4323 elif test "$wxUSE_ZLIB" = sys; then
4324 { echo "$as_me:$LINENO: result: system version" >&5
4325 echo "${ECHO_T}system version" >&6; }
4326 elif test "$wxUSE_ZLIB" = builtin; then
4327 { echo "$as_me:$LINENO: result: builtin version" >&5
4328 echo "${ECHO_T}builtin version" >&6; }
4330 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4331 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4332 { (exit 1); exit 1; }; }
4336 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4337 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4339 # Check whether --with-odbc was given.
4340 if test "${with_odbc+set}" = set; then
4342 if test "$withval" = yes; then
4343 wx_cv_use_odbc='wxUSE_ODBC=yes'
4344 elif test "$withval" = no; then
4345 wx_cv_use_odbc='wxUSE_ODBC=no'
4346 elif test "$withval" = sys; then
4347 wx_cv_use_odbc='wxUSE_ODBC=sys'
4348 elif test "$withval" = builtin; then
4349 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4351 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4352 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4353 { (exit 1); exit 1; }; }
4359 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x ; then
4361 eval "DEFAULT_$LINE"
4367 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4372 eval "$wx_cv_use_odbc"
4373 if test "x$cache" = xyes; then
4374 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4377 if test "$wxUSE_ODBC" = yes; then
4378 { echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6; }
4380 elif test "$wxUSE_ODBC" = no; then
4381 { echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6; }
4383 elif test "$wxUSE_ODBC" = sys; then
4384 { echo "$as_me:$LINENO: result: system version" >&5
4385 echo "${ECHO_T}system version" >&6; }
4386 elif test "$wxUSE_ODBC" = builtin; then
4387 { echo "$as_me:$LINENO: result: builtin version" >&5
4388 echo "${ECHO_T}builtin version" >&6; }
4390 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4391 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4392 { (exit 1); exit 1; }; }
4396 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4397 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4399 # Check whether --with-expat was given.
4400 if test "${with_expat+set}" = set; then
4401 withval=$with_expat;
4402 if test "$withval" = yes; then
4403 wx_cv_use_expat='wxUSE_EXPAT=yes'
4404 elif test "$withval" = no; then
4405 wx_cv_use_expat='wxUSE_EXPAT=no'
4406 elif test "$withval" = sys; then
4407 wx_cv_use_expat='wxUSE_EXPAT=sys'
4408 elif test "$withval" = builtin; then
4409 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4411 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4412 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4413 { (exit 1); exit 1; }; }
4419 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x ; then
4421 eval "DEFAULT_$LINE"
4427 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4432 eval "$wx_cv_use_expat"
4433 if test "x$cache" = xyes; then
4434 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4437 if test "$wxUSE_EXPAT" = yes; then
4438 { echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6; }
4440 elif test "$wxUSE_EXPAT" = no; then
4441 { echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6; }
4443 elif test "$wxUSE_EXPAT" = sys; then
4444 { echo "$as_me:$LINENO: result: system version" >&5
4445 echo "${ECHO_T}system version" >&6; }
4446 elif test "$wxUSE_EXPAT" = builtin; then
4447 { echo "$as_me:$LINENO: result: builtin version" >&5
4448 echo "${ECHO_T}builtin version" >&6; }
4450 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4451 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4452 { (exit 1); exit 1; }; }
4456 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4457 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4459 # Check whether --with-macosx-sdk was given.
4460 if test "${with_macosx_sdk+set}" = set; then
4461 withval=$with_macosx_sdk;
4462 wxUSE_MACOSX_SDK=$withval
4463 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4464 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4468 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4469 # will override --enable-universal_binary's automatic SDK usage.
4471 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x ; then
4474 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4479 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4480 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4482 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4483 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4485 # Check whether --with-macosx-version-min was given.
4486 if test "${with_macosx_version_min+set}" = set; then
4487 withval=$with_macosx_version_min;
4488 wxUSE_MACOSX_VERSION_MIN=$withval
4489 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4490 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4494 # default "yes" because when not using an SDK it means the same as no
4495 # but when using an SDK it means to use the SDK version
4496 wxUSE_MACOSX_VERSION_MIN=yes
4497 # See if there is a value in the cache
4498 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4501 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4506 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4507 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4511 enablestring=disable
4513 if test -z "$defaultval"; then
4514 if test x"$enablestring" = xdisable; then
4521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4523 # Check whether --enable-shared was given.
4524 if test "${enable_shared+set}" = set; then
4525 enableval=$enable_shared;
4526 if test "$enableval" = yes; then
4527 wx_cv_use_shared='wxUSE_SHARED=yes'
4529 wx_cv_use_shared='wxUSE_SHARED=no'
4535 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x ; then
4537 eval "DEFAULT_$LINE"
4543 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4548 eval "$wx_cv_use_shared"
4549 if test "x$cache" = xyes; then
4550 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4553 if test x"$enablestring" = xdisable; then
4554 if test $wxUSE_SHARED = yes; then
4560 result=$wxUSE_SHARED
4563 { echo "$as_me:$LINENO: result: $result" >&5
4564 echo "${ECHO_T}$result" >&6; }
4567 enablestring=disable
4569 if test -z "$defaultval"; then
4570 if test x"$enablestring" = xdisable; then
4577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4579 # Check whether --enable-optimise was given.
4580 if test "${enable_optimise+set}" = set; then
4581 enableval=$enable_optimise;
4582 if test "$enableval" = yes; then
4583 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4585 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4591 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x ; then
4593 eval "DEFAULT_$LINE"
4599 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4604 eval "$wx_cv_use_optimise"
4605 if test "x$cache" = xyes; then
4606 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_OPTIMISE = yes; then
4616 result=$wxUSE_OPTIMISE
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4635 # Check whether --enable-debug was given.
4636 if test "${enable_debug+set}" = set; then
4637 enableval=$enable_debug;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_debug='wxUSE_DEBUG=yes'
4641 wx_cv_use_debug='wxUSE_DEBUG=no'
4647 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x ; then
4649 eval "DEFAULT_$LINE"
4655 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4660 eval "$wx_cv_use_debug"
4661 if test "x$cache" = xyes; then
4662 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4665 if test x"$enablestring" = xdisable; then
4666 if test $wxUSE_DEBUG = yes; then
4675 { echo "$as_me:$LINENO: result: $result" >&5
4676 echo "${ECHO_T}$result" >&6; }
4681 if test -z "$defaultval"; then
4682 if test x"$enablestring" = xdisable; then
4689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4690 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4691 # Check whether --enable-stl was given.
4692 if test "${enable_stl+set}" = set; then
4693 enableval=$enable_stl;
4694 if test "$enableval" = yes; then
4695 wx_cv_use_stl='wxUSE_STL=yes'
4697 wx_cv_use_stl='wxUSE_STL=no'
4703 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x ; then
4705 eval "DEFAULT_$LINE"
4711 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4716 eval "$wx_cv_use_stl"
4717 if test "x$cache" = xyes; then
4718 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4721 if test x"$enablestring" = xdisable; then
4722 if test $wxUSE_STL = yes; then
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4747 # Check whether --enable-std_iostreams was given.
4748 if test "${enable_std_iostreams+set}" = set; then
4749 enableval=$enable_std_iostreams;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4753 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4759 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4767 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4772 eval "$wx_cv_use_std_iostreams"
4773 if test "x$cache" = xyes; then
4774 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4777 if test x"$enablestring" = xdisable; then
4778 if test $wxUSE_STD_IOSTREAM = yes; then
4784 result=$wxUSE_STD_IOSTREAM
4787 { echo "$as_me:$LINENO: result: $result" >&5
4788 echo "${ECHO_T}$result" >&6; }
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4803 # Check whether --enable-std_string was given.
4804 if test "${enable_std_string+set}" = set; then
4805 enableval=$enable_std_string;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4809 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4815 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4823 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4828 eval "$wx_cv_use_std_string"
4829 if test "x$cache" = xyes; then
4830 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4833 if test x"$enablestring" = xdisable; then
4834 if test $wxUSE_STD_STRING = yes; then
4840 result=$wxUSE_STD_STRING
4843 { echo "$as_me:$LINENO: result: $result" >&5
4844 echo "${ECHO_T}$result" >&6; }
4847 enablestring=disable
4849 if test -z "$defaultval"; then
4850 if test x"$enablestring" = xdisable; then
4857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4859 # Check whether --enable-unicode was given.
4860 if test "${enable_unicode+set}" = set; then
4861 enableval=$enable_unicode;
4862 if test "$enableval" = yes; then
4863 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4865 wx_cv_use_unicode='wxUSE_UNICODE=no'
4871 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4879 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4884 eval "$wx_cv_use_unicode"
4885 if test "x$cache" = xyes; then
4886 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4889 if test x"$enablestring" = xdisable; then
4890 if test $wxUSE_UNICODE = yes; then
4896 result=$wxUSE_UNICODE
4899 { echo "$as_me:$LINENO: result: $result" >&5
4900 echo "${ECHO_T}$result" >&6; }
4905 if test -z "$defaultval"; then
4906 if test x"$enablestring" = xdisable; then
4913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4915 # Check whether --enable-mslu was given.
4916 if test "${enable_mslu+set}" = set; then
4917 enableval=$enable_mslu;
4918 if test "$enableval" = yes; then
4919 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4927 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4928 if test "x$LINE" != x ; then
4929 eval "DEFAULT_$LINE"
4935 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4940 eval "$wx_cv_use_mslu"
4941 if test "x$cache" = xyes; then
4942 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4945 if test x"$enablestring" = xdisable; then
4946 if test $wxUSE_UNICODE_MSLU = yes; then
4952 result=$wxUSE_UNICODE_MSLU
4955 { echo "$as_me:$LINENO: result: $result" >&5
4956 echo "${ECHO_T}$result" >&6; }
4960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4962 # Check whether --enable-utf8 was given.
4963 if test "${enable_utf8+set}" = set; then
4964 enableval=$enable_utf8;
4965 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4970 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4978 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4983 eval "$wx_cv_use_utf8"
4984 if test "x$cache" = xyes; then
4985 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4988 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4989 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4994 if test -z "$defaultval"; then
4995 if test x"$enablestring" = xdisable; then
5002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5003 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5004 # Check whether --enable-utf8only was given.
5005 if test "${enable_utf8only+set}" = set; then
5006 enableval=$enable_utf8only;
5007 if test "$enableval" = yes; then
5008 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5010 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5016 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x ; then
5018 eval "DEFAULT_$LINE"
5024 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5029 eval "$wx_cv_use_utf8only"
5030 if test "x$cache" = xyes; then
5031 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5041 result=$wxUSE_UNICODE_UTF8_LOCALE
5044 { echo "$as_me:$LINENO: result: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5060 # Check whether --enable-extended_rtti was given.
5061 if test "${enable_extended_rtti+set}" = set; then
5062 enableval=$enable_extended_rtti;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5066 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5072 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5080 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5085 eval "$wx_cv_use_extended_rtti"
5086 if test "x$cache" = xyes; then
5087 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_EXTENDED_RTTI = yes; then
5097 result=$wxUSE_EXTENDED_RTTI
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5103 if test "$USE_OS2" = "1"; then
5104 DEFAULT_wxUSE_OMF=no
5108 if test -z "$defaultval"; then
5109 if test x"$enablestring" = xdisable; then
5116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5117 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5118 # Check whether --enable-omf was given.
5119 if test "${enable_omf+set}" = set; then
5120 enableval=$enable_omf;
5121 if test "$enableval" = yes; then
5122 wx_cv_use_omf='wxUSE_OMF=yes'
5124 wx_cv_use_omf='wxUSE_OMF=no'
5130 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x ; then
5132 eval "DEFAULT_$LINE"
5138 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5143 eval "$wx_cv_use_omf"
5144 if test "x$cache" = xyes; then
5145 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5148 if test x"$enablestring" = xdisable; then
5149 if test $wxUSE_OMF = yes; then
5158 { echo "$as_me:$LINENO: result: $result" >&5
5159 echo "${ECHO_T}$result" >&6; }
5163 if test "$wxUSE_DEBUG" = "yes"; then
5164 DEFAULT_wxUSE_DEBUG_FLAG=yes
5165 DEFAULT_wxUSE_DEBUG_INFO=yes
5167 elif test "$wxUSE_DEBUG" = "no"; then
5168 DEFAULT_wxUSE_DEBUG_FLAG=no
5169 DEFAULT_wxUSE_DEBUG_INFO=no
5176 if test -z "$defaultval"; then
5177 if test x"$enablestring" = xdisable; then
5184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5186 # Check whether --enable-debug_flag was given.
5187 if test "${enable_debug_flag+set}" = set; then
5188 enableval=$enable_debug_flag;
5189 if test "$enableval" = yes; then
5190 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5192 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5198 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x ; then
5200 eval "DEFAULT_$LINE"
5206 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5211 eval "$wx_cv_use_debug_flag"
5212 if test "x$cache" = xyes; then
5213 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5216 if test x"$enablestring" = xdisable; then
5217 if test $wxUSE_DEBUG_FLAG = yes; then
5223 result=$wxUSE_DEBUG_FLAG
5226 { echo "$as_me:$LINENO: result: $result" >&5
5227 echo "${ECHO_T}$result" >&6; }
5232 if test -z "$defaultval"; then
5233 if test x"$enablestring" = xdisable; then
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5242 # Check whether --enable-debug_info was given.
5243 if test "${enable_debug_info+set}" = set; then
5244 enableval=$enable_debug_info;
5245 if test "$enableval" = yes; then
5246 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5248 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5254 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x ; then
5256 eval "DEFAULT_$LINE"
5262 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5267 eval "$wx_cv_use_debug_info"
5268 if test "x$cache" = xyes; then
5269 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5272 if test x"$enablestring" = xdisable; then
5273 if test $wxUSE_DEBUG_INFO = yes; then
5279 result=$wxUSE_DEBUG_INFO
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5288 if test -z "$defaultval"; then
5289 if test x"$enablestring" = xdisable; then
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5298 # Check whether --enable-debug_gdb was given.
5299 if test "${enable_debug_gdb+set}" = set; then
5300 enableval=$enable_debug_gdb;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5304 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5310 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x ; then
5312 eval "DEFAULT_$LINE"
5318 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5323 eval "$wx_cv_use_debug_gdb"
5324 if test "x$cache" = xyes; then
5325 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5328 if test x"$enablestring" = xdisable; then
5329 if test $wxUSE_DEBUG_GDB = yes; then
5335 result=$wxUSE_DEBUG_GDB
5338 { echo "$as_me:$LINENO: result: $result" >&5
5339 echo "${ECHO_T}$result" >&6; }
5344 if test -z "$defaultval"; then
5345 if test x"$enablestring" = xdisable; then
5352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5354 # Check whether --enable-debug_cntxt was given.
5355 if test "${enable_debug_cntxt+set}" = set; then
5356 enableval=$enable_debug_cntxt;
5357 if test "$enableval" = yes; then
5358 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5360 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5366 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5367 if test "x$LINE" != x ; then
5368 eval "DEFAULT_$LINE"
5374 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5379 eval "$wx_cv_use_debug_cntxt"
5380 if test "x$cache" = xyes; then
5381 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5384 if test x"$enablestring" = xdisable; then
5385 if test $wxUSE_DEBUG_CONTEXT = yes; then
5391 result=$wxUSE_DEBUG_CONTEXT
5394 { echo "$as_me:$LINENO: result: $result" >&5
5395 echo "${ECHO_T}$result" >&6; }
5400 if test -z "$defaultval"; then
5401 if test x"$enablestring" = xdisable; then
5408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5410 # Check whether --enable-mem_tracing was given.
5411 if test "${enable_mem_tracing+set}" = set; then
5412 enableval=$enable_mem_tracing;
5413 if test "$enableval" = yes; then
5414 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5416 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5422 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5423 if test "x$LINE" != x ; then
5424 eval "DEFAULT_$LINE"
5430 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5435 eval "$wx_cv_use_mem_tracing"
5436 if test "x$cache" = xyes; then
5437 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5440 if test x"$enablestring" = xdisable; then
5441 if test $wxUSE_MEM_TRACING = yes; then
5447 result=$wxUSE_MEM_TRACING
5450 { echo "$as_me:$LINENO: result: $result" >&5
5451 echo "${ECHO_T}$result" >&6; }
5456 if test -z "$defaultval"; then
5457 if test x"$enablestring" = xdisable; then
5464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5466 # Check whether --enable-profile was given.
5467 if test "${enable_profile+set}" = set; then
5468 enableval=$enable_profile;
5469 if test "$enableval" = yes; then
5470 wx_cv_use_profile='wxUSE_PROFILE=yes'
5472 wx_cv_use_profile='wxUSE_PROFILE=no'
5478 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5479 if test "x$LINE" != x ; then
5480 eval "DEFAULT_$LINE"
5486 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5491 eval "$wx_cv_use_profile"
5492 if test "x$cache" = xyes; then
5493 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5496 if test x"$enablestring" = xdisable; then
5497 if test $wxUSE_PROFILE = yes; then
5503 result=$wxUSE_PROFILE
5506 { echo "$as_me:$LINENO: result: $result" >&5
5507 echo "${ECHO_T}$result" >&6; }
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5522 # Check whether --enable-no_rtti was given.
5523 if test "${enable_no_rtti+set}" = set; then
5524 enableval=$enable_no_rtti;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5528 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5534 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x ; then
5536 eval "DEFAULT_$LINE"
5542 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5547 eval "$wx_cv_use_no_rtti"
5548 if test "x$cache" = xyes; then
5549 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_NO_RTTI = yes; then
5559 result=$wxUSE_NO_RTTI
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5568 if test -z "$defaultval"; then
5569 if test x"$enablestring" = xdisable; then
5576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5578 # Check whether --enable-no_exceptions was given.
5579 if test "${enable_no_exceptions+set}" = set; then
5580 enableval=$enable_no_exceptions;
5581 if test "$enableval" = yes; then
5582 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5584 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5590 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5598 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5603 eval "$wx_cv_use_no_exceptions"
5604 if test "x$cache" = xyes; then
5605 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_NO_EXCEPTIONS = yes; then
5615 result=$wxUSE_NO_EXCEPTIONS
5618 { echo "$as_me:$LINENO: result: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5634 # Check whether --enable-permissive was given.
5635 if test "${enable_permissive+set}" = set; then
5636 enableval=$enable_permissive;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5640 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5646 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x ; then
5648 eval "DEFAULT_$LINE"
5654 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5659 eval "$wx_cv_use_permissive"
5660 if test "x$cache" = xyes; then
5661 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5664 if test x"$enablestring" = xdisable; then
5665 if test $wxUSE_PERMISSIVE = yes; then
5671 result=$wxUSE_PERMISSIVE
5674 { echo "$as_me:$LINENO: result: $result" >&5
5675 echo "${ECHO_T}$result" >&6; }
5680 if test -z "$defaultval"; then
5681 if test x"$enablestring" = xdisable; then
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5690 # Check whether --enable-no_deps was given.
5691 if test "${enable_no_deps+set}" = set; then
5692 enableval=$enable_no_deps;
5693 if test "$enableval" = yes; then
5694 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5696 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5702 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5710 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5715 eval "$wx_cv_use_no_deps"
5716 if test "x$cache" = xyes; then
5717 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5720 if test x"$enablestring" = xdisable; then
5721 if test $wxUSE_NO_DEPS = yes; then
5727 result=$wxUSE_NO_DEPS
5730 { echo "$as_me:$LINENO: result: $result" >&5
5731 echo "${ECHO_T}$result" >&6; }
5734 enablestring=disable
5736 if test -z "$defaultval"; then
5737 if test x"$enablestring" = xdisable; then
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5746 # Check whether --enable-vararg_macros was given.
5747 if test "${enable_vararg_macros+set}" = set; then
5748 enableval=$enable_vararg_macros;
5749 if test "$enableval" = yes; then
5750 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5752 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5758 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x ; then
5760 eval "DEFAULT_$LINE"
5766 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5771 eval "$wx_cv_use_vararg_macros"
5772 if test "x$cache" = xyes; then
5773 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_VARARG_MACROS = yes; then
5783 result=$wxUSE_VARARG_MACROS
5786 { echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5793 # Check whether --enable-universal_binary was given.
5794 if test "${enable_universal_binary+set}" = set; then
5795 enableval=$enable_universal_binary;
5796 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5801 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5809 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5814 eval "$wx_cv_use_universal_binary"
5815 if test "x$cache" = xyes; then
5816 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5819 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5820 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5836 # Check whether --enable-compat26 was given.
5837 if test "${enable_compat26+set}" = set; then
5838 enableval=$enable_compat26;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5842 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5848 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5856 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5861 eval "$wx_cv_use_compat26"
5862 if test "x$cache" = xyes; then
5863 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5866 if test x"$enablestring" = xdisable; then
5867 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5873 result=$WXWIN_COMPATIBILITY_2_6
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5880 enablestring=disable
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5892 # Check whether --enable-compat28 was given.
5893 if test "${enable_compat28+set}" = set; then
5894 enableval=$enable_compat28;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5898 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5904 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x ; then
5906 eval "DEFAULT_$LINE"
5912 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5917 eval "$wx_cv_use_compat28"
5918 if test "x$cache" = xyes; then
5919 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5922 if test x"$enablestring" = xdisable; then
5923 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5929 result=$WXWIN_COMPATIBILITY_2_8
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5937 enablestring=disable
5939 if test -z "$defaultval"; then
5940 if test x"$enablestring" = xdisable; then
5947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5949 # Check whether --enable-rpath was given.
5950 if test "${enable_rpath+set}" = set; then
5951 enableval=$enable_rpath;
5952 if test "$enableval" = yes; then
5953 wx_cv_use_rpath='wxUSE_RPATH=yes'
5955 wx_cv_use_rpath='wxUSE_RPATH=no'
5961 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x ; then
5963 eval "DEFAULT_$LINE"
5969 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5974 eval "$wx_cv_use_rpath"
5975 if test "x$cache" = xyes; then
5976 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5979 if test x"$enablestring" = xdisable; then
5980 if test $wxUSE_RPATH = yes; then
5989 { echo "$as_me:$LINENO: result: $result" >&5
5990 echo "${ECHO_T}$result" >&6; }
5996 if test -z "$defaultval"; then
5997 if test x"$enablestring" = xdisable; then
6004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6006 # Check whether --enable-objc_uniquifying was given.
6007 if test "${enable_objc_uniquifying+set}" = set; then
6008 enableval=$enable_objc_uniquifying;
6009 if test "$enableval" = yes; then
6010 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6012 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6018 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6026 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6031 eval "$wx_cv_use_objc_uniquifying"
6032 if test "x$cache" = xyes; then
6033 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6036 if test x"$enablestring" = xdisable; then
6037 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6043 result=$wxUSE_OBJC_UNIQUIFYING
6046 { echo "$as_me:$LINENO: result: $result" >&5
6047 echo "${ECHO_T}$result" >&6; }
6051 enablestring=disable
6053 if test -z "$defaultval"; then
6054 if test x"$enablestring" = xdisable; then
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6063 # Check whether --enable-visibility was given.
6064 if test "${enable_visibility+set}" = set; then
6065 enableval=$enable_visibility;
6066 if test "$enableval" = yes; then
6067 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6069 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6075 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6083 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6088 eval "$wx_cv_use_visibility"
6089 if test "x$cache" = xyes; then
6090 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6093 if test x"$enablestring" = xdisable; then
6094 if test $wxUSE_VISIBILITY = yes; then
6100 result=$wxUSE_VISIBILITY
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6110 defaultval=$wxUSE_ALL_FEATURES
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6121 # Check whether --enable-intl was given.
6122 if test "${enable_intl+set}" = set; then
6123 enableval=$enable_intl;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_intl='wxUSE_INTL=yes'
6127 wx_cv_use_intl='wxUSE_INTL=no'
6133 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6141 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6146 eval "$wx_cv_use_intl"
6147 if test "x$cache" = xyes; then
6148 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6151 if test x"$enablestring" = xdisable; then
6152 if test $wxUSE_INTL = yes; then
6161 { echo "$as_me:$LINENO: result: $result" >&5
6162 echo "${ECHO_T}$result" >&6; }
6166 defaultval=$wxUSE_ALL_FEATURES
6167 if test -z "$defaultval"; then
6168 if test x"$enablestring" = xdisable; then
6175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6177 # Check whether --enable-config was given.
6178 if test "${enable_config+set}" = set; then
6179 enableval=$enable_config;
6180 if test "$enableval" = yes; then
6181 wx_cv_use_config='wxUSE_CONFIG=yes'
6183 wx_cv_use_config='wxUSE_CONFIG=no'
6189 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6197 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6202 eval "$wx_cv_use_config"
6203 if test "x$cache" = xyes; then
6204 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_CONFIG = yes; then
6214 result=$wxUSE_CONFIG
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6223 defaultval=$wxUSE_ALL_FEATURES
6224 if test -z "$defaultval"; then
6225 if test x"$enablestring" = xdisable; then
6232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6233 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6234 # Check whether --enable-protocols was given.
6235 if test "${enable_protocols+set}" = set; then
6236 enableval=$enable_protocols;
6237 if test "$enableval" = yes; then
6238 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6240 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6246 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6247 if test "x$LINE" != x ; then
6248 eval "DEFAULT_$LINE"
6254 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6259 eval "$wx_cv_use_protocols"
6260 if test "x$cache" = xyes; then
6261 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6264 if test x"$enablestring" = xdisable; then
6265 if test $wxUSE_PROTOCOL = yes; then
6271 result=$wxUSE_PROTOCOL
6274 { echo "$as_me:$LINENO: result: $result" >&5
6275 echo "${ECHO_T}$result" >&6; }
6279 defaultval=$wxUSE_ALL_FEATURES
6280 if test -z "$defaultval"; then
6281 if test x"$enablestring" = xdisable; then
6288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6290 # Check whether --enable-ftp was given.
6291 if test "${enable_ftp+set}" = set; then
6292 enableval=$enable_ftp;
6293 if test "$enableval" = yes; then
6294 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6296 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6302 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6303 if test "x$LINE" != x ; then
6304 eval "DEFAULT_$LINE"
6310 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6315 eval "$wx_cv_use_ftp"
6316 if test "x$cache" = xyes; then
6317 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6320 if test x"$enablestring" = xdisable; then
6321 if test $wxUSE_PROTOCOL_FTP = yes; then
6327 result=$wxUSE_PROTOCOL_FTP
6330 { echo "$as_me:$LINENO: result: $result" >&5
6331 echo "${ECHO_T}$result" >&6; }
6335 defaultval=$wxUSE_ALL_FEATURES
6336 if test -z "$defaultval"; then
6337 if test x"$enablestring" = xdisable; then
6344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6346 # Check whether --enable-http was given.
6347 if test "${enable_http+set}" = set; then
6348 enableval=$enable_http;
6349 if test "$enableval" = yes; then
6350 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6352 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6358 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6366 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6371 eval "$wx_cv_use_http"
6372 if test "x$cache" = xyes; then
6373 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6376 if test x"$enablestring" = xdisable; then
6377 if test $wxUSE_PROTOCOL_HTTP = yes; then
6383 result=$wxUSE_PROTOCOL_HTTP
6386 { echo "$as_me:$LINENO: result: $result" >&5
6387 echo "${ECHO_T}$result" >&6; }
6391 defaultval=$wxUSE_ALL_FEATURES
6392 if test -z "$defaultval"; then
6393 if test x"$enablestring" = xdisable; then
6400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6402 # Check whether --enable-fileproto was given.
6403 if test "${enable_fileproto+set}" = set; then
6404 enableval=$enable_fileproto;
6405 if test "$enableval" = yes; then
6406 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6408 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6414 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x ; then
6416 eval "DEFAULT_$LINE"
6422 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6427 eval "$wx_cv_use_fileproto"
6428 if test "x$cache" = xyes; then
6429 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6432 if test x"$enablestring" = xdisable; then
6433 if test $wxUSE_PROTOCOL_FILE = yes; then
6439 result=$wxUSE_PROTOCOL_FILE
6442 { echo "$as_me:$LINENO: result: $result" >&5
6443 echo "${ECHO_T}$result" >&6; }
6447 defaultval=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x"$enablestring" = xdisable; then
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6458 # Check whether --enable-sockets was given.
6459 if test "${enable_sockets+set}" = set; then
6460 enableval=$enable_sockets;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6464 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6470 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6478 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6483 eval "$wx_cv_use_sockets"
6484 if test "x$cache" = xyes; then
6485 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_SOCKETS = yes; then
6495 result=$wxUSE_SOCKETS
6498 { echo "$as_me:$LINENO: result: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6514 # Check whether --enable-ole was given.
6515 if test "${enable_ole+set}" = set; then
6516 enableval=$enable_ole;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_ole='wxUSE_OLE=yes'
6520 wx_cv_use_ole='wxUSE_OLE=no'
6526 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6534 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6539 eval "$wx_cv_use_ole"
6540 if test "x$cache" = xyes; then
6541 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6544 if test x"$enablestring" = xdisable; then
6545 if test $wxUSE_OLE = yes; then
6554 { echo "$as_me:$LINENO: result: $result" >&5
6555 echo "${ECHO_T}$result" >&6; }
6559 defaultval=$wxUSE_ALL_FEATURES
6560 if test -z "$defaultval"; then
6561 if test x"$enablestring" = xdisable; then
6568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6569 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6570 # Check whether --enable-dataobj was given.
6571 if test "${enable_dataobj+set}" = set; then
6572 enableval=$enable_dataobj;
6573 if test "$enableval" = yes; then
6574 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6576 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6582 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x ; then
6584 eval "DEFAULT_$LINE"
6590 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6595 eval "$wx_cv_use_dataobj"
6596 if test "x$cache" = xyes; then
6597 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6600 if test x"$enablestring" = xdisable; then
6601 if test $wxUSE_DATAOBJ = yes; then
6607 result=$wxUSE_DATAOBJ
6610 { echo "$as_me:$LINENO: result: $result" >&5
6611 echo "${ECHO_T}$result" >&6; }
6616 defaultval=$wxUSE_ALL_FEATURES
6617 if test -z "$defaultval"; then
6618 if test x"$enablestring" = xdisable; then
6625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6627 # Check whether --enable-ipc was given.
6628 if test "${enable_ipc+set}" = set; then
6629 enableval=$enable_ipc;
6630 if test "$enableval" = yes; then
6631 wx_cv_use_ipc='wxUSE_IPC=yes'
6633 wx_cv_use_ipc='wxUSE_IPC=no'
6639 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x ; then
6641 eval "DEFAULT_$LINE"
6647 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6652 eval "$wx_cv_use_ipc"
6653 if test "x$cache" = xyes; then
6654 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6657 if test x"$enablestring" = xdisable; then
6658 if test $wxUSE_IPC = yes; then
6667 { echo "$as_me:$LINENO: result: $result" >&5
6668 echo "${ECHO_T}$result" >&6; }
6673 defaultval=$wxUSE_ALL_FEATURES
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6683 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6684 # Check whether --enable-baseevtloop was given.
6685 if test "${enable_baseevtloop+set}" = set; then
6686 enableval=$enable_baseevtloop;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6690 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6696 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6704 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6709 eval "$wx_cv_use_baseevtloop"
6710 if test "x$cache" = xyes; then
6711 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6714 if test x"$enablestring" = xdisable; then
6715 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6721 result=$wxUSE_CONSOLE_EVENTLOOP
6724 { echo "$as_me:$LINENO: result: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6729 defaultval=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x"$enablestring" = xdisable; then
6738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6739 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6740 # Check whether --enable-epoolloop was given.
6741 if test "${enable_epoolloop+set}" = set; then
6742 enableval=$enable_epoolloop;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6746 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6752 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x ; then
6754 eval "DEFAULT_$LINE"
6760 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6765 eval "$wx_cv_use_epoolloop"
6766 if test "x$cache" = xyes; then
6767 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6770 if test x"$enablestring" = xdisable; then
6771 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6777 result=$wxUSE_EPOLL_DISPATCHER
6780 { echo "$as_me:$LINENO: result: $result" >&5
6781 echo "${ECHO_T}$result" >&6; }
6785 defaultval=$wxUSE_ALL_FEATURES
6786 if test -z "$defaultval"; then
6787 if test x"$enablestring" = xdisable; then
6794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6796 # Check whether --enable-selectloop was given.
6797 if test "${enable_selectloop+set}" = set; then
6798 enableval=$enable_selectloop;
6799 if test "$enableval" = yes; then
6800 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6802 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6808 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6809 if test "x$LINE" != x ; then
6810 eval "DEFAULT_$LINE"
6816 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6821 eval "$wx_cv_use_selectloop"
6822 if test "x$cache" = xyes; then
6823 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6826 if test x"$enablestring" = xdisable; then
6827 if test $wxUSE_SELECT_DISPATCHER = yes; then
6833 result=$wxUSE_SELECT_DISPATCHER
6836 { echo "$as_me:$LINENO: result: $result" >&5
6837 echo "${ECHO_T}$result" >&6; }
6842 defaultval=$wxUSE_ALL_FEATURES
6843 if test -z "$defaultval"; then
6844 if test x"$enablestring" = xdisable; then
6851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6853 # Check whether --enable-apple_ieee was given.
6854 if test "${enable_apple_ieee+set}" = set; then
6855 enableval=$enable_apple_ieee;
6856 if test "$enableval" = yes; then
6857 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6859 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6865 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6873 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6878 eval "$wx_cv_use_apple_ieee"
6879 if test "x$cache" = xyes; then
6880 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6883 if test x"$enablestring" = xdisable; then
6884 if test $wxUSE_APPLE_IEEE = yes; then
6890 result=$wxUSE_APPLE_IEEE
6893 { echo "$as_me:$LINENO: result: $result" >&5
6894 echo "${ECHO_T}$result" >&6; }
6898 defaultval=$wxUSE_ALL_FEATURES
6899 if test -z "$defaultval"; then
6900 if test x"$enablestring" = xdisable; then
6907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6909 # Check whether --enable-arcstream was given.
6910 if test "${enable_arcstream+set}" = set; then
6911 enableval=$enable_arcstream;
6912 if test "$enableval" = yes; then
6913 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6915 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6921 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x ; then
6923 eval "DEFAULT_$LINE"
6929 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6934 eval "$wx_cv_use_arcstream"
6935 if test "x$cache" = xyes; then
6936 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6939 if test x"$enablestring" = xdisable; then
6940 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6946 result=$wxUSE_ARCHIVE_STREAMS
6949 { echo "$as_me:$LINENO: result: $result" >&5
6950 echo "${ECHO_T}$result" >&6; }
6954 defaultval=$wxUSE_ALL_FEATURES
6955 if test -z "$defaultval"; then
6956 if test x"$enablestring" = xdisable; then
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6965 # Check whether --enable-base64 was given.
6966 if test "${enable_base64+set}" = set; then
6967 enableval=$enable_base64;
6968 if test "$enableval" = yes; then
6969 wx_cv_use_base64='wxUSE_BASE64=yes'
6971 wx_cv_use_base64='wxUSE_BASE64=no'
6977 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6985 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6990 eval "$wx_cv_use_base64"
6991 if test "x$cache" = xyes; then
6992 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_BASE64 = yes; then
7002 result=$wxUSE_BASE64
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7010 defaultval=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x"$enablestring" = xdisable; then
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7021 # Check whether --enable-backtrace was given.
7022 if test "${enable_backtrace+set}" = set; then
7023 enableval=$enable_backtrace;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7027 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7033 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x ; then
7035 eval "DEFAULT_$LINE"
7041 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7046 eval "$wx_cv_use_backtrace"
7047 if test "x$cache" = xyes; then
7048 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7051 if test x"$enablestring" = xdisable; then
7052 if test $wxUSE_STACKWALKER = yes; then
7058 result=$wxUSE_STACKWALKER
7061 { echo "$as_me:$LINENO: result: $result" >&5
7062 echo "${ECHO_T}$result" >&6; }
7066 defaultval=$wxUSE_ALL_FEATURES
7067 if test -z "$defaultval"; then
7068 if test x"$enablestring" = xdisable; then
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7077 # Check whether --enable-catch_segvs was given.
7078 if test "${enable_catch_segvs+set}" = set; then
7079 enableval=$enable_catch_segvs;
7080 if test "$enableval" = yes; then
7081 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7083 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7089 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7097 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7102 eval "$wx_cv_use_catch_segvs"
7103 if test "x$cache" = xyes; then
7104 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7114 result=$wxUSE_ON_FATAL_EXCEPTION
7117 { echo "$as_me:$LINENO: result: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7133 # Check whether --enable-cmdline was given.
7134 if test "${enable_cmdline+set}" = set; then
7135 enableval=$enable_cmdline;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7139 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7145 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7153 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7158 eval "$wx_cv_use_cmdline"
7159 if test "x$cache" = xyes; then
7160 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7163 if test x"$enablestring" = xdisable; then
7164 if test $wxUSE_CMDLINE_PARSER = yes; then
7170 result=$wxUSE_CMDLINE_PARSER
7173 { echo "$as_me:$LINENO: result: $result" >&5
7174 echo "${ECHO_T}$result" >&6; }
7178 defaultval=$wxUSE_ALL_FEATURES
7179 if test -z "$defaultval"; then
7180 if test x"$enablestring" = xdisable; then
7187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7189 # Check whether --enable-datetime was given.
7190 if test "${enable_datetime+set}" = set; then
7191 enableval=$enable_datetime;
7192 if test "$enableval" = yes; then
7193 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7195 wx_cv_use_datetime='wxUSE_DATETIME=no'
7201 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7202 if test "x$LINE" != x ; then
7203 eval "DEFAULT_$LINE"
7209 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7214 eval "$wx_cv_use_datetime"
7215 if test "x$cache" = xyes; then
7216 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7219 if test x"$enablestring" = xdisable; then
7220 if test $wxUSE_DATETIME = yes; then
7226 result=$wxUSE_DATETIME
7229 { echo "$as_me:$LINENO: result: $result" >&5
7230 echo "${ECHO_T}$result" >&6; }
7234 defaultval=$wxUSE_ALL_FEATURES
7235 if test -z "$defaultval"; then
7236 if test x"$enablestring" = xdisable; then
7243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7244 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7245 # Check whether --enable-debugreport was given.
7246 if test "${enable_debugreport+set}" = set; then
7247 enableval=$enable_debugreport;
7248 if test "$enableval" = yes; then
7249 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7251 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7257 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x ; then
7259 eval "DEFAULT_$LINE"
7265 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7270 eval "$wx_cv_use_debugreport"
7271 if test "x$cache" = xyes; then
7272 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7275 if test x"$enablestring" = xdisable; then
7276 if test $wxUSE_DEBUGREPORT = yes; then
7282 result=$wxUSE_DEBUGREPORT
7285 { echo "$as_me:$LINENO: result: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7290 defaultval=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x"$enablestring" = xdisable; then
7299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7301 # Check whether --enable-dialupman was given.
7302 if test "${enable_dialupman+set}" = set; then
7303 enableval=$enable_dialupman;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7307 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7313 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7314 if test "x$LINE" != x ; then
7315 eval "DEFAULT_$LINE"
7321 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7326 eval "$wx_cv_use_dialupman"
7327 if test "x$cache" = xyes; then
7328 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7331 if test x"$enablestring" = xdisable; then
7332 if test $wxUSE_DIALUP_MANAGER = yes; then
7338 result=$wxUSE_DIALUP_MANAGER
7341 { echo "$as_me:$LINENO: result: $result" >&5
7342 echo "${ECHO_T}$result" >&6; }
7346 defaultval=$wxUSE_ALL_FEATURES
7347 if test -z "$defaultval"; then
7348 if test x"$enablestring" = xdisable; then
7355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7357 # Check whether --enable-dynlib was given.
7358 if test "${enable_dynlib+set}" = set; then
7359 enableval=$enable_dynlib;
7360 if test "$enableval" = yes; then
7361 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7363 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7369 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7377 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7382 eval "$wx_cv_use_dynlib"
7383 if test "x$cache" = xyes; then
7384 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7387 if test x"$enablestring" = xdisable; then
7388 if test $wxUSE_DYNLIB_CLASS = yes; then
7394 result=$wxUSE_DYNLIB_CLASS
7397 { echo "$as_me:$LINENO: result: $result" >&5
7398 echo "${ECHO_T}$result" >&6; }
7402 defaultval=$wxUSE_ALL_FEATURES
7403 if test -z "$defaultval"; then
7404 if test x"$enablestring" = xdisable; then
7411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7412 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7413 # Check whether --enable-dynamicloader was given.
7414 if test "${enable_dynamicloader+set}" = set; then
7415 enableval=$enable_dynamicloader;
7416 if test "$enableval" = yes; then
7417 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7419 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7425 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7426 if test "x$LINE" != x ; then
7427 eval "DEFAULT_$LINE"
7433 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7438 eval "$wx_cv_use_dynamicloader"
7439 if test "x$cache" = xyes; then
7440 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7443 if test x"$enablestring" = xdisable; then
7444 if test $wxUSE_DYNAMIC_LOADER = yes; then
7450 result=$wxUSE_DYNAMIC_LOADER
7453 { echo "$as_me:$LINENO: result: $result" >&5
7454 echo "${ECHO_T}$result" >&6; }
7458 defaultval=$wxUSE_ALL_FEATURES
7459 if test -z "$defaultval"; then
7460 if test x"$enablestring" = xdisable; then
7467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7469 # Check whether --enable-exceptions was given.
7470 if test "${enable_exceptions+set}" = set; then
7471 enableval=$enable_exceptions;
7472 if test "$enableval" = yes; then
7473 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7475 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7481 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7489 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7494 eval "$wx_cv_use_exceptions"
7495 if test "x$cache" = xyes; then
7496 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7499 if test x"$enablestring" = xdisable; then
7500 if test $wxUSE_EXCEPTIONS = yes; then
7506 result=$wxUSE_EXCEPTIONS
7509 { echo "$as_me:$LINENO: result: $result" >&5
7510 echo "${ECHO_T}$result" >&6; }
7514 defaultval=$wxUSE_ALL_FEATURES
7515 if test -z "$defaultval"; then
7516 if test x"$enablestring" = xdisable; then
7523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7525 # Check whether --enable-ffile was given.
7526 if test "${enable_ffile+set}" = set; then
7527 enableval=$enable_ffile;
7528 if test "$enableval" = yes; then
7529 wx_cv_use_ffile='wxUSE_FFILE=yes'
7531 wx_cv_use_ffile='wxUSE_FFILE=no'
7537 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x ; then
7539 eval "DEFAULT_$LINE"
7545 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7550 eval "$wx_cv_use_ffile"
7551 if test "x$cache" = xyes; then
7552 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7555 if test x"$enablestring" = xdisable; then
7556 if test $wxUSE_FFILE = yes; then
7565 { echo "$as_me:$LINENO: result: $result" >&5
7566 echo "${ECHO_T}$result" >&6; }
7570 defaultval=$wxUSE_ALL_FEATURES
7571 if test -z "$defaultval"; then
7572 if test x"$enablestring" = xdisable; then
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7581 # Check whether --enable-file was given.
7582 if test "${enable_file+set}" = set; then
7583 enableval=$enable_file;
7584 if test "$enableval" = yes; then
7585 wx_cv_use_file='wxUSE_FILE=yes'
7587 wx_cv_use_file='wxUSE_FILE=no'
7593 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7601 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7606 eval "$wx_cv_use_file"
7607 if test "x$cache" = xyes; then
7608 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_FILE = yes; then
7621 { echo "$as_me:$LINENO: result: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7637 # Check whether --enable-filesystem was given.
7638 if test "${enable_filesystem+set}" = set; then
7639 enableval=$enable_filesystem;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7643 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7649 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x ; then
7651 eval "DEFAULT_$LINE"
7657 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7662 eval "$wx_cv_use_filesystem"
7663 if test "x$cache" = xyes; then
7664 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7667 if test x"$enablestring" = xdisable; then
7668 if test $wxUSE_FILESYSTEM = yes; then
7674 result=$wxUSE_FILESYSTEM
7677 { echo "$as_me:$LINENO: result: $result" >&5
7678 echo "${ECHO_T}$result" >&6; }
7682 defaultval=$wxUSE_ALL_FEATURES
7683 if test -z "$defaultval"; then
7684 if test x"$enablestring" = xdisable; then
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7693 # Check whether --enable-fontenum was given.
7694 if test "${enable_fontenum+set}" = set; then
7695 enableval=$enable_fontenum;
7696 if test "$enableval" = yes; then
7697 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7699 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7705 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7713 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7718 eval "$wx_cv_use_fontenum"
7719 if test "x$cache" = xyes; then
7720 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_FONTENUM = yes; then
7730 result=$wxUSE_FONTENUM
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7749 # Check whether --enable-fontmap was given.
7750 if test "${enable_fontmap+set}" = set; then
7751 enableval=$enable_fontmap;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7755 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7761 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7762 if test "x$LINE" != x ; then
7763 eval "DEFAULT_$LINE"
7769 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7774 eval "$wx_cv_use_fontmap"
7775 if test "x$cache" = xyes; then
7776 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7779 if test x"$enablestring" = xdisable; then
7780 if test $wxUSE_FONTMAP = yes; then
7786 result=$wxUSE_FONTMAP
7789 { echo "$as_me:$LINENO: result: $result" >&5
7790 echo "${ECHO_T}$result" >&6; }
7794 defaultval=$wxUSE_ALL_FEATURES
7795 if test -z "$defaultval"; then
7796 if test x"$enablestring" = xdisable; then
7803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7804 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7805 # Check whether --enable-fs_archive was given.
7806 if test "${enable_fs_archive+set}" = set; then
7807 enableval=$enable_fs_archive;
7808 if test "$enableval" = yes; then
7809 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7811 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7817 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x ; then
7819 eval "DEFAULT_$LINE"
7825 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7830 eval "$wx_cv_use_fs_archive"
7831 if test "x$cache" = xyes; then
7832 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7835 if test x"$enablestring" = xdisable; then
7836 if test $wxUSE_FS_ARCHIVE = yes; then
7842 result=$wxUSE_FS_ARCHIVE
7845 { echo "$as_me:$LINENO: result: $result" >&5
7846 echo "${ECHO_T}$result" >&6; }
7850 defaultval=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x"$enablestring" = xdisable; then
7859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7860 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7861 # Check whether --enable-fs_inet was given.
7862 if test "${enable_fs_inet+set}" = set; then
7863 enableval=$enable_fs_inet;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7867 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7873 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7874 if test "x$LINE" != x ; then
7875 eval "DEFAULT_$LINE"
7881 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7886 eval "$wx_cv_use_fs_inet"
7887 if test "x$cache" = xyes; then
7888 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7891 if test x"$enablestring" = xdisable; then
7892 if test $wxUSE_FS_INET = yes; then
7898 result=$wxUSE_FS_INET
7901 { echo "$as_me:$LINENO: result: $result" >&5
7902 echo "${ECHO_T}$result" >&6; }
7906 defaultval=$wxUSE_ALL_FEATURES
7907 if test -z "$defaultval"; then
7908 if test x"$enablestring" = xdisable; then
7915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7917 # Check whether --enable-fs_zip was given.
7918 if test "${enable_fs_zip+set}" = set; then
7919 enableval=$enable_fs_zip;
7920 if test "$enableval" = yes; then
7921 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7923 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7929 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7937 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7942 eval "$wx_cv_use_fs_zip"
7943 if test "x$cache" = xyes; then
7944 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_FS_ZIP = yes; then
7954 result=$wxUSE_FS_ZIP
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7973 # Check whether --enable-geometry was given.
7974 if test "${enable_geometry+set}" = set; then
7975 enableval=$enable_geometry;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7979 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7985 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7993 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7998 eval "$wx_cv_use_geometry"
7999 if test "x$cache" = xyes; then
8000 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8003 if test x"$enablestring" = xdisable; then
8004 if test $wxUSE_GEOMETRY = yes; then
8010 result=$wxUSE_GEOMETRY
8013 { echo "$as_me:$LINENO: result: $result" >&5
8014 echo "${ECHO_T}$result" >&6; }
8018 defaultval=$wxUSE_ALL_FEATURES
8019 if test -z "$defaultval"; then
8020 if test x"$enablestring" = xdisable; then
8027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8029 # Check whether --enable-log was given.
8030 if test "${enable_log+set}" = set; then
8031 enableval=$enable_log;
8032 if test "$enableval" = yes; then
8033 wx_cv_use_log='wxUSE_LOG=yes'
8035 wx_cv_use_log='wxUSE_LOG=no'
8041 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x ; then
8043 eval "DEFAULT_$LINE"
8049 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8054 eval "$wx_cv_use_log"
8055 if test "x$cache" = xyes; then
8056 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8059 if test x"$enablestring" = xdisable; then
8060 if test $wxUSE_LOG = yes; then
8069 { echo "$as_me:$LINENO: result: $result" >&5
8070 echo "${ECHO_T}$result" >&6; }
8074 defaultval=$wxUSE_ALL_FEATURES
8075 if test -z "$defaultval"; then
8076 if test x"$enablestring" = xdisable; then
8083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8085 # Check whether --enable-longlong was given.
8086 if test "${enable_longlong+set}" = set; then
8087 enableval=$enable_longlong;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8091 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8097 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x ; then
8099 eval "DEFAULT_$LINE"
8105 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8110 eval "$wx_cv_use_longlong"
8111 if test "x$cache" = xyes; then
8112 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8115 if test x"$enablestring" = xdisable; then
8116 if test $wxUSE_LONGLONG = yes; then
8122 result=$wxUSE_LONGLONG
8125 { echo "$as_me:$LINENO: result: $result" >&5
8126 echo "${ECHO_T}$result" >&6; }
8130 defaultval=$wxUSE_ALL_FEATURES
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8141 # Check whether --enable-mimetype was given.
8142 if test "${enable_mimetype+set}" = set; then
8143 enableval=$enable_mimetype;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8147 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8153 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x ; then
8155 eval "DEFAULT_$LINE"
8161 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8166 eval "$wx_cv_use_mimetype"
8167 if test "x$cache" = xyes; then
8168 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8171 if test x"$enablestring" = xdisable; then
8172 if test $wxUSE_MIMETYPE = yes; then
8178 result=$wxUSE_MIMETYPE
8181 { echo "$as_me:$LINENO: result: $result" >&5
8182 echo "${ECHO_T}$result" >&6; }
8186 defaultval=$wxUSE_ALL_FEATURES
8187 if test -z "$defaultval"; then
8188 if test x"$enablestring" = xdisable; then
8195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8197 # Check whether --enable-snglinst was given.
8198 if test "${enable_snglinst+set}" = set; then
8199 enableval=$enable_snglinst;
8200 if test "$enableval" = yes; then
8201 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8203 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8209 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8217 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8222 eval "$wx_cv_use_snglinst"
8223 if test "x$cache" = xyes; then
8224 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8227 if test x"$enablestring" = xdisable; then
8228 if test $wxUSE_SNGLINST_CHECKER = yes; then
8234 result=$wxUSE_SNGLINST_CHECKER
8237 { echo "$as_me:$LINENO: result: $result" >&5
8238 echo "${ECHO_T}$result" >&6; }
8242 defaultval=$wxUSE_ALL_FEATURES
8243 if test -z "$defaultval"; then
8244 if test x"$enablestring" = xdisable; then
8251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8253 # Check whether --enable-stdpaths was given.
8254 if test "${enable_stdpaths+set}" = set; then
8255 enableval=$enable_stdpaths;
8256 if test "$enableval" = yes; then
8257 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8259 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8265 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x ; then
8267 eval "DEFAULT_$LINE"
8273 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8278 eval "$wx_cv_use_stdpaths"
8279 if test "x$cache" = xyes; then
8280 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8283 if test x"$enablestring" = xdisable; then
8284 if test $wxUSE_STDPATHS = yes; then
8290 result=$wxUSE_STDPATHS
8293 { echo "$as_me:$LINENO: result: $result" >&5
8294 echo "${ECHO_T}$result" >&6; }
8298 defaultval=$wxUSE_ALL_FEATURES
8299 if test -z "$defaultval"; then
8300 if test x"$enablestring" = xdisable; then
8307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8309 # Check whether --enable-stopwatch was given.
8310 if test "${enable_stopwatch+set}" = set; then
8311 enableval=$enable_stopwatch;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8315 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8321 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8322 if test "x$LINE" != x ; then
8323 eval "DEFAULT_$LINE"
8329 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8334 eval "$wx_cv_use_stopwatch"
8335 if test "x$cache" = xyes; then
8336 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8339 if test x"$enablestring" = xdisable; then
8340 if test $wxUSE_STOPWATCH = yes; then
8346 result=$wxUSE_STOPWATCH
8349 { echo "$as_me:$LINENO: result: $result" >&5
8350 echo "${ECHO_T}$result" >&6; }
8354 defaultval=$wxUSE_ALL_FEATURES
8355 if test -z "$defaultval"; then
8356 if test x"$enablestring" = xdisable; then
8363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8365 # Check whether --enable-streams was given.
8366 if test "${enable_streams+set}" = set; then
8367 enableval=$enable_streams;
8368 if test "$enableval" = yes; then
8369 wx_cv_use_streams='wxUSE_STREAMS=yes'
8371 wx_cv_use_streams='wxUSE_STREAMS=no'
8377 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x ; then
8379 eval "DEFAULT_$LINE"
8385 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8390 eval "$wx_cv_use_streams"
8391 if test "x$cache" = xyes; then
8392 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8395 if test x"$enablestring" = xdisable; then
8396 if test $wxUSE_STREAMS = yes; then
8402 result=$wxUSE_STREAMS
8405 { echo "$as_me:$LINENO: result: $result" >&5
8406 echo "${ECHO_T}$result" >&6; }
8410 defaultval=$wxUSE_ALL_FEATURES
8411 if test -z "$defaultval"; then
8412 if test x"$enablestring" = xdisable; then
8419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8420 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8421 # Check whether --enable-system_options was given.
8422 if test "${enable_system_options+set}" = set; then
8423 enableval=$enable_system_options;
8424 if test "$enableval" = yes; then
8425 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8427 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8433 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8434 if test "x$LINE" != x ; then
8435 eval "DEFAULT_$LINE"
8441 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8446 eval "$wx_cv_use_system_options"
8447 if test "x$cache" = xyes; then
8448 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8451 if test x"$enablestring" = xdisable; then
8452 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8458 result=$wxUSE_SYSTEM_OPTIONS
8461 { echo "$as_me:$LINENO: result: $result" >&5
8462 echo "${ECHO_T}$result" >&6; }
8466 defaultval=$wxUSE_ALL_FEATURES
8467 if test -z "$defaultval"; then
8468 if test x"$enablestring" = xdisable; then
8475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8476 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8477 # Check whether --enable-tarstream was given.
8478 if test "${enable_tarstream+set}" = set; then
8479 enableval=$enable_tarstream;
8480 if test "$enableval" = yes; then
8481 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8483 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8489 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8490 if test "x$LINE" != x ; then
8491 eval "DEFAULT_$LINE"
8497 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8502 eval "$wx_cv_use_tarstream"
8503 if test "x$cache" = xyes; then
8504 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8507 if test x"$enablestring" = xdisable; then
8508 if test $wxUSE_TARSTREAM = yes; then
8514 result=$wxUSE_TARSTREAM
8517 { echo "$as_me:$LINENO: result: $result" >&5
8518 echo "${ECHO_T}$result" >&6; }
8522 defaultval=$wxUSE_ALL_FEATURES
8523 if test -z "$defaultval"; then
8524 if test x"$enablestring" = xdisable; then
8531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8533 # Check whether --enable-textbuf was given.
8534 if test "${enable_textbuf+set}" = set; then
8535 enableval=$enable_textbuf;
8536 if test "$enableval" = yes; then
8537 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8539 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8545 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8553 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8558 eval "$wx_cv_use_textbuf"
8559 if test "x$cache" = xyes; then
8560 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8563 if test x"$enablestring" = xdisable; then
8564 if test $wxUSE_TEXTBUFFER = yes; then
8570 result=$wxUSE_TEXTBUFFER
8573 { echo "$as_me:$LINENO: result: $result" >&5
8574 echo "${ECHO_T}$result" >&6; }
8578 defaultval=$wxUSE_ALL_FEATURES
8579 if test -z "$defaultval"; then
8580 if test x"$enablestring" = xdisable; then
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8589 # Check whether --enable-textfile was given.
8590 if test "${enable_textfile+set}" = set; then
8591 enableval=$enable_textfile;
8592 if test "$enableval" = yes; then
8593 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8595 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8601 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x ; then
8603 eval "DEFAULT_$LINE"
8609 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8614 eval "$wx_cv_use_textfile"
8615 if test "x$cache" = xyes; then
8616 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8619 if test x"$enablestring" = xdisable; then
8620 if test $wxUSE_TEXTFILE = yes; then
8626 result=$wxUSE_TEXTFILE
8629 { echo "$as_me:$LINENO: result: $result" >&5
8630 echo "${ECHO_T}$result" >&6; }
8634 defaultval=$wxUSE_ALL_FEATURES
8635 if test -z "$defaultval"; then
8636 if test x"$enablestring" = xdisable; then
8643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8644 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8645 # Check whether --enable-timer was given.
8646 if test "${enable_timer+set}" = set; then
8647 enableval=$enable_timer;
8648 if test "$enableval" = yes; then
8649 wx_cv_use_timer='wxUSE_TIMER=yes'
8651 wx_cv_use_timer='wxUSE_TIMER=no'
8657 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8658 if test "x$LINE" != x ; then
8659 eval "DEFAULT_$LINE"
8665 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8670 eval "$wx_cv_use_timer"
8671 if test "x$cache" = xyes; then
8672 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8675 if test x"$enablestring" = xdisable; then
8676 if test $wxUSE_TIMER = yes; then
8685 { echo "$as_me:$LINENO: result: $result" >&5
8686 echo "${ECHO_T}$result" >&6; }
8690 defaultval=$wxUSE_ALL_FEATURES
8691 if test -z "$defaultval"; then
8692 if test x"$enablestring" = xdisable; then
8699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8700 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8701 # Check whether --enable-sound was given.
8702 if test "${enable_sound+set}" = set; then
8703 enableval=$enable_sound;
8704 if test "$enableval" = yes; then
8705 wx_cv_use_sound='wxUSE_SOUND=yes'
8707 wx_cv_use_sound='wxUSE_SOUND=no'
8713 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8721 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8726 eval "$wx_cv_use_sound"
8727 if test "x$cache" = xyes; then
8728 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_SOUND = yes; then
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8746 defaultval=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x"$enablestring" = xdisable; then
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8757 # Check whether --enable-mediactrl was given.
8758 if test "${enable_mediactrl+set}" = set; then
8759 enableval=$enable_mediactrl;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8763 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8769 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8770 if test "x$LINE" != x ; then
8771 eval "DEFAULT_$LINE"
8777 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8782 eval "$wx_cv_use_mediactrl"
8783 if test "x$cache" = xyes; then
8784 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_MEDIACTRL = yes; then
8794 result=$wxUSE_MEDIACTRL
8797 { echo "$as_me:$LINENO: result: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8813 # Check whether --enable-gstreamer8 was given.
8814 if test "${enable_gstreamer8+set}" = set; then
8815 enableval=$enable_gstreamer8;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8819 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8825 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8833 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8838 eval "$wx_cv_use_gstreamer8"
8839 if test "x$cache" = xyes; then
8840 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8843 if test x"$enablestring" = xdisable; then
8844 if test $wxUSE_GSTREAMER8 = yes; then
8850 result=$wxUSE_GSTREAMER8
8853 { echo "$as_me:$LINENO: result: $result" >&5
8854 echo "${ECHO_T}$result" >&6; }
8858 defaultval=$wxUSE_ALL_FEATURES
8859 if test -z "$defaultval"; then
8860 if test x"$enablestring" = xdisable; then
8867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8869 # Check whether --enable-printfposparam was given.
8870 if test "${enable_printfposparam+set}" = set; then
8871 enableval=$enable_printfposparam;
8872 if test "$enableval" = yes; then
8873 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8875 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8881 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8882 if test "x$LINE" != x ; then
8883 eval "DEFAULT_$LINE"
8889 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8894 eval "$wx_cv_use_printfposparam"
8895 if test "x$cache" = xyes; then
8896 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8899 if test x"$enablestring" = xdisable; then
8900 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8906 result=$wxUSE_PRINTF_POS_PARAMS
8909 { echo "$as_me:$LINENO: result: $result" >&5
8910 echo "${ECHO_T}$result" >&6; }
8914 defaultval=$wxUSE_ALL_FEATURES
8915 if test -z "$defaultval"; then
8916 if test x"$enablestring" = xdisable; then
8923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8925 # Check whether --enable-zipstream was given.
8926 if test "${enable_zipstream+set}" = set; then
8927 enableval=$enable_zipstream;
8928 if test "$enableval" = yes; then
8929 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8931 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8937 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8945 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8950 eval "$wx_cv_use_zipstream"
8951 if test "x$cache" = xyes; then
8952 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_ZIPSTREAM = yes; then
8962 result=$wxUSE_ZIPSTREAM
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8982 # Check whether --enable-url was given.
8983 if test "${enable_url+set}" = set; then
8984 enableval=$enable_url;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_url='wxUSE_URL=yes'
8988 wx_cv_use_url='wxUSE_URL=no'
8994 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
9002 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9007 eval "$wx_cv_use_url"
9008 if test "x$cache" = xyes; then
9009 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_URL = yes; then
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9038 # Check whether --enable-variant was given.
9039 if test "${enable_variant+set}" = set; then
9040 enableval=$enable_variant;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_variant='wxUSE_VARIANT=yes'
9044 wx_cv_use_variant='wxUSE_VARIANT=no'
9050 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9051 if test "x$LINE" != x ; then
9052 eval "DEFAULT_$LINE"
9058 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9063 eval "$wx_cv_use_variant"
9064 if test "x$cache" = xyes; then
9065 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_VARIANT = yes; then
9075 result=$wxUSE_VARIANT
9078 { echo "$as_me:$LINENO: result: $result" >&5
9079 echo "${ECHO_T}$result" >&6; }
9083 defaultval=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x"$enablestring" = xdisable; then
9092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9094 # Check whether --enable-protocol was given.
9095 if test "${enable_protocol+set}" = set; then
9096 enableval=$enable_protocol;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9100 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9106 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9107 if test "x$LINE" != x ; then
9108 eval "DEFAULT_$LINE"
9114 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9119 eval "$wx_cv_use_protocol"
9120 if test "x$cache" = xyes; then
9121 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9124 if test x"$enablestring" = xdisable; then
9125 if test $wxUSE_PROTOCOL = yes; then
9131 result=$wxUSE_PROTOCOL
9134 { echo "$as_me:$LINENO: result: $result" >&5
9135 echo "${ECHO_T}$result" >&6; }
9139 defaultval=$wxUSE_ALL_FEATURES
9140 if test -z "$defaultval"; then
9141 if test x"$enablestring" = xdisable; then
9148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9150 # Check whether --enable-protocol_http was given.
9151 if test "${enable_protocol_http+set}" = set; then
9152 enableval=$enable_protocol_http;
9153 if test "$enableval" = yes; then
9154 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9156 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9162 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9170 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9175 eval "$wx_cv_use_protocol_http"
9176 if test "x$cache" = xyes; then
9177 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9180 if test x"$enablestring" = xdisable; then
9181 if test $wxUSE_PROTOCOL_HTTP = yes; then
9187 result=$wxUSE_PROTOCOL_HTTP
9190 { echo "$as_me:$LINENO: result: $result" >&5
9191 echo "${ECHO_T}$result" >&6; }
9195 defaultval=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x"$enablestring" = xdisable; then
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9206 # Check whether --enable-protocol_ftp was given.
9207 if test "${enable_protocol_ftp+set}" = set; then
9208 enableval=$enable_protocol_ftp;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9212 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9218 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9226 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9231 eval "$wx_cv_use_protocol_ftp"
9232 if test "x$cache" = xyes; then
9233 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9236 if test x"$enablestring" = xdisable; then
9237 if test $wxUSE_PROTOCOL_FTP = yes; then
9243 result=$wxUSE_PROTOCOL_FTP
9246 { echo "$as_me:$LINENO: result: $result" >&5
9247 echo "${ECHO_T}$result" >&6; }
9251 defaultval=$wxUSE_ALL_FEATURES
9252 if test -z "$defaultval"; then
9253 if test x"$enablestring" = xdisable; then
9260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9262 # Check whether --enable-protocol_file was given.
9263 if test "${enable_protocol_file+set}" = set; then
9264 enableval=$enable_protocol_file;
9265 if test "$enableval" = yes; then
9266 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9268 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9274 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9275 if test "x$LINE" != x ; then
9276 eval "DEFAULT_$LINE"
9282 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9287 eval "$wx_cv_use_protocol_file"
9288 if test "x$cache" = xyes; then
9289 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9292 if test x"$enablestring" = xdisable; then
9293 if test $wxUSE_PROTOCOL_FILE = yes; then
9299 result=$wxUSE_PROTOCOL_FILE
9302 { echo "$as_me:$LINENO: result: $result" >&5
9303 echo "${ECHO_T}$result" >&6; }
9308 defaultval=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x"$enablestring" = xdisable; then
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9319 # Check whether --enable-threads was given.
9320 if test "${enable_threads+set}" = set; then
9321 enableval=$enable_threads;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_threads='wxUSE_THREADS=yes'
9325 wx_cv_use_threads='wxUSE_THREADS=no'
9331 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9339 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9344 eval "$wx_cv_use_threads"
9345 if test "x$cache" = xyes; then
9346 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9349 if test x"$enablestring" = xdisable; then
9350 if test $wxUSE_THREADS = yes; then
9356 result=$wxUSE_THREADS
9359 { echo "$as_me:$LINENO: result: $result" >&5
9360 echo "${ECHO_T}$result" >&6; }
9366 if test -z "$defaultval"; then
9367 if test x"$enablestring" = xdisable; then
9374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9375 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9376 # Check whether --enable-iniconf was given.
9377 if test "${enable_iniconf+set}" = set; then
9378 enableval=$enable_iniconf;
9379 if test "$enableval" = yes; then
9380 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9382 wx_cv_use_iniconf='wxUSE_INICONF=no'
9388 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x ; then
9390 eval "DEFAULT_$LINE"
9396 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9401 eval "$wx_cv_use_iniconf"
9402 if test "x$cache" = xyes; then
9403 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_INICONF = yes; then
9413 result=$wxUSE_INICONF
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9421 defaultval=$wxUSE_ALL_FEATURES
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9432 # Check whether --enable-regkey was given.
9433 if test "${enable_regkey+set}" = set; then
9434 enableval=$enable_regkey;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9438 wx_cv_use_regkey='wxUSE_REGKEY=no'
9444 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9452 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9457 eval "$wx_cv_use_regkey"
9458 if test "x$cache" = xyes; then
9459 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9462 if test x"$enablestring" = xdisable; then
9463 if test $wxUSE_REGKEY = yes; then
9469 result=$wxUSE_REGKEY
9472 { echo "$as_me:$LINENO: result: $result" >&5
9473 echo "${ECHO_T}$result" >&6; }
9476 if test "$wxUSE_GUI" = "yes"; then
9481 defaultval=$wxUSE_ALL_FEATURES
9482 if test -z "$defaultval"; then
9483 if test x"$enablestring" = xdisable; then
9490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9491 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9492 # Check whether --enable-docview was given.
9493 if test "${enable_docview+set}" = set; then
9494 enableval=$enable_docview;
9495 if test "$enableval" = yes; then
9496 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9498 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9504 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9512 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9517 eval "$wx_cv_use_docview"
9518 if test "x$cache" = xyes; then
9519 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9522 if test x"$enablestring" = xdisable; then
9523 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9529 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9532 { echo "$as_me:$LINENO: result: $result" >&5
9533 echo "${ECHO_T}$result" >&6; }
9537 defaultval=$wxUSE_ALL_FEATURES
9538 if test -z "$defaultval"; then
9539 if test x"$enablestring" = xdisable; then
9546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9547 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9548 # Check whether --enable-help was given.
9549 if test "${enable_help+set}" = set; then
9550 enableval=$enable_help;
9551 if test "$enableval" = yes; then
9552 wx_cv_use_help='wxUSE_HELP=yes'
9554 wx_cv_use_help='wxUSE_HELP=no'
9560 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9561 if test "x$LINE" != x ; then
9562 eval "DEFAULT_$LINE"
9568 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9573 eval "$wx_cv_use_help"
9574 if test "x$cache" = xyes; then
9575 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9578 if test x"$enablestring" = xdisable; then
9579 if test $wxUSE_HELP = yes; then
9588 { echo "$as_me:$LINENO: result: $result" >&5
9589 echo "${ECHO_T}$result" >&6; }
9593 defaultval=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x"$enablestring" = xdisable; then
9602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9604 # Check whether --enable-mshtmlhelp was given.
9605 if test "${enable_mshtmlhelp+set}" = set; then
9606 enableval=$enable_mshtmlhelp;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9610 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9616 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x ; then
9618 eval "DEFAULT_$LINE"
9624 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9629 eval "$wx_cv_use_mshtmlhelp"
9630 if test "x$cache" = xyes; then
9631 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9634 if test x"$enablestring" = xdisable; then
9635 if test $wxUSE_MS_HTML_HELP = yes; then
9641 result=$wxUSE_MS_HTML_HELP
9644 { echo "$as_me:$LINENO: result: $result" >&5
9645 echo "${ECHO_T}$result" >&6; }
9649 defaultval=$wxUSE_ALL_FEATURES
9650 if test -z "$defaultval"; then
9651 if test x"$enablestring" = xdisable; then
9658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9659 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9660 # Check whether --enable-html was given.
9661 if test "${enable_html+set}" = set; then
9662 enableval=$enable_html;
9663 if test "$enableval" = yes; then
9664 wx_cv_use_html='wxUSE_HTML=yes'
9666 wx_cv_use_html='wxUSE_HTML=no'
9672 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9673 if test "x$LINE" != x ; then
9674 eval "DEFAULT_$LINE"
9680 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9685 eval "$wx_cv_use_html"
9686 if test "x$cache" = xyes; then
9687 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9690 if test x"$enablestring" = xdisable; then
9691 if test $wxUSE_HTML = yes; then
9700 { echo "$as_me:$LINENO: result: $result" >&5
9701 echo "${ECHO_T}$result" >&6; }
9705 defaultval=$wxUSE_ALL_FEATURES
9706 if test -z "$defaultval"; then
9707 if test x"$enablestring" = xdisable; then
9714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9716 # Check whether --enable-htmlhelp was given.
9717 if test "${enable_htmlhelp+set}" = set; then
9718 enableval=$enable_htmlhelp;
9719 if test "$enableval" = yes; then
9720 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9722 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9728 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9729 if test "x$LINE" != x ; then
9730 eval "DEFAULT_$LINE"
9736 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9741 eval "$wx_cv_use_htmlhelp"
9742 if test "x$cache" = xyes; then
9743 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9746 if test x"$enablestring" = xdisable; then
9747 if test $wxUSE_WXHTML_HELP = yes; then
9753 result=$wxUSE_WXHTML_HELP
9756 { echo "$as_me:$LINENO: result: $result" >&5
9757 echo "${ECHO_T}$result" >&6; }
9761 defaultval=$wxUSE_ALL_FEATURES
9762 if test -z "$defaultval"; then
9763 if test x"$enablestring" = xdisable; then
9770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9771 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9772 # Check whether --enable-xrc was given.
9773 if test "${enable_xrc+set}" = set; then
9774 enableval=$enable_xrc;
9775 if test "$enableval" = yes; then
9776 wx_cv_use_xrc='wxUSE_XRC=yes'
9778 wx_cv_use_xrc='wxUSE_XRC=no'
9784 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9785 if test "x$LINE" != x ; then
9786 eval "DEFAULT_$LINE"
9792 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9797 eval "$wx_cv_use_xrc"
9798 if test "x$cache" = xyes; then
9799 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_XRC = yes; then
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9828 # Check whether --enable-aui was given.
9829 if test "${enable_aui+set}" = set; then
9830 enableval=$enable_aui;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_aui='wxUSE_AUI=yes'
9834 wx_cv_use_aui='wxUSE_AUI=no'
9840 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9848 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9853 eval "$wx_cv_use_aui"
9854 if test "x$cache" = xyes; then
9855 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9858 if test x"$enablestring" = xdisable; then
9859 if test $wxUSE_AUI = yes; then
9868 { echo "$as_me:$LINENO: result: $result" >&5
9869 echo "${ECHO_T}$result" >&6; }
9873 defaultval=$wxUSE_ALL_FEATURES
9874 if test -z "$defaultval"; then
9875 if test x"$enablestring" = xdisable; then
9882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9884 # Check whether --enable-stc was given.
9885 if test "${enable_stc+set}" = set; then
9886 enableval=$enable_stc;
9887 if test "$enableval" = yes; then
9888 wx_cv_use_stc='wxUSE_STC=yes'
9890 wx_cv_use_stc='wxUSE_STC=no'
9896 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9897 if test "x$LINE" != x ; then
9898 eval "DEFAULT_$LINE"
9904 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9909 eval "$wx_cv_use_stc"
9910 if test "x$cache" = xyes; then
9911 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_STC = yes; then
9924 { echo "$as_me:$LINENO: result: $result" >&5
9925 echo "${ECHO_T}$result" >&6; }
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9940 # Check whether --enable-constraints was given.
9941 if test "${enable_constraints+set}" = set; then
9942 enableval=$enable_constraints;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9946 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9952 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x ; then
9954 eval "DEFAULT_$LINE"
9960 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9965 eval "$wx_cv_use_constraints"
9966 if test "x$cache" = xyes; then
9967 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9970 if test x"$enablestring" = xdisable; then
9971 if test $wxUSE_CONSTRAINTS = yes; then
9977 result=$wxUSE_CONSTRAINTS
9980 { echo "$as_me:$LINENO: result: $result" >&5
9981 echo "${ECHO_T}$result" >&6; }
9985 defaultval=$wxUSE_ALL_FEATURES
9986 if test -z "$defaultval"; then
9987 if test x"$enablestring" = xdisable; then
9994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9995 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9996 # Check whether --enable-printarch was given.
9997 if test "${enable_printarch+set}" = set; then
9998 enableval=$enable_printarch;
9999 if test "$enableval" = yes; then
10000 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10002 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10008 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10009 if test "x$LINE" != x ; then
10010 eval "DEFAULT_$LINE"
10016 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10021 eval "$wx_cv_use_printarch"
10022 if test "x$cache" = xyes; then
10023 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10026 if test x"$enablestring" = xdisable; then
10027 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10033 result=$wxUSE_PRINTING_ARCHITECTURE
10036 { echo "$as_me:$LINENO: result: $result" >&5
10037 echo "${ECHO_T}$result" >&6; }
10041 defaultval=$wxUSE_ALL_FEATURES
10042 if test -z "$defaultval"; then
10043 if test x"$enablestring" = xdisable; then
10050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10052 # Check whether --enable-mdi was given.
10053 if test "${enable_mdi+set}" = set; then
10054 enableval=$enable_mdi;
10055 if test "$enableval" = yes; then
10056 wx_cv_use_mdi='wxUSE_MDI=yes'
10058 wx_cv_use_mdi='wxUSE_MDI=no'
10064 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10065 if test "x$LINE" != x ; then
10066 eval "DEFAULT_$LINE"
10072 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10077 eval "$wx_cv_use_mdi"
10078 if test "x$cache" = xyes; then
10079 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10082 if test x"$enablestring" = xdisable; then
10083 if test $wxUSE_MDI = yes; then
10092 { echo "$as_me:$LINENO: result: $result" >&5
10093 echo "${ECHO_T}$result" >&6; }
10097 defaultval=$wxUSE_ALL_FEATURES
10098 if test -z "$defaultval"; then
10099 if test x"$enablestring" = xdisable; then
10106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10108 # Check whether --enable-mdidoc was given.
10109 if test "${enable_mdidoc+set}" = set; then
10110 enableval=$enable_mdidoc;
10111 if test "$enableval" = yes; then
10112 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10114 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10120 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10121 if test "x$LINE" != x ; then
10122 eval "DEFAULT_$LINE"
10128 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10133 eval "$wx_cv_use_mdidoc"
10134 if test "x$cache" = xyes; then
10135 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10138 if test x"$enablestring" = xdisable; then
10139 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10145 result=$wxUSE_MDI_ARCHITECTURE
10148 { echo "$as_me:$LINENO: result: $result" >&5
10149 echo "${ECHO_T}$result" >&6; }
10153 defaultval=$wxUSE_ALL_FEATURES
10154 if test -z "$defaultval"; then
10155 if test x"$enablestring" = xdisable; then
10162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10164 # Check whether --enable-loggui was given.
10165 if test "${enable_loggui+set}" = set; then
10166 enableval=$enable_loggui;
10167 if test "$enableval" = yes; then
10168 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10170 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10176 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10177 if test "x$LINE" != x ; then
10178 eval "DEFAULT_$LINE"
10184 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10189 eval "$wx_cv_use_loggui"
10190 if test "x$cache" = xyes; then
10191 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10194 if test x"$enablestring" = xdisable; then
10195 if test $wxUSE_LOGGUI = yes; then
10201 result=$wxUSE_LOGGUI
10204 { echo "$as_me:$LINENO: result: $result" >&5
10205 echo "${ECHO_T}$result" >&6; }
10209 defaultval=$wxUSE_ALL_FEATURES
10210 if test -z "$defaultval"; then
10211 if test x"$enablestring" = xdisable; then
10218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10220 # Check whether --enable-logwin was given.
10221 if test "${enable_logwin+set}" = set; then
10222 enableval=$enable_logwin;
10223 if test "$enableval" = yes; then
10224 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10226 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10232 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x ; then
10234 eval "DEFAULT_$LINE"
10240 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10245 eval "$wx_cv_use_logwin"
10246 if test "x$cache" = xyes; then
10247 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10250 if test x"$enablestring" = xdisable; then
10251 if test $wxUSE_LOGWINDOW = yes; then
10257 result=$wxUSE_LOGWINDOW
10260 { echo "$as_me:$LINENO: result: $result" >&5
10261 echo "${ECHO_T}$result" >&6; }
10265 defaultval=$wxUSE_ALL_FEATURES
10266 if test -z "$defaultval"; then
10267 if test x"$enablestring" = xdisable; then
10274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10276 # Check whether --enable-logdialog was given.
10277 if test "${enable_logdialog+set}" = set; then
10278 enableval=$enable_logdialog;
10279 if test "$enableval" = yes; then
10280 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10282 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10288 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x ; then
10290 eval "DEFAULT_$LINE"
10296 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10301 eval "$wx_cv_use_logdialog"
10302 if test "x$cache" = xyes; then
10303 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10306 if test x"$enablestring" = xdisable; then
10307 if test $wxUSE_LOGDIALOG = yes; then
10313 result=$wxUSE_LOGDIALOG
10316 { echo "$as_me:$LINENO: result: $result" >&5
10317 echo "${ECHO_T}$result" >&6; }
10321 defaultval=$wxUSE_ALL_FEATURES
10322 if test -z "$defaultval"; then
10323 if test x"$enablestring" = xdisable; then
10330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10331 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10332 # Check whether --enable-webkit was given.
10333 if test "${enable_webkit+set}" = set; then
10334 enableval=$enable_webkit;
10335 if test "$enableval" = yes; then
10336 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10338 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10344 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10345 if test "x$LINE" != x ; then
10346 eval "DEFAULT_$LINE"
10352 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10357 eval "$wx_cv_use_webkit"
10358 if test "x$cache" = xyes; then
10359 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10362 if test x"$enablestring" = xdisable; then
10363 if test $wxUSE_WEBKIT = yes; then
10369 result=$wxUSE_WEBKIT
10372 { echo "$as_me:$LINENO: result: $result" >&5
10373 echo "${ECHO_T}$result" >&6; }
10377 defaultval=$wxUSE_ALL_FEATURES
10378 if test -z "$defaultval"; then
10379 if test x"$enablestring" = xdisable; then
10386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10387 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10388 # Check whether --enable-richtext was given.
10389 if test "${enable_richtext+set}" = set; then
10390 enableval=$enable_richtext;
10391 if test "$enableval" = yes; then
10392 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10394 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10400 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10401 if test "x$LINE" != x ; then
10402 eval "DEFAULT_$LINE"
10408 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10413 eval "$wx_cv_use_richtext"
10414 if test "x$cache" = xyes; then
10415 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10418 if test x"$enablestring" = xdisable; then
10419 if test $wxUSE_RICHTEXT = yes; then
10425 result=$wxUSE_RICHTEXT
10428 { echo "$as_me:$LINENO: result: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10433 defaultval=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x"$enablestring" = xdisable; then
10442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10443 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10444 # Check whether --enable-graphics_ctx was given.
10445 if test "${enable_graphics_ctx+set}" = set; then
10446 enableval=$enable_graphics_ctx;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10450 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10456 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10457 if test "x$LINE" != x ; then
10458 eval "DEFAULT_$LINE"
10464 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10469 eval "$wx_cv_use_graphics_ctx"
10470 if test "x$cache" = xyes; then
10471 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10474 if test x"$enablestring" = xdisable; then
10475 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10481 result=$wxUSE_GRAPHICS_CONTEXT
10484 { echo "$as_me:$LINENO: result: $result" >&5
10485 echo "${ECHO_T}$result" >&6; }
10489 defaultval=$wxUSE_ALL_FEATURES
10490 if test -z "$defaultval"; then
10491 if test x"$enablestring" = xdisable; then
10498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10499 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10500 # Check whether --enable-postscript was given.
10501 if test "${enable_postscript+set}" = set; then
10502 enableval=$enable_postscript;
10503 if test "$enableval" = yes; then
10504 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10506 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10512 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10513 if test "x$LINE" != x ; then
10514 eval "DEFAULT_$LINE"
10520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10525 eval "$wx_cv_use_postscript"
10526 if test "x$cache" = xyes; then
10527 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_POSTSCRIPT = yes; then
10537 result=$wxUSE_POSTSCRIPT
10540 { echo "$as_me:$LINENO: result: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10556 # Check whether --enable-svg was given.
10557 if test "${enable_svg+set}" = set; then
10558 enableval=$enable_svg;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_svg='wxUSE_SVG=yes'
10562 wx_cv_use_svg='wxUSE_SVG=no'
10568 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10569 if test "x$LINE" != x ; then
10570 eval "DEFAULT_$LINE"
10576 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10581 eval "$wx_cv_use_svg"
10582 if test "x$cache" = xyes; then
10583 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10586 if test x"$enablestring" = xdisable; then
10587 if test $wxUSE_SVG = yes; then
10596 { echo "$as_me:$LINENO: result: $result" >&5
10597 echo "${ECHO_T}$result" >&6; }
10603 defaultval=$wxUSE_ALL_FEATURES
10604 if test -z "$defaultval"; then
10605 if test x"$enablestring" = xdisable; then
10612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10613 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10614 # Check whether --enable-clipboard was given.
10615 if test "${enable_clipboard+set}" = set; then
10616 enableval=$enable_clipboard;
10617 if test "$enableval" = yes; then
10618 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10620 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10626 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10627 if test "x$LINE" != x ; then
10628 eval "DEFAULT_$LINE"
10634 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10639 eval "$wx_cv_use_clipboard"
10640 if test "x$cache" = xyes; then
10641 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10644 if test x"$enablestring" = xdisable; then
10645 if test $wxUSE_CLIPBOARD = yes; then
10651 result=$wxUSE_CLIPBOARD
10654 { echo "$as_me:$LINENO: result: $result" >&5
10655 echo "${ECHO_T}$result" >&6; }
10659 defaultval=$wxUSE_ALL_FEATURES
10660 if test -z "$defaultval"; then
10661 if test x"$enablestring" = xdisable; then
10668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10670 # Check whether --enable-dnd was given.
10671 if test "${enable_dnd+set}" = set; then
10672 enableval=$enable_dnd;
10673 if test "$enableval" = yes; then
10674 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10676 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10682 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10683 if test "x$LINE" != x ; then
10684 eval "DEFAULT_$LINE"
10690 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10695 eval "$wx_cv_use_dnd"
10696 if test "x$cache" = xyes; then
10697 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10700 if test x"$enablestring" = xdisable; then
10701 if test $wxUSE_DRAG_AND_DROP = yes; then
10707 result=$wxUSE_DRAG_AND_DROP
10710 { echo "$as_me:$LINENO: result: $result" >&5
10711 echo "${ECHO_T}$result" >&6; }
10715 defaultval=$wxUSE_ALL_FEATURES
10716 if test -z "$defaultval"; then
10717 if test x"$enablestring" = xdisable; then
10724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10725 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10726 # Check whether --enable-metafile was given.
10727 if test "${enable_metafile+set}" = set; then
10728 enableval=$enable_metafile;
10729 if test "$enableval" = yes; then
10730 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10732 wx_cv_use_metafile='wxUSE_METAFILE=no'
10738 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10739 if test "x$LINE" != x ; then
10740 eval "DEFAULT_$LINE"
10746 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10751 eval "$wx_cv_use_metafile"
10752 if test "x$cache" = xyes; then
10753 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10756 if test x"$enablestring" = xdisable; then
10757 if test $wxUSE_METAFILE = yes; then
10763 result=$wxUSE_METAFILE
10766 { echo "$as_me:$LINENO: result: $result" >&5
10767 echo "${ECHO_T}$result" >&6; }
10771 DEFAULT_wxUSE_CONTROLS=none
10773 enablestring=disable
10775 if test -z "$defaultval"; then
10776 if test x"$enablestring" = xdisable; then
10783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10784 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10785 # Check whether --enable-controls was given.
10786 if test "${enable_controls+set}" = set; then
10787 enableval=$enable_controls;
10788 if test "$enableval" = yes; then
10789 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10791 wx_cv_use_controls='wxUSE_CONTROLS=no'
10797 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10805 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10810 eval "$wx_cv_use_controls"
10811 if test "x$cache" = xyes; then
10812 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10815 if test x"$enablestring" = xdisable; then
10816 if test $wxUSE_CONTROLS = yes; then
10822 result=$wxUSE_CONTROLS
10825 { echo "$as_me:$LINENO: result: $result" >&5
10826 echo "${ECHO_T}$result" >&6; }
10829 if test "$wxUSE_CONTROLS" = "yes"; then
10830 DEFAULT_wxUSE_ACCEL=yes
10831 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10832 DEFAULT_wxUSE_BMPBUTTON=yes
10833 DEFAULT_wxUSE_BUTTON=yes
10834 DEFAULT_wxUSE_CALCTRL=yes
10835 DEFAULT_wxUSE_CARET=yes
10836 DEFAULT_wxUSE_COMBOBOX=yes
10837 DEFAULT_wxUSE_CHECKBOX=yes
10838 DEFAULT_wxUSE_CHECKLISTBOX=yes
10839 DEFAULT_wxUSE_CHOICE=yes
10840 DEFAULT_wxUSE_CHOICEBOOK=yes
10841 DEFAULT_wxUSE_COLLPANE=yes
10842 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10843 DEFAULT_wxUSE_COMBOBOX=yes
10844 DEFAULT_wxUSE_DATEPICKCTRL=yes
10845 DEFAULT_wxUSE_DISPLAY=yes
10846 DEFAULT_wxUSE_DETECT_SM=yes
10847 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10848 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10849 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10850 DEFAULT_wxUSE_GAUGE=yes
10851 DEFAULT_wxUSE_GRID=yes
10852 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10853 DEFAULT_wxUSE_DATAVIEWCTRL=no
10854 DEFAULT_wxUSE_IMAGLIST=yes
10855 DEFAULT_wxUSE_LISTBOOK=yes
10856 DEFAULT_wxUSE_LISTBOX=yes
10857 DEFAULT_wxUSE_LISTCTRL=yes
10858 DEFAULT_wxUSE_NOTEBOOK=yes
10859 DEFAULT_wxUSE_RADIOBOX=yes
10860 DEFAULT_wxUSE_RADIOBTN=yes
10861 DEFAULT_wxUSE_SASH=yes
10862 DEFAULT_wxUSE_SCROLLBAR=yes
10863 DEFAULT_wxUSE_SEARCHCTRL=yes
10864 DEFAULT_wxUSE_SLIDER=yes
10865 DEFAULT_wxUSE_SPINBTN=yes
10866 DEFAULT_wxUSE_SPINCTRL=yes
10867 DEFAULT_wxUSE_SPLITTER=yes
10868 DEFAULT_wxUSE_STATBMP=yes
10869 DEFAULT_wxUSE_STATBOX=yes
10870 DEFAULT_wxUSE_STATLINE=yes
10871 DEFAULT_wxUSE_STATUSBAR=yes
10872 DEFAULT_wxUSE_TAB_DIALOG=yes
10873 DEFAULT_wxUSE_TOGGLEBTN=yes
10874 DEFAULT_wxUSE_TOOLBAR=yes
10875 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10876 DEFAULT_wxUSE_TOOLTIPS=yes
10877 DEFAULT_wxUSE_TREEBOOK=yes
10878 DEFAULT_wxUSE_TOOLBOOK=yes
10879 DEFAULT_wxUSE_TREECTRL=yes
10880 DEFAULT_wxUSE_POPUPWIN=yes
10881 DEFAULT_wxUSE_TIPWINDOW=yes
10882 elif test "$wxUSE_CONTROLS" = "no"; then
10883 DEFAULT_wxUSE_ACCEL=no
10884 DEFAULT_wxUSE_ANIMATIONCTRL=no
10885 DEFAULT_wxUSE_BMPBUTTON=no
10886 DEFAULT_wxUSE_BUTTON=no
10887 DEFAULT_wxUSE_CALCTRL=no
10888 DEFAULT_wxUSE_CARET=no
10889 DEFAULT_wxUSE_COLLPANE=no
10890 DEFAULT_wxUSE_COMBOBOX=no
10891 DEFAULT_wxUSE_CHECKBOX=no
10892 DEFAULT_wxUSE_CHECKLISTBOX=no
10893 DEFAULT_wxUSE_CHOICE=no
10894 DEFAULT_wxUSE_CHOICEBOOK=no
10895 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10896 DEFAULT_wxUSE_COMBOBOX=no
10897 DEFAULT_wxUSE_DATEPICKCTRL=no
10898 DEFAULT_wxUSE_DISPLAY=no
10899 DEFAULT_wxUSE_DETECT_SM=no
10900 DEFAULT_wxUSE_DIRPICKERCTRL=no
10901 DEFAULT_wxUSE_FILEPICKERCTRL=no
10902 DEFAULT_wxUSE_FONTPICKERCTRL=no
10903 DEFAULT_wxUSE_GAUGE=no
10904 DEFAULT_wxUSE_GRID=no
10905 DEFAULT_wxUSE_HYPERLINKCTRL=no
10906 DEFAULT_wxUSE_DATAVIEWCTRL=no
10907 DEFAULT_wxUSE_IMAGLIST=no
10908 DEFAULT_wxUSE_LISTBOOK=no
10909 DEFAULT_wxUSE_LISTBOX=no
10910 DEFAULT_wxUSE_LISTCTRL=no
10911 DEFAULT_wxUSE_NOTEBOOK=no
10912 DEFAULT_wxUSE_RADIOBOX=no
10913 DEFAULT_wxUSE_RADIOBTN=no
10914 DEFAULT_wxUSE_SASH=no
10915 DEFAULT_wxUSE_SCROLLBAR=no
10916 DEFAULT_wxUSE_SEARCHCTRL=no
10917 DEFAULT_wxUSE_SLIDER=no
10918 DEFAULT_wxUSE_SPINBTN=no
10919 DEFAULT_wxUSE_SPINCTRL=no
10920 DEFAULT_wxUSE_SPLITTER=no
10921 DEFAULT_wxUSE_STATBMP=no
10922 DEFAULT_wxUSE_STATBOX=no
10923 DEFAULT_wxUSE_STATLINE=no
10924 DEFAULT_wxUSE_STATUSBAR=no
10925 DEFAULT_wxUSE_TAB_DIALOG=no
10926 DEFAULT_wxUSE_TOGGLEBTN=no
10927 DEFAULT_wxUSE_TOOLBAR=no
10928 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10929 DEFAULT_wxUSE_TOOLTIPS=no
10930 DEFAULT_wxUSE_TREEBOOK=no
10931 DEFAULT_wxUSE_TOOLBOOK=no
10932 DEFAULT_wxUSE_TREECTRL=no
10933 DEFAULT_wxUSE_POPUPWIN=no
10934 DEFAULT_wxUSE_TIPWINDOW=no
10939 defaultval=$wxUSE_ALL_FEATURES
10940 if test -z "$defaultval"; then
10941 if test x"$enablestring" = xdisable; then
10948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10950 # Check whether --enable-accel was given.
10951 if test "${enable_accel+set}" = set; then
10952 enableval=$enable_accel;
10953 if test "$enableval" = yes; then
10954 wx_cv_use_accel='wxUSE_ACCEL=yes'
10956 wx_cv_use_accel='wxUSE_ACCEL=no'
10962 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10963 if test "x$LINE" != x ; then
10964 eval "DEFAULT_$LINE"
10970 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10975 eval "$wx_cv_use_accel"
10976 if test "x$cache" = xyes; then
10977 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10980 if test x"$enablestring" = xdisable; then
10981 if test $wxUSE_ACCEL = yes; then
10987 result=$wxUSE_ACCEL
10990 { echo "$as_me:$LINENO: result: $result" >&5
10991 echo "${ECHO_T}$result" >&6; }
10995 defaultval=$wxUSE_ALL_FEATURES
10996 if test -z "$defaultval"; then
10997 if test x"$enablestring" = xdisable; then
11004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11005 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11006 # Check whether --enable-animatectrl was given.
11007 if test "${enable_animatectrl+set}" = set; then
11008 enableval=$enable_animatectrl;
11009 if test "$enableval" = yes; then
11010 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11012 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11018 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11019 if test "x$LINE" != x ; then
11020 eval "DEFAULT_$LINE"
11026 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11031 eval "$wx_cv_use_animatectrl"
11032 if test "x$cache" = xyes; then
11033 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11036 if test x"$enablestring" = xdisable; then
11037 if test $wxUSE_ANIMATIONCTRL = yes; then
11043 result=$wxUSE_ANIMATIONCTRL
11046 { echo "$as_me:$LINENO: result: $result" >&5
11047 echo "${ECHO_T}$result" >&6; }
11051 defaultval=$wxUSE_ALL_FEATURES
11052 if test -z "$defaultval"; then
11053 if test x"$enablestring" = xdisable; then
11060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11061 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11062 # Check whether --enable-button was given.
11063 if test "${enable_button+set}" = set; then
11064 enableval=$enable_button;
11065 if test "$enableval" = yes; then
11066 wx_cv_use_button='wxUSE_BUTTON=yes'
11068 wx_cv_use_button='wxUSE_BUTTON=no'
11074 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11075 if test "x$LINE" != x ; then
11076 eval "DEFAULT_$LINE"
11082 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11087 eval "$wx_cv_use_button"
11088 if test "x$cache" = xyes; then
11089 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11092 if test x"$enablestring" = xdisable; then
11093 if test $wxUSE_BUTTON = yes; then
11099 result=$wxUSE_BUTTON
11102 { echo "$as_me:$LINENO: result: $result" >&5
11103 echo "${ECHO_T}$result" >&6; }
11107 defaultval=$wxUSE_ALL_FEATURES
11108 if test -z "$defaultval"; then
11109 if test x"$enablestring" = xdisable; then
11116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11117 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11118 # Check whether --enable-bmpbutton was given.
11119 if test "${enable_bmpbutton+set}" = set; then
11120 enableval=$enable_bmpbutton;
11121 if test "$enableval" = yes; then
11122 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11124 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11130 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11131 if test "x$LINE" != x ; then
11132 eval "DEFAULT_$LINE"
11138 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11143 eval "$wx_cv_use_bmpbutton"
11144 if test "x$cache" = xyes; then
11145 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_BMPBUTTON = yes; then
11155 result=$wxUSE_BMPBUTTON
11158 { echo "$as_me:$LINENO: result: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11174 # Check whether --enable-bmpcombobox was given.
11175 if test "${enable_bmpcombobox+set}" = set; then
11176 enableval=$enable_bmpcombobox;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11180 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11186 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11187 if test "x$LINE" != x ; then
11188 eval "DEFAULT_$LINE"
11194 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11199 eval "$wx_cv_use_bmpcombobox"
11200 if test "x$cache" = xyes; then
11201 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11204 if test x"$enablestring" = xdisable; then
11205 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11211 result=$wxUSE_BITMAPCOMBOBOX
11214 { echo "$as_me:$LINENO: result: $result" >&5
11215 echo "${ECHO_T}$result" >&6; }
11219 defaultval=$wxUSE_ALL_FEATURES
11220 if test -z "$defaultval"; then
11221 if test x"$enablestring" = xdisable; then
11228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11229 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11230 # Check whether --enable-calendar was given.
11231 if test "${enable_calendar+set}" = set; then
11232 enableval=$enable_calendar;
11233 if test "$enableval" = yes; then
11234 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11236 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11242 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11243 if test "x$LINE" != x ; then
11244 eval "DEFAULT_$LINE"
11250 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11255 eval "$wx_cv_use_calendar"
11256 if test "x$cache" = xyes; then
11257 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11260 if test x"$enablestring" = xdisable; then
11261 if test $wxUSE_CALCTRL = yes; then
11267 result=$wxUSE_CALCTRL
11270 { echo "$as_me:$LINENO: result: $result" >&5
11271 echo "${ECHO_T}$result" >&6; }
11275 defaultval=$wxUSE_ALL_FEATURES
11276 if test -z "$defaultval"; then
11277 if test x"$enablestring" = xdisable; then
11284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11285 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11286 # Check whether --enable-caret was given.
11287 if test "${enable_caret+set}" = set; then
11288 enableval=$enable_caret;
11289 if test "$enableval" = yes; then
11290 wx_cv_use_caret='wxUSE_CARET=yes'
11292 wx_cv_use_caret='wxUSE_CARET=no'
11298 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11299 if test "x$LINE" != x ; then
11300 eval "DEFAULT_$LINE"
11306 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11311 eval "$wx_cv_use_caret"
11312 if test "x$cache" = xyes; then
11313 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11316 if test x"$enablestring" = xdisable; then
11317 if test $wxUSE_CARET = yes; then
11323 result=$wxUSE_CARET
11326 { echo "$as_me:$LINENO: result: $result" >&5
11327 echo "${ECHO_T}$result" >&6; }
11331 defaultval=$wxUSE_ALL_FEATURES
11332 if test -z "$defaultval"; then
11333 if test x"$enablestring" = xdisable; then
11340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11341 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11342 # Check whether --enable-checkbox was given.
11343 if test "${enable_checkbox+set}" = set; then
11344 enableval=$enable_checkbox;
11345 if test "$enableval" = yes; then
11346 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11348 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11354 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11355 if test "x$LINE" != x ; then
11356 eval "DEFAULT_$LINE"
11362 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11367 eval "$wx_cv_use_checkbox"
11368 if test "x$cache" = xyes; then
11369 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11372 if test x"$enablestring" = xdisable; then
11373 if test $wxUSE_CHECKBOX = yes; then
11379 result=$wxUSE_CHECKBOX
11382 { echo "$as_me:$LINENO: result: $result" >&5
11383 echo "${ECHO_T}$result" >&6; }
11387 defaultval=$wxUSE_ALL_FEATURES
11388 if test -z "$defaultval"; then
11389 if test x"$enablestring" = xdisable; then
11396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11397 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11398 # Check whether --enable-checklst was given.
11399 if test "${enable_checklst+set}" = set; then
11400 enableval=$enable_checklst;
11401 if test "$enableval" = yes; then
11402 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11404 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11410 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11411 if test "x$LINE" != x ; then
11412 eval "DEFAULT_$LINE"
11418 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11423 eval "$wx_cv_use_checklst"
11424 if test "x$cache" = xyes; then
11425 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11428 if test x"$enablestring" = xdisable; then
11429 if test $wxUSE_CHECKLST = yes; then
11435 result=$wxUSE_CHECKLST
11438 { echo "$as_me:$LINENO: result: $result" >&5
11439 echo "${ECHO_T}$result" >&6; }
11443 defaultval=$wxUSE_ALL_FEATURES
11444 if test -z "$defaultval"; then
11445 if test x"$enablestring" = xdisable; then
11452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11453 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11454 # Check whether --enable-choice was given.
11455 if test "${enable_choice+set}" = set; then
11456 enableval=$enable_choice;
11457 if test "$enableval" = yes; then
11458 wx_cv_use_choice='wxUSE_CHOICE=yes'
11460 wx_cv_use_choice='wxUSE_CHOICE=no'
11466 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11467 if test "x$LINE" != x ; then
11468 eval "DEFAULT_$LINE"
11474 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11479 eval "$wx_cv_use_choice"
11480 if test "x$cache" = xyes; then
11481 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11484 if test x"$enablestring" = xdisable; then
11485 if test $wxUSE_CHOICE = yes; then
11491 result=$wxUSE_CHOICE
11494 { echo "$as_me:$LINENO: result: $result" >&5
11495 echo "${ECHO_T}$result" >&6; }
11499 defaultval=$wxUSE_ALL_FEATURES
11500 if test -z "$defaultval"; then
11501 if test x"$enablestring" = xdisable; then
11508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11509 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11510 # Check whether --enable-choicebook was given.
11511 if test "${enable_choicebook+set}" = set; then
11512 enableval=$enable_choicebook;
11513 if test "$enableval" = yes; then
11514 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11516 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11522 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11523 if test "x$LINE" != x ; then
11524 eval "DEFAULT_$LINE"
11530 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11535 eval "$wx_cv_use_choicebook"
11536 if test "x$cache" = xyes; then
11537 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11540 if test x"$enablestring" = xdisable; then
11541 if test $wxUSE_CHOICEBOOK = yes; then
11547 result=$wxUSE_CHOICEBOOK
11550 { echo "$as_me:$LINENO: result: $result" >&5
11551 echo "${ECHO_T}$result" >&6; }
11555 defaultval=$wxUSE_ALL_FEATURES
11556 if test -z "$defaultval"; then
11557 if test x"$enablestring" = xdisable; then
11564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11565 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11566 # Check whether --enable-collpane was given.
11567 if test "${enable_collpane+set}" = set; then
11568 enableval=$enable_collpane;
11569 if test "$enableval" = yes; then
11570 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11572 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11578 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11579 if test "x$LINE" != x ; then
11580 eval "DEFAULT_$LINE"
11586 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11591 eval "$wx_cv_use_collpane"
11592 if test "x$cache" = xyes; then
11593 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11596 if test x"$enablestring" = xdisable; then
11597 if test $wxUSE_COLLPANE = yes; then
11603 result=$wxUSE_COLLPANE
11606 { echo "$as_me:$LINENO: result: $result" >&5
11607 echo "${ECHO_T}$result" >&6; }
11611 defaultval=$wxUSE_ALL_FEATURES
11612 if test -z "$defaultval"; then
11613 if test x"$enablestring" = xdisable; then
11620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11621 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11622 # Check whether --enable-colourpicker was given.
11623 if test "${enable_colourpicker+set}" = set; then
11624 enableval=$enable_colourpicker;
11625 if test "$enableval" = yes; then
11626 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11628 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11634 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11635 if test "x$LINE" != x ; then
11636 eval "DEFAULT_$LINE"
11642 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11647 eval "$wx_cv_use_colourpicker"
11648 if test "x$cache" = xyes; then
11649 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11652 if test x"$enablestring" = xdisable; then
11653 if test $wxUSE_COLOURPICKERCTRL = yes; then
11659 result=$wxUSE_COLOURPICKERCTRL
11662 { echo "$as_me:$LINENO: result: $result" >&5
11663 echo "${ECHO_T}$result" >&6; }
11667 defaultval=$wxUSE_ALL_FEATURES
11668 if test -z "$defaultval"; then
11669 if test x"$enablestring" = xdisable; then
11676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11677 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11678 # Check whether --enable-combobox was given.
11679 if test "${enable_combobox+set}" = set; then
11680 enableval=$enable_combobox;
11681 if test "$enableval" = yes; then
11682 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11684 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11690 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11691 if test "x$LINE" != x ; then
11692 eval "DEFAULT_$LINE"
11698 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11703 eval "$wx_cv_use_combobox"
11704 if test "x$cache" = xyes; then
11705 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11708 if test x"$enablestring" = xdisable; then
11709 if test $wxUSE_COMBOBOX = yes; then
11715 result=$wxUSE_COMBOBOX
11718 { echo "$as_me:$LINENO: result: $result" >&5
11719 echo "${ECHO_T}$result" >&6; }
11723 defaultval=$wxUSE_ALL_FEATURES
11724 if test -z "$defaultval"; then
11725 if test x"$enablestring" = xdisable; then
11732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11733 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11734 # Check whether --enable-comboctrl was given.
11735 if test "${enable_comboctrl+set}" = set; then
11736 enableval=$enable_comboctrl;
11737 if test "$enableval" = yes; then
11738 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11740 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11746 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11747 if test "x$LINE" != x ; then
11748 eval "DEFAULT_$LINE"
11754 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11759 eval "$wx_cv_use_comboctrl"
11760 if test "x$cache" = xyes; then
11761 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11764 if test x"$enablestring" = xdisable; then
11765 if test $wxUSE_COMBOCTRL = yes; then
11771 result=$wxUSE_COMBOCTRL
11774 { echo "$as_me:$LINENO: result: $result" >&5
11775 echo "${ECHO_T}$result" >&6; }
11779 defaultval=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x"$enablestring" = xdisable; then
11788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11789 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11790 # Check whether --enable-datepick was given.
11791 if test "${enable_datepick+set}" = set; then
11792 enableval=$enable_datepick;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11796 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11802 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11803 if test "x$LINE" != x ; then
11804 eval "DEFAULT_$LINE"
11810 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11815 eval "$wx_cv_use_datepick"
11816 if test "x$cache" = xyes; then
11817 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11820 if test x"$enablestring" = xdisable; then
11821 if test $wxUSE_DATEPICKCTRL = yes; then
11827 result=$wxUSE_DATEPICKCTRL
11830 { echo "$as_me:$LINENO: result: $result" >&5
11831 echo "${ECHO_T}$result" >&6; }
11835 defaultval=$wxUSE_ALL_FEATURES
11836 if test -z "$defaultval"; then
11837 if test x"$enablestring" = xdisable; then
11844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11845 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11846 # Check whether --enable-dirpicker was given.
11847 if test "${enable_dirpicker+set}" = set; then
11848 enableval=$enable_dirpicker;
11849 if test "$enableval" = yes; then
11850 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11852 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11858 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11859 if test "x$LINE" != x ; then
11860 eval "DEFAULT_$LINE"
11866 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11871 eval "$wx_cv_use_dirpicker"
11872 if test "x$cache" = xyes; then
11873 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11876 if test x"$enablestring" = xdisable; then
11877 if test $wxUSE_DIRPICKERCTRL = yes; then
11883 result=$wxUSE_DIRPICKERCTRL
11886 { echo "$as_me:$LINENO: result: $result" >&5
11887 echo "${ECHO_T}$result" >&6; }
11891 defaultval=$wxUSE_ALL_FEATURES
11892 if test -z "$defaultval"; then
11893 if test x"$enablestring" = xdisable; then
11900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11901 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11902 # Check whether --enable-display was given.
11903 if test "${enable_display+set}" = set; then
11904 enableval=$enable_display;
11905 if test "$enableval" = yes; then
11906 wx_cv_use_display='wxUSE_DISPLAY=yes'
11908 wx_cv_use_display='wxUSE_DISPLAY=no'
11914 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11915 if test "x$LINE" != x ; then
11916 eval "DEFAULT_$LINE"
11922 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11927 eval "$wx_cv_use_display"
11928 if test "x$cache" = xyes; then
11929 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_DISPLAY = yes; then
11939 result=$wxUSE_DISPLAY
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11958 # Check whether --enable-detect_sm was given.
11959 if test "${enable_detect_sm+set}" = set; then
11960 enableval=$enable_detect_sm;
11961 if test "$enableval" = yes; then
11962 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11964 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11970 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11971 if test "x$LINE" != x ; then
11972 eval "DEFAULT_$LINE"
11978 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11983 eval "$wx_cv_use_detect_sm"
11984 if test "x$cache" = xyes; then
11985 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11988 if test x"$enablestring" = xdisable; then
11989 if test $wxUSE_DETECT_SM = yes; then
11995 result=$wxUSE_DETECT_SM
11998 { echo "$as_me:$LINENO: result: $result" >&5
11999 echo "${ECHO_T}$result" >&6; }
12003 defaultval=$wxUSE_ALL_FEATURES
12004 if test -z "$defaultval"; then
12005 if test x"$enablestring" = xdisable; then
12012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12013 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12014 # Check whether --enable-editablebox was given.
12015 if test "${enable_editablebox+set}" = set; then
12016 enableval=$enable_editablebox;
12017 if test "$enableval" = yes; then
12018 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12020 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12026 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12027 if test "x$LINE" != x ; then
12028 eval "DEFAULT_$LINE"
12034 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12039 eval "$wx_cv_use_editablebox"
12040 if test "x$cache" = xyes; then
12041 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12044 if test x"$enablestring" = xdisable; then
12045 if test $wxUSE_EDITABLELISTBOX = yes; then
12051 result=$wxUSE_EDITABLELISTBOX
12054 { echo "$as_me:$LINENO: result: $result" >&5
12055 echo "${ECHO_T}$result" >&6; }
12059 defaultval=$wxUSE_ALL_FEATURES
12060 if test -z "$defaultval"; then
12061 if test x"$enablestring" = xdisable; then
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12070 # Check whether --enable-filepicker was given.
12071 if test "${enable_filepicker+set}" = set; then
12072 enableval=$enable_filepicker;
12073 if test "$enableval" = yes; then
12074 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12076 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12082 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12083 if test "x$LINE" != x ; then
12084 eval "DEFAULT_$LINE"
12090 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12095 eval "$wx_cv_use_filepicker"
12096 if test "x$cache" = xyes; then
12097 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12100 if test x"$enablestring" = xdisable; then
12101 if test $wxUSE_FILEPICKERCTRL = yes; then
12107 result=$wxUSE_FILEPICKERCTRL
12110 { echo "$as_me:$LINENO: result: $result" >&5
12111 echo "${ECHO_T}$result" >&6; }
12115 defaultval=$wxUSE_ALL_FEATURES
12116 if test -z "$defaultval"; then
12117 if test x"$enablestring" = xdisable; then
12124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12125 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12126 # Check whether --enable-fontpicker was given.
12127 if test "${enable_fontpicker+set}" = set; then
12128 enableval=$enable_fontpicker;
12129 if test "$enableval" = yes; then
12130 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12132 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12138 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12139 if test "x$LINE" != x ; then
12140 eval "DEFAULT_$LINE"
12146 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12151 eval "$wx_cv_use_fontpicker"
12152 if test "x$cache" = xyes; then
12153 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12156 if test x"$enablestring" = xdisable; then
12157 if test $wxUSE_FONTPICKERCTRL = yes; then
12163 result=$wxUSE_FONTPICKERCTRL
12166 { echo "$as_me:$LINENO: result: $result" >&5
12167 echo "${ECHO_T}$result" >&6; }
12171 defaultval=$wxUSE_ALL_FEATURES
12172 if test -z "$defaultval"; then
12173 if test x"$enablestring" = xdisable; then
12180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12181 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12182 # Check whether --enable-gauge was given.
12183 if test "${enable_gauge+set}" = set; then
12184 enableval=$enable_gauge;
12185 if test "$enableval" = yes; then
12186 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12188 wx_cv_use_gauge='wxUSE_GAUGE=no'
12194 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12195 if test "x$LINE" != x ; then
12196 eval "DEFAULT_$LINE"
12202 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12207 eval "$wx_cv_use_gauge"
12208 if test "x$cache" = xyes; then
12209 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12212 if test x"$enablestring" = xdisable; then
12213 if test $wxUSE_GAUGE = yes; then
12219 result=$wxUSE_GAUGE
12222 { echo "$as_me:$LINENO: result: $result" >&5
12223 echo "${ECHO_T}$result" >&6; }
12227 defaultval=$wxUSE_ALL_FEATURES
12228 if test -z "$defaultval"; then
12229 if test x"$enablestring" = xdisable; then
12236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12237 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12238 # Check whether --enable-grid was given.
12239 if test "${enable_grid+set}" = set; then
12240 enableval=$enable_grid;
12241 if test "$enableval" = yes; then
12242 wx_cv_use_grid='wxUSE_GRID=yes'
12244 wx_cv_use_grid='wxUSE_GRID=no'
12250 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12251 if test "x$LINE" != x ; then
12252 eval "DEFAULT_$LINE"
12258 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12263 eval "$wx_cv_use_grid"
12264 if test "x$cache" = xyes; then
12265 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_GRID = yes; then
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12294 # Check whether --enable-dataviewctrl was given.
12295 if test "${enable_dataviewctrl+set}" = set; then
12296 enableval=$enable_dataviewctrl;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12300 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12306 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12314 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12319 eval "$wx_cv_use_dataviewctrl"
12320 if test "x$cache" = xyes; then
12321 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12324 if test x"$enablestring" = xdisable; then
12325 if test $wxUSE_DATAVIEWCTRL = yes; then
12331 result=$wxUSE_DATAVIEWCTRL
12334 { echo "$as_me:$LINENO: result: $result" >&5
12335 echo "${ECHO_T}$result" >&6; }
12339 defaultval=$wxUSE_ALL_FEATURES
12340 if test -z "$defaultval"; then
12341 if test x"$enablestring" = xdisable; then
12348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12349 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12350 # Check whether --enable-hyperlink was given.
12351 if test "${enable_hyperlink+set}" = set; then
12352 enableval=$enable_hyperlink;
12353 if test "$enableval" = yes; then
12354 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12356 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12362 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12363 if test "x$LINE" != x ; then
12364 eval "DEFAULT_$LINE"
12370 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12375 eval "$wx_cv_use_hyperlink"
12376 if test "x$cache" = xyes; then
12377 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12380 if test x"$enablestring" = xdisable; then
12381 if test $wxUSE_HYPERLINKCTRL = yes; then
12387 result=$wxUSE_HYPERLINKCTRL
12390 { echo "$as_me:$LINENO: result: $result" >&5
12391 echo "${ECHO_T}$result" >&6; }
12395 defaultval=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x"$enablestring" = xdisable; then
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12406 # Check whether --enable-imaglist was given.
12407 if test "${enable_imaglist+set}" = set; then
12408 enableval=$enable_imaglist;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12412 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12418 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12419 if test "x$LINE" != x ; then
12420 eval "DEFAULT_$LINE"
12426 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12431 eval "$wx_cv_use_imaglist"
12432 if test "x$cache" = xyes; then
12433 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12436 if test x"$enablestring" = xdisable; then
12437 if test $wxUSE_IMAGLIST = yes; then
12443 result=$wxUSE_IMAGLIST
12446 { echo "$as_me:$LINENO: result: $result" >&5
12447 echo "${ECHO_T}$result" >&6; }
12451 defaultval=$wxUSE_ALL_FEATURES
12452 if test -z "$defaultval"; then
12453 if test x"$enablestring" = xdisable; then
12460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12461 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12462 # Check whether --enable-listbook was given.
12463 if test "${enable_listbook+set}" = set; then
12464 enableval=$enable_listbook;
12465 if test "$enableval" = yes; then
12466 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12468 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12474 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12475 if test "x$LINE" != x ; then
12476 eval "DEFAULT_$LINE"
12482 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12487 eval "$wx_cv_use_listbook"
12488 if test "x$cache" = xyes; then
12489 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12492 if test x"$enablestring" = xdisable; then
12493 if test $wxUSE_LISTBOOK = yes; then
12499 result=$wxUSE_LISTBOOK
12502 { echo "$as_me:$LINENO: result: $result" >&5
12503 echo "${ECHO_T}$result" >&6; }
12507 defaultval=$wxUSE_ALL_FEATURES
12508 if test -z "$defaultval"; then
12509 if test x"$enablestring" = xdisable; then
12516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12517 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12518 # Check whether --enable-listbox was given.
12519 if test "${enable_listbox+set}" = set; then
12520 enableval=$enable_listbox;
12521 if test "$enableval" = yes; then
12522 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12524 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12530 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12531 if test "x$LINE" != x ; then
12532 eval "DEFAULT_$LINE"
12538 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12543 eval "$wx_cv_use_listbox"
12544 if test "x$cache" = xyes; then
12545 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12548 if test x"$enablestring" = xdisable; then
12549 if test $wxUSE_LISTBOX = yes; then
12555 result=$wxUSE_LISTBOX
12558 { echo "$as_me:$LINENO: result: $result" >&5
12559 echo "${ECHO_T}$result" >&6; }
12563 defaultval=$wxUSE_ALL_FEATURES
12564 if test -z "$defaultval"; then
12565 if test x"$enablestring" = xdisable; then
12572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12573 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12574 # Check whether --enable-listctrl was given.
12575 if test "${enable_listctrl+set}" = set; then
12576 enableval=$enable_listctrl;
12577 if test "$enableval" = yes; then
12578 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12580 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12586 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12587 if test "x$LINE" != x ; then
12588 eval "DEFAULT_$LINE"
12594 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12599 eval "$wx_cv_use_listctrl"
12600 if test "x$cache" = xyes; then
12601 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12604 if test x"$enablestring" = xdisable; then
12605 if test $wxUSE_LISTCTRL = yes; then
12611 result=$wxUSE_LISTCTRL
12614 { echo "$as_me:$LINENO: result: $result" >&5
12615 echo "${ECHO_T}$result" >&6; }
12619 defaultval=$wxUSE_ALL_FEATURES
12620 if test -z "$defaultval"; then
12621 if test x"$enablestring" = xdisable; then
12628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12629 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12630 # Check whether --enable-notebook was given.
12631 if test "${enable_notebook+set}" = set; then
12632 enableval=$enable_notebook;
12633 if test "$enableval" = yes; then
12634 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12636 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12642 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12643 if test "x$LINE" != x ; then
12644 eval "DEFAULT_$LINE"
12650 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12655 eval "$wx_cv_use_notebook"
12656 if test "x$cache" = xyes; then
12657 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12660 if test x"$enablestring" = xdisable; then
12661 if test $wxUSE_NOTEBOOK = yes; then
12667 result=$wxUSE_NOTEBOOK
12670 { echo "$as_me:$LINENO: result: $result" >&5
12671 echo "${ECHO_T}$result" >&6; }
12675 defaultval=$wxUSE_ALL_FEATURES
12676 if test -z "$defaultval"; then
12677 if test x"$enablestring" = xdisable; then
12684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12685 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12686 # Check whether --enable-odcombobox was given.
12687 if test "${enable_odcombobox+set}" = set; then
12688 enableval=$enable_odcombobox;
12689 if test "$enableval" = yes; then
12690 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12692 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12698 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12699 if test "x$LINE" != x ; then
12700 eval "DEFAULT_$LINE"
12706 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12711 eval "$wx_cv_use_odcombobox"
12712 if test "x$cache" = xyes; then
12713 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12716 if test x"$enablestring" = xdisable; then
12717 if test $wxUSE_ODCOMBOBOX = yes; then
12723 result=$wxUSE_ODCOMBOBOX
12726 { echo "$as_me:$LINENO: result: $result" >&5
12727 echo "${ECHO_T}$result" >&6; }
12731 defaultval=$wxUSE_ALL_FEATURES
12732 if test -z "$defaultval"; then
12733 if test x"$enablestring" = xdisable; then
12740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12741 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12742 # Check whether --enable-radiobox was given.
12743 if test "${enable_radiobox+set}" = set; then
12744 enableval=$enable_radiobox;
12745 if test "$enableval" = yes; then
12746 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12748 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12754 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12755 if test "x$LINE" != x ; then
12756 eval "DEFAULT_$LINE"
12762 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12767 eval "$wx_cv_use_radiobox"
12768 if test "x$cache" = xyes; then
12769 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12772 if test x"$enablestring" = xdisable; then
12773 if test $wxUSE_RADIOBOX = yes; then
12779 result=$wxUSE_RADIOBOX
12782 { echo "$as_me:$LINENO: result: $result" >&5
12783 echo "${ECHO_T}$result" >&6; }
12787 defaultval=$wxUSE_ALL_FEATURES
12788 if test -z "$defaultval"; then
12789 if test x"$enablestring" = xdisable; then
12796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12797 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12798 # Check whether --enable-radiobtn was given.
12799 if test "${enable_radiobtn+set}" = set; then
12800 enableval=$enable_radiobtn;
12801 if test "$enableval" = yes; then
12802 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12804 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12810 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12811 if test "x$LINE" != x ; then
12812 eval "DEFAULT_$LINE"
12818 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12823 eval "$wx_cv_use_radiobtn"
12824 if test "x$cache" = xyes; then
12825 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12828 if test x"$enablestring" = xdisable; then
12829 if test $wxUSE_RADIOBTN = yes; then
12835 result=$wxUSE_RADIOBTN
12838 { echo "$as_me:$LINENO: result: $result" >&5
12839 echo "${ECHO_T}$result" >&6; }
12843 defaultval=$wxUSE_ALL_FEATURES
12844 if test -z "$defaultval"; then
12845 if test x"$enablestring" = xdisable; then
12852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12853 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12854 # Check whether --enable-sash was given.
12855 if test "${enable_sash+set}" = set; then
12856 enableval=$enable_sash;
12857 if test "$enableval" = yes; then
12858 wx_cv_use_sash='wxUSE_SASH=yes'
12860 wx_cv_use_sash='wxUSE_SASH=no'
12866 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12867 if test "x$LINE" != x ; then
12868 eval "DEFAULT_$LINE"
12874 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12879 eval "$wx_cv_use_sash"
12880 if test "x$cache" = xyes; then
12881 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12884 if test x"$enablestring" = xdisable; then
12885 if test $wxUSE_SASH = yes; then
12894 { echo "$as_me:$LINENO: result: $result" >&5
12895 echo "${ECHO_T}$result" >&6; }
12899 defaultval=$wxUSE_ALL_FEATURES
12900 if test -z "$defaultval"; then
12901 if test x"$enablestring" = xdisable; then
12908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12909 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12910 # Check whether --enable-scrollbar was given.
12911 if test "${enable_scrollbar+set}" = set; then
12912 enableval=$enable_scrollbar;
12913 if test "$enableval" = yes; then
12914 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12916 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12922 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12923 if test "x$LINE" != x ; then
12924 eval "DEFAULT_$LINE"
12930 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12935 eval "$wx_cv_use_scrollbar"
12936 if test "x$cache" = xyes; then
12937 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12940 if test x"$enablestring" = xdisable; then
12941 if test $wxUSE_SCROLLBAR = yes; then
12947 result=$wxUSE_SCROLLBAR
12950 { echo "$as_me:$LINENO: result: $result" >&5
12951 echo "${ECHO_T}$result" >&6; }
12955 defaultval=$wxUSE_ALL_FEATURES
12956 if test -z "$defaultval"; then
12957 if test x"$enablestring" = xdisable; then
12964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12965 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12966 # Check whether --enable-searchctrl was given.
12967 if test "${enable_searchctrl+set}" = set; then
12968 enableval=$enable_searchctrl;
12969 if test "$enableval" = yes; then
12970 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12972 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12978 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12979 if test "x$LINE" != x ; then
12980 eval "DEFAULT_$LINE"
12986 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12991 eval "$wx_cv_use_searchctrl"
12992 if test "x$cache" = xyes; then
12993 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_SEARCHCTRL = yes; then
13003 result=$wxUSE_SEARCHCTRL
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13022 # Check whether --enable-slider was given.
13023 if test "${enable_slider+set}" = set; then
13024 enableval=$enable_slider;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_slider='wxUSE_SLIDER=yes'
13028 wx_cv_use_slider='wxUSE_SLIDER=no'
13034 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13035 if test "x$LINE" != x ; then
13036 eval "DEFAULT_$LINE"
13042 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13047 eval "$wx_cv_use_slider"
13048 if test "x$cache" = xyes; then
13049 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13052 if test x"$enablestring" = xdisable; then
13053 if test $wxUSE_SLIDER = yes; then
13059 result=$wxUSE_SLIDER
13062 { echo "$as_me:$LINENO: result: $result" >&5
13063 echo "${ECHO_T}$result" >&6; }
13067 defaultval=$wxUSE_ALL_FEATURES
13068 if test -z "$defaultval"; then
13069 if test x"$enablestring" = xdisable; then
13076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13077 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13078 # Check whether --enable-spinbtn was given.
13079 if test "${enable_spinbtn+set}" = set; then
13080 enableval=$enable_spinbtn;
13081 if test "$enableval" = yes; then
13082 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13084 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13090 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13091 if test "x$LINE" != x ; then
13092 eval "DEFAULT_$LINE"
13098 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13103 eval "$wx_cv_use_spinbtn"
13104 if test "x$cache" = xyes; then
13105 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_SPINBTN = yes; then
13115 result=$wxUSE_SPINBTN
13118 { echo "$as_me:$LINENO: result: $result" >&5
13119 echo "${ECHO_T}$result" >&6; }
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13133 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13134 # Check whether --enable-spinctrl was given.
13135 if test "${enable_spinctrl+set}" = set; then
13136 enableval=$enable_spinctrl;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13140 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13146 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13147 if test "x$LINE" != x ; then
13148 eval "DEFAULT_$LINE"
13154 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13159 eval "$wx_cv_use_spinctrl"
13160 if test "x$cache" = xyes; then
13161 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13164 if test x"$enablestring" = xdisable; then
13165 if test $wxUSE_SPINCTRL = yes; then
13171 result=$wxUSE_SPINCTRL
13174 { echo "$as_me:$LINENO: result: $result" >&5
13175 echo "${ECHO_T}$result" >&6; }
13179 defaultval=$wxUSE_ALL_FEATURES
13180 if test -z "$defaultval"; then
13181 if test x"$enablestring" = xdisable; then
13188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13189 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13190 # Check whether --enable-splitter was given.
13191 if test "${enable_splitter+set}" = set; then
13192 enableval=$enable_splitter;
13193 if test "$enableval" = yes; then
13194 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13196 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13202 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13203 if test "x$LINE" != x ; then
13204 eval "DEFAULT_$LINE"
13210 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13215 eval "$wx_cv_use_splitter"
13216 if test "x$cache" = xyes; then
13217 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13220 if test x"$enablestring" = xdisable; then
13221 if test $wxUSE_SPLITTER = yes; then
13227 result=$wxUSE_SPLITTER
13230 { echo "$as_me:$LINENO: result: $result" >&5
13231 echo "${ECHO_T}$result" >&6; }
13235 defaultval=$wxUSE_ALL_FEATURES
13236 if test -z "$defaultval"; then
13237 if test x"$enablestring" = xdisable; then
13244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13245 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13246 # Check whether --enable-statbmp was given.
13247 if test "${enable_statbmp+set}" = set; then
13248 enableval=$enable_statbmp;
13249 if test "$enableval" = yes; then
13250 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13252 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13258 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13259 if test "x$LINE" != x ; then
13260 eval "DEFAULT_$LINE"
13266 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13271 eval "$wx_cv_use_statbmp"
13272 if test "x$cache" = xyes; then
13273 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13276 if test x"$enablestring" = xdisable; then
13277 if test $wxUSE_STATBMP = yes; then
13283 result=$wxUSE_STATBMP
13286 { echo "$as_me:$LINENO: result: $result" >&5
13287 echo "${ECHO_T}$result" >&6; }
13291 defaultval=$wxUSE_ALL_FEATURES
13292 if test -z "$defaultval"; then
13293 if test x"$enablestring" = xdisable; then
13300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13301 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13302 # Check whether --enable-statbox was given.
13303 if test "${enable_statbox+set}" = set; then
13304 enableval=$enable_statbox;
13305 if test "$enableval" = yes; then
13306 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13308 wx_cv_use_statbox='wxUSE_STATBOX=no'
13314 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13315 if test "x$LINE" != x ; then
13316 eval "DEFAULT_$LINE"
13322 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13327 eval "$wx_cv_use_statbox"
13328 if test "x$cache" = xyes; then
13329 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13332 if test x"$enablestring" = xdisable; then
13333 if test $wxUSE_STATBOX = yes; then
13339 result=$wxUSE_STATBOX
13342 { echo "$as_me:$LINENO: result: $result" >&5
13343 echo "${ECHO_T}$result" >&6; }
13347 defaultval=$wxUSE_ALL_FEATURES
13348 if test -z "$defaultval"; then
13349 if test x"$enablestring" = xdisable; then
13356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13357 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13358 # Check whether --enable-statline was given.
13359 if test "${enable_statline+set}" = set; then
13360 enableval=$enable_statline;
13361 if test "$enableval" = yes; then
13362 wx_cv_use_statline='wxUSE_STATLINE=yes'
13364 wx_cv_use_statline='wxUSE_STATLINE=no'
13370 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13371 if test "x$LINE" != x ; then
13372 eval "DEFAULT_$LINE"
13378 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13383 eval "$wx_cv_use_statline"
13384 if test "x$cache" = xyes; then
13385 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13388 if test x"$enablestring" = xdisable; then
13389 if test $wxUSE_STATLINE = yes; then
13395 result=$wxUSE_STATLINE
13398 { echo "$as_me:$LINENO: result: $result" >&5
13399 echo "${ECHO_T}$result" >&6; }
13403 defaultval=$wxUSE_ALL_FEATURES
13404 if test -z "$defaultval"; then
13405 if test x"$enablestring" = xdisable; then
13412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13413 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13414 # Check whether --enable-stattext was given.
13415 if test "${enable_stattext+set}" = set; then
13416 enableval=$enable_stattext;
13417 if test "$enableval" = yes; then
13418 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13420 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13426 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13427 if test "x$LINE" != x ; then
13428 eval "DEFAULT_$LINE"
13434 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13439 eval "$wx_cv_use_stattext"
13440 if test "x$cache" = xyes; then
13441 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13444 if test x"$enablestring" = xdisable; then
13445 if test $wxUSE_STATTEXT = yes; then
13451 result=$wxUSE_STATTEXT
13454 { echo "$as_me:$LINENO: result: $result" >&5
13455 echo "${ECHO_T}$result" >&6; }
13459 defaultval=$wxUSE_ALL_FEATURES
13460 if test -z "$defaultval"; then
13461 if test x"$enablestring" = xdisable; then
13468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13469 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13470 # Check whether --enable-statusbar was given.
13471 if test "${enable_statusbar+set}" = set; then
13472 enableval=$enable_statusbar;
13473 if test "$enableval" = yes; then
13474 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13476 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13482 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13483 if test "x$LINE" != x ; then
13484 eval "DEFAULT_$LINE"
13490 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13495 eval "$wx_cv_use_statusbar"
13496 if test "x$cache" = xyes; then
13497 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13500 if test x"$enablestring" = xdisable; then
13501 if test $wxUSE_STATUSBAR = yes; then
13507 result=$wxUSE_STATUSBAR
13510 { echo "$as_me:$LINENO: result: $result" >&5
13511 echo "${ECHO_T}$result" >&6; }
13515 defaultval=$wxUSE_ALL_FEATURES
13516 if test -z "$defaultval"; then
13517 if test x"$enablestring" = xdisable; then
13524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13525 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13526 # Check whether --enable-tabdialog was given.
13527 if test "${enable_tabdialog+set}" = set; then
13528 enableval=$enable_tabdialog;
13529 if test "$enableval" = yes; then
13530 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13532 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13538 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13539 if test "x$LINE" != x ; then
13540 eval "DEFAULT_$LINE"
13546 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13551 eval "$wx_cv_use_tabdialog"
13552 if test "x$cache" = xyes; then
13553 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13556 if test x"$enablestring" = xdisable; then
13557 if test $wxUSE_TAB_DIALOG = yes; then
13563 result=$wxUSE_TAB_DIALOG
13566 { echo "$as_me:$LINENO: result: $result" >&5
13567 echo "${ECHO_T}$result" >&6; }
13571 defaultval=$wxUSE_ALL_FEATURES
13572 if test -z "$defaultval"; then
13573 if test x"$enablestring" = xdisable; then
13580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13581 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13582 # Check whether --enable-taskbaricon was given.
13583 if test "${enable_taskbaricon+set}" = set; then
13584 enableval=$enable_taskbaricon;
13585 if test "$enableval" = yes; then
13586 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13588 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13594 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13595 if test "x$LINE" != x ; then
13596 eval "DEFAULT_$LINE"
13602 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13607 eval "$wx_cv_use_taskbaricon"
13608 if test "x$cache" = xyes; then
13609 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13612 if test x"$enablestring" = xdisable; then
13613 if test $wxUSE_TASKBARICON = yes; then
13619 result=$wxUSE_TASKBARICON
13622 { echo "$as_me:$LINENO: result: $result" >&5
13623 echo "${ECHO_T}$result" >&6; }
13627 defaultval=$wxUSE_ALL_FEATURES
13628 if test -z "$defaultval"; then
13629 if test x"$enablestring" = xdisable; then
13636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13637 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13638 # Check whether --enable-textctrl was given.
13639 if test "${enable_textctrl+set}" = set; then
13640 enableval=$enable_textctrl;
13641 if test "$enableval" = yes; then
13642 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13644 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13650 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13651 if test "x$LINE" != x ; then
13652 eval "DEFAULT_$LINE"
13658 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13663 eval "$wx_cv_use_textctrl"
13664 if test "x$cache" = xyes; then
13665 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13668 if test x"$enablestring" = xdisable; then
13669 if test $wxUSE_TEXTCTRL = yes; then
13675 result=$wxUSE_TEXTCTRL
13678 { echo "$as_me:$LINENO: result: $result" >&5
13679 echo "${ECHO_T}$result" >&6; }
13683 defaultval=$wxUSE_ALL_FEATURES
13684 if test -z "$defaultval"; then
13685 if test x"$enablestring" = xdisable; then
13692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13693 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13694 # Check whether --enable-togglebtn was given.
13695 if test "${enable_togglebtn+set}" = set; then
13696 enableval=$enable_togglebtn;
13697 if test "$enableval" = yes; then
13698 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13700 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13706 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13707 if test "x$LINE" != x ; then
13708 eval "DEFAULT_$LINE"
13714 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13719 eval "$wx_cv_use_togglebtn"
13720 if test "x$cache" = xyes; then
13721 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13724 if test x"$enablestring" = xdisable; then
13725 if test $wxUSE_TOGGLEBTN = yes; then
13731 result=$wxUSE_TOGGLEBTN
13734 { echo "$as_me:$LINENO: result: $result" >&5
13735 echo "${ECHO_T}$result" >&6; }
13739 defaultval=$wxUSE_ALL_FEATURES
13740 if test -z "$defaultval"; then
13741 if test x"$enablestring" = xdisable; then
13748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13749 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13750 # Check whether --enable-toolbar was given.
13751 if test "${enable_toolbar+set}" = set; then
13752 enableval=$enable_toolbar;
13753 if test "$enableval" = yes; then
13754 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13756 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13762 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13763 if test "x$LINE" != x ; then
13764 eval "DEFAULT_$LINE"
13770 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13775 eval "$wx_cv_use_toolbar"
13776 if test "x$cache" = xyes; then
13777 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13780 if test x"$enablestring" = xdisable; then
13781 if test $wxUSE_TOOLBAR = yes; then
13787 result=$wxUSE_TOOLBAR
13790 { echo "$as_me:$LINENO: result: $result" >&5
13791 echo "${ECHO_T}$result" >&6; }
13795 defaultval=$wxUSE_ALL_FEATURES
13796 if test -z "$defaultval"; then
13797 if test x"$enablestring" = xdisable; then
13804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13805 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13806 # Check whether --enable-tbarnative was given.
13807 if test "${enable_tbarnative+set}" = set; then
13808 enableval=$enable_tbarnative;
13809 if test "$enableval" = yes; then
13810 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13812 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13818 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13819 if test "x$LINE" != x ; then
13820 eval "DEFAULT_$LINE"
13826 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13831 eval "$wx_cv_use_tbarnative"
13832 if test "x$cache" = xyes; then
13833 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13843 result=$wxUSE_TOOLBAR_NATIVE
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13862 # Check whether --enable-treebook was given.
13863 if test "${enable_treebook+set}" = set; then
13864 enableval=$enable_treebook;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13868 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13874 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13875 if test "x$LINE" != x ; then
13876 eval "DEFAULT_$LINE"
13882 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13887 eval "$wx_cv_use_treebook"
13888 if test "x$cache" = xyes; then
13889 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13892 if test x"$enablestring" = xdisable; then
13893 if test $wxUSE_TREEBOOK = yes; then
13899 result=$wxUSE_TREEBOOK
13902 { echo "$as_me:$LINENO: result: $result" >&5
13903 echo "${ECHO_T}$result" >&6; }
13907 defaultval=$wxUSE_ALL_FEATURES
13908 if test -z "$defaultval"; then
13909 if test x"$enablestring" = xdisable; then
13916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13917 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13918 # Check whether --enable-toolbook was given.
13919 if test "${enable_toolbook+set}" = set; then
13920 enableval=$enable_toolbook;
13921 if test "$enableval" = yes; then
13922 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13924 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13930 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13931 if test "x$LINE" != x ; then
13932 eval "DEFAULT_$LINE"
13938 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13943 eval "$wx_cv_use_toolbook"
13944 if test "x$cache" = xyes; then
13945 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13948 if test x"$enablestring" = xdisable; then
13949 if test $wxUSE_TOOLBOOK = yes; then
13955 result=$wxUSE_TOOLBOOK
13958 { echo "$as_me:$LINENO: result: $result" >&5
13959 echo "${ECHO_T}$result" >&6; }
13963 defaultval=$wxUSE_ALL_FEATURES
13964 if test -z "$defaultval"; then
13965 if test x"$enablestring" = xdisable; then
13972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13973 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13974 # Check whether --enable-treectrl was given.
13975 if test "${enable_treectrl+set}" = set; then
13976 enableval=$enable_treectrl;
13977 if test "$enableval" = yes; then
13978 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13980 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13986 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13987 if test "x$LINE" != x ; then
13988 eval "DEFAULT_$LINE"
13994 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13999 eval "$wx_cv_use_treectrl"
14000 if test "x$cache" = xyes; then
14001 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14004 if test x"$enablestring" = xdisable; then
14005 if test $wxUSE_TREECTRL = yes; then
14011 result=$wxUSE_TREECTRL
14014 { echo "$as_me:$LINENO: result: $result" >&5
14015 echo "${ECHO_T}$result" >&6; }
14019 defaultval=$wxUSE_ALL_FEATURES
14020 if test -z "$defaultval"; then
14021 if test x"$enablestring" = xdisable; then
14028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14029 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14030 # Check whether --enable-tipwindow was given.
14031 if test "${enable_tipwindow+set}" = set; then
14032 enableval=$enable_tipwindow;
14033 if test "$enableval" = yes; then
14034 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14036 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14042 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14043 if test "x$LINE" != x ; then
14044 eval "DEFAULT_$LINE"
14050 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14055 eval "$wx_cv_use_tipwindow"
14056 if test "x$cache" = xyes; then
14057 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14060 if test x"$enablestring" = xdisable; then
14061 if test $wxUSE_TIPWINDOW = yes; then
14067 result=$wxUSE_TIPWINDOW
14070 { echo "$as_me:$LINENO: result: $result" >&5
14071 echo "${ECHO_T}$result" >&6; }
14075 defaultval=$wxUSE_ALL_FEATURES
14076 if test -z "$defaultval"; then
14077 if test x"$enablestring" = xdisable; then
14084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14085 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14086 # Check whether --enable-popupwin was given.
14087 if test "${enable_popupwin+set}" = set; then
14088 enableval=$enable_popupwin;
14089 if test "$enableval" = yes; then
14090 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14092 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14098 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14099 if test "x$LINE" != x ; then
14100 eval "DEFAULT_$LINE"
14106 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14111 eval "$wx_cv_use_popupwin"
14112 if test "x$cache" = xyes; then
14113 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14116 if test x"$enablestring" = xdisable; then
14117 if test $wxUSE_POPUPWIN = yes; then
14123 result=$wxUSE_POPUPWIN
14126 { echo "$as_me:$LINENO: result: $result" >&5
14127 echo "${ECHO_T}$result" >&6; }
14133 defaultval=$wxUSE_ALL_FEATURES
14134 if test -z "$defaultval"; then
14135 if test x"$enablestring" = xdisable; then
14142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14143 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14144 # Check whether --enable-commondlg was given.
14145 if test "${enable_commondlg+set}" = set; then
14146 enableval=$enable_commondlg;
14147 if test "$enableval" = yes; then
14148 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14150 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14156 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14157 if test "x$LINE" != x ; then
14158 eval "DEFAULT_$LINE"
14164 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14169 eval "$wx_cv_use_commondlg"
14170 if test "x$cache" = xyes; then
14171 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14174 if test x"$enablestring" = xdisable; then
14175 if test $wxUSE_COMMONDLGS = yes; then
14181 result=$wxUSE_COMMONDLGS
14184 { echo "$as_me:$LINENO: result: $result" >&5
14185 echo "${ECHO_T}$result" >&6; }
14189 defaultval=$wxUSE_ALL_FEATURES
14190 if test -z "$defaultval"; then
14191 if test x"$enablestring" = xdisable; then
14198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14199 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14200 # Check whether --enable-aboutdlg was given.
14201 if test "${enable_aboutdlg+set}" = set; then
14202 enableval=$enable_aboutdlg;
14203 if test "$enableval" = yes; then
14204 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14206 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14212 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14213 if test "x$LINE" != x ; then
14214 eval "DEFAULT_$LINE"
14220 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14225 eval "$wx_cv_use_aboutdlg"
14226 if test "x$cache" = xyes; then
14227 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14230 if test x"$enablestring" = xdisable; then
14231 if test $wxUSE_ABOUTDLG = yes; then
14237 result=$wxUSE_ABOUTDLG
14240 { echo "$as_me:$LINENO: result: $result" >&5
14241 echo "${ECHO_T}$result" >&6; }
14245 defaultval=$wxUSE_ALL_FEATURES
14246 if test -z "$defaultval"; then
14247 if test x"$enablestring" = xdisable; then
14254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14255 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14256 # Check whether --enable-choicedlg was given.
14257 if test "${enable_choicedlg+set}" = set; then
14258 enableval=$enable_choicedlg;
14259 if test "$enableval" = yes; then
14260 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14262 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14268 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14269 if test "x$LINE" != x ; then
14270 eval "DEFAULT_$LINE"
14276 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14281 eval "$wx_cv_use_choicedlg"
14282 if test "x$cache" = xyes; then
14283 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14286 if test x"$enablestring" = xdisable; then
14287 if test $wxUSE_CHOICEDLG = yes; then
14293 result=$wxUSE_CHOICEDLG
14296 { echo "$as_me:$LINENO: result: $result" >&5
14297 echo "${ECHO_T}$result" >&6; }
14301 defaultval=$wxUSE_ALL_FEATURES
14302 if test -z "$defaultval"; then
14303 if test x"$enablestring" = xdisable; then
14310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14311 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14312 # Check whether --enable-coldlg was given.
14313 if test "${enable_coldlg+set}" = set; then
14314 enableval=$enable_coldlg;
14315 if test "$enableval" = yes; then
14316 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14318 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14324 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14325 if test "x$LINE" != x ; then
14326 eval "DEFAULT_$LINE"
14332 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14337 eval "$wx_cv_use_coldlg"
14338 if test "x$cache" = xyes; then
14339 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14342 if test x"$enablestring" = xdisable; then
14343 if test $wxUSE_COLOURDLG = yes; then
14349 result=$wxUSE_COLOURDLG
14352 { echo "$as_me:$LINENO: result: $result" >&5
14353 echo "${ECHO_T}$result" >&6; }
14357 defaultval=$wxUSE_ALL_FEATURES
14358 if test -z "$defaultval"; then
14359 if test x"$enablestring" = xdisable; then
14366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14367 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14368 # Check whether --enable-filedlg was given.
14369 if test "${enable_filedlg+set}" = set; then
14370 enableval=$enable_filedlg;
14371 if test "$enableval" = yes; then
14372 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14374 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14380 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14381 if test "x$LINE" != x ; then
14382 eval "DEFAULT_$LINE"
14388 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14393 eval "$wx_cv_use_filedlg"
14394 if test "x$cache" = xyes; then
14395 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14398 if test x"$enablestring" = xdisable; then
14399 if test $wxUSE_FILEDLG = yes; then
14405 result=$wxUSE_FILEDLG
14408 { echo "$as_me:$LINENO: result: $result" >&5
14409 echo "${ECHO_T}$result" >&6; }
14413 defaultval=$wxUSE_ALL_FEATURES
14414 if test -z "$defaultval"; then
14415 if test x"$enablestring" = xdisable; then
14422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14423 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14424 # Check whether --enable-finddlg was given.
14425 if test "${enable_finddlg+set}" = set; then
14426 enableval=$enable_finddlg;
14427 if test "$enableval" = yes; then
14428 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14430 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14436 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14437 if test "x$LINE" != x ; then
14438 eval "DEFAULT_$LINE"
14444 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14449 eval "$wx_cv_use_finddlg"
14450 if test "x$cache" = xyes; then
14451 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14454 if test x"$enablestring" = xdisable; then
14455 if test $wxUSE_FINDREPLDLG = yes; then
14461 result=$wxUSE_FINDREPLDLG
14464 { echo "$as_me:$LINENO: result: $result" >&5
14465 echo "${ECHO_T}$result" >&6; }
14469 defaultval=$wxUSE_ALL_FEATURES
14470 if test -z "$defaultval"; then
14471 if test x"$enablestring" = xdisable; then
14478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14479 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14480 # Check whether --enable-fontdlg was given.
14481 if test "${enable_fontdlg+set}" = set; then
14482 enableval=$enable_fontdlg;
14483 if test "$enableval" = yes; then
14484 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14486 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14492 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14493 if test "x$LINE" != x ; then
14494 eval "DEFAULT_$LINE"
14500 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14505 eval "$wx_cv_use_fontdlg"
14506 if test "x$cache" = xyes; then
14507 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14510 if test x"$enablestring" = xdisable; then
14511 if test $wxUSE_FONTDLG = yes; then
14517 result=$wxUSE_FONTDLG
14520 { echo "$as_me:$LINENO: result: $result" >&5
14521 echo "${ECHO_T}$result" >&6; }
14525 defaultval=$wxUSE_ALL_FEATURES
14526 if test -z "$defaultval"; then
14527 if test x"$enablestring" = xdisable; then
14534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14535 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14536 # Check whether --enable-dirdlg was given.
14537 if test "${enable_dirdlg+set}" = set; then
14538 enableval=$enable_dirdlg;
14539 if test "$enableval" = yes; then
14540 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14542 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14548 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14549 if test "x$LINE" != x ; then
14550 eval "DEFAULT_$LINE"
14556 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14561 eval "$wx_cv_use_dirdlg"
14562 if test "x$cache" = xyes; then
14563 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14566 if test x"$enablestring" = xdisable; then
14567 if test $wxUSE_DIRDLG = yes; then
14573 result=$wxUSE_DIRDLG
14576 { echo "$as_me:$LINENO: result: $result" >&5
14577 echo "${ECHO_T}$result" >&6; }
14581 defaultval=$wxUSE_ALL_FEATURES
14582 if test -z "$defaultval"; then
14583 if test x"$enablestring" = xdisable; then
14590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14591 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14592 # Check whether --enable-msgdlg was given.
14593 if test "${enable_msgdlg+set}" = set; then
14594 enableval=$enable_msgdlg;
14595 if test "$enableval" = yes; then
14596 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14598 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14604 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14605 if test "x$LINE" != x ; then
14606 eval "DEFAULT_$LINE"
14612 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14617 eval "$wx_cv_use_msgdlg"
14618 if test "x$cache" = xyes; then
14619 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14622 if test x"$enablestring" = xdisable; then
14623 if test $wxUSE_MSGDLG = yes; then
14629 result=$wxUSE_MSGDLG
14632 { echo "$as_me:$LINENO: result: $result" >&5
14633 echo "${ECHO_T}$result" >&6; }
14637 defaultval=$wxUSE_ALL_FEATURES
14638 if test -z "$defaultval"; then
14639 if test x"$enablestring" = xdisable; then
14646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14647 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14648 # Check whether --enable-numberdlg was given.
14649 if test "${enable_numberdlg+set}" = set; then
14650 enableval=$enable_numberdlg;
14651 if test "$enableval" = yes; then
14652 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14654 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14660 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14661 if test "x$LINE" != x ; then
14662 eval "DEFAULT_$LINE"
14668 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14673 eval "$wx_cv_use_numberdlg"
14674 if test "x$cache" = xyes; then
14675 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14678 if test x"$enablestring" = xdisable; then
14679 if test $wxUSE_NUMBERDLG = yes; then
14685 result=$wxUSE_NUMBERDLG
14688 { echo "$as_me:$LINENO: result: $result" >&5
14689 echo "${ECHO_T}$result" >&6; }
14693 defaultval=$wxUSE_ALL_FEATURES
14694 if test -z "$defaultval"; then
14695 if test x"$enablestring" = xdisable; then
14702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14703 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14704 # Check whether --enable-splash was given.
14705 if test "${enable_splash+set}" = set; then
14706 enableval=$enable_splash;
14707 if test "$enableval" = yes; then
14708 wx_cv_use_splash='wxUSE_SPLASH=yes'
14710 wx_cv_use_splash='wxUSE_SPLASH=no'
14716 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14717 if test "x$LINE" != x ; then
14718 eval "DEFAULT_$LINE"
14724 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14729 eval "$wx_cv_use_splash"
14730 if test "x$cache" = xyes; then
14731 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14734 if test x"$enablestring" = xdisable; then
14735 if test $wxUSE_SPLASH = yes; then
14741 result=$wxUSE_SPLASH
14744 { echo "$as_me:$LINENO: result: $result" >&5
14745 echo "${ECHO_T}$result" >&6; }
14749 defaultval=$wxUSE_ALL_FEATURES
14750 if test -z "$defaultval"; then
14751 if test x"$enablestring" = xdisable; then
14758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14759 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14760 # Check whether --enable-textdlg was given.
14761 if test "${enable_textdlg+set}" = set; then
14762 enableval=$enable_textdlg;
14763 if test "$enableval" = yes; then
14764 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14766 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14772 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14773 if test "x$LINE" != x ; then
14774 eval "DEFAULT_$LINE"
14780 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14785 eval "$wx_cv_use_textdlg"
14786 if test "x$cache" = xyes; then
14787 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14790 if test x"$enablestring" = xdisable; then
14791 if test $wxUSE_TEXTDLG = yes; then
14797 result=$wxUSE_TEXTDLG
14800 { echo "$as_me:$LINENO: result: $result" >&5
14801 echo "${ECHO_T}$result" >&6; }
14805 defaultval=$wxUSE_ALL_FEATURES
14806 if test -z "$defaultval"; then
14807 if test x"$enablestring" = xdisable; then
14814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14815 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14816 # Check whether --enable-tipdlg was given.
14817 if test "${enable_tipdlg+set}" = set; then
14818 enableval=$enable_tipdlg;
14819 if test "$enableval" = yes; then
14820 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14822 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14828 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14829 if test "x$LINE" != x ; then
14830 eval "DEFAULT_$LINE"
14836 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14841 eval "$wx_cv_use_tipdlg"
14842 if test "x$cache" = xyes; then
14843 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14846 if test x"$enablestring" = xdisable; then
14847 if test $wxUSE_STARTUP_TIPS = yes; then
14853 result=$wxUSE_STARTUP_TIPS
14856 { echo "$as_me:$LINENO: result: $result" >&5
14857 echo "${ECHO_T}$result" >&6; }
14861 defaultval=$wxUSE_ALL_FEATURES
14862 if test -z "$defaultval"; then
14863 if test x"$enablestring" = xdisable; then
14870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14871 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14872 # Check whether --enable-progressdlg was given.
14873 if test "${enable_progressdlg+set}" = set; then
14874 enableval=$enable_progressdlg;
14875 if test "$enableval" = yes; then
14876 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14878 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14884 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14885 if test "x$LINE" != x ; then
14886 eval "DEFAULT_$LINE"
14892 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14897 eval "$wx_cv_use_progressdlg"
14898 if test "x$cache" = xyes; then
14899 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14902 if test x"$enablestring" = xdisable; then
14903 if test $wxUSE_PROGRESSDLG = yes; then
14909 result=$wxUSE_PROGRESSDLG
14912 { echo "$as_me:$LINENO: result: $result" >&5
14913 echo "${ECHO_T}$result" >&6; }
14917 defaultval=$wxUSE_ALL_FEATURES
14918 if test -z "$defaultval"; then
14919 if test x"$enablestring" = xdisable; then
14926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14927 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14928 # Check whether --enable-wizarddlg was given.
14929 if test "${enable_wizarddlg+set}" = set; then
14930 enableval=$enable_wizarddlg;
14931 if test "$enableval" = yes; then
14932 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14934 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14940 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14941 if test "x$LINE" != x ; then
14942 eval "DEFAULT_$LINE"
14948 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14953 eval "$wx_cv_use_wizarddlg"
14954 if test "x$cache" = xyes; then
14955 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14958 if test x"$enablestring" = xdisable; then
14959 if test $wxUSE_WIZARDDLG = yes; then
14965 result=$wxUSE_WIZARDDLG
14968 { echo "$as_me:$LINENO: result: $result" >&5
14969 echo "${ECHO_T}$result" >&6; }
14975 defaultval=$wxUSE_ALL_FEATURES
14976 if test -z "$defaultval"; then
14977 if test x"$enablestring" = xdisable; then
14984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14985 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14986 # Check whether --enable-menus was given.
14987 if test "${enable_menus+set}" = set; then
14988 enableval=$enable_menus;
14989 if test "$enableval" = yes; then
14990 wx_cv_use_menus='wxUSE_MENUS=yes'
14992 wx_cv_use_menus='wxUSE_MENUS=no'
14998 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14999 if test "x$LINE" != x ; then
15000 eval "DEFAULT_$LINE"
15006 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15011 eval "$wx_cv_use_menus"
15012 if test "x$cache" = xyes; then
15013 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15016 if test x"$enablestring" = xdisable; then
15017 if test $wxUSE_MENUS = yes; then
15023 result=$wxUSE_MENUS
15026 { echo "$as_me:$LINENO: result: $result" >&5
15027 echo "${ECHO_T}$result" >&6; }
15031 defaultval=$wxUSE_ALL_FEATURES
15032 if test -z "$defaultval"; then
15033 if test x"$enablestring" = xdisable; then
15040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15041 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15042 # Check whether --enable-miniframe was given.
15043 if test "${enable_miniframe+set}" = set; then
15044 enableval=$enable_miniframe;
15045 if test "$enableval" = yes; then
15046 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15048 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15054 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15055 if test "x$LINE" != x ; then
15056 eval "DEFAULT_$LINE"
15062 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15067 eval "$wx_cv_use_miniframe"
15068 if test "x$cache" = xyes; then
15069 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15072 if test x"$enablestring" = xdisable; then
15073 if test $wxUSE_MINIFRAME = yes; then
15079 result=$wxUSE_MINIFRAME
15082 { echo "$as_me:$LINENO: result: $result" >&5
15083 echo "${ECHO_T}$result" >&6; }
15087 defaultval=$wxUSE_ALL_FEATURES
15088 if test -z "$defaultval"; then
15089 if test x"$enablestring" = xdisable; then
15096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15097 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15098 # Check whether --enable-tooltips was given.
15099 if test "${enable_tooltips+set}" = set; then
15100 enableval=$enable_tooltips;
15101 if test "$enableval" = yes; then
15102 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15104 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15110 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15111 if test "x$LINE" != x ; then
15112 eval "DEFAULT_$LINE"
15118 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15123 eval "$wx_cv_use_tooltips"
15124 if test "x$cache" = xyes; then
15125 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15128 if test x"$enablestring" = xdisable; then
15129 if test $wxUSE_TOOLTIPS = yes; then
15135 result=$wxUSE_TOOLTIPS
15138 { echo "$as_me:$LINENO: result: $result" >&5
15139 echo "${ECHO_T}$result" >&6; }
15143 defaultval=$wxUSE_ALL_FEATURES
15144 if test -z "$defaultval"; then
15145 if test x"$enablestring" = xdisable; then
15152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15153 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15154 # Check whether --enable-splines was given.
15155 if test "${enable_splines+set}" = set; then
15156 enableval=$enable_splines;
15157 if test "$enableval" = yes; then
15158 wx_cv_use_splines='wxUSE_SPLINES=yes'
15160 wx_cv_use_splines='wxUSE_SPLINES=no'
15166 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15167 if test "x$LINE" != x ; then
15168 eval "DEFAULT_$LINE"
15174 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15179 eval "$wx_cv_use_splines"
15180 if test "x$cache" = xyes; then
15181 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15184 if test x"$enablestring" = xdisable; then
15185 if test $wxUSE_SPLINES = yes; then
15191 result=$wxUSE_SPLINES
15194 { echo "$as_me:$LINENO: result: $result" >&5
15195 echo "${ECHO_T}$result" >&6; }
15199 defaultval=$wxUSE_ALL_FEATURES
15200 if test -z "$defaultval"; then
15201 if test x"$enablestring" = xdisable; then
15208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15209 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15210 # Check whether --enable-mousewheel was given.
15211 if test "${enable_mousewheel+set}" = set; then
15212 enableval=$enable_mousewheel;
15213 if test "$enableval" = yes; then
15214 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15216 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15222 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15223 if test "x$LINE" != x ; then
15224 eval "DEFAULT_$LINE"
15230 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15235 eval "$wx_cv_use_mousewheel"
15236 if test "x$cache" = xyes; then
15237 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15240 if test x"$enablestring" = xdisable; then
15241 if test $wxUSE_MOUSEWHEEL = yes; then
15247 result=$wxUSE_MOUSEWHEEL
15250 { echo "$as_me:$LINENO: result: $result" >&5
15251 echo "${ECHO_T}$result" >&6; }
15255 defaultval=$wxUSE_ALL_FEATURES
15256 if test -z "$defaultval"; then
15257 if test x"$enablestring" = xdisable; then
15264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15265 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15266 # Check whether --enable-validators was given.
15267 if test "${enable_validators+set}" = set; then
15268 enableval=$enable_validators;
15269 if test "$enableval" = yes; then
15270 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15272 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15278 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15279 if test "x$LINE" != x ; then
15280 eval "DEFAULT_$LINE"
15286 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15291 eval "$wx_cv_use_validators"
15292 if test "x$cache" = xyes; then
15293 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15296 if test x"$enablestring" = xdisable; then
15297 if test $wxUSE_VALIDATORS = yes; then
15303 result=$wxUSE_VALIDATORS
15306 { echo "$as_me:$LINENO: result: $result" >&5
15307 echo "${ECHO_T}$result" >&6; }
15311 defaultval=$wxUSE_ALL_FEATURES
15312 if test -z "$defaultval"; then
15313 if test x"$enablestring" = xdisable; then
15320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15321 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15322 # Check whether --enable-busyinfo was given.
15323 if test "${enable_busyinfo+set}" = set; then
15324 enableval=$enable_busyinfo;
15325 if test "$enableval" = yes; then
15326 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15328 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15334 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15335 if test "x$LINE" != x ; then
15336 eval "DEFAULT_$LINE"
15342 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15347 eval "$wx_cv_use_busyinfo"
15348 if test "x$cache" = xyes; then
15349 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15352 if test x"$enablestring" = xdisable; then
15353 if test $wxUSE_BUSYINFO = yes; then
15359 result=$wxUSE_BUSYINFO
15362 { echo "$as_me:$LINENO: result: $result" >&5
15363 echo "${ECHO_T}$result" >&6; }
15367 defaultval=$wxUSE_ALL_FEATURES
15368 if test -z "$defaultval"; then
15369 if test x"$enablestring" = xdisable; then
15376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15377 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15378 # Check whether --enable-joystick was given.
15379 if test "${enable_joystick+set}" = set; then
15380 enableval=$enable_joystick;
15381 if test "$enableval" = yes; then
15382 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15384 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15390 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15391 if test "x$LINE" != x ; then
15392 eval "DEFAULT_$LINE"
15398 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15403 eval "$wx_cv_use_joystick"
15404 if test "x$cache" = xyes; then
15405 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15408 if test x"$enablestring" = xdisable; then
15409 if test $wxUSE_JOYSTICK = yes; then
15415 result=$wxUSE_JOYSTICK
15418 { echo "$as_me:$LINENO: result: $result" >&5
15419 echo "${ECHO_T}$result" >&6; }
15423 defaultval=$wxUSE_ALL_FEATURES
15424 if test -z "$defaultval"; then
15425 if test x"$enablestring" = xdisable; then
15432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15433 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15434 # Check whether --enable-metafile was given.
15435 if test "${enable_metafile+set}" = set; then
15436 enableval=$enable_metafile;
15437 if test "$enableval" = yes; then
15438 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15440 wx_cv_use_metafile='wxUSE_METAFILE=no'
15446 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15447 if test "x$LINE" != x ; then
15448 eval "DEFAULT_$LINE"
15454 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15459 eval "$wx_cv_use_metafile"
15460 if test "x$cache" = xyes; then
15461 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15464 if test x"$enablestring" = xdisable; then
15465 if test $wxUSE_METAFILE = yes; then
15471 result=$wxUSE_METAFILE
15474 { echo "$as_me:$LINENO: result: $result" >&5
15475 echo "${ECHO_T}$result" >&6; }
15479 defaultval=$wxUSE_ALL_FEATURES
15480 if test -z "$defaultval"; then
15481 if test x"$enablestring" = xdisable; then
15488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15489 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15490 # Check whether --enable-dragimage was given.
15491 if test "${enable_dragimage+set}" = set; then
15492 enableval=$enable_dragimage;
15493 if test "$enableval" = yes; then
15494 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15496 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15502 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15503 if test "x$LINE" != x ; then
15504 eval "DEFAULT_$LINE"
15510 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15515 eval "$wx_cv_use_dragimage"
15516 if test "x$cache" = xyes; then
15517 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15520 if test x"$enablestring" = xdisable; then
15521 if test $wxUSE_DRAGIMAGE = yes; then
15527 result=$wxUSE_DRAGIMAGE
15530 { echo "$as_me:$LINENO: result: $result" >&5
15531 echo "${ECHO_T}$result" >&6; }
15535 defaultval=$wxUSE_ALL_FEATURES
15536 if test -z "$defaultval"; then
15537 if test x"$enablestring" = xdisable; then
15544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15545 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15546 # Check whether --enable-accessibility was given.
15547 if test "${enable_accessibility+set}" = set; then
15548 enableval=$enable_accessibility;
15549 if test "$enableval" = yes; then
15550 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15552 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15558 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15559 if test "x$LINE" != x ; then
15560 eval "DEFAULT_$LINE"
15566 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15571 eval "$wx_cv_use_accessibility"
15572 if test "x$cache" = xyes; then
15573 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15576 if test x"$enablestring" = xdisable; then
15577 if test $wxUSE_ACCESSIBILITY = yes; then
15583 result=$wxUSE_ACCESSIBILITY
15586 { echo "$as_me:$LINENO: result: $result" >&5
15587 echo "${ECHO_T}$result" >&6; }
15593 defaultval=$wxUSE_ALL_FEATURES
15594 if test -z "$defaultval"; then
15595 if test x"$enablestring" = xdisable; then
15602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15603 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15604 # Check whether --enable-palette was given.
15605 if test "${enable_palette+set}" = set; then
15606 enableval=$enable_palette;
15607 if test "$enableval" = yes; then
15608 wx_cv_use_palette='wxUSE_PALETTE=yes'
15610 wx_cv_use_palette='wxUSE_PALETTE=no'
15616 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15617 if test "x$LINE" != x ; then
15618 eval "DEFAULT_$LINE"
15624 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15629 eval "$wx_cv_use_palette"
15630 if test "x$cache" = xyes; then
15631 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15634 if test x"$enablestring" = xdisable; then
15635 if test $wxUSE_PALETTE = yes; then
15641 result=$wxUSE_PALETTE
15644 { echo "$as_me:$LINENO: result: $result" >&5
15645 echo "${ECHO_T}$result" >&6; }
15649 defaultval=$wxUSE_ALL_FEATURES
15650 if test -z "$defaultval"; then
15651 if test x"$enablestring" = xdisable; then
15658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15659 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15660 # Check whether --enable-image was given.
15661 if test "${enable_image+set}" = set; then
15662 enableval=$enable_image;
15663 if test "$enableval" = yes; then
15664 wx_cv_use_image='wxUSE_IMAGE=yes'
15666 wx_cv_use_image='wxUSE_IMAGE=no'
15672 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15673 if test "x$LINE" != x ; then
15674 eval "DEFAULT_$LINE"
15680 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15685 eval "$wx_cv_use_image"
15686 if test "x$cache" = xyes; then
15687 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15690 if test x"$enablestring" = xdisable; then
15691 if test $wxUSE_IMAGE = yes; then
15697 result=$wxUSE_IMAGE
15700 { echo "$as_me:$LINENO: result: $result" >&5
15701 echo "${ECHO_T}$result" >&6; }
15705 defaultval=$wxUSE_ALL_FEATURES
15706 if test -z "$defaultval"; then
15707 if test x"$enablestring" = xdisable; then
15714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15715 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15716 # Check whether --enable-gif was given.
15717 if test "${enable_gif+set}" = set; then
15718 enableval=$enable_gif;
15719 if test "$enableval" = yes; then
15720 wx_cv_use_gif='wxUSE_GIF=yes'
15722 wx_cv_use_gif='wxUSE_GIF=no'
15728 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15729 if test "x$LINE" != x ; then
15730 eval "DEFAULT_$LINE"
15736 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15741 eval "$wx_cv_use_gif"
15742 if test "x$cache" = xyes; then
15743 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15746 if test x"$enablestring" = xdisable; then
15747 if test $wxUSE_GIF = yes; then
15756 { echo "$as_me:$LINENO: result: $result" >&5
15757 echo "${ECHO_T}$result" >&6; }
15761 defaultval=$wxUSE_ALL_FEATURES
15762 if test -z "$defaultval"; then
15763 if test x"$enablestring" = xdisable; then
15770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15771 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15772 # Check whether --enable-pcx was given.
15773 if test "${enable_pcx+set}" = set; then
15774 enableval=$enable_pcx;
15775 if test "$enableval" = yes; then
15776 wx_cv_use_pcx='wxUSE_PCX=yes'
15778 wx_cv_use_pcx='wxUSE_PCX=no'
15784 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15785 if test "x$LINE" != x ; then
15786 eval "DEFAULT_$LINE"
15792 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15797 eval "$wx_cv_use_pcx"
15798 if test "x$cache" = xyes; then
15799 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15802 if test x"$enablestring" = xdisable; then
15803 if test $wxUSE_PCX = yes; then
15812 { echo "$as_me:$LINENO: result: $result" >&5
15813 echo "${ECHO_T}$result" >&6; }
15817 defaultval=$wxUSE_ALL_FEATURES
15818 if test -z "$defaultval"; then
15819 if test x"$enablestring" = xdisable; then
15826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15827 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15828 # Check whether --enable-tga was given.
15829 if test "${enable_tga+set}" = set; then
15830 enableval=$enable_tga;
15831 if test "$enableval" = yes; then
15832 wx_cv_use_tga='wxUSE_TGA=yes'
15834 wx_cv_use_tga='wxUSE_TGA=no'
15840 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15841 if test "x$LINE" != x ; then
15842 eval "DEFAULT_$LINE"
15848 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15853 eval "$wx_cv_use_tga"
15854 if test "x$cache" = xyes; then
15855 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15858 if test x"$enablestring" = xdisable; then
15859 if test $wxUSE_TGA = yes; then
15868 { echo "$as_me:$LINENO: result: $result" >&5
15869 echo "${ECHO_T}$result" >&6; }
15873 defaultval=$wxUSE_ALL_FEATURES
15874 if test -z "$defaultval"; then
15875 if test x"$enablestring" = xdisable; then
15882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15883 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15884 # Check whether --enable-iff was given.
15885 if test "${enable_iff+set}" = set; then
15886 enableval=$enable_iff;
15887 if test "$enableval" = yes; then
15888 wx_cv_use_iff='wxUSE_IFF=yes'
15890 wx_cv_use_iff='wxUSE_IFF=no'
15896 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15897 if test "x$LINE" != x ; then
15898 eval "DEFAULT_$LINE"
15904 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15909 eval "$wx_cv_use_iff"
15910 if test "x$cache" = xyes; then
15911 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15914 if test x"$enablestring" = xdisable; then
15915 if test $wxUSE_IFF = yes; then
15924 { echo "$as_me:$LINENO: result: $result" >&5
15925 echo "${ECHO_T}$result" >&6; }
15929 defaultval=$wxUSE_ALL_FEATURES
15930 if test -z "$defaultval"; then
15931 if test x"$enablestring" = xdisable; then
15938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15939 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15940 # Check whether --enable-pnm was given.
15941 if test "${enable_pnm+set}" = set; then
15942 enableval=$enable_pnm;
15943 if test "$enableval" = yes; then
15944 wx_cv_use_pnm='wxUSE_PNM=yes'
15946 wx_cv_use_pnm='wxUSE_PNM=no'
15952 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15953 if test "x$LINE" != x ; then
15954 eval "DEFAULT_$LINE"
15960 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15965 eval "$wx_cv_use_pnm"
15966 if test "x$cache" = xyes; then
15967 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15970 if test x"$enablestring" = xdisable; then
15971 if test $wxUSE_PNM = yes; then
15980 { echo "$as_me:$LINENO: result: $result" >&5
15981 echo "${ECHO_T}$result" >&6; }
15985 defaultval=$wxUSE_ALL_FEATURES
15986 if test -z "$defaultval"; then
15987 if test x"$enablestring" = xdisable; then
15994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15995 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15996 # Check whether --enable-xpm was given.
15997 if test "${enable_xpm+set}" = set; then
15998 enableval=$enable_xpm;
15999 if test "$enableval" = yes; then
16000 wx_cv_use_xpm='wxUSE_XPM=yes'
16002 wx_cv_use_xpm='wxUSE_XPM=no'
16008 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16009 if test "x$LINE" != x ; then
16010 eval "DEFAULT_$LINE"
16016 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16021 eval "$wx_cv_use_xpm"
16022 if test "x$cache" = xyes; then
16023 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16026 if test x"$enablestring" = xdisable; then
16027 if test $wxUSE_XPM = yes; then
16036 { echo "$as_me:$LINENO: result: $result" >&5
16037 echo "${ECHO_T}$result" >&6; }
16041 defaultval=$wxUSE_ALL_FEATURES
16042 if test -z "$defaultval"; then
16043 if test x"$enablestring" = xdisable; then
16050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16051 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16052 # Check whether --enable-ico_cur was given.
16053 if test "${enable_ico_cur+set}" = set; then
16054 enableval=$enable_ico_cur;
16055 if test "$enableval" = yes; then
16056 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16058 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16064 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16065 if test "x$LINE" != x ; then
16066 eval "DEFAULT_$LINE"
16072 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16077 eval "$wx_cv_use_ico_cur"
16078 if test "x$cache" = xyes; then
16079 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16082 if test x"$enablestring" = xdisable; then
16083 if test $wxUSE_ICO_CUR = yes; then
16089 result=$wxUSE_ICO_CUR
16092 { echo "$as_me:$LINENO: result: $result" >&5
16093 echo "${ECHO_T}$result" >&6; }
16099 defaultval=$wxUSE_ALL_FEATURES
16100 if test -z "$defaultval"; then
16101 if test x"$enablestring" = xdisable; then
16108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16109 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16110 # Check whether --enable-dccache was given.
16111 if test "${enable_dccache+set}" = set; then
16112 enableval=$enable_dccache;
16113 if test "$enableval" = yes; then
16114 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16116 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16122 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16123 if test "x$LINE" != x ; then
16124 eval "DEFAULT_$LINE"
16130 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16135 eval "$wx_cv_use_dccache"
16136 if test "x$cache" = xyes; then
16137 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16140 if test x"$enablestring" = xdisable; then
16141 if test $wxUSE_DC_CACHEING = yes; then
16147 result=$wxUSE_DC_CACHEING
16150 { echo "$as_me:$LINENO: result: $result" >&5
16151 echo "${ECHO_T}$result" >&6; }
16155 defaultval=$wxUSE_ALL_FEATURES
16156 if test -z "$defaultval"; then
16157 if test x"$enablestring" = xdisable; then
16164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16165 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16166 # Check whether --enable-ps-in-msw was given.
16167 if test "${enable_ps_in_msw+set}" = set; then
16168 enableval=$enable_ps_in_msw;
16169 if test "$enableval" = yes; then
16170 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16172 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16178 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16179 if test "x$LINE" != x ; then
16180 eval "DEFAULT_$LINE"
16186 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16191 eval "$wx_cv_use_ps_in_msw"
16192 if test "x$cache" = xyes; then
16193 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16196 if test x"$enablestring" = xdisable; then
16197 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16203 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16206 { echo "$as_me:$LINENO: result: $result" >&5
16207 echo "${ECHO_T}$result" >&6; }
16211 defaultval=$wxUSE_ALL_FEATURES
16212 if test -z "$defaultval"; then
16213 if test x"$enablestring" = xdisable; then
16220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16221 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16222 # Check whether --enable-ownerdrawn was given.
16223 if test "${enable_ownerdrawn+set}" = set; then
16224 enableval=$enable_ownerdrawn;
16225 if test "$enableval" = yes; then
16226 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16228 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16234 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16235 if test "x$LINE" != x ; then
16236 eval "DEFAULT_$LINE"
16242 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16247 eval "$wx_cv_use_ownerdrawn"
16248 if test "x$cache" = xyes; then
16249 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16252 if test x"$enablestring" = xdisable; then
16253 if test $wxUSE_OWNER_DRAWN = yes; then
16259 result=$wxUSE_OWNER_DRAWN
16262 { echo "$as_me:$LINENO: result: $result" >&5
16263 echo "${ECHO_T}$result" >&6; }
16267 defaultval=$wxUSE_ALL_FEATURES
16268 if test -z "$defaultval"; then
16269 if test x"$enablestring" = xdisable; then
16276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16277 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16278 # Check whether --enable-uxtheme was given.
16279 if test "${enable_uxtheme+set}" = set; then
16280 enableval=$enable_uxtheme;
16281 if test "$enableval" = yes; then
16282 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16284 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16290 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16291 if test "x$LINE" != x ; then
16292 eval "DEFAULT_$LINE"
16298 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16303 eval "$wx_cv_use_uxtheme"
16304 if test "x$cache" = xyes; then
16305 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16308 if test x"$enablestring" = xdisable; then
16309 if test $wxUSE_UXTHEME = yes; then
16315 result=$wxUSE_UXTHEME
16318 { echo "$as_me:$LINENO: result: $result" >&5
16319 echo "${ECHO_T}$result" >&6; }
16323 defaultval=$wxUSE_ALL_FEATURES
16324 if test -z "$defaultval"; then
16325 if test x"$enablestring" = xdisable; then
16332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16333 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16334 # Check whether --enable-wxdib was given.
16335 if test "${enable_wxdib+set}" = set; then
16336 enableval=$enable_wxdib;
16337 if test "$enableval" = yes; then
16338 wx_cv_use_wxdib='wxUSE_DIB=yes'
16340 wx_cv_use_wxdib='wxUSE_DIB=no'
16346 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16347 if test "x$LINE" != x ; then
16348 eval "DEFAULT_$LINE"
16354 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16359 eval "$wx_cv_use_wxdib"
16360 if test "x$cache" = xyes; then
16361 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16364 if test x"$enablestring" = xdisable; then
16365 if test $wxUSE_DIB = yes; then
16374 { echo "$as_me:$LINENO: result: $result" >&5
16375 echo "${ECHO_T}$result" >&6; }
16381 echo "saving argument cache $wx_arg_cache_file"
16382 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16386 { echo "$as_me:$LINENO: checking for toolkit" >&5
16387 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16389 # In Wine, we need to default to MSW, not GTK or MOTIF
16390 if test "$wxUSE_WINE" = "yes"; then
16391 DEFAULT_DEFAULT_wxUSE_GTK=0
16392 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16393 DEFAULT_DEFAULT_wxUSE_MSW=1
16396 CXX=${CXX:-wineg++}
16400 if test "$wxUSE_GUI" = "yes"; then
16402 if test "$USE_BEOS" = 1; then
16403 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16404 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16405 { (exit 1); exit 1; }; }
16408 if test "$TOOLKIT_GIVEN" = 1; then
16409 for toolkit in `echo $ALL_TOOLKITS`; do
16411 eval "value=\$${var}"
16412 if test "x$value" = "xno"; then
16414 elif test "x$value" != "x"; then
16418 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16419 eval "wx${toolkit}_VERSION=$value"
16423 for toolkit in `echo $ALL_TOOLKITS`; do
16424 if test "$has_toolkit_in_cache" != 1; then
16425 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16427 var=DEFAULT_wxUSE_$toolkit
16429 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16430 if test "x$version" != "x"; then
16431 eval "wx${toolkit}_VERSION=$version"
16434 eval "wxUSE_$toolkit=\$${var}"
16438 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16439 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16440 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16443 *-pc-os2_emx | *-pc-os2-emx )
16444 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16447 case "$NUM_TOOLKITS" in
16451 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16452 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16453 { (exit 1); exit 1; }; }
16456 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16457 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16458 { (exit 1); exit 1; }; }
16461 # to be removed when --disable-gtk2 isn't needed
16462 if test "x$wxUSE_GTK2" = "xyes"; then
16464 elif test "x$wxUSE_GTK2" = "xno"; then
16468 for toolkit in `echo $ALL_TOOLKITS`; do
16470 eval "value=\$${var}"
16471 if test "x$value" != x; then
16472 cache_var=CACHE_$toolkit
16473 eval "cache=\$${cache_var}"
16474 if test "$cache" = 1; then
16475 echo "$var=$value" >> ${wx_arg_cache_file}
16476 eval "version=\$wx${toolkit}_VERSION"
16477 if test "x$version" != "x"; then
16478 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16481 if test "$value" = 1; then
16482 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16483 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16484 echo "${ECHO_T}$toolkit_echo" >&6; }
16489 if test "x$host_alias" != "x"; then
16490 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16491 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16493 { echo "$as_me:$LINENO: result: base only" >&5
16494 echo "${ECHO_T}base only" >&6; }
16499 cat >confcache <<\_ACEOF
16500 # This file is a shell script that caches the results of configure
16501 # tests run on this system so they can be shared between configure
16502 # scripts and configure runs, see configure's option --config-cache.
16503 # It is not useful on other systems. If it contains results you don't
16504 # want to keep, you may remove or edit it.
16506 # config.status only pays attention to the cache file if you give it
16507 # the --recheck option to rerun configure.
16509 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16510 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16511 # following values.
16515 # The following way of writing the cache mishandles newlines in values,
16516 # but we know of no workaround that is simple, portable, and efficient.
16517 # So, we kill variables containing newlines.
16518 # Ultrix sh set writes to stderr and can't be redirected directly,
16519 # and sets the high bit in the cache file unless we assign to the vars.
16521 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16522 eval ac_val=\$$ac_var
16526 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16527 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16530 _ | IFS | as_nl) ;; #(
16531 *) $as_unset $ac_var ;;
16537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16538 *${as_nl}ac_space=\ *)
16539 # `set' does not quote correctly, so add quotes (double-quote
16540 # substitution turns \\\\ into \\, and sed turns \\ into \).
16543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16546 # `set' quotes correctly as required by POSIX, so do not add quotes.
16547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16560 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16561 if test -w "$cache_file"; then
16562 test "x$cache_file" != "x/dev/null" &&
16563 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16564 echo "$as_me: updating cache $cache_file" >&6;}
16565 cat confcache >$cache_file
16567 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16568 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16578 ac_cpp='$CPP $CPPFLAGS'
16579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16582 if test -n "$ac_tool_prefix"; then
16583 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16584 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16587 if test "${ac_cv_prog_CC+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 if test -n "$CC"; then
16591 ac_cv_prog_CC="$CC" # Let the user override the test.
16593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16594 for as_dir in $PATH
16597 test -z "$as_dir" && as_dir=.
16598 for ac_exec_ext in '' $ac_executable_extensions; do
16599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16600 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16611 if test -n "$CC"; then
16612 { echo "$as_me:$LINENO: result: $CC" >&5
16613 echo "${ECHO_T}$CC" >&6; }
16615 { echo "$as_me:$LINENO: result: no" >&5
16616 echo "${ECHO_T}no" >&6; }
16621 if test -z "$ac_cv_prog_CC"; then
16623 # Extract the first word of "gcc", so it can be a program name with args.
16624 set dummy gcc; ac_word=$2
16625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16630 if test -n "$ac_ct_CC"; then
16631 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16634 for as_dir in $PATH
16637 test -z "$as_dir" && as_dir=.
16638 for ac_exec_ext in '' $ac_executable_extensions; do
16639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16640 ac_cv_prog_ac_ct_CC="gcc"
16641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16651 if test -n "$ac_ct_CC"; then
16652 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16653 echo "${ECHO_T}$ac_ct_CC" >&6; }
16655 { echo "$as_me:$LINENO: result: no" >&5
16656 echo "${ECHO_T}no" >&6; }
16659 if test "x$ac_ct_CC" = x; then
16662 case $cross_compiling:$ac_tool_warned in
16664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16665 whose name does not start with the host triplet. If you think this
16666 configuration is useful to you, please write to autoconf@gnu.org." >&5
16667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16668 whose name does not start with the host triplet. If you think this
16669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16670 ac_tool_warned=yes ;;
16675 CC="$ac_cv_prog_CC"
16678 if test -z "$CC"; then
16679 if test -n "$ac_tool_prefix"; then
16680 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16681 set dummy ${ac_tool_prefix}cc; 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_CC+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 if test -n "$CC"; then
16688 ac_cv_prog_CC="$CC" # 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_CC="${ac_tool_prefix}cc"
16698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16708 if test -n "$CC"; then
16709 { echo "$as_me:$LINENO: result: $CC" >&5
16710 echo "${ECHO_T}$CC" >&6; }
16712 { echo "$as_me:$LINENO: result: no" >&5
16713 echo "${ECHO_T}no" >&6; }
16719 if test -z "$CC"; then
16720 # Extract the first word of "cc", so it can be a program name with args.
16721 set dummy cc; ac_word=$2
16722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16724 if test "${ac_cv_prog_CC+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 if test -n "$CC"; then
16728 ac_cv_prog_CC="$CC" # Let the user override the test.
16730 ac_prog_rejected=no
16731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16732 for as_dir in $PATH
16735 test -z "$as_dir" && as_dir=.
16736 for ac_exec_ext in '' $ac_executable_extensions; do
16737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16738 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16739 ac_prog_rejected=yes
16743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16750 if test $ac_prog_rejected = yes; then
16751 # We found a bogon in the path, so make sure we never use it.
16752 set dummy $ac_cv_prog_CC
16754 if test $# != 0; then
16755 # We chose a different compiler from the bogus one.
16756 # However, it has the same basename, so the bogon will be chosen
16757 # first if we set CC to just the basename; use the full file name.
16759 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16765 if test -n "$CC"; then
16766 { echo "$as_me:$LINENO: result: $CC" >&5
16767 echo "${ECHO_T}$CC" >&6; }
16769 { echo "$as_me:$LINENO: result: no" >&5
16770 echo "${ECHO_T}no" >&6; }
16775 if test -z "$CC"; then
16776 if test -n "$ac_tool_prefix"; then
16777 for ac_prog in cl.exe
16779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16780 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16783 if test "${ac_cv_prog_CC+set}" = set; then
16784 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 if test -n "$CC"; then
16787 ac_cv_prog_CC="$CC" # Let the user override the test.
16789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16790 for as_dir in $PATH
16793 test -z "$as_dir" && as_dir=.
16794 for ac_exec_ext in '' $ac_executable_extensions; do
16795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16796 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16807 if test -n "$CC"; then
16808 { echo "$as_me:$LINENO: result: $CC" >&5
16809 echo "${ECHO_T}$CC" >&6; }
16811 { echo "$as_me:$LINENO: result: no" >&5
16812 echo "${ECHO_T}no" >&6; }
16816 test -n "$CC" && break
16819 if test -z "$CC"; then
16821 for ac_prog in cl.exe
16823 # Extract the first word of "$ac_prog", so it can be a program name with args.
16824 set dummy $ac_prog; ac_word=$2
16825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 if test -n "$ac_ct_CC"; then
16831 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16834 for as_dir in $PATH
16837 test -z "$as_dir" && as_dir=.
16838 for ac_exec_ext in '' $ac_executable_extensions; do
16839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16840 ac_cv_prog_ac_ct_CC="$ac_prog"
16841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16851 if test -n "$ac_ct_CC"; then
16852 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16853 echo "${ECHO_T}$ac_ct_CC" >&6; }
16855 { echo "$as_me:$LINENO: result: no" >&5
16856 echo "${ECHO_T}no" >&6; }
16860 test -n "$ac_ct_CC" && break
16863 if test "x$ac_ct_CC" = x; then
16866 case $cross_compiling:$ac_tool_warned in
16868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16869 whose name does not start with the host triplet. If you think this
16870 configuration is useful to you, please write to autoconf@gnu.org." >&5
16871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16872 whose name does not start with the host triplet. If you think this
16873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16874 ac_tool_warned=yes ;;
16883 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16884 See \`config.log' for more details." >&5
16885 echo "$as_me: error: no acceptable C compiler found in \$PATH
16886 See \`config.log' for more details." >&2;}
16887 { (exit 1); exit 1; }; }
16889 # Provide some information about the compiler.
16890 echo "$as_me:$LINENO: checking for C compiler version" >&5
16891 ac_compiler=`set X $ac_compile; echo $2`
16892 { (ac_try="$ac_compiler --version >&5"
16893 case "(($ac_try" in
16894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16895 *) ac_try_echo=$ac_try;;
16897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16898 (eval "$ac_compiler --version >&5") 2>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); }
16902 { (ac_try="$ac_compiler -v >&5"
16903 case "(($ac_try" in
16904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16905 *) ac_try_echo=$ac_try;;
16907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16908 (eval "$ac_compiler -v >&5") 2>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }
16912 { (ac_try="$ac_compiler -V >&5"
16913 case "(($ac_try" in
16914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16915 *) ac_try_echo=$ac_try;;
16917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16918 (eval "$ac_compiler -V >&5") 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }
16923 cat >conftest.$ac_ext <<_ACEOF
16926 cat confdefs.h >>conftest.$ac_ext
16927 cat >>conftest.$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16938 ac_clean_files_save=$ac_clean_files
16939 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16940 # Try to create an executable without -o first, disregard a.out.
16941 # It will help us diagnose broken compilers, and finding out an intuition
16943 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16944 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16945 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16947 # List of possible output files, starting from the most likely.
16948 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16949 # only as a last resort. b.out is created by i960 compilers.
16950 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16952 # The IRIX 6 linker writes into existing files which may not be
16953 # executable, retaining their permissions. Remove them first so a
16954 # subsequent execution test works.
16956 for ac_file in $ac_files
16959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16960 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16965 if { (ac_try="$ac_link_default"
16966 case "(($ac_try" in
16967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16968 *) ac_try_echo=$ac_try;;
16970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16971 (eval "$ac_link_default") 2>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; then
16975 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16976 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16977 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16978 # so that the user can short-circuit this test for compilers unknown to
16980 for ac_file in $ac_files ''
16982 test -f "$ac_file" || continue
16984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16987 # We found the default executable, but exeext='' is most
16991 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16993 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16995 # We set ac_cv_exeext here because the later test for it is not
16996 # safe: cross compilers may not add the suffix if given an `-o'
16997 # argument, so we may need to know it at that point already.
16998 # Even if this section looks crufty: it has the advantage of
16999 # actually working.
17005 test "$ac_cv_exeext" = no && ac_cv_exeext=
17011 { echo "$as_me:$LINENO: result: $ac_file" >&5
17012 echo "${ECHO_T}$ac_file" >&6; }
17013 if test -z "$ac_file"; then
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.$ac_ext >&5
17017 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17018 See \`config.log' for more details." >&5
17019 echo "$as_me: error: C compiler cannot create executables
17020 See \`config.log' for more details." >&2;}
17021 { (exit 77); exit 77; }; }
17024 ac_exeext=$ac_cv_exeext
17026 # Check that the compiler produces executables we can run. If not, either
17027 # the compiler is broken, or we cross compile.
17028 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17029 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17030 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17031 # If not cross compiling, check that we can run a simple program.
17032 if test "$cross_compiling" != yes; then
17033 if { ac_try='./$ac_file'
17034 { (case "(($ac_try" in
17035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17036 *) ac_try_echo=$ac_try;;
17038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17039 (eval "$ac_try") 2>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); }; }; then
17045 if test "$cross_compiling" = maybe; then
17046 cross_compiling=yes
17048 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17049 If you meant to cross compile, use \`--host'.
17050 See \`config.log' for more details." >&5
17051 echo "$as_me: error: cannot run C compiled programs.
17052 If you meant to cross compile, use \`--host'.
17053 See \`config.log' for more details." >&2;}
17054 { (exit 1); exit 1; }; }
17058 { echo "$as_me:$LINENO: result: yes" >&5
17059 echo "${ECHO_T}yes" >&6; }
17061 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17062 ac_clean_files=$ac_clean_files_save
17063 # Check that the compiler produces executables we can run. If not, either
17064 # the compiler is broken, or we cross compile.
17065 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17066 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17067 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17068 echo "${ECHO_T}$cross_compiling" >&6; }
17070 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17071 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17072 if { (ac_try="$ac_link"
17073 case "(($ac_try" in
17074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17075 *) ac_try_echo=$ac_try;;
17077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17078 (eval "$ac_link") 2>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; then
17082 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17083 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17084 # work properly (i.e., refer to `conftest.exe'), while it won't with
17086 for ac_file in conftest.exe conftest conftest.*; do
17087 test -f "$ac_file" || continue
17089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17090 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17096 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17097 See \`config.log' for more details." >&5
17098 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17099 See \`config.log' for more details." >&2;}
17100 { (exit 1); exit 1; }; }
17103 rm -f conftest$ac_cv_exeext
17104 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17105 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17107 rm -f conftest.$ac_ext
17108 EXEEXT=$ac_cv_exeext
17110 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17111 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17112 if test "${ac_cv_objext+set}" = set; then
17113 echo $ECHO_N "(cached) $ECHO_C" >&6
17115 cat >conftest.$ac_ext <<_ACEOF
17118 cat confdefs.h >>conftest.$ac_ext
17119 cat >>conftest.$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17130 rm -f conftest.o conftest.obj
17131 if { (ac_try="$ac_compile"
17132 case "(($ac_try" in
17133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17134 *) ac_try_echo=$ac_try;;
17136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17137 (eval "$ac_compile") 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; then
17141 for ac_file in conftest.o conftest.obj conftest.*; do
17142 test -f "$ac_file" || continue;
17144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17145 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17153 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17154 See \`config.log' for more details." >&5
17155 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17156 See \`config.log' for more details." >&2;}
17157 { (exit 1); exit 1; }; }
17160 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17162 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17163 echo "${ECHO_T}$ac_cv_objext" >&6; }
17164 OBJEXT=$ac_cv_objext
17166 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17167 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17168 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17169 echo $ECHO_N "(cached) $ECHO_C" >&6
17171 cat >conftest.$ac_ext <<_ACEOF
17174 cat confdefs.h >>conftest.$ac_ext
17175 cat >>conftest.$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17189 rm -f conftest.$ac_objext
17190 if { (ac_try="$ac_compile"
17191 case "(($ac_try" in
17192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17193 *) ac_try_echo=$ac_try;;
17195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17196 (eval "$ac_compile") 2>conftest.er1
17198 grep -v '^ *+' conftest.er1 >conftest.err
17200 cat conftest.err >&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } && {
17203 test -z "$ac_c_werror_flag" ||
17204 test ! -s conftest.err
17205 } && test -s conftest.$ac_objext; then
17206 ac_compiler_gnu=yes
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17218 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17219 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17220 GCC=`test $ac_compiler_gnu = yes && echo yes`
17221 ac_test_CFLAGS=${CFLAGS+set}
17222 ac_save_CFLAGS=$CFLAGS
17223 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17224 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17225 if test "${ac_cv_prog_cc_g+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 ac_save_c_werror_flag=$ac_c_werror_flag
17229 ac_c_werror_flag=yes
17232 cat >conftest.$ac_ext <<_ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17247 rm -f conftest.$ac_objext
17248 if { (ac_try="$ac_compile"
17249 case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compile") 2>conftest.er1
17256 grep -v '^ *+' conftest.er1 >conftest.err
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } && {
17261 test -z "$ac_c_werror_flag" ||
17262 test ! -s conftest.err
17263 } && test -s conftest.$ac_objext; then
17264 ac_cv_prog_cc_g=yes
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17270 cat >conftest.$ac_ext <<_ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17285 rm -f conftest.$ac_objext
17286 if { (ac_try="$ac_compile"
17287 case "(($ac_try" in
17288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17289 *) ac_try_echo=$ac_try;;
17291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17292 (eval "$ac_compile") 2>conftest.er1
17294 grep -v '^ *+' conftest.er1 >conftest.err
17296 cat conftest.err >&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } && {
17299 test -z "$ac_c_werror_flag" ||
17300 test ! -s conftest.err
17301 } && test -s conftest.$ac_objext; then
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17307 ac_c_werror_flag=$ac_save_c_werror_flag
17309 cat >conftest.$ac_ext <<_ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17324 rm -f conftest.$ac_objext
17325 if { (ac_try="$ac_compile"
17326 case "(($ac_try" in
17327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17328 *) ac_try_echo=$ac_try;;
17330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17331 (eval "$ac_compile") 2>conftest.er1
17333 grep -v '^ *+' conftest.er1 >conftest.err
17335 cat conftest.err >&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); } && {
17338 test -z "$ac_c_werror_flag" ||
17339 test ! -s conftest.err
17340 } && test -s conftest.$ac_objext; then
17341 ac_cv_prog_cc_g=yes
17343 echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.$ac_ext >&5
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356 ac_c_werror_flag=$ac_save_c_werror_flag
17358 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17359 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17360 if test "$ac_test_CFLAGS" = set; then
17361 CFLAGS=$ac_save_CFLAGS
17362 elif test $ac_cv_prog_cc_g = yes; then
17363 if test "$GCC" = yes; then
17369 if test "$GCC" = yes; then
17375 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17376 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17377 if test "${ac_cv_prog_cc_c89+set}" = set; then
17378 echo $ECHO_N "(cached) $ECHO_C" >&6
17380 ac_cv_prog_cc_c89=no
17382 cat >conftest.$ac_ext <<_ACEOF
17385 cat confdefs.h >>conftest.$ac_ext
17386 cat >>conftest.$ac_ext <<_ACEOF
17387 /* end confdefs.h. */
17388 #include <stdarg.h>
17390 #include <sys/types.h>
17391 #include <sys/stat.h>
17392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17393 struct buf { int x; };
17394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17395 static char *e (p, i)
17401 static char *f (char * (*g) (char **, int), char **p, ...)
17406 s = g (p, va_arg (v,int));
17411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17412 function prototypes and stuff, but not '\xHH' hex character constants.
17413 These don't provoke an error unfortunately, instead are silently treated
17414 as 'x'. The following induces an error, until -std is added to get
17415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17416 array size at least. It's necessary to write '\x00'==0 to get something
17417 that's true only with -std. */
17418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17420 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17421 inside strings and character constants. */
17423 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17425 int test (int i, double x);
17426 struct s1 {int (*f) (int a);};
17427 struct s2 {int (*f) (double a);};
17428 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17434 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17439 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17440 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17442 CC="$ac_save_CC $ac_arg"
17443 rm -f conftest.$ac_objext
17444 if { (ac_try="$ac_compile"
17445 case "(($ac_try" in
17446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_compile") 2>conftest.er1
17452 grep -v '^ *+' conftest.er1 >conftest.err
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_c_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest.$ac_objext; then
17460 ac_cv_prog_cc_c89=$ac_arg
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17468 rm -f core conftest.err conftest.$ac_objext
17469 test "x$ac_cv_prog_cc_c89" != "xno" && break
17471 rm -f conftest.$ac_ext
17476 case "x$ac_cv_prog_cc_c89" in
17478 { echo "$as_me:$LINENO: result: none needed" >&5
17479 echo "${ECHO_T}none needed" >&6; } ;;
17481 { echo "$as_me:$LINENO: result: unsupported" >&5
17482 echo "${ECHO_T}unsupported" >&6; } ;;
17484 CC="$CC $ac_cv_prog_cc_c89"
17485 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17486 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17491 ac_cpp='$CPP $CPPFLAGS'
17492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17500 ac_cpp='$CPP $CPPFLAGS'
17501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17505 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17506 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17507 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17510 cat >conftest.$ac_ext <<_ACEOF
17513 cat confdefs.h >>conftest.$ac_ext
17514 cat >>conftest.$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17521 #ifndef __INTEL_COMPILER
17529 rm -f conftest.$ac_objext
17530 if { (ac_try="$ac_compile"
17531 case "(($ac_try" in
17532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17533 *) ac_try_echo=$ac_try;;
17535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17536 (eval "$ac_compile") 2>conftest.er1
17538 grep -v '^ *+' conftest.er1 >conftest.err
17540 cat conftest.err >&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } && {
17543 test -z "$ac_c_werror_flag" ||
17544 test ! -s conftest.err
17545 } && test -s conftest.$ac_objext; then
17546 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17548 echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.$ac_ext >&5
17551 bakefile_cv_c_compiler___INTEL_COMPILER=no
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17559 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17560 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17561 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17567 ac_cpp='$CPP $CPPFLAGS'
17568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17575 if test "x$GCC" != "xyes"; then
17576 if test "xCC" = "xC"; then
17577 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17578 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17579 if test "${bakefile_cv_c_exto+set}" = set; then
17580 echo $ECHO_N "(cached) $ECHO_C" >&6
17582 cat >conftest.$ac_ext <<_ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17597 rm -f conftest.$ac_objext conftest.$ac_ext.o
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; then
17603 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17605 conftest.$ac_ext.o)
17606 bakefile_cv_c_exto="-ext o"
17613 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17614 See \`config.log' for more details." >&5
17615 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17616 See \`config.log' for more details." >&2;}
17617 { (exit 1); exit 1; }; }
17621 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17624 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17625 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17626 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17627 if test "c" = "c"; then
17628 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17630 if test "c" = "cxx"; then
17631 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17635 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17636 unset ac_cv_prog_cc_g
17637 ac_test_CFLAGS=${CFLAGS+set}
17638 ac_save_CFLAGS=$CFLAGS
17639 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17640 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17641 if test "${ac_cv_prog_cc_g+set}" = set; then
17642 echo $ECHO_N "(cached) $ECHO_C" >&6
17644 ac_save_c_werror_flag=$ac_c_werror_flag
17645 ac_c_werror_flag=yes
17648 cat >conftest.$ac_ext <<_ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17663 rm -f conftest.$ac_objext
17664 if { (ac_try="$ac_compile"
17665 case "(($ac_try" in
17666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17667 *) ac_try_echo=$ac_try;;
17669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17670 (eval "$ac_compile") 2>conftest.er1
17672 grep -v '^ *+' conftest.er1 >conftest.err
17674 cat conftest.err >&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); } && {
17677 test -z "$ac_c_werror_flag" ||
17678 test ! -s conftest.err
17679 } && test -s conftest.$ac_objext; then
17680 ac_cv_prog_cc_g=yes
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17686 cat >conftest.$ac_ext <<_ACEOF
17689 cat confdefs.h >>conftest.$ac_ext
17690 cat >>conftest.$ac_ext <<_ACEOF
17691 /* end confdefs.h. */
17701 rm -f conftest.$ac_objext
17702 if { (ac_try="$ac_compile"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_compile") 2>conftest.er1
17710 grep -v '^ *+' conftest.er1 >conftest.err
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_c_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest.$ac_objext; then
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17723 ac_c_werror_flag=$ac_save_c_werror_flag
17725 cat >conftest.$ac_ext <<_ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17740 rm -f conftest.$ac_objext
17741 if { (ac_try="$ac_compile"
17742 case "(($ac_try" in
17743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17744 *) ac_try_echo=$ac_try;;
17746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17747 (eval "$ac_compile") 2>conftest.er1
17749 grep -v '^ *+' conftest.er1 >conftest.err
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } && {
17754 test -z "$ac_c_werror_flag" ||
17755 test ! -s conftest.err
17756 } && test -s conftest.$ac_objext; then
17757 ac_cv_prog_cc_g=yes
17759 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.$ac_ext >&5
17765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772 ac_c_werror_flag=$ac_save_c_werror_flag
17774 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17775 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17776 if test "$ac_test_CFLAGS" = set; then
17777 CFLAGS=$ac_save_CFLAGS
17778 elif test $ac_cv_prog_cc_g = yes; then
17779 if test "$GCC" = yes; then
17785 if test "$GCC" = yes; then
17799 ac_cpp='$CPP $CPPFLAGS'
17800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17804 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17805 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17806 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17807 echo $ECHO_N "(cached) $ECHO_C" >&6
17809 cat >conftest.$ac_ext <<_ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17828 rm -f conftest.$ac_objext
17829 if { (ac_try="$ac_compile"
17830 case "(($ac_try" in
17831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17832 *) ac_try_echo=$ac_try;;
17834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17835 (eval "$ac_compile") 2>conftest.er1
17837 grep -v '^ *+' conftest.er1 >conftest.err
17839 cat conftest.err >&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } && {
17842 test -z "$ac_c_werror_flag" ||
17843 test ! -s conftest.err
17844 } && test -s conftest.$ac_objext; then
17845 bakefile_cv_c_compiler___xlC__=yes
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.$ac_ext >&5
17850 bakefile_cv_c_compiler___xlC__=no
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17859 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17860 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17866 ac_cpp='$CPP $CPPFLAGS'
17867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17879 ac_cpp='$CPP $CPPFLAGS'
17880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17884 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17885 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17886 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17889 cat >conftest.$ac_ext <<_ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17908 rm -f conftest.$ac_objext
17909 if { (ac_try="$ac_compile"
17910 case "(($ac_try" in
17911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17912 *) ac_try_echo=$ac_try;;
17914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17915 (eval "$ac_compile") 2>conftest.er1
17917 grep -v '^ *+' conftest.er1 >conftest.err
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } && {
17922 test -z "$ac_c_werror_flag" ||
17923 test ! -s conftest.err
17924 } && test -s conftest.$ac_objext; then
17925 bakefile_cv_c_compiler___MWERKS__=yes
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.$ac_ext >&5
17930 bakefile_cv_c_compiler___MWERKS__=no
17934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17938 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17939 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17940 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17946 ac_cpp='$CPP $CPPFLAGS'
17947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17956 ac_cpp='$CPP $CPPFLAGS'
17957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17961 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17962 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17963 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17964 echo $ECHO_N "(cached) $ECHO_C" >&6
17966 cat >conftest.$ac_ext <<_ACEOF
17969 cat confdefs.h >>conftest.$ac_ext
17970 cat >>conftest.$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17985 rm -f conftest.$ac_objext
17986 if { (ac_try="$ac_compile"
17987 case "(($ac_try" in
17988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17989 *) ac_try_echo=$ac_try;;
17991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17992 (eval "$ac_compile") 2>conftest.er1
17994 grep -v '^ *+' conftest.er1 >conftest.err
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } && {
17999 test -z "$ac_c_werror_flag" ||
18000 test ! -s conftest.err
18001 } && test -s conftest.$ac_objext; then
18002 bakefile_cv_c_compiler___xlC__=yes
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18007 bakefile_cv_c_compiler___xlC__=no
18011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18015 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18016 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18017 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18023 ac_cpp='$CPP $CPPFLAGS'
18024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18036 ac_cpp='$CPP $CPPFLAGS'
18037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18041 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18042 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18043 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18044 echo $ECHO_N "(cached) $ECHO_C" >&6
18046 cat >conftest.$ac_ext <<_ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18057 #ifndef _SGI_COMPILER_VERSION
18065 rm -f conftest.$ac_objext
18066 if { (ac_try="$ac_compile"
18067 case "(($ac_try" in
18068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18069 *) ac_try_echo=$ac_try;;
18071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18072 (eval "$ac_compile") 2>conftest.er1
18074 grep -v '^ *+' conftest.er1 >conftest.err
18076 cat conftest.err >&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); } && {
18079 test -z "$ac_c_werror_flag" ||
18080 test ! -s conftest.err
18081 } && test -s conftest.$ac_objext; then
18082 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18084 echo "$as_me: failed program was:" >&5
18085 sed 's/^/| /' conftest.$ac_ext >&5
18087 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18095 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18096 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18097 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18103 ac_cpp='$CPP $CPPFLAGS'
18104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18116 ac_cpp='$CPP $CPPFLAGS'
18117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18121 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18122 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18123 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18126 cat >conftest.$ac_ext <<_ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18145 rm -f conftest.$ac_objext
18146 if { (ac_try="$ac_compile"
18147 case "(($ac_try" in
18148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18149 *) ac_try_echo=$ac_try;;
18151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18152 (eval "$ac_compile") 2>conftest.er1
18154 grep -v '^ *+' conftest.er1 >conftest.err
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && {
18159 test -z "$ac_c_werror_flag" ||
18160 test ! -s conftest.err
18161 } && test -s conftest.$ac_objext; then
18162 bakefile_cv_c_compiler___SUNPRO_C=yes
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18167 bakefile_cv_c_compiler___SUNPRO_C=no
18171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18175 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18176 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18177 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18183 ac_cpp='$CPP $CPPFLAGS'
18184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18196 ac_cpp='$CPP $CPPFLAGS'
18197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18201 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18202 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18203 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 cat >conftest.$ac_ext <<_ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18225 rm -f conftest.$ac_objext
18226 if { (ac_try="$ac_compile"
18227 case "(($ac_try" in
18228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18229 *) ac_try_echo=$ac_try;;
18231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18232 (eval "$ac_compile") 2>conftest.er1
18234 grep -v '^ *+' conftest.er1 >conftest.err
18236 cat conftest.err >&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } && {
18239 test -z "$ac_c_werror_flag" ||
18240 test ! -s conftest.err
18241 } && test -s conftest.$ac_objext; then
18242 bakefile_cv_c_compiler___HP_cc=yes
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18247 bakefile_cv_c_compiler___HP_cc=no
18251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18255 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18256 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18257 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18263 ac_cpp='$CPP $CPPFLAGS'
18264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18276 ac_cpp='$CPP $CPPFLAGS'
18277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18281 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18282 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18283 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18284 echo $ECHO_N "(cached) $ECHO_C" >&6
18286 cat >conftest.$ac_ext <<_ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18314 grep -v '^ *+' conftest.er1 >conftest.err
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_c_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 bakefile_cv_c_compiler___DECC=yes
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18327 bakefile_cv_c_compiler___DECC=no
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18336 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18337 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18343 ac_cpp='$CPP $CPPFLAGS'
18344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18356 ac_cpp='$CPP $CPPFLAGS'
18357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18361 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18362 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18363 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 cat >conftest.$ac_ext <<_ACEOF
18369 cat confdefs.h >>conftest.$ac_ext
18370 cat >>conftest.$ac_ext <<_ACEOF
18371 /* end confdefs.h. */
18385 rm -f conftest.$ac_objext
18386 if { (ac_try="$ac_compile"
18387 case "(($ac_try" in
18388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18389 *) ac_try_echo=$ac_try;;
18391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18392 (eval "$ac_compile") 2>conftest.er1
18394 grep -v '^ *+' conftest.er1 >conftest.err
18396 cat conftest.err >&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); } && {
18399 test -z "$ac_c_werror_flag" ||
18400 test ! -s conftest.err
18401 } && test -s conftest.$ac_objext; then
18402 bakefile_cv_c_compiler___SUNPRO_C=yes
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.$ac_ext >&5
18407 bakefile_cv_c_compiler___SUNPRO_C=no
18411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18415 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18416 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18417 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18423 ac_cpp='$CPP $CPPFLAGS'
18424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18437 ac_cpp='$CPP $CPPFLAGS'
18438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18441 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18442 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18443 # On Suns, sometimes $CPP names a directory.
18444 if test -n "$CPP" && test -d "$CPP"; then
18447 if test -z "$CPP"; then
18448 if test "${ac_cv_prog_CPP+set}" = set; then
18449 echo $ECHO_N "(cached) $ECHO_C" >&6
18451 # Double quotes because CPP needs to be expanded
18452 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18454 ac_preproc_ok=false
18455 for ac_c_preproc_warn_flag in '' yes
18457 # Use a header file that comes with gcc, so configuring glibc
18458 # with a fresh cross-compiler works.
18459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18460 # <limits.h> exists even on freestanding compilers.
18461 # On the NeXT, cc -E runs the code through the compiler's parser,
18462 # not just through cpp. "Syntax error" is here to catch this case.
18463 cat >conftest.$ac_ext <<_ACEOF
18466 cat confdefs.h >>conftest.$ac_ext
18467 cat >>conftest.$ac_ext <<_ACEOF
18468 /* end confdefs.h. */
18470 # include <limits.h>
18472 # include <assert.h>
18476 if { (ac_try="$ac_cpp conftest.$ac_ext"
18477 case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18484 grep -v '^ *+' conftest.er1 >conftest.err
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } >/dev/null && {
18489 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18490 test ! -s conftest.err
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18497 # Broken: fails on valid input.
18501 rm -f conftest.err conftest.$ac_ext
18503 # OK, works on sane cases. Now check whether nonexistent headers
18504 # can be detected and how.
18505 cat >conftest.$ac_ext <<_ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 #include <ac_nonexistent.h>
18513 if { (ac_try="$ac_cpp conftest.$ac_ext"
18514 case "(($ac_try" in
18515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18516 *) ac_try_echo=$ac_try;;
18518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18521 grep -v '^ *+' conftest.er1 >conftest.err
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } >/dev/null && {
18526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18527 test ! -s conftest.err
18529 # Broken: success on invalid input.
18532 echo "$as_me: failed program was:" >&5
18533 sed 's/^/| /' conftest.$ac_ext >&5
18535 # Passes both tests.
18540 rm -f conftest.err conftest.$ac_ext
18543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18544 rm -f conftest.err conftest.$ac_ext
18545 if $ac_preproc_ok; then
18550 ac_cv_prog_CPP=$CPP
18553 CPP=$ac_cv_prog_CPP
18555 ac_cv_prog_CPP=$CPP
18557 { echo "$as_me:$LINENO: result: $CPP" >&5
18558 echo "${ECHO_T}$CPP" >&6; }
18559 ac_preproc_ok=false
18560 for ac_c_preproc_warn_flag in '' yes
18562 # Use a header file that comes with gcc, so configuring glibc
18563 # with a fresh cross-compiler works.
18564 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18565 # <limits.h> exists even on freestanding compilers.
18566 # On the NeXT, cc -E runs the code through the compiler's parser,
18567 # not just through cpp. "Syntax error" is here to catch this case.
18568 cat >conftest.$ac_ext <<_ACEOF
18571 cat confdefs.h >>conftest.$ac_ext
18572 cat >>conftest.$ac_ext <<_ACEOF
18573 /* end confdefs.h. */
18575 # include <limits.h>
18577 # include <assert.h>
18581 if { (ac_try="$ac_cpp conftest.$ac_ext"
18582 case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18589 grep -v '^ *+' conftest.er1 >conftest.err
18591 cat conftest.err >&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); } >/dev/null && {
18594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18595 test ! -s conftest.err
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18602 # Broken: fails on valid input.
18606 rm -f conftest.err conftest.$ac_ext
18608 # OK, works on sane cases. Now check whether nonexistent headers
18609 # can be detected and how.
18610 cat >conftest.$ac_ext <<_ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #include <ac_nonexistent.h>
18618 if { (ac_try="$ac_cpp conftest.$ac_ext"
18619 case "(($ac_try" in
18620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18621 *) ac_try_echo=$ac_try;;
18623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18626 grep -v '^ *+' conftest.er1 >conftest.err
18628 cat conftest.err >&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } >/dev/null && {
18631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18632 test ! -s conftest.err
18634 # Broken: success on invalid input.
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18640 # Passes both tests.
18645 rm -f conftest.err conftest.$ac_ext
18648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18649 rm -f conftest.err conftest.$ac_ext
18650 if $ac_preproc_ok; then
18653 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18654 See \`config.log' for more details." >&5
18655 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18656 See \`config.log' for more details." >&2;}
18657 { (exit 1); exit 1; }; }
18661 ac_cpp='$CPP $CPPFLAGS'
18662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18667 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18668 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18669 if test "${ac_cv_path_GREP+set}" = set; then
18670 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 # Extract the first word of "grep ggrep" to use in msg output
18673 if test -z "$GREP"; then
18674 set dummy grep ggrep; ac_prog_name=$2
18675 if test "${ac_cv_path_GREP+set}" = set; then
18676 echo $ECHO_N "(cached) $ECHO_C" >&6
18678 ac_path_GREP_found=false
18679 # Loop through the user's path and test for each of PROGNAME-LIST
18680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18684 test -z "$as_dir" && as_dir=.
18685 for ac_prog in grep ggrep; do
18686 for ac_exec_ext in '' $ac_executable_extensions; do
18687 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18688 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18689 # Check for GNU ac_path_GREP and select it if it is found.
18690 # Check for GNU $ac_path_GREP
18691 case `"$ac_path_GREP" --version 2>&1` in
18693 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18696 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18699 cat "conftest.in" "conftest.in" >"conftest.tmp"
18700 mv "conftest.tmp" "conftest.in"
18701 cp "conftest.in" "conftest.nl"
18702 echo 'GREP' >> "conftest.nl"
18703 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18705 ac_count=`expr $ac_count + 1`
18706 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18707 # Best one so far, save it but keep looking for a better one
18708 ac_cv_path_GREP="$ac_path_GREP"
18709 ac_path_GREP_max=$ac_count
18711 # 10*(2^10) chars as input seems more than enough
18712 test $ac_count -gt 10 && break
18714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18718 $ac_path_GREP_found && break 3
18728 GREP="$ac_cv_path_GREP"
18729 if test -z "$GREP"; then
18730 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18731 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18732 { (exit 1); exit 1; }; }
18736 ac_cv_path_GREP=$GREP
18741 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18742 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18743 GREP="$ac_cv_path_GREP"
18746 { echo "$as_me:$LINENO: checking for egrep" >&5
18747 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18748 if test "${ac_cv_path_EGREP+set}" = set; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18751 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18752 then ac_cv_path_EGREP="$GREP -E"
18754 # Extract the first word of "egrep" to use in msg output
18755 if test -z "$EGREP"; then
18756 set dummy egrep; ac_prog_name=$2
18757 if test "${ac_cv_path_EGREP+set}" = set; then
18758 echo $ECHO_N "(cached) $ECHO_C" >&6
18760 ac_path_EGREP_found=false
18761 # Loop through the user's path and test for each of PROGNAME-LIST
18762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18763 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18766 test -z "$as_dir" && as_dir=.
18767 for ac_prog in egrep; do
18768 for ac_exec_ext in '' $ac_executable_extensions; do
18769 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18770 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18771 # Check for GNU ac_path_EGREP and select it if it is found.
18772 # Check for GNU $ac_path_EGREP
18773 case `"$ac_path_EGREP" --version 2>&1` in
18775 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18778 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18781 cat "conftest.in" "conftest.in" >"conftest.tmp"
18782 mv "conftest.tmp" "conftest.in"
18783 cp "conftest.in" "conftest.nl"
18784 echo 'EGREP' >> "conftest.nl"
18785 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18786 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18787 ac_count=`expr $ac_count + 1`
18788 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18789 # Best one so far, save it but keep looking for a better one
18790 ac_cv_path_EGREP="$ac_path_EGREP"
18791 ac_path_EGREP_max=$ac_count
18793 # 10*(2^10) chars as input seems more than enough
18794 test $ac_count -gt 10 && break
18796 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18800 $ac_path_EGREP_found && break 3
18810 EGREP="$ac_cv_path_EGREP"
18811 if test -z "$EGREP"; then
18812 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18813 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18814 { (exit 1); exit 1; }; }
18818 ac_cv_path_EGREP=$EGREP
18824 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18825 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18826 EGREP="$ac_cv_path_EGREP"
18829 if test $ac_cv_c_compiler_gnu = yes; then
18830 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18831 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18832 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18835 ac_pattern="Autoconf.*'x'"
18836 cat >conftest.$ac_ext <<_ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18846 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18847 ac_cv_prog_gcc_traditional=yes
18849 ac_cv_prog_gcc_traditional=no
18854 if test $ac_cv_prog_gcc_traditional = no; then
18855 cat >conftest.$ac_ext <<_ACEOF
18858 cat confdefs.h >>conftest.$ac_ext
18859 cat >>conftest.$ac_ext <<_ACEOF
18860 /* end confdefs.h. */
18861 #include <termio.h>
18864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18865 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18866 ac_cv_prog_gcc_traditional=yes
18872 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18873 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18874 if test $ac_cv_prog_gcc_traditional = yes; then
18875 CC="$CC -traditional"
18880 CXXFLAGS=${CXXFLAGS:=}
18885 ac_cpp='$CXXCPP $CPPFLAGS'
18886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18889 if test -z "$CXX"; then
18890 if test -n "$CCC"; then
18893 if test -n "$ac_tool_prefix"; then
18894 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18900 if test "${ac_cv_prog_CXX+set}" = set; then
18901 echo $ECHO_N "(cached) $ECHO_C" >&6
18903 if test -n "$CXX"; then
18904 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18907 for as_dir in $PATH
18910 test -z "$as_dir" && as_dir=.
18911 for ac_exec_ext in '' $ac_executable_extensions; do
18912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18913 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18923 CXX=$ac_cv_prog_CXX
18924 if test -n "$CXX"; then
18925 { echo "$as_me:$LINENO: result: $CXX" >&5
18926 echo "${ECHO_T}$CXX" >&6; }
18928 { echo "$as_me:$LINENO: result: no" >&5
18929 echo "${ECHO_T}no" >&6; }
18933 test -n "$CXX" && break
18936 if test -z "$CXX"; then
18938 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18940 # Extract the first word of "$ac_prog", so it can be a program name with args.
18941 set dummy $ac_prog; ac_word=$2
18942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18944 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18947 if test -n "$ac_ct_CXX"; then
18948 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18951 for as_dir in $PATH
18954 test -z "$as_dir" && as_dir=.
18955 for ac_exec_ext in '' $ac_executable_extensions; do
18956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18957 ac_cv_prog_ac_ct_CXX="$ac_prog"
18958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18967 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18968 if test -n "$ac_ct_CXX"; then
18969 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18970 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18972 { echo "$as_me:$LINENO: result: no" >&5
18973 echo "${ECHO_T}no" >&6; }
18977 test -n "$ac_ct_CXX" && break
18980 if test "x$ac_ct_CXX" = x; then
18983 case $cross_compiling:$ac_tool_warned in
18985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18986 whose name does not start with the host triplet. If you think this
18987 configuration is useful to you, please write to autoconf@gnu.org." >&5
18988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18989 whose name does not start with the host triplet. If you think this
18990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18991 ac_tool_warned=yes ;;
18999 # Provide some information about the compiler.
19000 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19001 ac_compiler=`set X $ac_compile; echo $2`
19002 { (ac_try="$ac_compiler --version >&5"
19003 case "(($ac_try" in
19004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19005 *) ac_try_echo=$ac_try;;
19007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19008 (eval "$ac_compiler --version >&5") 2>&5
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }
19012 { (ac_try="$ac_compiler -v >&5"
19013 case "(($ac_try" in
19014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19015 *) ac_try_echo=$ac_try;;
19017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19018 (eval "$ac_compiler -v >&5") 2>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }
19022 { (ac_try="$ac_compiler -V >&5"
19023 case "(($ac_try" in
19024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19025 *) ac_try_echo=$ac_try;;
19027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19028 (eval "$ac_compiler -V >&5") 2>&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); }
19033 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19034 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19035 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19036 echo $ECHO_N "(cached) $ECHO_C" >&6
19038 cat >conftest.$ac_ext <<_ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19056 rm -f conftest.$ac_objext
19057 if { (ac_try="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19065 grep -v '^ *+' conftest.er1 >conftest.err
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_cxx_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 ac_compiler_gnu=yes
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19082 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19085 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19086 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19087 GXX=`test $ac_compiler_gnu = yes && echo yes`
19088 ac_test_CXXFLAGS=${CXXFLAGS+set}
19089 ac_save_CXXFLAGS=$CXXFLAGS
19090 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19091 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19092 if test "${ac_cv_prog_cxx_g+set}" = set; then
19093 echo $ECHO_N "(cached) $ECHO_C" >&6
19095 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19096 ac_cxx_werror_flag=yes
19097 ac_cv_prog_cxx_g=no
19099 cat >conftest.$ac_ext <<_ACEOF
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19114 rm -f conftest.$ac_objext
19115 if { (ac_try="$ac_compile"
19116 case "(($ac_try" in
19117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19118 *) ac_try_echo=$ac_try;;
19120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19121 (eval "$ac_compile") 2>conftest.er1
19123 grep -v '^ *+' conftest.er1 >conftest.err
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } && {
19128 test -z "$ac_cxx_werror_flag" ||
19129 test ! -s conftest.err
19130 } && test -s conftest.$ac_objext; then
19131 ac_cv_prog_cxx_g=yes
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19137 cat >conftest.$ac_ext <<_ACEOF
19140 cat confdefs.h >>conftest.$ac_ext
19141 cat >>conftest.$ac_ext <<_ACEOF
19142 /* end confdefs.h. */
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19161 grep -v '^ *+' conftest.er1 >conftest.err
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_cxx_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.$ac_objext; then
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19174 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19176 cat >conftest.$ac_ext <<_ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19191 rm -f conftest.$ac_objext
19192 if { (ac_try="$ac_compile"
19193 case "(($ac_try" in
19194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19195 *) ac_try_echo=$ac_try;;
19197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19198 (eval "$ac_compile") 2>conftest.er1
19200 grep -v '^ *+' conftest.er1 >conftest.err
19202 cat conftest.err >&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } && {
19205 test -z "$ac_cxx_werror_flag" ||
19206 test ! -s conftest.err
19207 } && test -s conftest.$ac_objext; then
19208 ac_cv_prog_cxx_g=yes
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19225 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19226 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19227 if test "$ac_test_CXXFLAGS" = set; then
19228 CXXFLAGS=$ac_save_CXXFLAGS
19229 elif test $ac_cv_prog_cxx_g = yes; then
19230 if test "$GXX" = yes; then
19236 if test "$GXX" = yes; then
19243 ac_cpp='$CPP $CPPFLAGS'
19244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19252 ac_cpp='$CXXCPP $CPPFLAGS'
19253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19257 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19258 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19259 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19260 echo $ECHO_N "(cached) $ECHO_C" >&6
19262 cat >conftest.$ac_ext <<_ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19273 #ifndef __INTEL_COMPILER
19281 rm -f conftest.$ac_objext
19282 if { (ac_try="$ac_compile"
19283 case "(($ac_try" in
19284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19285 *) ac_try_echo=$ac_try;;
19287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19288 (eval "$ac_compile") 2>conftest.er1
19290 grep -v '^ *+' conftest.er1 >conftest.err
19292 cat conftest.err >&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); } && {
19295 test -z "$ac_cxx_werror_flag" ||
19296 test ! -s conftest.err
19297 } && test -s conftest.$ac_objext; then
19298 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19303 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19311 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19312 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19313 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19319 ac_cpp='$CPP $CPPFLAGS'
19320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19327 if test "x$GCXX" != "xyes"; then
19328 if test "xCXX" = "xC"; then
19329 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19330 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19331 if test "${bakefile_cv_c_exto+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 cat >conftest.$ac_ext <<_ACEOF
19337 cat confdefs.h >>conftest.$ac_ext
19338 cat >>conftest.$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19349 rm -f conftest.$ac_objext conftest.$ac_ext.o
19350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19351 (eval $ac_compile) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; then
19355 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19357 conftest.$ac_ext.o)
19358 bakefile_cv_c_exto="-ext o"
19365 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19366 See \`config.log' for more details." >&5
19367 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19368 See \`config.log' for more details." >&2;}
19369 { (exit 1); exit 1; }; }
19373 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19376 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19377 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19378 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19379 if test "c" = "c"; then
19380 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19382 if test "c" = "cxx"; then
19383 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19387 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19388 unset ac_cv_prog_cc_g
19389 ac_test_CFLAGS=${CFLAGS+set}
19390 ac_save_CFLAGS=$CFLAGS
19391 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19392 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19393 if test "${ac_cv_prog_cc_g+set}" = set; then
19394 echo $ECHO_N "(cached) $ECHO_C" >&6
19396 ac_save_c_werror_flag=$ac_c_werror_flag
19397 ac_c_werror_flag=yes
19400 cat >conftest.$ac_ext <<_ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19415 rm -f conftest.$ac_objext
19416 if { (ac_try="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19424 grep -v '^ *+' conftest.er1 >conftest.err
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.$ac_objext; then
19432 ac_cv_prog_cc_g=yes
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19438 cat >conftest.$ac_ext <<_ACEOF
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19453 rm -f conftest.$ac_objext
19454 if { (ac_try="$ac_compile"
19455 case "(($ac_try" in
19456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19457 *) ac_try_echo=$ac_try;;
19459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19460 (eval "$ac_compile") 2>conftest.er1
19462 grep -v '^ *+' conftest.er1 >conftest.err
19464 cat conftest.err >&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } && {
19467 test -z "$ac_c_werror_flag" ||
19468 test ! -s conftest.err
19469 } && test -s conftest.$ac_objext; then
19472 echo "$as_me: failed program was:" >&5
19473 sed 's/^/| /' conftest.$ac_ext >&5
19475 ac_c_werror_flag=$ac_save_c_werror_flag
19477 cat >conftest.$ac_ext <<_ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19492 rm -f conftest.$ac_objext
19493 if { (ac_try="$ac_compile"
19494 case "(($ac_try" in
19495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19496 *) ac_try_echo=$ac_try;;
19498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19499 (eval "$ac_compile") 2>conftest.er1
19501 grep -v '^ *+' conftest.er1 >conftest.err
19503 cat conftest.err >&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } && {
19506 test -z "$ac_c_werror_flag" ||
19507 test ! -s conftest.err
19508 } && test -s conftest.$ac_objext; then
19509 ac_cv_prog_cc_g=yes
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.$ac_ext >&5
19517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 ac_c_werror_flag=$ac_save_c_werror_flag
19526 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19527 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19528 if test "$ac_test_CFLAGS" = set; then
19529 CFLAGS=$ac_save_CFLAGS
19530 elif test $ac_cv_prog_cc_g = yes; then
19531 if test "$GCC" = yes; then
19537 if test "$GCC" = yes; then
19551 ac_cpp='$CXXCPP $CPPFLAGS'
19552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19556 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19557 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19558 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 cat >conftest.$ac_ext <<_ACEOF
19564 cat confdefs.h >>conftest.$ac_ext
19565 cat >>conftest.$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19580 rm -f conftest.$ac_objext
19581 if { (ac_try="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19584 *) ac_try_echo=$ac_try;;
19586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19587 (eval "$ac_compile") 2>conftest.er1
19589 grep -v '^ *+' conftest.er1 >conftest.err
19591 cat conftest.err >&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } && {
19594 test -z "$ac_cxx_werror_flag" ||
19595 test ! -s conftest.err
19596 } && test -s conftest.$ac_objext; then
19597 bakefile_cv_cxx_compiler___xlC__=yes
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19602 bakefile_cv_cxx_compiler___xlC__=no
19606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19610 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19611 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19612 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19618 ac_cpp='$CPP $CPPFLAGS'
19619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19631 ac_cpp='$CXXCPP $CPPFLAGS'
19632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19636 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19637 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19638 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19641 cat >conftest.$ac_ext <<_ACEOF
19644 cat confdefs.h >>conftest.$ac_ext
19645 cat >>conftest.$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19660 rm -f conftest.$ac_objext
19661 if { (ac_try="$ac_compile"
19662 case "(($ac_try" in
19663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19664 *) ac_try_echo=$ac_try;;
19666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19667 (eval "$ac_compile") 2>conftest.er1
19669 grep -v '^ *+' conftest.er1 >conftest.err
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && {
19674 test -z "$ac_cxx_werror_flag" ||
19675 test ! -s conftest.err
19676 } && test -s conftest.$ac_objext; then
19677 bakefile_cv_cxx_compiler___MWERKS__=yes
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19682 bakefile_cv_cxx_compiler___MWERKS__=no
19686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19690 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19691 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19692 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19698 ac_cpp='$CPP $CPPFLAGS'
19699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19708 ac_cpp='$CXXCPP $CPPFLAGS'
19709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19713 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19714 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19715 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 cat >conftest.$ac_ext <<_ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19737 rm -f conftest.$ac_objext
19738 if { (ac_try="$ac_compile"
19739 case "(($ac_try" in
19740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19741 *) ac_try_echo=$ac_try;;
19743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19744 (eval "$ac_compile") 2>conftest.er1
19746 grep -v '^ *+' conftest.er1 >conftest.err
19748 cat conftest.err >&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); } && {
19751 test -z "$ac_cxx_werror_flag" ||
19752 test ! -s conftest.err
19753 } && test -s conftest.$ac_objext; then
19754 bakefile_cv_cxx_compiler___xlC__=yes
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.$ac_ext >&5
19759 bakefile_cv_cxx_compiler___xlC__=no
19763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19767 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19768 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19769 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19775 ac_cpp='$CPP $CPPFLAGS'
19776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19788 ac_cpp='$CXXCPP $CPPFLAGS'
19789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19793 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19794 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19795 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 cat >conftest.$ac_ext <<_ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19809 #ifndef _SGI_COMPILER_VERSION
19817 rm -f conftest.$ac_objext
19818 if { (ac_try="$ac_compile"
19819 case "(($ac_try" in
19820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19821 *) ac_try_echo=$ac_try;;
19823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19824 (eval "$ac_compile") 2>conftest.er1
19826 grep -v '^ *+' conftest.er1 >conftest.err
19828 cat conftest.err >&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } && {
19831 test -z "$ac_cxx_werror_flag" ||
19832 test ! -s conftest.err
19833 } && test -s conftest.$ac_objext; then
19834 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19836 echo "$as_me: failed program was:" >&5
19837 sed 's/^/| /' conftest.$ac_ext >&5
19839 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19847 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19848 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19849 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19855 ac_cpp='$CPP $CPPFLAGS'
19856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19868 ac_cpp='$CXXCPP $CPPFLAGS'
19869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19873 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19874 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19875 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19876 echo $ECHO_N "(cached) $ECHO_C" >&6
19878 cat >conftest.$ac_ext <<_ACEOF
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19889 #ifndef __SUNPRO_CC
19897 rm -f conftest.$ac_objext
19898 if { (ac_try="$ac_compile"
19899 case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_compile") 2>conftest.er1
19906 grep -v '^ *+' conftest.er1 >conftest.err
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } && {
19911 test -z "$ac_cxx_werror_flag" ||
19912 test ! -s conftest.err
19913 } && test -s conftest.$ac_objext; then
19914 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19919 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19927 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19928 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19929 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19935 ac_cpp='$CPP $CPPFLAGS'
19936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19948 ac_cpp='$CXXCPP $CPPFLAGS'
19949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19953 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19954 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19955 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 cat >conftest.$ac_ext <<_ACEOF
19961 cat confdefs.h >>conftest.$ac_ext
19962 cat >>conftest.$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19977 rm -f conftest.$ac_objext
19978 if { (ac_try="$ac_compile"
19979 case "(($ac_try" in
19980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19981 *) ac_try_echo=$ac_try;;
19983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19984 (eval "$ac_compile") 2>conftest.er1
19986 grep -v '^ *+' conftest.er1 >conftest.err
19988 cat conftest.err >&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); } && {
19991 test -z "$ac_cxx_werror_flag" ||
19992 test ! -s conftest.err
19993 } && test -s conftest.$ac_objext; then
19994 bakefile_cv_cxx_compiler___HP_aCC=yes
19996 echo "$as_me: failed program was:" >&5
19997 sed 's/^/| /' conftest.$ac_ext >&5
19999 bakefile_cv_cxx_compiler___HP_aCC=no
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20007 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20008 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20009 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20015 ac_cpp='$CPP $CPPFLAGS'
20016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20028 ac_cpp='$CXXCPP $CPPFLAGS'
20029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20033 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20034 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20035 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20038 cat >conftest.$ac_ext <<_ACEOF
20041 cat confdefs.h >>conftest.$ac_ext
20042 cat >>conftest.$ac_ext <<_ACEOF
20043 /* end confdefs.h. */
20057 rm -f conftest.$ac_objext
20058 if { (ac_try="$ac_compile"
20059 case "(($ac_try" in
20060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20061 *) ac_try_echo=$ac_try;;
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_compile") 2>conftest.er1
20066 grep -v '^ *+' conftest.er1 >conftest.err
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } && {
20071 test -z "$ac_cxx_werror_flag" ||
20072 test ! -s conftest.err
20073 } && test -s conftest.$ac_objext; then
20074 bakefile_cv_cxx_compiler___DECCXX=yes
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20079 bakefile_cv_cxx_compiler___DECCXX=no
20083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20087 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20088 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20089 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20095 ac_cpp='$CPP $CPPFLAGS'
20096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20108 ac_cpp='$CXXCPP $CPPFLAGS'
20109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20113 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20114 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20115 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20116 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 cat >conftest.$ac_ext <<_ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20129 #ifndef __SUNPRO_CC
20137 rm -f conftest.$ac_objext
20138 if { (ac_try="$ac_compile"
20139 case "(($ac_try" in
20140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20141 *) ac_try_echo=$ac_try;;
20143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_compile") 2>conftest.er1
20146 grep -v '^ *+' conftest.er1 >conftest.err
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } && {
20151 test -z "$ac_cxx_werror_flag" ||
20152 test ! -s conftest.err
20153 } && test -s conftest.$ac_objext; then
20154 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20159 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20167 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20168 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20169 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20175 ac_cpp='$CPP $CPPFLAGS'
20176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20188 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20189 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20190 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20191 { (exit 1); exit 1; }; }
20194 if test "x$SUNCXX" != xyes; then
20195 if test -n "$ac_tool_prefix"; then
20196 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20197 set dummy ${ac_tool_prefix}ar; ac_word=$2
20198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20200 if test "${ac_cv_prog_AR+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20203 if test -n "$AR"; then
20204 ac_cv_prog_AR="$AR" # Let the user override the test.
20206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20207 for as_dir in $PATH
20210 test -z "$as_dir" && as_dir=.
20211 for ac_exec_ext in '' $ac_executable_extensions; do
20212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20213 ac_cv_prog_AR="${ac_tool_prefix}ar"
20214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20224 if test -n "$AR"; then
20225 { echo "$as_me:$LINENO: result: $AR" >&5
20226 echo "${ECHO_T}$AR" >&6; }
20228 { echo "$as_me:$LINENO: result: no" >&5
20229 echo "${ECHO_T}no" >&6; }
20234 if test -z "$ac_cv_prog_AR"; then
20236 # Extract the first word of "ar", so it can be a program name with args.
20237 set dummy ar; ac_word=$2
20238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20240 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20241 echo $ECHO_N "(cached) $ECHO_C" >&6
20243 if test -n "$ac_ct_AR"; then
20244 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20247 for as_dir in $PATH
20250 test -z "$as_dir" && as_dir=.
20251 for ac_exec_ext in '' $ac_executable_extensions; do
20252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20253 ac_cv_prog_ac_ct_AR="ar"
20254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20263 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20264 if test -n "$ac_ct_AR"; then
20265 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20266 echo "${ECHO_T}$ac_ct_AR" >&6; }
20268 { echo "$as_me:$LINENO: result: no" >&5
20269 echo "${ECHO_T}no" >&6; }
20272 if test "x$ac_ct_AR" = x; then
20275 case $cross_compiling:$ac_tool_warned in
20277 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20278 whose name does not start with the host triplet. If you think this
20279 configuration is useful to you, please write to autoconf@gnu.org." >&5
20280 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20281 whose name does not start with the host triplet. If you think this
20282 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20283 ac_tool_warned=yes ;;
20288 AR="$ac_cv_prog_AR"
20291 if test "x$AR" = "x" ; then
20292 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20293 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20294 { (exit 1); exit 1; }; }
20298 retest_macosx_linking=no
20300 #if test "$wxUSE_MAC" = 1; then
20301 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20302 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20303 # Implicitly turn on the new --with-macosx-sdk using the default
20304 # SDK which provides the behavior this option has always had.
20305 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20306 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20307 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20308 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20309 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20310 wxUSE_MACOSX_SDK=yes
20313 # Complain to user if he specified an argument to --enable-universal_binary
20314 # and also 1) specified --with-macosx-sdk using the default (yes) or
20315 # 2) specified --with-macosx-sdk using a path or 3) specified
20316 # --without-macosx-sdk (no).
20317 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20318 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20319 See \`config.log' for more details." >&5
20320 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20321 See \`config.log' for more details." >&2;}
20322 { (exit 1); exit 1; }; }
20324 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20325 # special-case the empty string because the below test simply
20326 # converts "no" to the empty string anyway.
20327 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20328 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20329 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20332 OSX_UNIV_OPTS="-arch ppc -arch i386"
20333 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20334 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20335 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20336 retest_macosx_linking=yes
20338 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20339 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20344 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20346 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20347 # TODO: Search for most recent SDK and use it.
20348 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20352 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20353 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20354 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20355 if ! test -d "$wxUSE_MACOSX_SDK"; then
20356 { { echo "$as_me:$LINENO: error: not found
20357 See \`config.log' for more details." >&5
20358 echo "$as_me: error: not found
20359 See \`config.log' for more details." >&2;}
20360 { (exit 1); exit 1; }; }
20362 { echo "$as_me:$LINENO: result: exists" >&5
20363 echo "${ECHO_T}exists" >&6; }
20365 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20366 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20367 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20368 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20369 retest_macosx_linking=yes
20372 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20373 wxUSE_MACOSX_VERSION_MIN=
20374 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20375 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20376 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20377 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20379 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20381 # If that failed, try again with the new key
20382 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20384 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20388 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20389 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20390 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20391 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20393 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20394 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20395 wxUSE_MACOSX_VERSION_MIN=
20398 wxUSE_MACOSX_VERSION_MIN=
20402 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20403 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20404 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20405 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20406 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20407 retest_macosx_linking=yes
20410 if test "x$retest_macosx_linking" = "xyes"; then
20412 ac_cpp='$CPP $CPPFLAGS'
20413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20417 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20418 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20419 cat >conftest.$ac_ext <<_ACEOF
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h. */
20434 rm -f conftest.$ac_objext conftest$ac_exeext
20435 if { (ac_try="$ac_link"
20436 case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_link") 2>conftest.er1
20443 grep -v '^ *+' conftest.er1 >conftest.err
20445 cat conftest.err >&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && {
20448 test -z "$ac_c_werror_flag" ||
20449 test ! -s conftest.err
20450 } && test -s conftest$ac_exeext &&
20451 $as_test_x conftest$ac_exeext; then
20452 { echo "$as_me:$LINENO: result: yes" >&5
20453 echo "${ECHO_T}yes" >&6; }
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.$ac_ext >&5
20458 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20459 See \`config.log' for more details." >&5
20460 echo "$as_me: error: no. Try a different SDK
20461 See \`config.log' for more details." >&2;}
20462 { (exit 1); exit 1; }; }; exit 1
20465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20466 conftest$ac_exeext conftest.$ac_ext
20468 ac_cpp='$CPP $CPPFLAGS'
20469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20475 ac_cpp='$CXXCPP $CPPFLAGS'
20476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20480 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20481 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20482 cat >conftest.$ac_ext <<_ACEOF
20485 cat confdefs.h >>conftest.$ac_ext
20486 cat >>conftest.$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20497 rm -f conftest.$ac_objext conftest$ac_exeext
20498 if { (ac_try="$ac_link"
20499 case "(($ac_try" in
20500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_link") 2>conftest.er1
20506 grep -v '^ *+' conftest.er1 >conftest.err
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_cxx_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest$ac_exeext &&
20514 $as_test_x conftest$ac_exeext; then
20515 { echo "$as_me:$LINENO: result: yes" >&5
20516 echo "${ECHO_T}yes" >&6; }
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20521 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20522 See \`config.log' for more details." >&5
20523 echo "$as_me: error: no. Try a different SDK
20524 See \`config.log' for more details." >&2;}
20525 { (exit 1); exit 1; }; }; exit 1
20528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20529 conftest$ac_exeext conftest.$ac_ext
20531 ac_cpp='$CPP $CPPFLAGS'
20532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20542 INSTALL_PROGRAM="cp -fp"
20543 INSTALL_DATA="cp -fp"
20550 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20551 CXXFLAGS="-qunique $CXXFLAGS"
20555 powerpc-*-darwin* )
20556 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20557 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20558 cat >conftest.$ac_ext <<_ACEOF
20561 cat confdefs.h >>conftest.$ac_ext
20562 cat >>conftest.$ac_ext <<_ACEOF
20563 /* end confdefs.h. */
20568 #ifndef __POWERPC__
20569 choke me for lack of PowerPC
20576 rm -f conftest.$ac_objext
20577 if { (ac_try="$ac_compile"
20578 case "(($ac_try" in
20579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20583 (eval "$ac_compile") 2>conftest.er1
20585 grep -v '^ *+' conftest.er1 >conftest.err
20587 cat conftest.err >&5
20588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20589 (exit $ac_status); } && {
20590 test -z "$ac_c_werror_flag" ||
20591 test ! -s conftest.err
20592 } && test -s conftest.$ac_objext; then
20593 { echo "$as_me:$LINENO: result: yes" >&5
20594 echo "${ECHO_T}yes" >&6; }
20596 echo "$as_me: failed program was:" >&5
20597 sed 's/^/| /' conftest.$ac_ext >&5
20599 { echo "$as_me:$LINENO: result: no" >&5
20600 echo "${ECHO_T}no" >&6; }
20601 cat >>confdefs.h <<\_ACEOF
20602 #define __POWERPC__ 1
20608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20614 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20615 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20616 cat >conftest.$ac_ext <<_ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 #include <CoreFoundation/CFBase.h>
20632 rm -f conftest.$ac_objext
20633 if { (ac_try="$ac_compile"
20634 case "(($ac_try" in
20635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20636 *) ac_try_echo=$ac_try;;
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639 (eval "$ac_compile") 2>conftest.er1
20641 grep -v '^ *+' conftest.er1 >conftest.err
20643 cat conftest.err >&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } && {
20646 test -z "$ac_c_werror_flag" ||
20647 test ! -s conftest.err
20648 } && test -s conftest.$ac_objext; then
20649 { echo "$as_me:$LINENO: result: yes" >&5
20650 echo "${ECHO_T}yes" >&6; }
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20655 { echo "$as_me:$LINENO: result: no" >&5
20656 echo "${ECHO_T}no" >&6; }
20657 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20658 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $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 #define __CF_USE_FRAMEWORK_INCLUDES__
20666 #include <CoreFoundation/CFBase.h>
20676 rm -f conftest.$ac_objext
20677 if { (ac_try="$ac_compile"
20678 case "(($ac_try" in
20679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20680 *) ac_try_echo=$ac_try;;
20682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20683 (eval "$ac_compile") 2>conftest.er1
20685 grep -v '^ *+' conftest.er1 >conftest.err
20687 cat conftest.err >&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } && {
20690 test -z "$ac_c_werror_flag" ||
20691 test ! -s conftest.err
20692 } && test -s conftest.$ac_objext; then
20693 { echo "$as_me:$LINENO: result: yes" >&5
20694 echo "${ECHO_T}yes" >&6; }
20695 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20700 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20701 See \`config.log' for more details." >&5
20702 echo "$as_me: error: no. CoreFoundation not available.
20703 See \`config.log' for more details." >&2;}
20704 { (exit 1); exit 1; }; }
20708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20718 doesnt_want_win32=0
20721 if test "$wxUSE_MSW" = 1 ; then
20724 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20725 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20726 if test "${wx_cv_nocygwin+set}" = set; then
20727 echo $ECHO_N "(cached) $ECHO_C" >&6
20730 cat >conftest.$ac_ext <<_ACEOF
20733 cat confdefs.h >>conftest.$ac_ext
20734 cat >>conftest.$ac_ext <<_ACEOF
20735 /* end confdefs.h. */
20749 rm -f conftest.$ac_objext
20750 if { (ac_try="$ac_compile"
20751 case "(($ac_try" in
20752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20753 *) ac_try_echo=$ac_try;;
20755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20756 (eval "$ac_compile") 2>conftest.er1
20758 grep -v '^ *+' conftest.er1 >conftest.err
20760 cat conftest.err >&5
20761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762 (exit $ac_status); } && {
20763 test -z "$ac_c_werror_flag" ||
20764 test ! -s conftest.err
20765 } && test -s conftest.$ac_objext; then
20768 echo "$as_me: failed program was:" >&5
20769 sed 's/^/| /' conftest.$ac_ext >&5
20775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20780 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20782 if test "$wx_cv_nocygwin" = "yes"; then
20785 doesnt_want_win32=1
20788 if test "$wants_win32" = 1 ; then
20789 BAKEFILE_FORCE_PLATFORM=win32
20797 if test "$wxUSE_WINE" = "yes"; then
20799 LDFLAGS_GUI="-mwindows"
20802 if test "$wants_win32" = 1 ; then
20805 cat >>confdefs.h <<\_ACEOF
20806 #define __WIN32__ 1
20809 cat >>confdefs.h <<\_ACEOF
20810 #define __WIN95__ 1
20813 cat >>confdefs.h <<\_ACEOF
20814 #define __WINDOWS__ 1
20817 cat >>confdefs.h <<\_ACEOF
20818 #define __GNUWIN32__ 1
20821 cat >>confdefs.h <<\_ACEOF
20826 if test "$doesnt_want_win32" = 1 ; then
20831 if test "$USE_UNIX" = 1 ; then
20833 cat >>confdefs.h <<\_ACEOF
20840 *-pc-os2_emx | *-pc-os2-emx )
20841 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20842 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20843 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20844 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20845 echo $ECHO_N "(cached) $ECHO_C" >&6
20847 ac_check_lib_save_LIBS=$LIBS
20848 LIBS="-lcExt $LIBS"
20849 cat >conftest.$ac_ext <<_ACEOF
20852 cat confdefs.h >>conftest.$ac_ext
20853 cat >>conftest.$ac_ext <<_ACEOF
20854 /* end confdefs.h. */
20856 /* Override any GCC internal prototype to avoid an error.
20857 Use char because int might match the return type of a GCC
20858 builtin and then its argument prototype would still apply. */
20871 rm -f conftest.$ac_objext conftest$ac_exeext
20872 if { (ac_try="$ac_link"
20873 case "(($ac_try" in
20874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20875 *) ac_try_echo=$ac_try;;
20877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20878 (eval "$ac_link") 2>conftest.er1
20880 grep -v '^ *+' conftest.er1 >conftest.err
20882 cat conftest.err >&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } && {
20885 test -z "$ac_c_werror_flag" ||
20886 test ! -s conftest.err
20887 } && test -s conftest$ac_exeext &&
20888 $as_test_x conftest$ac_exeext; then
20889 ac_cv_lib_cExt_drand48=yes
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20894 ac_cv_lib_cExt_drand48=no
20897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20898 conftest$ac_exeext conftest.$ac_ext
20899 LIBS=$ac_check_lib_save_LIBS
20901 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20902 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20903 if test $ac_cv_lib_cExt_drand48 = yes; then
20904 LIBS="$LIBS -lcExt"
20908 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20910 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20911 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20912 if test "${wx_cv_gccversion+set}" = set; then
20913 echo $ECHO_N "(cached) $ECHO_C" >&6
20916 if test "$cross_compiling" = yes; then
20917 wx_cv_gccversion="EMX2"
20920 cat >conftest.$ac_ext <<_ACEOF
20923 cat confdefs.h >>conftest.$ac_ext
20924 cat >>conftest.$ac_ext <<_ACEOF
20925 /* end confdefs.h. */
20931 FILE *f=fopen("conftestval", "w");
20936 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20938 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20948 rm -f conftest$ac_exeext
20949 if { (ac_try="$ac_link"
20950 case "(($ac_try" in
20951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_link") 2>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20959 { (case "(($ac_try" in
20960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20961 *) ac_try_echo=$ac_try;;
20963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20964 (eval "$ac_try") 2>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; }; then
20968 wx_cv_gccversion=`cat conftestval`
20970 echo "$as_me: program exited with status $ac_status" >&5
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20974 ( exit $ac_status )
20975 wx_cv_gccversion="EMX2"
20977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20983 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20984 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20985 if test "$wx_cv_gccversion" = "EMX2"; then
20986 LIBS="$LIBS -lstdcpp"
20987 LDFLAGS="$LDFLAGS -Zsysv-signals"
20989 if test "$wx_cv_gccversion" = "EMX3"; then
20990 LIBS="$LIBS -lstdcxx -lgcc"
20991 LDFLAGS="$LDFLAGS -Zsysv-signals"
20993 LIBS="$LIBS -lstdc++"
20996 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20997 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20998 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21005 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21006 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21007 if test "${ac_cv_string_strcasecmp+set}" = set; then
21008 echo $ECHO_N "(cached) $ECHO_C" >&6
21011 cat >conftest.$ac_ext <<_ACEOF
21014 cat confdefs.h >>conftest.$ac_ext
21015 cat >>conftest.$ac_ext <<_ACEOF
21016 /* end confdefs.h. */
21018 #include <string.h>
21024 strcasecmp("foo", "bar");
21030 rm -f conftest.$ac_objext conftest$ac_exeext
21031 if { (ac_try="$ac_link"
21032 case "(($ac_try" in
21033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21034 *) ac_try_echo=$ac_try;;
21036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21037 (eval "$ac_link") 2>conftest.er1
21039 grep -v '^ *+' conftest.er1 >conftest.err
21041 cat conftest.err >&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); } && {
21044 test -z "$ac_c_werror_flag" ||
21045 test ! -s conftest.err
21046 } && test -s conftest$ac_exeext &&
21047 $as_test_x conftest$ac_exeext; then
21048 ac_cv_string_strcasecmp=yes
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21053 ac_cv_string_strcasecmp=no
21057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21058 conftest$ac_exeext conftest.$ac_ext
21061 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21062 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21064 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21065 cat >>confdefs.h <<\_ACEOF
21066 #define HAVE_STRCASECMP_IN_STRING_H 1
21070 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21071 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21072 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21073 echo $ECHO_N "(cached) $ECHO_C" >&6
21076 cat >conftest.$ac_ext <<_ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21083 #include <strings.h>
21089 strcasecmp("foo", "bar");
21095 rm -f conftest.$ac_objext conftest$ac_exeext
21096 if { (ac_try="$ac_link"
21097 case "(($ac_try" in
21098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21099 *) ac_try_echo=$ac_try;;
21101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21102 (eval "$ac_link") 2>conftest.er1
21104 grep -v '^ *+' conftest.er1 >conftest.err
21106 cat conftest.err >&5
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); } && {
21109 test -z "$ac_c_werror_flag" ||
21110 test ! -s conftest.err
21111 } && test -s conftest$ac_exeext &&
21112 $as_test_x conftest$ac_exeext; then
21113 ac_cv_strings_strcasecmp=yes
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21118 ac_cv_strings_strcasecmp=no
21122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21123 conftest$ac_exeext conftest.$ac_ext
21126 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21127 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21129 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21130 cat >>confdefs.h <<\_ACEOF
21131 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21135 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21136 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21137 { (exit 1); exit 1; }; }
21145 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21146 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21147 if test "${ac_cv_header_stdc+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21150 cat >conftest.$ac_ext <<_ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 #include <stdlib.h>
21157 #include <stdarg.h>
21158 #include <string.h>
21169 rm -f conftest.$ac_objext
21170 if { (ac_try="$ac_compile"
21171 case "(($ac_try" in
21172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173 *) ac_try_echo=$ac_try;;
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_compile") 2>conftest.er1
21178 grep -v '^ *+' conftest.er1 >conftest.err
21180 cat conftest.err >&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); } && {
21183 test -z "$ac_c_werror_flag" ||
21184 test ! -s conftest.err
21185 } && test -s conftest.$ac_objext; then
21186 ac_cv_header_stdc=yes
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.$ac_ext >&5
21191 ac_cv_header_stdc=no
21194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21196 if test $ac_cv_header_stdc = yes; then
21197 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21198 cat >conftest.$ac_ext <<_ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 #include <string.h>
21207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21208 $EGREP "memchr" >/dev/null 2>&1; then
21211 ac_cv_header_stdc=no
21217 if test $ac_cv_header_stdc = yes; then
21218 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21219 cat >conftest.$ac_ext <<_ACEOF
21222 cat confdefs.h >>conftest.$ac_ext
21223 cat >>conftest.$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 #include <stdlib.h>
21228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21229 $EGREP "free" >/dev/null 2>&1; then
21232 ac_cv_header_stdc=no
21238 if test $ac_cv_header_stdc = yes; then
21239 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21240 if test "$cross_compiling" = yes; then
21243 cat >conftest.$ac_ext <<_ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21250 #include <stdlib.h>
21251 #if ((' ' & 0x0FF) == 0x020)
21252 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21253 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21255 # define ISLOWER(c) \
21256 (('a' <= (c) && (c) <= 'i') \
21257 || ('j' <= (c) && (c) <= 'r') \
21258 || ('s' <= (c) && (c) <= 'z'))
21259 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21262 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21267 for (i = 0; i < 256; i++)
21268 if (XOR (islower (i), ISLOWER (i))
21269 || toupper (i) != TOUPPER (i))
21274 rm -f conftest$ac_exeext
21275 if { (ac_try="$ac_link"
21276 case "(($ac_try" in
21277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21278 *) ac_try_echo=$ac_try;;
21280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21281 (eval "$ac_link") 2>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21285 { (case "(($ac_try" in
21286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21287 *) ac_try_echo=$ac_try;;
21289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21290 (eval "$ac_try") 2>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; }; then
21296 echo "$as_me: program exited with status $ac_status" >&5
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21300 ( exit $ac_status )
21301 ac_cv_header_stdc=no
21303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21309 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21310 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21311 if test $ac_cv_header_stdc = yes; then
21313 cat >>confdefs.h <<\_ACEOF
21314 #define STDC_HEADERS 1
21319 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21329 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21330 inttypes.h stdint.h unistd.h
21332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21336 echo $ECHO_N "(cached) $ECHO_C" >&6
21338 cat >conftest.$ac_ext <<_ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 $ac_includes_default
21346 #include <$ac_header>
21348 rm -f conftest.$ac_objext
21349 if { (ac_try="$ac_compile"
21350 case "(($ac_try" in
21351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21352 *) ac_try_echo=$ac_try;;
21354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21355 (eval "$ac_compile") 2>conftest.er1
21357 grep -v '^ *+' conftest.er1 >conftest.err
21359 cat conftest.err >&5
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); } && {
21362 test -z "$ac_c_werror_flag" ||
21363 test ! -s conftest.err
21364 } && test -s conftest.$ac_objext; then
21365 eval "$as_ac_Header=yes"
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.$ac_ext >&5
21370 eval "$as_ac_Header=no"
21373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21375 ac_res=`eval echo '${'$as_ac_Header'}'`
21376 { echo "$as_me:$LINENO: result: $ac_res" >&5
21377 echo "${ECHO_T}$ac_res" >&6; }
21378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21379 cat >>confdefs.h <<_ACEOF
21380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21394 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21397 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21400 echo $ECHO_N "(cached) $ECHO_C" >&6
21402 cat >conftest.$ac_ext <<_ACEOF
21405 cat confdefs.h >>conftest.$ac_ext
21406 cat >>conftest.$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21408 $ac_includes_default
21410 #include <$ac_header>
21412 rm -f conftest.$ac_objext
21413 if { (ac_try="$ac_compile"
21414 case "(($ac_try" in
21415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21416 *) ac_try_echo=$ac_try;;
21418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21419 (eval "$ac_compile") 2>conftest.er1
21421 grep -v '^ *+' conftest.er1 >conftest.err
21423 cat conftest.err >&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } && {
21426 test -z "$ac_c_werror_flag" ||
21427 test ! -s conftest.err
21428 } && test -s conftest.$ac_objext; then
21429 eval "$as_ac_Header=yes"
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.$ac_ext >&5
21434 eval "$as_ac_Header=no"
21437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21439 ac_res=`eval echo '${'$as_ac_Header'}'`
21440 { echo "$as_me:$LINENO: result: $ac_res" >&5
21441 echo "${ECHO_T}$ac_res" >&6; }
21442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21443 cat >>confdefs.h <<_ACEOF
21444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21452 if test "$ac_cv_header_wchar_h" != "yes"; then
21454 for ac_header in wcstr.h
21456 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21457 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 cat >conftest.$ac_ext <<_ACEOF
21465 cat confdefs.h >>conftest.$ac_ext
21466 cat >>conftest.$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468 $ac_includes_default
21470 #include <$ac_header>
21472 rm -f conftest.$ac_objext
21473 if { (ac_try="$ac_compile"
21474 case "(($ac_try" in
21475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_compile") 2>conftest.er1
21481 grep -v '^ *+' conftest.er1 >conftest.err
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } && {
21486 test -z "$ac_c_werror_flag" ||
21487 test ! -s conftest.err
21488 } && test -s conftest.$ac_objext; then
21489 eval "$as_ac_Header=yes"
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.$ac_ext >&5
21494 eval "$as_ac_Header=no"
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 ac_res=`eval echo '${'$as_ac_Header'}'`
21500 { echo "$as_me:$LINENO: result: $ac_res" >&5
21501 echo "${ECHO_T}$ac_res" >&6; }
21502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21503 cat >>confdefs.h <<_ACEOF
21504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21514 *-pc-os2_emx | *-pc-os2-emx )
21515 if test $ac_cv_header_langinfo_h = "yes" \
21516 -a \( "$wx_cv_gccversion" = "EMX2" \
21517 -o "$wx_cv_gccversion" = "EMX3" \
21518 -o "$wx_cv_gccversion" = "Innotek5" \); then
21519 LIBS="$LIBS -lintl"
21524 if test "$USE_UNIX" = 1 ; then
21526 for ac_header in sys/select.h
21528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21529 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21532 echo $ECHO_N "(cached) $ECHO_C" >&6
21534 cat >conftest.$ac_ext <<_ACEOF
21537 cat confdefs.h >>conftest.$ac_ext
21538 cat >>conftest.$ac_ext <<_ACEOF
21539 /* end confdefs.h. */
21540 $ac_includes_default
21542 #include <$ac_header>
21544 rm -f conftest.$ac_objext
21545 if { (ac_try="$ac_compile"
21546 case "(($ac_try" in
21547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21548 *) ac_try_echo=$ac_try;;
21550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21551 (eval "$ac_compile") 2>conftest.er1
21553 grep -v '^ *+' conftest.er1 >conftest.err
21555 cat conftest.err >&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } && {
21558 test -z "$ac_c_werror_flag" ||
21559 test ! -s conftest.err
21560 } && test -s conftest.$ac_objext; then
21561 eval "$as_ac_Header=yes"
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.$ac_ext >&5
21566 eval "$as_ac_Header=no"
21569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21571 ac_res=`eval echo '${'$as_ac_Header'}'`
21572 { echo "$as_me:$LINENO: result: $ac_res" >&5
21573 echo "${ECHO_T}$ac_res" >&6; }
21574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21575 cat >>confdefs.h <<_ACEOF
21576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21586 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21587 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21588 if test "${ac_cv_c_const+set}" = set; then
21589 echo $ECHO_N "(cached) $ECHO_C" >&6
21591 cat >conftest.$ac_ext <<_ACEOF
21594 cat confdefs.h >>conftest.$ac_ext
21595 cat >>conftest.$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21601 /* FIXME: Include the comments suggested by Paul. */
21602 #ifndef __cplusplus
21603 /* Ultrix mips cc rejects this. */
21604 typedef int charset[2];
21606 /* SunOS 4.1.1 cc rejects this. */
21607 char const *const *pcpcc;
21609 /* NEC SVR4.0.2 mips cc rejects this. */
21610 struct point {int x, y;};
21611 static struct point const zero = {0,0};
21612 /* AIX XL C 1.02.0.0 rejects this.
21613 It does not let you subtract one const X* pointer from another in
21614 an arm of an if-expression whose if-part is not a constant
21616 const char *g = "string";
21617 pcpcc = &g + (g ? g-g : 0);
21618 /* HPUX 7.0 cc rejects these. */
21620 ppc = (char**) pcpcc;
21621 pcpcc = (char const *const *) ppc;
21622 { /* SCO 3.2v4 cc rejects this. */
21624 char const *s = 0 ? (char *) 0 : (char const *) 0;
21629 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21630 int x[] = {25, 17};
21631 const int *foo = &x[0];
21634 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21635 typedef const int *iptr;
21639 { /* AIX XL C 1.02.0.0 rejects this saying
21640 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21641 struct s { int j; const int *ap[3]; };
21642 struct s *b; b->j = 5;
21644 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21645 const int foo = 10;
21646 if (!foo) return 0;
21648 return !cs[0] && !zero.x;
21655 rm -f conftest.$ac_objext
21656 if { (ac_try="$ac_compile"
21657 case "(($ac_try" in
21658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21659 *) ac_try_echo=$ac_try;;
21661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21662 (eval "$ac_compile") 2>conftest.er1
21664 grep -v '^ *+' conftest.er1 >conftest.err
21666 cat conftest.err >&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); } && {
21669 test -z "$ac_c_werror_flag" ||
21670 test ! -s conftest.err
21671 } && test -s conftest.$ac_objext; then
21674 echo "$as_me: failed program was:" >&5
21675 sed 's/^/| /' conftest.$ac_ext >&5
21680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21682 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21683 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21684 if test $ac_cv_c_const = no; then
21686 cat >>confdefs.h <<\_ACEOF
21692 { echo "$as_me:$LINENO: checking for inline" >&5
21693 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21694 if test "${ac_cv_c_inline+set}" = set; then
21695 echo $ECHO_N "(cached) $ECHO_C" >&6
21698 for ac_kw in inline __inline__ __inline; do
21699 cat >conftest.$ac_ext <<_ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 #ifndef __cplusplus
21707 static $ac_kw foo_t static_foo () {return 0; }
21708 $ac_kw foo_t foo () {return 0; }
21712 rm -f conftest.$ac_objext
21713 if { (ac_try="$ac_compile"
21714 case "(($ac_try" in
21715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21716 *) ac_try_echo=$ac_try;;
21718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21719 (eval "$ac_compile") 2>conftest.er1
21721 grep -v '^ *+' conftest.er1 >conftest.err
21723 cat conftest.err >&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); } && {
21726 test -z "$ac_c_werror_flag" ||
21727 test ! -s conftest.err
21728 } && test -s conftest.$ac_objext; then
21729 ac_cv_c_inline=$ac_kw
21731 echo "$as_me: failed program was:" >&5
21732 sed 's/^/| /' conftest.$ac_ext >&5
21737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21738 test "$ac_cv_c_inline" != no && break
21742 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21743 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21746 case $ac_cv_c_inline in
21749 case $ac_cv_c_inline in
21751 *) ac_val=$ac_cv_c_inline;;
21753 cat >>confdefs.h <<_ACEOF
21754 #ifndef __cplusplus
21755 #define inline $ac_val
21762 { echo "$as_me:$LINENO: checking for short" >&5
21763 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21764 if test "${ac_cv_type_short+set}" = set; then
21765 echo $ECHO_N "(cached) $ECHO_C" >&6
21767 cat >conftest.$ac_ext <<_ACEOF
21770 cat confdefs.h >>conftest.$ac_ext
21771 cat >>conftest.$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21773 $ac_includes_default
21774 typedef short ac__type_new_;
21778 if ((ac__type_new_ *) 0)
21780 if (sizeof (ac__type_new_))
21786 rm -f conftest.$ac_objext
21787 if { (ac_try="$ac_compile"
21788 case "(($ac_try" in
21789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21790 *) ac_try_echo=$ac_try;;
21792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21793 (eval "$ac_compile") 2>conftest.er1
21795 grep -v '^ *+' conftest.er1 >conftest.err
21797 cat conftest.err >&5
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); } && {
21800 test -z "$ac_c_werror_flag" ||
21801 test ! -s conftest.err
21802 } && test -s conftest.$ac_objext; then
21803 ac_cv_type_short=yes
21805 echo "$as_me: failed program was:" >&5
21806 sed 's/^/| /' conftest.$ac_ext >&5
21808 ac_cv_type_short=no
21811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21813 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21814 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21816 # The cast to long int works around a bug in the HP C Compiler
21817 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21818 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21819 # This bug is HP SR number 8606223364.
21820 { echo "$as_me:$LINENO: checking size of short" >&5
21821 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21822 if test "${ac_cv_sizeof_short+set}" = set; then
21823 echo $ECHO_N "(cached) $ECHO_C" >&6
21825 if test "$cross_compiling" = yes; then
21826 # Depending upon the size, compute the lo and hi bounds.
21827 cat >conftest.$ac_ext <<_ACEOF
21830 cat confdefs.h >>conftest.$ac_ext
21831 cat >>conftest.$ac_ext <<_ACEOF
21832 /* end confdefs.h. */
21833 $ac_includes_default
21834 typedef short ac__type_sizeof_;
21838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21845 rm -f conftest.$ac_objext
21846 if { (ac_try="$ac_compile"
21847 case "(($ac_try" in
21848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21849 *) ac_try_echo=$ac_try;;
21851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21852 (eval "$ac_compile") 2>conftest.er1
21854 grep -v '^ *+' conftest.er1 >conftest.err
21856 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } && {
21859 test -z "$ac_c_werror_flag" ||
21860 test ! -s conftest.err
21861 } && test -s conftest.$ac_objext; then
21864 cat >conftest.$ac_ext <<_ACEOF
21867 cat confdefs.h >>conftest.$ac_ext
21868 cat >>conftest.$ac_ext <<_ACEOF
21869 /* end confdefs.h. */
21870 $ac_includes_default
21871 typedef short ac__type_sizeof_;
21875 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21882 rm -f conftest.$ac_objext
21883 if { (ac_try="$ac_compile"
21884 case "(($ac_try" in
21885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21886 *) ac_try_echo=$ac_try;;
21888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21889 (eval "$ac_compile") 2>conftest.er1
21891 grep -v '^ *+' conftest.er1 >conftest.err
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } && {
21896 test -z "$ac_c_werror_flag" ||
21897 test ! -s conftest.err
21898 } && test -s conftest.$ac_objext; then
21899 ac_hi=$ac_mid; break
21901 echo "$as_me: failed program was:" >&5
21902 sed 's/^/| /' conftest.$ac_ext >&5
21904 ac_lo=`expr $ac_mid + 1`
21905 if test $ac_lo -le $ac_mid; then
21909 ac_mid=`expr 2 '*' $ac_mid + 1`
21912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21915 echo "$as_me: failed program was:" >&5
21916 sed 's/^/| /' conftest.$ac_ext >&5
21918 cat >conftest.$ac_ext <<_ACEOF
21921 cat confdefs.h >>conftest.$ac_ext
21922 cat >>conftest.$ac_ext <<_ACEOF
21923 /* end confdefs.h. */
21924 $ac_includes_default
21925 typedef short ac__type_sizeof_;
21929 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21936 rm -f conftest.$ac_objext
21937 if { (ac_try="$ac_compile"
21938 case "(($ac_try" in
21939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21940 *) ac_try_echo=$ac_try;;
21942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21943 (eval "$ac_compile") 2>conftest.er1
21945 grep -v '^ *+' conftest.er1 >conftest.err
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } && {
21950 test -z "$ac_c_werror_flag" ||
21951 test ! -s conftest.err
21952 } && test -s conftest.$ac_objext; then
21955 cat >conftest.$ac_ext <<_ACEOF
21958 cat confdefs.h >>conftest.$ac_ext
21959 cat >>conftest.$ac_ext <<_ACEOF
21960 /* end confdefs.h. */
21961 $ac_includes_default
21962 typedef short ac__type_sizeof_;
21966 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21973 rm -f conftest.$ac_objext
21974 if { (ac_try="$ac_compile"
21975 case "(($ac_try" in
21976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21977 *) ac_try_echo=$ac_try;;
21979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21980 (eval "$ac_compile") 2>conftest.er1
21982 grep -v '^ *+' conftest.er1 >conftest.err
21984 cat conftest.err >&5
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); } && {
21987 test -z "$ac_c_werror_flag" ||
21988 test ! -s conftest.err
21989 } && test -s conftest.$ac_objext; then
21990 ac_lo=$ac_mid; break
21992 echo "$as_me: failed program was:" >&5
21993 sed 's/^/| /' conftest.$ac_ext >&5
21995 ac_hi=`expr '(' $ac_mid ')' - 1`
21996 if test $ac_mid -le $ac_hi; then
22000 ac_mid=`expr 2 '*' $ac_mid`
22003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.$ac_ext >&5
22012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22016 # Binary search between lo and hi bounds.
22017 while test "x$ac_lo" != "x$ac_hi"; do
22018 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22019 cat >conftest.$ac_ext <<_ACEOF
22022 cat confdefs.h >>conftest.$ac_ext
22023 cat >>conftest.$ac_ext <<_ACEOF
22024 /* end confdefs.h. */
22025 $ac_includes_default
22026 typedef short ac__type_sizeof_;
22030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22037 rm -f conftest.$ac_objext
22038 if { (ac_try="$ac_compile"
22039 case "(($ac_try" in
22040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22041 *) ac_try_echo=$ac_try;;
22043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22044 (eval "$ac_compile") 2>conftest.er1
22046 grep -v '^ *+' conftest.er1 >conftest.err
22048 cat conftest.err >&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } && {
22051 test -z "$ac_c_werror_flag" ||
22052 test ! -s conftest.err
22053 } && test -s conftest.$ac_objext; then
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22059 ac_lo=`expr '(' $ac_mid ')' + 1`
22062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22065 ?*) ac_cv_sizeof_short=$ac_lo;;
22066 '') if test "$ac_cv_type_short" = yes; then
22067 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22068 See \`config.log' for more details." >&5
22069 echo "$as_me: error: cannot compute sizeof (short)
22070 See \`config.log' for more details." >&2;}
22071 { (exit 77); exit 77; }; }
22073 ac_cv_sizeof_short=0
22077 cat >conftest.$ac_ext <<_ACEOF
22080 cat confdefs.h >>conftest.$ac_ext
22081 cat >>conftest.$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 $ac_includes_default
22084 typedef short ac__type_sizeof_;
22085 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22086 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22088 #include <stdlib.h>
22093 FILE *f = fopen ("conftest.val", "w");
22096 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22098 long int i = longval ();
22099 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22101 fprintf (f, "%ld\n", i);
22105 unsigned long int i = ulongval ();
22106 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22108 fprintf (f, "%lu\n", i);
22110 return ferror (f) || fclose (f) != 0;
22116 rm -f conftest$ac_exeext
22117 if { (ac_try="$ac_link"
22118 case "(($ac_try" in
22119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22120 *) ac_try_echo=$ac_try;;
22122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22123 (eval "$ac_link") 2>&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22127 { (case "(($ac_try" in
22128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22129 *) ac_try_echo=$ac_try;;
22131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22132 (eval "$ac_try") 2>&5
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); }; }; then
22136 ac_cv_sizeof_short=`cat conftest.val`
22138 echo "$as_me: program exited with status $ac_status" >&5
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22142 ( exit $ac_status )
22143 if test "$ac_cv_type_short" = yes; then
22144 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22145 See \`config.log' for more details." >&5
22146 echo "$as_me: error: cannot compute sizeof (short)
22147 See \`config.log' for more details." >&2;}
22148 { (exit 77); exit 77; }; }
22150 ac_cv_sizeof_short=0
22153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22157 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22158 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22162 cat >>confdefs.h <<_ACEOF
22163 #define SIZEOF_SHORT $ac_cv_sizeof_short
22167 { echo "$as_me:$LINENO: checking for void *" >&5
22168 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22169 if test "${ac_cv_type_void_p+set}" = set; then
22170 echo $ECHO_N "(cached) $ECHO_C" >&6
22172 cat >conftest.$ac_ext <<_ACEOF
22175 cat confdefs.h >>conftest.$ac_ext
22176 cat >>conftest.$ac_ext <<_ACEOF
22177 /* end confdefs.h. */
22178 $ac_includes_default
22179 typedef void * ac__type_new_;
22183 if ((ac__type_new_ *) 0)
22185 if (sizeof (ac__type_new_))
22191 rm -f conftest.$ac_objext
22192 if { (ac_try="$ac_compile"
22193 case "(($ac_try" in
22194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22195 *) ac_try_echo=$ac_try;;
22197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22198 (eval "$ac_compile") 2>conftest.er1
22200 grep -v '^ *+' conftest.er1 >conftest.err
22202 cat conftest.err >&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } && {
22205 test -z "$ac_c_werror_flag" ||
22206 test ! -s conftest.err
22207 } && test -s conftest.$ac_objext; then
22208 ac_cv_type_void_p=yes
22210 echo "$as_me: failed program was:" >&5
22211 sed 's/^/| /' conftest.$ac_ext >&5
22213 ac_cv_type_void_p=no
22216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22218 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22219 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22221 # The cast to long int works around a bug in the HP C Compiler
22222 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22223 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22224 # This bug is HP SR number 8606223364.
22225 { echo "$as_me:$LINENO: checking size of void *" >&5
22226 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22227 if test "${ac_cv_sizeof_void_p+set}" = set; then
22228 echo $ECHO_N "(cached) $ECHO_C" >&6
22230 if test "$cross_compiling" = yes; then
22231 # Depending upon the size, compute the lo and hi bounds.
22232 cat >conftest.$ac_ext <<_ACEOF
22235 cat confdefs.h >>conftest.$ac_ext
22236 cat >>conftest.$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 $ac_includes_default
22239 typedef void * ac__type_sizeof_;
22243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22250 rm -f conftest.$ac_objext
22251 if { (ac_try="$ac_compile"
22252 case "(($ac_try" in
22253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22254 *) ac_try_echo=$ac_try;;
22256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22257 (eval "$ac_compile") 2>conftest.er1
22259 grep -v '^ *+' conftest.er1 >conftest.err
22261 cat conftest.err >&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); } && {
22264 test -z "$ac_c_werror_flag" ||
22265 test ! -s conftest.err
22266 } && test -s conftest.$ac_objext; then
22269 cat >conftest.$ac_ext <<_ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 $ac_includes_default
22276 typedef void * ac__type_sizeof_;
22280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22287 rm -f conftest.$ac_objext
22288 if { (ac_try="$ac_compile"
22289 case "(($ac_try" in
22290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22291 *) ac_try_echo=$ac_try;;
22293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22294 (eval "$ac_compile") 2>conftest.er1
22296 grep -v '^ *+' conftest.er1 >conftest.err
22298 cat conftest.err >&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } && {
22301 test -z "$ac_c_werror_flag" ||
22302 test ! -s conftest.err
22303 } && test -s conftest.$ac_objext; then
22304 ac_hi=$ac_mid; break
22306 echo "$as_me: failed program was:" >&5
22307 sed 's/^/| /' conftest.$ac_ext >&5
22309 ac_lo=`expr $ac_mid + 1`
22310 if test $ac_lo -le $ac_mid; then
22314 ac_mid=`expr 2 '*' $ac_mid + 1`
22317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.$ac_ext >&5
22323 cat >conftest.$ac_ext <<_ACEOF
22326 cat confdefs.h >>conftest.$ac_ext
22327 cat >>conftest.$ac_ext <<_ACEOF
22328 /* end confdefs.h. */
22329 $ac_includes_default
22330 typedef void * ac__type_sizeof_;
22334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22341 rm -f conftest.$ac_objext
22342 if { (ac_try="$ac_compile"
22343 case "(($ac_try" in
22344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22345 *) ac_try_echo=$ac_try;;
22347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22348 (eval "$ac_compile") 2>conftest.er1
22350 grep -v '^ *+' conftest.er1 >conftest.err
22352 cat conftest.err >&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); } && {
22355 test -z "$ac_c_werror_flag" ||
22356 test ! -s conftest.err
22357 } && test -s conftest.$ac_objext; then
22360 cat >conftest.$ac_ext <<_ACEOF
22363 cat confdefs.h >>conftest.$ac_ext
22364 cat >>conftest.$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22366 $ac_includes_default
22367 typedef void * ac__type_sizeof_;
22371 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22378 rm -f conftest.$ac_objext
22379 if { (ac_try="$ac_compile"
22380 case "(($ac_try" in
22381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22382 *) ac_try_echo=$ac_try;;
22384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22385 (eval "$ac_compile") 2>conftest.er1
22387 grep -v '^ *+' conftest.er1 >conftest.err
22389 cat conftest.err >&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); } && {
22392 test -z "$ac_c_werror_flag" ||
22393 test ! -s conftest.err
22394 } && test -s conftest.$ac_objext; then
22395 ac_lo=$ac_mid; break
22397 echo "$as_me: failed program was:" >&5
22398 sed 's/^/| /' conftest.$ac_ext >&5
22400 ac_hi=`expr '(' $ac_mid ')' - 1`
22401 if test $ac_mid -le $ac_hi; then
22405 ac_mid=`expr 2 '*' $ac_mid`
22408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.$ac_ext >&5
22417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22421 # Binary search between lo and hi bounds.
22422 while test "x$ac_lo" != "x$ac_hi"; do
22423 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22424 cat >conftest.$ac_ext <<_ACEOF
22427 cat confdefs.h >>conftest.$ac_ext
22428 cat >>conftest.$ac_ext <<_ACEOF
22429 /* end confdefs.h. */
22430 $ac_includes_default
22431 typedef void * ac__type_sizeof_;
22435 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22442 rm -f conftest.$ac_objext
22443 if { (ac_try="$ac_compile"
22444 case "(($ac_try" in
22445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22446 *) ac_try_echo=$ac_try;;
22448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22449 (eval "$ac_compile") 2>conftest.er1
22451 grep -v '^ *+' conftest.er1 >conftest.err
22453 cat conftest.err >&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); } && {
22456 test -z "$ac_c_werror_flag" ||
22457 test ! -s conftest.err
22458 } && test -s conftest.$ac_objext; then
22461 echo "$as_me: failed program was:" >&5
22462 sed 's/^/| /' conftest.$ac_ext >&5
22464 ac_lo=`expr '(' $ac_mid ')' + 1`
22467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22470 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22471 '') if test "$ac_cv_type_void_p" = yes; then
22472 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22473 See \`config.log' for more details." >&5
22474 echo "$as_me: error: cannot compute sizeof (void *)
22475 See \`config.log' for more details." >&2;}
22476 { (exit 77); exit 77; }; }
22478 ac_cv_sizeof_void_p=0
22482 cat >conftest.$ac_ext <<_ACEOF
22485 cat confdefs.h >>conftest.$ac_ext
22486 cat >>conftest.$ac_ext <<_ACEOF
22487 /* end confdefs.h. */
22488 $ac_includes_default
22489 typedef void * ac__type_sizeof_;
22490 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22491 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22493 #include <stdlib.h>
22498 FILE *f = fopen ("conftest.val", "w");
22501 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22503 long int i = longval ();
22504 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22506 fprintf (f, "%ld\n", i);
22510 unsigned long int i = ulongval ();
22511 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22513 fprintf (f, "%lu\n", i);
22515 return ferror (f) || fclose (f) != 0;
22521 rm -f conftest$ac_exeext
22522 if { (ac_try="$ac_link"
22523 case "(($ac_try" in
22524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22525 *) ac_try_echo=$ac_try;;
22527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22528 (eval "$ac_link") 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22532 { (case "(($ac_try" in
22533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22534 *) ac_try_echo=$ac_try;;
22536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22537 (eval "$ac_try") 2>&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; }; then
22541 ac_cv_sizeof_void_p=`cat conftest.val`
22543 echo "$as_me: program exited with status $ac_status" >&5
22544 echo "$as_me: failed program was:" >&5
22545 sed 's/^/| /' conftest.$ac_ext >&5
22547 ( exit $ac_status )
22548 if test "$ac_cv_type_void_p" = yes; then
22549 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22550 See \`config.log' for more details." >&5
22551 echo "$as_me: error: cannot compute sizeof (void *)
22552 See \`config.log' for more details." >&2;}
22553 { (exit 77); exit 77; }; }
22555 ac_cv_sizeof_void_p=0
22558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22562 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22563 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22567 cat >>confdefs.h <<_ACEOF
22568 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22572 { echo "$as_me:$LINENO: checking for int" >&5
22573 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22574 if test "${ac_cv_type_int+set}" = set; then
22575 echo $ECHO_N "(cached) $ECHO_C" >&6
22577 cat >conftest.$ac_ext <<_ACEOF
22580 cat confdefs.h >>conftest.$ac_ext
22581 cat >>conftest.$ac_ext <<_ACEOF
22582 /* end confdefs.h. */
22583 $ac_includes_default
22584 typedef int ac__type_new_;
22588 if ((ac__type_new_ *) 0)
22590 if (sizeof (ac__type_new_))
22596 rm -f conftest.$ac_objext
22597 if { (ac_try="$ac_compile"
22598 case "(($ac_try" in
22599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22600 *) ac_try_echo=$ac_try;;
22602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22603 (eval "$ac_compile") 2>conftest.er1
22605 grep -v '^ *+' conftest.er1 >conftest.err
22607 cat conftest.err >&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); } && {
22610 test -z "$ac_c_werror_flag" ||
22611 test ! -s conftest.err
22612 } && test -s conftest.$ac_objext; then
22615 echo "$as_me: failed program was:" >&5
22616 sed 's/^/| /' conftest.$ac_ext >&5
22621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22623 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22624 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22626 # The cast to long int works around a bug in the HP C Compiler
22627 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22628 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22629 # This bug is HP SR number 8606223364.
22630 { echo "$as_me:$LINENO: checking size of int" >&5
22631 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22632 if test "${ac_cv_sizeof_int+set}" = set; then
22633 echo $ECHO_N "(cached) $ECHO_C" >&6
22635 if test "$cross_compiling" = yes; then
22636 # Depending upon the size, compute the lo and hi bounds.
22637 cat >conftest.$ac_ext <<_ACEOF
22640 cat confdefs.h >>conftest.$ac_ext
22641 cat >>conftest.$ac_ext <<_ACEOF
22642 /* end confdefs.h. */
22643 $ac_includes_default
22644 typedef int ac__type_sizeof_;
22648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22655 rm -f conftest.$ac_objext
22656 if { (ac_try="$ac_compile"
22657 case "(($ac_try" in
22658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22659 *) ac_try_echo=$ac_try;;
22661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22662 (eval "$ac_compile") 2>conftest.er1
22664 grep -v '^ *+' conftest.er1 >conftest.err
22666 cat conftest.err >&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); } && {
22669 test -z "$ac_c_werror_flag" ||
22670 test ! -s conftest.err
22671 } && test -s conftest.$ac_objext; then
22674 cat >conftest.$ac_ext <<_ACEOF
22677 cat confdefs.h >>conftest.$ac_ext
22678 cat >>conftest.$ac_ext <<_ACEOF
22679 /* end confdefs.h. */
22680 $ac_includes_default
22681 typedef int ac__type_sizeof_;
22685 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22692 rm -f conftest.$ac_objext
22693 if { (ac_try="$ac_compile"
22694 case "(($ac_try" in
22695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22696 *) ac_try_echo=$ac_try;;
22698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22699 (eval "$ac_compile") 2>conftest.er1
22701 grep -v '^ *+' conftest.er1 >conftest.err
22703 cat conftest.err >&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); } && {
22706 test -z "$ac_c_werror_flag" ||
22707 test ! -s conftest.err
22708 } && test -s conftest.$ac_objext; then
22709 ac_hi=$ac_mid; break
22711 echo "$as_me: failed program was:" >&5
22712 sed 's/^/| /' conftest.$ac_ext >&5
22714 ac_lo=`expr $ac_mid + 1`
22715 if test $ac_lo -le $ac_mid; then
22719 ac_mid=`expr 2 '*' $ac_mid + 1`
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22725 echo "$as_me: failed program was:" >&5
22726 sed 's/^/| /' conftest.$ac_ext >&5
22728 cat >conftest.$ac_ext <<_ACEOF
22731 cat confdefs.h >>conftest.$ac_ext
22732 cat >>conftest.$ac_ext <<_ACEOF
22733 /* end confdefs.h. */
22734 $ac_includes_default
22735 typedef int ac__type_sizeof_;
22739 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22746 rm -f conftest.$ac_objext
22747 if { (ac_try="$ac_compile"
22748 case "(($ac_try" in
22749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22750 *) ac_try_echo=$ac_try;;
22752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22753 (eval "$ac_compile") 2>conftest.er1
22755 grep -v '^ *+' conftest.er1 >conftest.err
22757 cat conftest.err >&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); } && {
22760 test -z "$ac_c_werror_flag" ||
22761 test ! -s conftest.err
22762 } && test -s conftest.$ac_objext; then
22765 cat >conftest.$ac_ext <<_ACEOF
22768 cat confdefs.h >>conftest.$ac_ext
22769 cat >>conftest.$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22771 $ac_includes_default
22772 typedef int ac__type_sizeof_;
22776 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22783 rm -f conftest.$ac_objext
22784 if { (ac_try="$ac_compile"
22785 case "(($ac_try" in
22786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22787 *) ac_try_echo=$ac_try;;
22789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22790 (eval "$ac_compile") 2>conftest.er1
22792 grep -v '^ *+' conftest.er1 >conftest.err
22794 cat conftest.err >&5
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); } && {
22797 test -z "$ac_c_werror_flag" ||
22798 test ! -s conftest.err
22799 } && test -s conftest.$ac_objext; then
22800 ac_lo=$ac_mid; break
22802 echo "$as_me: failed program was:" >&5
22803 sed 's/^/| /' conftest.$ac_ext >&5
22805 ac_hi=`expr '(' $ac_mid ')' - 1`
22806 if test $ac_mid -le $ac_hi; then
22810 ac_mid=`expr 2 '*' $ac_mid`
22813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22816 echo "$as_me: failed program was:" >&5
22817 sed 's/^/| /' conftest.$ac_ext >&5
22822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22826 # Binary search between lo and hi bounds.
22827 while test "x$ac_lo" != "x$ac_hi"; do
22828 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22829 cat >conftest.$ac_ext <<_ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22835 $ac_includes_default
22836 typedef int ac__type_sizeof_;
22840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22847 rm -f conftest.$ac_objext
22848 if { (ac_try="$ac_compile"
22849 case "(($ac_try" in
22850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22851 *) ac_try_echo=$ac_try;;
22853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22854 (eval "$ac_compile") 2>conftest.er1
22856 grep -v '^ *+' conftest.er1 >conftest.err
22858 cat conftest.err >&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); } && {
22861 test -z "$ac_c_werror_flag" ||
22862 test ! -s conftest.err
22863 } && test -s conftest.$ac_objext; then
22866 echo "$as_me: failed program was:" >&5
22867 sed 's/^/| /' conftest.$ac_ext >&5
22869 ac_lo=`expr '(' $ac_mid ')' + 1`
22872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22875 ?*) ac_cv_sizeof_int=$ac_lo;;
22876 '') if test "$ac_cv_type_int" = yes; then
22877 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22878 See \`config.log' for more details." >&5
22879 echo "$as_me: error: cannot compute sizeof (int)
22880 See \`config.log' for more details." >&2;}
22881 { (exit 77); exit 77; }; }
22887 cat >conftest.$ac_ext <<_ACEOF
22890 cat confdefs.h >>conftest.$ac_ext
22891 cat >>conftest.$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22893 $ac_includes_default
22894 typedef int ac__type_sizeof_;
22895 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22896 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22898 #include <stdlib.h>
22903 FILE *f = fopen ("conftest.val", "w");
22906 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22908 long int i = longval ();
22909 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22911 fprintf (f, "%ld\n", i);
22915 unsigned long int i = ulongval ();
22916 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22918 fprintf (f, "%lu\n", i);
22920 return ferror (f) || fclose (f) != 0;
22926 rm -f conftest$ac_exeext
22927 if { (ac_try="$ac_link"
22928 case "(($ac_try" in
22929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22930 *) ac_try_echo=$ac_try;;
22932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22933 (eval "$ac_link") 2>&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22937 { (case "(($ac_try" in
22938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22939 *) ac_try_echo=$ac_try;;
22941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22942 (eval "$ac_try") 2>&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; }; then
22946 ac_cv_sizeof_int=`cat conftest.val`
22948 echo "$as_me: program exited with status $ac_status" >&5
22949 echo "$as_me: failed program was:" >&5
22950 sed 's/^/| /' conftest.$ac_ext >&5
22952 ( exit $ac_status )
22953 if test "$ac_cv_type_int" = yes; then
22954 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22955 See \`config.log' for more details." >&5
22956 echo "$as_me: error: cannot compute sizeof (int)
22957 See \`config.log' for more details." >&2;}
22958 { (exit 77); exit 77; }; }
22963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22967 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22968 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22972 cat >>confdefs.h <<_ACEOF
22973 #define SIZEOF_INT $ac_cv_sizeof_int
22977 { echo "$as_me:$LINENO: checking for long" >&5
22978 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22979 if test "${ac_cv_type_long+set}" = set; then
22980 echo $ECHO_N "(cached) $ECHO_C" >&6
22982 cat >conftest.$ac_ext <<_ACEOF
22985 cat confdefs.h >>conftest.$ac_ext
22986 cat >>conftest.$ac_ext <<_ACEOF
22987 /* end confdefs.h. */
22988 $ac_includes_default
22989 typedef long ac__type_new_;
22993 if ((ac__type_new_ *) 0)
22995 if (sizeof (ac__type_new_))
23001 rm -f conftest.$ac_objext
23002 if { (ac_try="$ac_compile"
23003 case "(($ac_try" in
23004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23005 *) ac_try_echo=$ac_try;;
23007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23008 (eval "$ac_compile") 2>conftest.er1
23010 grep -v '^ *+' conftest.er1 >conftest.err
23012 cat conftest.err >&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } && {
23015 test -z "$ac_c_werror_flag" ||
23016 test ! -s conftest.err
23017 } && test -s conftest.$ac_objext; then
23018 ac_cv_type_long=yes
23020 echo "$as_me: failed program was:" >&5
23021 sed 's/^/| /' conftest.$ac_ext >&5
23026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23028 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23029 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23031 # The cast to long int works around a bug in the HP C Compiler
23032 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23033 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23034 # This bug is HP SR number 8606223364.
23035 { echo "$as_me:$LINENO: checking size of long" >&5
23036 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23037 if test "${ac_cv_sizeof_long+set}" = set; then
23038 echo $ECHO_N "(cached) $ECHO_C" >&6
23040 if test "$cross_compiling" = yes; then
23041 # Depending upon the size, compute the lo and hi bounds.
23042 cat >conftest.$ac_ext <<_ACEOF
23045 cat confdefs.h >>conftest.$ac_ext
23046 cat >>conftest.$ac_ext <<_ACEOF
23047 /* end confdefs.h. */
23048 $ac_includes_default
23049 typedef long ac__type_sizeof_;
23053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23060 rm -f conftest.$ac_objext
23061 if { (ac_try="$ac_compile"
23062 case "(($ac_try" in
23063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23064 *) ac_try_echo=$ac_try;;
23066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23067 (eval "$ac_compile") 2>conftest.er1
23069 grep -v '^ *+' conftest.er1 >conftest.err
23071 cat conftest.err >&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } && {
23074 test -z "$ac_c_werror_flag" ||
23075 test ! -s conftest.err
23076 } && test -s conftest.$ac_objext; then
23079 cat >conftest.$ac_ext <<_ACEOF
23082 cat confdefs.h >>conftest.$ac_ext
23083 cat >>conftest.$ac_ext <<_ACEOF
23084 /* end confdefs.h. */
23085 $ac_includes_default
23086 typedef long ac__type_sizeof_;
23090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23097 rm -f conftest.$ac_objext
23098 if { (ac_try="$ac_compile"
23099 case "(($ac_try" in
23100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23101 *) ac_try_echo=$ac_try;;
23103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23104 (eval "$ac_compile") 2>conftest.er1
23106 grep -v '^ *+' conftest.er1 >conftest.err
23108 cat conftest.err >&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); } && {
23111 test -z "$ac_c_werror_flag" ||
23112 test ! -s conftest.err
23113 } && test -s conftest.$ac_objext; then
23114 ac_hi=$ac_mid; break
23116 echo "$as_me: failed program was:" >&5
23117 sed 's/^/| /' conftest.$ac_ext >&5
23119 ac_lo=`expr $ac_mid + 1`
23120 if test $ac_lo -le $ac_mid; then
23124 ac_mid=`expr 2 '*' $ac_mid + 1`
23127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23133 cat >conftest.$ac_ext <<_ACEOF
23136 cat confdefs.h >>conftest.$ac_ext
23137 cat >>conftest.$ac_ext <<_ACEOF
23138 /* end confdefs.h. */
23139 $ac_includes_default
23140 typedef long ac__type_sizeof_;
23144 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23151 rm -f conftest.$ac_objext
23152 if { (ac_try="$ac_compile"
23153 case "(($ac_try" in
23154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23155 *) ac_try_echo=$ac_try;;
23157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23158 (eval "$ac_compile") 2>conftest.er1
23160 grep -v '^ *+' conftest.er1 >conftest.err
23162 cat conftest.err >&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } && {
23165 test -z "$ac_c_werror_flag" ||
23166 test ! -s conftest.err
23167 } && test -s conftest.$ac_objext; then
23170 cat >conftest.$ac_ext <<_ACEOF
23173 cat confdefs.h >>conftest.$ac_ext
23174 cat >>conftest.$ac_ext <<_ACEOF
23175 /* end confdefs.h. */
23176 $ac_includes_default
23177 typedef long ac__type_sizeof_;
23181 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23188 rm -f conftest.$ac_objext
23189 if { (ac_try="$ac_compile"
23190 case "(($ac_try" in
23191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23192 *) ac_try_echo=$ac_try;;
23194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23195 (eval "$ac_compile") 2>conftest.er1
23197 grep -v '^ *+' conftest.er1 >conftest.err
23199 cat conftest.err >&5
23200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201 (exit $ac_status); } && {
23202 test -z "$ac_c_werror_flag" ||
23203 test ! -s conftest.err
23204 } && test -s conftest.$ac_objext; then
23205 ac_lo=$ac_mid; break
23207 echo "$as_me: failed program was:" >&5
23208 sed 's/^/| /' conftest.$ac_ext >&5
23210 ac_hi=`expr '(' $ac_mid ')' - 1`
23211 if test $ac_mid -le $ac_hi; then
23215 ac_mid=`expr 2 '*' $ac_mid`
23218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23231 # Binary search between lo and hi bounds.
23232 while test "x$ac_lo" != "x$ac_hi"; do
23233 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23234 cat >conftest.$ac_ext <<_ACEOF
23237 cat confdefs.h >>conftest.$ac_ext
23238 cat >>conftest.$ac_ext <<_ACEOF
23239 /* end confdefs.h. */
23240 $ac_includes_default
23241 typedef long ac__type_sizeof_;
23245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23252 rm -f conftest.$ac_objext
23253 if { (ac_try="$ac_compile"
23254 case "(($ac_try" in
23255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23256 *) ac_try_echo=$ac_try;;
23258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23259 (eval "$ac_compile") 2>conftest.er1
23261 grep -v '^ *+' conftest.er1 >conftest.err
23263 cat conftest.err >&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); } && {
23266 test -z "$ac_c_werror_flag" ||
23267 test ! -s conftest.err
23268 } && test -s conftest.$ac_objext; then
23271 echo "$as_me: failed program was:" >&5
23272 sed 's/^/| /' conftest.$ac_ext >&5
23274 ac_lo=`expr '(' $ac_mid ')' + 1`
23277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23280 ?*) ac_cv_sizeof_long=$ac_lo;;
23281 '') if test "$ac_cv_type_long" = yes; then
23282 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23283 See \`config.log' for more details." >&5
23284 echo "$as_me: error: cannot compute sizeof (long)
23285 See \`config.log' for more details." >&2;}
23286 { (exit 77); exit 77; }; }
23288 ac_cv_sizeof_long=0
23292 cat >conftest.$ac_ext <<_ACEOF
23295 cat confdefs.h >>conftest.$ac_ext
23296 cat >>conftest.$ac_ext <<_ACEOF
23297 /* end confdefs.h. */
23298 $ac_includes_default
23299 typedef long ac__type_sizeof_;
23300 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23301 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23303 #include <stdlib.h>
23308 FILE *f = fopen ("conftest.val", "w");
23311 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23313 long int i = longval ();
23314 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23316 fprintf (f, "%ld\n", i);
23320 unsigned long int i = ulongval ();
23321 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23323 fprintf (f, "%lu\n", i);
23325 return ferror (f) || fclose (f) != 0;
23331 rm -f conftest$ac_exeext
23332 if { (ac_try="$ac_link"
23333 case "(($ac_try" in
23334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23335 *) ac_try_echo=$ac_try;;
23337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23338 (eval "$ac_link") 2>&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23342 { (case "(($ac_try" in
23343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23344 *) ac_try_echo=$ac_try;;
23346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23347 (eval "$ac_try") 2>&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; }; then
23351 ac_cv_sizeof_long=`cat conftest.val`
23353 echo "$as_me: program exited with status $ac_status" >&5
23354 echo "$as_me: failed program was:" >&5
23355 sed 's/^/| /' conftest.$ac_ext >&5
23357 ( exit $ac_status )
23358 if test "$ac_cv_type_long" = yes; then
23359 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23360 See \`config.log' for more details." >&5
23361 echo "$as_me: error: cannot compute sizeof (long)
23362 See \`config.log' for more details." >&2;}
23363 { (exit 77); exit 77; }; }
23365 ac_cv_sizeof_long=0
23368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23372 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23373 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23377 cat >>confdefs.h <<_ACEOF
23378 #define SIZEOF_LONG $ac_cv_sizeof_long
23382 { echo "$as_me:$LINENO: checking for size_t" >&5
23383 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23384 if test "${ac_cv_type_size_t+set}" = set; then
23385 echo $ECHO_N "(cached) $ECHO_C" >&6
23387 cat >conftest.$ac_ext <<_ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 $ac_includes_default
23394 typedef size_t ac__type_new_;
23398 if ((ac__type_new_ *) 0)
23400 if (sizeof (ac__type_new_))
23406 rm -f conftest.$ac_objext
23407 if { (ac_try="$ac_compile"
23408 case "(($ac_try" in
23409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23410 *) ac_try_echo=$ac_try;;
23412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23413 (eval "$ac_compile") 2>conftest.er1
23415 grep -v '^ *+' conftest.er1 >conftest.err
23417 cat conftest.err >&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); } && {
23420 test -z "$ac_c_werror_flag" ||
23421 test ! -s conftest.err
23422 } && test -s conftest.$ac_objext; then
23423 ac_cv_type_size_t=yes
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.$ac_ext >&5
23428 ac_cv_type_size_t=no
23431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23433 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23434 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23436 # The cast to long int works around a bug in the HP C Compiler
23437 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23438 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23439 # This bug is HP SR number 8606223364.
23440 { echo "$as_me:$LINENO: checking size of size_t" >&5
23441 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23442 if test "${ac_cv_sizeof_size_t+set}" = set; then
23443 echo $ECHO_N "(cached) $ECHO_C" >&6
23445 if test "$cross_compiling" = yes; then
23446 # Depending upon the size, compute the lo and hi bounds.
23447 cat >conftest.$ac_ext <<_ACEOF
23450 cat confdefs.h >>conftest.$ac_ext
23451 cat >>conftest.$ac_ext <<_ACEOF
23452 /* end confdefs.h. */
23453 $ac_includes_default
23454 typedef size_t ac__type_sizeof_;
23458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23465 rm -f conftest.$ac_objext
23466 if { (ac_try="$ac_compile"
23467 case "(($ac_try" in
23468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23469 *) ac_try_echo=$ac_try;;
23471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23472 (eval "$ac_compile") 2>conftest.er1
23474 grep -v '^ *+' conftest.er1 >conftest.err
23476 cat conftest.err >&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); } && {
23479 test -z "$ac_c_werror_flag" ||
23480 test ! -s conftest.err
23481 } && test -s conftest.$ac_objext; then
23484 cat >conftest.$ac_ext <<_ACEOF
23487 cat confdefs.h >>conftest.$ac_ext
23488 cat >>conftest.$ac_ext <<_ACEOF
23489 /* end confdefs.h. */
23490 $ac_includes_default
23491 typedef size_t ac__type_sizeof_;
23495 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23502 rm -f conftest.$ac_objext
23503 if { (ac_try="$ac_compile"
23504 case "(($ac_try" in
23505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23506 *) ac_try_echo=$ac_try;;
23508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23509 (eval "$ac_compile") 2>conftest.er1
23511 grep -v '^ *+' conftest.er1 >conftest.err
23513 cat conftest.err >&5
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); } && {
23516 test -z "$ac_c_werror_flag" ||
23517 test ! -s conftest.err
23518 } && test -s conftest.$ac_objext; then
23519 ac_hi=$ac_mid; break
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.$ac_ext >&5
23524 ac_lo=`expr $ac_mid + 1`
23525 if test $ac_lo -le $ac_mid; then
23529 ac_mid=`expr 2 '*' $ac_mid + 1`
23532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23535 echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23538 cat >conftest.$ac_ext <<_ACEOF
23541 cat confdefs.h >>conftest.$ac_ext
23542 cat >>conftest.$ac_ext <<_ACEOF
23543 /* end confdefs.h. */
23544 $ac_includes_default
23545 typedef size_t ac__type_sizeof_;
23549 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23556 rm -f conftest.$ac_objext
23557 if { (ac_try="$ac_compile"
23558 case "(($ac_try" in
23559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23560 *) ac_try_echo=$ac_try;;
23562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23563 (eval "$ac_compile") 2>conftest.er1
23565 grep -v '^ *+' conftest.er1 >conftest.err
23567 cat conftest.err >&5
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); } && {
23570 test -z "$ac_c_werror_flag" ||
23571 test ! -s conftest.err
23572 } && test -s conftest.$ac_objext; then
23575 cat >conftest.$ac_ext <<_ACEOF
23578 cat confdefs.h >>conftest.$ac_ext
23579 cat >>conftest.$ac_ext <<_ACEOF
23580 /* end confdefs.h. */
23581 $ac_includes_default
23582 typedef size_t ac__type_sizeof_;
23586 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23593 rm -f conftest.$ac_objext
23594 if { (ac_try="$ac_compile"
23595 case "(($ac_try" in
23596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23597 *) ac_try_echo=$ac_try;;
23599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23600 (eval "$ac_compile") 2>conftest.er1
23602 grep -v '^ *+' conftest.er1 >conftest.err
23604 cat conftest.err >&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); } && {
23607 test -z "$ac_c_werror_flag" ||
23608 test ! -s conftest.err
23609 } && test -s conftest.$ac_objext; then
23610 ac_lo=$ac_mid; break
23612 echo "$as_me: failed program was:" >&5
23613 sed 's/^/| /' conftest.$ac_ext >&5
23615 ac_hi=`expr '(' $ac_mid ')' - 1`
23616 if test $ac_mid -le $ac_hi; then
23620 ac_mid=`expr 2 '*' $ac_mid`
23623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23626 echo "$as_me: failed program was:" >&5
23627 sed 's/^/| /' conftest.$ac_ext >&5
23632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23636 # Binary search between lo and hi bounds.
23637 while test "x$ac_lo" != "x$ac_hi"; do
23638 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23639 cat >conftest.$ac_ext <<_ACEOF
23642 cat confdefs.h >>conftest.$ac_ext
23643 cat >>conftest.$ac_ext <<_ACEOF
23644 /* end confdefs.h. */
23645 $ac_includes_default
23646 typedef size_t ac__type_sizeof_;
23650 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23657 rm -f conftest.$ac_objext
23658 if { (ac_try="$ac_compile"
23659 case "(($ac_try" in
23660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23661 *) ac_try_echo=$ac_try;;
23663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23664 (eval "$ac_compile") 2>conftest.er1
23666 grep -v '^ *+' conftest.er1 >conftest.err
23668 cat conftest.err >&5
23669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23670 (exit $ac_status); } && {
23671 test -z "$ac_c_werror_flag" ||
23672 test ! -s conftest.err
23673 } && test -s conftest.$ac_objext; then
23676 echo "$as_me: failed program was:" >&5
23677 sed 's/^/| /' conftest.$ac_ext >&5
23679 ac_lo=`expr '(' $ac_mid ')' + 1`
23682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23685 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23686 '') if test "$ac_cv_type_size_t" = yes; then
23687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23688 See \`config.log' for more details." >&5
23689 echo "$as_me: error: cannot compute sizeof (size_t)
23690 See \`config.log' for more details." >&2;}
23691 { (exit 77); exit 77; }; }
23693 ac_cv_sizeof_size_t=0
23697 cat >conftest.$ac_ext <<_ACEOF
23700 cat confdefs.h >>conftest.$ac_ext
23701 cat >>conftest.$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703 $ac_includes_default
23704 typedef size_t ac__type_sizeof_;
23705 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23706 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23708 #include <stdlib.h>
23713 FILE *f = fopen ("conftest.val", "w");
23716 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23718 long int i = longval ();
23719 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23721 fprintf (f, "%ld\n", i);
23725 unsigned long int i = ulongval ();
23726 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23728 fprintf (f, "%lu\n", i);
23730 return ferror (f) || fclose (f) != 0;
23736 rm -f conftest$ac_exeext
23737 if { (ac_try="$ac_link"
23738 case "(($ac_try" in
23739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23740 *) ac_try_echo=$ac_try;;
23742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23743 (eval "$ac_link") 2>&5
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23747 { (case "(($ac_try" in
23748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23749 *) ac_try_echo=$ac_try;;
23751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23752 (eval "$ac_try") 2>&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); }; }; then
23756 ac_cv_sizeof_size_t=`cat conftest.val`
23758 echo "$as_me: program exited with status $ac_status" >&5
23759 echo "$as_me: failed program was:" >&5
23760 sed 's/^/| /' conftest.$ac_ext >&5
23762 ( exit $ac_status )
23763 if test "$ac_cv_type_size_t" = yes; then
23764 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23765 See \`config.log' for more details." >&5
23766 echo "$as_me: error: cannot compute sizeof (size_t)
23767 See \`config.log' for more details." >&2;}
23768 { (exit 77); exit 77; }; }
23770 ac_cv_sizeof_size_t=0
23773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23777 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23778 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23782 cat >>confdefs.h <<_ACEOF
23783 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23790 { echo "$as_me:$LINENO: checking for long long" >&5
23791 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23792 if test "${ac_cv_type_long_long+set}" = set; then
23793 echo $ECHO_N "(cached) $ECHO_C" >&6
23795 cat >conftest.$ac_ext <<_ACEOF
23798 cat confdefs.h >>conftest.$ac_ext
23799 cat >>conftest.$ac_ext <<_ACEOF
23800 /* end confdefs.h. */
23801 $ac_includes_default
23802 typedef long long ac__type_new_;
23806 if ((ac__type_new_ *) 0)
23808 if (sizeof (ac__type_new_))
23814 rm -f conftest.$ac_objext
23815 if { (ac_try="$ac_compile"
23816 case "(($ac_try" in
23817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23818 *) ac_try_echo=$ac_try;;
23820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23821 (eval "$ac_compile") 2>conftest.er1
23823 grep -v '^ *+' conftest.er1 >conftest.err
23825 cat conftest.err >&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); } && {
23828 test -z "$ac_c_werror_flag" ||
23829 test ! -s conftest.err
23830 } && test -s conftest.$ac_objext; then
23831 ac_cv_type_long_long=yes
23833 echo "$as_me: failed program was:" >&5
23834 sed 's/^/| /' conftest.$ac_ext >&5
23836 ac_cv_type_long_long=no
23839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23841 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23842 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23844 # The cast to long int works around a bug in the HP C Compiler
23845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23847 # This bug is HP SR number 8606223364.
23848 { echo "$as_me:$LINENO: checking size of long long" >&5
23849 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23850 if test "${ac_cv_sizeof_long_long+set}" = set; then
23851 echo $ECHO_N "(cached) $ECHO_C" >&6
23853 if test "$cross_compiling" = yes; then
23854 # Depending upon the size, compute the lo and hi bounds.
23855 cat >conftest.$ac_ext <<_ACEOF
23858 cat confdefs.h >>conftest.$ac_ext
23859 cat >>conftest.$ac_ext <<_ACEOF
23860 /* end confdefs.h. */
23861 $ac_includes_default
23862 typedef long long ac__type_sizeof_;
23866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23873 rm -f conftest.$ac_objext
23874 if { (ac_try="$ac_compile"
23875 case "(($ac_try" in
23876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23877 *) ac_try_echo=$ac_try;;
23879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23880 (eval "$ac_compile") 2>conftest.er1
23882 grep -v '^ *+' conftest.er1 >conftest.err
23884 cat conftest.err >&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); } && {
23887 test -z "$ac_c_werror_flag" ||
23888 test ! -s conftest.err
23889 } && test -s conftest.$ac_objext; then
23892 cat >conftest.$ac_ext <<_ACEOF
23895 cat confdefs.h >>conftest.$ac_ext
23896 cat >>conftest.$ac_ext <<_ACEOF
23897 /* end confdefs.h. */
23898 $ac_includes_default
23899 typedef long long ac__type_sizeof_;
23903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23910 rm -f conftest.$ac_objext
23911 if { (ac_try="$ac_compile"
23912 case "(($ac_try" in
23913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23914 *) ac_try_echo=$ac_try;;
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_compile") 2>conftest.er1
23919 grep -v '^ *+' conftest.er1 >conftest.err
23921 cat conftest.err >&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } && {
23924 test -z "$ac_c_werror_flag" ||
23925 test ! -s conftest.err
23926 } && test -s conftest.$ac_objext; then
23927 ac_hi=$ac_mid; break
23929 echo "$as_me: failed program was:" >&5
23930 sed 's/^/| /' conftest.$ac_ext >&5
23932 ac_lo=`expr $ac_mid + 1`
23933 if test $ac_lo -le $ac_mid; then
23937 ac_mid=`expr 2 '*' $ac_mid + 1`
23940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23943 echo "$as_me: failed program was:" >&5
23944 sed 's/^/| /' conftest.$ac_ext >&5
23946 cat >conftest.$ac_ext <<_ACEOF
23949 cat confdefs.h >>conftest.$ac_ext
23950 cat >>conftest.$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23952 $ac_includes_default
23953 typedef long long ac__type_sizeof_;
23957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23964 rm -f conftest.$ac_objext
23965 if { (ac_try="$ac_compile"
23966 case "(($ac_try" in
23967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23968 *) ac_try_echo=$ac_try;;
23970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23971 (eval "$ac_compile") 2>conftest.er1
23973 grep -v '^ *+' conftest.er1 >conftest.err
23975 cat conftest.err >&5
23976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23977 (exit $ac_status); } && {
23978 test -z "$ac_c_werror_flag" ||
23979 test ! -s conftest.err
23980 } && test -s conftest.$ac_objext; then
23983 cat >conftest.$ac_ext <<_ACEOF
23986 cat confdefs.h >>conftest.$ac_ext
23987 cat >>conftest.$ac_ext <<_ACEOF
23988 /* end confdefs.h. */
23989 $ac_includes_default
23990 typedef long long ac__type_sizeof_;
23994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24001 rm -f conftest.$ac_objext
24002 if { (ac_try="$ac_compile"
24003 case "(($ac_try" in
24004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24005 *) ac_try_echo=$ac_try;;
24007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24008 (eval "$ac_compile") 2>conftest.er1
24010 grep -v '^ *+' conftest.er1 >conftest.err
24012 cat conftest.err >&5
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); } && {
24015 test -z "$ac_c_werror_flag" ||
24016 test ! -s conftest.err
24017 } && test -s conftest.$ac_objext; then
24018 ac_lo=$ac_mid; break
24020 echo "$as_me: failed program was:" >&5
24021 sed 's/^/| /' conftest.$ac_ext >&5
24023 ac_hi=`expr '(' $ac_mid ')' - 1`
24024 if test $ac_mid -le $ac_hi; then
24028 ac_mid=`expr 2 '*' $ac_mid`
24031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24034 echo "$as_me: failed program was:" >&5
24035 sed 's/^/| /' conftest.$ac_ext >&5
24040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24044 # Binary search between lo and hi bounds.
24045 while test "x$ac_lo" != "x$ac_hi"; do
24046 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24047 cat >conftest.$ac_ext <<_ACEOF
24050 cat confdefs.h >>conftest.$ac_ext
24051 cat >>conftest.$ac_ext <<_ACEOF
24052 /* end confdefs.h. */
24053 $ac_includes_default
24054 typedef long long ac__type_sizeof_;
24058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24065 rm -f conftest.$ac_objext
24066 if { (ac_try="$ac_compile"
24067 case "(($ac_try" in
24068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24069 *) ac_try_echo=$ac_try;;
24071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24072 (eval "$ac_compile") 2>conftest.er1
24074 grep -v '^ *+' conftest.er1 >conftest.err
24076 cat conftest.err >&5
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); } && {
24079 test -z "$ac_c_werror_flag" ||
24080 test ! -s conftest.err
24081 } && test -s conftest.$ac_objext; then
24084 echo "$as_me: failed program was:" >&5
24085 sed 's/^/| /' conftest.$ac_ext >&5
24087 ac_lo=`expr '(' $ac_mid ')' + 1`
24090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24093 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24094 '') if test "$ac_cv_type_long_long" = yes; then
24095 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24096 See \`config.log' for more details." >&5
24097 echo "$as_me: error: cannot compute sizeof (long long)
24098 See \`config.log' for more details." >&2;}
24099 { (exit 77); exit 77; }; }
24101 ac_cv_sizeof_long_long=0
24105 cat >conftest.$ac_ext <<_ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24111 $ac_includes_default
24112 typedef long long ac__type_sizeof_;
24113 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24114 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24116 #include <stdlib.h>
24121 FILE *f = fopen ("conftest.val", "w");
24124 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24126 long int i = longval ();
24127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24129 fprintf (f, "%ld\n", i);
24133 unsigned long int i = ulongval ();
24134 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24136 fprintf (f, "%lu\n", i);
24138 return ferror (f) || fclose (f) != 0;
24144 rm -f conftest$ac_exeext
24145 if { (ac_try="$ac_link"
24146 case "(($ac_try" in
24147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24148 *) ac_try_echo=$ac_try;;
24150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24151 (eval "$ac_link") 2>&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24155 { (case "(($ac_try" in
24156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24157 *) ac_try_echo=$ac_try;;
24159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24160 (eval "$ac_try") 2>&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); }; }; then
24164 ac_cv_sizeof_long_long=`cat conftest.val`
24166 echo "$as_me: program exited with status $ac_status" >&5
24167 echo "$as_me: failed program was:" >&5
24168 sed 's/^/| /' conftest.$ac_ext >&5
24170 ( exit $ac_status )
24171 if test "$ac_cv_type_long_long" = yes; then
24172 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24173 See \`config.log' for more details." >&5
24174 echo "$as_me: error: cannot compute sizeof (long long)
24175 See \`config.log' for more details." >&2;}
24176 { (exit 77); exit 77; }; }
24178 ac_cv_sizeof_long_long=0
24181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24185 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24186 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24190 cat >>confdefs.h <<_ACEOF
24191 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24197 { echo "$as_me:$LINENO: checking for long long" >&5
24198 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24199 if test "${ac_cv_type_long_long+set}" = set; then
24200 echo $ECHO_N "(cached) $ECHO_C" >&6
24202 cat >conftest.$ac_ext <<_ACEOF
24205 cat confdefs.h >>conftest.$ac_ext
24206 cat >>conftest.$ac_ext <<_ACEOF
24207 /* end confdefs.h. */
24208 $ac_includes_default
24209 typedef long long ac__type_new_;
24213 if ((ac__type_new_ *) 0)
24215 if (sizeof (ac__type_new_))
24221 rm -f conftest.$ac_objext
24222 if { (ac_try="$ac_compile"
24223 case "(($ac_try" in
24224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24225 *) ac_try_echo=$ac_try;;
24227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24228 (eval "$ac_compile") 2>conftest.er1
24230 grep -v '^ *+' conftest.er1 >conftest.err
24232 cat conftest.err >&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); } && {
24235 test -z "$ac_c_werror_flag" ||
24236 test ! -s conftest.err
24237 } && test -s conftest.$ac_objext; then
24238 ac_cv_type_long_long=yes
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.$ac_ext >&5
24243 ac_cv_type_long_long=no
24246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24248 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24249 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24251 # The cast to long int works around a bug in the HP C Compiler
24252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24254 # This bug is HP SR number 8606223364.
24255 { echo "$as_me:$LINENO: checking size of long long" >&5
24256 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24257 if test "${ac_cv_sizeof_long_long+set}" = set; then
24258 echo $ECHO_N "(cached) $ECHO_C" >&6
24260 if test "$cross_compiling" = yes; then
24261 # Depending upon the size, compute the lo and hi bounds.
24262 cat >conftest.$ac_ext <<_ACEOF
24265 cat confdefs.h >>conftest.$ac_ext
24266 cat >>conftest.$ac_ext <<_ACEOF
24267 /* end confdefs.h. */
24268 $ac_includes_default
24269 typedef long long ac__type_sizeof_;
24273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24280 rm -f conftest.$ac_objext
24281 if { (ac_try="$ac_compile"
24282 case "(($ac_try" in
24283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24284 *) ac_try_echo=$ac_try;;
24286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24287 (eval "$ac_compile") 2>conftest.er1
24289 grep -v '^ *+' conftest.er1 >conftest.err
24291 cat conftest.err >&5
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); } && {
24294 test -z "$ac_c_werror_flag" ||
24295 test ! -s conftest.err
24296 } && test -s conftest.$ac_objext; then
24299 cat >conftest.$ac_ext <<_ACEOF
24302 cat confdefs.h >>conftest.$ac_ext
24303 cat >>conftest.$ac_ext <<_ACEOF
24304 /* end confdefs.h. */
24305 $ac_includes_default
24306 typedef long long ac__type_sizeof_;
24310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24317 rm -f conftest.$ac_objext
24318 if { (ac_try="$ac_compile"
24319 case "(($ac_try" in
24320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24321 *) ac_try_echo=$ac_try;;
24323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24324 (eval "$ac_compile") 2>conftest.er1
24326 grep -v '^ *+' conftest.er1 >conftest.err
24328 cat conftest.err >&5
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); } && {
24331 test -z "$ac_c_werror_flag" ||
24332 test ! -s conftest.err
24333 } && test -s conftest.$ac_objext; then
24334 ac_hi=$ac_mid; break
24336 echo "$as_me: failed program was:" >&5
24337 sed 's/^/| /' conftest.$ac_ext >&5
24339 ac_lo=`expr $ac_mid + 1`
24340 if test $ac_lo -le $ac_mid; then
24344 ac_mid=`expr 2 '*' $ac_mid + 1`
24347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24350 echo "$as_me: failed program was:" >&5
24351 sed 's/^/| /' conftest.$ac_ext >&5
24353 cat >conftest.$ac_ext <<_ACEOF
24356 cat confdefs.h >>conftest.$ac_ext
24357 cat >>conftest.$ac_ext <<_ACEOF
24358 /* end confdefs.h. */
24359 $ac_includes_default
24360 typedef long long ac__type_sizeof_;
24364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24371 rm -f conftest.$ac_objext
24372 if { (ac_try="$ac_compile"
24373 case "(($ac_try" in
24374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24375 *) ac_try_echo=$ac_try;;
24377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24378 (eval "$ac_compile") 2>conftest.er1
24380 grep -v '^ *+' conftest.er1 >conftest.err
24382 cat conftest.err >&5
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); } && {
24385 test -z "$ac_c_werror_flag" ||
24386 test ! -s conftest.err
24387 } && test -s conftest.$ac_objext; then
24390 cat >conftest.$ac_ext <<_ACEOF
24393 cat confdefs.h >>conftest.$ac_ext
24394 cat >>conftest.$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24396 $ac_includes_default
24397 typedef long long ac__type_sizeof_;
24401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24408 rm -f conftest.$ac_objext
24409 if { (ac_try="$ac_compile"
24410 case "(($ac_try" in
24411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24412 *) ac_try_echo=$ac_try;;
24414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24415 (eval "$ac_compile") 2>conftest.er1
24417 grep -v '^ *+' conftest.er1 >conftest.err
24419 cat conftest.err >&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); } && {
24422 test -z "$ac_c_werror_flag" ||
24423 test ! -s conftest.err
24424 } && test -s conftest.$ac_objext; then
24425 ac_lo=$ac_mid; break
24427 echo "$as_me: failed program was:" >&5
24428 sed 's/^/| /' conftest.$ac_ext >&5
24430 ac_hi=`expr '(' $ac_mid ')' - 1`
24431 if test $ac_mid -le $ac_hi; then
24435 ac_mid=`expr 2 '*' $ac_mid`
24438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24441 echo "$as_me: failed program was:" >&5
24442 sed 's/^/| /' conftest.$ac_ext >&5
24447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24451 # Binary search between lo and hi bounds.
24452 while test "x$ac_lo" != "x$ac_hi"; do
24453 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24454 cat >conftest.$ac_ext <<_ACEOF
24457 cat confdefs.h >>conftest.$ac_ext
24458 cat >>conftest.$ac_ext <<_ACEOF
24459 /* end confdefs.h. */
24460 $ac_includes_default
24461 typedef long long ac__type_sizeof_;
24465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24472 rm -f conftest.$ac_objext
24473 if { (ac_try="$ac_compile"
24474 case "(($ac_try" in
24475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24476 *) ac_try_echo=$ac_try;;
24478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24479 (eval "$ac_compile") 2>conftest.er1
24481 grep -v '^ *+' conftest.er1 >conftest.err
24483 cat conftest.err >&5
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); } && {
24486 test -z "$ac_c_werror_flag" ||
24487 test ! -s conftest.err
24488 } && test -s conftest.$ac_objext; then
24491 echo "$as_me: failed program was:" >&5
24492 sed 's/^/| /' conftest.$ac_ext >&5
24494 ac_lo=`expr '(' $ac_mid ')' + 1`
24497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24500 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24501 '') if test "$ac_cv_type_long_long" = yes; then
24502 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24503 See \`config.log' for more details." >&5
24504 echo "$as_me: error: cannot compute sizeof (long long)
24505 See \`config.log' for more details." >&2;}
24506 { (exit 77); exit 77; }; }
24508 ac_cv_sizeof_long_long=0
24512 cat >conftest.$ac_ext <<_ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518 $ac_includes_default
24519 typedef long long ac__type_sizeof_;
24520 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24521 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24523 #include <stdlib.h>
24528 FILE *f = fopen ("conftest.val", "w");
24531 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24533 long int i = longval ();
24534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24536 fprintf (f, "%ld\n", i);
24540 unsigned long int i = ulongval ();
24541 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24543 fprintf (f, "%lu\n", i);
24545 return ferror (f) || fclose (f) != 0;
24551 rm -f conftest$ac_exeext
24552 if { (ac_try="$ac_link"
24553 case "(($ac_try" in
24554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24555 *) ac_try_echo=$ac_try;;
24557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24558 (eval "$ac_link") 2>&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24562 { (case "(($ac_try" in
24563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24564 *) ac_try_echo=$ac_try;;
24566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24567 (eval "$ac_try") 2>&5
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); }; }; then
24571 ac_cv_sizeof_long_long=`cat conftest.val`
24573 echo "$as_me: program exited with status $ac_status" >&5
24574 echo "$as_me: failed program was:" >&5
24575 sed 's/^/| /' conftest.$ac_ext >&5
24577 ( exit $ac_status )
24578 if test "$ac_cv_type_long_long" = yes; then
24579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24580 See \`config.log' for more details." >&5
24581 echo "$as_me: error: cannot compute sizeof (long long)
24582 See \`config.log' for more details." >&2;}
24583 { (exit 77); exit 77; }; }
24585 ac_cv_sizeof_long_long=0
24588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24592 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24593 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24597 cat >>confdefs.h <<_ACEOF
24598 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24602 if test "$ac_cv_sizeof_long_long" != "0"; then
24603 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24607 { echo "$as_me:$LINENO: checking for long long" >&5
24608 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24609 if test "${ac_cv_type_long_long+set}" = set; then
24610 echo $ECHO_N "(cached) $ECHO_C" >&6
24612 cat >conftest.$ac_ext <<_ACEOF
24615 cat confdefs.h >>conftest.$ac_ext
24616 cat >>conftest.$ac_ext <<_ACEOF
24617 /* end confdefs.h. */
24618 $ac_includes_default
24619 typedef long long ac__type_new_;
24623 if ((ac__type_new_ *) 0)
24625 if (sizeof (ac__type_new_))
24631 rm -f conftest.$ac_objext
24632 if { (ac_try="$ac_compile"
24633 case "(($ac_try" in
24634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24635 *) ac_try_echo=$ac_try;;
24637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24638 (eval "$ac_compile") 2>conftest.er1
24640 grep -v '^ *+' conftest.er1 >conftest.err
24642 cat conftest.err >&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); } && {
24645 test -z "$ac_c_werror_flag" ||
24646 test ! -s conftest.err
24647 } && test -s conftest.$ac_objext; then
24648 ac_cv_type_long_long=yes
24650 echo "$as_me: failed program was:" >&5
24651 sed 's/^/| /' conftest.$ac_ext >&5
24653 ac_cv_type_long_long=no
24656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24658 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24659 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24661 # The cast to long int works around a bug in the HP C Compiler
24662 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24663 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24664 # This bug is HP SR number 8606223364.
24665 { echo "$as_me:$LINENO: checking size of long long" >&5
24666 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24667 if test "${ac_cv_sizeof_long_long+set}" = set; then
24668 echo $ECHO_N "(cached) $ECHO_C" >&6
24670 if test "$cross_compiling" = yes; then
24671 # Depending upon the size, compute the lo and hi bounds.
24672 cat >conftest.$ac_ext <<_ACEOF
24675 cat confdefs.h >>conftest.$ac_ext
24676 cat >>conftest.$ac_ext <<_ACEOF
24677 /* end confdefs.h. */
24678 $ac_includes_default
24679 typedef long long ac__type_sizeof_;
24683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24690 rm -f conftest.$ac_objext
24691 if { (ac_try="$ac_compile"
24692 case "(($ac_try" in
24693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24694 *) ac_try_echo=$ac_try;;
24696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24697 (eval "$ac_compile") 2>conftest.er1
24699 grep -v '^ *+' conftest.er1 >conftest.err
24701 cat conftest.err >&5
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); } && {
24704 test -z "$ac_c_werror_flag" ||
24705 test ! -s conftest.err
24706 } && test -s conftest.$ac_objext; then
24709 cat >conftest.$ac_ext <<_ACEOF
24712 cat confdefs.h >>conftest.$ac_ext
24713 cat >>conftest.$ac_ext <<_ACEOF
24714 /* end confdefs.h. */
24715 $ac_includes_default
24716 typedef long long ac__type_sizeof_;
24720 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24727 rm -f conftest.$ac_objext
24728 if { (ac_try="$ac_compile"
24729 case "(($ac_try" in
24730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24731 *) ac_try_echo=$ac_try;;
24733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24734 (eval "$ac_compile") 2>conftest.er1
24736 grep -v '^ *+' conftest.er1 >conftest.err
24738 cat conftest.err >&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); } && {
24741 test -z "$ac_c_werror_flag" ||
24742 test ! -s conftest.err
24743 } && test -s conftest.$ac_objext; then
24744 ac_hi=$ac_mid; break
24746 echo "$as_me: failed program was:" >&5
24747 sed 's/^/| /' conftest.$ac_ext >&5
24749 ac_lo=`expr $ac_mid + 1`
24750 if test $ac_lo -le $ac_mid; then
24754 ac_mid=`expr 2 '*' $ac_mid + 1`
24757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24760 echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.$ac_ext >&5
24763 cat >conftest.$ac_ext <<_ACEOF
24766 cat confdefs.h >>conftest.$ac_ext
24767 cat >>conftest.$ac_ext <<_ACEOF
24768 /* end confdefs.h. */
24769 $ac_includes_default
24770 typedef long long ac__type_sizeof_;
24774 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24781 rm -f conftest.$ac_objext
24782 if { (ac_try="$ac_compile"
24783 case "(($ac_try" in
24784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24785 *) ac_try_echo=$ac_try;;
24787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24788 (eval "$ac_compile") 2>conftest.er1
24790 grep -v '^ *+' conftest.er1 >conftest.err
24792 cat conftest.err >&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); } && {
24795 test -z "$ac_c_werror_flag" ||
24796 test ! -s conftest.err
24797 } && test -s conftest.$ac_objext; then
24800 cat >conftest.$ac_ext <<_ACEOF
24803 cat confdefs.h >>conftest.$ac_ext
24804 cat >>conftest.$ac_ext <<_ACEOF
24805 /* end confdefs.h. */
24806 $ac_includes_default
24807 typedef long long ac__type_sizeof_;
24811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24818 rm -f conftest.$ac_objext
24819 if { (ac_try="$ac_compile"
24820 case "(($ac_try" in
24821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24822 *) ac_try_echo=$ac_try;;
24824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24825 (eval "$ac_compile") 2>conftest.er1
24827 grep -v '^ *+' conftest.er1 >conftest.err
24829 cat conftest.err >&5
24830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24831 (exit $ac_status); } && {
24832 test -z "$ac_c_werror_flag" ||
24833 test ! -s conftest.err
24834 } && test -s conftest.$ac_objext; then
24835 ac_lo=$ac_mid; break
24837 echo "$as_me: failed program was:" >&5
24838 sed 's/^/| /' conftest.$ac_ext >&5
24840 ac_hi=`expr '(' $ac_mid ')' - 1`
24841 if test $ac_mid -le $ac_hi; then
24845 ac_mid=`expr 2 '*' $ac_mid`
24848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24851 echo "$as_me: failed program was:" >&5
24852 sed 's/^/| /' conftest.$ac_ext >&5
24857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24861 # Binary search between lo and hi bounds.
24862 while test "x$ac_lo" != "x$ac_hi"; do
24863 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24864 cat >conftest.$ac_ext <<_ACEOF
24867 cat confdefs.h >>conftest.$ac_ext
24868 cat >>conftest.$ac_ext <<_ACEOF
24869 /* end confdefs.h. */
24870 $ac_includes_default
24871 typedef long long ac__type_sizeof_;
24875 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24882 rm -f conftest.$ac_objext
24883 if { (ac_try="$ac_compile"
24884 case "(($ac_try" in
24885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24886 *) ac_try_echo=$ac_try;;
24888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24889 (eval "$ac_compile") 2>conftest.er1
24891 grep -v '^ *+' conftest.er1 >conftest.err
24893 cat conftest.err >&5
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); } && {
24896 test -z "$ac_c_werror_flag" ||
24897 test ! -s conftest.err
24898 } && test -s conftest.$ac_objext; then
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.$ac_ext >&5
24904 ac_lo=`expr '(' $ac_mid ')' + 1`
24907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24910 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24911 '') if test "$ac_cv_type_long_long" = yes; then
24912 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24913 See \`config.log' for more details." >&5
24914 echo "$as_me: error: cannot compute sizeof (long long)
24915 See \`config.log' for more details." >&2;}
24916 { (exit 77); exit 77; }; }
24918 ac_cv_sizeof_long_long=0
24922 cat >conftest.$ac_ext <<_ACEOF
24925 cat confdefs.h >>conftest.$ac_ext
24926 cat >>conftest.$ac_ext <<_ACEOF
24927 /* end confdefs.h. */
24928 $ac_includes_default
24929 typedef long long ac__type_sizeof_;
24930 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24931 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24933 #include <stdlib.h>
24938 FILE *f = fopen ("conftest.val", "w");
24941 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24943 long int i = longval ();
24944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24946 fprintf (f, "%ld\n", i);
24950 unsigned long int i = ulongval ();
24951 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24953 fprintf (f, "%lu\n", i);
24955 return ferror (f) || fclose (f) != 0;
24961 rm -f conftest$ac_exeext
24962 if { (ac_try="$ac_link"
24963 case "(($ac_try" in
24964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24965 *) ac_try_echo=$ac_try;;
24967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24968 (eval "$ac_link") 2>&5
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24972 { (case "(($ac_try" in
24973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24974 *) ac_try_echo=$ac_try;;
24976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24977 (eval "$ac_try") 2>&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; }; then
24981 ac_cv_sizeof_long_long=`cat conftest.val`
24983 echo "$as_me: program exited with status $ac_status" >&5
24984 echo "$as_me: failed program was:" >&5
24985 sed 's/^/| /' conftest.$ac_ext >&5
24987 ( exit $ac_status )
24988 if test "$ac_cv_type_long_long" = yes; then
24989 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24990 See \`config.log' for more details." >&5
24991 echo "$as_me: error: cannot compute sizeof (long long)
24992 See \`config.log' for more details." >&2;}
24993 { (exit 77); exit 77; }; }
24995 ac_cv_sizeof_long_long=0
24998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25002 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25003 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25007 cat >>confdefs.h <<_ACEOF
25008 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25014 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25015 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25016 if test "${ac_cv_type_wchar_t+set}" = set; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25019 cat >conftest.$ac_ext <<_ACEOF
25022 cat confdefs.h >>conftest.$ac_ext
25023 cat >>conftest.$ac_ext <<_ACEOF
25024 /* end confdefs.h. */
25026 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25027 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25028 # error "fake wchar_t"
25030 #ifdef HAVE_WCHAR_H
25032 # include <stddef.h>
25034 # include <wchar.h>
25036 #ifdef HAVE_STDLIB_H
25037 # include <stdlib.h>
25043 typedef wchar_t ac__type_new_;
25047 if ((ac__type_new_ *) 0)
25049 if (sizeof (ac__type_new_))
25055 rm -f conftest.$ac_objext
25056 if { (ac_try="$ac_compile"
25057 case "(($ac_try" in
25058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25059 *) ac_try_echo=$ac_try;;
25061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25062 (eval "$ac_compile") 2>conftest.er1
25064 grep -v '^ *+' conftest.er1 >conftest.err
25066 cat conftest.err >&5
25067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068 (exit $ac_status); } && {
25069 test -z "$ac_c_werror_flag" ||
25070 test ! -s conftest.err
25071 } && test -s conftest.$ac_objext; then
25072 ac_cv_type_wchar_t=yes
25074 echo "$as_me: failed program was:" >&5
25075 sed 's/^/| /' conftest.$ac_ext >&5
25077 ac_cv_type_wchar_t=no
25080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25082 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25083 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25085 # The cast to long int works around a bug in the HP C Compiler
25086 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25087 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25088 # This bug is HP SR number 8606223364.
25089 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25090 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25091 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25092 echo $ECHO_N "(cached) $ECHO_C" >&6
25094 if test "$cross_compiling" = yes; then
25095 # Depending upon the size, compute the lo and hi bounds.
25096 cat >conftest.$ac_ext <<_ACEOF
25099 cat confdefs.h >>conftest.$ac_ext
25100 cat >>conftest.$ac_ext <<_ACEOF
25101 /* end confdefs.h. */
25103 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25104 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25105 # error "fake wchar_t"
25107 #ifdef HAVE_WCHAR_H
25109 # include <stddef.h>
25111 # include <wchar.h>
25113 #ifdef HAVE_STDLIB_H
25114 # include <stdlib.h>
25120 typedef wchar_t ac__type_sizeof_;
25124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25131 rm -f conftest.$ac_objext
25132 if { (ac_try="$ac_compile"
25133 case "(($ac_try" in
25134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25135 *) ac_try_echo=$ac_try;;
25137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25138 (eval "$ac_compile") 2>conftest.er1
25140 grep -v '^ *+' conftest.er1 >conftest.err
25142 cat conftest.err >&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); } && {
25145 test -z "$ac_c_werror_flag" ||
25146 test ! -s conftest.err
25147 } && test -s conftest.$ac_objext; then
25150 cat >conftest.$ac_ext <<_ACEOF
25153 cat confdefs.h >>conftest.$ac_ext
25154 cat >>conftest.$ac_ext <<_ACEOF
25155 /* end confdefs.h. */
25157 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25158 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25159 # error "fake wchar_t"
25161 #ifdef HAVE_WCHAR_H
25163 # include <stddef.h>
25165 # include <wchar.h>
25167 #ifdef HAVE_STDLIB_H
25168 # include <stdlib.h>
25174 typedef wchar_t ac__type_sizeof_;
25178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25185 rm -f conftest.$ac_objext
25186 if { (ac_try="$ac_compile"
25187 case "(($ac_try" in
25188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25189 *) ac_try_echo=$ac_try;;
25191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25192 (eval "$ac_compile") 2>conftest.er1
25194 grep -v '^ *+' conftest.er1 >conftest.err
25196 cat conftest.err >&5
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); } && {
25199 test -z "$ac_c_werror_flag" ||
25200 test ! -s conftest.err
25201 } && test -s conftest.$ac_objext; then
25202 ac_hi=$ac_mid; break
25204 echo "$as_me: failed program was:" >&5
25205 sed 's/^/| /' conftest.$ac_ext >&5
25207 ac_lo=`expr $ac_mid + 1`
25208 if test $ac_lo -le $ac_mid; then
25212 ac_mid=`expr 2 '*' $ac_mid + 1`
25215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25218 echo "$as_me: failed program was:" >&5
25219 sed 's/^/| /' conftest.$ac_ext >&5
25221 cat >conftest.$ac_ext <<_ACEOF
25224 cat confdefs.h >>conftest.$ac_ext
25225 cat >>conftest.$ac_ext <<_ACEOF
25226 /* end confdefs.h. */
25228 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25229 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25230 # error "fake wchar_t"
25232 #ifdef HAVE_WCHAR_H
25234 # include <stddef.h>
25236 # include <wchar.h>
25238 #ifdef HAVE_STDLIB_H
25239 # include <stdlib.h>
25245 typedef wchar_t ac__type_sizeof_;
25249 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25256 rm -f conftest.$ac_objext
25257 if { (ac_try="$ac_compile"
25258 case "(($ac_try" in
25259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25260 *) ac_try_echo=$ac_try;;
25262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25263 (eval "$ac_compile") 2>conftest.er1
25265 grep -v '^ *+' conftest.er1 >conftest.err
25267 cat conftest.err >&5
25268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25269 (exit $ac_status); } && {
25270 test -z "$ac_c_werror_flag" ||
25271 test ! -s conftest.err
25272 } && test -s conftest.$ac_objext; then
25275 cat >conftest.$ac_ext <<_ACEOF
25278 cat confdefs.h >>conftest.$ac_ext
25279 cat >>conftest.$ac_ext <<_ACEOF
25280 /* end confdefs.h. */
25282 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25283 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25284 # error "fake wchar_t"
25286 #ifdef HAVE_WCHAR_H
25288 # include <stddef.h>
25290 # include <wchar.h>
25292 #ifdef HAVE_STDLIB_H
25293 # include <stdlib.h>
25299 typedef wchar_t ac__type_sizeof_;
25303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25310 rm -f conftest.$ac_objext
25311 if { (ac_try="$ac_compile"
25312 case "(($ac_try" in
25313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25314 *) ac_try_echo=$ac_try;;
25316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25317 (eval "$ac_compile") 2>conftest.er1
25319 grep -v '^ *+' conftest.er1 >conftest.err
25321 cat conftest.err >&5
25322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323 (exit $ac_status); } && {
25324 test -z "$ac_c_werror_flag" ||
25325 test ! -s conftest.err
25326 } && test -s conftest.$ac_objext; then
25327 ac_lo=$ac_mid; break
25329 echo "$as_me: failed program was:" >&5
25330 sed 's/^/| /' conftest.$ac_ext >&5
25332 ac_hi=`expr '(' $ac_mid ')' - 1`
25333 if test $ac_mid -le $ac_hi; then
25337 ac_mid=`expr 2 '*' $ac_mid`
25340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343 echo "$as_me: failed program was:" >&5
25344 sed 's/^/| /' conftest.$ac_ext >&5
25349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25353 # Binary search between lo and hi bounds.
25354 while test "x$ac_lo" != "x$ac_hi"; do
25355 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25356 cat >conftest.$ac_ext <<_ACEOF
25359 cat confdefs.h >>conftest.$ac_ext
25360 cat >>conftest.$ac_ext <<_ACEOF
25361 /* end confdefs.h. */
25363 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25364 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25365 # error "fake wchar_t"
25367 #ifdef HAVE_WCHAR_H
25369 # include <stddef.h>
25371 # include <wchar.h>
25373 #ifdef HAVE_STDLIB_H
25374 # include <stdlib.h>
25380 typedef wchar_t ac__type_sizeof_;
25384 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25391 rm -f conftest.$ac_objext
25392 if { (ac_try="$ac_compile"
25393 case "(($ac_try" in
25394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25395 *) ac_try_echo=$ac_try;;
25397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25398 (eval "$ac_compile") 2>conftest.er1
25400 grep -v '^ *+' conftest.er1 >conftest.err
25402 cat conftest.err >&5
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); } && {
25405 test -z "$ac_c_werror_flag" ||
25406 test ! -s conftest.err
25407 } && test -s conftest.$ac_objext; then
25410 echo "$as_me: failed program was:" >&5
25411 sed 's/^/| /' conftest.$ac_ext >&5
25413 ac_lo=`expr '(' $ac_mid ')' + 1`
25416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25419 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25420 '') if test "$ac_cv_type_wchar_t" = yes; then
25421 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25422 See \`config.log' for more details." >&5
25423 echo "$as_me: error: cannot compute sizeof (wchar_t)
25424 See \`config.log' for more details." >&2;}
25425 { (exit 77); exit 77; }; }
25427 ac_cv_sizeof_wchar_t=0
25431 cat >conftest.$ac_ext <<_ACEOF
25434 cat confdefs.h >>conftest.$ac_ext
25435 cat >>conftest.$ac_ext <<_ACEOF
25436 /* end confdefs.h. */
25438 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25439 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25440 # error "fake wchar_t"
25442 #ifdef HAVE_WCHAR_H
25444 # include <stddef.h>
25446 # include <wchar.h>
25448 #ifdef HAVE_STDLIB_H
25449 # include <stdlib.h>
25455 typedef wchar_t ac__type_sizeof_;
25456 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25457 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25459 #include <stdlib.h>
25464 FILE *f = fopen ("conftest.val", "w");
25467 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25469 long int i = longval ();
25470 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25472 fprintf (f, "%ld\n", i);
25476 unsigned long int i = ulongval ();
25477 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25479 fprintf (f, "%lu\n", i);
25481 return ferror (f) || fclose (f) != 0;
25487 rm -f conftest$ac_exeext
25488 if { (ac_try="$ac_link"
25489 case "(($ac_try" in
25490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25491 *) ac_try_echo=$ac_try;;
25493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25494 (eval "$ac_link") 2>&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25498 { (case "(($ac_try" in
25499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25500 *) ac_try_echo=$ac_try;;
25502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25503 (eval "$ac_try") 2>&5
25505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506 (exit $ac_status); }; }; then
25507 ac_cv_sizeof_wchar_t=`cat conftest.val`
25509 echo "$as_me: program exited with status $ac_status" >&5
25510 echo "$as_me: failed program was:" >&5
25511 sed 's/^/| /' conftest.$ac_ext >&5
25513 ( exit $ac_status )
25514 if test "$ac_cv_type_wchar_t" = yes; then
25515 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25516 See \`config.log' for more details." >&5
25517 echo "$as_me: error: cannot compute sizeof (wchar_t)
25518 See \`config.log' for more details." >&2;}
25519 { (exit 77); exit 77; }; }
25521 ac_cv_sizeof_wchar_t=0
25524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25528 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25529 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25533 cat >>confdefs.h <<_ACEOF
25534 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25538 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25544 { echo "$as_me:$LINENO: checking for va_copy" >&5
25545 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25546 if test "${wx_cv_func_va_copy+set}" = set; then
25547 echo $ECHO_N "(cached) $ECHO_C" >&6
25551 ac_cpp='$CXXCPP $CPPFLAGS'
25552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25556 cat >conftest.$ac_ext <<_ACEOF
25558 #include <stdarg.h>
25559 void foo(char *f, ...)
25573 rm -f conftest.$ac_objext conftest$ac_exeext
25574 if { (ac_try="$ac_link"
25575 case "(($ac_try" in
25576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25577 *) ac_try_echo=$ac_try;;
25579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25580 (eval "$ac_link") 2>conftest.er1
25582 grep -v '^ *+' conftest.er1 >conftest.err
25584 cat conftest.err >&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); } && {
25587 test -z "$ac_cxx_werror_flag" ||
25588 test ! -s conftest.err
25589 } && test -s conftest$ac_exeext &&
25590 $as_test_x conftest$ac_exeext; then
25591 wx_cv_func_va_copy=yes
25593 echo "$as_me: failed program was:" >&5
25594 sed 's/^/| /' conftest.$ac_ext >&5
25596 wx_cv_func_va_copy=no
25600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25601 conftest$ac_exeext conftest.$ac_ext
25603 ac_cpp='$CPP $CPPFLAGS'
25604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25611 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25612 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25614 if test $wx_cv_func_va_copy = "yes"; then
25615 cat >>confdefs.h <<\_ACEOF
25616 #define HAVE_VA_COPY 1
25620 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25621 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25622 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25626 if test "$cross_compiling" = yes; then
25627 wx_cv_type_va_list_lvalue=yes
25630 cat >conftest.$ac_ext <<_ACEOF
25632 #include <stdarg.h>
25633 int foo(char *f, ...)
25638 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25646 return foo("hi", 17);
25649 rm -f conftest$ac_exeext
25650 if { (ac_try="$ac_link"
25651 case "(($ac_try" in
25652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25653 *) ac_try_echo=$ac_try;;
25655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25656 (eval "$ac_link") 2>&5
25658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25660 { (case "(($ac_try" in
25661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25662 *) ac_try_echo=$ac_try;;
25664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25665 (eval "$ac_try") 2>&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); }; }; then
25669 wx_cv_type_va_list_lvalue=yes
25671 echo "$as_me: program exited with status $ac_status" >&5
25672 echo "$as_me: failed program was:" >&5
25673 sed 's/^/| /' conftest.$ac_ext >&5
25675 ( exit $ac_status )
25676 wx_cv_type_va_list_lvalue=no
25678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25685 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25686 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25688 if test $wx_cv_type_va_list_lvalue != "yes"; then
25689 cat >>confdefs.h <<\_ACEOF
25690 #define VA_LIST_IS_ARRAY 1
25696 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25698 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25699 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25700 if test "${wx_cv_have_variadic_macros+set}" = set; then
25701 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 ac_cpp='$CXXCPP $CPPFLAGS'
25706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25710 cat >conftest.$ac_ext <<_ACEOF
25713 cat confdefs.h >>conftest.$ac_ext
25714 cat >>conftest.$ac_ext <<_ACEOF
25715 /* end confdefs.h. */
25718 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25724 test("%s %d %p", "test", 1, 0);
25731 rm -f conftest.$ac_objext
25732 if { (ac_try="$ac_compile"
25733 case "(($ac_try" in
25734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25735 *) ac_try_echo=$ac_try;;
25737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25738 (eval "$ac_compile") 2>conftest.er1
25740 grep -v '^ *+' conftest.er1 >conftest.err
25742 cat conftest.err >&5
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); } && {
25745 test -z "$ac_cxx_werror_flag" ||
25746 test ! -s conftest.err
25747 } && test -s conftest.$ac_objext; then
25748 wx_cv_have_variadic_macros=yes
25750 echo "$as_me: failed program was:" >&5
25751 sed 's/^/| /' conftest.$ac_ext >&5
25753 wx_cv_have_variadic_macros=no
25757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25759 ac_cpp='$CPP $CPPFLAGS'
25760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25767 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25768 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25770 if test $wx_cv_have_variadic_macros = "yes"; then
25771 cat >>confdefs.h <<\_ACEOF
25772 #define HAVE_VARIADIC_MACROS 1
25778 # Check whether --enable-largefile was given.
25779 if test "${enable_largefile+set}" = set; then
25780 enableval=$enable_largefile;
25783 if test "$enable_largefile" != no; then
25786 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25787 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25788 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25789 echo $ECHO_N "(cached) $ECHO_C" >&6
25792 cat >conftest.$ac_ext <<_ACEOF
25795 cat confdefs.h >>conftest.$ac_ext
25796 cat >>conftest.$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25798 #define _FILE_OFFSET_BITS 64
25799 #include <sys/types.h>
25804 unsigned int field: sizeof(off_t) == 8;
25811 rm -f conftest.$ac_objext
25812 if { (ac_try="$ac_compile"
25813 case "(($ac_try" in
25814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25815 *) ac_try_echo=$ac_try;;
25817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25818 (eval "$ac_compile") 2>conftest.er1
25820 grep -v '^ *+' conftest.er1 >conftest.err
25822 cat conftest.err >&5
25823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 (exit $ac_status); } && {
25825 test -z "$ac_c_werror_flag" ||
25826 test ! -s conftest.err
25827 } && test -s conftest.$ac_objext; then
25828 ac_cv_sys_file_offset_bits=64
25830 echo "$as_me: failed program was:" >&5
25831 sed 's/^/| /' conftest.$ac_ext >&5
25833 ac_cv_sys_file_offset_bits=no
25836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25840 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25841 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25843 if test "$ac_cv_sys_file_offset_bits" != no; then
25845 cat >>confdefs.h <<_ACEOF
25846 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25851 if test "x$wx_largefile" != "xyes"; then
25853 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25854 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25855 if test "${ac_cv_sys_large_files+set}" = set; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25859 cat >conftest.$ac_ext <<_ACEOF
25862 cat confdefs.h >>conftest.$ac_ext
25863 cat >>conftest.$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 #define _LARGE_FILES 1
25866 #include <sys/types.h>
25871 unsigned int field: sizeof(off_t) == 8;
25878 rm -f conftest.$ac_objext
25879 if { (ac_try="$ac_compile"
25880 case "(($ac_try" in
25881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25882 *) ac_try_echo=$ac_try;;
25884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25885 (eval "$ac_compile") 2>conftest.er1
25887 grep -v '^ *+' conftest.er1 >conftest.err
25889 cat conftest.err >&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); } && {
25892 test -z "$ac_c_werror_flag" ||
25893 test ! -s conftest.err
25894 } && test -s conftest.$ac_objext; then
25895 ac_cv_sys_large_files=1
25897 echo "$as_me: failed program was:" >&5
25898 sed 's/^/| /' conftest.$ac_ext >&5
25900 ac_cv_sys_large_files=no
25903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25907 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25908 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25910 if test "$ac_cv_sys_large_files" != no; then
25912 cat >>confdefs.h <<_ACEOF
25913 #define _LARGE_FILES $ac_cv_sys_large_files
25920 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25921 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25922 if test "x$wx_largefile" = "xyes"; then
25923 cat >>confdefs.h <<\_ACEOF
25924 #define HAVE_LARGEFILE_SUPPORT 1
25928 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25929 echo "${ECHO_T}$wx_largefile" >&6; }
25933 if test "x$wx_largefile" = "xyes"; then
25934 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25935 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25937 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25938 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25939 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25940 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25941 echo $ECHO_N "(cached) $ECHO_C" >&6
25945 ac_cpp='$CXXCPP $CPPFLAGS'
25946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25950 cat >conftest.$ac_ext <<_ACEOF
25953 cat confdefs.h >>conftest.$ac_ext
25954 cat >>conftest.$ac_ext <<_ACEOF
25955 /* end confdefs.h. */
25961 #ifndef __STDC_EXT__
25969 rm -f conftest.$ac_objext
25970 if { (ac_try="$ac_compile"
25971 case "(($ac_try" in
25972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25973 *) ac_try_echo=$ac_try;;
25975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25976 (eval "$ac_compile") 2>conftest.er1
25978 grep -v '^ *+' conftest.er1 >conftest.err
25980 cat conftest.err >&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); } && {
25983 test -z "$ac_cxx_werror_flag" ||
25984 test ! -s conftest.err
25985 } && test -s conftest.$ac_objext; then
25986 wx_cv_STDC_EXT_required=no
25988 echo "$as_me: failed program was:" >&5
25989 sed 's/^/| /' conftest.$ac_ext >&5
25991 wx_cv_STDC_EXT_required=yes
25995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25997 ac_cpp='$CPP $CPPFLAGS'
25998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26005 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26006 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26007 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26008 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26012 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26014 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26015 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26016 if test "${ac_cv_sys_largefile_source+set}" = set; then
26017 echo $ECHO_N "(cached) $ECHO_C" >&6
26020 cat >conftest.$ac_ext <<_ACEOF
26023 cat confdefs.h >>conftest.$ac_ext
26024 cat >>conftest.$ac_ext <<_ACEOF
26025 /* end confdefs.h. */
26026 #include <sys/types.h> /* for off_t */
26031 int (*fp) (FILE *, off_t, int) = fseeko;
26032 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26037 rm -f conftest.$ac_objext conftest$ac_exeext
26038 if { (ac_try="$ac_link"
26039 case "(($ac_try" in
26040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26041 *) ac_try_echo=$ac_try;;
26043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26044 (eval "$ac_link") 2>conftest.er1
26046 grep -v '^ *+' conftest.er1 >conftest.err
26048 cat conftest.err >&5
26049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); } && {
26051 test -z "$ac_c_werror_flag" ||
26052 test ! -s conftest.err
26053 } && test -s conftest$ac_exeext &&
26054 $as_test_x conftest$ac_exeext; then
26055 ac_cv_sys_largefile_source=no; break
26057 echo "$as_me: failed program was:" >&5
26058 sed 's/^/| /' conftest.$ac_ext >&5
26063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26064 conftest$ac_exeext conftest.$ac_ext
26065 cat >conftest.$ac_ext <<_ACEOF
26068 cat confdefs.h >>conftest.$ac_ext
26069 cat >>conftest.$ac_ext <<_ACEOF
26070 /* end confdefs.h. */
26071 #define _LARGEFILE_SOURCE 1
26072 #include <sys/types.h> /* for off_t */
26077 int (*fp) (FILE *, off_t, int) = fseeko;
26078 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26083 rm -f conftest.$ac_objext conftest$ac_exeext
26084 if { (ac_try="$ac_link"
26085 case "(($ac_try" in
26086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26087 *) ac_try_echo=$ac_try;;
26089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26090 (eval "$ac_link") 2>conftest.er1
26092 grep -v '^ *+' conftest.er1 >conftest.err
26094 cat conftest.err >&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); } && {
26097 test -z "$ac_c_werror_flag" ||
26098 test ! -s conftest.err
26099 } && test -s conftest$ac_exeext &&
26100 $as_test_x conftest$ac_exeext; then
26101 ac_cv_sys_largefile_source=1; break
26103 echo "$as_me: failed program was:" >&5
26104 sed 's/^/| /' conftest.$ac_ext >&5
26109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26110 conftest$ac_exeext conftest.$ac_ext
26111 ac_cv_sys_largefile_source=unknown
26115 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26116 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26117 case $ac_cv_sys_largefile_source in #(
26120 cat >>confdefs.h <<_ACEOF
26121 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26127 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26128 # in glibc 2.1.3, but that breaks too many other things.
26129 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26130 if test $ac_cv_sys_largefile_source != unknown; then
26132 cat >>confdefs.h <<\_ACEOF
26133 #define HAVE_FSEEKO 1
26138 if test "$ac_cv_sys_largefile_source" != no; then
26139 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26143 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26144 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26145 if test "${ac_cv_c_bigendian+set}" = set; then
26146 echo $ECHO_N "(cached) $ECHO_C" >&6
26148 ac_cv_c_bigendian=unknown
26149 # See if sys/param.h defines the BYTE_ORDER macro.
26150 cat >conftest.$ac_ext <<_ACEOF
26153 cat confdefs.h >>conftest.$ac_ext
26154 cat >>conftest.$ac_ext <<_ACEOF
26155 /* end confdefs.h. */
26156 #include <sys/types.h>
26157 #include <sys/param.h>
26162 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26163 bogus endian macros
26169 rm -f conftest.$ac_objext
26170 if { (ac_try="$ac_compile"
26171 case "(($ac_try" in
26172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26173 *) ac_try_echo=$ac_try;;
26175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26176 (eval "$ac_compile") 2>conftest.er1
26178 grep -v '^ *+' conftest.er1 >conftest.err
26180 cat conftest.err >&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } && {
26183 test -z "$ac_c_werror_flag" ||
26184 test ! -s conftest.err
26185 } && test -s conftest.$ac_objext; then
26186 # It does; now see whether it defined to BIG_ENDIAN or not.
26187 cat >conftest.$ac_ext <<_ACEOF
26190 cat confdefs.h >>conftest.$ac_ext
26191 cat >>conftest.$ac_ext <<_ACEOF
26192 /* end confdefs.h. */
26193 #include <sys/types.h>
26194 #include <sys/param.h>
26199 #if BYTE_ORDER != BIG_ENDIAN
26206 rm -f conftest.$ac_objext
26207 if { (ac_try="$ac_compile"
26208 case "(($ac_try" in
26209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26210 *) ac_try_echo=$ac_try;;
26212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26213 (eval "$ac_compile") 2>conftest.er1
26215 grep -v '^ *+' conftest.er1 >conftest.err
26217 cat conftest.err >&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } && {
26220 test -z "$ac_c_werror_flag" ||
26221 test ! -s conftest.err
26222 } && test -s conftest.$ac_objext; then
26223 ac_cv_c_bigendian=yes
26225 echo "$as_me: failed program was:" >&5
26226 sed 's/^/| /' conftest.$ac_ext >&5
26228 ac_cv_c_bigendian=no
26231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26233 echo "$as_me: failed program was:" >&5
26234 sed 's/^/| /' conftest.$ac_ext >&5
26239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26240 if test $ac_cv_c_bigendian = unknown; then
26241 if test "$cross_compiling" = yes; then
26242 ac_cv_c_bigendian=unknown
26244 cat >conftest.$ac_ext <<_ACEOF
26247 cat confdefs.h >>conftest.$ac_ext
26248 cat >>conftest.$ac_ext <<_ACEOF
26249 /* end confdefs.h. */
26251 /* Are we little or big endian? From Harbison&Steele. */
26255 char c[sizeof (long)];
26258 exit (u.c[sizeof (long) - 1] == 1);
26261 rm -f conftest$ac_exeext
26262 if { (ac_try="$ac_link"
26263 case "(($ac_try" in
26264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26265 *) ac_try_echo=$ac_try;;
26267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26268 (eval "$ac_link") 2>&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26272 { (case "(($ac_try" in
26273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26274 *) ac_try_echo=$ac_try;;
26276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26277 (eval "$ac_try") 2>&5
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); }; }; then
26281 ac_cv_c_bigendian=no
26283 echo "$as_me: program exited with status $ac_status" >&5
26284 echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.$ac_ext >&5
26287 ( exit $ac_status )
26288 ac_cv_c_bigendian=yes
26290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26296 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26297 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26298 if test $ac_cv_c_bigendian = unknown; then
26299 { 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
26300 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;}
26302 if test $ac_cv_c_bigendian = yes; then
26303 cat >>confdefs.h <<\_ACEOF
26304 #define WORDS_BIGENDIAN 1
26313 ac_cpp='$CXXCPP $CPPFLAGS'
26314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26320 for ac_header in iostream
26322 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26323 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26325 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26326 echo $ECHO_N "(cached) $ECHO_C" >&6
26328 cat >conftest.$ac_ext <<_ACEOF
26331 cat confdefs.h >>conftest.$ac_ext
26332 cat >>conftest.$ac_ext <<_ACEOF
26333 /* end confdefs.h. */
26336 #include <$ac_header>
26338 rm -f conftest.$ac_objext
26339 if { (ac_try="$ac_compile"
26340 case "(($ac_try" in
26341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26342 *) ac_try_echo=$ac_try;;
26344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26345 (eval "$ac_compile") 2>conftest.er1
26347 grep -v '^ *+' conftest.er1 >conftest.err
26349 cat conftest.err >&5
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); } && {
26352 test -z "$ac_cxx_werror_flag" ||
26353 test ! -s conftest.err
26354 } && test -s conftest.$ac_objext; then
26355 eval "$as_ac_Header=yes"
26357 echo "$as_me: failed program was:" >&5
26358 sed 's/^/| /' conftest.$ac_ext >&5
26360 eval "$as_ac_Header=no"
26363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26365 ac_res=`eval echo '${'$as_ac_Header'}'`
26366 { echo "$as_me:$LINENO: result: $ac_res" >&5
26367 echo "${ECHO_T}$ac_res" >&6; }
26368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26369 cat >>confdefs.h <<_ACEOF
26370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26378 if test "$ac_cv_header_iostream" = "yes" ; then
26381 cat >>confdefs.h <<\_ACEOF
26382 #define wxUSE_IOSTREAMH 1
26388 ac_cpp='$CPP $CPPFLAGS'
26389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26396 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26397 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26398 if test "${wx_cv_cpp_bool+set}" = set; then
26399 echo $ECHO_N "(cached) $ECHO_C" >&6
26404 ac_cpp='$CXXCPP $CPPFLAGS'
26405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26410 cat >conftest.$ac_ext <<_ACEOF
26413 cat confdefs.h >>conftest.$ac_ext
26414 cat >>conftest.$ac_ext <<_ACEOF
26415 /* end confdefs.h. */
26430 rm -f conftest.$ac_objext
26431 if { (ac_try="$ac_compile"
26432 case "(($ac_try" in
26433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26434 *) ac_try_echo=$ac_try;;
26436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26437 (eval "$ac_compile") 2>conftest.er1
26439 grep -v '^ *+' conftest.er1 >conftest.err
26441 cat conftest.err >&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } && {
26444 test -z "$ac_cxx_werror_flag" ||
26445 test ! -s conftest.err
26446 } && test -s conftest.$ac_objext; then
26451 echo "$as_me: failed program was:" >&5
26452 sed 's/^/| /' conftest.$ac_ext >&5
26460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26463 ac_cpp='$CPP $CPPFLAGS'
26464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26470 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26471 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26473 if test "$wx_cv_cpp_bool" = "yes"; then
26474 cat >>confdefs.h <<\_ACEOF
26475 #define HAVE_BOOL 1
26482 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26483 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26484 if test "${wx_cv_explicit+set}" = set; then
26485 echo $ECHO_N "(cached) $ECHO_C" >&6
26490 ac_cpp='$CXXCPP $CPPFLAGS'
26491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26496 cat >conftest.$ac_ext <<_ACEOF
26499 cat confdefs.h >>conftest.$ac_ext
26500 cat >>conftest.$ac_ext <<_ACEOF
26501 /* end confdefs.h. */
26503 class Foo { public: explicit Foo(int) {} };
26515 rm -f conftest.$ac_objext
26516 if { (ac_try="$ac_compile"
26517 case "(($ac_try" in
26518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26519 *) ac_try_echo=$ac_try;;
26521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26522 (eval "$ac_compile") 2>conftest.er1
26524 grep -v '^ *+' conftest.er1 >conftest.err
26526 cat conftest.err >&5
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); } && {
26529 test -z "$ac_cxx_werror_flag" ||
26530 test ! -s conftest.err
26531 } && test -s conftest.$ac_objext; then
26533 cat >conftest.$ac_ext <<_ACEOF
26536 cat confdefs.h >>conftest.$ac_ext
26537 cat >>conftest.$ac_ext <<_ACEOF
26538 /* end confdefs.h. */
26540 class Foo { public: explicit Foo(int) {} };
26541 static void TakeFoo(const Foo& foo) { }
26554 rm -f conftest.$ac_objext
26555 if { (ac_try="$ac_compile"
26556 case "(($ac_try" in
26557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26558 *) ac_try_echo=$ac_try;;
26560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26561 (eval "$ac_compile") 2>conftest.er1
26563 grep -v '^ *+' conftest.er1 >conftest.err
26565 cat conftest.err >&5
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); } && {
26568 test -z "$ac_cxx_werror_flag" ||
26569 test ! -s conftest.err
26570 } && test -s conftest.$ac_objext; then
26573 echo "$as_me: failed program was:" >&5
26574 sed 's/^/| /' conftest.$ac_ext >&5
26580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26583 echo "$as_me: failed program was:" >&5
26584 sed 's/^/| /' conftest.$ac_ext >&5
26590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26593 ac_cpp='$CPP $CPPFLAGS'
26594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26600 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26601 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26603 if test "$wx_cv_explicit" = "yes"; then
26604 cat >>confdefs.h <<\_ACEOF
26605 #define HAVE_EXPLICIT 1
26611 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26612 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26613 if test "${ac_cv_cxx_const_cast+set}" = set; then
26614 echo $ECHO_N "(cached) $ECHO_C" >&6
26618 ac_cpp='$CXXCPP $CPPFLAGS'
26619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26623 cat >conftest.$ac_ext <<_ACEOF
26626 cat confdefs.h >>conftest.$ac_ext
26627 cat >>conftest.$ac_ext <<_ACEOF
26628 /* end confdefs.h. */
26633 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26638 rm -f conftest.$ac_objext
26639 if { (ac_try="$ac_compile"
26640 case "(($ac_try" in
26641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26642 *) ac_try_echo=$ac_try;;
26644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26645 (eval "$ac_compile") 2>conftest.er1
26647 grep -v '^ *+' conftest.er1 >conftest.err
26649 cat conftest.err >&5
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); } && {
26652 test -z "$ac_cxx_werror_flag" ||
26653 test ! -s conftest.err
26654 } && test -s conftest.$ac_objext; then
26655 ac_cv_cxx_const_cast=yes
26657 echo "$as_me: failed program was:" >&5
26658 sed 's/^/| /' conftest.$ac_ext >&5
26660 ac_cv_cxx_const_cast=no
26663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26665 ac_cpp='$CPP $CPPFLAGS'
26666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26672 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26673 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26674 if test "$ac_cv_cxx_const_cast" = yes; then
26676 cat >>confdefs.h <<\_ACEOF
26677 #define HAVE_CONST_CAST
26682 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26683 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26684 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26685 echo $ECHO_N "(cached) $ECHO_C" >&6
26689 ac_cpp='$CXXCPP $CPPFLAGS'
26690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26694 cat >conftest.$ac_ext <<_ACEOF
26697 cat confdefs.h >>conftest.$ac_ext
26698 cat >>conftest.$ac_ext <<_ACEOF
26699 /* end confdefs.h. */
26700 #include <typeinfo>
26701 class Base { public : Base () {} virtual void f () = 0;};
26702 class Derived : public Base { public : Derived () {} virtual void f () {} };
26703 class Unrelated { public : Unrelated () {} };
26704 int g (Unrelated&) { return 0; }
26709 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26714 rm -f conftest.$ac_objext
26715 if { (ac_try="$ac_compile"
26716 case "(($ac_try" in
26717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26718 *) ac_try_echo=$ac_try;;
26720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26721 (eval "$ac_compile") 2>conftest.er1
26723 grep -v '^ *+' conftest.er1 >conftest.err
26725 cat conftest.err >&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } && {
26728 test -z "$ac_cxx_werror_flag" ||
26729 test ! -s conftest.err
26730 } && test -s conftest.$ac_objext; then
26731 ac_cv_cxx_reinterpret_cast=yes
26733 echo "$as_me: failed program was:" >&5
26734 sed 's/^/| /' conftest.$ac_ext >&5
26736 ac_cv_cxx_reinterpret_cast=no
26739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26741 ac_cpp='$CPP $CPPFLAGS'
26742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26748 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26749 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26750 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26752 cat >>confdefs.h <<\_ACEOF
26753 #define HAVE_REINTERPRET_CAST
26758 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26759 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26760 if test "${ac_cv_cxx_static_cast+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26765 ac_cpp='$CXXCPP $CPPFLAGS'
26766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26770 cat >conftest.$ac_ext <<_ACEOF
26773 cat confdefs.h >>conftest.$ac_ext
26774 cat >>conftest.$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26776 #include <typeinfo>
26777 class Base { public : Base () {} virtual void f () = 0; };
26778 class Derived : public Base { public : Derived () {} virtual void f () {} };
26779 int g (Derived&) { return 0; }
26784 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26789 rm -f conftest.$ac_objext
26790 if { (ac_try="$ac_compile"
26791 case "(($ac_try" in
26792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26793 *) ac_try_echo=$ac_try;;
26795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26796 (eval "$ac_compile") 2>conftest.er1
26798 grep -v '^ *+' conftest.er1 >conftest.err
26800 cat conftest.err >&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); } && {
26803 test -z "$ac_cxx_werror_flag" ||
26804 test ! -s conftest.err
26805 } && test -s conftest.$ac_objext; then
26806 ac_cv_cxx_static_cast=yes
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.$ac_ext >&5
26811 ac_cv_cxx_static_cast=no
26814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26816 ac_cpp='$CPP $CPPFLAGS'
26817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26823 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26824 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26825 if test "$ac_cv_cxx_static_cast" = yes; then
26827 cat >>confdefs.h <<\_ACEOF
26828 #define HAVE_STATIC_CAST
26834 if test "x$SUNCXX" = xyes; then
26835 CXXFLAGS="-features=tmplife $CXXFLAGS"
26838 if test "x$SUNCC" = xyes; then
26839 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26842 if test "x$SGICC" = "xyes"; then
26843 CFLAGS="-woff 3970 $CFLAGS"
26845 if test "x$SGICXX" = "xyes"; then
26846 CXXFLAGS="-woff 3970 $CXXFLAGS"
26849 if test "x$HPCC" = "xyes"; then
26850 CFLAGS="+W 2011,2450 $CFLAGS"
26852 if test "x$HPCXX" = "xyes"; then
26853 CXXFLAGS="+W 2340 $CXXFLAGS"
26856 if test "x$COMPAQCXX" = "xyes"; then
26857 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26861 ac_cpp='$CXXCPP $CPPFLAGS'
26862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26867 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26868 if test "$wxUSE_UNICODE" = "yes"; then
26869 std_string="std::wstring"
26870 char_type="wchar_t"
26872 std_string="std::string"
26876 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26877 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26878 if test "${wx_cv_class_stdstring+set}" = set; then
26879 echo $ECHO_N "(cached) $ECHO_C" >&6
26882 cat >conftest.$ac_ext <<_ACEOF
26885 cat confdefs.h >>conftest.$ac_ext
26886 cat >>conftest.$ac_ext <<_ACEOF
26887 /* end confdefs.h. */
26897 rm -f conftest.$ac_objext
26898 if { (ac_try="$ac_compile"
26899 case "(($ac_try" in
26900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26901 *) ac_try_echo=$ac_try;;
26903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26904 (eval "$ac_compile") 2>conftest.er1
26906 grep -v '^ *+' conftest.er1 >conftest.err
26908 cat conftest.err >&5
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); } && {
26911 test -z "$ac_cxx_werror_flag" ||
26912 test ! -s conftest.err
26913 } && test -s conftest.$ac_objext; then
26914 wx_cv_class_stdstring=yes
26916 echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.$ac_ext >&5
26919 wx_cv_class_stdstring=no
26923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26927 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26928 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26930 if test "$wx_cv_class_stdstring" = yes; then
26931 if test "$wxUSE_UNICODE" = "yes"; then
26932 cat >>confdefs.h <<\_ACEOF
26933 #define HAVE_STD_WSTRING 1
26938 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26939 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26940 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26944 cat >conftest.$ac_ext <<_ACEOF
26947 cat confdefs.h >>conftest.$ac_ext
26948 cat >>conftest.$ac_ext <<_ACEOF
26949 /* end confdefs.h. */
26951 #ifdef HAVE_WCHAR_H
26953 # include <stddef.h>
26955 # include <wchar.h>
26957 #ifdef HAVE_STDLIB_H
26958 # include <stdlib.h>
26966 std::basic_string<$char_type> foo;
26967 const $char_type* dummy = foo.c_str();
26972 rm -f conftest.$ac_objext
26973 if { (ac_try="$ac_compile"
26974 case "(($ac_try" in
26975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26976 *) ac_try_echo=$ac_try;;
26978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26979 (eval "$ac_compile") 2>conftest.er1
26981 grep -v '^ *+' conftest.er1 >conftest.err
26983 cat conftest.err >&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } && {
26986 test -z "$ac_cxx_werror_flag" ||
26987 test ! -s conftest.err
26988 } && test -s conftest.$ac_objext; then
26989 wx_cv_class_stdbasicstring=yes
26991 echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26994 wx_cv_class_stdbasicstring=no
26998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27002 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27003 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27005 if test "$wx_cv_class_stdbasicstring" != yes; then
27006 if test "$wxUSE_STL" = "yes"; then
27007 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27008 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27009 { (exit 1); exit 1; }; }
27010 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27011 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27012 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27013 { (exit 1); exit 1; }; }
27015 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27016 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27017 wxUSE_STD_STRING=no
27023 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27024 { echo "$as_me:$LINENO: checking for std::istream" >&5
27025 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27026 if test "${ac_cv_type_std__istream+set}" = set; then
27027 echo $ECHO_N "(cached) $ECHO_C" >&6
27029 cat >conftest.$ac_ext <<_ACEOF
27032 cat confdefs.h >>conftest.$ac_ext
27033 cat >>conftest.$ac_ext <<_ACEOF
27034 /* end confdefs.h. */
27035 #include <iostream>
27037 typedef std::istream ac__type_new_;
27041 if ((ac__type_new_ *) 0)
27043 if (sizeof (ac__type_new_))
27049 rm -f conftest.$ac_objext
27050 if { (ac_try="$ac_compile"
27051 case "(($ac_try" in
27052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27053 *) ac_try_echo=$ac_try;;
27055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27056 (eval "$ac_compile") 2>conftest.er1
27058 grep -v '^ *+' conftest.er1 >conftest.err
27060 cat conftest.err >&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } && {
27063 test -z "$ac_cxx_werror_flag" ||
27064 test ! -s conftest.err
27065 } && test -s conftest.$ac_objext; then
27066 ac_cv_type_std__istream=yes
27068 echo "$as_me: failed program was:" >&5
27069 sed 's/^/| /' conftest.$ac_ext >&5
27071 ac_cv_type_std__istream=no
27074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27076 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27077 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27078 if test $ac_cv_type_std__istream = yes; then
27080 cat >>confdefs.h <<_ACEOF
27081 #define HAVE_STD__ISTREAM 1
27086 wxUSE_STD_IOSTREAM=no
27088 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27089 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27090 if test "${ac_cv_type_std__ostream+set}" = set; then
27091 echo $ECHO_N "(cached) $ECHO_C" >&6
27093 cat >conftest.$ac_ext <<_ACEOF
27096 cat confdefs.h >>conftest.$ac_ext
27097 cat >>conftest.$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27099 #include <iostream>
27101 typedef std::ostream ac__type_new_;
27105 if ((ac__type_new_ *) 0)
27107 if (sizeof (ac__type_new_))
27113 rm -f conftest.$ac_objext
27114 if { (ac_try="$ac_compile"
27115 case "(($ac_try" in
27116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27117 *) ac_try_echo=$ac_try;;
27119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27120 (eval "$ac_compile") 2>conftest.er1
27122 grep -v '^ *+' conftest.er1 >conftest.err
27124 cat conftest.err >&5
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); } && {
27127 test -z "$ac_cxx_werror_flag" ||
27128 test ! -s conftest.err
27129 } && test -s conftest.$ac_objext; then
27130 ac_cv_type_std__ostream=yes
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27135 ac_cv_type_std__ostream=no
27138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27140 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27141 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27142 if test $ac_cv_type_std__ostream = yes; then
27144 cat >>confdefs.h <<_ACEOF
27145 #define HAVE_STD__OSTREAM 1
27150 wxUSE_STD_IOSTREAM=no
27154 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27155 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27156 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27157 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27158 { (exit 1); exit 1; }; }
27160 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27161 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27166 if test "$wxUSE_STL" = "yes"; then
27167 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27168 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27169 if test "${wx_cv_lib_stl+set}" = set; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27172 cat >conftest.$ac_ext <<_ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27179 #include <functional>
27180 #include <algorithm>
27186 std::vector<int> moo;
27187 std::list<int> foo;
27188 std::vector<int>::iterator it =
27189 std::find_if(moo.begin(), moo.end(),
27190 std::bind2nd(std::less<int>(), 3));
27195 rm -f conftest.$ac_objext
27196 if { (ac_try="$ac_compile"
27197 case "(($ac_try" in
27198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27199 *) ac_try_echo=$ac_try;;
27201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27202 (eval "$ac_compile") 2>conftest.er1
27204 grep -v '^ *+' conftest.er1 >conftest.err
27206 cat conftest.err >&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } && {
27209 test -z "$ac_cxx_werror_flag" ||
27210 test ! -s conftest.err
27211 } && test -s conftest.$ac_objext; then
27214 echo "$as_me: failed program was:" >&5
27215 sed 's/^/| /' conftest.$ac_ext >&5
27221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27224 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27225 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27227 if test "$wx_cv_lib_stl" != yes; then
27228 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27229 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27230 { (exit 1); exit 1; }; }
27233 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27234 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27235 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27238 cat >conftest.$ac_ext <<_ACEOF
27241 cat confdefs.h >>conftest.$ac_ext
27242 cat >>conftest.$ac_ext <<_ACEOF
27243 /* end confdefs.h. */
27248 std::string foo, bar;
27250 foo.compare(1, 1, bar);
27251 foo.compare(1, 1, bar, 1, 1);
27253 foo.compare(1, 1, "");
27254 foo.compare(1, 1, "", 2);
27259 rm -f conftest.$ac_objext
27260 if { (ac_try="$ac_compile"
27261 case "(($ac_try" in
27262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27263 *) ac_try_echo=$ac_try;;
27265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27266 (eval "$ac_compile") 2>conftest.er1
27268 grep -v '^ *+' conftest.er1 >conftest.err
27270 cat conftest.err >&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); } && {
27273 test -z "$ac_cxx_werror_flag" ||
27274 test ! -s conftest.err
27275 } && test -s conftest.$ac_objext; then
27276 wx_cv_func_stdstring_compare=yes
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.$ac_ext >&5
27281 wx_cv_func_stdstring_compare=no
27285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27288 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27289 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27291 if test "$wx_cv_func_stdstring_compare" = yes; then
27292 cat >>confdefs.h <<\_ACEOF
27293 #define HAVE_STD_STRING_COMPARE 1
27298 { echo "$as_me:$LINENO: checking for hash_map" >&5
27299 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27300 if test "${ac_cv_header_hash_map+set}" = set; then
27301 echo $ECHO_N "(cached) $ECHO_C" >&6
27303 cat >conftest.$ac_ext <<_ACEOF
27306 cat confdefs.h >>conftest.$ac_ext
27307 cat >>conftest.$ac_ext <<_ACEOF
27308 /* end confdefs.h. */
27312 #include <hash_map>
27314 rm -f conftest.$ac_objext
27315 if { (ac_try="$ac_compile"
27316 case "(($ac_try" in
27317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27318 *) ac_try_echo=$ac_try;;
27320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27321 (eval "$ac_compile") 2>conftest.er1
27323 grep -v '^ *+' conftest.er1 >conftest.err
27325 cat conftest.err >&5
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); } && {
27328 test -z "$ac_cxx_werror_flag" ||
27329 test ! -s conftest.err
27330 } && test -s conftest.$ac_objext; then
27331 ac_cv_header_hash_map=yes
27333 echo "$as_me: failed program was:" >&5
27334 sed 's/^/| /' conftest.$ac_ext >&5
27336 ac_cv_header_hash_map=no
27339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27341 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27342 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27343 if test $ac_cv_header_hash_map = yes; then
27344 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27345 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27346 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27347 echo $ECHO_N "(cached) $ECHO_C" >&6
27349 cat >conftest.$ac_ext <<_ACEOF
27352 cat confdefs.h >>conftest.$ac_ext
27353 cat >>conftest.$ac_ext <<_ACEOF
27354 /* end confdefs.h. */
27355 #include <hash_map>
27356 #include <hash_set>
27360 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27361 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27366 rm -f conftest.$ac_objext
27367 if { (ac_try="$ac_compile"
27368 case "(($ac_try" in
27369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27370 *) ac_try_echo=$ac_try;;
27372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27373 (eval "$ac_compile") 2>conftest.er1
27375 grep -v '^ *+' conftest.er1 >conftest.err
27377 cat conftest.err >&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); } && {
27380 test -z "$ac_cxx_werror_flag" ||
27381 test ! -s conftest.err
27382 } && test -s conftest.$ac_objext; then
27383 wx_cv_class_stdhashmapset=yes
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27388 wx_cv_class_stdhashmapset=no
27391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27395 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27396 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27401 if test "$wx_cv_class_stdhashmapset" = yes; then
27402 cat >>confdefs.h <<\_ACEOF
27403 #define HAVE_HASH_MAP 1
27406 cat >>confdefs.h <<\_ACEOF
27407 #define HAVE_STD_HASH_MAP 1
27412 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27413 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27414 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27415 echo $ECHO_N "(cached) $ECHO_C" >&6
27417 cat >conftest.$ac_ext <<_ACEOF
27420 cat confdefs.h >>conftest.$ac_ext
27421 cat >>conftest.$ac_ext <<_ACEOF
27422 /* end confdefs.h. */
27426 #include <ext/hash_map>
27428 rm -f conftest.$ac_objext
27429 if { (ac_try="$ac_compile"
27430 case "(($ac_try" in
27431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27432 *) ac_try_echo=$ac_try;;
27434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27435 (eval "$ac_compile") 2>conftest.er1
27437 grep -v '^ *+' conftest.er1 >conftest.err
27439 cat conftest.err >&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); } && {
27442 test -z "$ac_cxx_werror_flag" ||
27443 test ! -s conftest.err
27444 } && test -s conftest.$ac_objext; then
27445 ac_cv_header_ext_hash_map=yes
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27450 ac_cv_header_ext_hash_map=no
27453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27455 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27456 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27457 if test $ac_cv_header_ext_hash_map = yes; then
27458 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27459 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27460 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27461 echo $ECHO_N "(cached) $ECHO_C" >&6
27463 cat >conftest.$ac_ext <<_ACEOF
27466 cat confdefs.h >>conftest.$ac_ext
27467 cat >>conftest.$ac_ext <<_ACEOF
27468 /* end confdefs.h. */
27469 #include <ext/hash_map>
27470 #include <ext/hash_set>
27474 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27475 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27480 rm -f conftest.$ac_objext
27481 if { (ac_try="$ac_compile"
27482 case "(($ac_try" in
27483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27484 *) ac_try_echo=$ac_try;;
27486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27487 (eval "$ac_compile") 2>conftest.er1
27489 grep -v '^ *+' conftest.er1 >conftest.err
27491 cat conftest.err >&5
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); } && {
27494 test -z "$ac_cxx_werror_flag" ||
27495 test ! -s conftest.err
27496 } && test -s conftest.$ac_objext; then
27497 wx_cv_class_gnuhashmapset=yes
27499 echo "$as_me: failed program was:" >&5
27500 sed 's/^/| /' conftest.$ac_ext >&5
27502 wx_cv_class_gnuhashmapset=no
27505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27509 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27510 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27515 if test "$wx_cv_class_gnuhashmapset" = yes; then
27516 cat >>confdefs.h <<\_ACEOF
27517 #define HAVE_EXT_HASH_MAP 1
27520 cat >>confdefs.h <<\_ACEOF
27521 #define HAVE_GNU_CXX_HASH_MAP 1
27528 ac_cpp='$CPP $CPPFLAGS'
27529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27536 /usr/local/include \
27538 /usr/Motif-2.1/include \
27539 /usr/Motif-1.2/include \
27540 /usr/include/Motif1.2 \
27543 /usr/openwin/include \
27547 /usr/X11R6/include \
27548 /usr/X11R6.4/include \
27549 /usr/X11R5/include \
27550 /usr/X11R4/include \
27552 /usr/include/X11R6 \
27553 /usr/include/X11R5 \
27554 /usr/include/X11R4 \
27556 /usr/local/X11R6/include \
27557 /usr/local/X11R5/include \
27558 /usr/local/X11R4/include \
27560 /usr/local/include/X11R6 \
27561 /usr/local/include/X11R5 \
27562 /usr/local/include/X11R4 \
27566 /usr/local/X11/include \
27567 /usr/local/include/X11 \
27569 /usr/XFree86/include/X11 \
27572 /usr/openwin/share/include"
27574 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27575 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27579 if test "${wx_cv_std_libpath+set}" = set; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27583 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27584 for e in a so sl dylib dll.a; do
27586 if test -f $libc; then
27589 cat >conftest.$ac_ext <<_ACEOF
27590 int main() { return 0; }
27592 rm -f conftest.$ac_objext conftest$ac_exeext
27593 if { (ac_try="$ac_link"
27594 case "(($ac_try" in
27595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27596 *) ac_try_echo=$ac_try;;
27598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27599 (eval "$ac_link") 2>conftest.er1
27601 grep -v '^ *+' conftest.er1 >conftest.err
27603 cat conftest.err >&5
27604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27605 (exit $ac_status); } && {
27606 test -z "$ac_c_werror_flag" ||
27607 test ! -s conftest.err
27608 } && test -s conftest$ac_exeext &&
27609 $as_test_x conftest$ac_exeext; then
27610 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27612 echo "$as_me: failed program was:" >&5
27613 sed 's/^/| /' conftest.$ac_ext >&5
27618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27619 conftest$ac_exeext conftest.$ac_ext
27621 if test "x$wx_cv_std_libpath" != "x"; then
27627 if test "x$wx_cv_std_libpath" = "x"; then
27628 wx_cv_std_libpath="lib"
27637 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27638 wx_cv_std_libpath="lib/64"
27640 wx_cv_std_libpath="lib"
27645 if test "$ac_cv_sizeof_void_p" = 8 -a \
27646 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27647 wx_cv_std_libpath="lib64"
27649 wx_cv_std_libpath="lib"
27654 wx_cv_std_libpath="lib";
27658 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27659 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27661 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27663 if test "$build" != "$host" -a "$GCC" = yes; then
27664 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27665 cross_root=`dirname $cross_root`
27666 cross_root=`dirname $cross_root`
27668 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27669 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27670 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27672 if test -z "$PKG_CONFIG_PATH"; then
27673 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27674 export PKG_CONFIG_PATH
27677 if test -z "$x_includes" -o "$x_includes" = NONE; then
27680 for ac_dir in $SEARCH_INCLUDE /usr/include;
27682 if test -f "$ac_dir/X11/Intrinsic.h"; then
27683 ac_find_includes=$ac_dir
27688 x_includes=$ac_find_includes
27690 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27693 for ac_dir in $SEARCH_LIB;
27695 for ac_extension in a so sl dylib dll.a; do
27696 if test -f "$ac_dir/libXt.$ac_extension"; then
27697 ac_find_libraries=$ac_dir
27703 x_libraries=$ac_find_libraries
27709 cat >confcache <<\_ACEOF
27710 # This file is a shell script that caches the results of configure
27711 # tests run on this system so they can be shared between configure
27712 # scripts and configure runs, see configure's option --config-cache.
27713 # It is not useful on other systems. If it contains results you don't
27714 # want to keep, you may remove or edit it.
27716 # config.status only pays attention to the cache file if you give it
27717 # the --recheck option to rerun configure.
27719 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27720 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27721 # following values.
27725 # The following way of writing the cache mishandles newlines in values,
27726 # but we know of no workaround that is simple, portable, and efficient.
27727 # So, we kill variables containing newlines.
27728 # Ultrix sh set writes to stderr and can't be redirected directly,
27729 # and sets the high bit in the cache file unless we assign to the vars.
27731 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27732 eval ac_val=\$$ac_var
27736 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27737 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27740 _ | IFS | as_nl) ;; #(
27741 *) $as_unset $ac_var ;;
27747 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27748 *${as_nl}ac_space=\ *)
27749 # `set' does not quote correctly, so add quotes (double-quote
27750 # substitution turns \\\\ into \\, and sed turns \\ into \).
27753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27756 # `set' quotes correctly as required by POSIX, so do not add quotes.
27757 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27766 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27768 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27770 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27771 if test -w "$cache_file"; then
27772 test "x$cache_file" != "x/dev/null" &&
27773 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27774 echo "$as_me: updating cache $cache_file" >&6;}
27775 cat confcache >$cache_file
27777 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27778 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27783 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27784 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27785 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27786 if test "${wx_cv_lib_glibc21+set}" = set; then
27787 echo $ECHO_N "(cached) $ECHO_C" >&6
27790 cat >conftest.$ac_ext <<_ACEOF
27793 cat confdefs.h >>conftest.$ac_ext
27794 cat >>conftest.$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27796 #include <features.h>
27801 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27809 rm -f conftest.$ac_objext
27810 if { (ac_try="$ac_compile"
27811 case "(($ac_try" in
27812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27813 *) ac_try_echo=$ac_try;;
27815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27816 (eval "$ac_compile") 2>conftest.er1
27818 grep -v '^ *+' conftest.er1 >conftest.err
27820 cat conftest.err >&5
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); } && {
27823 test -z "$ac_c_werror_flag" ||
27824 test ! -s conftest.err
27825 } && test -s conftest.$ac_objext; then
27827 wx_cv_lib_glibc21=yes
27830 echo "$as_me: failed program was:" >&5
27831 sed 's/^/| /' conftest.$ac_ext >&5
27834 wx_cv_lib_glibc21=no
27839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27842 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27843 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27844 if test "$wx_cv_lib_glibc21" = "yes"; then
27845 cat >>confdefs.h <<\_ACEOF
27846 #define wxHAVE_GLIBC2 1
27852 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27853 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27854 cat >>confdefs.h <<\_ACEOF
27855 #define _GNU_SOURCE 1
27866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27867 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27869 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27870 echo $ECHO_N "(cached) $ECHO_C" >&6
27872 cat >conftest.$ac_ext <<_ACEOF
27875 cat confdefs.h >>conftest.$ac_ext
27876 cat >>conftest.$ac_ext <<_ACEOF
27877 /* end confdefs.h. */
27878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27880 #define $ac_func innocuous_$ac_func
27882 /* System header to define __stub macros and hopefully few prototypes,
27883 which can conflict with char $ac_func (); below.
27884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27885 <limits.h> exists even on freestanding compilers. */
27888 # include <limits.h>
27890 # include <assert.h>
27895 /* Override any GCC internal prototype to avoid an error.
27896 Use char because int might match the return type of a GCC
27897 builtin and then its argument prototype would still apply. */
27902 /* The GNU C library defines this for functions which it implements
27903 to always fail with ENOSYS. Some functions are actually named
27904 something starting with __ and the normal name is an alias. */
27905 #if defined __stub_$ac_func || defined __stub___$ac_func
27912 return $ac_func ();
27917 rm -f conftest.$ac_objext conftest$ac_exeext
27918 if { (ac_try="$ac_link"
27919 case "(($ac_try" in
27920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27921 *) ac_try_echo=$ac_try;;
27923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27924 (eval "$ac_link") 2>conftest.er1
27926 grep -v '^ *+' conftest.er1 >conftest.err
27928 cat conftest.err >&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); } && {
27931 test -z "$ac_c_werror_flag" ||
27932 test ! -s conftest.err
27933 } && test -s conftest$ac_exeext &&
27934 $as_test_x conftest$ac_exeext; then
27935 eval "$as_ac_var=yes"
27937 echo "$as_me: failed program was:" >&5
27938 sed 's/^/| /' conftest.$ac_ext >&5
27940 eval "$as_ac_var=no"
27943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27944 conftest$ac_exeext conftest.$ac_ext
27946 ac_res=`eval echo '${'$as_ac_var'}'`
27947 { echo "$as_me:$LINENO: result: $ac_res" >&5
27948 echo "${ECHO_T}$ac_res" >&6; }
27949 if test `eval echo '${'$as_ac_var'}'` = yes; then
27950 cat >>confdefs.h <<_ACEOF
27951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27958 for ac_func in floor
27960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27961 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27963 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27964 echo $ECHO_N "(cached) $ECHO_C" >&6
27966 cat >conftest.$ac_ext <<_ACEOF
27969 cat confdefs.h >>conftest.$ac_ext
27970 cat >>conftest.$ac_ext <<_ACEOF
27971 /* end confdefs.h. */
27972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27974 #define $ac_func innocuous_$ac_func
27976 /* System header to define __stub macros and hopefully few prototypes,
27977 which can conflict with char $ac_func (); below.
27978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27979 <limits.h> exists even on freestanding compilers. */
27982 # include <limits.h>
27984 # include <assert.h>
27989 /* Override any GCC internal prototype to avoid an error.
27990 Use char because int might match the return type of a GCC
27991 builtin and then its argument prototype would still apply. */
27996 /* The GNU C library defines this for functions which it implements
27997 to always fail with ENOSYS. Some functions are actually named
27998 something starting with __ and the normal name is an alias. */
27999 #if defined __stub_$ac_func || defined __stub___$ac_func
28006 return $ac_func ();
28011 rm -f conftest.$ac_objext conftest$ac_exeext
28012 if { (ac_try="$ac_link"
28013 case "(($ac_try" in
28014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28015 *) ac_try_echo=$ac_try;;
28017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28018 (eval "$ac_link") 2>conftest.er1
28020 grep -v '^ *+' conftest.er1 >conftest.err
28022 cat conftest.err >&5
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); } && {
28025 test -z "$ac_c_werror_flag" ||
28026 test ! -s conftest.err
28027 } && test -s conftest$ac_exeext &&
28028 $as_test_x conftest$ac_exeext; then
28029 eval "$as_ac_var=yes"
28031 echo "$as_me: failed program was:" >&5
28032 sed 's/^/| /' conftest.$ac_ext >&5
28034 eval "$as_ac_var=no"
28037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28038 conftest$ac_exeext conftest.$ac_ext
28040 ac_res=`eval echo '${'$as_ac_var'}'`
28041 { echo "$as_me:$LINENO: result: $ac_res" >&5
28042 echo "${ECHO_T}$ac_res" >&6; }
28043 if test `eval echo '${'$as_ac_var'}'` = yes; then
28044 cat >>confdefs.h <<_ACEOF
28045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28051 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28052 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28053 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28054 { echo "$as_me:$LINENO: result: yes" >&5
28055 echo "${ECHO_T}yes" >&6; }
28057 { echo "$as_me:$LINENO: result: no" >&5
28058 echo "${ECHO_T}no" >&6; }
28060 # use different functions to avoid configure caching
28066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28067 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28069 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28070 echo $ECHO_N "(cached) $ECHO_C" >&6
28072 cat >conftest.$ac_ext <<_ACEOF
28075 cat confdefs.h >>conftest.$ac_ext
28076 cat >>conftest.$ac_ext <<_ACEOF
28077 /* end confdefs.h. */
28078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28080 #define $ac_func innocuous_$ac_func
28082 /* System header to define __stub macros and hopefully few prototypes,
28083 which can conflict with char $ac_func (); below.
28084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28085 <limits.h> exists even on freestanding compilers. */
28088 # include <limits.h>
28090 # include <assert.h>
28095 /* Override any GCC internal prototype to avoid an error.
28096 Use char because int might match the return type of a GCC
28097 builtin and then its argument prototype would still apply. */
28102 /* The GNU C library defines this for functions which it implements
28103 to always fail with ENOSYS. Some functions are actually named
28104 something starting with __ and the normal name is an alias. */
28105 #if defined __stub_$ac_func || defined __stub___$ac_func
28112 return $ac_func ();
28117 rm -f conftest.$ac_objext conftest$ac_exeext
28118 if { (ac_try="$ac_link"
28119 case "(($ac_try" in
28120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28121 *) ac_try_echo=$ac_try;;
28123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28124 (eval "$ac_link") 2>conftest.er1
28126 grep -v '^ *+' conftest.er1 >conftest.err
28128 cat conftest.err >&5
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); } && {
28131 test -z "$ac_c_werror_flag" ||
28132 test ! -s conftest.err
28133 } && test -s conftest$ac_exeext &&
28134 $as_test_x conftest$ac_exeext; then
28135 eval "$as_ac_var=yes"
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28140 eval "$as_ac_var=no"
28143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28144 conftest$ac_exeext conftest.$ac_ext
28146 ac_res=`eval echo '${'$as_ac_var'}'`
28147 { echo "$as_me:$LINENO: result: $ac_res" >&5
28148 echo "${ECHO_T}$ac_res" >&6; }
28149 if test `eval echo '${'$as_ac_var'}'` = yes; then
28150 cat >>confdefs.h <<_ACEOF
28151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28158 for ac_func in ceil
28160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28164 echo $ECHO_N "(cached) $ECHO_C" >&6
28166 cat >conftest.$ac_ext <<_ACEOF
28169 cat confdefs.h >>conftest.$ac_ext
28170 cat >>conftest.$ac_ext <<_ACEOF
28171 /* end confdefs.h. */
28172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28174 #define $ac_func innocuous_$ac_func
28176 /* System header to define __stub macros and hopefully few prototypes,
28177 which can conflict with char $ac_func (); below.
28178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28179 <limits.h> exists even on freestanding compilers. */
28182 # include <limits.h>
28184 # include <assert.h>
28189 /* Override any GCC internal prototype to avoid an error.
28190 Use char because int might match the return type of a GCC
28191 builtin and then its argument prototype would still apply. */
28196 /* The GNU C library defines this for functions which it implements
28197 to always fail with ENOSYS. Some functions are actually named
28198 something starting with __ and the normal name is an alias. */
28199 #if defined __stub_$ac_func || defined __stub___$ac_func
28206 return $ac_func ();
28211 rm -f conftest.$ac_objext conftest$ac_exeext
28212 if { (ac_try="$ac_link"
28213 case "(($ac_try" in
28214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28215 *) ac_try_echo=$ac_try;;
28217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28218 (eval "$ac_link") 2>conftest.er1
28220 grep -v '^ *+' conftest.er1 >conftest.err
28222 cat conftest.err >&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); } && {
28225 test -z "$ac_c_werror_flag" ||
28226 test ! -s conftest.err
28227 } && test -s conftest$ac_exeext &&
28228 $as_test_x conftest$ac_exeext; then
28229 eval "$as_ac_var=yes"
28231 echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28234 eval "$as_ac_var=no"
28237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28238 conftest$ac_exeext conftest.$ac_ext
28240 ac_res=`eval echo '${'$as_ac_var'}'`
28241 { echo "$as_me:$LINENO: result: $ac_res" >&5
28242 echo "${ECHO_T}$ac_res" >&6; }
28243 if test `eval echo '${'$as_ac_var'}'` = yes; then
28244 cat >>confdefs.h <<_ACEOF
28245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28251 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28252 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28253 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28254 { echo "$as_me:$LINENO: result: yes" >&5
28255 echo "${ECHO_T}yes" >&6; }
28257 { echo "$as_me:$LINENO: result: no" >&5
28258 echo "${ECHO_T}no" >&6; }
28259 # not sure we should warn the user, crash, etc.
28264 ac_cpp='$CXXCPP $CPPFLAGS'
28265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28269 if test "wxUSE_UNICODE" = "yes"; then
28271 for wx_func in wcstoull
28273 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28274 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28275 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28276 echo $ECHO_N "(cached) $ECHO_C" >&6
28279 cat >conftest.$ac_ext <<_ACEOF
28283 cat confdefs.h >>conftest.$ac_ext
28284 cat >>conftest.$ac_ext <<_ACEOF
28285 /* end confdefs.h. */
28288 $ac_includes_default
28304 rm -f conftest.$ac_objext conftest$ac_exeext
28305 if { (ac_try="$ac_link"
28306 case "(($ac_try" in
28307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28308 *) ac_try_echo=$ac_try;;
28310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28311 (eval "$ac_link") 2>conftest.er1
28313 grep -v '^ *+' conftest.er1 >conftest.err
28315 cat conftest.err >&5
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); } && {
28318 test -z "$ac_cxx_werror_flag" ||
28319 test ! -s conftest.err
28320 } && test -s conftest$ac_exeext &&
28321 $as_test_x conftest$ac_exeext; then
28322 eval wx_cv_func_$wx_func=yes
28324 echo "$as_me: failed program was:" >&5
28325 sed 's/^/| /' conftest.$ac_ext >&5
28327 eval wx_cv_func_$wx_func=no
28330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28331 conftest$ac_exeext conftest.$ac_ext
28334 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28335 { echo "$as_me:$LINENO: result: $ac_res" >&5
28336 echo "${ECHO_T}$ac_res" >&6; }
28338 if eval test \$wx_cv_func_$wx_func = yes
28340 cat >>confdefs.h <<_ACEOF
28341 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28353 for wx_func in strtoull
28355 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28356 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28357 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28358 echo $ECHO_N "(cached) $ECHO_C" >&6
28361 cat >conftest.$ac_ext <<_ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28370 $ac_includes_default
28386 rm -f conftest.$ac_objext conftest$ac_exeext
28387 if { (ac_try="$ac_link"
28388 case "(($ac_try" in
28389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28390 *) ac_try_echo=$ac_try;;
28392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28393 (eval "$ac_link") 2>conftest.er1
28395 grep -v '^ *+' conftest.er1 >conftest.err
28397 cat conftest.err >&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); } && {
28400 test -z "$ac_cxx_werror_flag" ||
28401 test ! -s conftest.err
28402 } && test -s conftest$ac_exeext &&
28403 $as_test_x conftest$ac_exeext; then
28404 eval wx_cv_func_$wx_func=yes
28406 echo "$as_me: failed program was:" >&5
28407 sed 's/^/| /' conftest.$ac_ext >&5
28409 eval wx_cv_func_$wx_func=no
28412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28413 conftest$ac_exeext conftest.$ac_ext
28416 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28417 { echo "$as_me:$LINENO: result: $ac_res" >&5
28418 echo "${ECHO_T}$ac_res" >&6; }
28420 if eval test \$wx_cv_func_$wx_func = yes
28422 cat >>confdefs.h <<_ACEOF
28423 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28435 ac_cpp='$CPP $CPPFLAGS'
28436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28443 if test "$wxUSE_REGEX" != "no"; then
28444 cat >>confdefs.h <<\_ACEOF
28445 #define wxUSE_REGEX 1
28449 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28450 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28451 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28452 wxUSE_REGEX=builtin
28455 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28456 { echo "$as_me:$LINENO: checking for regex.h" >&5
28457 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28458 if test "${ac_cv_header_regex_h+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28461 cat >conftest.$ac_ext <<_ACEOF
28464 cat confdefs.h >>conftest.$ac_ext
28465 cat >>conftest.$ac_ext <<_ACEOF
28466 /* end confdefs.h. */
28471 rm -f conftest.$ac_objext
28472 if { (ac_try="$ac_compile"
28473 case "(($ac_try" in
28474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28475 *) ac_try_echo=$ac_try;;
28477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28478 (eval "$ac_compile") 2>conftest.er1
28480 grep -v '^ *+' conftest.er1 >conftest.err
28482 cat conftest.err >&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); } && {
28485 test -z "$ac_c_werror_flag" ||
28486 test ! -s conftest.err
28487 } && test -s conftest.$ac_objext; then
28488 ac_cv_header_regex_h=yes
28490 echo "$as_me: failed program was:" >&5
28491 sed 's/^/| /' conftest.$ac_ext >&5
28493 ac_cv_header_regex_h=no
28496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28498 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28499 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28500 if test $ac_cv_header_regex_h = yes; then
28503 for ac_func in regcomp re_search
28505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28506 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28508 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28509 echo $ECHO_N "(cached) $ECHO_C" >&6
28511 cat >conftest.$ac_ext <<_ACEOF
28514 cat confdefs.h >>conftest.$ac_ext
28515 cat >>conftest.$ac_ext <<_ACEOF
28516 /* end confdefs.h. */
28517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28519 #define $ac_func innocuous_$ac_func
28521 /* System header to define __stub macros and hopefully few prototypes,
28522 which can conflict with char $ac_func (); below.
28523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28524 <limits.h> exists even on freestanding compilers. */
28527 # include <limits.h>
28529 # include <assert.h>
28534 /* Override any GCC internal prototype to avoid an error.
28535 Use char because int might match the return type of a GCC
28536 builtin and then its argument prototype would still apply. */
28541 /* The GNU C library defines this for functions which it implements
28542 to always fail with ENOSYS. Some functions are actually named
28543 something starting with __ and the normal name is an alias. */
28544 #if defined __stub_$ac_func || defined __stub___$ac_func
28551 return $ac_func ();
28556 rm -f conftest.$ac_objext conftest$ac_exeext
28557 if { (ac_try="$ac_link"
28558 case "(($ac_try" in
28559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28560 *) ac_try_echo=$ac_try;;
28562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28563 (eval "$ac_link") 2>conftest.er1
28565 grep -v '^ *+' conftest.er1 >conftest.err
28567 cat conftest.err >&5
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); } && {
28570 test -z "$ac_c_werror_flag" ||
28571 test ! -s conftest.err
28572 } && test -s conftest$ac_exeext &&
28573 $as_test_x conftest$ac_exeext; then
28574 eval "$as_ac_var=yes"
28576 echo "$as_me: failed program was:" >&5
28577 sed 's/^/| /' conftest.$ac_ext >&5
28579 eval "$as_ac_var=no"
28582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28583 conftest$ac_exeext conftest.$ac_ext
28585 ac_res=`eval echo '${'$as_ac_var'}'`
28586 { echo "$as_me:$LINENO: result: $ac_res" >&5
28587 echo "${ECHO_T}$ac_res" >&6; }
28588 if test `eval echo '${'$as_ac_var'}'` = yes; then
28589 cat >>confdefs.h <<_ACEOF
28590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28600 if test "x$ac_cv_func_regcomp" != "xyes"; then
28601 if test "$wxUSE_REGEX" = "sys" ; then
28602 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28603 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28604 { (exit 1); exit 1; }; }
28606 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28607 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28608 wxUSE_REGEX=builtin
28612 cat >>confdefs.h <<\_ACEOF
28613 #define WX_NO_REGEX_ADVANCED 1
28622 if test "$wxUSE_ZLIB" != "no" ; then
28623 cat >>confdefs.h <<\_ACEOF
28624 #define wxUSE_ZLIB 1
28628 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28629 if test "$USE_DARWIN" = 1; then
28630 system_zlib_h_ok="yes"
28632 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28633 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28634 if test "${ac_cv_header_zlib_h+set}" = set; then
28635 echo $ECHO_N "(cached) $ECHO_C" >&6
28637 if test "$cross_compiling" = yes; then
28638 unset ac_cv_header_zlib_h
28641 cat >conftest.$ac_ext <<_ACEOF
28644 cat confdefs.h >>conftest.$ac_ext
28645 cat >>conftest.$ac_ext <<_ACEOF
28646 /* end confdefs.h. */
28653 FILE *f=fopen("conftestval", "w");
28656 ZLIB_VERSION[0] == '1' &&
28657 (ZLIB_VERSION[2] > '1' ||
28658 (ZLIB_VERSION[2] == '1' &&
28659 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28664 rm -f conftest$ac_exeext
28665 if { (ac_try="$ac_link"
28666 case "(($ac_try" in
28667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28668 *) ac_try_echo=$ac_try;;
28670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28671 (eval "$ac_link") 2>&5
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28675 { (case "(($ac_try" in
28676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28677 *) ac_try_echo=$ac_try;;
28679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28680 (eval "$ac_try") 2>&5
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; }; then
28684 ac_cv_header_zlib_h=`cat conftestval`
28686 echo "$as_me: program exited with status $ac_status" >&5
28687 echo "$as_me: failed program was:" >&5
28688 sed 's/^/| /' conftest.$ac_ext >&5
28690 ( exit $ac_status )
28691 ac_cv_header_zlib_h=no
28693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28699 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28700 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28701 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28702 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28703 if test "${ac_cv_header_zlib_h+set}" = set; then
28704 echo $ECHO_N "(cached) $ECHO_C" >&6
28706 cat >conftest.$ac_ext <<_ACEOF
28709 cat confdefs.h >>conftest.$ac_ext
28710 cat >>conftest.$ac_ext <<_ACEOF
28711 /* end confdefs.h. */
28716 rm -f conftest.$ac_objext
28717 if { (ac_try="$ac_compile"
28718 case "(($ac_try" in
28719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28720 *) ac_try_echo=$ac_try;;
28722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28723 (eval "$ac_compile") 2>conftest.er1
28725 grep -v '^ *+' conftest.er1 >conftest.err
28727 cat conftest.err >&5
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); } && {
28730 test -z "$ac_c_werror_flag" ||
28731 test ! -s conftest.err
28732 } && test -s conftest.$ac_objext; then
28733 ac_cv_header_zlib_h=yes
28735 echo "$as_me: failed program was:" >&5
28736 sed 's/^/| /' conftest.$ac_ext >&5
28738 ac_cv_header_zlib_h=no
28741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28743 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28744 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28748 system_zlib_h_ok=$ac_cv_header_zlib_h
28751 if test "$system_zlib_h_ok" = "yes"; then
28752 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28753 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28754 if test "${ac_cv_lib_z_deflate+set}" = set; then
28755 echo $ECHO_N "(cached) $ECHO_C" >&6
28757 ac_check_lib_save_LIBS=$LIBS
28759 cat >conftest.$ac_ext <<_ACEOF
28762 cat confdefs.h >>conftest.$ac_ext
28763 cat >>conftest.$ac_ext <<_ACEOF
28764 /* end confdefs.h. */
28766 /* Override any GCC internal prototype to avoid an error.
28767 Use char because int might match the return type of a GCC
28768 builtin and then its argument prototype would still apply. */
28781 rm -f conftest.$ac_objext conftest$ac_exeext
28782 if { (ac_try="$ac_link"
28783 case "(($ac_try" in
28784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28785 *) ac_try_echo=$ac_try;;
28787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28788 (eval "$ac_link") 2>conftest.er1
28790 grep -v '^ *+' conftest.er1 >conftest.err
28792 cat conftest.err >&5
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); } && {
28795 test -z "$ac_c_werror_flag" ||
28796 test ! -s conftest.err
28797 } && test -s conftest$ac_exeext &&
28798 $as_test_x conftest$ac_exeext; then
28799 ac_cv_lib_z_deflate=yes
28801 echo "$as_me: failed program was:" >&5
28802 sed 's/^/| /' conftest.$ac_ext >&5
28804 ac_cv_lib_z_deflate=no
28807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28808 conftest$ac_exeext conftest.$ac_ext
28809 LIBS=$ac_check_lib_save_LIBS
28811 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28812 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28813 if test $ac_cv_lib_z_deflate = yes; then
28819 if test "x$ZLIB_LINK" = "x" ; then
28820 if test "$wxUSE_ZLIB" = "sys" ; then
28821 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28822 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28823 { (exit 1); exit 1; }; }
28825 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28826 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28837 if test "$wxUSE_LIBPNG" != "no" ; then
28838 cat >>confdefs.h <<\_ACEOF
28839 #define wxUSE_LIBPNG 1
28843 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28844 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28845 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28849 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28850 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28851 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28852 wxUSE_LIBPNG=builtin
28855 if test "$wxUSE_MGL" != 1 ; then
28856 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28857 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28858 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28859 if test "${ac_cv_header_png_h+set}" = set; then
28860 echo $ECHO_N "(cached) $ECHO_C" >&6
28862 if test "$cross_compiling" = yes; then
28863 unset ac_cv_header_png_h
28866 cat >conftest.$ac_ext <<_ACEOF
28869 cat confdefs.h >>conftest.$ac_ext
28870 cat >>conftest.$ac_ext <<_ACEOF
28871 /* end confdefs.h. */
28878 FILE *f=fopen("conftestval", "w");
28881 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28886 rm -f conftest$ac_exeext
28887 if { (ac_try="$ac_link"
28888 case "(($ac_try" in
28889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28890 *) ac_try_echo=$ac_try;;
28892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28893 (eval "$ac_link") 2>&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28897 { (case "(($ac_try" in
28898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28899 *) ac_try_echo=$ac_try;;
28901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28902 (eval "$ac_try") 2>&5
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); }; }; then
28906 ac_cv_header_png_h=`cat conftestval`
28908 echo "$as_me: program exited with status $ac_status" >&5
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.$ac_ext >&5
28912 ( exit $ac_status )
28913 ac_cv_header_png_h=no
28915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28921 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28922 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28923 { echo "$as_me:$LINENO: checking for png.h" >&5
28924 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28925 if test "${ac_cv_header_png_h+set}" = set; then
28926 echo $ECHO_N "(cached) $ECHO_C" >&6
28928 cat >conftest.$ac_ext <<_ACEOF
28931 cat confdefs.h >>conftest.$ac_ext
28932 cat >>conftest.$ac_ext <<_ACEOF
28933 /* end confdefs.h. */
28938 rm -f conftest.$ac_objext
28939 if { (ac_try="$ac_compile"
28940 case "(($ac_try" in
28941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28942 *) ac_try_echo=$ac_try;;
28944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28945 (eval "$ac_compile") 2>conftest.er1
28947 grep -v '^ *+' conftest.er1 >conftest.err
28949 cat conftest.err >&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); } && {
28952 test -z "$ac_c_werror_flag" ||
28953 test ! -s conftest.err
28954 } && test -s conftest.$ac_objext; then
28955 ac_cv_header_png_h=yes
28957 echo "$as_me: failed program was:" >&5
28958 sed 's/^/| /' conftest.$ac_ext >&5
28960 ac_cv_header_png_h=no
28963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28965 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28966 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28970 if test "$ac_cv_header_png_h" = "yes"; then
28971 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28972 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28973 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28974 echo $ECHO_N "(cached) $ECHO_C" >&6
28976 ac_check_lib_save_LIBS=$LIBS
28977 LIBS="-lpng -lz -lm $LIBS"
28978 cat >conftest.$ac_ext <<_ACEOF
28981 cat confdefs.h >>conftest.$ac_ext
28982 cat >>conftest.$ac_ext <<_ACEOF
28983 /* end confdefs.h. */
28985 /* Override any GCC internal prototype to avoid an error.
28986 Use char because int might match the return type of a GCC
28987 builtin and then its argument prototype would still apply. */
28991 char png_check_sig ();
28995 return png_check_sig ();
29000 rm -f conftest.$ac_objext conftest$ac_exeext
29001 if { (ac_try="$ac_link"
29002 case "(($ac_try" in
29003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29004 *) ac_try_echo=$ac_try;;
29006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29007 (eval "$ac_link") 2>conftest.er1
29009 grep -v '^ *+' conftest.er1 >conftest.err
29011 cat conftest.err >&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); } && {
29014 test -z "$ac_c_werror_flag" ||
29015 test ! -s conftest.err
29016 } && test -s conftest$ac_exeext &&
29017 $as_test_x conftest$ac_exeext; then
29018 ac_cv_lib_png_png_check_sig=yes
29020 echo "$as_me: failed program was:" >&5
29021 sed 's/^/| /' conftest.$ac_ext >&5
29023 ac_cv_lib_png_png_check_sig=no
29026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29027 conftest$ac_exeext conftest.$ac_ext
29028 LIBS=$ac_check_lib_save_LIBS
29030 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29031 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29032 if test $ac_cv_lib_png_png_check_sig = yes; then
29033 PNG_LINK=" -lpng -lz"
29038 if test "x$PNG_LINK" = "x" ; then
29039 if test "$wxUSE_LIBPNG" = "sys" ; then
29040 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29041 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29042 { (exit 1); exit 1; }; }
29044 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29045 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29046 wxUSE_LIBPNG=builtin
29057 if test "$wxUSE_LIBJPEG" != "no" ; then
29058 cat >>confdefs.h <<\_ACEOF
29059 #define wxUSE_LIBJPEG 1
29063 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29064 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29065 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29069 if test "$wxUSE_MGL" != 1 ; then
29070 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29071 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29072 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29073 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29074 echo $ECHO_N "(cached) $ECHO_C" >&6
29076 cat >conftest.$ac_ext <<_ACEOF
29079 cat confdefs.h >>conftest.$ac_ext
29080 cat >>conftest.$ac_ext <<_ACEOF
29081 /* end confdefs.h. */
29083 #undef HAVE_STDLIB_H
29085 #include <jpeglib.h>
29096 rm -f conftest.$ac_objext
29097 if { (ac_try="$ac_compile"
29098 case "(($ac_try" in
29099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29100 *) ac_try_echo=$ac_try;;
29102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29103 (eval "$ac_compile") 2>conftest.er1
29105 grep -v '^ *+' conftest.er1 >conftest.err
29107 cat conftest.err >&5
29108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109 (exit $ac_status); } && {
29110 test -z "$ac_c_werror_flag" ||
29111 test ! -s conftest.err
29112 } && test -s conftest.$ac_objext; then
29113 ac_cv_header_jpeglib_h=yes
29115 echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.$ac_ext >&5
29118 ac_cv_header_jpeglib_h=no
29122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29126 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29127 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29129 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29130 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29131 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29132 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29133 echo $ECHO_N "(cached) $ECHO_C" >&6
29135 ac_check_lib_save_LIBS=$LIBS
29136 LIBS="-ljpeg $LIBS"
29137 cat >conftest.$ac_ext <<_ACEOF
29140 cat confdefs.h >>conftest.$ac_ext
29141 cat >>conftest.$ac_ext <<_ACEOF
29142 /* end confdefs.h. */
29144 /* Override any GCC internal prototype to avoid an error.
29145 Use char because int might match the return type of a GCC
29146 builtin and then its argument prototype would still apply. */
29150 char jpeg_read_header ();
29154 return jpeg_read_header ();
29159 rm -f conftest.$ac_objext conftest$ac_exeext
29160 if { (ac_try="$ac_link"
29161 case "(($ac_try" in
29162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29163 *) ac_try_echo=$ac_try;;
29165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29166 (eval "$ac_link") 2>conftest.er1
29168 grep -v '^ *+' conftest.er1 >conftest.err
29170 cat conftest.err >&5
29171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172 (exit $ac_status); } && {
29173 test -z "$ac_c_werror_flag" ||
29174 test ! -s conftest.err
29175 } && test -s conftest$ac_exeext &&
29176 $as_test_x conftest$ac_exeext; then
29177 ac_cv_lib_jpeg_jpeg_read_header=yes
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29182 ac_cv_lib_jpeg_jpeg_read_header=no
29185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29186 conftest$ac_exeext conftest.$ac_ext
29187 LIBS=$ac_check_lib_save_LIBS
29189 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29190 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29191 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29192 JPEG_LINK=" -ljpeg"
29197 if test "x$JPEG_LINK" = "x" ; then
29198 if test "$wxUSE_LIBJPEG" = "sys" ; then
29199 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29200 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29201 { (exit 1); exit 1; }; }
29203 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29204 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29205 wxUSE_LIBJPEG=builtin
29210 if test "$wxUSE_MSW" = 1; then
29211 { echo "$as_me:$LINENO: checking for boolean" >&5
29212 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29213 if test "${ac_cv_type_boolean+set}" = set; then
29214 echo $ECHO_N "(cached) $ECHO_C" >&6
29216 cat >conftest.$ac_ext <<_ACEOF
29219 cat confdefs.h >>conftest.$ac_ext
29220 cat >>conftest.$ac_ext <<_ACEOF
29221 /* end confdefs.h. */
29222 #include <windows.h>
29224 typedef boolean ac__type_new_;
29228 if ((ac__type_new_ *) 0)
29230 if (sizeof (ac__type_new_))
29236 rm -f conftest.$ac_objext
29237 if { (ac_try="$ac_compile"
29238 case "(($ac_try" in
29239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29240 *) ac_try_echo=$ac_try;;
29242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29243 (eval "$ac_compile") 2>conftest.er1
29245 grep -v '^ *+' conftest.er1 >conftest.err
29247 cat conftest.err >&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); } && {
29250 test -z "$ac_c_werror_flag" ||
29251 test ! -s conftest.err
29252 } && test -s conftest.$ac_objext; then
29253 ac_cv_type_boolean=yes
29255 echo "$as_me: failed program was:" >&5
29256 sed 's/^/| /' conftest.$ac_ext >&5
29258 ac_cv_type_boolean=no
29261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29263 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29264 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29265 if test $ac_cv_type_boolean = yes; then
29267 cat >>confdefs.h <<_ACEOF
29268 #define HAVE_BOOLEAN 1
29272 { echo "$as_me:$LINENO: checking for boolean" >&5
29273 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29274 if test "${ac_cv_type_boolean+set}" = set; then
29275 echo $ECHO_N "(cached) $ECHO_C" >&6
29277 cat >conftest.$ac_ext <<_ACEOF
29280 cat confdefs.h >>conftest.$ac_ext
29281 cat >>conftest.$ac_ext <<_ACEOF
29282 /* end confdefs.h. */
29284 #undef HAVE_BOOLEAN
29286 #include <jpeglib.h>
29289 typedef boolean ac__type_new_;
29293 if ((ac__type_new_ *) 0)
29295 if (sizeof (ac__type_new_))
29301 rm -f conftest.$ac_objext
29302 if { (ac_try="$ac_compile"
29303 case "(($ac_try" in
29304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29305 *) ac_try_echo=$ac_try;;
29307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29308 (eval "$ac_compile") 2>conftest.er1
29310 grep -v '^ *+' conftest.er1 >conftest.err
29312 cat conftest.err >&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } && {
29315 test -z "$ac_c_werror_flag" ||
29316 test ! -s conftest.err
29317 } && test -s conftest.$ac_objext; then
29318 ac_cv_type_boolean=yes
29320 echo "$as_me: failed program was:" >&5
29321 sed 's/^/| /' conftest.$ac_ext >&5
29323 ac_cv_type_boolean=no
29326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29328 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29329 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29331 # The cast to long int works around a bug in the HP C Compiler
29332 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29333 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29334 # This bug is HP SR number 8606223364.
29335 { echo "$as_me:$LINENO: checking size of boolean" >&5
29336 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29337 if test "${ac_cv_sizeof_boolean+set}" = set; then
29338 echo $ECHO_N "(cached) $ECHO_C" >&6
29340 if test "$cross_compiling" = yes; then
29341 # Depending upon the size, compute the lo and hi bounds.
29342 cat >conftest.$ac_ext <<_ACEOF
29345 cat confdefs.h >>conftest.$ac_ext
29346 cat >>conftest.$ac_ext <<_ACEOF
29347 /* end confdefs.h. */
29349 #undef HAVE_BOOLEAN
29351 #include <jpeglib.h>
29354 typedef boolean ac__type_sizeof_;
29358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29365 rm -f conftest.$ac_objext
29366 if { (ac_try="$ac_compile"
29367 case "(($ac_try" in
29368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29369 *) ac_try_echo=$ac_try;;
29371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29372 (eval "$ac_compile") 2>conftest.er1
29374 grep -v '^ *+' conftest.er1 >conftest.err
29376 cat conftest.err >&5
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); } && {
29379 test -z "$ac_c_werror_flag" ||
29380 test ! -s conftest.err
29381 } && test -s conftest.$ac_objext; then
29384 cat >conftest.$ac_ext <<_ACEOF
29387 cat confdefs.h >>conftest.$ac_ext
29388 cat >>conftest.$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29391 #undef HAVE_BOOLEAN
29393 #include <jpeglib.h>
29396 typedef boolean ac__type_sizeof_;
29400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29407 rm -f conftest.$ac_objext
29408 if { (ac_try="$ac_compile"
29409 case "(($ac_try" in
29410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29411 *) ac_try_echo=$ac_try;;
29413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29414 (eval "$ac_compile") 2>conftest.er1
29416 grep -v '^ *+' conftest.er1 >conftest.err
29418 cat conftest.err >&5
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); } && {
29421 test -z "$ac_c_werror_flag" ||
29422 test ! -s conftest.err
29423 } && test -s conftest.$ac_objext; then
29424 ac_hi=$ac_mid; break
29426 echo "$as_me: failed program was:" >&5
29427 sed 's/^/| /' conftest.$ac_ext >&5
29429 ac_lo=`expr $ac_mid + 1`
29430 if test $ac_lo -le $ac_mid; then
29434 ac_mid=`expr 2 '*' $ac_mid + 1`
29437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29440 echo "$as_me: failed program was:" >&5
29441 sed 's/^/| /' conftest.$ac_ext >&5
29443 cat >conftest.$ac_ext <<_ACEOF
29446 cat confdefs.h >>conftest.$ac_ext
29447 cat >>conftest.$ac_ext <<_ACEOF
29448 /* end confdefs.h. */
29450 #undef HAVE_BOOLEAN
29452 #include <jpeglib.h>
29455 typedef boolean ac__type_sizeof_;
29459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29466 rm -f conftest.$ac_objext
29467 if { (ac_try="$ac_compile"
29468 case "(($ac_try" in
29469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29470 *) ac_try_echo=$ac_try;;
29472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29473 (eval "$ac_compile") 2>conftest.er1
29475 grep -v '^ *+' conftest.er1 >conftest.err
29477 cat conftest.err >&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } && {
29480 test -z "$ac_c_werror_flag" ||
29481 test ! -s conftest.err
29482 } && test -s conftest.$ac_objext; then
29485 cat >conftest.$ac_ext <<_ACEOF
29488 cat confdefs.h >>conftest.$ac_ext
29489 cat >>conftest.$ac_ext <<_ACEOF
29490 /* end confdefs.h. */
29492 #undef HAVE_BOOLEAN
29494 #include <jpeglib.h>
29497 typedef boolean ac__type_sizeof_;
29501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29508 rm -f conftest.$ac_objext
29509 if { (ac_try="$ac_compile"
29510 case "(($ac_try" in
29511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29512 *) ac_try_echo=$ac_try;;
29514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29515 (eval "$ac_compile") 2>conftest.er1
29517 grep -v '^ *+' conftest.er1 >conftest.err
29519 cat conftest.err >&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); } && {
29522 test -z "$ac_c_werror_flag" ||
29523 test ! -s conftest.err
29524 } && test -s conftest.$ac_objext; then
29525 ac_lo=$ac_mid; break
29527 echo "$as_me: failed program was:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29530 ac_hi=`expr '(' $ac_mid ')' - 1`
29531 if test $ac_mid -le $ac_hi; then
29535 ac_mid=`expr 2 '*' $ac_mid`
29538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29541 echo "$as_me: failed program was:" >&5
29542 sed 's/^/| /' conftest.$ac_ext >&5
29547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29551 # Binary search between lo and hi bounds.
29552 while test "x$ac_lo" != "x$ac_hi"; do
29553 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29554 cat >conftest.$ac_ext <<_ACEOF
29557 cat confdefs.h >>conftest.$ac_ext
29558 cat >>conftest.$ac_ext <<_ACEOF
29559 /* end confdefs.h. */
29561 #undef HAVE_BOOLEAN
29563 #include <jpeglib.h>
29566 typedef boolean ac__type_sizeof_;
29570 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29577 rm -f conftest.$ac_objext
29578 if { (ac_try="$ac_compile"
29579 case "(($ac_try" in
29580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29581 *) ac_try_echo=$ac_try;;
29583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29584 (eval "$ac_compile") 2>conftest.er1
29586 grep -v '^ *+' conftest.er1 >conftest.err
29588 cat conftest.err >&5
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); } && {
29591 test -z "$ac_c_werror_flag" ||
29592 test ! -s conftest.err
29593 } && test -s conftest.$ac_objext; then
29596 echo "$as_me: failed program was:" >&5
29597 sed 's/^/| /' conftest.$ac_ext >&5
29599 ac_lo=`expr '(' $ac_mid ')' + 1`
29602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29605 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29606 '') if test "$ac_cv_type_boolean" = yes; then
29607 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29608 See \`config.log' for more details." >&5
29609 echo "$as_me: error: cannot compute sizeof (boolean)
29610 See \`config.log' for more details." >&2;}
29611 { (exit 77); exit 77; }; }
29613 ac_cv_sizeof_boolean=0
29617 cat >conftest.$ac_ext <<_ACEOF
29620 cat confdefs.h >>conftest.$ac_ext
29621 cat >>conftest.$ac_ext <<_ACEOF
29622 /* end confdefs.h. */
29624 #undef HAVE_BOOLEAN
29626 #include <jpeglib.h>
29629 typedef boolean ac__type_sizeof_;
29630 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29631 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29633 #include <stdlib.h>
29638 FILE *f = fopen ("conftest.val", "w");
29641 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29643 long int i = longval ();
29644 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29646 fprintf (f, "%ld\n", i);
29650 unsigned long int i = ulongval ();
29651 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29653 fprintf (f, "%lu\n", i);
29655 return ferror (f) || fclose (f) != 0;
29661 rm -f conftest$ac_exeext
29662 if { (ac_try="$ac_link"
29663 case "(($ac_try" in
29664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29665 *) ac_try_echo=$ac_try;;
29667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29668 (eval "$ac_link") 2>&5
29670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29672 { (case "(($ac_try" in
29673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29674 *) ac_try_echo=$ac_try;;
29676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29677 (eval "$ac_try") 2>&5
29679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29680 (exit $ac_status); }; }; then
29681 ac_cv_sizeof_boolean=`cat conftest.val`
29683 echo "$as_me: program exited with status $ac_status" >&5
29684 echo "$as_me: failed program was:" >&5
29685 sed 's/^/| /' conftest.$ac_ext >&5
29687 ( exit $ac_status )
29688 if test "$ac_cv_type_boolean" = yes; then
29689 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29690 See \`config.log' for more details." >&5
29691 echo "$as_me: error: cannot compute sizeof (boolean)
29692 See \`config.log' for more details." >&2;}
29693 { (exit 77); exit 77; }; }
29695 ac_cv_sizeof_boolean=0
29698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29702 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29703 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29707 cat >>confdefs.h <<_ACEOF
29708 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29712 cat >>confdefs.h <<_ACEOF
29713 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29727 TIFF_PREREQ_LINKS=-lm
29728 if test "$wxUSE_LIBTIFF" != "no" ; then
29729 cat >>confdefs.h <<\_ACEOF
29730 #define wxUSE_LIBTIFF 1
29734 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29735 if test "$wxUSE_LIBJPEG" = "sys"; then
29736 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29738 if test "$wxUSE_ZLIB" = "sys"; then
29739 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29741 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29742 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29743 if test "${ac_cv_header_tiffio_h+set}" = set; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29746 cat >conftest.$ac_ext <<_ACEOF
29749 cat confdefs.h >>conftest.$ac_ext
29750 cat >>conftest.$ac_ext <<_ACEOF
29751 /* end confdefs.h. */
29755 #include <tiffio.h>
29757 rm -f conftest.$ac_objext
29758 if { (ac_try="$ac_compile"
29759 case "(($ac_try" in
29760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29761 *) ac_try_echo=$ac_try;;
29763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29764 (eval "$ac_compile") 2>conftest.er1
29766 grep -v '^ *+' conftest.er1 >conftest.err
29768 cat conftest.err >&5
29769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29770 (exit $ac_status); } && {
29771 test -z "$ac_c_werror_flag" ||
29772 test ! -s conftest.err
29773 } && test -s conftest.$ac_objext; then
29774 ac_cv_header_tiffio_h=yes
29776 echo "$as_me: failed program was:" >&5
29777 sed 's/^/| /' conftest.$ac_ext >&5
29779 ac_cv_header_tiffio_h=no
29782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29784 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29785 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29786 if test $ac_cv_header_tiffio_h = yes; then
29788 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29789 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29790 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29791 echo $ECHO_N "(cached) $ECHO_C" >&6
29793 ac_check_lib_save_LIBS=$LIBS
29794 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29795 cat >conftest.$ac_ext <<_ACEOF
29798 cat confdefs.h >>conftest.$ac_ext
29799 cat >>conftest.$ac_ext <<_ACEOF
29800 /* end confdefs.h. */
29802 /* Override any GCC internal prototype to avoid an error.
29803 Use char because int might match the return type of a GCC
29804 builtin and then its argument prototype would still apply. */
29812 return TIFFError ();
29817 rm -f conftest.$ac_objext conftest$ac_exeext
29818 if { (ac_try="$ac_link"
29819 case "(($ac_try" in
29820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29821 *) ac_try_echo=$ac_try;;
29823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29824 (eval "$ac_link") 2>conftest.er1
29826 grep -v '^ *+' conftest.er1 >conftest.err
29828 cat conftest.err >&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); } && {
29831 test -z "$ac_c_werror_flag" ||
29832 test ! -s conftest.err
29833 } && test -s conftest$ac_exeext &&
29834 $as_test_x conftest$ac_exeext; then
29835 ac_cv_lib_tiff_TIFFError=yes
29837 echo "$as_me: failed program was:" >&5
29838 sed 's/^/| /' conftest.$ac_ext >&5
29840 ac_cv_lib_tiff_TIFFError=no
29843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29844 conftest$ac_exeext conftest.$ac_ext
29845 LIBS=$ac_check_lib_save_LIBS
29847 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29848 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29849 if test $ac_cv_lib_tiff_TIFFError = yes; then
29850 TIFF_LINK=" -ltiff"
29858 if test "x$TIFF_LINK" = "x" ; then
29859 if test "$wxUSE_LIBTIFF" = "sys" ; then
29860 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29861 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29862 { (exit 1); exit 1; }; }
29864 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29865 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29866 wxUSE_LIBTIFF=builtin
29875 if test "$wxUSE_WCHAR_T" != "yes"; then
29876 if test "$wxUSE_EXPAT" != "no"; then
29877 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29878 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29881 if test "$wxUSE_XML" != "no"; then
29882 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29883 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29888 if test "$wxUSE_EXPAT" != "no"; then
29890 cat >>confdefs.h <<\_ACEOF
29891 #define wxUSE_EXPAT 1
29894 cat >>confdefs.h <<\_ACEOF
29895 #define wxUSE_XML 1
29899 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29900 { echo "$as_me:$LINENO: checking for expat.h" >&5
29901 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29902 if test "${ac_cv_header_expat_h+set}" = set; then
29903 echo $ECHO_N "(cached) $ECHO_C" >&6
29905 cat >conftest.$ac_ext <<_ACEOF
29908 cat confdefs.h >>conftest.$ac_ext
29909 cat >>conftest.$ac_ext <<_ACEOF
29910 /* end confdefs.h. */
29915 rm -f conftest.$ac_objext
29916 if { (ac_try="$ac_compile"
29917 case "(($ac_try" in
29918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29919 *) ac_try_echo=$ac_try;;
29921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29922 (eval "$ac_compile") 2>conftest.er1
29924 grep -v '^ *+' conftest.er1 >conftest.err
29926 cat conftest.err >&5
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); } && {
29929 test -z "$ac_c_werror_flag" ||
29930 test ! -s conftest.err
29931 } && test -s conftest.$ac_objext; then
29932 ac_cv_header_expat_h=yes
29934 echo "$as_me: failed program was:" >&5
29935 sed 's/^/| /' conftest.$ac_ext >&5
29937 ac_cv_header_expat_h=no
29940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29942 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29943 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29944 if test $ac_cv_header_expat_h = yes; then
29949 if test "x$found_expat_h" = "x1"; then
29950 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29951 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29952 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29953 echo $ECHO_N "(cached) $ECHO_C" >&6
29957 ac_cpp='$CXXCPP $CPPFLAGS'
29958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29962 cat >conftest.$ac_ext <<_ACEOF
29965 cat confdefs.h >>conftest.$ac_ext
29966 cat >>conftest.$ac_ext <<_ACEOF
29967 /* end confdefs.h. */
29977 rm -f conftest.$ac_objext
29978 if { (ac_try="$ac_compile"
29979 case "(($ac_try" in
29980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29981 *) ac_try_echo=$ac_try;;
29983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29984 (eval "$ac_compile") 2>conftest.er1
29986 grep -v '^ *+' conftest.er1 >conftest.err
29988 cat conftest.err >&5
29989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29990 (exit $ac_status); } && {
29991 test -z "$ac_cxx_werror_flag" ||
29992 test ! -s conftest.err
29993 } && test -s conftest.$ac_objext; then
29994 wx_cv_expat_is_not_broken=yes
29996 echo "$as_me: failed program was:" >&5
29997 sed 's/^/| /' conftest.$ac_ext >&5
29999 wx_cv_expat_is_not_broken=no
30003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30005 ac_cpp='$CPP $CPPFLAGS'
30006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30013 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30014 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30015 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30016 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30017 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30018 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30019 echo $ECHO_N "(cached) $ECHO_C" >&6
30021 ac_check_lib_save_LIBS=$LIBS
30022 LIBS="-lexpat $LIBS"
30023 cat >conftest.$ac_ext <<_ACEOF
30026 cat confdefs.h >>conftest.$ac_ext
30027 cat >>conftest.$ac_ext <<_ACEOF
30028 /* end confdefs.h. */
30030 /* Override any GCC internal prototype to avoid an error.
30031 Use char because int might match the return type of a GCC
30032 builtin and then its argument prototype would still apply. */
30036 char XML_ParserCreate ();
30040 return XML_ParserCreate ();
30045 rm -f conftest.$ac_objext conftest$ac_exeext
30046 if { (ac_try="$ac_link"
30047 case "(($ac_try" in
30048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30049 *) ac_try_echo=$ac_try;;
30051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30052 (eval "$ac_link") 2>conftest.er1
30054 grep -v '^ *+' conftest.er1 >conftest.err
30056 cat conftest.err >&5
30057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30058 (exit $ac_status); } && {
30059 test -z "$ac_c_werror_flag" ||
30060 test ! -s conftest.err
30061 } && test -s conftest$ac_exeext &&
30062 $as_test_x conftest$ac_exeext; then
30063 ac_cv_lib_expat_XML_ParserCreate=yes
30065 echo "$as_me: failed program was:" >&5
30066 sed 's/^/| /' conftest.$ac_ext >&5
30068 ac_cv_lib_expat_XML_ParserCreate=no
30071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30072 conftest$ac_exeext conftest.$ac_ext
30073 LIBS=$ac_check_lib_save_LIBS
30075 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30076 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30077 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30078 EXPAT_LINK=" -lexpat"
30083 if test "x$EXPAT_LINK" = "x" ; then
30084 if test "$wxUSE_EXPAT" = "sys" ; then
30085 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30086 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30087 { (exit 1); exit 1; }; }
30089 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30090 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30091 wxUSE_EXPAT=builtin
30097 if test "$wxUSE_EXPAT" = "builtin" ; then
30098 subdirs="$subdirs src/expat"
30105 if test "$wxUSE_LIBMSPACK" != "no"; then
30106 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30107 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30108 if test "${ac_cv_header_mspack_h+set}" = set; then
30109 echo $ECHO_N "(cached) $ECHO_C" >&6
30111 cat >conftest.$ac_ext <<_ACEOF
30114 cat confdefs.h >>conftest.$ac_ext
30115 cat >>conftest.$ac_ext <<_ACEOF
30116 /* end confdefs.h. */
30119 #include <mspack.h>
30121 rm -f conftest.$ac_objext
30122 if { (ac_try="$ac_compile"
30123 case "(($ac_try" in
30124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30125 *) ac_try_echo=$ac_try;;
30127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30128 (eval "$ac_compile") 2>conftest.er1
30130 grep -v '^ *+' conftest.er1 >conftest.err
30132 cat conftest.err >&5
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); } && {
30135 test -z "$ac_c_werror_flag" ||
30136 test ! -s conftest.err
30137 } && test -s conftest.$ac_objext; then
30138 ac_cv_header_mspack_h=yes
30140 echo "$as_me: failed program was:" >&5
30141 sed 's/^/| /' conftest.$ac_ext >&5
30143 ac_cv_header_mspack_h=no
30146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30148 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30149 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30150 if test $ac_cv_header_mspack_h = yes; then
30155 if test "x$found_mspack_h" = "x1"; then
30156 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30157 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30158 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30159 echo $ECHO_N "(cached) $ECHO_C" >&6
30161 ac_check_lib_save_LIBS=$LIBS
30162 LIBS="-lmspack $LIBS"
30163 cat >conftest.$ac_ext <<_ACEOF
30166 cat confdefs.h >>conftest.$ac_ext
30167 cat >>conftest.$ac_ext <<_ACEOF
30168 /* end confdefs.h. */
30170 /* Override any GCC internal prototype to avoid an error.
30171 Use char because int might match the return type of a GCC
30172 builtin and then its argument prototype would still apply. */
30176 char mspack_create_chm_decompressor ();
30180 return mspack_create_chm_decompressor ();
30185 rm -f conftest.$ac_objext conftest$ac_exeext
30186 if { (ac_try="$ac_link"
30187 case "(($ac_try" in
30188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30189 *) ac_try_echo=$ac_try;;
30191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30192 (eval "$ac_link") 2>conftest.er1
30194 grep -v '^ *+' conftest.er1 >conftest.err
30196 cat conftest.err >&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); } && {
30199 test -z "$ac_c_werror_flag" ||
30200 test ! -s conftest.err
30201 } && test -s conftest$ac_exeext &&
30202 $as_test_x conftest$ac_exeext; then
30203 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30205 echo "$as_me: failed program was:" >&5
30206 sed 's/^/| /' conftest.$ac_ext >&5
30208 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30212 conftest$ac_exeext conftest.$ac_ext
30213 LIBS=$ac_check_lib_save_LIBS
30215 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30216 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30217 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30218 MSPACK_LINK=" -lmspack"
30222 if test "x$MSPACK_LINK" = "x" ; then
30227 if test "$wxUSE_LIBMSPACK" != "no"; then
30228 cat >>confdefs.h <<\_ACEOF
30229 #define wxUSE_LIBMSPACK 1
30243 if test "$USE_WIN32" = 1 ; then
30245 for ac_header in w32api.h
30247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30248 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30250 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30251 echo $ECHO_N "(cached) $ECHO_C" >&6
30253 cat >conftest.$ac_ext <<_ACEOF
30256 cat confdefs.h >>conftest.$ac_ext
30257 cat >>conftest.$ac_ext <<_ACEOF
30258 /* end confdefs.h. */
30261 #include <$ac_header>
30263 rm -f conftest.$ac_objext
30264 if { (ac_try="$ac_compile"
30265 case "(($ac_try" in
30266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30267 *) ac_try_echo=$ac_try;;
30269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30270 (eval "$ac_compile") 2>conftest.er1
30272 grep -v '^ *+' conftest.er1 >conftest.err
30274 cat conftest.err >&5
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); } && {
30277 test -z "$ac_c_werror_flag" ||
30278 test ! -s conftest.err
30279 } && test -s conftest.$ac_objext; then
30280 eval "$as_ac_Header=yes"
30282 echo "$as_me: failed program was:" >&5
30283 sed 's/^/| /' conftest.$ac_ext >&5
30285 eval "$as_ac_Header=no"
30288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30290 ac_res=`eval echo '${'$as_ac_Header'}'`
30291 { echo "$as_me:$LINENO: result: $ac_res" >&5
30292 echo "${ECHO_T}$ac_res" >&6; }
30293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30294 cat >>confdefs.h <<_ACEOF
30295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30302 { echo "$as_me:$LINENO: checking for windows.h" >&5
30303 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30304 if test "${ac_cv_header_windows_h+set}" = set; then
30305 echo $ECHO_N "(cached) $ECHO_C" >&6
30307 cat >conftest.$ac_ext <<_ACEOF
30310 cat confdefs.h >>conftest.$ac_ext
30311 cat >>conftest.$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30315 #include <windows.h>
30317 rm -f conftest.$ac_objext
30318 if { (ac_try="$ac_compile"
30319 case "(($ac_try" in
30320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30321 *) ac_try_echo=$ac_try;;
30323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30324 (eval "$ac_compile") 2>conftest.er1
30326 grep -v '^ *+' conftest.er1 >conftest.err
30328 cat conftest.err >&5
30329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30330 (exit $ac_status); } && {
30331 test -z "$ac_c_werror_flag" ||
30332 test ! -s conftest.err
30333 } && test -s conftest.$ac_objext; then
30334 ac_cv_header_windows_h=yes
30336 echo "$as_me: failed program was:" >&5
30337 sed 's/^/| /' conftest.$ac_ext >&5
30339 ac_cv_header_windows_h=no
30342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30344 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30345 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30346 if test $ac_cv_header_windows_h = yes; then
30350 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30351 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30352 { (exit 1); exit 1; }; }
30358 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30360 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30361 LIBS="$LIBS -loleacc"
30366 LIBS="$LIBS -lkernel32 -luser32"
30369 if test "$wxUSE_ODBC" = "sys" ; then
30372 if test "$wxUSE_ODBC" = "yes" ; then
30373 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30374 cat >>confdefs.h <<\_ACEOF
30375 #define wxUSE_ODBC 1
30380 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30381 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30383 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30385 WIN32INSTALL=win32install
30387 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30388 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30389 if test "${ac_cv_header_pbt_h+set}" = set; then
30390 echo $ECHO_N "(cached) $ECHO_C" >&6
30392 cat >conftest.$ac_ext <<_ACEOF
30395 cat confdefs.h >>conftest.$ac_ext
30396 cat >>conftest.$ac_ext <<_ACEOF
30397 /* end confdefs.h. */
30402 rm -f conftest.$ac_objext
30403 if { (ac_try="$ac_compile"
30404 case "(($ac_try" in
30405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30406 *) ac_try_echo=$ac_try;;
30408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30409 (eval "$ac_compile") 2>conftest.er1
30411 grep -v '^ *+' conftest.er1 >conftest.err
30413 cat conftest.err >&5
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); } && {
30416 test -z "$ac_c_werror_flag" ||
30417 test ! -s conftest.err
30418 } && test -s conftest.$ac_objext; then
30419 ac_cv_header_pbt_h=yes
30421 echo "$as_me: failed program was:" >&5
30422 sed 's/^/| /' conftest.$ac_ext >&5
30424 ac_cv_header_pbt_h=no
30427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30429 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30430 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30431 if test $ac_cv_header_pbt_h = yes; then
30434 cat >>confdefs.h <<\_ACEOF
30435 #define NEED_PBT_H 1
30443 if test "$wxUSE_GUI" = "yes"; then
30453 if test "$wxUSE_COCOA" = 1 ; then
30454 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30455 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30456 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30457 wxUSE_PRINTING_ARCHITECTURE=no
30459 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30460 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30461 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30462 wxUSE_DRAG_AND_DROP=no
30464 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30465 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30466 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30471 if test "$wxUSE_MSW" = 1 ; then
30477 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30481 if test "$wxUSE_GTK" = 1; then
30482 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30483 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30485 gtk_version_cached=1
30486 if test "${wx_cv_lib_gtk+set}" = set; then
30487 echo $ECHO_N "(cached) $ECHO_C" >&6
30490 gtk_version_cached=0
30491 { echo "$as_me:$LINENO: result: " >&5
30492 echo "${ECHO_T}" >&6; }
30495 if test "$wxUSE_THREADS" = "yes"; then
30496 GTK_MODULES=gthread
30500 if test "x$wxGTK_VERSION" != "x1"
30504 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30509 # Check whether --enable-gtktest was given.
30510 if test "${enable_gtktest+set}" = set; then
30511 enableval=$enable_gtktest;
30517 pkg_config_args=gtk+-2.0
30518 for module in . $GTK_MODULES
30522 pkg_config_args="$pkg_config_args gthread-2.0"
30529 # Extract the first word of "pkg-config", so it can be a program name with args.
30530 set dummy pkg-config; ac_word=$2
30531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30533 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30536 case $PKG_CONFIG in
30538 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30542 for as_dir in $PATH
30545 test -z "$as_dir" && as_dir=.
30546 for ac_exec_ext in '' $ac_executable_extensions; do
30547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30548 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30556 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30560 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30561 if test -n "$PKG_CONFIG"; then
30562 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30563 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30565 { echo "$as_me:$LINENO: result: no" >&5
30566 echo "${ECHO_T}no" >&6; }
30571 if test x$PKG_CONFIG != xno ; then
30572 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30575 echo "*** pkg-config too old; version 0.7 or better required."
30583 min_gtk_version=2.0.0
30584 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30585 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30587 if test x$PKG_CONFIG != xno ; then
30588 ## don't try to run the test against uninstalled libtool libs
30589 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30590 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30594 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30601 if test x"$no_gtk" = x ; then
30602 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30603 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30604 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30605 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30606 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30607 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30608 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30609 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30610 if test "x$enable_gtktest" = "xyes" ; then
30611 ac_save_CFLAGS="$CFLAGS"
30612 ac_save_LIBS="$LIBS"
30613 CFLAGS="$CFLAGS $GTK_CFLAGS"
30614 LIBS="$GTK_LIBS $LIBS"
30616 if test "$cross_compiling" = yes; then
30617 echo $ac_n "cross compiling; assumed OK... $ac_c"
30619 cat >conftest.$ac_ext <<_ACEOF
30622 cat confdefs.h >>conftest.$ac_ext
30623 cat >>conftest.$ac_ext <<_ACEOF
30624 /* end confdefs.h. */
30626 #include <gtk/gtk.h>
30628 #include <stdlib.h>
30633 int major, minor, micro;
30636 system ("touch conf.gtktest");
30638 /* HP/UX 9 (%@#!) writes to sscanf strings */
30639 tmp_version = g_strdup("$min_gtk_version");
30640 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30641 printf("%s, bad version string\n", "$min_gtk_version");
30645 if ((gtk_major_version != $gtk_config_major_version) ||
30646 (gtk_minor_version != $gtk_config_minor_version) ||
30647 (gtk_micro_version != $gtk_config_micro_version))
30649 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30650 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30651 gtk_major_version, gtk_minor_version, gtk_micro_version);
30652 printf ("*** was found! If pkg-config was correct, then it is best\n");
30653 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30654 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30655 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30656 printf("*** required on your system.\n");
30657 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30658 printf("*** to point to the correct configuration files\n");
30660 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30661 (gtk_minor_version != GTK_MINOR_VERSION) ||
30662 (gtk_micro_version != GTK_MICRO_VERSION))
30664 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30665 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30666 printf("*** library (version %d.%d.%d)\n",
30667 gtk_major_version, gtk_minor_version, gtk_micro_version);
30671 if ((gtk_major_version > major) ||
30672 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30673 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30679 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30680 gtk_major_version, gtk_minor_version, gtk_micro_version);
30681 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30682 major, minor, micro);
30683 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30685 printf("*** If you have already installed a sufficiently new version, this error\n");
30686 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30687 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30688 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30689 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30690 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30691 printf("*** so that the correct libraries are found at run-time))\n");
30698 rm -f conftest$ac_exeext
30699 if { (ac_try="$ac_link"
30700 case "(($ac_try" in
30701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30702 *) ac_try_echo=$ac_try;;
30704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30705 (eval "$ac_link") 2>&5
30707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30709 { (case "(($ac_try" in
30710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30711 *) ac_try_echo=$ac_try;;
30713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30714 (eval "$ac_try") 2>&5
30716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30717 (exit $ac_status); }; }; then
30720 echo "$as_me: program exited with status $ac_status" >&5
30721 echo "$as_me: failed program was:" >&5
30722 sed 's/^/| /' conftest.$ac_ext >&5
30724 ( exit $ac_status )
30727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30731 CFLAGS="$ac_save_CFLAGS"
30732 LIBS="$ac_save_LIBS"
30735 if test "x$no_gtk" = x ; then
30736 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30737 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30740 { echo "$as_me:$LINENO: result: no" >&5
30741 echo "${ECHO_T}no" >&6; }
30742 if test "$PKG_CONFIG" = "no" ; then
30743 echo "*** A new enough version of pkg-config was not found."
30744 echo "*** See http://pkgconfig.sourceforge.net"
30746 if test -f conf.gtktest ; then
30749 echo "*** Could not run GTK+ test program, checking why..."
30750 ac_save_CFLAGS="$CFLAGS"
30751 ac_save_LIBS="$LIBS"
30752 CFLAGS="$CFLAGS $GTK_CFLAGS"
30753 LIBS="$LIBS $GTK_LIBS"
30754 cat >conftest.$ac_ext <<_ACEOF
30757 cat confdefs.h >>conftest.$ac_ext
30758 cat >>conftest.$ac_ext <<_ACEOF
30759 /* end confdefs.h. */
30761 #include <gtk/gtk.h>
30767 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30772 rm -f conftest.$ac_objext conftest$ac_exeext
30773 if { (ac_try="$ac_link"
30774 case "(($ac_try" in
30775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30776 *) ac_try_echo=$ac_try;;
30778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30779 (eval "$ac_link") 2>conftest.er1
30781 grep -v '^ *+' conftest.er1 >conftest.err
30783 cat conftest.err >&5
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); } && {
30786 test -z "$ac_c_werror_flag" ||
30787 test ! -s conftest.err
30788 } && test -s conftest$ac_exeext &&
30789 $as_test_x conftest$ac_exeext; then
30790 echo "*** The test program compiled, but did not run. This usually means"
30791 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30792 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30793 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30794 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30795 echo "*** is required on your system"
30797 echo "*** If you have an old version installed, it is best to remove it, although"
30798 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.$ac_ext >&5
30803 echo "*** The test program failed to compile or link. See the file config.log for the"
30804 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30808 conftest$ac_exeext conftest.$ac_ext
30809 CFLAGS="$ac_save_CFLAGS"
30810 LIBS="$ac_save_LIBS"
30824 if test "$wxUSE_SHARED" != "yes"; then
30825 GTK_LIBS="$GTK_LIBS -lX11"
30830 if test -z "$wx_cv_lib_gtk"; then
30831 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30833 # Check whether --with-gtk-prefix was given.
30834 if test "${with_gtk_prefix+set}" = set; then
30835 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30837 gtk_config_prefix=""
30841 # Check whether --with-gtk-exec-prefix was given.
30842 if test "${with_gtk_exec_prefix+set}" = set; then
30843 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30845 gtk_config_exec_prefix=""
30848 # Check whether --enable-gtktest was given.
30849 if test "${enable_gtktest+set}" = set; then
30850 enableval=$enable_gtktest;
30856 for module in . $GTK_MODULES
30860 gtk_config_args="$gtk_config_args gthread"
30865 if test x$gtk_config_exec_prefix != x ; then
30866 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30867 if test x${GTK_CONFIG+set} != xset ; then
30868 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30871 if test x$gtk_config_prefix != x ; then
30872 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30873 if test x${GTK_CONFIG+set} != xset ; then
30874 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30878 # Extract the first word of "gtk-config", so it can be a program name with args.
30879 set dummy gtk-config; ac_word=$2
30880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30882 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30883 echo $ECHO_N "(cached) $ECHO_C" >&6
30885 case $GTK_CONFIG in
30887 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30891 for as_dir in $PATH
30894 test -z "$as_dir" && as_dir=.
30895 for ac_exec_ext in '' $ac_executable_extensions; do
30896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30897 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30905 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30909 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30910 if test -n "$GTK_CONFIG"; then
30911 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30912 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30914 { echo "$as_me:$LINENO: result: no" >&5
30915 echo "${ECHO_T}no" >&6; }
30919 min_gtk_version=1.2.7
30920 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30921 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30923 if test "$GTK_CONFIG" = "no" ; then
30926 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30927 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30928 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30930 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30932 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30934 if test "x$enable_gtktest" = "xyes" ; then
30935 ac_save_CFLAGS="$CFLAGS"
30936 ac_save_LIBS="$LIBS"
30937 CFLAGS="$CFLAGS $GTK_CFLAGS"
30938 LIBS="$GTK_LIBS $LIBS"
30940 if test "$cross_compiling" = yes; then
30941 echo $ac_n "cross compiling; assumed OK... $ac_c"
30943 cat >conftest.$ac_ext <<_ACEOF
30946 cat confdefs.h >>conftest.$ac_ext
30947 cat >>conftest.$ac_ext <<_ACEOF
30948 /* end confdefs.h. */
30950 #include <gtk/gtk.h>
30952 #include <stdlib.h>
30957 int major, minor, micro;
30960 system ("touch conf.gtktest");
30962 /* HP/UX 9 (%@#!) writes to sscanf strings */
30963 tmp_version = g_strdup("$min_gtk_version");
30964 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30965 printf("%s, bad version string\n", "$min_gtk_version");
30969 if ((gtk_major_version != $gtk_config_major_version) ||
30970 (gtk_minor_version != $gtk_config_minor_version) ||
30971 (gtk_micro_version != $gtk_config_micro_version))
30973 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30974 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30975 gtk_major_version, gtk_minor_version, gtk_micro_version);
30976 printf ("*** was found! If gtk-config was correct, then it is best\n");
30977 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30978 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30979 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30980 printf("*** required on your system.\n");
30981 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30982 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30983 printf("*** before re-running configure\n");
30985 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30986 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30987 (gtk_minor_version != GTK_MINOR_VERSION) ||
30988 (gtk_micro_version != GTK_MICRO_VERSION))
30990 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30991 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30992 printf("*** library (version %d.%d.%d)\n",
30993 gtk_major_version, gtk_minor_version, gtk_micro_version);
30995 #endif /* defined (GTK_MAJOR_VERSION) ... */
30998 if ((gtk_major_version > major) ||
30999 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31000 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31006 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31007 gtk_major_version, gtk_minor_version, gtk_micro_version);
31008 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31009 major, minor, micro);
31010 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31012 printf("*** If you have already installed a sufficiently new version, this error\n");
31013 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31014 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31015 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31016 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31017 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31018 printf("*** so that the correct libraries are found at run-time))\n");
31025 rm -f conftest$ac_exeext
31026 if { (ac_try="$ac_link"
31027 case "(($ac_try" in
31028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31029 *) ac_try_echo=$ac_try;;
31031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31032 (eval "$ac_link") 2>&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31036 { (case "(($ac_try" in
31037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31038 *) ac_try_echo=$ac_try;;
31040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31041 (eval "$ac_try") 2>&5
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); }; }; then
31047 echo "$as_me: program exited with status $ac_status" >&5
31048 echo "$as_me: failed program was:" >&5
31049 sed 's/^/| /' conftest.$ac_ext >&5
31051 ( exit $ac_status )
31054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31058 CFLAGS="$ac_save_CFLAGS"
31059 LIBS="$ac_save_LIBS"
31062 if test "x$no_gtk" = x ; then
31063 { echo "$as_me:$LINENO: result: yes" >&5
31064 echo "${ECHO_T}yes" >&6; }
31065 wx_cv_lib_gtk=1.2.7
31067 { echo "$as_me:$LINENO: result: no" >&5
31068 echo "${ECHO_T}no" >&6; }
31069 if test "$GTK_CONFIG" = "no" ; then
31070 echo "*** The gtk-config script installed by GTK could not be found"
31071 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31072 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31073 echo "*** full path to gtk-config."
31075 if test -f conf.gtktest ; then
31078 echo "*** Could not run GTK test program, checking why..."
31079 CFLAGS="$CFLAGS $GTK_CFLAGS"
31080 LIBS="$LIBS $GTK_LIBS"
31081 cat >conftest.$ac_ext <<_ACEOF
31084 cat confdefs.h >>conftest.$ac_ext
31085 cat >>conftest.$ac_ext <<_ACEOF
31086 /* end confdefs.h. */
31088 #include <gtk/gtk.h>
31094 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31099 rm -f conftest.$ac_objext conftest$ac_exeext
31100 if { (ac_try="$ac_link"
31101 case "(($ac_try" in
31102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31103 *) ac_try_echo=$ac_try;;
31105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31106 (eval "$ac_link") 2>conftest.er1
31108 grep -v '^ *+' conftest.er1 >conftest.err
31110 cat conftest.err >&5
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); } && {
31113 test -z "$ac_c_werror_flag" ||
31114 test ! -s conftest.err
31115 } && test -s conftest$ac_exeext &&
31116 $as_test_x conftest$ac_exeext; then
31117 echo "*** The test program compiled, but did not run. This usually means"
31118 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31119 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31120 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31121 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31122 echo "*** is required on your system"
31124 echo "*** If you have an old version installed, it is best to remove it, although"
31125 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31127 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31128 echo "*** came with the system with the command"
31130 echo "*** rpm --erase --nodeps gtk gtk-devel"
31132 echo "$as_me: failed program was:" >&5
31133 sed 's/^/| /' conftest.$ac_ext >&5
31135 echo "*** The test program failed to compile or link. See the file config.log for the"
31136 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31137 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31138 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31142 conftest$ac_exeext conftest.$ac_ext
31143 CFLAGS="$ac_save_CFLAGS"
31144 LIBS="$ac_save_LIBS"
31156 if test -z "$wx_cv_lib_gtk"; then
31158 # Check whether --with-gtk-prefix was given.
31159 if test "${with_gtk_prefix+set}" = set; then
31160 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31162 gtk_config_prefix=""
31166 # Check whether --with-gtk-exec-prefix was given.
31167 if test "${with_gtk_exec_prefix+set}" = set; then
31168 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31170 gtk_config_exec_prefix=""
31173 # Check whether --enable-gtktest was given.
31174 if test "${enable_gtktest+set}" = set; then
31175 enableval=$enable_gtktest;
31181 for module in . $GTK_MODULES
31185 gtk_config_args="$gtk_config_args gthread"
31190 if test x$gtk_config_exec_prefix != x ; then
31191 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31192 if test x${GTK_CONFIG+set} != xset ; then
31193 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31196 if test x$gtk_config_prefix != x ; then
31197 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31198 if test x${GTK_CONFIG+set} != xset ; then
31199 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31203 # Extract the first word of "gtk-config", so it can be a program name with args.
31204 set dummy gtk-config; ac_word=$2
31205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31207 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31208 echo $ECHO_N "(cached) $ECHO_C" >&6
31210 case $GTK_CONFIG in
31212 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31216 for as_dir in $PATH
31219 test -z "$as_dir" && as_dir=.
31220 for ac_exec_ext in '' $ac_executable_extensions; do
31221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31222 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31230 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31234 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31235 if test -n "$GTK_CONFIG"; then
31236 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31237 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31239 { echo "$as_me:$LINENO: result: no" >&5
31240 echo "${ECHO_T}no" >&6; }
31244 min_gtk_version=1.2.3
31245 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31246 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31248 if test "$GTK_CONFIG" = "no" ; then
31251 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31252 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31253 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31254 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31255 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31257 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31259 if test "x$enable_gtktest" = "xyes" ; then
31260 ac_save_CFLAGS="$CFLAGS"
31261 ac_save_LIBS="$LIBS"
31262 CFLAGS="$CFLAGS $GTK_CFLAGS"
31263 LIBS="$GTK_LIBS $LIBS"
31265 if test "$cross_compiling" = yes; then
31266 echo $ac_n "cross compiling; assumed OK... $ac_c"
31268 cat >conftest.$ac_ext <<_ACEOF
31271 cat confdefs.h >>conftest.$ac_ext
31272 cat >>conftest.$ac_ext <<_ACEOF
31273 /* end confdefs.h. */
31275 #include <gtk/gtk.h>
31277 #include <stdlib.h>
31282 int major, minor, micro;
31285 system ("touch conf.gtktest");
31287 /* HP/UX 9 (%@#!) writes to sscanf strings */
31288 tmp_version = g_strdup("$min_gtk_version");
31289 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31290 printf("%s, bad version string\n", "$min_gtk_version");
31294 if ((gtk_major_version != $gtk_config_major_version) ||
31295 (gtk_minor_version != $gtk_config_minor_version) ||
31296 (gtk_micro_version != $gtk_config_micro_version))
31298 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31299 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31300 gtk_major_version, gtk_minor_version, gtk_micro_version);
31301 printf ("*** was found! If gtk-config was correct, then it is best\n");
31302 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31303 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31304 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31305 printf("*** required on your system.\n");
31306 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31307 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31308 printf("*** before re-running configure\n");
31310 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31311 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31312 (gtk_minor_version != GTK_MINOR_VERSION) ||
31313 (gtk_micro_version != GTK_MICRO_VERSION))
31315 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31316 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31317 printf("*** library (version %d.%d.%d)\n",
31318 gtk_major_version, gtk_minor_version, gtk_micro_version);
31320 #endif /* defined (GTK_MAJOR_VERSION) ... */
31323 if ((gtk_major_version > major) ||
31324 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31325 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31331 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31332 gtk_major_version, gtk_minor_version, gtk_micro_version);
31333 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31334 major, minor, micro);
31335 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31337 printf("*** If you have already installed a sufficiently new version, this error\n");
31338 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31339 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31340 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31341 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31342 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31343 printf("*** so that the correct libraries are found at run-time))\n");
31350 rm -f conftest$ac_exeext
31351 if { (ac_try="$ac_link"
31352 case "(($ac_try" in
31353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31354 *) ac_try_echo=$ac_try;;
31356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31357 (eval "$ac_link") 2>&5
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31361 { (case "(($ac_try" in
31362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31363 *) ac_try_echo=$ac_try;;
31365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31366 (eval "$ac_try") 2>&5
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; }; then
31372 echo "$as_me: program exited with status $ac_status" >&5
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.$ac_ext >&5
31376 ( exit $ac_status )
31379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31383 CFLAGS="$ac_save_CFLAGS"
31384 LIBS="$ac_save_LIBS"
31387 if test "x$no_gtk" = x ; then
31388 { echo "$as_me:$LINENO: result: yes" >&5
31389 echo "${ECHO_T}yes" >&6; }
31390 wx_cv_lib_gtk=1.2.3
31392 { echo "$as_me:$LINENO: result: no" >&5
31393 echo "${ECHO_T}no" >&6; }
31394 if test "$GTK_CONFIG" = "no" ; then
31395 echo "*** The gtk-config script installed by GTK could not be found"
31396 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31397 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31398 echo "*** full path to gtk-config."
31400 if test -f conf.gtktest ; then
31403 echo "*** Could not run GTK test program, checking why..."
31404 CFLAGS="$CFLAGS $GTK_CFLAGS"
31405 LIBS="$LIBS $GTK_LIBS"
31406 cat >conftest.$ac_ext <<_ACEOF
31409 cat confdefs.h >>conftest.$ac_ext
31410 cat >>conftest.$ac_ext <<_ACEOF
31411 /* end confdefs.h. */
31413 #include <gtk/gtk.h>
31419 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31424 rm -f conftest.$ac_objext conftest$ac_exeext
31425 if { (ac_try="$ac_link"
31426 case "(($ac_try" in
31427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31428 *) ac_try_echo=$ac_try;;
31430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31431 (eval "$ac_link") 2>conftest.er1
31433 grep -v '^ *+' conftest.er1 >conftest.err
31435 cat conftest.err >&5
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); } && {
31438 test -z "$ac_c_werror_flag" ||
31439 test ! -s conftest.err
31440 } && test -s conftest$ac_exeext &&
31441 $as_test_x conftest$ac_exeext; then
31442 echo "*** The test program compiled, but did not run. This usually means"
31443 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31444 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31445 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31446 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31447 echo "*** is required on your system"
31449 echo "*** If you have an old version installed, it is best to remove it, although"
31450 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31452 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31453 echo "*** came with the system with the command"
31455 echo "*** rpm --erase --nodeps gtk gtk-devel"
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.$ac_ext >&5
31460 echo "*** The test program failed to compile or link. See the file config.log for the"
31461 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31462 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31463 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31467 conftest$ac_exeext conftest.$ac_ext
31468 CFLAGS="$ac_save_CFLAGS"
31469 LIBS="$ac_save_LIBS"
31484 if test -z "$wx_cv_lib_gtk"; then
31487 wx_cv_cflags_gtk=$GTK_CFLAGS
31488 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31495 if test "$gtk_version_cached" = 1; then
31496 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31497 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31500 case "$wx_cv_lib_gtk" in
31509 *) { { echo "$as_me:$LINENO: error:
31510 The development files for GTK+ were not found. For GTK+ 2, please
31511 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31512 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31513 and that the version is 1.2.3 or above. Also check that the
31514 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31515 --libs' are in the LD_LIBRARY_PATH or equivalent.
31517 echo "$as_me: error:
31518 The development files for GTK+ were not found. For GTK+ 2, please
31519 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31520 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31521 and that the version is 1.2.3 or above. Also check that the
31522 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31523 --libs' are in the LD_LIBRARY_PATH or equivalent.
31525 { (exit 1); exit 1; }; }
31529 if test "$WXGTK20" = 1; then
31530 save_CFLAGS="$CFLAGS"
31532 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31533 LIBS="$LIBS $wx_cv_libs_gtk"
31535 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31536 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31537 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31538 echo $ECHO_N "(cached) $ECHO_C" >&6
31540 cat >conftest.$ac_ext <<_ACEOF
31543 cat confdefs.h >>conftest.$ac_ext
31544 cat >>conftest.$ac_ext <<_ACEOF
31545 /* end confdefs.h. */
31546 #include <gtk/gtk.h>
31551 #ifndef gtk_icon_size_lookup
31552 (void) gtk_icon_size_lookup;
31559 rm -f conftest.$ac_objext
31560 if { (ac_try="$ac_compile"
31561 case "(($ac_try" in
31562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31563 *) ac_try_echo=$ac_try;;
31565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31566 (eval "$ac_compile") 2>conftest.er1
31568 grep -v '^ *+' conftest.er1 >conftest.err
31570 cat conftest.err >&5
31571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31572 (exit $ac_status); } && {
31573 test -z "$ac_c_werror_flag" ||
31574 test ! -s conftest.err
31575 } && test -s conftest.$ac_objext; then
31576 ac_cv_have_decl_gtk_icon_size_lookup=yes
31578 echo "$as_me: failed program was:" >&5
31579 sed 's/^/| /' conftest.$ac_ext >&5
31581 ac_cv_have_decl_gtk_icon_size_lookup=no
31584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31586 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31587 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31588 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31590 cat >>confdefs.h <<_ACEOF
31591 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31596 cat >>confdefs.h <<_ACEOF
31597 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31600 cat >>confdefs.h <<\_ACEOF
31601 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31609 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31610 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31611 cat >conftest.$ac_ext <<_ACEOF
31614 cat confdefs.h >>conftest.$ac_ext
31615 cat >>conftest.$ac_ext <<_ACEOF
31616 /* end confdefs.h. */
31618 #include <gtk/gtk.h>
31624 #if !GTK_CHECK_VERSION(2,10,0)
31632 rm -f conftest.$ac_objext
31633 if { (ac_try="$ac_compile"
31634 case "(($ac_try" in
31635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31636 *) ac_try_echo=$ac_try;;
31638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31639 (eval "$ac_compile") 2>conftest.er1
31641 grep -v '^ *+' conftest.er1 >conftest.err
31643 cat conftest.err >&5
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); } && {
31646 test -z "$ac_c_werror_flag" ||
31647 test ! -s conftest.err
31648 } && test -s conftest.$ac_objext; then
31650 cat >>confdefs.h <<\_ACEOF
31651 #define __WXGTK210__ 1
31654 cat >>confdefs.h <<\_ACEOF
31655 #define __WXGTK26__ 1
31658 cat >>confdefs.h <<\_ACEOF
31659 #define __WXGTK24__ 1
31662 { echo "$as_me:$LINENO: result: yes" >&5
31663 echo "${ECHO_T}yes" >&6; }
31667 echo "$as_me: failed program was:" >&5
31668 sed 's/^/| /' conftest.$ac_ext >&5
31671 { echo "$as_me:$LINENO: result: no" >&5
31672 echo "${ECHO_T}no" >&6; }
31677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31679 if test "$ac_wxgtk210" = 0; then
31680 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31681 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31682 cat >conftest.$ac_ext <<_ACEOF
31685 cat confdefs.h >>conftest.$ac_ext
31686 cat >>conftest.$ac_ext <<_ACEOF
31687 /* end confdefs.h. */
31689 #include <gtk/gtk.h>
31695 #if !GTK_CHECK_VERSION(2,6,0)
31703 rm -f conftest.$ac_objext
31704 if { (ac_try="$ac_compile"
31705 case "(($ac_try" in
31706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31707 *) ac_try_echo=$ac_try;;
31709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31710 (eval "$ac_compile") 2>conftest.er1
31712 grep -v '^ *+' conftest.er1 >conftest.err
31714 cat conftest.err >&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); } && {
31717 test -z "$ac_c_werror_flag" ||
31718 test ! -s conftest.err
31719 } && test -s conftest.$ac_objext; then
31721 cat >>confdefs.h <<\_ACEOF
31722 #define __WXGTK26__ 1
31725 cat >>confdefs.h <<\_ACEOF
31726 #define __WXGTK24__ 1
31729 { echo "$as_me:$LINENO: result: yes" >&5
31730 echo "${ECHO_T}yes" >&6; }
31734 echo "$as_me: failed program was:" >&5
31735 sed 's/^/| /' conftest.$ac_ext >&5
31738 { echo "$as_me:$LINENO: result: no" >&5
31739 echo "${ECHO_T}no" >&6; }
31744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31747 if test "$ac_wxgtk26" = 0; then
31748 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31749 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31750 cat >conftest.$ac_ext <<_ACEOF
31753 cat confdefs.h >>conftest.$ac_ext
31754 cat >>conftest.$ac_ext <<_ACEOF
31755 /* end confdefs.h. */
31757 #include <gtk/gtk.h>
31763 #if !GTK_CHECK_VERSION(2,4,0)
31771 rm -f conftest.$ac_objext
31772 if { (ac_try="$ac_compile"
31773 case "(($ac_try" in
31774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31775 *) ac_try_echo=$ac_try;;
31777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31778 (eval "$ac_compile") 2>conftest.er1
31780 grep -v '^ *+' conftest.er1 >conftest.err
31782 cat conftest.err >&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); } && {
31785 test -z "$ac_c_werror_flag" ||
31786 test ! -s conftest.err
31787 } && test -s conftest.$ac_objext; then
31789 cat >>confdefs.h <<\_ACEOF
31790 #define __WXGTK24__ 1
31793 { echo "$as_me:$LINENO: result: yes" >&5
31794 echo "${ECHO_T}yes" >&6; }
31797 echo "$as_me: failed program was:" >&5
31798 sed 's/^/| /' conftest.$ac_ext >&5
31801 { echo "$as_me:$LINENO: result: no" >&5
31802 echo "${ECHO_T}no" >&6; }
31806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31809 CFLAGS="$save_CFLAGS"
31812 if test "$wxUSE_UNICODE" = "yes"; then
31813 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31814 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31818 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31819 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31820 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31821 echo $ECHO_N "(cached) $ECHO_C" >&6
31823 ac_check_lib_save_LIBS=$LIBS
31825 cat >conftest.$ac_ext <<_ACEOF
31828 cat confdefs.h >>conftest.$ac_ext
31829 cat >>conftest.$ac_ext <<_ACEOF
31830 /* end confdefs.h. */
31832 /* Override any GCC internal prototype to avoid an error.
31833 Use char because int might match the return type of a GCC
31834 builtin and then its argument prototype would still apply. */
31838 char gdk_im_open ();
31842 return gdk_im_open ();
31847 rm -f conftest.$ac_objext conftest$ac_exeext
31848 if { (ac_try="$ac_link"
31849 case "(($ac_try" in
31850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31851 *) ac_try_echo=$ac_try;;
31853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31854 (eval "$ac_link") 2>conftest.er1
31856 grep -v '^ *+' conftest.er1 >conftest.err
31858 cat conftest.err >&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); } && {
31861 test -z "$ac_c_werror_flag" ||
31862 test ! -s conftest.err
31863 } && test -s conftest$ac_exeext &&
31864 $as_test_x conftest$ac_exeext; then
31865 ac_cv_lib_gdk_gdk_im_open=yes
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.$ac_ext >&5
31870 ac_cv_lib_gdk_gdk_im_open=no
31873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31874 conftest$ac_exeext conftest.$ac_ext
31875 LIBS=$ac_check_lib_save_LIBS
31877 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31878 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31879 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31880 cat >>confdefs.h <<\_ACEOF
31887 if test "$USE_DARWIN" != 1; then
31889 for ac_func in poll
31891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31895 echo $ECHO_N "(cached) $ECHO_C" >&6
31897 cat >conftest.$ac_ext <<_ACEOF
31900 cat confdefs.h >>conftest.$ac_ext
31901 cat >>conftest.$ac_ext <<_ACEOF
31902 /* end confdefs.h. */
31903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31905 #define $ac_func innocuous_$ac_func
31907 /* System header to define __stub macros and hopefully few prototypes,
31908 which can conflict with char $ac_func (); below.
31909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31910 <limits.h> exists even on freestanding compilers. */
31913 # include <limits.h>
31915 # include <assert.h>
31920 /* Override any GCC internal prototype to avoid an error.
31921 Use char because int might match the return type of a GCC
31922 builtin and then its argument prototype would still apply. */
31927 /* The GNU C library defines this for functions which it implements
31928 to always fail with ENOSYS. Some functions are actually named
31929 something starting with __ and the normal name is an alias. */
31930 #if defined __stub_$ac_func || defined __stub___$ac_func
31937 return $ac_func ();
31942 rm -f conftest.$ac_objext conftest$ac_exeext
31943 if { (ac_try="$ac_link"
31944 case "(($ac_try" in
31945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31946 *) ac_try_echo=$ac_try;;
31948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31949 (eval "$ac_link") 2>conftest.er1
31951 grep -v '^ *+' conftest.er1 >conftest.err
31953 cat conftest.err >&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); } && {
31956 test -z "$ac_c_werror_flag" ||
31957 test ! -s conftest.err
31958 } && test -s conftest$ac_exeext &&
31959 $as_test_x conftest$ac_exeext; then
31960 eval "$as_ac_var=yes"
31962 echo "$as_me: failed program was:" >&5
31963 sed 's/^/| /' conftest.$ac_ext >&5
31965 eval "$as_ac_var=no"
31968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31969 conftest$ac_exeext conftest.$ac_ext
31971 ac_res=`eval echo '${'$as_ac_var'}'`
31972 { echo "$as_me:$LINENO: result: $ac_res" >&5
31973 echo "${ECHO_T}$ac_res" >&6; }
31974 if test `eval echo '${'$as_ac_var'}'` = yes; then
31975 cat >>confdefs.h <<_ACEOF
31976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31985 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31986 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31988 AFMINSTALL=afminstall
31992 if test "$wxUSE_GPE" = "yes"; then
31993 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31994 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31997 for ac_dir in $SEARCH_LIB;
31999 for ac_extension in a so sl dylib dll.a; do
32000 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32001 ac_find_libraries=$ac_dir
32007 if test "$ac_find_libraries" != "" ; then
32009 if test "$ac_find_libraries" = "default location"; then
32012 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32014 if test $result = 0; then
32017 ac_path_to_link=" -L$ac_find_libraries"
32021 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32023 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32024 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32026 { echo "$as_me:$LINENO: result: not found" >&5
32027 echo "${ECHO_T}not found" >&6; }
32033 if test "$wxUSE_MGL" = 1; then
32034 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32035 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32036 if test "x$MGL_ROOT" = x ; then
32037 { echo "$as_me:$LINENO: result: not found" >&5
32038 echo "${ECHO_T}not found" >&6; }
32039 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32040 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32041 { (exit 1); exit 1; }; }
32043 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32044 echo "${ECHO_T}$MGL_ROOT" >&6; }
32047 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32048 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32051 if test "x$wxUSE_SHARED" = xyes ; then
32052 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32054 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32058 mgl_os_candidates="dos32/dj2"
32061 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32062 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32063 { (exit 1); exit 1; }; }
32069 for mgl_os_i in $mgl_os_candidates ; do
32070 if test "x$mgl_os" = x ; then
32071 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32072 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32073 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32078 if test "x$mgl_lib_type" = x ; then
32079 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32080 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32081 mgl_lib_type=release
32088 if test "x$mgl_os" = x ; then
32089 { echo "$as_me:$LINENO: result: not found" >&5
32090 echo "${ECHO_T}not found" >&6; }
32091 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32092 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32093 { (exit 1); exit 1; }; }
32095 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32096 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32098 wxUSE_UNIVERSAL="yes"
32100 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32101 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32103 AFMINSTALL=afminstall
32108 if test "$wxUSE_DFB" = 1; then
32111 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32112 if test -n "$ac_tool_prefix"; then
32113 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32114 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32117 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32118 echo $ECHO_N "(cached) $ECHO_C" >&6
32120 case $PKG_CONFIG in
32122 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32126 for as_dir in $PATH
32129 test -z "$as_dir" && as_dir=.
32130 for ac_exec_ext in '' $ac_executable_extensions; do
32131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32132 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32143 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32144 if test -n "$PKG_CONFIG"; then
32145 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32146 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32148 { echo "$as_me:$LINENO: result: no" >&5
32149 echo "${ECHO_T}no" >&6; }
32154 if test -z "$ac_cv_path_PKG_CONFIG"; then
32155 ac_pt_PKG_CONFIG=$PKG_CONFIG
32156 # Extract the first word of "pkg-config", so it can be a program name with args.
32157 set dummy pkg-config; ac_word=$2
32158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32160 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32163 case $ac_pt_PKG_CONFIG in
32165 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32169 for as_dir in $PATH
32172 test -z "$as_dir" && as_dir=.
32173 for ac_exec_ext in '' $ac_executable_extensions; do
32174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32175 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32186 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32187 if test -n "$ac_pt_PKG_CONFIG"; then
32188 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32189 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32191 { echo "$as_me:$LINENO: result: no" >&5
32192 echo "${ECHO_T}no" >&6; }
32195 if test "x$ac_pt_PKG_CONFIG" = x; then
32198 case $cross_compiling:$ac_tool_warned in
32200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32201 whose name does not start with the host triplet. If you think this
32202 configuration is useful to you, please write to autoconf@gnu.org." >&5
32203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32204 whose name does not start with the host triplet. If you think this
32205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32206 ac_tool_warned=yes ;;
32208 PKG_CONFIG=$ac_pt_PKG_CONFIG
32211 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32215 if test -n "$PKG_CONFIG"; then
32216 _pkg_min_version=0.9.0
32217 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32218 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32219 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32220 { echo "$as_me:$LINENO: result: yes" >&5
32221 echo "${ECHO_T}yes" >&6; }
32223 { echo "$as_me:$LINENO: result: no" >&5
32224 echo "${ECHO_T}no" >&6; }
32232 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32233 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32235 if test -n "$PKG_CONFIG"; then
32236 if test -n "$DIRECTFB_CFLAGS"; then
32237 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32239 if test -n "$PKG_CONFIG" && \
32240 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32241 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); }; then
32245 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32253 if test -n "$PKG_CONFIG"; then
32254 if test -n "$DIRECTFB_LIBS"; then
32255 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32257 if test -n "$PKG_CONFIG" && \
32258 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32259 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 (exit $ac_status); }; then
32263 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32274 if test $pkg_failed = yes; then
32276 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32277 _pkg_short_errors_supported=yes
32279 _pkg_short_errors_supported=no
32281 if test $_pkg_short_errors_supported = yes; then
32282 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32284 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32286 # Put the nasty error message in config.log where it belongs
32287 echo "$DIRECTFB_PKG_ERRORS" >&5
32290 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32291 echo "$as_me: error: DirectFB not found." >&2;}
32292 { (exit 1); exit 1; }; }
32295 elif test $pkg_failed = untried; then
32297 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32298 echo "$as_me: error: DirectFB not found." >&2;}
32299 { (exit 1); exit 1; }; }
32303 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32304 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32305 { echo "$as_me:$LINENO: result: yes" >&5
32306 echo "${ECHO_T}yes" >&6; }
32308 wxUSE_UNIVERSAL="yes"
32309 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32310 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32317 if test "$wxUSE_MICROWIN" = 1; then
32318 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32319 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32320 if test "x$MICROWINDOWS" = x ; then
32321 { echo "$as_me:$LINENO: result: not found" >&5
32322 echo "${ECHO_T}not found" >&6; }
32323 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32324 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32325 { (exit 1); exit 1; }; }
32327 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32328 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32331 if test -f $MICROWINDOWS/lib/libmwin.a; then
32332 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32333 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32335 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32336 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32337 { (exit 1); exit 1; }; }
32340 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32341 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32343 wxUSE_UNIVERSAL="yes"
32345 AFMINSTALL=afminstall
32347 GUIDIST=MICROWIN_DIST
32349 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32352 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32353 { echo "$as_me:$LINENO: checking for X" >&5
32354 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32357 # Check whether --with-x was given.
32358 if test "${with_x+set}" = set; then
32362 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32363 if test "x$with_x" = xno; then
32364 # The user explicitly disabled X.
32367 case $x_includes,$x_libraries in #(
32368 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32369 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32370 { (exit 1); exit 1; }; };; #(
32371 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32372 echo $ECHO_N "(cached) $ECHO_C" >&6
32374 # One or both of the vars are not set, and there is no cached value.
32375 ac_x_includes=no ac_x_libraries=no
32376 rm -f -r conftest.dir
32377 if mkdir conftest.dir; then
32379 cat >Imakefile <<'_ACEOF'
32381 @echo incroot='${INCROOT}'
32383 @echo usrlibdir='${USRLIBDIR}'
32385 @echo libdir='${LIBDIR}'
32387 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32388 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32389 for ac_var in incroot usrlibdir libdir; do
32390 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32392 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32393 for ac_extension in a so sl; do
32394 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32395 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32396 ac_im_usrlibdir=$ac_im_libdir; break
32399 # Screen out bogus values from the imake configuration. They are
32400 # bogus both because they are the default anyway, and because
32401 # using them would break gcc on systems where it needs fixed includes.
32402 case $ac_im_incroot in
32403 /usr/include) ac_x_includes= ;;
32404 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32406 case $ac_im_usrlibdir in
32407 /usr/lib | /lib) ;;
32408 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32412 rm -f -r conftest.dir
32415 # Standard set of common directories for X headers.
32416 # Check X11 before X11Rn because it is often a symlink to the current release.
32428 /usr/local/X11/include
32429 /usr/local/X11R6/include
32430 /usr/local/X11R5/include
32431 /usr/local/X11R4/include
32433 /usr/local/include/X11
32434 /usr/local/include/X11R6
32435 /usr/local/include/X11R5
32436 /usr/local/include/X11R4
32440 /usr/XFree86/include/X11
32444 /usr/unsupported/include
32445 /usr/athena/include
32446 /usr/local/x11r5/include
32447 /usr/lpp/Xamples/include
32449 /usr/openwin/include
32450 /usr/openwin/share/include'
32452 if test "$ac_x_includes" = no; then
32453 # Guess where to find include files, by looking for Xlib.h.
32454 # First, try using that file with no special directory specified.
32455 cat >conftest.$ac_ext <<_ACEOF
32458 cat confdefs.h >>conftest.$ac_ext
32459 cat >>conftest.$ac_ext <<_ACEOF
32460 /* end confdefs.h. */
32461 #include <X11/Xlib.h>
32463 if { (ac_try="$ac_cpp conftest.$ac_ext"
32464 case "(($ac_try" in
32465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32466 *) ac_try_echo=$ac_try;;
32468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32471 grep -v '^ *+' conftest.er1 >conftest.err
32473 cat conftest.err >&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); } >/dev/null && {
32476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32477 test ! -s conftest.err
32479 # We can compile using X headers with no special include directory.
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32485 for ac_dir in $ac_x_header_dirs; do
32486 if test -r "$ac_dir/X11/Xlib.h"; then
32487 ac_x_includes=$ac_dir
32493 rm -f conftest.err conftest.$ac_ext
32494 fi # $ac_x_includes = no
32496 if test "$ac_x_libraries" = no; then
32497 # Check for the libraries.
32498 # See if we find them without any special options.
32499 # Don't add to $LIBS permanently.
32502 cat >conftest.$ac_ext <<_ACEOF
32505 cat confdefs.h >>conftest.$ac_ext
32506 cat >>conftest.$ac_ext <<_ACEOF
32507 /* end confdefs.h. */
32508 #include <X11/Xlib.h>
32517 rm -f conftest.$ac_objext conftest$ac_exeext
32518 if { (ac_try="$ac_link"
32519 case "(($ac_try" in
32520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32521 *) ac_try_echo=$ac_try;;
32523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32524 (eval "$ac_link") 2>conftest.er1
32526 grep -v '^ *+' conftest.er1 >conftest.err
32528 cat conftest.err >&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); } && {
32531 test -z "$ac_c_werror_flag" ||
32532 test ! -s conftest.err
32533 } && test -s conftest$ac_exeext &&
32534 $as_test_x conftest$ac_exeext; then
32536 # We can link X programs with no special library path.
32539 echo "$as_me: failed program was:" >&5
32540 sed 's/^/| /' conftest.$ac_ext >&5
32543 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32545 # Don't even attempt the hair of trying to link an X program!
32546 for ac_extension in a so sl; do
32547 if test -r "$ac_dir/libX11.$ac_extension"; then
32548 ac_x_libraries=$ac_dir
32555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32556 conftest$ac_exeext conftest.$ac_ext
32557 fi # $ac_x_libraries = no
32559 case $ac_x_includes,$ac_x_libraries in #(
32560 no,* | *,no | *\'*)
32561 # Didn't find X, or a directory has "'" in its name.
32562 ac_cv_have_x="have_x=no";; #(
32564 # Record where we found X for the cache.
32565 ac_cv_have_x="have_x=yes\
32566 ac_x_includes='$ac_x_includes'\
32567 ac_x_libraries='$ac_x_libraries'"
32573 eval "$ac_cv_have_x"
32576 if test "$have_x" != yes; then
32577 { echo "$as_me:$LINENO: result: $have_x" >&5
32578 echo "${ECHO_T}$have_x" >&6; }
32581 # If each of the values was on the command line, it overrides each guess.
32582 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32583 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32584 # Update the cache value to reflect the command line values.
32585 ac_cv_have_x="have_x=yes\
32586 ac_x_includes='$x_includes'\
32587 ac_x_libraries='$x_libraries'"
32588 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32589 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32592 if test "$no_x" = yes; then
32593 # Not all programs may use this symbol, but it does not hurt to define it.
32595 cat >>confdefs.h <<\_ACEOF
32596 #define X_DISPLAY_MISSING 1
32599 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32601 if test -n "$x_includes"; then
32602 X_CFLAGS="$X_CFLAGS -I$x_includes"
32605 # It would also be nice to do this for all -L options, not just this one.
32606 if test -n "$x_libraries"; then
32607 X_LIBS="$X_LIBS -L$x_libraries"
32608 # For Solaris; some versions of Sun CC require a space after -R and
32609 # others require no space. Words are not sufficient . . . .
32610 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32611 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32612 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32613 ac_xsave_c_werror_flag=$ac_c_werror_flag
32614 ac_c_werror_flag=yes
32615 cat >conftest.$ac_ext <<_ACEOF
32618 cat confdefs.h >>conftest.$ac_ext
32619 cat >>conftest.$ac_ext <<_ACEOF
32620 /* end confdefs.h. */
32630 rm -f conftest.$ac_objext conftest$ac_exeext
32631 if { (ac_try="$ac_link"
32632 case "(($ac_try" in
32633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32634 *) ac_try_echo=$ac_try;;
32636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32637 (eval "$ac_link") 2>conftest.er1
32639 grep -v '^ *+' conftest.er1 >conftest.err
32641 cat conftest.err >&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); } && {
32644 test -z "$ac_c_werror_flag" ||
32645 test ! -s conftest.err
32646 } && test -s conftest$ac_exeext &&
32647 $as_test_x conftest$ac_exeext; then
32648 { echo "$as_me:$LINENO: result: no" >&5
32649 echo "${ECHO_T}no" >&6; }
32650 X_LIBS="$X_LIBS -R$x_libraries"
32652 echo "$as_me: failed program was:" >&5
32653 sed 's/^/| /' conftest.$ac_ext >&5
32655 LIBS="$ac_xsave_LIBS -R $x_libraries"
32656 cat >conftest.$ac_ext <<_ACEOF
32659 cat confdefs.h >>conftest.$ac_ext
32660 cat >>conftest.$ac_ext <<_ACEOF
32661 /* end confdefs.h. */
32671 rm -f conftest.$ac_objext conftest$ac_exeext
32672 if { (ac_try="$ac_link"
32673 case "(($ac_try" in
32674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32675 *) ac_try_echo=$ac_try;;
32677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32678 (eval "$ac_link") 2>conftest.er1
32680 grep -v '^ *+' conftest.er1 >conftest.err
32682 cat conftest.err >&5
32683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32684 (exit $ac_status); } && {
32685 test -z "$ac_c_werror_flag" ||
32686 test ! -s conftest.err
32687 } && test -s conftest$ac_exeext &&
32688 $as_test_x conftest$ac_exeext; then
32689 { echo "$as_me:$LINENO: result: yes" >&5
32690 echo "${ECHO_T}yes" >&6; }
32691 X_LIBS="$X_LIBS -R $x_libraries"
32693 echo "$as_me: failed program was:" >&5
32694 sed 's/^/| /' conftest.$ac_ext >&5
32696 { echo "$as_me:$LINENO: result: neither works" >&5
32697 echo "${ECHO_T}neither works" >&6; }
32700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32701 conftest$ac_exeext conftest.$ac_ext
32704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32705 conftest$ac_exeext conftest.$ac_ext
32706 ac_c_werror_flag=$ac_xsave_c_werror_flag
32707 LIBS=$ac_xsave_LIBS
32710 # Check for system-dependent libraries X programs must link with.
32711 # Do this before checking for the system-independent R6 libraries
32712 # (-lICE), since we may need -lsocket or whatever for X linking.
32714 if test "$ISC" = yes; then
32715 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32717 # Martyn Johnson says this is needed for Ultrix, if the X
32718 # libraries were built with DECnet support. And Karl Berry says
32719 # the Alpha needs dnet_stub (dnet does not exist).
32720 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32721 cat >conftest.$ac_ext <<_ACEOF
32724 cat confdefs.h >>conftest.$ac_ext
32725 cat >>conftest.$ac_ext <<_ACEOF
32726 /* end confdefs.h. */
32728 /* Override any GCC internal prototype to avoid an error.
32729 Use char because int might match the return type of a GCC
32730 builtin and then its argument prototype would still apply. */
32734 char XOpenDisplay ();
32738 return XOpenDisplay ();
32743 rm -f conftest.$ac_objext conftest$ac_exeext
32744 if { (ac_try="$ac_link"
32745 case "(($ac_try" in
32746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32747 *) ac_try_echo=$ac_try;;
32749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32750 (eval "$ac_link") 2>conftest.er1
32752 grep -v '^ *+' conftest.er1 >conftest.err
32754 cat conftest.err >&5
32755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 (exit $ac_status); } && {
32757 test -z "$ac_c_werror_flag" ||
32758 test ! -s conftest.err
32759 } && test -s conftest$ac_exeext &&
32760 $as_test_x conftest$ac_exeext; then
32763 echo "$as_me: failed program was:" >&5
32764 sed 's/^/| /' conftest.$ac_ext >&5
32766 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32767 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32768 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32769 echo $ECHO_N "(cached) $ECHO_C" >&6
32771 ac_check_lib_save_LIBS=$LIBS
32772 LIBS="-ldnet $LIBS"
32773 cat >conftest.$ac_ext <<_ACEOF
32776 cat confdefs.h >>conftest.$ac_ext
32777 cat >>conftest.$ac_ext <<_ACEOF
32778 /* end confdefs.h. */
32780 /* Override any GCC internal prototype to avoid an error.
32781 Use char because int might match the return type of a GCC
32782 builtin and then its argument prototype would still apply. */
32790 return dnet_ntoa ();
32795 rm -f conftest.$ac_objext conftest$ac_exeext
32796 if { (ac_try="$ac_link"
32797 case "(($ac_try" in
32798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32799 *) ac_try_echo=$ac_try;;
32801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32802 (eval "$ac_link") 2>conftest.er1
32804 grep -v '^ *+' conftest.er1 >conftest.err
32806 cat conftest.err >&5
32807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32808 (exit $ac_status); } && {
32809 test -z "$ac_c_werror_flag" ||
32810 test ! -s conftest.err
32811 } && test -s conftest$ac_exeext &&
32812 $as_test_x conftest$ac_exeext; then
32813 ac_cv_lib_dnet_dnet_ntoa=yes
32815 echo "$as_me: failed program was:" >&5
32816 sed 's/^/| /' conftest.$ac_ext >&5
32818 ac_cv_lib_dnet_dnet_ntoa=no
32821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32822 conftest$ac_exeext conftest.$ac_ext
32823 LIBS=$ac_check_lib_save_LIBS
32825 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32826 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32827 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32828 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32831 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32832 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32833 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32834 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32835 echo $ECHO_N "(cached) $ECHO_C" >&6
32837 ac_check_lib_save_LIBS=$LIBS
32838 LIBS="-ldnet_stub $LIBS"
32839 cat >conftest.$ac_ext <<_ACEOF
32842 cat confdefs.h >>conftest.$ac_ext
32843 cat >>conftest.$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32846 /* Override any GCC internal prototype to avoid an error.
32847 Use char because int might match the return type of a GCC
32848 builtin and then its argument prototype would still apply. */
32856 return dnet_ntoa ();
32861 rm -f conftest.$ac_objext conftest$ac_exeext
32862 if { (ac_try="$ac_link"
32863 case "(($ac_try" in
32864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32865 *) ac_try_echo=$ac_try;;
32867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32868 (eval "$ac_link") 2>conftest.er1
32870 grep -v '^ *+' conftest.er1 >conftest.err
32872 cat conftest.err >&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); } && {
32875 test -z "$ac_c_werror_flag" ||
32876 test ! -s conftest.err
32877 } && test -s conftest$ac_exeext &&
32878 $as_test_x conftest$ac_exeext; then
32879 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.$ac_ext >&5
32884 ac_cv_lib_dnet_stub_dnet_ntoa=no
32887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32888 conftest$ac_exeext conftest.$ac_ext
32889 LIBS=$ac_check_lib_save_LIBS
32891 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32892 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32893 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32894 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32901 conftest$ac_exeext conftest.$ac_ext
32902 LIBS="$ac_xsave_LIBS"
32904 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32905 # to get the SysV transport functions.
32906 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32908 # The nsl library prevents programs from opening the X display
32909 # on Irix 5.2, according to T.E. Dickey.
32910 # The functions gethostbyname, getservbyname, and inet_addr are
32911 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32912 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32913 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32914 if test "${ac_cv_func_gethostbyname+set}" = set; then
32915 echo $ECHO_N "(cached) $ECHO_C" >&6
32917 cat >conftest.$ac_ext <<_ACEOF
32920 cat confdefs.h >>conftest.$ac_ext
32921 cat >>conftest.$ac_ext <<_ACEOF
32922 /* end confdefs.h. */
32923 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32925 #define gethostbyname innocuous_gethostbyname
32927 /* System header to define __stub macros and hopefully few prototypes,
32928 which can conflict with char gethostbyname (); below.
32929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32930 <limits.h> exists even on freestanding compilers. */
32933 # include <limits.h>
32935 # include <assert.h>
32938 #undef gethostbyname
32940 /* Override any GCC internal prototype to avoid an error.
32941 Use char because int might match the return type of a GCC
32942 builtin and then its argument prototype would still apply. */
32946 char gethostbyname ();
32947 /* The GNU C library defines this for functions which it implements
32948 to always fail with ENOSYS. Some functions are actually named
32949 something starting with __ and the normal name is an alias. */
32950 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32957 return gethostbyname ();
32962 rm -f conftest.$ac_objext conftest$ac_exeext
32963 if { (ac_try="$ac_link"
32964 case "(($ac_try" in
32965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32966 *) ac_try_echo=$ac_try;;
32968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32969 (eval "$ac_link") 2>conftest.er1
32971 grep -v '^ *+' conftest.er1 >conftest.err
32973 cat conftest.err >&5
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); } && {
32976 test -z "$ac_c_werror_flag" ||
32977 test ! -s conftest.err
32978 } && test -s conftest$ac_exeext &&
32979 $as_test_x conftest$ac_exeext; then
32980 ac_cv_func_gethostbyname=yes
32982 echo "$as_me: failed program was:" >&5
32983 sed 's/^/| /' conftest.$ac_ext >&5
32985 ac_cv_func_gethostbyname=no
32988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32989 conftest$ac_exeext conftest.$ac_ext
32991 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32992 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32994 if test $ac_cv_func_gethostbyname = no; then
32995 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32996 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32997 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 ac_check_lib_save_LIBS=$LIBS
33002 cat >conftest.$ac_ext <<_ACEOF
33005 cat confdefs.h >>conftest.$ac_ext
33006 cat >>conftest.$ac_ext <<_ACEOF
33007 /* end confdefs.h. */
33009 /* Override any GCC internal prototype to avoid an error.
33010 Use char because int might match the return type of a GCC
33011 builtin and then its argument prototype would still apply. */
33015 char gethostbyname ();
33019 return gethostbyname ();
33024 rm -f conftest.$ac_objext conftest$ac_exeext
33025 if { (ac_try="$ac_link"
33026 case "(($ac_try" in
33027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33028 *) ac_try_echo=$ac_try;;
33030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33031 (eval "$ac_link") 2>conftest.er1
33033 grep -v '^ *+' conftest.er1 >conftest.err
33035 cat conftest.err >&5
33036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037 (exit $ac_status); } && {
33038 test -z "$ac_c_werror_flag" ||
33039 test ! -s conftest.err
33040 } && test -s conftest$ac_exeext &&
33041 $as_test_x conftest$ac_exeext; then
33042 ac_cv_lib_nsl_gethostbyname=yes
33044 echo "$as_me: failed program was:" >&5
33045 sed 's/^/| /' conftest.$ac_ext >&5
33047 ac_cv_lib_nsl_gethostbyname=no
33050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33051 conftest$ac_exeext conftest.$ac_ext
33052 LIBS=$ac_check_lib_save_LIBS
33054 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33055 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33056 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33057 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33060 if test $ac_cv_lib_nsl_gethostbyname = no; then
33061 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33062 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33063 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33064 echo $ECHO_N "(cached) $ECHO_C" >&6
33066 ac_check_lib_save_LIBS=$LIBS
33068 cat >conftest.$ac_ext <<_ACEOF
33071 cat confdefs.h >>conftest.$ac_ext
33072 cat >>conftest.$ac_ext <<_ACEOF
33073 /* end confdefs.h. */
33075 /* Override any GCC internal prototype to avoid an error.
33076 Use char because int might match the return type of a GCC
33077 builtin and then its argument prototype would still apply. */
33081 char gethostbyname ();
33085 return gethostbyname ();
33090 rm -f conftest.$ac_objext conftest$ac_exeext
33091 if { (ac_try="$ac_link"
33092 case "(($ac_try" in
33093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33094 *) ac_try_echo=$ac_try;;
33096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33097 (eval "$ac_link") 2>conftest.er1
33099 grep -v '^ *+' conftest.er1 >conftest.err
33101 cat conftest.err >&5
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); } && {
33104 test -z "$ac_c_werror_flag" ||
33105 test ! -s conftest.err
33106 } && test -s conftest$ac_exeext &&
33107 $as_test_x conftest$ac_exeext; then
33108 ac_cv_lib_bsd_gethostbyname=yes
33110 echo "$as_me: failed program was:" >&5
33111 sed 's/^/| /' conftest.$ac_ext >&5
33113 ac_cv_lib_bsd_gethostbyname=no
33116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33117 conftest$ac_exeext conftest.$ac_ext
33118 LIBS=$ac_check_lib_save_LIBS
33120 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33121 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33122 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33129 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33130 # socket/setsockopt and other routines are undefined under SCO ODT
33131 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33132 # on later versions), says Simon Leinen: it contains gethostby*
33133 # variants that don't use the name server (or something). -lsocket
33134 # must be given before -lnsl if both are needed. We assume that
33135 # if connect needs -lnsl, so does gethostbyname.
33136 { echo "$as_me:$LINENO: checking for connect" >&5
33137 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33138 if test "${ac_cv_func_connect+set}" = set; then
33139 echo $ECHO_N "(cached) $ECHO_C" >&6
33141 cat >conftest.$ac_ext <<_ACEOF
33144 cat confdefs.h >>conftest.$ac_ext
33145 cat >>conftest.$ac_ext <<_ACEOF
33146 /* end confdefs.h. */
33147 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33149 #define connect innocuous_connect
33151 /* System header to define __stub macros and hopefully few prototypes,
33152 which can conflict with char connect (); below.
33153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33154 <limits.h> exists even on freestanding compilers. */
33157 # include <limits.h>
33159 # include <assert.h>
33164 /* Override any GCC internal prototype to avoid an error.
33165 Use char because int might match the return type of a GCC
33166 builtin and then its argument prototype would still apply. */
33171 /* The GNU C library defines this for functions which it implements
33172 to always fail with ENOSYS. Some functions are actually named
33173 something starting with __ and the normal name is an alias. */
33174 #if defined __stub_connect || defined __stub___connect
33186 rm -f conftest.$ac_objext conftest$ac_exeext
33187 if { (ac_try="$ac_link"
33188 case "(($ac_try" in
33189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33190 *) ac_try_echo=$ac_try;;
33192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33193 (eval "$ac_link") 2>conftest.er1
33195 grep -v '^ *+' conftest.er1 >conftest.err
33197 cat conftest.err >&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } && {
33200 test -z "$ac_c_werror_flag" ||
33201 test ! -s conftest.err
33202 } && test -s conftest$ac_exeext &&
33203 $as_test_x conftest$ac_exeext; then
33204 ac_cv_func_connect=yes
33206 echo "$as_me: failed program was:" >&5
33207 sed 's/^/| /' conftest.$ac_ext >&5
33209 ac_cv_func_connect=no
33212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33213 conftest$ac_exeext conftest.$ac_ext
33215 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33216 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33218 if test $ac_cv_func_connect = no; then
33219 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33220 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33221 if test "${ac_cv_lib_socket_connect+set}" = set; then
33222 echo $ECHO_N "(cached) $ECHO_C" >&6
33224 ac_check_lib_save_LIBS=$LIBS
33225 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33226 cat >conftest.$ac_ext <<_ACEOF
33229 cat confdefs.h >>conftest.$ac_ext
33230 cat >>conftest.$ac_ext <<_ACEOF
33231 /* end confdefs.h. */
33233 /* Override any GCC internal prototype to avoid an error.
33234 Use char because int might match the return type of a GCC
33235 builtin and then its argument prototype would still apply. */
33248 rm -f conftest.$ac_objext conftest$ac_exeext
33249 if { (ac_try="$ac_link"
33250 case "(($ac_try" in
33251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33252 *) ac_try_echo=$ac_try;;
33254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33255 (eval "$ac_link") 2>conftest.er1
33257 grep -v '^ *+' conftest.er1 >conftest.err
33259 cat conftest.err >&5
33260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33261 (exit $ac_status); } && {
33262 test -z "$ac_c_werror_flag" ||
33263 test ! -s conftest.err
33264 } && test -s conftest$ac_exeext &&
33265 $as_test_x conftest$ac_exeext; then
33266 ac_cv_lib_socket_connect=yes
33268 echo "$as_me: failed program was:" >&5
33269 sed 's/^/| /' conftest.$ac_ext >&5
33271 ac_cv_lib_socket_connect=no
33274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33275 conftest$ac_exeext conftest.$ac_ext
33276 LIBS=$ac_check_lib_save_LIBS
33278 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33279 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33280 if test $ac_cv_lib_socket_connect = yes; then
33281 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33286 # Guillermo Gomez says -lposix is necessary on A/UX.
33287 { echo "$as_me:$LINENO: checking for remove" >&5
33288 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33289 if test "${ac_cv_func_remove+set}" = set; then
33290 echo $ECHO_N "(cached) $ECHO_C" >&6
33292 cat >conftest.$ac_ext <<_ACEOF
33295 cat confdefs.h >>conftest.$ac_ext
33296 cat >>conftest.$ac_ext <<_ACEOF
33297 /* end confdefs.h. */
33298 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33300 #define remove innocuous_remove
33302 /* System header to define __stub macros and hopefully few prototypes,
33303 which can conflict with char remove (); below.
33304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33305 <limits.h> exists even on freestanding compilers. */
33308 # include <limits.h>
33310 # include <assert.h>
33315 /* Override any GCC internal prototype to avoid an error.
33316 Use char because int might match the return type of a GCC
33317 builtin and then its argument prototype would still apply. */
33322 /* The GNU C library defines this for functions which it implements
33323 to always fail with ENOSYS. Some functions are actually named
33324 something starting with __ and the normal name is an alias. */
33325 #if defined __stub_remove || defined __stub___remove
33337 rm -f conftest.$ac_objext conftest$ac_exeext
33338 if { (ac_try="$ac_link"
33339 case "(($ac_try" in
33340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33341 *) ac_try_echo=$ac_try;;
33343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33344 (eval "$ac_link") 2>conftest.er1
33346 grep -v '^ *+' conftest.er1 >conftest.err
33348 cat conftest.err >&5
33349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33350 (exit $ac_status); } && {
33351 test -z "$ac_c_werror_flag" ||
33352 test ! -s conftest.err
33353 } && test -s conftest$ac_exeext &&
33354 $as_test_x conftest$ac_exeext; then
33355 ac_cv_func_remove=yes
33357 echo "$as_me: failed program was:" >&5
33358 sed 's/^/| /' conftest.$ac_ext >&5
33360 ac_cv_func_remove=no
33363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33364 conftest$ac_exeext conftest.$ac_ext
33366 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33367 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33369 if test $ac_cv_func_remove = no; then
33370 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33371 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33372 if test "${ac_cv_lib_posix_remove+set}" = set; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33375 ac_check_lib_save_LIBS=$LIBS
33376 LIBS="-lposix $LIBS"
33377 cat >conftest.$ac_ext <<_ACEOF
33380 cat confdefs.h >>conftest.$ac_ext
33381 cat >>conftest.$ac_ext <<_ACEOF
33382 /* end confdefs.h. */
33384 /* Override any GCC internal prototype to avoid an error.
33385 Use char because int might match the return type of a GCC
33386 builtin and then its argument prototype would still apply. */
33399 rm -f conftest.$ac_objext conftest$ac_exeext
33400 if { (ac_try="$ac_link"
33401 case "(($ac_try" in
33402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33403 *) ac_try_echo=$ac_try;;
33405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33406 (eval "$ac_link") 2>conftest.er1
33408 grep -v '^ *+' conftest.er1 >conftest.err
33410 cat conftest.err >&5
33411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 (exit $ac_status); } && {
33413 test -z "$ac_c_werror_flag" ||
33414 test ! -s conftest.err
33415 } && test -s conftest$ac_exeext &&
33416 $as_test_x conftest$ac_exeext; then
33417 ac_cv_lib_posix_remove=yes
33419 echo "$as_me: failed program was:" >&5
33420 sed 's/^/| /' conftest.$ac_ext >&5
33422 ac_cv_lib_posix_remove=no
33425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33426 conftest$ac_exeext conftest.$ac_ext
33427 LIBS=$ac_check_lib_save_LIBS
33429 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33430 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33431 if test $ac_cv_lib_posix_remove = yes; then
33432 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33437 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33438 { echo "$as_me:$LINENO: checking for shmat" >&5
33439 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33440 if test "${ac_cv_func_shmat+set}" = set; then
33441 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 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33451 #define shmat innocuous_shmat
33453 /* System header to define __stub macros and hopefully few prototypes,
33454 which can conflict with char shmat (); below.
33455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33456 <limits.h> exists even on freestanding compilers. */
33459 # include <limits.h>
33461 # include <assert.h>
33466 /* Override any GCC internal prototype to avoid an error.
33467 Use char because int might match the return type of a GCC
33468 builtin and then its argument prototype would still apply. */
33473 /* The GNU C library defines this for functions which it implements
33474 to always fail with ENOSYS. Some functions are actually named
33475 something starting with __ and the normal name is an alias. */
33476 #if defined __stub_shmat || defined __stub___shmat
33488 rm -f conftest.$ac_objext conftest$ac_exeext
33489 if { (ac_try="$ac_link"
33490 case "(($ac_try" in
33491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33492 *) ac_try_echo=$ac_try;;
33494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33495 (eval "$ac_link") 2>conftest.er1
33497 grep -v '^ *+' conftest.er1 >conftest.err
33499 cat conftest.err >&5
33500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33501 (exit $ac_status); } && {
33502 test -z "$ac_c_werror_flag" ||
33503 test ! -s conftest.err
33504 } && test -s conftest$ac_exeext &&
33505 $as_test_x conftest$ac_exeext; then
33506 ac_cv_func_shmat=yes
33508 echo "$as_me: failed program was:" >&5
33509 sed 's/^/| /' conftest.$ac_ext >&5
33511 ac_cv_func_shmat=no
33514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33515 conftest$ac_exeext conftest.$ac_ext
33517 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33518 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33520 if test $ac_cv_func_shmat = no; then
33521 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33522 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33523 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33524 echo $ECHO_N "(cached) $ECHO_C" >&6
33526 ac_check_lib_save_LIBS=$LIBS
33528 cat >conftest.$ac_ext <<_ACEOF
33531 cat confdefs.h >>conftest.$ac_ext
33532 cat >>conftest.$ac_ext <<_ACEOF
33533 /* end confdefs.h. */
33535 /* Override any GCC internal prototype to avoid an error.
33536 Use char because int might match the return type of a GCC
33537 builtin and then its argument prototype would still apply. */
33550 rm -f conftest.$ac_objext conftest$ac_exeext
33551 if { (ac_try="$ac_link"
33552 case "(($ac_try" in
33553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33554 *) ac_try_echo=$ac_try;;
33556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33557 (eval "$ac_link") 2>conftest.er1
33559 grep -v '^ *+' conftest.er1 >conftest.err
33561 cat conftest.err >&5
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); } && {
33564 test -z "$ac_c_werror_flag" ||
33565 test ! -s conftest.err
33566 } && test -s conftest$ac_exeext &&
33567 $as_test_x conftest$ac_exeext; then
33568 ac_cv_lib_ipc_shmat=yes
33570 echo "$as_me: failed program was:" >&5
33571 sed 's/^/| /' conftest.$ac_ext >&5
33573 ac_cv_lib_ipc_shmat=no
33576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33577 conftest$ac_exeext conftest.$ac_ext
33578 LIBS=$ac_check_lib_save_LIBS
33580 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33581 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33582 if test $ac_cv_lib_ipc_shmat = yes; then
33583 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33589 # Check for libraries that X11R6 Xt/Xaw programs need.
33590 ac_save_LDFLAGS=$LDFLAGS
33591 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33592 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33593 # check for ICE first), but we must link in the order -lSM -lICE or
33594 # we get undefined symbols. So assume we have SM if we have ICE.
33595 # These have to be linked with before -lX11, unlike the other
33596 # libraries we check for below, so use a different variable.
33597 # John Interrante, Karl Berry
33598 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33599 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33600 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33603 ac_check_lib_save_LIBS=$LIBS
33604 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33605 cat >conftest.$ac_ext <<_ACEOF
33608 cat confdefs.h >>conftest.$ac_ext
33609 cat >>conftest.$ac_ext <<_ACEOF
33610 /* end confdefs.h. */
33612 /* Override any GCC internal prototype to avoid an error.
33613 Use char because int might match the return type of a GCC
33614 builtin and then its argument prototype would still apply. */
33618 char IceConnectionNumber ();
33622 return IceConnectionNumber ();
33627 rm -f conftest.$ac_objext conftest$ac_exeext
33628 if { (ac_try="$ac_link"
33629 case "(($ac_try" in
33630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33631 *) ac_try_echo=$ac_try;;
33633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33634 (eval "$ac_link") 2>conftest.er1
33636 grep -v '^ *+' conftest.er1 >conftest.err
33638 cat conftest.err >&5
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); } && {
33641 test -z "$ac_c_werror_flag" ||
33642 test ! -s conftest.err
33643 } && test -s conftest$ac_exeext &&
33644 $as_test_x conftest$ac_exeext; then
33645 ac_cv_lib_ICE_IceConnectionNumber=yes
33647 echo "$as_me: failed program was:" >&5
33648 sed 's/^/| /' conftest.$ac_ext >&5
33650 ac_cv_lib_ICE_IceConnectionNumber=no
33653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33654 conftest$ac_exeext conftest.$ac_ext
33655 LIBS=$ac_check_lib_save_LIBS
33657 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33658 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33659 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33660 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33663 LDFLAGS=$ac_save_LDFLAGS
33668 if test "$no_x" = "yes"; then
33669 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33670 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33671 { (exit 1); exit 1; }; }
33674 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33675 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33676 AFMINSTALL=afminstall
33677 COMPILED_X_PROGRAM=0
33681 if test "$wxUSE_X11" = 1; then
33682 if test "$wxUSE_NANOX" = "yes"; then
33683 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33684 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33685 if test "x$MICROWIN" = x ; then
33686 { echo "$as_me:$LINENO: result: not found" >&5
33687 echo "${ECHO_T}not found" >&6; }
33688 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33689 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33690 { (exit 1); exit 1; }; }
33692 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33693 echo "${ECHO_T}$MICROWIN" >&6; }
33694 cat >>confdefs.h <<\_ACEOF
33695 #define wxUSE_NANOX 1
33701 if test "$wxUSE_UNICODE" = "yes"; then
33704 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33705 if test -n "$ac_tool_prefix"; then
33706 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33707 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33710 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33711 echo $ECHO_N "(cached) $ECHO_C" >&6
33713 case $PKG_CONFIG in
33715 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33719 for as_dir in $PATH
33722 test -z "$as_dir" && as_dir=.
33723 for ac_exec_ext in '' $ac_executable_extensions; do
33724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33725 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33736 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33737 if test -n "$PKG_CONFIG"; then
33738 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33739 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33741 { echo "$as_me:$LINENO: result: no" >&5
33742 echo "${ECHO_T}no" >&6; }
33747 if test -z "$ac_cv_path_PKG_CONFIG"; then
33748 ac_pt_PKG_CONFIG=$PKG_CONFIG
33749 # Extract the first word of "pkg-config", so it can be a program name with args.
33750 set dummy pkg-config; ac_word=$2
33751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33753 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33754 echo $ECHO_N "(cached) $ECHO_C" >&6
33756 case $ac_pt_PKG_CONFIG in
33758 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33762 for as_dir in $PATH
33765 test -z "$as_dir" && as_dir=.
33766 for ac_exec_ext in '' $ac_executable_extensions; do
33767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33768 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33779 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33780 if test -n "$ac_pt_PKG_CONFIG"; then
33781 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33782 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33784 { echo "$as_me:$LINENO: result: no" >&5
33785 echo "${ECHO_T}no" >&6; }
33788 if test "x$ac_pt_PKG_CONFIG" = x; then
33791 case $cross_compiling:$ac_tool_warned in
33793 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33794 whose name does not start with the host triplet. If you think this
33795 configuration is useful to you, please write to autoconf@gnu.org." >&5
33796 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33797 whose name does not start with the host triplet. If you think this
33798 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33799 ac_tool_warned=yes ;;
33801 PKG_CONFIG=$ac_pt_PKG_CONFIG
33804 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33808 if test -n "$PKG_CONFIG"; then
33809 _pkg_min_version=0.9.0
33810 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33811 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33812 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33813 { echo "$as_me:$LINENO: result: yes" >&5
33814 echo "${ECHO_T}yes" >&6; }
33816 { echo "$as_me:$LINENO: result: no" >&5
33817 echo "${ECHO_T}no" >&6; }
33825 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33826 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33828 if test -n "$PKG_CONFIG"; then
33829 if test -n "$PANGOX_CFLAGS"; then
33830 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33832 if test -n "$PKG_CONFIG" && \
33833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33834 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33837 (exit $ac_status); }; then
33838 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33846 if test -n "$PKG_CONFIG"; then
33847 if test -n "$PANGOX_LIBS"; then
33848 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33850 if test -n "$PKG_CONFIG" && \
33851 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33852 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33855 (exit $ac_status); }; then
33856 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33867 if test $pkg_failed = yes; then
33869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33870 _pkg_short_errors_supported=yes
33872 _pkg_short_errors_supported=no
33874 if test $_pkg_short_errors_supported = yes; then
33875 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33877 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33879 # Put the nasty error message in config.log where it belongs
33880 echo "$PANGOX_PKG_ERRORS" >&5
33883 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33884 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33885 { (exit 1); exit 1; }; }
33888 elif test $pkg_failed = untried; then
33890 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33891 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33892 { (exit 1); exit 1; }; }
33896 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33897 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33898 { echo "$as_me:$LINENO: result: yes" >&5
33899 echo "${ECHO_T}yes" >&6; }
33901 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33902 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33903 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33908 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33909 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33911 if test -n "$PKG_CONFIG"; then
33912 if test -n "$PANGOFT2_CFLAGS"; then
33913 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33915 if test -n "$PKG_CONFIG" && \
33916 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33917 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); }; then
33921 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33929 if test -n "$PKG_CONFIG"; then
33930 if test -n "$PANGOFT2_LIBS"; then
33931 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33933 if test -n "$PKG_CONFIG" && \
33934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33935 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); }; then
33939 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33950 if test $pkg_failed = yes; then
33952 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33953 _pkg_short_errors_supported=yes
33955 _pkg_short_errors_supported=no
33957 if test $_pkg_short_errors_supported = yes; then
33958 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33960 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33962 # Put the nasty error message in config.log where it belongs
33963 echo "$PANGOFT2_PKG_ERRORS" >&5
33966 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33967 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33968 wxUSE_PRINTING_ARCHITECTURE="no"
33971 elif test $pkg_failed = untried; then
33973 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33974 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33975 wxUSE_PRINTING_ARCHITECTURE="no"
33979 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33980 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33981 { echo "$as_me:$LINENO: result: yes" >&5
33982 echo "${ECHO_T}yes" >&6; }
33984 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33985 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33986 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33991 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33992 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33994 if test -n "$PKG_CONFIG"; then
33995 if test -n "$PANGOXFT_CFLAGS"; then
33996 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33998 if test -n "$PKG_CONFIG" && \
33999 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34000 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003 (exit $ac_status); }; then
34004 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34012 if test -n "$PKG_CONFIG"; then
34013 if test -n "$PANGOXFT_LIBS"; then
34014 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34016 if test -n "$PKG_CONFIG" && \
34017 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34018 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; then
34022 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34033 if test $pkg_failed = yes; then
34035 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34036 _pkg_short_errors_supported=yes
34038 _pkg_short_errors_supported=no
34040 if test $_pkg_short_errors_supported = yes; then
34041 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34043 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34045 # Put the nasty error message in config.log where it belongs
34046 echo "$PANGOXFT_PKG_ERRORS" >&5
34049 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34050 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34053 elif test $pkg_failed = untried; then
34055 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34056 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34060 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34061 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34062 { echo "$as_me:$LINENO: result: yes" >&5
34063 echo "${ECHO_T}yes" >&6; }
34065 cat >>confdefs.h <<\_ACEOF
34066 #define HAVE_PANGO_XFT 1
34069 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34070 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34071 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34075 LIBS="$LIBS $PANGOX_LIBS"
34077 for ac_func in pango_font_family_is_monospace
34079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34080 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34082 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34083 echo $ECHO_N "(cached) $ECHO_C" >&6
34085 cat >conftest.$ac_ext <<_ACEOF
34088 cat confdefs.h >>conftest.$ac_ext
34089 cat >>conftest.$ac_ext <<_ACEOF
34090 /* end confdefs.h. */
34091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34093 #define $ac_func innocuous_$ac_func
34095 /* System header to define __stub macros and hopefully few prototypes,
34096 which can conflict with char $ac_func (); below.
34097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34098 <limits.h> exists even on freestanding compilers. */
34101 # include <limits.h>
34103 # include <assert.h>
34108 /* Override any GCC internal prototype to avoid an error.
34109 Use char because int might match the return type of a GCC
34110 builtin and then its argument prototype would still apply. */
34115 /* The GNU C library defines this for functions which it implements
34116 to always fail with ENOSYS. Some functions are actually named
34117 something starting with __ and the normal name is an alias. */
34118 #if defined __stub_$ac_func || defined __stub___$ac_func
34125 return $ac_func ();
34130 rm -f conftest.$ac_objext conftest$ac_exeext
34131 if { (ac_try="$ac_link"
34132 case "(($ac_try" in
34133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34134 *) ac_try_echo=$ac_try;;
34136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34137 (eval "$ac_link") 2>conftest.er1
34139 grep -v '^ *+' conftest.er1 >conftest.err
34141 cat conftest.err >&5
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); } && {
34144 test -z "$ac_c_werror_flag" ||
34145 test ! -s conftest.err
34146 } && test -s conftest$ac_exeext &&
34147 $as_test_x conftest$ac_exeext; then
34148 eval "$as_ac_var=yes"
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.$ac_ext >&5
34153 eval "$as_ac_var=no"
34156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34157 conftest$ac_exeext conftest.$ac_ext
34159 ac_res=`eval echo '${'$as_ac_var'}'`
34160 { echo "$as_me:$LINENO: result: $ac_res" >&5
34161 echo "${ECHO_T}$ac_res" >&6; }
34162 if test `eval echo '${'$as_ac_var'}'` = yes; then
34163 cat >>confdefs.h <<_ACEOF
34164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34173 wxUSE_UNIVERSAL="yes"
34175 if test "$wxUSE_NANOX" = "yes"; then
34176 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34177 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"
34178 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34180 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34187 if test "$wxUSE_MOTIF" = 1; then
34188 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34189 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34192 for ac_dir in $SEARCH_INCLUDE /usr/include;
34194 if test -f "$ac_dir/Xm/Xm.h"; then
34195 ac_find_includes=$ac_dir
34200 if test "$ac_find_includes" != "" ; then
34201 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34202 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34204 if test "x$ac_find_includes" = "x/usr/include"; then
34205 ac_path_to_include=""
34207 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34209 if test $result = 0; then
34210 ac_path_to_include=""
34212 ac_path_to_include=" -I$ac_find_includes"
34216 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34218 save_CFLAGS=$CFLAGS
34219 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34221 cat >conftest.$ac_ext <<_ACEOF
34224 cat confdefs.h >>conftest.$ac_ext
34225 cat >>conftest.$ac_ext <<_ACEOF
34226 /* end confdefs.h. */
34235 version = xmUseVersion;
34241 rm -f conftest.$ac_objext
34242 if { (ac_try="$ac_compile"
34243 case "(($ac_try" in
34244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34245 *) ac_try_echo=$ac_try;;
34247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34248 (eval "$ac_compile") 2>conftest.er1
34250 grep -v '^ *+' conftest.er1 >conftest.err
34252 cat conftest.err >&5
34253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34254 (exit $ac_status); } && {
34255 test -z "$ac_c_werror_flag" ||
34256 test ! -s conftest.err
34257 } && test -s conftest.$ac_objext; then
34259 { echo "$as_me:$LINENO: result: found in default search path" >&5
34260 echo "${ECHO_T}found in default search path" >&6; }
34261 COMPILED_X_PROGRAM=1
34264 echo "$as_me: failed program was:" >&5
34265 sed 's/^/| /' conftest.$ac_ext >&5
34268 { echo "$as_me:$LINENO: result: no" >&5
34269 echo "${ECHO_T}no" >&6; }
34270 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34271 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34272 { (exit 1); exit 1; }; }
34277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34279 CFLAGS=$save_CFLAGS
34283 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34284 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34287 for ac_dir in $SEARCH_LIB;
34289 for ac_extension in a so sl dylib dll.a; do
34290 if test -f "$ac_dir/libXm.$ac_extension"; then
34291 ac_find_libraries=$ac_dir
34298 if test "x$ac_find_libraries" != "x" ; then
34299 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34300 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34303 if test "$ac_find_libraries" = "default location"; then
34306 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34308 if test $result = 0; then
34311 ac_path_to_link=" -L$ac_find_libraries"
34315 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34317 save_CFLAGS=$CFLAGS
34318 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34320 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34322 cat >conftest.$ac_ext <<_ACEOF
34325 cat confdefs.h >>conftest.$ac_ext
34326 cat >>conftest.$ac_ext <<_ACEOF
34327 /* end confdefs.h. */
34336 version = xmUseVersion;
34342 rm -f conftest.$ac_objext conftest$ac_exeext
34343 if { (ac_try="$ac_link"
34344 case "(($ac_try" in
34345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34346 *) ac_try_echo=$ac_try;;
34348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34349 (eval "$ac_link") 2>conftest.er1
34351 grep -v '^ *+' conftest.er1 >conftest.err
34353 cat conftest.err >&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); } && {
34356 test -z "$ac_c_werror_flag" ||
34357 test ! -s conftest.err
34358 } && test -s conftest$ac_exeext &&
34359 $as_test_x conftest$ac_exeext; then
34361 { echo "$as_me:$LINENO: result: found in default search path" >&5
34362 echo "${ECHO_T}found in default search path" >&6; }
34363 COMPILED_X_PROGRAM=1
34366 echo "$as_me: failed program was:" >&5
34367 sed 's/^/| /' conftest.$ac_ext >&5
34370 { echo "$as_me:$LINENO: result: no" >&5
34371 echo "${ECHO_T}no" >&6; }
34372 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34373 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34374 { (exit 1); exit 1; }; }
34379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34380 conftest$ac_exeext conftest.$ac_ext
34382 CFLAGS=$save_CFLAGS
34386 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34387 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34391 for libp in "" " -lXp"; do
34392 if test "$libs_found" = "0"; then
34393 for libsm_ice in "" " -lSM -lICE"; do
34394 if test "$libs_found" = "0"; then
34396 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34397 save_CFLAGS=$CFLAGS
34398 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34400 cat >conftest.$ac_ext <<_ACEOF
34403 cat confdefs.h >>conftest.$ac_ext
34404 cat >>conftest.$ac_ext <<_ACEOF
34405 /* end confdefs.h. */
34408 #include <Xm/List.h>
34414 XmString string = NULL;
34417 XmListAddItem(w, string, position);
34423 rm -f conftest.$ac_objext conftest$ac_exeext
34424 if { (ac_try="$ac_link"
34425 case "(($ac_try" in
34426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34427 *) ac_try_echo=$ac_try;;
34429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34430 (eval "$ac_link") 2>conftest.er1
34432 grep -v '^ *+' conftest.er1 >conftest.err
34434 cat conftest.err >&5
34435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34436 (exit $ac_status); } && {
34437 test -z "$ac_c_werror_flag" ||
34438 test ! -s conftest.err
34439 } && test -s conftest$ac_exeext &&
34440 $as_test_x conftest$ac_exeext; then
34443 libsm_ice_link="$libsm_ice"
34444 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34445 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34449 echo "$as_me: failed program was:" >&5
34450 sed 's/^/| /' conftest.$ac_ext >&5
34456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34457 conftest$ac_exeext conftest.$ac_ext
34460 CFLAGS=$save_CFLAGS
34466 if test "$libs_found" = "0"; then
34467 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34468 echo "${ECHO_T}can't find the right libraries" >&6; }
34469 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34470 echo "$as_me: error: can't link a simple motif program" >&2;}
34471 { (exit 1); exit 1; }; }
34474 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34475 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34476 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34477 echo $ECHO_N "(cached) $ECHO_C" >&6
34479 ac_check_lib_save_LIBS=$LIBS
34481 cat >conftest.$ac_ext <<_ACEOF
34484 cat confdefs.h >>conftest.$ac_ext
34485 cat >>conftest.$ac_ext <<_ACEOF
34486 /* end confdefs.h. */
34488 /* Override any GCC internal prototype to avoid an error.
34489 Use char because int might match the return type of a GCC
34490 builtin and then its argument prototype would still apply. */
34494 char SgCreateList ();
34498 return SgCreateList ();
34503 rm -f conftest.$ac_objext conftest$ac_exeext
34504 if { (ac_try="$ac_link"
34505 case "(($ac_try" in
34506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34507 *) ac_try_echo=$ac_try;;
34509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34510 (eval "$ac_link") 2>conftest.er1
34512 grep -v '^ *+' conftest.er1 >conftest.err
34514 cat conftest.err >&5
34515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516 (exit $ac_status); } && {
34517 test -z "$ac_c_werror_flag" ||
34518 test ! -s conftest.err
34519 } && test -s conftest$ac_exeext &&
34520 $as_test_x conftest$ac_exeext; then
34521 ac_cv_lib_Sgm_SgCreateList=yes
34523 echo "$as_me: failed program was:" >&5
34524 sed 's/^/| /' conftest.$ac_ext >&5
34526 ac_cv_lib_Sgm_SgCreateList=no
34529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34530 conftest$ac_exeext conftest.$ac_ext
34531 LIBS=$ac_check_lib_save_LIBS
34533 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34534 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34535 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34536 libsgm_link=" -lSgm"
34540 save_CFLAGS=$CFLAGS
34541 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34543 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34544 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34545 if test "${wx_cv_lib_motif2+set}" = set; then
34546 echo $ECHO_N "(cached) $ECHO_C" >&6
34548 cat >conftest.$ac_ext <<_ACEOF
34551 cat confdefs.h >>conftest.$ac_ext
34552 cat >>conftest.$ac_ext <<_ACEOF
34553 /* end confdefs.h. */
34561 #if XmVersion < 2000
34569 rm -f conftest.$ac_objext
34570 if { (ac_try="$ac_compile"
34571 case "(($ac_try" in
34572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34573 *) ac_try_echo=$ac_try;;
34575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34576 (eval "$ac_compile") 2>conftest.er1
34578 grep -v '^ *+' conftest.er1 >conftest.err
34580 cat conftest.err >&5
34581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); } && {
34583 test -z "$ac_c_werror_flag" ||
34584 test ! -s conftest.err
34585 } && test -s conftest.$ac_objext; then
34586 wx_cv_lib_motif2="yes"
34588 echo "$as_me: failed program was:" >&5
34589 sed 's/^/| /' conftest.$ac_ext >&5
34591 wx_cv_lib_motif2="no"
34594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34596 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34597 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34598 if test "$wx_cv_lib_motif2" = "yes"; then
34599 cat >>confdefs.h <<\_ACEOF
34600 #define __WXMOTIF20__ 1
34604 cat >>confdefs.h <<\_ACEOF
34605 #define __WXMOTIF20__ 0
34610 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34611 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34612 if test "${wx_cv_lib_lesstif+set}" = set; then
34613 echo $ECHO_N "(cached) $ECHO_C" >&6
34615 cat >conftest.$ac_ext <<_ACEOF
34618 cat confdefs.h >>conftest.$ac_ext
34619 cat >>conftest.$ac_ext <<_ACEOF
34620 /* end confdefs.h. */
34628 #if !defined(LesstifVersion) || LesstifVersion <= 0
34636 rm -f conftest.$ac_objext
34637 if { (ac_try="$ac_compile"
34638 case "(($ac_try" in
34639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34640 *) ac_try_echo=$ac_try;;
34642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34643 (eval "$ac_compile") 2>conftest.er1
34645 grep -v '^ *+' conftest.er1 >conftest.err
34647 cat conftest.err >&5
34648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34649 (exit $ac_status); } && {
34650 test -z "$ac_c_werror_flag" ||
34651 test ! -s conftest.err
34652 } && test -s conftest.$ac_objext; then
34653 wx_cv_lib_lesstif="yes"
34655 echo "$as_me: failed program was:" >&5
34656 sed 's/^/| /' conftest.$ac_ext >&5
34658 wx_cv_lib_lesstif="no"
34661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34664 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34665 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34666 if test "$wx_cv_lib_lesstif" = "yes"; then
34667 cat >>confdefs.h <<\_ACEOF
34668 #define __WXLESSTIF__ 1
34672 cat >>confdefs.h <<\_ACEOF
34673 #define __WXLESSTIF__ 0
34678 CFLAGS=$save_CFLAGS
34680 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34685 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34686 if test "$wxUSE_LIBXPM" = "sys"; then
34687 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34688 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34691 for ac_dir in $SEARCH_LIB;
34693 for ac_extension in a so sl dylib dll.a; do
34694 if test -f "$ac_dir/libXpm.$ac_extension"; then
34695 ac_find_libraries=$ac_dir
34701 if test "$ac_find_libraries" != "" ; then
34703 if test "$ac_find_libraries" = "default location"; then
34706 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34708 if test $result = 0; then
34711 ac_path_to_link=" -L$ac_find_libraries"
34715 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34716 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34717 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34719 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34720 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34721 if test "${wx_cv_x11_xpm_h+set}" = set; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34725 save_CFLAGS=$CFLAGS
34726 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34728 cat >conftest.$ac_ext <<_ACEOF
34731 cat confdefs.h >>conftest.$ac_ext
34732 cat >>conftest.$ac_ext <<_ACEOF
34733 /* end confdefs.h. */
34735 #include <X11/xpm.h>
34742 version = XpmLibraryVersion();
34748 rm -f conftest.$ac_objext
34749 if { (ac_try="$ac_compile"
34750 case "(($ac_try" in
34751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34752 *) ac_try_echo=$ac_try;;
34754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34755 (eval "$ac_compile") 2>conftest.er1
34757 grep -v '^ *+' conftest.er1 >conftest.err
34759 cat conftest.err >&5
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); } && {
34762 test -z "$ac_c_werror_flag" ||
34763 test ! -s conftest.err
34764 } && test -s conftest.$ac_objext; then
34765 wx_cv_x11_xpm_h=yes
34767 echo "$as_me: failed program was:" >&5
34768 sed 's/^/| /' conftest.$ac_ext >&5
34774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34776 CFLAGS=$save_CFLAGS
34780 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34781 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34783 if test $wx_cv_x11_xpm_h = "yes"; then
34784 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34785 cat >>confdefs.h <<\_ACEOF
34786 #define wxHAVE_LIB_XPM 1
34790 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34791 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34797 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34798 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34799 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34800 echo $ECHO_N "(cached) $ECHO_C" >&6
34802 ac_check_lib_save_LIBS=$LIBS
34803 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34804 cat >conftest.$ac_ext <<_ACEOF
34807 cat confdefs.h >>conftest.$ac_ext
34808 cat >>conftest.$ac_ext <<_ACEOF
34809 /* end confdefs.h. */
34811 /* Override any GCC internal prototype to avoid an error.
34812 Use char because int might match the return type of a GCC
34813 builtin and then its argument prototype would still apply. */
34817 char XShapeQueryExtension ();
34821 return XShapeQueryExtension ();
34826 rm -f conftest.$ac_objext conftest$ac_exeext
34827 if { (ac_try="$ac_link"
34828 case "(($ac_try" in
34829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34830 *) ac_try_echo=$ac_try;;
34832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34833 (eval "$ac_link") 2>conftest.er1
34835 grep -v '^ *+' conftest.er1 >conftest.err
34837 cat conftest.err >&5
34838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839 (exit $ac_status); } && {
34840 test -z "$ac_c_werror_flag" ||
34841 test ! -s conftest.err
34842 } && test -s conftest$ac_exeext &&
34843 $as_test_x conftest$ac_exeext; then
34844 ac_cv_lib_Xext_XShapeQueryExtension=yes
34846 echo "$as_me: failed program was:" >&5
34847 sed 's/^/| /' conftest.$ac_ext >&5
34849 ac_cv_lib_Xext_XShapeQueryExtension=no
34852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34853 conftest$ac_exeext conftest.$ac_ext
34854 LIBS=$ac_check_lib_save_LIBS
34856 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34857 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34858 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34860 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34866 if test "$wxHAVE_XEXT_LIB" = 1; then
34867 save_CFLAGS="$CFLAGS"
34868 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34870 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34871 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34872 cat >conftest.$ac_ext <<_ACEOF
34875 cat confdefs.h >>conftest.$ac_ext
34876 cat >>conftest.$ac_ext <<_ACEOF
34877 /* end confdefs.h. */
34879 #include <X11/Xlib.h>
34880 #include <X11/extensions/shape.h>
34886 int dummy1, dummy2;
34887 XShapeQueryExtension((Display*)NULL,
34888 (int*)NULL, (int*)NULL);
34894 rm -f conftest.$ac_objext
34895 if { (ac_try="$ac_compile"
34896 case "(($ac_try" in
34897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34898 *) ac_try_echo=$ac_try;;
34900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34901 (eval "$ac_compile") 2>conftest.er1
34903 grep -v '^ *+' conftest.er1 >conftest.err
34905 cat conftest.err >&5
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); } && {
34908 test -z "$ac_c_werror_flag" ||
34909 test ! -s conftest.err
34910 } && test -s conftest.$ac_objext; then
34912 cat >>confdefs.h <<\_ACEOF
34913 #define HAVE_XSHAPE 1
34916 { echo "$as_me:$LINENO: result: found" >&5
34917 echo "${ECHO_T}found" >&6; }
34920 echo "$as_me: failed program was:" >&5
34921 sed 's/^/| /' conftest.$ac_ext >&5
34924 { echo "$as_me:$LINENO: result: not found" >&5
34925 echo "${ECHO_T}not found" >&6; }
34929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34930 CFLAGS="$save_CFLAGS"
34935 if test "$wxUSE_MAC" = 1; then
34936 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34937 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34938 if test "$GCC" = yes; then
34939 { echo "$as_me:$LINENO: result: gcc" >&5
34940 echo "${ECHO_T}gcc" >&6; }
34941 CPPFLAGS_PASCAL="-fpascal-strings"
34942 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34943 { echo "$as_me:$LINENO: result: xlc" >&5
34944 echo "${ECHO_T}xlc" >&6; }
34945 CPPFLAGS_PASCAL="-qmacpstr"
34947 { echo "$as_me:$LINENO: result: none" >&5
34948 echo "${ECHO_T}none" >&6; }
34951 if test "x$wxUSE_UNIX" = "xyes"; then
34952 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34954 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34959 WXBASEPORT="_carbon"
34962 if test "$wxUSE_COCOA" = 1; then
34967 if test "$wxUSE_PM" = 1; then
34970 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34971 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34972 if test "${wx_cv_spbcdata+set}" = set; then
34973 echo $ECHO_N "(cached) $ECHO_C" >&6
34976 cat >conftest.$ac_ext <<_ACEOF
34979 cat confdefs.h >>conftest.$ac_ext
34980 cat >>conftest.$ac_ext <<_ACEOF
34981 /* end confdefs.h. */
34996 rm -f conftest.$ac_objext
34997 if { (ac_try="$ac_compile"
34998 case "(($ac_try" in
34999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35000 *) ac_try_echo=$ac_try;;
35002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35003 (eval "$ac_compile") 2>conftest.er1
35005 grep -v '^ *+' conftest.er1 >conftest.err
35007 cat conftest.err >&5
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); } && {
35010 test -z "$ac_c_werror_flag" ||
35011 test ! -s conftest.err
35012 } && test -s conftest.$ac_objext; then
35015 echo "$as_me: failed program was:" >&5
35016 sed 's/^/| /' conftest.$ac_ext >&5
35022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35026 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35027 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35029 if test $wx_cv_spbcdata = "yes"; then
35030 cat >>confdefs.h <<\_ACEOF
35031 #define HAVE_SPBCDATA 1
35037 if test "$TOOLKIT" = "PM" ; then
35040 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35043 if test "$wxUSE_UNIVERSAL" = "yes"; then
35044 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35048 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35049 DISTDIR="wx\$(TOOLKIT)"
35055 if test "$USE_WIN32" = 1 ; then
35059 GUIDIST="BASE_DIST"
35065 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35066 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35067 wxUSE_UNICODE_UTF8=yes
35068 elif test "$USE_OS2" = "1" ; then
35069 wxUSE_UNICODE_UTF8=yes
35071 wxUSE_UNICODE_UTF8=no
35076 if test "$wxUSE_GUI" = "yes"; then
35077 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35079 for ac_header in X11/Xlib.h
35081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35082 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35085 echo $ECHO_N "(cached) $ECHO_C" >&6
35087 cat >conftest.$ac_ext <<_ACEOF
35090 cat confdefs.h >>conftest.$ac_ext
35091 cat >>conftest.$ac_ext <<_ACEOF
35092 /* end confdefs.h. */
35095 #include <$ac_header>
35097 rm -f conftest.$ac_objext
35098 if { (ac_try="$ac_compile"
35099 case "(($ac_try" in
35100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35101 *) ac_try_echo=$ac_try;;
35103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35104 (eval "$ac_compile") 2>conftest.er1
35106 grep -v '^ *+' conftest.er1 >conftest.err
35108 cat conftest.err >&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } && {
35111 test -z "$ac_c_werror_flag" ||
35112 test ! -s conftest.err
35113 } && test -s conftest.$ac_objext; then
35114 eval "$as_ac_Header=yes"
35116 echo "$as_me: failed program was:" >&5
35117 sed 's/^/| /' conftest.$ac_ext >&5
35119 eval "$as_ac_Header=no"
35122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35124 ac_res=`eval echo '${'$as_ac_Header'}'`
35125 { echo "$as_me:$LINENO: result: $ac_res" >&5
35126 echo "${ECHO_T}$ac_res" >&6; }
35127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35128 cat >>confdefs.h <<_ACEOF
35129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35137 for ac_header in X11/XKBlib.h
35139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35143 echo $ECHO_N "(cached) $ECHO_C" >&6
35145 cat >conftest.$ac_ext <<_ACEOF
35148 cat confdefs.h >>conftest.$ac_ext
35149 cat >>conftest.$ac_ext <<_ACEOF
35150 /* end confdefs.h. */
35152 #if HAVE_X11_XLIB_H
35153 #include <X11/Xlib.h>
35157 #include <$ac_header>
35159 rm -f conftest.$ac_objext
35160 if { (ac_try="$ac_compile"
35161 case "(($ac_try" in
35162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35163 *) ac_try_echo=$ac_try;;
35165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35166 (eval "$ac_compile") 2>conftest.er1
35168 grep -v '^ *+' conftest.er1 >conftest.err
35170 cat conftest.err >&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } && {
35173 test -z "$ac_c_werror_flag" ||
35174 test ! -s conftest.err
35175 } && test -s conftest.$ac_objext; then
35176 eval "$as_ac_Header=yes"
35178 echo "$as_me: failed program was:" >&5
35179 sed 's/^/| /' conftest.$ac_ext >&5
35181 eval "$as_ac_Header=no"
35184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186 ac_res=`eval echo '${'$as_ac_Header'}'`
35187 { echo "$as_me:$LINENO: result: $ac_res" >&5
35188 echo "${ECHO_T}$ac_res" >&6; }
35189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35190 cat >>confdefs.h <<_ACEOF
35191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35206 if test "$TOOLKIT" != "MSW" ; then
35208 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35210 { echo "$as_me:$LINENO: checking for sql.h" >&5
35211 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35212 if test "${ac_cv_header_sql_h+set}" = set; then
35213 echo $ECHO_N "(cached) $ECHO_C" >&6
35215 cat >conftest.$ac_ext <<_ACEOF
35218 cat confdefs.h >>conftest.$ac_ext
35219 cat >>conftest.$ac_ext <<_ACEOF
35220 /* end confdefs.h. */
35225 rm -f conftest.$ac_objext
35226 if { (ac_try="$ac_compile"
35227 case "(($ac_try" in
35228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35229 *) ac_try_echo=$ac_try;;
35231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35232 (eval "$ac_compile") 2>conftest.er1
35234 grep -v '^ *+' conftest.er1 >conftest.err
35236 cat conftest.err >&5
35237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35238 (exit $ac_status); } && {
35239 test -z "$ac_c_werror_flag" ||
35240 test ! -s conftest.err
35241 } && test -s conftest.$ac_objext; then
35242 ac_cv_header_sql_h=yes
35244 echo "$as_me: failed program was:" >&5
35245 sed 's/^/| /' conftest.$ac_ext >&5
35247 ac_cv_header_sql_h=no
35250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35252 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35253 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35254 if test $ac_cv_header_sql_h = yes; then
35259 if test "x$found_sql_h" = "x1" ; then
35260 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35261 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35262 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35263 echo $ECHO_N "(cached) $ECHO_C" >&6
35265 ac_check_lib_save_LIBS=$LIBS
35266 LIBS="-liodbc $LIBS"
35267 cat >conftest.$ac_ext <<_ACEOF
35270 cat confdefs.h >>conftest.$ac_ext
35271 cat >>conftest.$ac_ext <<_ACEOF
35272 /* end confdefs.h. */
35274 /* Override any GCC internal prototype to avoid an error.
35275 Use char because int might match the return type of a GCC
35276 builtin and then its argument prototype would still apply. */
35280 char SQLAllocEnv ();
35284 return SQLAllocEnv ();
35289 rm -f conftest.$ac_objext conftest$ac_exeext
35290 if { (ac_try="$ac_link"
35291 case "(($ac_try" in
35292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35293 *) ac_try_echo=$ac_try;;
35295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35296 (eval "$ac_link") 2>conftest.er1
35298 grep -v '^ *+' conftest.er1 >conftest.err
35300 cat conftest.err >&5
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); } && {
35303 test -z "$ac_c_werror_flag" ||
35304 test ! -s conftest.err
35305 } && test -s conftest$ac_exeext &&
35306 $as_test_x conftest$ac_exeext; then
35307 ac_cv_lib_iodbc_SQLAllocEnv=yes
35309 echo "$as_me: failed program was:" >&5
35310 sed 's/^/| /' conftest.$ac_ext >&5
35312 ac_cv_lib_iodbc_SQLAllocEnv=no
35315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35316 conftest$ac_exeext conftest.$ac_ext
35317 LIBS=$ac_check_lib_save_LIBS
35319 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35320 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35321 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35322 ODBC_LINK=" -liodbc"
35325 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35326 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35327 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35328 echo $ECHO_N "(cached) $ECHO_C" >&6
35330 ac_check_lib_save_LIBS=$LIBS
35331 LIBS="-lunixodbc $LIBS"
35332 cat >conftest.$ac_ext <<_ACEOF
35335 cat confdefs.h >>conftest.$ac_ext
35336 cat >>conftest.$ac_ext <<_ACEOF
35337 /* end confdefs.h. */
35339 /* Override any GCC internal prototype to avoid an error.
35340 Use char because int might match the return type of a GCC
35341 builtin and then its argument prototype would still apply. */
35345 char SQLAllocEnv ();
35349 return SQLAllocEnv ();
35354 rm -f conftest.$ac_objext conftest$ac_exeext
35355 if { (ac_try="$ac_link"
35356 case "(($ac_try" in
35357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35358 *) ac_try_echo=$ac_try;;
35360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35361 (eval "$ac_link") 2>conftest.er1
35363 grep -v '^ *+' conftest.er1 >conftest.err
35365 cat conftest.err >&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); } && {
35368 test -z "$ac_c_werror_flag" ||
35369 test ! -s conftest.err
35370 } && test -s conftest$ac_exeext &&
35371 $as_test_x conftest$ac_exeext; then
35372 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35374 echo "$as_me: failed program was:" >&5
35375 sed 's/^/| /' conftest.$ac_ext >&5
35377 ac_cv_lib_unixodbc_SQLAllocEnv=no
35380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35381 conftest$ac_exeext conftest.$ac_ext
35382 LIBS=$ac_check_lib_save_LIBS
35384 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35385 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35386 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35387 ODBC_LINK=" -lunixodbc"
35390 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35391 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35392 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35393 echo $ECHO_N "(cached) $ECHO_C" >&6
35395 ac_check_lib_save_LIBS=$LIBS
35396 LIBS="-lodbc $LIBS"
35397 cat >conftest.$ac_ext <<_ACEOF
35400 cat confdefs.h >>conftest.$ac_ext
35401 cat >>conftest.$ac_ext <<_ACEOF
35402 /* end confdefs.h. */
35404 /* Override any GCC internal prototype to avoid an error.
35405 Use char because int might match the return type of a GCC
35406 builtin and then its argument prototype would still apply. */
35410 char SQLAllocEnv ();
35414 return SQLAllocEnv ();
35419 rm -f conftest.$ac_objext conftest$ac_exeext
35420 if { (ac_try="$ac_link"
35421 case "(($ac_try" in
35422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35423 *) ac_try_echo=$ac_try;;
35425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35426 (eval "$ac_link") 2>conftest.er1
35428 grep -v '^ *+' conftest.er1 >conftest.err
35430 cat conftest.err >&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } && {
35433 test -z "$ac_c_werror_flag" ||
35434 test ! -s conftest.err
35435 } && test -s conftest$ac_exeext &&
35436 $as_test_x conftest$ac_exeext; then
35437 ac_cv_lib_odbc_SQLAllocEnv=yes
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.$ac_ext >&5
35442 ac_cv_lib_odbc_SQLAllocEnv=no
35445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35446 conftest$ac_exeext conftest.$ac_ext
35447 LIBS=$ac_check_lib_save_LIBS
35449 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35450 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35451 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35452 ODBC_LINK=" -lodbc"
35462 if test "x$ODBC_LINK" = "x" ; then
35463 if test "$wxUSE_ODBC" = "sys" ; then
35464 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35465 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35466 { (exit 1); exit 1; }; }
35468 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35469 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35477 if test "$wxUSE_ODBC" = "builtin" ; then
35478 cat >>confdefs.h <<\_ACEOF
35479 #define wxUSE_BUILTIN_IODBC 1
35485 if test "$wxUSE_ODBC" != "no" ; then
35486 cat >>confdefs.h <<\_ACEOF
35487 #define wxUSE_ODBC 1
35490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35492 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35496 if test "$wxUSE_DISPLAY" = "yes"; then
35497 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35498 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35499 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35502 for ac_dir in $SEARCH_LIB;
35504 for ac_extension in a so sl dylib dll.a; do
35505 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35506 ac_find_libraries=$ac_dir
35512 if test "$ac_find_libraries" != "" ; then
35514 if test "$ac_find_libraries" = "default location"; then
35517 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35519 if test $result = 0; then
35522 ac_path_to_link=" -L$ac_find_libraries"
35526 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35527 LDFLAGS="$LDFLAGS $ac_path_to_link"
35529 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35530 { echo "$as_me:$LINENO: result: yes" >&5
35531 echo "${ECHO_T}yes" >&6; }
35533 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35534 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35537 for ac_dir in $SEARCH_LIB;
35539 for ac_extension in a so sl dylib dll.a; do
35540 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35541 ac_find_libraries=$ac_dir
35547 if test "$ac_find_libraries" != "" ; then
35548 { echo "$as_me:$LINENO: result: yes" >&5
35549 echo "${ECHO_T}yes" >&6; }
35551 for ac_header in X11/extensions/xf86vmode.h
35553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35557 echo $ECHO_N "(cached) $ECHO_C" >&6
35559 cat >conftest.$ac_ext <<_ACEOF
35562 cat confdefs.h >>conftest.$ac_ext
35563 cat >>conftest.$ac_ext <<_ACEOF
35564 /* end confdefs.h. */
35566 #if HAVE_X11_XLIB_H
35567 #include <X11/Xlib.h>
35571 #include <$ac_header>
35573 rm -f conftest.$ac_objext
35574 if { (ac_try="$ac_compile"
35575 case "(($ac_try" in
35576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35577 *) ac_try_echo=$ac_try;;
35579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35580 (eval "$ac_compile") 2>conftest.er1
35582 grep -v '^ *+' conftest.er1 >conftest.err
35584 cat conftest.err >&5
35585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35586 (exit $ac_status); } && {
35587 test -z "$ac_c_werror_flag" ||
35588 test ! -s conftest.err
35589 } && test -s conftest.$ac_objext; then
35590 eval "$as_ac_Header=yes"
35592 echo "$as_me: failed program was:" >&5
35593 sed 's/^/| /' conftest.$ac_ext >&5
35595 eval "$as_ac_Header=no"
35598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35600 ac_res=`eval echo '${'$as_ac_Header'}'`
35601 { echo "$as_me:$LINENO: result: $ac_res" >&5
35602 echo "${ECHO_T}$ac_res" >&6; }
35603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35604 cat >>confdefs.h <<_ACEOF
35605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35608 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35615 { echo "$as_me:$LINENO: result: no" >&5
35616 echo "${ECHO_T}no" >&6; }
35620 { echo "$as_me:$LINENO: result: no" >&5
35621 echo "${ECHO_T}no" >&6; }
35622 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35623 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35626 elif test "$wxUSE_MSW" = 1; then
35627 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35628 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35629 if test "${ac_cv_header_ddraw_h+set}" = set; then
35630 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 cat >conftest.$ac_ext <<_ACEOF
35635 cat confdefs.h >>conftest.$ac_ext
35636 cat >>conftest.$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638 #include <windows.h>
35642 rm -f conftest.$ac_objext
35643 if { (ac_try="$ac_compile"
35644 case "(($ac_try" in
35645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35646 *) ac_try_echo=$ac_try;;
35648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35649 (eval "$ac_compile") 2>conftest.er1
35651 grep -v '^ *+' conftest.er1 >conftest.err
35653 cat conftest.err >&5
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); } && {
35656 test -z "$ac_c_werror_flag" ||
35657 test ! -s conftest.err
35658 } && test -s conftest.$ac_objext; then
35659 ac_cv_header_ddraw_h=yes
35661 echo "$as_me: failed program was:" >&5
35662 sed 's/^/| /' conftest.$ac_ext >&5
35664 ac_cv_header_ddraw_h=no
35667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35669 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35670 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35676 if test "$wxUSE_DETECT_SM" = "yes"; then
35677 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35678 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35679 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35682 for ac_dir in $SEARCH_LIB;
35684 for ac_extension in a so sl dylib dll.a; do
35685 if test -f "$ac_dir/libSM.$ac_extension"; then
35686 ac_find_libraries=$ac_dir
35692 if test "$ac_find_libraries" != "" ; then
35694 if test "$ac_find_libraries" = "default location"; then
35697 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35699 if test $result = 0; then
35702 ac_path_to_link=" -L$ac_find_libraries"
35706 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35707 LDFLAGS="$LDFLAGS $ac_path_to_link"
35709 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35710 { echo "$as_me:$LINENO: result: yes" >&5
35711 echo "${ECHO_T}yes" >&6; }
35713 { echo "$as_me:$LINENO: result: no" >&5
35714 echo "${ECHO_T}no" >&6; }
35715 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35716 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35717 wxUSE_DETECT_SM="no"
35720 wxUSE_DETECT_SM="no"
35727 if test "$wxUSE_OPENGL" = "yes"; then
35728 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35729 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35730 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35732 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35733 OPENGL_LIBS="-framework OpenGL -framework AGL"
35734 elif test "$wxUSE_MSW" = 1; then
35735 OPENGL_LIBS="-lopengl32 -lglu32"
35737 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35738 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35741 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35743 if test -f "$ac_dir/GL/gl.h"; then
35744 ac_find_includes=$ac_dir
35749 if test "$ac_find_includes" != "" ; then
35750 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35751 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35753 if test "x$ac_find_includes" = "x/usr/include"; then
35754 ac_path_to_include=""
35756 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35758 if test $result = 0; then
35759 ac_path_to_include=""
35761 ac_path_to_include=" -I$ac_find_includes"
35765 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35767 { echo "$as_me:$LINENO: result: not found" >&5
35768 echo "${ECHO_T}not found" >&6; }
35771 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35772 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35773 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35774 echo $ECHO_N "(cached) $ECHO_C" >&6
35776 cat >conftest.$ac_ext <<_ACEOF
35779 cat confdefs.h >>conftest.$ac_ext
35780 cat >>conftest.$ac_ext <<_ACEOF
35781 /* end confdefs.h. */
35786 rm -f conftest.$ac_objext
35787 if { (ac_try="$ac_compile"
35788 case "(($ac_try" in
35789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35790 *) ac_try_echo=$ac_try;;
35792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35793 (eval "$ac_compile") 2>conftest.er1
35795 grep -v '^ *+' conftest.er1 >conftest.err
35797 cat conftest.err >&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } && {
35800 test -z "$ac_c_werror_flag" ||
35801 test ! -s conftest.err
35802 } && test -s conftest.$ac_objext; then
35803 ac_cv_header_GL_gl_h=yes
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.$ac_ext >&5
35808 ac_cv_header_GL_gl_h=no
35811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35813 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35814 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35815 if test $ac_cv_header_GL_gl_h = yes; then
35817 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35818 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35819 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35820 echo $ECHO_N "(cached) $ECHO_C" >&6
35822 cat >conftest.$ac_ext <<_ACEOF
35825 cat confdefs.h >>conftest.$ac_ext
35826 cat >>conftest.$ac_ext <<_ACEOF
35827 /* end confdefs.h. */
35830 #include <GL/glu.h>
35832 rm -f conftest.$ac_objext
35833 if { (ac_try="$ac_compile"
35834 case "(($ac_try" in
35835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35836 *) ac_try_echo=$ac_try;;
35838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35839 (eval "$ac_compile") 2>conftest.er1
35841 grep -v '^ *+' conftest.er1 >conftest.err
35843 cat conftest.err >&5
35844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35845 (exit $ac_status); } && {
35846 test -z "$ac_c_werror_flag" ||
35847 test ! -s conftest.err
35848 } && test -s conftest.$ac_objext; then
35849 ac_cv_header_GL_glu_h=yes
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.$ac_ext >&5
35854 ac_cv_header_GL_glu_h=no
35857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35859 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35860 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35861 if test $ac_cv_header_GL_glu_h = yes; then
35865 { echo "$as_me:$LINENO: checking for -lGL" >&5
35866 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35869 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35871 for ac_extension in a so sl dylib dll.a; do
35872 if test -f "$ac_dir/libGL.$ac_extension"; then
35873 ac_find_libraries=$ac_dir
35879 if test "$ac_find_libraries" != "" ; then
35880 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35881 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35884 if test "$ac_find_libraries" = "default location"; then
35887 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35889 if test $result = 0; then
35892 ac_path_to_link=" -L$ac_find_libraries"
35896 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35897 LDFLAGS_GL="$ac_path_to_link"
35900 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35901 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35904 for ac_dir in $SEARCH_LIB;
35906 for ac_extension in a so sl dylib dll.a; do
35907 if test -f "$ac_dir/libGLU.$ac_extension"; then
35908 ac_find_libraries=$ac_dir
35914 if test "$ac_find_libraries" != "" ; then
35916 if test "$ac_find_libraries" = "default location"; then
35919 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35921 if test $result = 0; then
35924 ac_path_to_link=" -L$ac_find_libraries"
35928 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35929 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35930 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35934 OPENGL_LIBS="-lGL -lGLU"
35935 { echo "$as_me:$LINENO: result: yes" >&5
35936 echo "${ECHO_T}yes" >&6; }
35938 { echo "$as_me:$LINENO: result: no" >&5
35939 echo "${ECHO_T}no" >&6; }
35942 { echo "$as_me:$LINENO: result: no" >&5
35943 echo "${ECHO_T}no" >&6; }
35946 if test "$found_gl" != 1; then
35947 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35948 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35951 for ac_dir in $SEARCH_LIB;
35953 for ac_extension in a so sl dylib dll.a; do
35954 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35955 ac_find_libraries=$ac_dir
35961 if test "$ac_find_libraries" != "" ; then
35963 if test "$ac_find_libraries" = "default location"; then
35966 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35968 if test $result = 0; then
35971 ac_path_to_link=" -L$ac_find_libraries"
35975 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35976 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35977 { echo "$as_me:$LINENO: result: yes" >&5
35978 echo "${ECHO_T}yes" >&6; }
35980 { echo "$as_me:$LINENO: result: no" >&5
35981 echo "${ECHO_T}no" >&6; }
35993 if test "x$OPENGL_LIBS" = "x"; then
35994 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35995 echo "$as_me: error: OpenGL libraries not available" >&2;}
35996 { (exit 1); exit 1; }; }
36000 if test "$wxUSE_OPENGL" = "yes"; then
36002 cat >>confdefs.h <<\_ACEOF
36003 #define wxUSE_OPENGL 1
36006 cat >>confdefs.h <<\_ACEOF
36007 #define wxUSE_GLCANVAS 1
36010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36015 if test -n "$TOOLKIT" ; then
36016 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36021 if test "$wxUSE_SHARED" = "yes"; then
36025 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36026 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36031 if test "$wxUSE_SHARED" = "yes"; then
36035 *-*-cygwin* | *-*-mingw* )
36036 wx_cv_version_script=no
36040 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36041 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36042 if test "${wx_cv_version_script+set}" = set; then
36043 echo $ECHO_N "(cached) $ECHO_C" >&6
36046 echo "VER_1 { *; };" >conftest.sym
36047 echo "int main() { return 0; }" >conftest.cpp
36050 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36051 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36053 (eval $ac_try) 2>&5
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); }; } ; then
36057 if test -s conftest.stderr ; then
36058 wx_cv_version_script=no
36060 wx_cv_version_script=yes
36063 wx_cv_version_script=no
36066 if test $wx_cv_version_script = yes
36068 echo "struct B { virtual ~B() { } }; \
36069 struct D : public B { }; \
36070 void F() { D d; }" > conftest.cpp
36073 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36074 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36076 (eval $ac_try) 2>&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); }; } &&
36081 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36082 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36084 (eval $ac_try) 2>&5
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); }; }
36090 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36091 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36093 (eval $ac_try) 2>&5
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); }; }
36098 wx_cv_version_script=yes
36100 wx_cv_version_script=no
36105 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36106 rm -f conftest1.output conftest2.output conftest3.output
36109 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36110 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36112 if test $wx_cv_version_script = yes ; then
36113 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36119 if test "$wxUSE_VISIBILITY" != "no"; then
36122 if test -n "$GCC"; then
36123 CFLAGS_VISIBILITY="-fvisibility=hidden"
36124 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36125 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36126 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36127 if test "${wx_cv_cc_visibility+set}" = set; then
36128 echo $ECHO_N "(cached) $ECHO_C" >&6
36131 wx_save_CXXFLAGS="$CXXFLAGS"
36132 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36134 ac_cpp='$CXXCPP $CPPFLAGS'
36135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36139 cat >conftest.$ac_ext <<_ACEOF
36142 cat confdefs.h >>conftest.$ac_ext
36143 cat >>conftest.$ac_ext <<_ACEOF
36144 /* end confdefs.h. */
36146 /* we need gcc >= 4.0, older versions with visibility support
36147 didn't have class visibility: */
36148 #if defined(__GNUC__) && __GNUC__ < 4
36149 error this gcc is too old;
36152 /* visibility only makes sense for ELF shared libs: */
36153 #if !defined(__ELF__) && !defined(__APPLE__)
36154 error this platform has no visibility;
36157 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36158 extern __attribute__((__visibility__("default"))) int exportedvar;
36159 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36160 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36161 class __attribute__((__visibility__("default"))) Foo {
36173 rm -f conftest.$ac_objext
36174 if { (ac_try="$ac_compile"
36175 case "(($ac_try" in
36176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36177 *) ac_try_echo=$ac_try;;
36179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36180 (eval "$ac_compile") 2>conftest.er1
36182 grep -v '^ *+' conftest.er1 >conftest.err
36184 cat conftest.err >&5
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); } && {
36187 test -z "$ac_cxx_werror_flag" ||
36188 test ! -s conftest.err
36189 } && test -s conftest.$ac_objext; then
36190 wx_cv_cc_visibility=yes
36192 echo "$as_me: failed program was:" >&5
36193 sed 's/^/| /' conftest.$ac_ext >&5
36195 wx_cv_cc_visibility=no
36198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36200 ac_cpp='$CPP $CPPFLAGS'
36201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36205 CXXFLAGS="$wx_save_CXXFLAGS"
36208 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36209 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36210 if test $wx_cv_cc_visibility = yes; then
36211 cat >>confdefs.h <<\_ACEOF
36212 #define HAVE_VISIBILITY 1
36216 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36217 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36218 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36219 echo $ECHO_N "(cached) $ECHO_C" >&6
36222 wx_save_CXXFLAGS="$CXXFLAGS"
36223 wx_save_LDFLAGS="$LDFLAGS"
36224 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36225 LDFLAGS="$LDFLAGS -shared -fPIC"
36227 ac_cpp='$CXXCPP $CPPFLAGS'
36228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36232 cat >conftest.$ac_ext <<_ACEOF
36235 cat confdefs.h >>conftest.$ac_ext
36236 cat >>conftest.$ac_ext <<_ACEOF
36237 /* end confdefs.h. */
36245 std::string s("hello");
36252 rm -f conftest.$ac_objext conftest$ac_exeext
36253 if { (ac_try="$ac_link"
36254 case "(($ac_try" in
36255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36256 *) ac_try_echo=$ac_try;;
36258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36259 (eval "$ac_link") 2>conftest.er1
36261 grep -v '^ *+' conftest.er1 >conftest.err
36263 cat conftest.err >&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); } && {
36266 test -z "$ac_cxx_werror_flag" ||
36267 test ! -s conftest.err
36268 } && test -s conftest$ac_exeext &&
36269 $as_test_x conftest$ac_exeext; then
36270 wx_cv_cc_broken_libstdcxx_visibility=no
36272 echo "$as_me: failed program was:" >&5
36273 sed 's/^/| /' conftest.$ac_ext >&5
36275 wx_cv_cc_broken_libstdcxx_visibility=yes
36278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36279 conftest$ac_exeext conftest.$ac_ext
36281 ac_cpp='$CPP $CPPFLAGS'
36282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36286 CXXFLAGS="$wx_save_CXXFLAGS"
36287 LDFLAGS="$wx_save_LDFLAGS"
36290 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36291 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36292 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36293 cat >>confdefs.h <<\_ACEOF
36294 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36300 CFLAGS_VISIBILITY=""
36301 CXXFLAGS_VISIBILITY=""
36309 if test "x$SUNCXX" = xyes; then
36310 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36311 WXCONFIG_RPATH="-R\$libdir"
36314 *-*-linux* | *-*-gnu* )
36315 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36316 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36321 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36323 saveLdflags="$LDFLAGS"
36324 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36325 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36326 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36327 cat >conftest.$ac_ext <<_ACEOF
36330 cat confdefs.h >>conftest.$ac_ext
36331 cat >>conftest.$ac_ext <<_ACEOF
36332 /* end confdefs.h. */
36342 rm -f conftest.$ac_objext conftest$ac_exeext
36343 if { (ac_try="$ac_link"
36344 case "(($ac_try" in
36345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36346 *) ac_try_echo=$ac_try;;
36348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36349 (eval "$ac_link") 2>conftest.er1
36351 grep -v '^ *+' conftest.er1 >conftest.err
36353 cat conftest.err >&5
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); } && {
36356 test -z "$ac_c_werror_flag" ||
36357 test ! -s conftest.err
36358 } && test -s conftest$ac_exeext &&
36359 $as_test_x conftest$ac_exeext; then
36361 { echo "$as_me:$LINENO: result: yes" >&5
36362 echo "${ECHO_T}yes" >&6; }
36363 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36364 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36367 echo "$as_me: failed program was:" >&5
36368 sed 's/^/| /' conftest.$ac_ext >&5
36371 { echo "$as_me:$LINENO: result: no" >&5
36372 echo "${ECHO_T}no" >&6; }
36373 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36374 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36375 LDFLAGS="$saveLdflags -Wl,-R,/"
36376 cat >conftest.$ac_ext <<_ACEOF
36379 cat confdefs.h >>conftest.$ac_ext
36380 cat >>conftest.$ac_ext <<_ACEOF
36381 /* end confdefs.h. */
36391 rm -f conftest.$ac_objext conftest$ac_exeext
36392 if { (ac_try="$ac_link"
36393 case "(($ac_try" in
36394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36395 *) ac_try_echo=$ac_try;;
36397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36398 (eval "$ac_link") 2>conftest.er1
36400 grep -v '^ *+' conftest.er1 >conftest.err
36402 cat conftest.err >&5
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); } && {
36405 test -z "$ac_c_werror_flag" ||
36406 test ! -s conftest.err
36407 } && test -s conftest$ac_exeext &&
36408 $as_test_x conftest$ac_exeext; then
36410 { echo "$as_me:$LINENO: result: yes" >&5
36411 echo "${ECHO_T}yes" >&6; }
36412 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36413 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36416 echo "$as_me: failed program was:" >&5
36417 sed 's/^/| /' conftest.$ac_ext >&5
36420 { echo "$as_me:$LINENO: result: no" >&5
36421 echo "${ECHO_T}no" >&6; }
36425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36426 conftest$ac_exeext conftest.$ac_ext
36430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36431 conftest$ac_exeext conftest.$ac_ext
36432 LDFLAGS="$saveLdflags"
36436 install_name_tool=`which install_name_tool`
36437 if test "$install_name_tool" -a -x "$install_name_tool"; then
36438 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36439 cat <<EOF >change-install-names
36441 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36442 inst_cmd="install_name_tool "
36443 for i in \${libnames} ; do
36444 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36448 chmod +x change-install-names
36452 *-*-cygwin* | *-*-mingw32* )
36453 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36457 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36458 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36464 if test $wxUSE_RPATH = "no"; then
36465 SAMPLES_RPATH_FLAG=''
36466 SAMPLES_RPATH_POSTLINK=''
36474 config_linkage_component="-static"
36481 lib_unicode_suffix=
36483 if test "$wxUSE_UNICODE" = "yes"; then
36484 lib_unicode_suffix=u
36485 WX_CHARTYPE="unicode"
36490 WX_DEBUGTYPE="release"
36492 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36494 WX_DEBUGTYPE="debug"
36498 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36499 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36502 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36506 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36508 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36510 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36512 if test "$cross_compiling" = "yes"; then
36513 HOST_SUFFIX="-$host_alias"
36514 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36515 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36518 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36519 if test "${TOOLKIT_DIR}" = "os2"; then
36520 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36522 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36527 if test "$wxUSE_COCOA" = 1; then
36530 ac_cpp='$CPP $CPPFLAGS'
36531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36537 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36538 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36539 cat >conftest.$ac_ext <<_ACEOF
36542 cat confdefs.h >>conftest.$ac_ext
36543 cat >>conftest.$ac_ext <<_ACEOF
36544 /* end confdefs.h. */
36545 #include <AppKit/NSEvent.h>
36546 #include <CoreFoundation/CoreFoundation.h>
36556 rm -f conftest.$ac_objext
36557 if { (ac_try="$ac_compile"
36558 case "(($ac_try" in
36559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36560 *) ac_try_echo=$ac_try;;
36562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36563 (eval "$ac_compile") 2>conftest.er1
36565 grep -v '^ *+' conftest.er1 >conftest.err
36567 cat conftest.err >&5
36568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36569 (exit $ac_status); } && {
36570 test -z "$ac_c_werror_flag" ||
36571 test ! -s conftest.err
36572 } && test -s conftest.$ac_objext; then
36573 { echo "$as_me:$LINENO: result: no" >&5
36574 echo "${ECHO_T}no" >&6; }
36576 echo "$as_me: failed program was:" >&5
36577 sed 's/^/| /' conftest.$ac_ext >&5
36579 { echo "$as_me:$LINENO: result: yes" >&5
36580 echo "${ECHO_T}yes" >&6; }
36581 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36582 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36583 cat >conftest.$ac_ext <<_ACEOF
36586 cat confdefs.h >>conftest.$ac_ext
36587 cat >>conftest.$ac_ext <<_ACEOF
36588 /* end confdefs.h. */
36589 #define __Point__ 1
36590 #include <AppKit/NSEvent.h>
36591 #include <CoreFoundation/CoreFoundation.h>
36601 rm -f conftest.$ac_objext
36602 if { (ac_try="$ac_compile"
36603 case "(($ac_try" in
36604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36605 *) ac_try_echo=$ac_try;;
36607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36608 (eval "$ac_compile") 2>conftest.er1
36610 grep -v '^ *+' conftest.er1 >conftest.err
36612 cat conftest.err >&5
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); } && {
36615 test -z "$ac_c_werror_flag" ||
36616 test ! -s conftest.err
36617 } && test -s conftest.$ac_objext; then
36618 { echo "$as_me:$LINENO: result: yes" >&5
36619 echo "${ECHO_T}yes" >&6; }
36620 cat >>confdefs.h <<\_ACEOF
36621 #define __Point__ 1
36626 echo "$as_me: failed program was:" >&5
36627 sed 's/^/| /' conftest.$ac_ext >&5
36629 { { echo "$as_me:$LINENO: error: no
36630 See \`config.log' for more details." >&5
36631 echo "$as_me: error: no
36632 See \`config.log' for more details." >&2;}
36633 { (exit 1); exit 1; }; }
36637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36643 ac_cpp='$CPP $CPPFLAGS'
36644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36651 { echo "$as_me:$LINENO: checking for mode_t" >&5
36652 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36653 if test "${ac_cv_type_mode_t+set}" = set; then
36654 echo $ECHO_N "(cached) $ECHO_C" >&6
36656 cat >conftest.$ac_ext <<_ACEOF
36659 cat confdefs.h >>conftest.$ac_ext
36660 cat >>conftest.$ac_ext <<_ACEOF
36661 /* end confdefs.h. */
36662 $ac_includes_default
36663 typedef mode_t ac__type_new_;
36667 if ((ac__type_new_ *) 0)
36669 if (sizeof (ac__type_new_))
36675 rm -f conftest.$ac_objext
36676 if { (ac_try="$ac_compile"
36677 case "(($ac_try" in
36678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36679 *) ac_try_echo=$ac_try;;
36681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36682 (eval "$ac_compile") 2>conftest.er1
36684 grep -v '^ *+' conftest.er1 >conftest.err
36686 cat conftest.err >&5
36687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36688 (exit $ac_status); } && {
36689 test -z "$ac_c_werror_flag" ||
36690 test ! -s conftest.err
36691 } && test -s conftest.$ac_objext; then
36692 ac_cv_type_mode_t=yes
36694 echo "$as_me: failed program was:" >&5
36695 sed 's/^/| /' conftest.$ac_ext >&5
36697 ac_cv_type_mode_t=no
36700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36702 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36703 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36704 if test $ac_cv_type_mode_t = yes; then
36708 cat >>confdefs.h <<_ACEOF
36714 { echo "$as_me:$LINENO: checking for off_t" >&5
36715 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36716 if test "${ac_cv_type_off_t+set}" = set; then
36717 echo $ECHO_N "(cached) $ECHO_C" >&6
36719 cat >conftest.$ac_ext <<_ACEOF
36722 cat confdefs.h >>conftest.$ac_ext
36723 cat >>conftest.$ac_ext <<_ACEOF
36724 /* end confdefs.h. */
36725 $ac_includes_default
36726 typedef off_t ac__type_new_;
36730 if ((ac__type_new_ *) 0)
36732 if (sizeof (ac__type_new_))
36738 rm -f conftest.$ac_objext
36739 if { (ac_try="$ac_compile"
36740 case "(($ac_try" in
36741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36742 *) ac_try_echo=$ac_try;;
36744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36745 (eval "$ac_compile") 2>conftest.er1
36747 grep -v '^ *+' conftest.er1 >conftest.err
36749 cat conftest.err >&5
36750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36751 (exit $ac_status); } && {
36752 test -z "$ac_c_werror_flag" ||
36753 test ! -s conftest.err
36754 } && test -s conftest.$ac_objext; then
36755 ac_cv_type_off_t=yes
36757 echo "$as_me: failed program was:" >&5
36758 sed 's/^/| /' conftest.$ac_ext >&5
36760 ac_cv_type_off_t=no
36763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36765 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36766 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36767 if test $ac_cv_type_off_t = yes; then
36771 cat >>confdefs.h <<_ACEOF
36772 #define off_t long int
36777 { echo "$as_me:$LINENO: checking for pid_t" >&5
36778 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36779 if test "${ac_cv_type_pid_t+set}" = set; then
36780 echo $ECHO_N "(cached) $ECHO_C" >&6
36782 cat >conftest.$ac_ext <<_ACEOF
36785 cat confdefs.h >>conftest.$ac_ext
36786 cat >>conftest.$ac_ext <<_ACEOF
36787 /* end confdefs.h. */
36788 $ac_includes_default
36789 typedef pid_t ac__type_new_;
36793 if ((ac__type_new_ *) 0)
36795 if (sizeof (ac__type_new_))
36801 rm -f conftest.$ac_objext
36802 if { (ac_try="$ac_compile"
36803 case "(($ac_try" in
36804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36805 *) ac_try_echo=$ac_try;;
36807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36808 (eval "$ac_compile") 2>conftest.er1
36810 grep -v '^ *+' conftest.er1 >conftest.err
36812 cat conftest.err >&5
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); } && {
36815 test -z "$ac_c_werror_flag" ||
36816 test ! -s conftest.err
36817 } && test -s conftest.$ac_objext; then
36818 ac_cv_type_pid_t=yes
36820 echo "$as_me: failed program was:" >&5
36821 sed 's/^/| /' conftest.$ac_ext >&5
36823 ac_cv_type_pid_t=no
36826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36828 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36829 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36830 if test $ac_cv_type_pid_t = yes; then
36834 cat >>confdefs.h <<_ACEOF
36840 { echo "$as_me:$LINENO: checking for size_t" >&5
36841 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36842 if test "${ac_cv_type_size_t+set}" = set; then
36843 echo $ECHO_N "(cached) $ECHO_C" >&6
36845 cat >conftest.$ac_ext <<_ACEOF
36848 cat confdefs.h >>conftest.$ac_ext
36849 cat >>conftest.$ac_ext <<_ACEOF
36850 /* end confdefs.h. */
36851 $ac_includes_default
36852 typedef size_t ac__type_new_;
36856 if ((ac__type_new_ *) 0)
36858 if (sizeof (ac__type_new_))
36864 rm -f conftest.$ac_objext
36865 if { (ac_try="$ac_compile"
36866 case "(($ac_try" in
36867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36868 *) ac_try_echo=$ac_try;;
36870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36871 (eval "$ac_compile") 2>conftest.er1
36873 grep -v '^ *+' conftest.er1 >conftest.err
36875 cat conftest.err >&5
36876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36877 (exit $ac_status); } && {
36878 test -z "$ac_c_werror_flag" ||
36879 test ! -s conftest.err
36880 } && test -s conftest.$ac_objext; then
36881 ac_cv_type_size_t=yes
36883 echo "$as_me: failed program was:" >&5
36884 sed 's/^/| /' conftest.$ac_ext >&5
36886 ac_cv_type_size_t=no
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36891 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36892 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36893 if test $ac_cv_type_size_t = yes; then
36897 cat >>confdefs.h <<_ACEOF
36898 #define size_t unsigned int
36903 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36904 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36905 if test "${ac_cv_type_uid_t+set}" = set; then
36906 echo $ECHO_N "(cached) $ECHO_C" >&6
36908 cat >conftest.$ac_ext <<_ACEOF
36911 cat confdefs.h >>conftest.$ac_ext
36912 cat >>conftest.$ac_ext <<_ACEOF
36913 /* end confdefs.h. */
36914 #include <sys/types.h>
36917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36918 $EGREP "uid_t" >/dev/null 2>&1; then
36919 ac_cv_type_uid_t=yes
36921 ac_cv_type_uid_t=no
36926 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36927 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36928 if test $ac_cv_type_uid_t = no; then
36930 cat >>confdefs.h <<\_ACEOF
36935 cat >>confdefs.h <<\_ACEOF
36942 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36943 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36944 if test "${ac_cv_type_ssize_t+set}" = set; then
36945 echo $ECHO_N "(cached) $ECHO_C" >&6
36947 cat >conftest.$ac_ext <<_ACEOF
36950 cat confdefs.h >>conftest.$ac_ext
36951 cat >>conftest.$ac_ext <<_ACEOF
36952 /* end confdefs.h. */
36953 $ac_includes_default
36954 typedef ssize_t ac__type_new_;
36958 if ((ac__type_new_ *) 0)
36960 if (sizeof (ac__type_new_))
36966 rm -f conftest.$ac_objext
36967 if { (ac_try="$ac_compile"
36968 case "(($ac_try" in
36969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36970 *) ac_try_echo=$ac_try;;
36972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36973 (eval "$ac_compile") 2>conftest.er1
36975 grep -v '^ *+' conftest.er1 >conftest.err
36977 cat conftest.err >&5
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); } && {
36980 test -z "$ac_c_werror_flag" ||
36981 test ! -s conftest.err
36982 } && test -s conftest.$ac_objext; then
36983 ac_cv_type_ssize_t=yes
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36988 ac_cv_type_ssize_t=no
36991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36993 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36994 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36995 if test $ac_cv_type_ssize_t = yes; then
36997 cat >>confdefs.h <<_ACEOF
36998 #define HAVE_SSIZE_T 1
37006 ac_cpp='$CXXCPP $CPPFLAGS'
37007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37010 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37011 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37012 if test "${wx_cv_size_t_is_uint+set}" = set; then
37013 echo $ECHO_N "(cached) $ECHO_C" >&6
37016 cat >conftest.$ac_ext <<_ACEOF
37019 cat confdefs.h >>conftest.$ac_ext
37020 cat >>conftest.$ac_ext <<_ACEOF
37021 /* end confdefs.h. */
37022 #include <stddef.h>
37029 struct Foo { void foo(size_t); void foo(unsigned int); };
37037 rm -f conftest.$ac_objext
37038 if { (ac_try="$ac_compile"
37039 case "(($ac_try" in
37040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37041 *) ac_try_echo=$ac_try;;
37043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37044 (eval "$ac_compile") 2>conftest.er1
37046 grep -v '^ *+' conftest.er1 >conftest.err
37048 cat conftest.err >&5
37049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37050 (exit $ac_status); } && {
37051 test -z "$ac_cxx_werror_flag" ||
37052 test ! -s conftest.err
37053 } && test -s conftest.$ac_objext; then
37054 wx_cv_size_t_is_uint=no
37056 echo "$as_me: failed program was:" >&5
37057 sed 's/^/| /' conftest.$ac_ext >&5
37059 wx_cv_size_t_is_uint=yes
37063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37067 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37068 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37070 if test "$wx_cv_size_t_is_uint" = "yes"; then
37071 cat >>confdefs.h <<\_ACEOF
37072 #define wxSIZE_T_IS_UINT 1
37076 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37077 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37078 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37079 echo $ECHO_N "(cached) $ECHO_C" >&6
37081 cat >conftest.$ac_ext <<_ACEOF
37084 cat confdefs.h >>conftest.$ac_ext
37085 cat >>conftest.$ac_ext <<_ACEOF
37086 /* end confdefs.h. */
37087 #include <stddef.h>
37094 struct Foo { void foo(size_t); void foo(unsigned long); };
37102 rm -f conftest.$ac_objext
37103 if { (ac_try="$ac_compile"
37104 case "(($ac_try" in
37105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37106 *) ac_try_echo=$ac_try;;
37108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37109 (eval "$ac_compile") 2>conftest.er1
37111 grep -v '^ *+' conftest.er1 >conftest.err
37113 cat conftest.err >&5
37114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115 (exit $ac_status); } && {
37116 test -z "$ac_cxx_werror_flag" ||
37117 test ! -s conftest.err
37118 } && test -s conftest.$ac_objext; then
37119 wx_cv_size_t_is_ulong=no
37121 echo "$as_me: failed program was:" >&5
37122 sed 's/^/| /' conftest.$ac_ext >&5
37124 wx_cv_size_t_is_ulong=yes
37128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37131 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37132 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37134 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37135 cat >>confdefs.h <<\_ACEOF
37136 #define wxSIZE_T_IS_ULONG 1
37142 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37143 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37144 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37145 echo $ECHO_N "(cached) $ECHO_C" >&6
37147 cat >conftest.$ac_ext <<_ACEOF
37150 cat confdefs.h >>conftest.$ac_ext
37151 cat >>conftest.$ac_ext <<_ACEOF
37152 /* end confdefs.h. */
37160 struct Foo { void foo(wchar_t);
37161 void foo(unsigned short);
37162 void foo(unsigned int);
37163 void foo(unsigned long); };
37171 rm -f conftest.$ac_objext
37172 if { (ac_try="$ac_compile"
37173 case "(($ac_try" in
37174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37175 *) ac_try_echo=$ac_try;;
37177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37178 (eval "$ac_compile") 2>conftest.er1
37180 grep -v '^ *+' conftest.er1 >conftest.err
37182 cat conftest.err >&5
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); } && {
37185 test -z "$ac_cxx_werror_flag" ||
37186 test ! -s conftest.err
37187 } && test -s conftest.$ac_objext; then
37188 wx_cv_wchar_t_is_separate_type=yes
37190 echo "$as_me: failed program was:" >&5
37191 sed 's/^/| /' conftest.$ac_ext >&5
37193 wx_cv_wchar_t_is_separate_type=no
37197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37200 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37201 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37203 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37204 cat >>confdefs.h <<\_ACEOF
37205 #define wxWCHAR_T_IS_REAL_TYPE 1
37209 cat >>confdefs.h <<\_ACEOF
37210 #define wxWCHAR_T_IS_REAL_TYPE 0
37216 ac_cpp='$CPP $CPPFLAGS'
37217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37222 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37223 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37224 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37225 echo $ECHO_N "(cached) $ECHO_C" >&6
37228 cat >conftest.$ac_ext <<_ACEOF
37231 cat confdefs.h >>conftest.$ac_ext
37232 cat >>conftest.$ac_ext <<_ACEOF
37233 /* end confdefs.h. */
37247 rm -f conftest.$ac_objext
37248 if { (ac_try="$ac_compile"
37249 case "(($ac_try" in
37250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37251 *) ac_try_echo=$ac_try;;
37253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37254 (eval "$ac_compile") 2>conftest.er1
37256 grep -v '^ *+' conftest.er1 >conftest.err
37258 cat conftest.err >&5
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); } && {
37261 test -z "$ac_c_werror_flag" ||
37262 test ! -s conftest.err
37263 } && test -s conftest.$ac_objext; then
37265 wx_cv_struct_pw_gecos=yes
37268 echo "$as_me: failed program was:" >&5
37269 sed 's/^/| /' conftest.$ac_ext >&5
37272 wx_cv_struct_pw_gecos=no
37277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37281 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37282 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37284 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37285 cat >>confdefs.h <<\_ACEOF
37286 #define HAVE_PW_GECOS 1
37292 if test "$wxUSE_WCHAR_T" = "yes"; then
37293 cat >>confdefs.h <<\_ACEOF
37294 #define wxUSE_WCHAR_T 1
37301 for ac_func in wcslen
37303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37307 echo $ECHO_N "(cached) $ECHO_C" >&6
37309 cat >conftest.$ac_ext <<_ACEOF
37312 cat confdefs.h >>conftest.$ac_ext
37313 cat >>conftest.$ac_ext <<_ACEOF
37314 /* end confdefs.h. */
37315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37317 #define $ac_func innocuous_$ac_func
37319 /* System header to define __stub macros and hopefully few prototypes,
37320 which can conflict with char $ac_func (); below.
37321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37322 <limits.h> exists even on freestanding compilers. */
37325 # include <limits.h>
37327 # include <assert.h>
37332 /* Override any GCC internal prototype to avoid an error.
37333 Use char because int might match the return type of a GCC
37334 builtin and then its argument prototype would still apply. */
37339 /* The GNU C library defines this for functions which it implements
37340 to always fail with ENOSYS. Some functions are actually named
37341 something starting with __ and the normal name is an alias. */
37342 #if defined __stub_$ac_func || defined __stub___$ac_func
37349 return $ac_func ();
37354 rm -f conftest.$ac_objext conftest$ac_exeext
37355 if { (ac_try="$ac_link"
37356 case "(($ac_try" in
37357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37358 *) ac_try_echo=$ac_try;;
37360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37361 (eval "$ac_link") 2>conftest.er1
37363 grep -v '^ *+' conftest.er1 >conftest.err
37365 cat conftest.err >&5
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); } && {
37368 test -z "$ac_c_werror_flag" ||
37369 test ! -s conftest.err
37370 } && test -s conftest$ac_exeext &&
37371 $as_test_x conftest$ac_exeext; then
37372 eval "$as_ac_var=yes"
37374 echo "$as_me: failed program was:" >&5
37375 sed 's/^/| /' conftest.$ac_ext >&5
37377 eval "$as_ac_var=no"
37380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37381 conftest$ac_exeext conftest.$ac_ext
37383 ac_res=`eval echo '${'$as_ac_var'}'`
37384 { echo "$as_me:$LINENO: result: $ac_res" >&5
37385 echo "${ECHO_T}$ac_res" >&6; }
37386 if test `eval echo '${'$as_ac_var'}'` = yes; then
37387 cat >>confdefs.h <<_ACEOF
37388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37395 if test "$WCSLEN_FOUND" = 0; then
37396 if test "$TOOLKIT" = "MSW"; then
37397 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37398 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37399 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37400 echo $ECHO_N "(cached) $ECHO_C" >&6
37402 ac_check_lib_save_LIBS=$LIBS
37403 LIBS="-lmsvcrt $LIBS"
37404 cat >conftest.$ac_ext <<_ACEOF
37407 cat confdefs.h >>conftest.$ac_ext
37408 cat >>conftest.$ac_ext <<_ACEOF
37409 /* end confdefs.h. */
37411 /* Override any GCC internal prototype to avoid an error.
37412 Use char because int might match the return type of a GCC
37413 builtin and then its argument prototype would still apply. */
37426 rm -f conftest.$ac_objext conftest$ac_exeext
37427 if { (ac_try="$ac_link"
37428 case "(($ac_try" in
37429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37430 *) ac_try_echo=$ac_try;;
37432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37433 (eval "$ac_link") 2>conftest.er1
37435 grep -v '^ *+' conftest.er1 >conftest.err
37437 cat conftest.err >&5
37438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37439 (exit $ac_status); } && {
37440 test -z "$ac_c_werror_flag" ||
37441 test ! -s conftest.err
37442 } && test -s conftest$ac_exeext &&
37443 $as_test_x conftest$ac_exeext; then
37444 ac_cv_lib_msvcrt_wcslen=yes
37446 echo "$as_me: failed program was:" >&5
37447 sed 's/^/| /' conftest.$ac_ext >&5
37449 ac_cv_lib_msvcrt_wcslen=no
37452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37453 conftest$ac_exeext conftest.$ac_ext
37454 LIBS=$ac_check_lib_save_LIBS
37456 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37457 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37458 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37463 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37464 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37465 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37466 echo $ECHO_N "(cached) $ECHO_C" >&6
37468 ac_check_lib_save_LIBS=$LIBS
37470 cat >conftest.$ac_ext <<_ACEOF
37473 cat confdefs.h >>conftest.$ac_ext
37474 cat >>conftest.$ac_ext <<_ACEOF
37475 /* end confdefs.h. */
37477 /* Override any GCC internal prototype to avoid an error.
37478 Use char because int might match the return type of a GCC
37479 builtin and then its argument prototype would still apply. */
37492 rm -f conftest.$ac_objext conftest$ac_exeext
37493 if { (ac_try="$ac_link"
37494 case "(($ac_try" in
37495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37496 *) ac_try_echo=$ac_try;;
37498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37499 (eval "$ac_link") 2>conftest.er1
37501 grep -v '^ *+' conftest.er1 >conftest.err
37503 cat conftest.err >&5
37504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37505 (exit $ac_status); } && {
37506 test -z "$ac_c_werror_flag" ||
37507 test ! -s conftest.err
37508 } && test -s conftest$ac_exeext &&
37509 $as_test_x conftest$ac_exeext; then
37510 ac_cv_lib_w_wcslen=yes
37512 echo "$as_me: failed program was:" >&5
37513 sed 's/^/| /' conftest.$ac_ext >&5
37515 ac_cv_lib_w_wcslen=no
37518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37519 conftest$ac_exeext conftest.$ac_ext
37520 LIBS=$ac_check_lib_save_LIBS
37522 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37523 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37524 if test $ac_cv_lib_w_wcslen = yes; then
37534 if test "$WCSLEN_FOUND" = 1; then
37535 cat >>confdefs.h <<\_ACEOF
37536 #define HAVE_WCSLEN 1
37542 for ac_func in wcsdup
37544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37545 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37547 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37548 echo $ECHO_N "(cached) $ECHO_C" >&6
37550 cat >conftest.$ac_ext <<_ACEOF
37553 cat confdefs.h >>conftest.$ac_ext
37554 cat >>conftest.$ac_ext <<_ACEOF
37555 /* end confdefs.h. */
37556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37558 #define $ac_func innocuous_$ac_func
37560 /* System header to define __stub macros and hopefully few prototypes,
37561 which can conflict with char $ac_func (); below.
37562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37563 <limits.h> exists even on freestanding compilers. */
37566 # include <limits.h>
37568 # include <assert.h>
37573 /* Override any GCC internal prototype to avoid an error.
37574 Use char because int might match the return type of a GCC
37575 builtin and then its argument prototype would still apply. */
37580 /* The GNU C library defines this for functions which it implements
37581 to always fail with ENOSYS. Some functions are actually named
37582 something starting with __ and the normal name is an alias. */
37583 #if defined __stub_$ac_func || defined __stub___$ac_func
37590 return $ac_func ();
37595 rm -f conftest.$ac_objext conftest$ac_exeext
37596 if { (ac_try="$ac_link"
37597 case "(($ac_try" in
37598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37599 *) ac_try_echo=$ac_try;;
37601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37602 (eval "$ac_link") 2>conftest.er1
37604 grep -v '^ *+' conftest.er1 >conftest.err
37606 cat conftest.err >&5
37607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608 (exit $ac_status); } && {
37609 test -z "$ac_c_werror_flag" ||
37610 test ! -s conftest.err
37611 } && test -s conftest$ac_exeext &&
37612 $as_test_x conftest$ac_exeext; then
37613 eval "$as_ac_var=yes"
37615 echo "$as_me: failed program was:" >&5
37616 sed 's/^/| /' conftest.$ac_ext >&5
37618 eval "$as_ac_var=no"
37621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37622 conftest$ac_exeext conftest.$ac_ext
37624 ac_res=`eval echo '${'$as_ac_var'}'`
37625 { echo "$as_me:$LINENO: result: $ac_res" >&5
37626 echo "${ECHO_T}$ac_res" >&6; }
37627 if test `eval echo '${'$as_ac_var'}'` = yes; then
37628 cat >>confdefs.h <<_ACEOF
37629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37636 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37637 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37640 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37641 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37642 if test "${ac_cv_type_mbstate_t+set}" = set; then
37643 echo $ECHO_N "(cached) $ECHO_C" >&6
37645 cat >conftest.$ac_ext <<_ACEOF
37648 cat confdefs.h >>conftest.$ac_ext
37649 cat >>conftest.$ac_ext <<_ACEOF
37650 /* end confdefs.h. */
37653 typedef mbstate_t ac__type_new_;
37657 if ((ac__type_new_ *) 0)
37659 if (sizeof (ac__type_new_))
37665 rm -f conftest.$ac_objext
37666 if { (ac_try="$ac_compile"
37667 case "(($ac_try" in
37668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37669 *) ac_try_echo=$ac_try;;
37671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37672 (eval "$ac_compile") 2>conftest.er1
37674 grep -v '^ *+' conftest.er1 >conftest.err
37676 cat conftest.err >&5
37677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37678 (exit $ac_status); } && {
37679 test -z "$ac_c_werror_flag" ||
37680 test ! -s conftest.err
37681 } && test -s conftest.$ac_objext; then
37682 ac_cv_type_mbstate_t=yes
37684 echo "$as_me: failed program was:" >&5
37685 sed 's/^/| /' conftest.$ac_ext >&5
37687 ac_cv_type_mbstate_t=no
37690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37692 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37693 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37694 if test $ac_cv_type_mbstate_t = yes; then
37696 cat >>confdefs.h <<_ACEOF
37697 #define HAVE_MBSTATE_T 1
37701 for ac_func in wcsrtombs
37703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37704 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37706 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37707 echo $ECHO_N "(cached) $ECHO_C" >&6
37709 cat >conftest.$ac_ext <<_ACEOF
37712 cat confdefs.h >>conftest.$ac_ext
37713 cat >>conftest.$ac_ext <<_ACEOF
37714 /* end confdefs.h. */
37715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37717 #define $ac_func innocuous_$ac_func
37719 /* System header to define __stub macros and hopefully few prototypes,
37720 which can conflict with char $ac_func (); below.
37721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37722 <limits.h> exists even on freestanding compilers. */
37725 # include <limits.h>
37727 # include <assert.h>
37732 /* Override any GCC internal prototype to avoid an error.
37733 Use char because int might match the return type of a GCC
37734 builtin and then its argument prototype would still apply. */
37739 /* The GNU C library defines this for functions which it implements
37740 to always fail with ENOSYS. Some functions are actually named
37741 something starting with __ and the normal name is an alias. */
37742 #if defined __stub_$ac_func || defined __stub___$ac_func
37749 return $ac_func ();
37754 rm -f conftest.$ac_objext conftest$ac_exeext
37755 if { (ac_try="$ac_link"
37756 case "(($ac_try" in
37757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37758 *) ac_try_echo=$ac_try;;
37760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37761 (eval "$ac_link") 2>conftest.er1
37763 grep -v '^ *+' conftest.er1 >conftest.err
37765 cat conftest.err >&5
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); } && {
37768 test -z "$ac_c_werror_flag" ||
37769 test ! -s conftest.err
37770 } && test -s conftest$ac_exeext &&
37771 $as_test_x conftest$ac_exeext; then
37772 eval "$as_ac_var=yes"
37774 echo "$as_me: failed program was:" >&5
37775 sed 's/^/| /' conftest.$ac_ext >&5
37777 eval "$as_ac_var=no"
37780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37781 conftest$ac_exeext conftest.$ac_ext
37783 ac_res=`eval echo '${'$as_ac_var'}'`
37784 { echo "$as_me:$LINENO: result: $ac_res" >&5
37785 echo "${ECHO_T}$ac_res" >&6; }
37786 if test `eval echo '${'$as_ac_var'}'` = yes; then
37787 cat >>confdefs.h <<_ACEOF
37788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37797 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37798 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37803 for ac_func in snprintf vsnprintf
37805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37808 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37809 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 cat >conftest.$ac_ext <<_ACEOF
37814 cat confdefs.h >>conftest.$ac_ext
37815 cat >>conftest.$ac_ext <<_ACEOF
37816 /* end confdefs.h. */
37817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37819 #define $ac_func innocuous_$ac_func
37821 /* System header to define __stub macros and hopefully few prototypes,
37822 which can conflict with char $ac_func (); below.
37823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37824 <limits.h> exists even on freestanding compilers. */
37827 # include <limits.h>
37829 # include <assert.h>
37834 /* Override any GCC internal prototype to avoid an error.
37835 Use char because int might match the return type of a GCC
37836 builtin and then its argument prototype would still apply. */
37841 /* The GNU C library defines this for functions which it implements
37842 to always fail with ENOSYS. Some functions are actually named
37843 something starting with __ and the normal name is an alias. */
37844 #if defined __stub_$ac_func || defined __stub___$ac_func
37851 return $ac_func ();
37856 rm -f conftest.$ac_objext conftest$ac_exeext
37857 if { (ac_try="$ac_link"
37858 case "(($ac_try" in
37859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37860 *) ac_try_echo=$ac_try;;
37862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37863 (eval "$ac_link") 2>conftest.er1
37865 grep -v '^ *+' conftest.er1 >conftest.err
37867 cat conftest.err >&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); } && {
37870 test -z "$ac_c_werror_flag" ||
37871 test ! -s conftest.err
37872 } && test -s conftest$ac_exeext &&
37873 $as_test_x conftest$ac_exeext; then
37874 eval "$as_ac_var=yes"
37876 echo "$as_me: failed program was:" >&5
37877 sed 's/^/| /' conftest.$ac_ext >&5
37879 eval "$as_ac_var=no"
37882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37883 conftest$ac_exeext conftest.$ac_ext
37885 ac_res=`eval echo '${'$as_ac_var'}'`
37886 { echo "$as_me:$LINENO: result: $ac_res" >&5
37887 echo "${ECHO_T}$ac_res" >&6; }
37888 if test `eval echo '${'$as_ac_var'}'` = yes; then
37889 cat >>confdefs.h <<_ACEOF
37890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37897 if test "$ac_cv_func_vsnprintf" = "yes"; then
37898 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37899 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37900 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37901 echo $ECHO_N "(cached) $ECHO_C" >&6
37904 cat >conftest.$ac_ext <<_ACEOF
37907 cat confdefs.h >>conftest.$ac_ext
37908 cat >>conftest.$ac_ext <<_ACEOF
37909 /* end confdefs.h. */
37912 #include <stdarg.h>
37914 #if __MSL__ >= 0x6000
37916 using namespace std;
37926 vsnprintf(buf, 10u, "%s", ap);
37932 rm -f conftest.$ac_objext
37933 if { (ac_try="$ac_compile"
37934 case "(($ac_try" in
37935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37936 *) ac_try_echo=$ac_try;;
37938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37939 (eval "$ac_compile") 2>conftest.er1
37941 grep -v '^ *+' conftest.er1 >conftest.err
37943 cat conftest.err >&5
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); } && {
37946 test -z "$ac_c_werror_flag" ||
37947 test ! -s conftest.err
37948 } && test -s conftest.$ac_objext; then
37949 wx_cv_func_vsnprintf_decl=yes
37951 echo "$as_me: failed program was:" >&5
37952 sed 's/^/| /' conftest.$ac_ext >&5
37954 wx_cv_func_vsnprintf_decl=no
37958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37962 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37963 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37965 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37966 cat >>confdefs.h <<\_ACEOF
37967 #define HAVE_VSNPRINTF_DECL 1
37971 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37972 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37973 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37974 echo $ECHO_N "(cached) $ECHO_C" >&6
37977 cat >conftest.$ac_ext <<_ACEOF
37980 cat confdefs.h >>conftest.$ac_ext
37981 cat >>conftest.$ac_ext <<_ACEOF
37982 /* end confdefs.h. */
37985 #include <stdarg.h>
37987 #if __MSL__ >= 0x6000
37989 using namespace std;
37999 const char *fmt = "%s";
38000 vsnprintf(buf, 10u, fmt, ap);
38006 rm -f conftest.$ac_objext
38007 if { (ac_try="$ac_compile"
38008 case "(($ac_try" in
38009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38010 *) ac_try_echo=$ac_try;;
38012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38013 (eval "$ac_compile") 2>conftest.er1
38015 grep -v '^ *+' conftest.er1 >conftest.err
38017 cat conftest.err >&5
38018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019 (exit $ac_status); } && {
38020 test -z "$ac_c_werror_flag" ||
38021 test ! -s conftest.err
38022 } && test -s conftest.$ac_objext; then
38023 wx_cv_func_broken_vsnprintf_decl=no
38025 echo "$as_me: failed program was:" >&5
38026 sed 's/^/| /' conftest.$ac_ext >&5
38028 wx_cv_func_broken_vsnprintf_decl=yes
38032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38036 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38037 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38039 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38040 cat >>confdefs.h <<\_ACEOF
38041 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38048 if test "$ac_cv_func_snprintf" = "yes"; then
38049 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38050 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38051 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38052 echo $ECHO_N "(cached) $ECHO_C" >&6
38055 cat >conftest.$ac_ext <<_ACEOF
38058 cat confdefs.h >>conftest.$ac_ext
38059 cat >>conftest.$ac_ext <<_ACEOF
38060 /* end confdefs.h. */
38063 #include <stdarg.h>
38065 #if __MSL__ >= 0x6000
38067 using namespace std;
38076 snprintf(buf, 10u, "%s", "wx");
38082 rm -f conftest.$ac_objext
38083 if { (ac_try="$ac_compile"
38084 case "(($ac_try" in
38085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38086 *) ac_try_echo=$ac_try;;
38088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38089 (eval "$ac_compile") 2>conftest.er1
38091 grep -v '^ *+' conftest.er1 >conftest.err
38093 cat conftest.err >&5
38094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38095 (exit $ac_status); } && {
38096 test -z "$ac_c_werror_flag" ||
38097 test ! -s conftest.err
38098 } && test -s conftest.$ac_objext; then
38099 wx_cv_func_snprintf_decl=yes
38101 echo "$as_me: failed program was:" >&5
38102 sed 's/^/| /' conftest.$ac_ext >&5
38104 wx_cv_func_snprintf_decl=no
38108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38112 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38113 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38115 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38116 cat >>confdefs.h <<\_ACEOF
38117 #define HAVE_SNPRINTF_DECL 1
38121 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38122 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38123 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38124 echo $ECHO_N "(cached) $ECHO_C" >&6
38127 cat >conftest.$ac_ext <<_ACEOF
38130 cat confdefs.h >>conftest.$ac_ext
38131 cat >>conftest.$ac_ext <<_ACEOF
38132 /* end confdefs.h. */
38135 #include <stdarg.h>
38137 #if __MSL__ >= 0x6000
38139 using namespace std;
38148 const char *fmt = "%s";
38149 snprintf(buf, 10u, fmt, "wx");
38155 rm -f conftest.$ac_objext
38156 if { (ac_try="$ac_compile"
38157 case "(($ac_try" in
38158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38159 *) ac_try_echo=$ac_try;;
38161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38162 (eval "$ac_compile") 2>conftest.er1
38164 grep -v '^ *+' conftest.er1 >conftest.err
38166 cat conftest.err >&5
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); } && {
38169 test -z "$ac_c_werror_flag" ||
38170 test ! -s conftest.err
38171 } && test -s conftest.$ac_objext; then
38172 wx_cv_func_broken_snprintf_decl=no
38174 echo "$as_me: failed program was:" >&5
38175 sed 's/^/| /' conftest.$ac_ext >&5
38177 wx_cv_func_broken_snprintf_decl=yes
38181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38185 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38186 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38188 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38189 cat >>confdefs.h <<\_ACEOF
38190 #define HAVE_BROKEN_SNPRINTF_DECL 1
38196 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38198 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38199 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38200 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38201 echo $ECHO_N "(cached) $ECHO_C" >&6
38204 if test "$cross_compiling" = yes; then
38206 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38207 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38208 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38209 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38210 wx_cv_func_snprintf_pos_params=no
38214 cat >conftest.$ac_ext <<_ACEOF
38217 cat confdefs.h >>conftest.$ac_ext
38218 cat >>conftest.$ac_ext <<_ACEOF
38219 /* end confdefs.h. */
38226 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38227 if (strcmp ("2 3 1", buffer) == 0)
38233 rm -f conftest$ac_exeext
38234 if { (ac_try="$ac_link"
38235 case "(($ac_try" in
38236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38237 *) ac_try_echo=$ac_try;;
38239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38240 (eval "$ac_link") 2>&5
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38244 { (case "(($ac_try" in
38245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38246 *) ac_try_echo=$ac_try;;
38248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38249 (eval "$ac_try") 2>&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); }; }; then
38253 wx_cv_func_snprintf_pos_params=no
38255 echo "$as_me: program exited with status $ac_status" >&5
38256 echo "$as_me: failed program was:" >&5
38257 sed 's/^/| /' conftest.$ac_ext >&5
38259 ( exit $ac_status )
38260 wx_cv_func_snprintf_pos_params=yes
38262 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38269 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38270 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38272 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38273 cat >>confdefs.h <<\_ACEOF
38274 #define HAVE_UNIX98_PRINTF 1
38281 if test "$wxUSE_UNICODE" = yes; then
38284 for ac_func in swprintf
38286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38287 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38289 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38290 echo $ECHO_N "(cached) $ECHO_C" >&6
38292 cat >conftest.$ac_ext <<_ACEOF
38295 cat confdefs.h >>conftest.$ac_ext
38296 cat >>conftest.$ac_ext <<_ACEOF
38297 /* end confdefs.h. */
38298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38300 #define $ac_func innocuous_$ac_func
38302 /* System header to define __stub macros and hopefully few prototypes,
38303 which can conflict with char $ac_func (); below.
38304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38305 <limits.h> exists even on freestanding compilers. */
38308 # include <limits.h>
38310 # include <assert.h>
38315 /* Override any GCC internal prototype to avoid an error.
38316 Use char because int might match the return type of a GCC
38317 builtin and then its argument prototype would still apply. */
38322 /* The GNU C library defines this for functions which it implements
38323 to always fail with ENOSYS. Some functions are actually named
38324 something starting with __ and the normal name is an alias. */
38325 #if defined __stub_$ac_func || defined __stub___$ac_func
38332 return $ac_func ();
38337 rm -f conftest.$ac_objext conftest$ac_exeext
38338 if { (ac_try="$ac_link"
38339 case "(($ac_try" in
38340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38341 *) ac_try_echo=$ac_try;;
38343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38344 (eval "$ac_link") 2>conftest.er1
38346 grep -v '^ *+' conftest.er1 >conftest.err
38348 cat conftest.err >&5
38349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350 (exit $ac_status); } && {
38351 test -z "$ac_c_werror_flag" ||
38352 test ! -s conftest.err
38353 } && test -s conftest$ac_exeext &&
38354 $as_test_x conftest$ac_exeext; then
38355 eval "$as_ac_var=yes"
38357 echo "$as_me: failed program was:" >&5
38358 sed 's/^/| /' conftest.$ac_ext >&5
38360 eval "$as_ac_var=no"
38363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38364 conftest$ac_exeext conftest.$ac_ext
38366 ac_res=`eval echo '${'$as_ac_var'}'`
38367 { echo "$as_me:$LINENO: result: $ac_res" >&5
38368 echo "${ECHO_T}$ac_res" >&6; }
38369 if test `eval echo '${'$as_ac_var'}'` = yes; then
38370 cat >>confdefs.h <<_ACEOF
38371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38378 if test "$ac_cv_func_swprintf" = "yes"; then
38379 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38380 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38381 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38382 echo $ECHO_N "(cached) $ECHO_C" >&6
38385 cat >conftest.$ac_ext <<_ACEOF
38388 cat confdefs.h >>conftest.$ac_ext
38389 cat >>conftest.$ac_ext <<_ACEOF
38390 /* end confdefs.h. */
38393 #include <stdarg.h>
38401 const wchar_t *fmt = L"test";
38402 swprintf(buf, 10u, fmt);
38408 rm -f conftest.$ac_objext
38409 if { (ac_try="$ac_compile"
38410 case "(($ac_try" in
38411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38412 *) ac_try_echo=$ac_try;;
38414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38415 (eval "$ac_compile") 2>conftest.er1
38417 grep -v '^ *+' conftest.er1 >conftest.err
38419 cat conftest.err >&5
38420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); } && {
38422 test -z "$ac_c_werror_flag" ||
38423 test ! -s conftest.err
38424 } && test -s conftest.$ac_objext; then
38425 wx_cv_func_broken_swprintf_decl=no
38427 echo "$as_me: failed program was:" >&5
38428 sed 's/^/| /' conftest.$ac_ext >&5
38430 wx_cv_func_broken_swprintf_decl=yes
38434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38438 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38439 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38441 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38442 cat >>confdefs.h <<\_ACEOF
38443 #define HAVE_BROKEN_SWPRINTF_DECL 1
38449 wchar_headers="#include <stdio.h>
38450 #include <wchar.h>"
38454 for ac_header in widec.h
38456 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38457 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38460 echo $ECHO_N "(cached) $ECHO_C" >&6
38462 cat >conftest.$ac_ext <<_ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h. */
38468 $ac_includes_default
38470 #include <$ac_header>
38472 rm -f conftest.$ac_objext
38473 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
38489 eval "$as_ac_Header=yes"
38491 echo "$as_me: failed program was:" >&5
38492 sed 's/^/| /' conftest.$ac_ext >&5
38494 eval "$as_ac_Header=no"
38497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38499 ac_res=`eval echo '${'$as_ac_Header'}'`
38500 { echo "$as_me:$LINENO: result: $ac_res" >&5
38501 echo "${ECHO_T}$ac_res" >&6; }
38502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38503 cat >>confdefs.h <<_ACEOF
38504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38511 if test "$ac_cv_header_widec_h" = "yes"; then
38512 wchar_headers="$wchar_headers
38513 #include <widec.h>"
38518 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38520 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38521 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38522 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38523 echo $ECHO_N "(cached) $ECHO_C" >&6
38526 cat >conftest.$ac_ext <<_ACEOF
38530 cat confdefs.h >>conftest.$ac_ext
38531 cat >>conftest.$ac_ext <<_ACEOF
38532 /* end confdefs.h. */
38535 $ac_includes_default
38551 rm -f conftest.$ac_objext conftest$ac_exeext
38552 if { (ac_try="$ac_link"
38553 case "(($ac_try" in
38554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38555 *) ac_try_echo=$ac_try;;
38557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38558 (eval "$ac_link") 2>conftest.er1
38560 grep -v '^ *+' conftest.er1 >conftest.err
38562 cat conftest.err >&5
38563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38564 (exit $ac_status); } && {
38565 test -z "$ac_c_werror_flag" ||
38566 test ! -s conftest.err
38567 } && test -s conftest$ac_exeext &&
38568 $as_test_x conftest$ac_exeext; then
38569 eval wx_cv_func_$wx_func=yes
38571 echo "$as_me: failed program was:" >&5
38572 sed 's/^/| /' conftest.$ac_ext >&5
38574 eval wx_cv_func_$wx_func=no
38577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38578 conftest$ac_exeext conftest.$ac_ext
38581 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38582 { echo "$as_me:$LINENO: result: $ac_res" >&5
38583 echo "${ECHO_T}$ac_res" >&6; }
38585 if eval test \$wx_cv_func_$wx_func = yes
38587 cat >>confdefs.h <<_ACEOF
38588 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38599 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38600 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38601 cat >conftest.$ac_ext <<_ACEOF
38604 cat confdefs.h >>conftest.$ac_ext
38605 cat >>conftest.$ac_ext <<_ACEOF
38606 /* end confdefs.h. */
38616 rm -f conftest.$ac_objext
38617 if { (ac_try="$ac_compile"
38618 case "(($ac_try" in
38619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38620 *) ac_try_echo=$ac_try;;
38622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38623 (eval "$ac_compile") 2>conftest.er1
38625 grep -v '^ *+' conftest.er1 >conftest.err
38627 cat conftest.err >&5
38628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38629 (exit $ac_status); } && {
38630 test -z "$ac_c_werror_flag" ||
38631 test ! -s conftest.err
38632 } && test -s conftest.$ac_objext; then
38633 { echo "$as_me:$LINENO: result: yes" >&5
38634 echo "${ECHO_T}yes" >&6; }
38635 cat >>confdefs.h <<\_ACEOF
38636 #define HAVE__VSNWPRINTF 1
38640 echo "$as_me: failed program was:" >&5
38641 sed 's/^/| /' conftest.$ac_ext >&5
38643 { echo "$as_me:$LINENO: result: no" >&5
38644 echo "${ECHO_T}no" >&6; }
38647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38650 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38652 for wx_func in fnmatch
38654 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38655 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38656 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38657 echo $ECHO_N "(cached) $ECHO_C" >&6
38660 cat >conftest.$ac_ext <<_ACEOF
38664 cat confdefs.h >>conftest.$ac_ext
38665 cat >>conftest.$ac_ext <<_ACEOF
38666 /* end confdefs.h. */
38668 #include <fnmatch.h>
38669 $ac_includes_default
38685 rm -f conftest.$ac_objext conftest$ac_exeext
38686 if { (ac_try="$ac_link"
38687 case "(($ac_try" in
38688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38689 *) ac_try_echo=$ac_try;;
38691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38692 (eval "$ac_link") 2>conftest.er1
38694 grep -v '^ *+' conftest.er1 >conftest.err
38696 cat conftest.err >&5
38697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38698 (exit $ac_status); } && {
38699 test -z "$ac_c_werror_flag" ||
38700 test ! -s conftest.err
38701 } && test -s conftest$ac_exeext &&
38702 $as_test_x conftest$ac_exeext; then
38703 eval wx_cv_func_$wx_func=yes
38705 echo "$as_me: failed program was:" >&5
38706 sed 's/^/| /' conftest.$ac_ext >&5
38708 eval wx_cv_func_$wx_func=no
38711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38712 conftest$ac_exeext conftest.$ac_ext
38715 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38716 { echo "$as_me:$LINENO: result: $ac_res" >&5
38717 echo "${ECHO_T}$ac_res" >&6; }
38719 if eval test \$wx_cv_func_$wx_func = yes
38721 cat >>confdefs.h <<_ACEOF
38722 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38734 if test "$wxUSE_FILE" = "yes"; then
38736 for wx_func in fsync
38738 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38739 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38740 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38741 echo $ECHO_N "(cached) $ECHO_C" >&6
38744 cat >conftest.$ac_ext <<_ACEOF
38748 cat confdefs.h >>conftest.$ac_ext
38749 cat >>conftest.$ac_ext <<_ACEOF
38750 /* end confdefs.h. */
38753 $ac_includes_default
38769 rm -f conftest.$ac_objext conftest$ac_exeext
38770 if { (ac_try="$ac_link"
38771 case "(($ac_try" in
38772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38773 *) ac_try_echo=$ac_try;;
38775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38776 (eval "$ac_link") 2>conftest.er1
38778 grep -v '^ *+' conftest.er1 >conftest.err
38780 cat conftest.err >&5
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); } && {
38783 test -z "$ac_c_werror_flag" ||
38784 test ! -s conftest.err
38785 } && test -s conftest$ac_exeext &&
38786 $as_test_x conftest$ac_exeext; then
38787 eval wx_cv_func_$wx_func=yes
38789 echo "$as_me: failed program was:" >&5
38790 sed 's/^/| /' conftest.$ac_ext >&5
38792 eval wx_cv_func_$wx_func=no
38795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38796 conftest$ac_exeext conftest.$ac_ext
38799 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38800 { echo "$as_me:$LINENO: result: $ac_res" >&5
38801 echo "${ECHO_T}$ac_res" >&6; }
38803 if eval test \$wx_cv_func_$wx_func = yes
38805 cat >>confdefs.h <<_ACEOF
38806 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38819 ac_cpp='$CXXCPP $CPPFLAGS'
38820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38825 for wx_func in round
38827 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38828 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38829 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38830 echo $ECHO_N "(cached) $ECHO_C" >&6
38833 cat >conftest.$ac_ext <<_ACEOF
38837 cat confdefs.h >>conftest.$ac_ext
38838 cat >>conftest.$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38842 $ac_includes_default
38858 rm -f conftest.$ac_objext conftest$ac_exeext
38859 if { (ac_try="$ac_link"
38860 case "(($ac_try" in
38861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38862 *) ac_try_echo=$ac_try;;
38864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38865 (eval "$ac_link") 2>conftest.er1
38867 grep -v '^ *+' conftest.er1 >conftest.err
38869 cat conftest.err >&5
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); } && {
38872 test -z "$ac_cxx_werror_flag" ||
38873 test ! -s conftest.err
38874 } && test -s conftest$ac_exeext &&
38875 $as_test_x conftest$ac_exeext; then
38876 eval wx_cv_func_$wx_func=yes
38878 echo "$as_me: failed program was:" >&5
38879 sed 's/^/| /' conftest.$ac_ext >&5
38881 eval wx_cv_func_$wx_func=no
38884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38885 conftest$ac_exeext conftest.$ac_ext
38888 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38889 { echo "$as_me:$LINENO: result: $ac_res" >&5
38890 echo "${ECHO_T}$ac_res" >&6; }
38892 if eval test \$wx_cv_func_$wx_func = yes
38894 cat >>confdefs.h <<_ACEOF
38895 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38906 ac_cpp='$CPP $CPPFLAGS'
38907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38912 if test "$TOOLKIT" != "MSW"; then
38918 # Check whether --with-libiconv-prefix was given.
38919 if test "${with_libiconv_prefix+set}" = set; then
38920 withval=$with_libiconv_prefix;
38921 for dir in `echo "$withval" | tr : ' '`; do
38922 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38923 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38929 { echo "$as_me:$LINENO: checking for iconv" >&5
38930 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38931 if test "${am_cv_func_iconv+set}" = set; then
38932 echo $ECHO_N "(cached) $ECHO_C" >&6
38935 am_cv_func_iconv="no, consider installing GNU libiconv"
38937 cat >conftest.$ac_ext <<_ACEOF
38940 cat confdefs.h >>conftest.$ac_ext
38941 cat >>conftest.$ac_ext <<_ACEOF
38942 /* end confdefs.h. */
38943 #include <stdlib.h>
38948 iconv_t cd = iconv_open("","");
38949 iconv(cd,NULL,NULL,NULL,NULL);
38955 rm -f conftest.$ac_objext conftest$ac_exeext
38956 if { (ac_try="$ac_link"
38957 case "(($ac_try" in
38958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38959 *) ac_try_echo=$ac_try;;
38961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38962 (eval "$ac_link") 2>conftest.er1
38964 grep -v '^ *+' conftest.er1 >conftest.err
38966 cat conftest.err >&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); } && {
38969 test -z "$ac_c_werror_flag" ||
38970 test ! -s conftest.err
38971 } && test -s conftest$ac_exeext &&
38972 $as_test_x conftest$ac_exeext; then
38973 am_cv_func_iconv=yes
38975 echo "$as_me: failed program was:" >&5
38976 sed 's/^/| /' conftest.$ac_ext >&5
38981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38982 conftest$ac_exeext conftest.$ac_ext
38983 if test "$am_cv_func_iconv" != yes; then
38984 am_save_LIBS="$LIBS"
38985 LIBS="$LIBS -liconv"
38986 cat >conftest.$ac_ext <<_ACEOF
38989 cat confdefs.h >>conftest.$ac_ext
38990 cat >>conftest.$ac_ext <<_ACEOF
38991 /* end confdefs.h. */
38992 #include <stdlib.h>
38997 iconv_t cd = iconv_open("","");
38998 iconv(cd,NULL,NULL,NULL,NULL);
39004 rm -f conftest.$ac_objext conftest$ac_exeext
39005 if { (ac_try="$ac_link"
39006 case "(($ac_try" in
39007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39008 *) ac_try_echo=$ac_try;;
39010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39011 (eval "$ac_link") 2>conftest.er1
39013 grep -v '^ *+' conftest.er1 >conftest.err
39015 cat conftest.err >&5
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); } && {
39018 test -z "$ac_c_werror_flag" ||
39019 test ! -s conftest.err
39020 } && test -s conftest$ac_exeext &&
39021 $as_test_x conftest$ac_exeext; then
39022 am_cv_lib_iconv=yes
39023 am_cv_func_iconv=yes
39025 echo "$as_me: failed program was:" >&5
39026 sed 's/^/| /' conftest.$ac_ext >&5
39031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39032 conftest$ac_exeext conftest.$ac_ext
39033 LIBS="$am_save_LIBS"
39037 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39038 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39039 if test "$am_cv_func_iconv" = yes; then
39041 cat >>confdefs.h <<\_ACEOF
39042 #define HAVE_ICONV 1
39045 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39046 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39047 if test "${wx_cv_func_iconv_const+set}" = set; then
39048 echo $ECHO_N "(cached) $ECHO_C" >&6
39050 cat >conftest.$ac_ext <<_ACEOF
39053 cat confdefs.h >>conftest.$ac_ext
39054 cat >>conftest.$ac_ext <<_ACEOF
39055 /* end confdefs.h. */
39057 #include <stdlib.h>
39063 #if defined(__STDC__) || defined(__cplusplus)
39064 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39077 rm -f conftest.$ac_objext
39078 if { (ac_try="$ac_compile"
39079 case "(($ac_try" in
39080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39081 *) ac_try_echo=$ac_try;;
39083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39084 (eval "$ac_compile") 2>conftest.er1
39086 grep -v '^ *+' conftest.er1 >conftest.err
39088 cat conftest.err >&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } && {
39091 test -z "$ac_c_werror_flag" ||
39092 test ! -s conftest.err
39093 } && test -s conftest.$ac_objext; then
39094 wx_cv_func_iconv_const="no"
39096 echo "$as_me: failed program was:" >&5
39097 sed 's/^/| /' conftest.$ac_ext >&5
39099 wx_cv_func_iconv_const="yes"
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39106 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39107 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39110 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39111 iconv_const="const"
39115 cat >>confdefs.h <<_ACEOF
39116 #define ICONV_CONST $iconv_const
39121 if test "$am_cv_lib_iconv" = yes; then
39126 LIBS="$LIBICONV $LIBS"
39128 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39130 for ac_func in sigaction
39132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39136 echo $ECHO_N "(cached) $ECHO_C" >&6
39138 cat >conftest.$ac_ext <<_ACEOF
39141 cat confdefs.h >>conftest.$ac_ext
39142 cat >>conftest.$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39146 #define $ac_func innocuous_$ac_func
39148 /* System header to define __stub macros and hopefully few prototypes,
39149 which can conflict with char $ac_func (); below.
39150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39151 <limits.h> exists even on freestanding compilers. */
39154 # include <limits.h>
39156 # include <assert.h>
39161 /* Override any GCC internal prototype to avoid an error.
39162 Use char because int might match the return type of a GCC
39163 builtin and then its argument prototype would still apply. */
39168 /* The GNU C library defines this for functions which it implements
39169 to always fail with ENOSYS. Some functions are actually named
39170 something starting with __ and the normal name is an alias. */
39171 #if defined __stub_$ac_func || defined __stub___$ac_func
39178 return $ac_func ();
39183 rm -f conftest.$ac_objext conftest$ac_exeext
39184 if { (ac_try="$ac_link"
39185 case "(($ac_try" in
39186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39187 *) ac_try_echo=$ac_try;;
39189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39190 (eval "$ac_link") 2>conftest.er1
39192 grep -v '^ *+' conftest.er1 >conftest.err
39194 cat conftest.err >&5
39195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39196 (exit $ac_status); } && {
39197 test -z "$ac_c_werror_flag" ||
39198 test ! -s conftest.err
39199 } && test -s conftest$ac_exeext &&
39200 $as_test_x conftest$ac_exeext; then
39201 eval "$as_ac_var=yes"
39203 echo "$as_me: failed program was:" >&5
39204 sed 's/^/| /' conftest.$ac_ext >&5
39206 eval "$as_ac_var=no"
39209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39210 conftest$ac_exeext conftest.$ac_ext
39212 ac_res=`eval echo '${'$as_ac_var'}'`
39213 { echo "$as_me:$LINENO: result: $ac_res" >&5
39214 echo "${ECHO_T}$ac_res" >&6; }
39215 if test `eval echo '${'$as_ac_var'}'` = yes; then
39216 cat >>confdefs.h <<_ACEOF
39217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39224 if test "$ac_cv_func_sigaction" = "no"; then
39225 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39226 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39227 wxUSE_ON_FATAL_EXCEPTION=no
39230 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39231 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39232 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39233 if test "${wx_cv_type_sa_handler+set}" = set; then
39234 echo $ECHO_N "(cached) $ECHO_C" >&6
39238 ac_cpp='$CXXCPP $CPPFLAGS'
39239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39243 cat >conftest.$ac_ext <<_ACEOF
39246 cat confdefs.h >>conftest.$ac_ext
39247 cat >>conftest.$ac_ext <<_ACEOF
39248 /* end confdefs.h. */
39249 #include <signal.h>
39254 extern void testSigHandler(int);
39256 struct sigaction sa;
39257 sa.sa_handler = testSigHandler;
39263 rm -f conftest.$ac_objext
39264 if { (ac_try="$ac_compile"
39265 case "(($ac_try" in
39266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39267 *) ac_try_echo=$ac_try;;
39269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39270 (eval "$ac_compile") 2>conftest.er1
39272 grep -v '^ *+' conftest.er1 >conftest.err
39274 cat conftest.err >&5
39275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39276 (exit $ac_status); } && {
39277 test -z "$ac_cxx_werror_flag" ||
39278 test ! -s conftest.err
39279 } && test -s conftest.$ac_objext; then
39281 wx_cv_type_sa_handler=int
39284 echo "$as_me: failed program was:" >&5
39285 sed 's/^/| /' conftest.$ac_ext >&5
39288 wx_cv_type_sa_handler=void
39292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39294 ac_cpp='$CPP $CPPFLAGS'
39295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39301 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39302 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39304 cat >>confdefs.h <<_ACEOF
39305 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39311 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39312 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39313 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39314 if test "${wx_cv_func_backtrace+set}" = set; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39319 ac_cpp='$CXXCPP $CPPFLAGS'
39320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39324 cat >conftest.$ac_ext <<_ACEOF
39327 cat confdefs.h >>conftest.$ac_ext
39328 cat >>conftest.$ac_ext <<_ACEOF
39329 /* end confdefs.h. */
39330 #include <execinfo.h>
39338 backtrace(trace, 1);
39339 messages = backtrace_symbols(trace, 1);
39345 rm -f conftest.$ac_objext
39346 if { (ac_try="$ac_compile"
39347 case "(($ac_try" in
39348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39349 *) ac_try_echo=$ac_try;;
39351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39352 (eval "$ac_compile") 2>conftest.er1
39354 grep -v '^ *+' conftest.er1 >conftest.err
39356 cat conftest.err >&5
39357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39358 (exit $ac_status); } && {
39359 test -z "$ac_cxx_werror_flag" ||
39360 test ! -s conftest.err
39361 } && test -s conftest.$ac_objext; then
39362 wx_cv_func_backtrace=yes
39364 echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.$ac_ext >&5
39367 wx_cv_func_backtrace=no
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39381 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39382 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39385 if test "$wx_cv_func_backtrace" = "no"; then
39386 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39387 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39388 wxUSE_STACKWALKER=no
39390 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39391 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39392 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39393 echo $ECHO_N "(cached) $ECHO_C" >&6
39397 ac_cpp='$CXXCPP $CPPFLAGS'
39398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39402 cat >conftest.$ac_ext <<_ACEOF
39405 cat confdefs.h >>conftest.$ac_ext
39406 cat >>conftest.$ac_ext <<_ACEOF
39407 /* end confdefs.h. */
39408 #include <cxxabi.h>
39414 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39420 rm -f conftest.$ac_objext conftest$ac_exeext
39421 if { (ac_try="$ac_link"
39422 case "(($ac_try" in
39423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39424 *) ac_try_echo=$ac_try;;
39426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39427 (eval "$ac_link") 2>conftest.er1
39429 grep -v '^ *+' conftest.er1 >conftest.err
39431 cat conftest.err >&5
39432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39433 (exit $ac_status); } && {
39434 test -z "$ac_cxx_werror_flag" ||
39435 test ! -s conftest.err
39436 } && test -s conftest$ac_exeext &&
39437 $as_test_x conftest$ac_exeext; then
39438 wx_cv_func_cxa_demangle=yes
39440 echo "$as_me: failed program was:" >&5
39441 sed 's/^/| /' conftest.$ac_ext >&5
39443 wx_cv_func_cxa_demangle=no
39447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39448 conftest$ac_exeext conftest.$ac_ext
39450 ac_cpp='$CPP $CPPFLAGS'
39451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39458 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39459 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39461 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39462 cat >>confdefs.h <<\_ACEOF
39463 #define HAVE_CXA_DEMANGLE 1
39470 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39471 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39472 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39473 wxUSE_STACKWALKER=no
39479 for ac_func in mkstemp mktemp
39481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39482 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39484 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39485 echo $ECHO_N "(cached) $ECHO_C" >&6
39487 cat >conftest.$ac_ext <<_ACEOF
39490 cat confdefs.h >>conftest.$ac_ext
39491 cat >>conftest.$ac_ext <<_ACEOF
39492 /* end confdefs.h. */
39493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39495 #define $ac_func innocuous_$ac_func
39497 /* System header to define __stub macros and hopefully few prototypes,
39498 which can conflict with char $ac_func (); below.
39499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39500 <limits.h> exists even on freestanding compilers. */
39503 # include <limits.h>
39505 # include <assert.h>
39510 /* Override any GCC internal prototype to avoid an error.
39511 Use char because int might match the return type of a GCC
39512 builtin and then its argument prototype would still apply. */
39517 /* The GNU C library defines this for functions which it implements
39518 to always fail with ENOSYS. Some functions are actually named
39519 something starting with __ and the normal name is an alias. */
39520 #if defined __stub_$ac_func || defined __stub___$ac_func
39527 return $ac_func ();
39532 rm -f conftest.$ac_objext conftest$ac_exeext
39533 if { (ac_try="$ac_link"
39534 case "(($ac_try" in
39535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39536 *) ac_try_echo=$ac_try;;
39538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39539 (eval "$ac_link") 2>conftest.er1
39541 grep -v '^ *+' conftest.er1 >conftest.err
39543 cat conftest.err >&5
39544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545 (exit $ac_status); } && {
39546 test -z "$ac_c_werror_flag" ||
39547 test ! -s conftest.err
39548 } && test -s conftest$ac_exeext &&
39549 $as_test_x conftest$ac_exeext; then
39550 eval "$as_ac_var=yes"
39552 echo "$as_me: failed program was:" >&5
39553 sed 's/^/| /' conftest.$ac_ext >&5
39555 eval "$as_ac_var=no"
39558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39559 conftest$ac_exeext conftest.$ac_ext
39561 ac_res=`eval echo '${'$as_ac_var'}'`
39562 { echo "$as_me:$LINENO: result: $ac_res" >&5
39563 echo "${ECHO_T}$ac_res" >&6; }
39564 if test `eval echo '${'$as_ac_var'}'` = yes; then
39565 cat >>confdefs.h <<_ACEOF
39566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39573 { echo "$as_me:$LINENO: checking for statfs" >&5
39574 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39575 if test "${wx_cv_func_statfs+set}" = set; then
39576 echo $ECHO_N "(cached) $ECHO_C" >&6
39578 cat >conftest.$ac_ext <<_ACEOF
39581 cat confdefs.h >>conftest.$ac_ext
39582 cat >>conftest.$ac_ext <<_ACEOF
39583 /* end confdefs.h. */
39585 #if defined(__BSD__)
39586 #include <sys/param.h>
39587 #include <sys/mount.h>
39589 #include <sys/vfs.h>
39607 rm -f conftest.$ac_objext
39608 if { (ac_try="$ac_compile"
39609 case "(($ac_try" in
39610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39611 *) ac_try_echo=$ac_try;;
39613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39614 (eval "$ac_compile") 2>conftest.er1
39616 grep -v '^ *+' conftest.er1 >conftest.err
39618 cat conftest.err >&5
39619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39620 (exit $ac_status); } && {
39621 test -z "$ac_c_werror_flag" ||
39622 test ! -s conftest.err
39623 } && test -s conftest.$ac_objext; then
39624 wx_cv_func_statfs=yes
39626 echo "$as_me: failed program was:" >&5
39627 sed 's/^/| /' conftest.$ac_ext >&5
39629 wx_cv_func_statfs=no
39633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39636 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39637 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39639 if test "$wx_cv_func_statfs" = "yes"; then
39640 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39641 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39642 if test "${wx_cv_func_statfs_decl+set}" = set; then
39643 echo $ECHO_N "(cached) $ECHO_C" >&6
39646 ac_cpp='$CXXCPP $CPPFLAGS'
39647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39651 cat >conftest.$ac_ext <<_ACEOF
39654 cat confdefs.h >>conftest.$ac_ext
39655 cat >>conftest.$ac_ext <<_ACEOF
39656 /* end confdefs.h. */
39658 #if defined(__BSD__)
39659 #include <sys/param.h>
39660 #include <sys/mount.h>
39662 #include <sys/vfs.h>
39676 rm -f conftest.$ac_objext
39677 if { (ac_try="$ac_compile"
39678 case "(($ac_try" in
39679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39680 *) ac_try_echo=$ac_try;;
39682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39683 (eval "$ac_compile") 2>conftest.er1
39685 grep -v '^ *+' conftest.er1 >conftest.err
39687 cat conftest.err >&5
39688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39689 (exit $ac_status); } && {
39690 test -z "$ac_cxx_werror_flag" ||
39691 test ! -s conftest.err
39692 } && test -s conftest.$ac_objext; then
39693 wx_cv_func_statfs_decl=yes
39695 echo "$as_me: failed program was:" >&5
39696 sed 's/^/| /' conftest.$ac_ext >&5
39698 wx_cv_func_statfs_decl=no
39702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39704 ac_cpp='$CPP $CPPFLAGS'
39705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39711 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39712 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39714 if test "$wx_cv_func_statfs_decl" = "yes"; then
39715 cat >>confdefs.h <<\_ACEOF
39716 #define HAVE_STATFS_DECL 1
39721 wx_cv_type_statvfs_t="struct statfs"
39722 cat >>confdefs.h <<\_ACEOF
39723 #define HAVE_STATFS 1
39727 { echo "$as_me:$LINENO: checking for statvfs" >&5
39728 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39729 if test "${wx_cv_func_statvfs+set}" = set; then
39730 echo $ECHO_N "(cached) $ECHO_C" >&6
39732 cat >conftest.$ac_ext <<_ACEOF
39735 cat confdefs.h >>conftest.$ac_ext
39736 cat >>conftest.$ac_ext <<_ACEOF
39737 /* end confdefs.h. */
39739 #include <stddef.h>
39740 #include <sys/statvfs.h>
39746 statvfs("/", NULL);
39752 rm -f conftest.$ac_objext
39753 if { (ac_try="$ac_compile"
39754 case "(($ac_try" in
39755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39756 *) ac_try_echo=$ac_try;;
39758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39759 (eval "$ac_compile") 2>conftest.er1
39761 grep -v '^ *+' conftest.er1 >conftest.err
39763 cat conftest.err >&5
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); } && {
39766 test -z "$ac_c_werror_flag" ||
39767 test ! -s conftest.err
39768 } && test -s conftest.$ac_objext; then
39769 wx_cv_func_statvfs=yes
39771 echo "$as_me: failed program was:" >&5
39772 sed 's/^/| /' conftest.$ac_ext >&5
39774 wx_cv_func_statvfs=no
39778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39781 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39782 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39784 if test "$wx_cv_func_statvfs" = "yes"; then
39785 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39786 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39787 if test "${wx_cv_type_statvfs_t+set}" = set; then
39788 echo $ECHO_N "(cached) $ECHO_C" >&6
39791 ac_cpp='$CXXCPP $CPPFLAGS'
39792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39796 cat >conftest.$ac_ext <<_ACEOF
39799 cat confdefs.h >>conftest.$ac_ext
39800 cat >>conftest.$ac_ext <<_ACEOF
39801 /* end confdefs.h. */
39803 #include <sys/statvfs.h>
39820 rm -f conftest.$ac_objext
39821 if { (ac_try="$ac_compile"
39822 case "(($ac_try" in
39823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39824 *) ac_try_echo=$ac_try;;
39826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39827 (eval "$ac_compile") 2>conftest.er1
39829 grep -v '^ *+' conftest.er1 >conftest.err
39831 cat conftest.err >&5
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); } && {
39834 test -z "$ac_cxx_werror_flag" ||
39835 test ! -s conftest.err
39836 } && test -s conftest.$ac_objext; then
39837 wx_cv_type_statvfs_t=statvfs_t
39839 echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.$ac_ext >&5
39843 cat >conftest.$ac_ext <<_ACEOF
39846 cat confdefs.h >>conftest.$ac_ext
39847 cat >>conftest.$ac_ext <<_ACEOF
39848 /* end confdefs.h. */
39850 #include <sys/statvfs.h>
39867 rm -f conftest.$ac_objext
39868 if { (ac_try="$ac_compile"
39869 case "(($ac_try" in
39870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39871 *) ac_try_echo=$ac_try;;
39873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39874 (eval "$ac_compile") 2>conftest.er1
39876 grep -v '^ *+' conftest.er1 >conftest.err
39878 cat conftest.err >&5
39879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39880 (exit $ac_status); } && {
39881 test -z "$ac_cxx_werror_flag" ||
39882 test ! -s conftest.err
39883 } && test -s conftest.$ac_objext; then
39884 wx_cv_type_statvfs_t="struct statvfs"
39886 echo "$as_me: failed program was:" >&5
39887 sed 's/^/| /' conftest.$ac_ext >&5
39889 wx_cv_type_statvfs_t="unknown"
39893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39900 ac_cpp='$CPP $CPPFLAGS'
39901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39907 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39908 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39910 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39911 cat >>confdefs.h <<\_ACEOF
39912 #define HAVE_STATVFS 1
39917 wx_cv_type_statvfs_t="unknown"
39921 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39922 cat >>confdefs.h <<_ACEOF
39923 #define WX_STATFS_T $wx_cv_type_statvfs_t
39927 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39928 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39931 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39934 for ac_func in fcntl flock
39936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39937 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39939 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39940 echo $ECHO_N "(cached) $ECHO_C" >&6
39942 cat >conftest.$ac_ext <<_ACEOF
39945 cat confdefs.h >>conftest.$ac_ext
39946 cat >>conftest.$ac_ext <<_ACEOF
39947 /* end confdefs.h. */
39948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39950 #define $ac_func innocuous_$ac_func
39952 /* System header to define __stub macros and hopefully few prototypes,
39953 which can conflict with char $ac_func (); below.
39954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39955 <limits.h> exists even on freestanding compilers. */
39958 # include <limits.h>
39960 # include <assert.h>
39965 /* Override any GCC internal prototype to avoid an error.
39966 Use char because int might match the return type of a GCC
39967 builtin and then its argument prototype would still apply. */
39972 /* The GNU C library defines this for functions which it implements
39973 to always fail with ENOSYS. Some functions are actually named
39974 something starting with __ and the normal name is an alias. */
39975 #if defined __stub_$ac_func || defined __stub___$ac_func
39982 return $ac_func ();
39987 rm -f conftest.$ac_objext conftest$ac_exeext
39988 if { (ac_try="$ac_link"
39989 case "(($ac_try" in
39990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39991 *) ac_try_echo=$ac_try;;
39993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39994 (eval "$ac_link") 2>conftest.er1
39996 grep -v '^ *+' conftest.er1 >conftest.err
39998 cat conftest.err >&5
39999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40000 (exit $ac_status); } && {
40001 test -z "$ac_c_werror_flag" ||
40002 test ! -s conftest.err
40003 } && test -s conftest$ac_exeext &&
40004 $as_test_x conftest$ac_exeext; then
40005 eval "$as_ac_var=yes"
40007 echo "$as_me: failed program was:" >&5
40008 sed 's/^/| /' conftest.$ac_ext >&5
40010 eval "$as_ac_var=no"
40013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40014 conftest$ac_exeext conftest.$ac_ext
40016 ac_res=`eval echo '${'$as_ac_var'}'`
40017 { echo "$as_me:$LINENO: result: $ac_res" >&5
40018 echo "${ECHO_T}$ac_res" >&6; }
40019 if test `eval echo '${'$as_ac_var'}'` = yes; then
40020 cat >>confdefs.h <<_ACEOF
40021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40028 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40029 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40030 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40031 wxUSE_SNGLINST_CHECKER=no
40036 for ac_func in timegm
40038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40042 echo $ECHO_N "(cached) $ECHO_C" >&6
40044 cat >conftest.$ac_ext <<_ACEOF
40047 cat confdefs.h >>conftest.$ac_ext
40048 cat >>conftest.$ac_ext <<_ACEOF
40049 /* end confdefs.h. */
40050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40052 #define $ac_func innocuous_$ac_func
40054 /* System header to define __stub macros and hopefully few prototypes,
40055 which can conflict with char $ac_func (); below.
40056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40057 <limits.h> exists even on freestanding compilers. */
40060 # include <limits.h>
40062 # include <assert.h>
40067 /* Override any GCC internal prototype to avoid an error.
40068 Use char because int might match the return type of a GCC
40069 builtin and then its argument prototype would still apply. */
40074 /* The GNU C library defines this for functions which it implements
40075 to always fail with ENOSYS. Some functions are actually named
40076 something starting with __ and the normal name is an alias. */
40077 #if defined __stub_$ac_func || defined __stub___$ac_func
40084 return $ac_func ();
40089 rm -f conftest.$ac_objext conftest$ac_exeext
40090 if { (ac_try="$ac_link"
40091 case "(($ac_try" in
40092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40093 *) ac_try_echo=$ac_try;;
40095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40096 (eval "$ac_link") 2>conftest.er1
40098 grep -v '^ *+' conftest.er1 >conftest.err
40100 cat conftest.err >&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); } && {
40103 test -z "$ac_c_werror_flag" ||
40104 test ! -s conftest.err
40105 } && test -s conftest$ac_exeext &&
40106 $as_test_x conftest$ac_exeext; then
40107 eval "$as_ac_var=yes"
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.$ac_ext >&5
40112 eval "$as_ac_var=no"
40115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40116 conftest$ac_exeext conftest.$ac_ext
40118 ac_res=`eval echo '${'$as_ac_var'}'`
40119 { echo "$as_me:$LINENO: result: $ac_res" >&5
40120 echo "${ECHO_T}$ac_res" >&6; }
40121 if test `eval echo '${'$as_ac_var'}'` = yes; then
40122 cat >>confdefs.h <<_ACEOF
40123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40132 for ac_func in setenv putenv
40134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40135 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40138 echo $ECHO_N "(cached) $ECHO_C" >&6
40140 cat >conftest.$ac_ext <<_ACEOF
40143 cat confdefs.h >>conftest.$ac_ext
40144 cat >>conftest.$ac_ext <<_ACEOF
40145 /* end confdefs.h. */
40146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40148 #define $ac_func innocuous_$ac_func
40150 /* System header to define __stub macros and hopefully few prototypes,
40151 which can conflict with char $ac_func (); below.
40152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40153 <limits.h> exists even on freestanding compilers. */
40156 # include <limits.h>
40158 # include <assert.h>
40163 /* Override any GCC internal prototype to avoid an error.
40164 Use char because int might match the return type of a GCC
40165 builtin and then its argument prototype would still apply. */
40170 /* The GNU C library defines this for functions which it implements
40171 to always fail with ENOSYS. Some functions are actually named
40172 something starting with __ and the normal name is an alias. */
40173 #if defined __stub_$ac_func || defined __stub___$ac_func
40180 return $ac_func ();
40185 rm -f conftest.$ac_objext conftest$ac_exeext
40186 if { (ac_try="$ac_link"
40187 case "(($ac_try" in
40188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40189 *) ac_try_echo=$ac_try;;
40191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40192 (eval "$ac_link") 2>conftest.er1
40194 grep -v '^ *+' conftest.er1 >conftest.err
40196 cat conftest.err >&5
40197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40198 (exit $ac_status); } && {
40199 test -z "$ac_c_werror_flag" ||
40200 test ! -s conftest.err
40201 } && test -s conftest$ac_exeext &&
40202 $as_test_x conftest$ac_exeext; then
40203 eval "$as_ac_var=yes"
40205 echo "$as_me: failed program was:" >&5
40206 sed 's/^/| /' conftest.$ac_ext >&5
40208 eval "$as_ac_var=no"
40211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40212 conftest$ac_exeext conftest.$ac_ext
40214 ac_res=`eval echo '${'$as_ac_var'}'`
40215 { echo "$as_me:$LINENO: result: $ac_res" >&5
40216 echo "${ECHO_T}$ac_res" >&6; }
40217 if test `eval echo '${'$as_ac_var'}'` = yes; then
40218 cat >>confdefs.h <<_ACEOF
40219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40225 if test "$ac_cv_func_setenv" = "yes"; then
40227 for ac_func in unsetenv
40229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40233 echo $ECHO_N "(cached) $ECHO_C" >&6
40235 cat >conftest.$ac_ext <<_ACEOF
40238 cat confdefs.h >>conftest.$ac_ext
40239 cat >>conftest.$ac_ext <<_ACEOF
40240 /* end confdefs.h. */
40241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40243 #define $ac_func innocuous_$ac_func
40245 /* System header to define __stub macros and hopefully few prototypes,
40246 which can conflict with char $ac_func (); below.
40247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40248 <limits.h> exists even on freestanding compilers. */
40251 # include <limits.h>
40253 # include <assert.h>
40258 /* Override any GCC internal prototype to avoid an error.
40259 Use char because int might match the return type of a GCC
40260 builtin and then its argument prototype would still apply. */
40265 /* The GNU C library defines this for functions which it implements
40266 to always fail with ENOSYS. Some functions are actually named
40267 something starting with __ and the normal name is an alias. */
40268 #if defined __stub_$ac_func || defined __stub___$ac_func
40275 return $ac_func ();
40280 rm -f conftest.$ac_objext conftest$ac_exeext
40281 if { (ac_try="$ac_link"
40282 case "(($ac_try" in
40283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40284 *) ac_try_echo=$ac_try;;
40286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40287 (eval "$ac_link") 2>conftest.er1
40289 grep -v '^ *+' conftest.er1 >conftest.err
40291 cat conftest.err >&5
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); } && {
40294 test -z "$ac_c_werror_flag" ||
40295 test ! -s conftest.err
40296 } && test -s conftest$ac_exeext &&
40297 $as_test_x conftest$ac_exeext; then
40298 eval "$as_ac_var=yes"
40300 echo "$as_me: failed program was:" >&5
40301 sed 's/^/| /' conftest.$ac_ext >&5
40303 eval "$as_ac_var=no"
40306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40307 conftest$ac_exeext conftest.$ac_ext
40309 ac_res=`eval echo '${'$as_ac_var'}'`
40310 { echo "$as_me:$LINENO: result: $ac_res" >&5
40311 echo "${ECHO_T}$ac_res" >&6; }
40312 if test `eval echo '${'$as_ac_var'}'` = yes; then
40313 cat >>confdefs.h <<_ACEOF
40314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40322 HAVE_SOME_SLEEP_FUNC=0
40323 if test "$USE_BEOS" = 1; then
40324 cat >>confdefs.h <<\_ACEOF
40325 #define HAVE_SLEEP 1
40328 HAVE_SOME_SLEEP_FUNC=1
40331 if test "$USE_DARWIN" = 1; then
40332 cat >>confdefs.h <<\_ACEOF
40333 #define HAVE_USLEEP 1
40336 HAVE_SOME_SLEEP_FUNC=1
40339 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40342 for ac_func in nanosleep
40344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40345 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40347 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40348 echo $ECHO_N "(cached) $ECHO_C" >&6
40350 cat >conftest.$ac_ext <<_ACEOF
40353 cat confdefs.h >>conftest.$ac_ext
40354 cat >>conftest.$ac_ext <<_ACEOF
40355 /* end confdefs.h. */
40356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40358 #define $ac_func innocuous_$ac_func
40360 /* System header to define __stub macros and hopefully few prototypes,
40361 which can conflict with char $ac_func (); below.
40362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40363 <limits.h> exists even on freestanding compilers. */
40366 # include <limits.h>
40368 # include <assert.h>
40373 /* Override any GCC internal prototype to avoid an error.
40374 Use char because int might match the return type of a GCC
40375 builtin and then its argument prototype would still apply. */
40380 /* The GNU C library defines this for functions which it implements
40381 to always fail with ENOSYS. Some functions are actually named
40382 something starting with __ and the normal name is an alias. */
40383 #if defined __stub_$ac_func || defined __stub___$ac_func
40390 return $ac_func ();
40395 rm -f conftest.$ac_objext conftest$ac_exeext
40396 if { (ac_try="$ac_link"
40397 case "(($ac_try" in
40398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40399 *) ac_try_echo=$ac_try;;
40401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40402 (eval "$ac_link") 2>conftest.er1
40404 grep -v '^ *+' conftest.er1 >conftest.err
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } && {
40409 test -z "$ac_c_werror_flag" ||
40410 test ! -s conftest.err
40411 } && test -s conftest$ac_exeext &&
40412 $as_test_x conftest$ac_exeext; then
40413 eval "$as_ac_var=yes"
40415 echo "$as_me: failed program was:" >&5
40416 sed 's/^/| /' conftest.$ac_ext >&5
40418 eval "$as_ac_var=no"
40421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40422 conftest$ac_exeext conftest.$ac_ext
40424 ac_res=`eval echo '${'$as_ac_var'}'`
40425 { echo "$as_me:$LINENO: result: $ac_res" >&5
40426 echo "${ECHO_T}$ac_res" >&6; }
40427 if test `eval echo '${'$as_ac_var'}'` = yes; then
40428 cat >>confdefs.h <<_ACEOF
40429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40431 cat >>confdefs.h <<\_ACEOF
40432 #define HAVE_NANOSLEEP 1
40437 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40438 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40439 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40440 echo $ECHO_N "(cached) $ECHO_C" >&6
40442 ac_check_lib_save_LIBS=$LIBS
40443 LIBS="-lposix4 $LIBS"
40444 cat >conftest.$ac_ext <<_ACEOF
40447 cat confdefs.h >>conftest.$ac_ext
40448 cat >>conftest.$ac_ext <<_ACEOF
40449 /* end confdefs.h. */
40451 /* Override any GCC internal prototype to avoid an error.
40452 Use char because int might match the return type of a GCC
40453 builtin and then its argument prototype would still apply. */
40461 return nanosleep ();
40466 rm -f conftest.$ac_objext conftest$ac_exeext
40467 if { (ac_try="$ac_link"
40468 case "(($ac_try" in
40469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40470 *) ac_try_echo=$ac_try;;
40472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40473 (eval "$ac_link") 2>conftest.er1
40475 grep -v '^ *+' conftest.er1 >conftest.err
40477 cat conftest.err >&5
40478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40479 (exit $ac_status); } && {
40480 test -z "$ac_c_werror_flag" ||
40481 test ! -s conftest.err
40482 } && test -s conftest$ac_exeext &&
40483 $as_test_x conftest$ac_exeext; then
40484 ac_cv_lib_posix4_nanosleep=yes
40486 echo "$as_me: failed program was:" >&5
40487 sed 's/^/| /' conftest.$ac_ext >&5
40489 ac_cv_lib_posix4_nanosleep=no
40492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40493 conftest$ac_exeext conftest.$ac_ext
40494 LIBS=$ac_check_lib_save_LIBS
40496 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40497 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40498 if test $ac_cv_lib_posix4_nanosleep = yes; then
40500 cat >>confdefs.h <<\_ACEOF
40501 #define HAVE_NANOSLEEP 1
40504 POSIX4_LINK=" -lposix4"
40509 for wx_func in usleep
40511 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40512 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40513 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40514 echo $ECHO_N "(cached) $ECHO_C" >&6
40517 cat >conftest.$ac_ext <<_ACEOF
40521 cat confdefs.h >>conftest.$ac_ext
40522 cat >>conftest.$ac_ext <<_ACEOF
40523 /* end confdefs.h. */
40526 $ac_includes_default
40542 rm -f conftest.$ac_objext conftest$ac_exeext
40543 if { (ac_try="$ac_link"
40544 case "(($ac_try" in
40545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40546 *) ac_try_echo=$ac_try;;
40548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40549 (eval "$ac_link") 2>conftest.er1
40551 grep -v '^ *+' conftest.er1 >conftest.err
40553 cat conftest.err >&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); } && {
40556 test -z "$ac_c_werror_flag" ||
40557 test ! -s conftest.err
40558 } && test -s conftest$ac_exeext &&
40559 $as_test_x conftest$ac_exeext; then
40560 eval wx_cv_func_$wx_func=yes
40562 echo "$as_me: failed program was:" >&5
40563 sed 's/^/| /' conftest.$ac_ext >&5
40565 eval wx_cv_func_$wx_func=no
40568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40569 conftest$ac_exeext conftest.$ac_ext
40572 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40573 { echo "$as_me:$LINENO: result: $ac_res" >&5
40574 echo "${ECHO_T}$ac_res" >&6; }
40576 if eval test \$wx_cv_func_$wx_func = yes
40578 cat >>confdefs.h <<_ACEOF
40579 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40585 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40586 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40603 for wx_func in uname
40605 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40606 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40607 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40608 echo $ECHO_N "(cached) $ECHO_C" >&6
40611 cat >conftest.$ac_ext <<_ACEOF
40615 cat confdefs.h >>conftest.$ac_ext
40616 cat >>conftest.$ac_ext <<_ACEOF
40617 /* end confdefs.h. */
40619 #include <sys/utsname.h>
40620 $ac_includes_default
40636 rm -f conftest.$ac_objext conftest$ac_exeext
40637 if { (ac_try="$ac_link"
40638 case "(($ac_try" in
40639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40640 *) ac_try_echo=$ac_try;;
40642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40643 (eval "$ac_link") 2>conftest.er1
40645 grep -v '^ *+' conftest.er1 >conftest.err
40647 cat conftest.err >&5
40648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40649 (exit $ac_status); } && {
40650 test -z "$ac_c_werror_flag" ||
40651 test ! -s conftest.err
40652 } && test -s conftest$ac_exeext &&
40653 $as_test_x conftest$ac_exeext; then
40654 eval wx_cv_func_$wx_func=yes
40656 echo "$as_me: failed program was:" >&5
40657 sed 's/^/| /' conftest.$ac_ext >&5
40659 eval wx_cv_func_$wx_func=no
40662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40663 conftest$ac_exeext conftest.$ac_ext
40666 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40667 { echo "$as_me:$LINENO: result: $ac_res" >&5
40668 echo "${ECHO_T}$ac_res" >&6; }
40670 if eval test \$wx_cv_func_$wx_func = yes
40672 cat >>confdefs.h <<_ACEOF
40673 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40683 if test "$wx_cv_func_uname" != yes; then
40685 for wx_func in gethostname
40687 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40688 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40689 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40690 echo $ECHO_N "(cached) $ECHO_C" >&6
40693 cat >conftest.$ac_ext <<_ACEOF
40697 cat confdefs.h >>conftest.$ac_ext
40698 cat >>conftest.$ac_ext <<_ACEOF
40699 /* end confdefs.h. */
40702 $ac_includes_default
40718 rm -f conftest.$ac_objext conftest$ac_exeext
40719 if { (ac_try="$ac_link"
40720 case "(($ac_try" in
40721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40722 *) ac_try_echo=$ac_try;;
40724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40725 (eval "$ac_link") 2>conftest.er1
40727 grep -v '^ *+' conftest.er1 >conftest.err
40729 cat conftest.err >&5
40730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40731 (exit $ac_status); } && {
40732 test -z "$ac_c_werror_flag" ||
40733 test ! -s conftest.err
40734 } && test -s conftest$ac_exeext &&
40735 $as_test_x conftest$ac_exeext; then
40736 eval wx_cv_func_$wx_func=yes
40738 echo "$as_me: failed program was:" >&5
40739 sed 's/^/| /' conftest.$ac_ext >&5
40741 eval wx_cv_func_$wx_func=no
40744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40745 conftest$ac_exeext conftest.$ac_ext
40748 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40749 { echo "$as_me:$LINENO: result: $ac_res" >&5
40750 echo "${ECHO_T}$ac_res" >&6; }
40752 if eval test \$wx_cv_func_$wx_func = yes
40754 cat >>confdefs.h <<_ACEOF
40755 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40768 for wx_func in strtok_r
40770 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40771 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40772 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40776 cat >conftest.$ac_ext <<_ACEOF
40780 cat confdefs.h >>conftest.$ac_ext
40781 cat >>conftest.$ac_ext <<_ACEOF
40782 /* end confdefs.h. */
40785 $ac_includes_default
40801 rm -f conftest.$ac_objext conftest$ac_exeext
40802 if { (ac_try="$ac_link"
40803 case "(($ac_try" in
40804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40805 *) ac_try_echo=$ac_try;;
40807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40808 (eval "$ac_link") 2>conftest.er1
40810 grep -v '^ *+' conftest.er1 >conftest.err
40812 cat conftest.err >&5
40813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40814 (exit $ac_status); } && {
40815 test -z "$ac_c_werror_flag" ||
40816 test ! -s conftest.err
40817 } && test -s conftest$ac_exeext &&
40818 $as_test_x conftest$ac_exeext; then
40819 eval wx_cv_func_$wx_func=yes
40821 echo "$as_me: failed program was:" >&5
40822 sed 's/^/| /' conftest.$ac_ext >&5
40824 eval wx_cv_func_$wx_func=no
40827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40828 conftest$ac_exeext conftest.$ac_ext
40831 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40832 { echo "$as_me:$LINENO: result: $ac_res" >&5
40833 echo "${ECHO_T}$ac_res" >&6; }
40835 if eval test \$wx_cv_func_$wx_func = yes
40837 cat >>confdefs.h <<_ACEOF
40838 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40851 for ac_func in inet_addr
40853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40856 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40857 echo $ECHO_N "(cached) $ECHO_C" >&6
40859 cat >conftest.$ac_ext <<_ACEOF
40862 cat confdefs.h >>conftest.$ac_ext
40863 cat >>conftest.$ac_ext <<_ACEOF
40864 /* end confdefs.h. */
40865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40867 #define $ac_func innocuous_$ac_func
40869 /* System header to define __stub macros and hopefully few prototypes,
40870 which can conflict with char $ac_func (); below.
40871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40872 <limits.h> exists even on freestanding compilers. */
40875 # include <limits.h>
40877 # include <assert.h>
40882 /* Override any GCC internal prototype to avoid an error.
40883 Use char because int might match the return type of a GCC
40884 builtin and then its argument prototype would still apply. */
40889 /* The GNU C library defines this for functions which it implements
40890 to always fail with ENOSYS. Some functions are actually named
40891 something starting with __ and the normal name is an alias. */
40892 #if defined __stub_$ac_func || defined __stub___$ac_func
40899 return $ac_func ();
40904 rm -f conftest.$ac_objext conftest$ac_exeext
40905 if { (ac_try="$ac_link"
40906 case "(($ac_try" in
40907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40908 *) ac_try_echo=$ac_try;;
40910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40911 (eval "$ac_link") 2>conftest.er1
40913 grep -v '^ *+' conftest.er1 >conftest.err
40915 cat conftest.err >&5
40916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40917 (exit $ac_status); } && {
40918 test -z "$ac_c_werror_flag" ||
40919 test ! -s conftest.err
40920 } && test -s conftest$ac_exeext &&
40921 $as_test_x conftest$ac_exeext; then
40922 eval "$as_ac_var=yes"
40924 echo "$as_me: failed program was:" >&5
40925 sed 's/^/| /' conftest.$ac_ext >&5
40927 eval "$as_ac_var=no"
40930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40931 conftest$ac_exeext conftest.$ac_ext
40933 ac_res=`eval echo '${'$as_ac_var'}'`
40934 { echo "$as_me:$LINENO: result: $ac_res" >&5
40935 echo "${ECHO_T}$ac_res" >&6; }
40936 if test `eval echo '${'$as_ac_var'}'` = yes; then
40937 cat >>confdefs.h <<_ACEOF
40938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40940 cat >>confdefs.h <<\_ACEOF
40941 #define HAVE_INET_ADDR 1
40946 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40947 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40948 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40949 echo $ECHO_N "(cached) $ECHO_C" >&6
40951 ac_check_lib_save_LIBS=$LIBS
40953 cat >conftest.$ac_ext <<_ACEOF
40956 cat confdefs.h >>conftest.$ac_ext
40957 cat >>conftest.$ac_ext <<_ACEOF
40958 /* end confdefs.h. */
40960 /* Override any GCC internal prototype to avoid an error.
40961 Use char because int might match the return type of a GCC
40962 builtin and then its argument prototype would still apply. */
40970 return inet_addr ();
40975 rm -f conftest.$ac_objext conftest$ac_exeext
40976 if { (ac_try="$ac_link"
40977 case "(($ac_try" in
40978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40979 *) ac_try_echo=$ac_try;;
40981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40982 (eval "$ac_link") 2>conftest.er1
40984 grep -v '^ *+' conftest.er1 >conftest.err
40986 cat conftest.err >&5
40987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988 (exit $ac_status); } && {
40989 test -z "$ac_c_werror_flag" ||
40990 test ! -s conftest.err
40991 } && test -s conftest$ac_exeext &&
40992 $as_test_x conftest$ac_exeext; then
40993 ac_cv_lib_nsl_inet_addr=yes
40995 echo "$as_me: failed program was:" >&5
40996 sed 's/^/| /' conftest.$ac_ext >&5
40998 ac_cv_lib_nsl_inet_addr=no
41001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41002 conftest$ac_exeext conftest.$ac_ext
41003 LIBS=$ac_check_lib_save_LIBS
41005 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41006 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41007 if test $ac_cv_lib_nsl_inet_addr = yes; then
41011 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41012 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41013 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41014 echo $ECHO_N "(cached) $ECHO_C" >&6
41016 ac_check_lib_save_LIBS=$LIBS
41017 LIBS="-lresolv $LIBS"
41018 cat >conftest.$ac_ext <<_ACEOF
41021 cat confdefs.h >>conftest.$ac_ext
41022 cat >>conftest.$ac_ext <<_ACEOF
41023 /* end confdefs.h. */
41025 /* Override any GCC internal prototype to avoid an error.
41026 Use char because int might match the return type of a GCC
41027 builtin and then its argument prototype would still apply. */
41035 return inet_addr ();
41040 rm -f conftest.$ac_objext conftest$ac_exeext
41041 if { (ac_try="$ac_link"
41042 case "(($ac_try" in
41043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41044 *) ac_try_echo=$ac_try;;
41046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41047 (eval "$ac_link") 2>conftest.er1
41049 grep -v '^ *+' conftest.er1 >conftest.err
41051 cat conftest.err >&5
41052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41053 (exit $ac_status); } && {
41054 test -z "$ac_c_werror_flag" ||
41055 test ! -s conftest.err
41056 } && test -s conftest$ac_exeext &&
41057 $as_test_x conftest$ac_exeext; then
41058 ac_cv_lib_resolv_inet_addr=yes
41060 echo "$as_me: failed program was:" >&5
41061 sed 's/^/| /' conftest.$ac_ext >&5
41063 ac_cv_lib_resolv_inet_addr=no
41066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41067 conftest$ac_exeext conftest.$ac_ext
41068 LIBS=$ac_check_lib_save_LIBS
41070 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41071 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41072 if test $ac_cv_lib_resolv_inet_addr = yes; then
41076 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41077 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41078 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41079 echo $ECHO_N "(cached) $ECHO_C" >&6
41081 ac_check_lib_save_LIBS=$LIBS
41082 LIBS="-lsocket $LIBS"
41083 cat >conftest.$ac_ext <<_ACEOF
41086 cat confdefs.h >>conftest.$ac_ext
41087 cat >>conftest.$ac_ext <<_ACEOF
41088 /* end confdefs.h. */
41090 /* Override any GCC internal prototype to avoid an error.
41091 Use char because int might match the return type of a GCC
41092 builtin and then its argument prototype would still apply. */
41100 return inet_addr ();
41105 rm -f conftest.$ac_objext conftest$ac_exeext
41106 if { (ac_try="$ac_link"
41107 case "(($ac_try" in
41108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41109 *) ac_try_echo=$ac_try;;
41111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41112 (eval "$ac_link") 2>conftest.er1
41114 grep -v '^ *+' conftest.er1 >conftest.err
41116 cat conftest.err >&5
41117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41118 (exit $ac_status); } && {
41119 test -z "$ac_c_werror_flag" ||
41120 test ! -s conftest.err
41121 } && test -s conftest$ac_exeext &&
41122 $as_test_x conftest$ac_exeext; then
41123 ac_cv_lib_socket_inet_addr=yes
41125 echo "$as_me: failed program was:" >&5
41126 sed 's/^/| /' conftest.$ac_ext >&5
41128 ac_cv_lib_socket_inet_addr=no
41131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41132 conftest$ac_exeext conftest.$ac_ext
41133 LIBS=$ac_check_lib_save_LIBS
41135 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41136 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41137 if test $ac_cv_lib_socket_inet_addr = yes; then
41157 for ac_func in inet_aton
41159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41160 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41162 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41163 echo $ECHO_N "(cached) $ECHO_C" >&6
41165 cat >conftest.$ac_ext <<_ACEOF
41168 cat confdefs.h >>conftest.$ac_ext
41169 cat >>conftest.$ac_ext <<_ACEOF
41170 /* end confdefs.h. */
41171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41173 #define $ac_func innocuous_$ac_func
41175 /* System header to define __stub macros and hopefully few prototypes,
41176 which can conflict with char $ac_func (); below.
41177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41178 <limits.h> exists even on freestanding compilers. */
41181 # include <limits.h>
41183 # include <assert.h>
41188 /* Override any GCC internal prototype to avoid an error.
41189 Use char because int might match the return type of a GCC
41190 builtin and then its argument prototype would still apply. */
41195 /* The GNU C library defines this for functions which it implements
41196 to always fail with ENOSYS. Some functions are actually named
41197 something starting with __ and the normal name is an alias. */
41198 #if defined __stub_$ac_func || defined __stub___$ac_func
41205 return $ac_func ();
41210 rm -f conftest.$ac_objext conftest$ac_exeext
41211 if { (ac_try="$ac_link"
41212 case "(($ac_try" in
41213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41214 *) ac_try_echo=$ac_try;;
41216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41217 (eval "$ac_link") 2>conftest.er1
41219 grep -v '^ *+' conftest.er1 >conftest.err
41221 cat conftest.err >&5
41222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41223 (exit $ac_status); } && {
41224 test -z "$ac_c_werror_flag" ||
41225 test ! -s conftest.err
41226 } && test -s conftest$ac_exeext &&
41227 $as_test_x conftest$ac_exeext; then
41228 eval "$as_ac_var=yes"
41230 echo "$as_me: failed program was:" >&5
41231 sed 's/^/| /' conftest.$ac_ext >&5
41233 eval "$as_ac_var=no"
41236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41237 conftest$ac_exeext conftest.$ac_ext
41239 ac_res=`eval echo '${'$as_ac_var'}'`
41240 { echo "$as_me:$LINENO: result: $ac_res" >&5
41241 echo "${ECHO_T}$ac_res" >&6; }
41242 if test `eval echo '${'$as_ac_var'}'` = yes; then
41243 cat >>confdefs.h <<_ACEOF
41244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41246 cat >>confdefs.h <<\_ACEOF
41247 #define HAVE_INET_ATON 1
41252 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41253 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41254 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41255 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41256 echo $ECHO_N "(cached) $ECHO_C" >&6
41258 ac_check_lib_save_LIBS=$LIBS
41259 LIBS="-l$INET_LINK $LIBS"
41260 cat >conftest.$ac_ext <<_ACEOF
41263 cat confdefs.h >>conftest.$ac_ext
41264 cat >>conftest.$ac_ext <<_ACEOF
41265 /* end confdefs.h. */
41267 /* Override any GCC internal prototype to avoid an error.
41268 Use char because int might match the return type of a GCC
41269 builtin and then its argument prototype would still apply. */
41277 return inet_aton ();
41282 rm -f conftest.$ac_objext conftest$ac_exeext
41283 if { (ac_try="$ac_link"
41284 case "(($ac_try" in
41285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41286 *) ac_try_echo=$ac_try;;
41288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41289 (eval "$ac_link") 2>conftest.er1
41291 grep -v '^ *+' conftest.er1 >conftest.err
41293 cat conftest.err >&5
41294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41295 (exit $ac_status); } && {
41296 test -z "$ac_c_werror_flag" ||
41297 test ! -s conftest.err
41298 } && test -s conftest$ac_exeext &&
41299 $as_test_x conftest$ac_exeext; then
41300 eval "$as_ac_Lib=yes"
41302 echo "$as_me: failed program was:" >&5
41303 sed 's/^/| /' conftest.$ac_ext >&5
41305 eval "$as_ac_Lib=no"
41308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41309 conftest$ac_exeext conftest.$ac_ext
41310 LIBS=$ac_check_lib_save_LIBS
41312 ac_res=`eval echo '${'$as_ac_Lib'}'`
41313 { echo "$as_me:$LINENO: result: $ac_res" >&5
41314 echo "${ECHO_T}$ac_res" >&6; }
41315 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41316 cat >>confdefs.h <<\_ACEOF
41317 #define HAVE_INET_ATON 1
41327 if test "x$INET_LINK" != "x"; then
41328 cat >>confdefs.h <<\_ACEOF
41329 #define HAVE_INET_ADDR 1
41332 INET_LINK=" -l$INET_LINK"
41336 for wx_func in fdopen
41338 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41339 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41340 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41341 echo $ECHO_N "(cached) $ECHO_C" >&6
41344 cat >conftest.$ac_ext <<_ACEOF
41348 cat confdefs.h >>conftest.$ac_ext
41349 cat >>conftest.$ac_ext <<_ACEOF
41350 /* end confdefs.h. */
41353 $ac_includes_default
41369 rm -f conftest.$ac_objext conftest$ac_exeext
41370 if { (ac_try="$ac_link"
41371 case "(($ac_try" in
41372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41373 *) ac_try_echo=$ac_try;;
41375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41376 (eval "$ac_link") 2>conftest.er1
41378 grep -v '^ *+' conftest.er1 >conftest.err
41380 cat conftest.err >&5
41381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41382 (exit $ac_status); } && {
41383 test -z "$ac_c_werror_flag" ||
41384 test ! -s conftest.err
41385 } && test -s conftest$ac_exeext &&
41386 $as_test_x conftest$ac_exeext; then
41387 eval wx_cv_func_$wx_func=yes
41389 echo "$as_me: failed program was:" >&5
41390 sed 's/^/| /' conftest.$ac_ext >&5
41392 eval wx_cv_func_$wx_func=no
41395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41396 conftest$ac_exeext conftest.$ac_ext
41399 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41400 { echo "$as_me:$LINENO: result: $ac_res" >&5
41401 echo "${ECHO_T}$ac_res" >&6; }
41403 if eval test \$wx_cv_func_$wx_func = yes
41405 cat >>confdefs.h <<_ACEOF
41406 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41421 cat >confcache <<\_ACEOF
41422 # This file is a shell script that caches the results of configure
41423 # tests run on this system so they can be shared between configure
41424 # scripts and configure runs, see configure's option --config-cache.
41425 # It is not useful on other systems. If it contains results you don't
41426 # want to keep, you may remove or edit it.
41428 # config.status only pays attention to the cache file if you give it
41429 # the --recheck option to rerun configure.
41431 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41432 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41433 # following values.
41437 # The following way of writing the cache mishandles newlines in values,
41438 # but we know of no workaround that is simple, portable, and efficient.
41439 # So, we kill variables containing newlines.
41440 # Ultrix sh set writes to stderr and can't be redirected directly,
41441 # and sets the high bit in the cache file unless we assign to the vars.
41443 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41444 eval ac_val=\$$ac_var
41448 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41449 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41452 _ | IFS | as_nl) ;; #(
41453 *) $as_unset $ac_var ;;
41459 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41460 *${as_nl}ac_space=\ *)
41461 # `set' does not quote correctly, so add quotes (double-quote
41462 # substitution turns \\\\ into \\, and sed turns \\ into \).
41465 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41468 # `set' quotes correctly as required by POSIX, so do not add quotes.
41469 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41478 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41480 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41482 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41483 if test -w "$cache_file"; then
41484 test "x$cache_file" != "x/dev/null" &&
41485 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41486 echo "$as_me: updating cache $cache_file" >&6;}
41487 cat confcache >$cache_file
41489 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41490 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41496 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41502 if test "$wxUSE_THREADS" = "yes" ; then
41503 if test "$USE_BEOS" = 1; then
41504 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41505 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41510 if test "$wxUSE_THREADS" = "yes" ; then
41513 THREAD_OPTS="-pthread"
41514 if test "x$SUNCXX" = xyes; then
41515 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41519 *-*-solaris2* | *-*-sunos4* )
41520 if test "x$GCC" = "xyes"; then
41521 THREAD_OPTS="-pthreads $THREAD_OPTS"
41525 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41527 *-*-darwin* | *-*-cygwin* )
41531 THREAD_OPTS="pthreads"
41534 if test "x$GCC" = "xyes"; then
41535 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41543 if test "x$GCC" = "xyes"; then
41549 if test "x$GCC" != "xyes"; then
41550 THREAD_OPTS="-Ethread"
41555 THREAD_OPTS="$THREAD_OPTS pthread none"
41558 for flag in $THREAD_OPTS; do
41561 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41562 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41566 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41567 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41568 THREADS_CFLAGS="$flag"
41572 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41573 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41574 THREADS_LINK="-l$flag"
41579 save_CFLAGS="$CFLAGS"
41580 LIBS="$THREADS_LINK $LIBS"
41581 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41583 cat >conftest.$ac_ext <<_ACEOF
41586 cat confdefs.h >>conftest.$ac_ext
41587 cat >>conftest.$ac_ext <<_ACEOF
41588 /* end confdefs.h. */
41589 #include <pthread.h>
41593 pthread_create(0,0,0,0);
41598 rm -f conftest.$ac_objext conftest$ac_exeext
41599 if { (ac_try="$ac_link"
41600 case "(($ac_try" in
41601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41602 *) ac_try_echo=$ac_try;;
41604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41605 (eval "$ac_link") 2>conftest.er1
41607 grep -v '^ *+' conftest.er1 >conftest.err
41609 cat conftest.err >&5
41610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41611 (exit $ac_status); } && {
41612 test -z "$ac_c_werror_flag" ||
41613 test ! -s conftest.err
41614 } && test -s conftest$ac_exeext &&
41615 $as_test_x conftest$ac_exeext; then
41618 echo "$as_me: failed program was:" >&5
41619 sed 's/^/| /' conftest.$ac_ext >&5
41624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41625 conftest$ac_exeext conftest.$ac_ext
41628 CFLAGS="$save_CFLAGS"
41630 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41631 echo "${ECHO_T}$THREADS_OK" >&6; }
41632 if test "x$THREADS_OK" = "xyes"; then
41640 if test "x$THREADS_OK" != "xyes"; then
41642 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41643 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41645 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41646 LIBS="$THREADS_LINK $LIBS"
41648 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41649 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41653 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41654 flag="-D_THREAD_SAFE"
41657 flag="-D_THREAD_SAFE"
41660 flag="-D_REENTRANT"
41661 if test "x$GCC" != "xyes"; then
41662 flag="$flag -D_RWSTD_MULTI_THREAD"
41665 *solaris* | alpha*-osf*)
41666 flag="-D_REENTRANT"
41669 { echo "$as_me:$LINENO: result: ${flag}" >&5
41670 echo "${ECHO_T}${flag}" >&6; }
41671 if test "x$flag" != xno; then
41672 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41675 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41679 if test "$wxUSE_THREADS" = "yes" ; then
41681 for ac_func in thr_setconcurrency
41683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41686 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41687 echo $ECHO_N "(cached) $ECHO_C" >&6
41689 cat >conftest.$ac_ext <<_ACEOF
41692 cat confdefs.h >>conftest.$ac_ext
41693 cat >>conftest.$ac_ext <<_ACEOF
41694 /* end confdefs.h. */
41695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41697 #define $ac_func innocuous_$ac_func
41699 /* System header to define __stub macros and hopefully few prototypes,
41700 which can conflict with char $ac_func (); below.
41701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41702 <limits.h> exists even on freestanding compilers. */
41705 # include <limits.h>
41707 # include <assert.h>
41712 /* Override any GCC internal prototype to avoid an error.
41713 Use char because int might match the return type of a GCC
41714 builtin and then its argument prototype would still apply. */
41719 /* The GNU C library defines this for functions which it implements
41720 to always fail with ENOSYS. Some functions are actually named
41721 something starting with __ and the normal name is an alias. */
41722 #if defined __stub_$ac_func || defined __stub___$ac_func
41729 return $ac_func ();
41734 rm -f conftest.$ac_objext conftest$ac_exeext
41735 if { (ac_try="$ac_link"
41736 case "(($ac_try" in
41737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41738 *) ac_try_echo=$ac_try;;
41740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41741 (eval "$ac_link") 2>conftest.er1
41743 grep -v '^ *+' conftest.er1 >conftest.err
41745 cat conftest.err >&5
41746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41747 (exit $ac_status); } && {
41748 test -z "$ac_c_werror_flag" ||
41749 test ! -s conftest.err
41750 } && test -s conftest$ac_exeext &&
41751 $as_test_x conftest$ac_exeext; then
41752 eval "$as_ac_var=yes"
41754 echo "$as_me: failed program was:" >&5
41755 sed 's/^/| /' conftest.$ac_ext >&5
41757 eval "$as_ac_var=no"
41760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41761 conftest$ac_exeext conftest.$ac_ext
41763 ac_res=`eval echo '${'$as_ac_var'}'`
41764 { echo "$as_me:$LINENO: result: $ac_res" >&5
41765 echo "${ECHO_T}$ac_res" >&6; }
41766 if test `eval echo '${'$as_ac_var'}'` = yes; then
41767 cat >>confdefs.h <<_ACEOF
41768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41775 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41776 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41777 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41778 echo $ECHO_N "(cached) $ECHO_C" >&6
41782 ac_cpp='$CXXCPP $CPPFLAGS'
41783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41787 cat >conftest.$ac_ext <<_ACEOF
41790 cat confdefs.h >>conftest.$ac_ext
41791 cat >>conftest.$ac_ext <<_ACEOF
41792 /* end confdefs.h. */
41793 #include <pthread.h>
41794 void ThreadCleanupFunc(void *p);
41801 pthread_cleanup_push(ThreadCleanupFunc, p);
41802 pthread_cleanup_pop(0);
41808 rm -f conftest.$ac_objext
41809 if { (ac_try="$ac_compile"
41810 case "(($ac_try" in
41811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41812 *) ac_try_echo=$ac_try;;
41814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41815 (eval "$ac_compile") 2>conftest.er1
41817 grep -v '^ *+' conftest.er1 >conftest.err
41819 cat conftest.err >&5
41820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41821 (exit $ac_status); } && {
41822 test -z "$ac_cxx_werror_flag" ||
41823 test ! -s conftest.err
41824 } && test -s conftest.$ac_objext; then
41826 wx_cv_func_pthread_cleanup=yes
41829 echo "$as_me: failed program was:" >&5
41830 sed 's/^/| /' conftest.$ac_ext >&5
41833 wx_cv_func_pthread_cleanup=no
41838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41840 ac_cpp='$CPP $CPPFLAGS'
41841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41847 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41848 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41849 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41850 cat >>confdefs.h <<\_ACEOF
41851 #define wxHAVE_PTHREAD_CLEANUP 1
41857 for ac_header in sched.h
41859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41860 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41863 echo $ECHO_N "(cached) $ECHO_C" >&6
41865 cat >conftest.$ac_ext <<_ACEOF
41868 cat confdefs.h >>conftest.$ac_ext
41869 cat >>conftest.$ac_ext <<_ACEOF
41870 /* end confdefs.h. */
41871 $ac_includes_default
41873 #include <$ac_header>
41875 rm -f conftest.$ac_objext
41876 if { (ac_try="$ac_compile"
41877 case "(($ac_try" in
41878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41879 *) ac_try_echo=$ac_try;;
41881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41882 (eval "$ac_compile") 2>conftest.er1
41884 grep -v '^ *+' conftest.er1 >conftest.err
41886 cat conftest.err >&5
41887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41888 (exit $ac_status); } && {
41889 test -z "$ac_c_werror_flag" ||
41890 test ! -s conftest.err
41891 } && test -s conftest.$ac_objext; then
41892 eval "$as_ac_Header=yes"
41894 echo "$as_me: failed program was:" >&5
41895 sed 's/^/| /' conftest.$ac_ext >&5
41897 eval "$as_ac_Header=no"
41900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41902 ac_res=`eval echo '${'$as_ac_Header'}'`
41903 { echo "$as_me:$LINENO: result: $ac_res" >&5
41904 echo "${ECHO_T}$ac_res" >&6; }
41905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41906 cat >>confdefs.h <<_ACEOF
41907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41914 if test "$ac_cv_header_sched_h" = "yes"; then
41915 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41916 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41917 if test "${ac_cv_func_sched_yield+set}" = set; then
41918 echo $ECHO_N "(cached) $ECHO_C" >&6
41920 cat >conftest.$ac_ext <<_ACEOF
41923 cat confdefs.h >>conftest.$ac_ext
41924 cat >>conftest.$ac_ext <<_ACEOF
41925 /* end confdefs.h. */
41926 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41928 #define sched_yield innocuous_sched_yield
41930 /* System header to define __stub macros and hopefully few prototypes,
41931 which can conflict with char sched_yield (); below.
41932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41933 <limits.h> exists even on freestanding compilers. */
41936 # include <limits.h>
41938 # include <assert.h>
41943 /* Override any GCC internal prototype to avoid an error.
41944 Use char because int might match the return type of a GCC
41945 builtin and then its argument prototype would still apply. */
41949 char sched_yield ();
41950 /* The GNU C library defines this for functions which it implements
41951 to always fail with ENOSYS. Some functions are actually named
41952 something starting with __ and the normal name is an alias. */
41953 #if defined __stub_sched_yield || defined __stub___sched_yield
41960 return sched_yield ();
41965 rm -f conftest.$ac_objext conftest$ac_exeext
41966 if { (ac_try="$ac_link"
41967 case "(($ac_try" in
41968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41969 *) ac_try_echo=$ac_try;;
41971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41972 (eval "$ac_link") 2>conftest.er1
41974 grep -v '^ *+' conftest.er1 >conftest.err
41976 cat conftest.err >&5
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); } && {
41979 test -z "$ac_c_werror_flag" ||
41980 test ! -s conftest.err
41981 } && test -s conftest$ac_exeext &&
41982 $as_test_x conftest$ac_exeext; then
41983 ac_cv_func_sched_yield=yes
41985 echo "$as_me: failed program was:" >&5
41986 sed 's/^/| /' conftest.$ac_ext >&5
41988 ac_cv_func_sched_yield=no
41991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41992 conftest$ac_exeext conftest.$ac_ext
41994 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41995 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41996 if test $ac_cv_func_sched_yield = yes; then
41997 cat >>confdefs.h <<\_ACEOF
41998 #define HAVE_SCHED_YIELD 1
42003 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42004 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42005 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42006 echo $ECHO_N "(cached) $ECHO_C" >&6
42008 ac_check_lib_save_LIBS=$LIBS
42009 LIBS="-lposix4 $LIBS"
42010 cat >conftest.$ac_ext <<_ACEOF
42013 cat confdefs.h >>conftest.$ac_ext
42014 cat >>conftest.$ac_ext <<_ACEOF
42015 /* end confdefs.h. */
42017 /* Override any GCC internal prototype to avoid an error.
42018 Use char because int might match the return type of a GCC
42019 builtin and then its argument prototype would still apply. */
42023 char sched_yield ();
42027 return sched_yield ();
42032 rm -f conftest.$ac_objext conftest$ac_exeext
42033 if { (ac_try="$ac_link"
42034 case "(($ac_try" in
42035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42036 *) ac_try_echo=$ac_try;;
42038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42039 (eval "$ac_link") 2>conftest.er1
42041 grep -v '^ *+' conftest.er1 >conftest.err
42043 cat conftest.err >&5
42044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42045 (exit $ac_status); } && {
42046 test -z "$ac_c_werror_flag" ||
42047 test ! -s conftest.err
42048 } && test -s conftest$ac_exeext &&
42049 $as_test_x conftest$ac_exeext; then
42050 ac_cv_lib_posix4_sched_yield=yes
42052 echo "$as_me: failed program was:" >&5
42053 sed 's/^/| /' conftest.$ac_ext >&5
42055 ac_cv_lib_posix4_sched_yield=no
42058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42059 conftest$ac_exeext conftest.$ac_ext
42060 LIBS=$ac_check_lib_save_LIBS
42062 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42063 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42064 if test $ac_cv_lib_posix4_sched_yield = yes; then
42065 cat >>confdefs.h <<\_ACEOF
42066 #define HAVE_SCHED_YIELD 1
42068 POSIX4_LINK=" -lposix4"
42070 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42071 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42082 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42083 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42084 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42085 echo $ECHO_N "(cached) $ECHO_C" >&6
42087 cat >conftest.$ac_ext <<_ACEOF
42090 cat confdefs.h >>conftest.$ac_ext
42091 cat >>conftest.$ac_ext <<_ACEOF
42092 /* end confdefs.h. */
42093 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42095 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42097 /* System header to define __stub macros and hopefully few prototypes,
42098 which can conflict with char pthread_attr_getschedpolicy (); below.
42099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42100 <limits.h> exists even on freestanding compilers. */
42103 # include <limits.h>
42105 # include <assert.h>
42108 #undef pthread_attr_getschedpolicy
42110 /* Override any GCC internal prototype to avoid an error.
42111 Use char because int might match the return type of a GCC
42112 builtin and then its argument prototype would still apply. */
42116 char pthread_attr_getschedpolicy ();
42117 /* The GNU C library defines this for functions which it implements
42118 to always fail with ENOSYS. Some functions are actually named
42119 something starting with __ and the normal name is an alias. */
42120 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42127 return pthread_attr_getschedpolicy ();
42132 rm -f conftest.$ac_objext conftest$ac_exeext
42133 if { (ac_try="$ac_link"
42134 case "(($ac_try" in
42135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42136 *) ac_try_echo=$ac_try;;
42138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42139 (eval "$ac_link") 2>conftest.er1
42141 grep -v '^ *+' conftest.er1 >conftest.err
42143 cat conftest.err >&5
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); } && {
42146 test -z "$ac_c_werror_flag" ||
42147 test ! -s conftest.err
42148 } && test -s conftest$ac_exeext &&
42149 $as_test_x conftest$ac_exeext; then
42150 ac_cv_func_pthread_attr_getschedpolicy=yes
42152 echo "$as_me: failed program was:" >&5
42153 sed 's/^/| /' conftest.$ac_ext >&5
42155 ac_cv_func_pthread_attr_getschedpolicy=no
42158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42159 conftest$ac_exeext conftest.$ac_ext
42161 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42162 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42163 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42164 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42165 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42166 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42167 echo $ECHO_N "(cached) $ECHO_C" >&6
42169 cat >conftest.$ac_ext <<_ACEOF
42172 cat confdefs.h >>conftest.$ac_ext
42173 cat >>conftest.$ac_ext <<_ACEOF
42174 /* end confdefs.h. */
42175 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42177 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42179 /* System header to define __stub macros and hopefully few prototypes,
42180 which can conflict with char pthread_attr_setschedparam (); below.
42181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42182 <limits.h> exists even on freestanding compilers. */
42185 # include <limits.h>
42187 # include <assert.h>
42190 #undef pthread_attr_setschedparam
42192 /* Override any GCC internal prototype to avoid an error.
42193 Use char because int might match the return type of a GCC
42194 builtin and then its argument prototype would still apply. */
42198 char pthread_attr_setschedparam ();
42199 /* The GNU C library defines this for functions which it implements
42200 to always fail with ENOSYS. Some functions are actually named
42201 something starting with __ and the normal name is an alias. */
42202 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42209 return pthread_attr_setschedparam ();
42214 rm -f conftest.$ac_objext conftest$ac_exeext
42215 if { (ac_try="$ac_link"
42216 case "(($ac_try" in
42217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42218 *) ac_try_echo=$ac_try;;
42220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42221 (eval "$ac_link") 2>conftest.er1
42223 grep -v '^ *+' conftest.er1 >conftest.err
42225 cat conftest.err >&5
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); } && {
42228 test -z "$ac_c_werror_flag" ||
42229 test ! -s conftest.err
42230 } && test -s conftest$ac_exeext &&
42231 $as_test_x conftest$ac_exeext; then
42232 ac_cv_func_pthread_attr_setschedparam=yes
42234 echo "$as_me: failed program was:" >&5
42235 sed 's/^/| /' conftest.$ac_ext >&5
42237 ac_cv_func_pthread_attr_setschedparam=no
42240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42241 conftest$ac_exeext conftest.$ac_ext
42243 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42244 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42245 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42246 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42247 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42248 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42249 echo $ECHO_N "(cached) $ECHO_C" >&6
42251 cat >conftest.$ac_ext <<_ACEOF
42254 cat confdefs.h >>conftest.$ac_ext
42255 cat >>conftest.$ac_ext <<_ACEOF
42256 /* end confdefs.h. */
42257 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42259 #define sched_get_priority_max innocuous_sched_get_priority_max
42261 /* System header to define __stub macros and hopefully few prototypes,
42262 which can conflict with char sched_get_priority_max (); below.
42263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42264 <limits.h> exists even on freestanding compilers. */
42267 # include <limits.h>
42269 # include <assert.h>
42272 #undef sched_get_priority_max
42274 /* Override any GCC internal prototype to avoid an error.
42275 Use char because int might match the return type of a GCC
42276 builtin and then its argument prototype would still apply. */
42280 char sched_get_priority_max ();
42281 /* The GNU C library defines this for functions which it implements
42282 to always fail with ENOSYS. Some functions are actually named
42283 something starting with __ and the normal name is an alias. */
42284 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42291 return sched_get_priority_max ();
42296 rm -f conftest.$ac_objext conftest$ac_exeext
42297 if { (ac_try="$ac_link"
42298 case "(($ac_try" in
42299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42300 *) ac_try_echo=$ac_try;;
42302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42303 (eval "$ac_link") 2>conftest.er1
42305 grep -v '^ *+' conftest.er1 >conftest.err
42307 cat conftest.err >&5
42308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42309 (exit $ac_status); } && {
42310 test -z "$ac_c_werror_flag" ||
42311 test ! -s conftest.err
42312 } && test -s conftest$ac_exeext &&
42313 $as_test_x conftest$ac_exeext; then
42314 ac_cv_func_sched_get_priority_max=yes
42316 echo "$as_me: failed program was:" >&5
42317 sed 's/^/| /' conftest.$ac_ext >&5
42319 ac_cv_func_sched_get_priority_max=no
42322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42323 conftest$ac_exeext conftest.$ac_ext
42325 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42326 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42327 if test $ac_cv_func_sched_get_priority_max = yes; then
42330 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42331 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42332 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42333 echo $ECHO_N "(cached) $ECHO_C" >&6
42335 ac_check_lib_save_LIBS=$LIBS
42336 LIBS="-lposix4 $LIBS"
42337 cat >conftest.$ac_ext <<_ACEOF
42340 cat confdefs.h >>conftest.$ac_ext
42341 cat >>conftest.$ac_ext <<_ACEOF
42342 /* end confdefs.h. */
42344 /* Override any GCC internal prototype to avoid an error.
42345 Use char because int might match the return type of a GCC
42346 builtin and then its argument prototype would still apply. */
42350 char sched_get_priority_max ();
42354 return sched_get_priority_max ();
42359 rm -f conftest.$ac_objext conftest$ac_exeext
42360 if { (ac_try="$ac_link"
42361 case "(($ac_try" in
42362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42363 *) ac_try_echo=$ac_try;;
42365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42366 (eval "$ac_link") 2>conftest.er1
42368 grep -v '^ *+' conftest.er1 >conftest.err
42370 cat conftest.err >&5
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); } && {
42373 test -z "$ac_c_werror_flag" ||
42374 test ! -s conftest.err
42375 } && test -s conftest$ac_exeext &&
42376 $as_test_x conftest$ac_exeext; then
42377 ac_cv_lib_posix4_sched_get_priority_max=yes
42379 echo "$as_me: failed program was:" >&5
42380 sed 's/^/| /' conftest.$ac_ext >&5
42382 ac_cv_lib_posix4_sched_get_priority_max=no
42385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42386 conftest$ac_exeext conftest.$ac_ext
42387 LIBS=$ac_check_lib_save_LIBS
42389 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42390 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42391 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42394 POSIX4_LINK=" -lposix4"
42408 if test "$HAVE_PRIOR_FUNCS" = 1; then
42409 cat >>confdefs.h <<\_ACEOF
42410 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42414 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42415 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42418 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42419 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42420 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42421 echo $ECHO_N "(cached) $ECHO_C" >&6
42423 cat >conftest.$ac_ext <<_ACEOF
42426 cat confdefs.h >>conftest.$ac_ext
42427 cat >>conftest.$ac_ext <<_ACEOF
42428 /* end confdefs.h. */
42429 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42431 #define pthread_cancel innocuous_pthread_cancel
42433 /* System header to define __stub macros and hopefully few prototypes,
42434 which can conflict with char pthread_cancel (); below.
42435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42436 <limits.h> exists even on freestanding compilers. */
42439 # include <limits.h>
42441 # include <assert.h>
42444 #undef pthread_cancel
42446 /* Override any GCC internal prototype to avoid an error.
42447 Use char because int might match the return type of a GCC
42448 builtin and then its argument prototype would still apply. */
42452 char pthread_cancel ();
42453 /* The GNU C library defines this for functions which it implements
42454 to always fail with ENOSYS. Some functions are actually named
42455 something starting with __ and the normal name is an alias. */
42456 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42463 return pthread_cancel ();
42468 rm -f conftest.$ac_objext conftest$ac_exeext
42469 if { (ac_try="$ac_link"
42470 case "(($ac_try" in
42471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42472 *) ac_try_echo=$ac_try;;
42474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42475 (eval "$ac_link") 2>conftest.er1
42477 grep -v '^ *+' conftest.er1 >conftest.err
42479 cat conftest.err >&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); } && {
42482 test -z "$ac_c_werror_flag" ||
42483 test ! -s conftest.err
42484 } && test -s conftest$ac_exeext &&
42485 $as_test_x conftest$ac_exeext; then
42486 ac_cv_func_pthread_cancel=yes
42488 echo "$as_me: failed program was:" >&5
42489 sed 's/^/| /' conftest.$ac_ext >&5
42491 ac_cv_func_pthread_cancel=no
42494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42495 conftest$ac_exeext conftest.$ac_ext
42497 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42498 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42499 if test $ac_cv_func_pthread_cancel = yes; then
42500 cat >>confdefs.h <<\_ACEOF
42501 #define HAVE_PTHREAD_CANCEL 1
42505 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42506 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42510 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42511 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42512 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42513 echo $ECHO_N "(cached) $ECHO_C" >&6
42515 cat >conftest.$ac_ext <<_ACEOF
42518 cat confdefs.h >>conftest.$ac_ext
42519 cat >>conftest.$ac_ext <<_ACEOF
42520 /* end confdefs.h. */
42521 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42523 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42525 /* System header to define __stub macros and hopefully few prototypes,
42526 which can conflict with char pthread_mutex_timedlock (); below.
42527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42528 <limits.h> exists even on freestanding compilers. */
42531 # include <limits.h>
42533 # include <assert.h>
42536 #undef pthread_mutex_timedlock
42538 /* Override any GCC internal prototype to avoid an error.
42539 Use char because int might match the return type of a GCC
42540 builtin and then its argument prototype would still apply. */
42544 char pthread_mutex_timedlock ();
42545 /* The GNU C library defines this for functions which it implements
42546 to always fail with ENOSYS. Some functions are actually named
42547 something starting with __ and the normal name is an alias. */
42548 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42555 return pthread_mutex_timedlock ();
42560 rm -f conftest.$ac_objext conftest$ac_exeext
42561 if { (ac_try="$ac_link"
42562 case "(($ac_try" in
42563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42564 *) ac_try_echo=$ac_try;;
42566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42567 (eval "$ac_link") 2>conftest.er1
42569 grep -v '^ *+' conftest.er1 >conftest.err
42571 cat conftest.err >&5
42572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42573 (exit $ac_status); } && {
42574 test -z "$ac_c_werror_flag" ||
42575 test ! -s conftest.err
42576 } && test -s conftest$ac_exeext &&
42577 $as_test_x conftest$ac_exeext; then
42578 ac_cv_func_pthread_mutex_timedlock=yes
42580 echo "$as_me: failed program was:" >&5
42581 sed 's/^/| /' conftest.$ac_ext >&5
42583 ac_cv_func_pthread_mutex_timedlock=no
42586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42587 conftest$ac_exeext conftest.$ac_ext
42589 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42590 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42591 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42592 cat >>confdefs.h <<\_ACEOF
42593 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42597 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42598 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42602 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42603 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42604 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42605 echo $ECHO_N "(cached) $ECHO_C" >&6
42607 cat >conftest.$ac_ext <<_ACEOF
42610 cat confdefs.h >>conftest.$ac_ext
42611 cat >>conftest.$ac_ext <<_ACEOF
42612 /* end confdefs.h. */
42613 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42615 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42617 /* System header to define __stub macros and hopefully few prototypes,
42618 which can conflict with char pthread_attr_setstacksize (); below.
42619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42620 <limits.h> exists even on freestanding compilers. */
42623 # include <limits.h>
42625 # include <assert.h>
42628 #undef pthread_attr_setstacksize
42630 /* Override any GCC internal prototype to avoid an error.
42631 Use char because int might match the return type of a GCC
42632 builtin and then its argument prototype would still apply. */
42636 char pthread_attr_setstacksize ();
42637 /* The GNU C library defines this for functions which it implements
42638 to always fail with ENOSYS. Some functions are actually named
42639 something starting with __ and the normal name is an alias. */
42640 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42647 return pthread_attr_setstacksize ();
42652 rm -f conftest.$ac_objext conftest$ac_exeext
42653 if { (ac_try="$ac_link"
42654 case "(($ac_try" in
42655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42656 *) ac_try_echo=$ac_try;;
42658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42659 (eval "$ac_link") 2>conftest.er1
42661 grep -v '^ *+' conftest.er1 >conftest.err
42663 cat conftest.err >&5
42664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42665 (exit $ac_status); } && {
42666 test -z "$ac_c_werror_flag" ||
42667 test ! -s conftest.err
42668 } && test -s conftest$ac_exeext &&
42669 $as_test_x conftest$ac_exeext; then
42670 ac_cv_func_pthread_attr_setstacksize=yes
42672 echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.$ac_ext >&5
42675 ac_cv_func_pthread_attr_setstacksize=no
42678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42679 conftest$ac_exeext conftest.$ac_ext
42681 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42682 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42683 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42684 cat >>confdefs.h <<\_ACEOF
42685 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42692 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42693 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42694 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42695 echo $ECHO_N "(cached) $ECHO_C" >&6
42698 cat >conftest.$ac_ext <<_ACEOF
42701 cat confdefs.h >>conftest.$ac_ext
42702 cat >>conftest.$ac_ext <<_ACEOF
42703 /* end confdefs.h. */
42704 #include <pthread.h>
42709 pthread_mutexattr_t attr;
42710 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42716 rm -f conftest.$ac_objext
42717 if { (ac_try="$ac_compile"
42718 case "(($ac_try" in
42719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42720 *) ac_try_echo=$ac_try;;
42722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42723 (eval "$ac_compile") 2>conftest.er1
42725 grep -v '^ *+' conftest.er1 >conftest.err
42727 cat conftest.err >&5
42728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729 (exit $ac_status); } && {
42730 test -z "$ac_c_werror_flag" ||
42731 test ! -s conftest.err
42732 } && test -s conftest.$ac_objext; then
42733 wx_cv_type_pthread_mutexattr_t=yes
42735 echo "$as_me: failed program was:" >&5
42736 sed 's/^/| /' conftest.$ac_ext >&5
42738 wx_cv_type_pthread_mutexattr_t=no
42742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42745 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42746 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42748 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42749 cat >>confdefs.h <<\_ACEOF
42750 #define HAVE_PTHREAD_MUTEXATTR_T 1
42754 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42755 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42756 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42757 echo $ECHO_N "(cached) $ECHO_C" >&6
42760 cat >conftest.$ac_ext <<_ACEOF
42763 cat confdefs.h >>conftest.$ac_ext
42764 cat >>conftest.$ac_ext <<_ACEOF
42765 /* end confdefs.h. */
42766 #include <pthread.h>
42771 pthread_mutexattr_t attr;
42772 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42778 rm -f conftest.$ac_objext
42779 if { (ac_try="$ac_compile"
42780 case "(($ac_try" in
42781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42782 *) ac_try_echo=$ac_try;;
42784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42785 (eval "$ac_compile") 2>conftest.er1
42787 grep -v '^ *+' conftest.er1 >conftest.err
42789 cat conftest.err >&5
42790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42791 (exit $ac_status); } && {
42792 test -z "$ac_c_werror_flag" ||
42793 test ! -s conftest.err
42794 } && test -s conftest.$ac_objext; then
42795 wx_cv_func_pthread_mutexattr_settype_decl=yes
42797 echo "$as_me: failed program was:" >&5
42798 sed 's/^/| /' conftest.$ac_ext >&5
42800 wx_cv_func_pthread_mutexattr_settype_decl=no
42804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42807 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42808 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42809 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42810 cat >>confdefs.h <<\_ACEOF
42811 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42816 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42817 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42818 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42819 echo $ECHO_N "(cached) $ECHO_C" >&6
42822 cat >conftest.$ac_ext <<_ACEOF
42825 cat confdefs.h >>conftest.$ac_ext
42826 cat >>conftest.$ac_ext <<_ACEOF
42827 /* end confdefs.h. */
42828 #include <pthread.h>
42833 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42839 rm -f conftest.$ac_objext
42840 if { (ac_try="$ac_compile"
42841 case "(($ac_try" in
42842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42843 *) ac_try_echo=$ac_try;;
42845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42846 (eval "$ac_compile") 2>conftest.er1
42848 grep -v '^ *+' conftest.er1 >conftest.err
42850 cat conftest.err >&5
42851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42852 (exit $ac_status); } && {
42853 test -z "$ac_c_werror_flag" ||
42854 test ! -s conftest.err
42855 } && test -s conftest.$ac_objext; then
42857 wx_cv_type_pthread_rec_mutex_init=yes
42860 echo "$as_me: failed program was:" >&5
42861 sed 's/^/| /' conftest.$ac_ext >&5
42864 wx_cv_type_pthread_rec_mutex_init=no
42869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42872 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42873 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42874 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42875 cat >>confdefs.h <<\_ACEOF
42876 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42880 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42881 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42887 if test "$wxUSE_THREADS" = "yes" ; then
42890 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42891 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42892 if test "${wx_cv_cflags_mthread+set}" = set; then
42893 echo $ECHO_N "(cached) $ECHO_C" >&6
42896 CFLAGS_OLD="$CFLAGS"
42897 CFLAGS="-mthreads $CFLAGS"
42898 cat >conftest.$ac_ext <<_ACEOF
42901 cat confdefs.h >>conftest.$ac_ext
42902 cat >>conftest.$ac_ext <<_ACEOF
42903 /* end confdefs.h. */
42913 rm -f conftest.$ac_objext
42914 if { (ac_try="$ac_compile"
42915 case "(($ac_try" in
42916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42917 *) ac_try_echo=$ac_try;;
42919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42920 (eval "$ac_compile") 2>conftest.er1
42922 grep -v '^ *+' conftest.er1 >conftest.err
42924 cat conftest.err >&5
42925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42926 (exit $ac_status); } && {
42927 test -z "$ac_c_werror_flag" ||
42928 test ! -s conftest.err
42929 } && test -s conftest.$ac_objext; then
42930 wx_cv_cflags_mthread=yes
42932 echo "$as_me: failed program was:" >&5
42933 sed 's/^/| /' conftest.$ac_ext >&5
42935 wx_cv_cflags_mthread=no
42939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42943 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42944 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42946 if test "$wx_cv_cflags_mthread" = "yes"; then
42947 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42948 LDFLAGS="$LDFLAGS -mthreads"
42950 CFLAGS="$CFLAGS_OLD"
42954 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42955 LDFLAGS="$LDFLAGS -Zmt"
42961 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42962 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42963 if test "${ac_cv_func_localtime_r+set}" = set; then
42964 echo $ECHO_N "(cached) $ECHO_C" >&6
42966 cat >conftest.$ac_ext <<_ACEOF
42969 cat confdefs.h >>conftest.$ac_ext
42970 cat >>conftest.$ac_ext <<_ACEOF
42971 /* end confdefs.h. */
42972 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42974 #define localtime_r innocuous_localtime_r
42976 /* System header to define __stub macros and hopefully few prototypes,
42977 which can conflict with char localtime_r (); below.
42978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42979 <limits.h> exists even on freestanding compilers. */
42982 # include <limits.h>
42984 # include <assert.h>
42989 /* Override any GCC internal prototype to avoid an error.
42990 Use char because int might match the return type of a GCC
42991 builtin and then its argument prototype would still apply. */
42995 char localtime_r ();
42996 /* The GNU C library defines this for functions which it implements
42997 to always fail with ENOSYS. Some functions are actually named
42998 something starting with __ and the normal name is an alias. */
42999 #if defined __stub_localtime_r || defined __stub___localtime_r
43006 return localtime_r ();
43011 rm -f conftest.$ac_objext conftest$ac_exeext
43012 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
43026 test ! -s conftest.err
43027 } && test -s conftest$ac_exeext &&
43028 $as_test_x conftest$ac_exeext; then
43029 ac_cv_func_localtime_r=yes
43031 echo "$as_me: failed program was:" >&5
43032 sed 's/^/| /' conftest.$ac_ext >&5
43034 ac_cv_func_localtime_r=no
43037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43038 conftest$ac_exeext conftest.$ac_ext
43040 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43041 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43042 if test $ac_cv_func_localtime_r = yes; then
43043 cat >>confdefs.h <<\_ACEOF
43044 #define HAVE_LOCALTIME_R 1
43049 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43050 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43051 if test "${ac_cv_func_gmtime_r+set}" = set; then
43052 echo $ECHO_N "(cached) $ECHO_C" >&6
43054 cat >conftest.$ac_ext <<_ACEOF
43057 cat confdefs.h >>conftest.$ac_ext
43058 cat >>conftest.$ac_ext <<_ACEOF
43059 /* end confdefs.h. */
43060 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43062 #define gmtime_r innocuous_gmtime_r
43064 /* System header to define __stub macros and hopefully few prototypes,
43065 which can conflict with char gmtime_r (); below.
43066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43067 <limits.h> exists even on freestanding compilers. */
43070 # include <limits.h>
43072 # include <assert.h>
43077 /* Override any GCC internal prototype to avoid an error.
43078 Use char because int might match the return type of a GCC
43079 builtin and then its argument prototype would still apply. */
43084 /* The GNU C library defines this for functions which it implements
43085 to always fail with ENOSYS. Some functions are actually named
43086 something starting with __ and the normal name is an alias. */
43087 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43094 return gmtime_r ();
43099 rm -f conftest.$ac_objext conftest$ac_exeext
43100 if { (ac_try="$ac_link"
43101 case "(($ac_try" in
43102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43103 *) ac_try_echo=$ac_try;;
43105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43106 (eval "$ac_link") 2>conftest.er1
43108 grep -v '^ *+' conftest.er1 >conftest.err
43110 cat conftest.err >&5
43111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112 (exit $ac_status); } && {
43113 test -z "$ac_c_werror_flag" ||
43114 test ! -s conftest.err
43115 } && test -s conftest$ac_exeext &&
43116 $as_test_x conftest$ac_exeext; then
43117 ac_cv_func_gmtime_r=yes
43119 echo "$as_me: failed program was:" >&5
43120 sed 's/^/| /' conftest.$ac_ext >&5
43122 ac_cv_func_gmtime_r=no
43125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43126 conftest$ac_exeext conftest.$ac_ext
43128 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43129 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43130 if test $ac_cv_func_gmtime_r = yes; then
43131 cat >>confdefs.h <<\_ACEOF
43132 #define HAVE_GMTIME_R 1
43137 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43138 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43139 if test "${ac_cv_func_readdir_r+set}" = set; then
43140 echo $ECHO_N "(cached) $ECHO_C" >&6
43142 cat >conftest.$ac_ext <<_ACEOF
43145 cat confdefs.h >>conftest.$ac_ext
43146 cat >>conftest.$ac_ext <<_ACEOF
43147 /* end confdefs.h. */
43148 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43150 #define readdir_r innocuous_readdir_r
43152 /* System header to define __stub macros and hopefully few prototypes,
43153 which can conflict with char readdir_r (); below.
43154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43155 <limits.h> exists even on freestanding compilers. */
43158 # include <limits.h>
43160 # include <assert.h>
43165 /* Override any GCC internal prototype to avoid an error.
43166 Use char because int might match the return type of a GCC
43167 builtin and then its argument prototype would still apply. */
43172 /* The GNU C library defines this for functions which it implements
43173 to always fail with ENOSYS. Some functions are actually named
43174 something starting with __ and the normal name is an alias. */
43175 #if defined __stub_readdir_r || defined __stub___readdir_r
43182 return readdir_r ();
43187 rm -f conftest.$ac_objext conftest$ac_exeext
43188 if { (ac_try="$ac_link"
43189 case "(($ac_try" in
43190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43191 *) ac_try_echo=$ac_try;;
43193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43194 (eval "$ac_link") 2>conftest.er1
43196 grep -v '^ *+' conftest.er1 >conftest.err
43198 cat conftest.err >&5
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); } && {
43201 test -z "$ac_c_werror_flag" ||
43202 test ! -s conftest.err
43203 } && test -s conftest$ac_exeext &&
43204 $as_test_x conftest$ac_exeext; then
43205 ac_cv_func_readdir_r=yes
43207 echo "$as_me: failed program was:" >&5
43208 sed 's/^/| /' conftest.$ac_ext >&5
43210 ac_cv_func_readdir_r=no
43213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43214 conftest$ac_exeext conftest.$ac_ext
43216 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43217 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43218 if test $ac_cv_func_readdir_r = yes; then
43219 cat >>confdefs.h <<\_ACEOF
43220 #define HAVE_READDIR_R 1
43229 ac_cpp='$CPP $CPPFLAGS'
43230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43234 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43235 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43237 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43238 echo $ECHO_N "(cached) $ECHO_C" >&6
43242 ################################################################
43244 ac_cv_func_which_gethostbyname_r=unknown
43247 # ONE ARGUMENT (sanity check)
43250 # This should fail, as there is no variant of gethostbyname_r() that takes
43251 # a single argument. If it actually compiles, then we can assume that
43252 # netdb.h is not declaring the function, and the compiler is thereby
43253 # assuming an implicit prototype. In which case, we're out of luck.
43255 cat >conftest.$ac_ext <<_ACEOF
43258 cat confdefs.h >>conftest.$ac_ext
43259 cat >>conftest.$ac_ext <<_ACEOF
43260 /* end confdefs.h. */
43266 char *name = "www.gnu.org";
43267 (void)gethostbyname_r(name) /* ; */
43273 rm -f conftest.$ac_objext
43274 if { (ac_try="$ac_compile"
43275 case "(($ac_try" in
43276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43277 *) ac_try_echo=$ac_try;;
43279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43280 (eval "$ac_compile") 2>conftest.er1
43282 grep -v '^ *+' conftest.er1 >conftest.err
43284 cat conftest.err >&5
43285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43286 (exit $ac_status); } && {
43287 test -z "$ac_c_werror_flag" ||
43288 test ! -s conftest.err
43289 } && test -s conftest.$ac_objext; then
43290 ac_cv_func_which_gethostbyname_r=no
43292 echo "$as_me: failed program was:" >&5
43293 sed 's/^/| /' conftest.$ac_ext >&5
43298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43305 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43307 cat >conftest.$ac_ext <<_ACEOF
43310 cat confdefs.h >>conftest.$ac_ext
43311 cat >>conftest.$ac_ext <<_ACEOF
43312 /* end confdefs.h. */
43318 char *name = "www.gnu.org";
43319 struct hostent ret, *retp;
43323 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43329 rm -f conftest.$ac_objext
43330 if { (ac_try="$ac_compile"
43331 case "(($ac_try" in
43332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43333 *) ac_try_echo=$ac_try;;
43335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43336 (eval "$ac_compile") 2>conftest.er1
43338 grep -v '^ *+' conftest.er1 >conftest.err
43340 cat conftest.err >&5
43341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43342 (exit $ac_status); } && {
43343 test -z "$ac_c_werror_flag" ||
43344 test ! -s conftest.err
43345 } && test -s conftest.$ac_objext; then
43346 ac_cv_func_which_gethostbyname_r=six
43348 echo "$as_me: failed program was:" >&5
43349 sed 's/^/| /' conftest.$ac_ext >&5
43354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43363 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43365 cat >conftest.$ac_ext <<_ACEOF
43368 cat confdefs.h >>conftest.$ac_ext
43369 cat >>conftest.$ac_ext <<_ACEOF
43370 /* end confdefs.h. */
43376 char *name = "www.gnu.org";
43377 struct hostent ret;
43381 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43387 rm -f conftest.$ac_objext
43388 if { (ac_try="$ac_compile"
43389 case "(($ac_try" in
43390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43391 *) ac_try_echo=$ac_try;;
43393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43394 (eval "$ac_compile") 2>conftest.er1
43396 grep -v '^ *+' conftest.er1 >conftest.err
43398 cat conftest.err >&5
43399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43400 (exit $ac_status); } && {
43401 test -z "$ac_c_werror_flag" ||
43402 test ! -s conftest.err
43403 } && test -s conftest.$ac_objext; then
43404 ac_cv_func_which_gethostbyname_r=five
43406 echo "$as_me: failed program was:" >&5
43407 sed 's/^/| /' conftest.$ac_ext >&5
43412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43418 # (e.g. AIX, HP-UX, Tru64)
43421 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43423 cat >conftest.$ac_ext <<_ACEOF
43426 cat confdefs.h >>conftest.$ac_ext
43427 cat >>conftest.$ac_ext <<_ACEOF
43428 /* end confdefs.h. */
43434 char *name = "www.gnu.org";
43435 struct hostent ret;
43436 struct hostent_data data;
43437 (void)gethostbyname_r(name, &ret, &data) /* ; */
43443 rm -f conftest.$ac_objext
43444 if { (ac_try="$ac_compile"
43445 case "(($ac_try" in
43446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43447 *) ac_try_echo=$ac_try;;
43449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43450 (eval "$ac_compile") 2>conftest.er1
43452 grep -v '^ *+' conftest.er1 >conftest.err
43454 cat conftest.err >&5
43455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43456 (exit $ac_status); } && {
43457 test -z "$ac_c_werror_flag" ||
43458 test ! -s conftest.err
43459 } && test -s conftest.$ac_objext; then
43460 ac_cv_func_which_gethostbyname_r=three
43462 echo "$as_me: failed program was:" >&5
43463 sed 's/^/| /' conftest.$ac_ext >&5
43468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43472 ################################################################
43477 case "$ac_cv_func_which_gethostbyname_r" in
43479 { echo "$as_me:$LINENO: result: three" >&5
43480 echo "${ECHO_T}three" >&6; }
43481 cat >>confdefs.h <<\_ACEOF
43482 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43488 { echo "$as_me:$LINENO: result: five" >&5
43489 echo "${ECHO_T}five" >&6; }
43490 cat >>confdefs.h <<\_ACEOF
43491 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43497 { echo "$as_me:$LINENO: result: six" >&5
43498 echo "${ECHO_T}six" >&6; }
43499 cat >>confdefs.h <<\_ACEOF
43500 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43506 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43507 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43511 { echo "$as_me:$LINENO: result: can't tell" >&5
43512 echo "${ECHO_T}can't tell" >&6; }
43516 { { echo "$as_me:$LINENO: error: internal error" >&5
43517 echo "$as_me: error: internal error" >&2;}
43518 { (exit 1); exit 1; }; }
43523 ac_cpp='$CPP $CPPFLAGS'
43524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43530 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43531 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43532 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43533 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43534 if test "${ac_cv_func_gethostbyname+set}" = set; then
43535 echo $ECHO_N "(cached) $ECHO_C" >&6
43537 cat >conftest.$ac_ext <<_ACEOF
43540 cat confdefs.h >>conftest.$ac_ext
43541 cat >>conftest.$ac_ext <<_ACEOF
43542 /* end confdefs.h. */
43543 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43545 #define gethostbyname innocuous_gethostbyname
43547 /* System header to define __stub macros and hopefully few prototypes,
43548 which can conflict with char gethostbyname (); below.
43549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43550 <limits.h> exists even on freestanding compilers. */
43553 # include <limits.h>
43555 # include <assert.h>
43558 #undef gethostbyname
43560 /* Override any GCC internal prototype to avoid an error.
43561 Use char because int might match the return type of a GCC
43562 builtin and then its argument prototype would still apply. */
43566 char gethostbyname ();
43567 /* The GNU C library defines this for functions which it implements
43568 to always fail with ENOSYS. Some functions are actually named
43569 something starting with __ and the normal name is an alias. */
43570 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43577 return gethostbyname ();
43582 rm -f conftest.$ac_objext conftest$ac_exeext
43583 if { (ac_try="$ac_link"
43584 case "(($ac_try" in
43585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43586 *) ac_try_echo=$ac_try;;
43588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43589 (eval "$ac_link") 2>conftest.er1
43591 grep -v '^ *+' conftest.er1 >conftest.err
43593 cat conftest.err >&5
43594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43595 (exit $ac_status); } && {
43596 test -z "$ac_c_werror_flag" ||
43597 test ! -s conftest.err
43598 } && test -s conftest$ac_exeext &&
43599 $as_test_x conftest$ac_exeext; then
43600 ac_cv_func_gethostbyname=yes
43602 echo "$as_me: failed program was:" >&5
43603 sed 's/^/| /' conftest.$ac_ext >&5
43605 ac_cv_func_gethostbyname=no
43608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43609 conftest$ac_exeext conftest.$ac_ext
43611 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43612 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43613 if test $ac_cv_func_gethostbyname = yes; then
43614 cat >>confdefs.h <<\_ACEOF
43615 #define HAVE_GETHOSTBYNAME 1
43622 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43623 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43624 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43625 echo $ECHO_N "(cached) $ECHO_C" >&6
43629 ac_cpp='$CXXCPP $CPPFLAGS'
43630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43635 cat >conftest.$ac_ext <<_ACEOF
43638 cat confdefs.h >>conftest.$ac_ext
43639 cat >>conftest.$ac_ext <<_ACEOF
43640 /* end confdefs.h. */
43648 struct servent *se, *res;
43651 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43657 rm -f conftest.$ac_objext
43658 if { (ac_try="$ac_compile"
43659 case "(($ac_try" in
43660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43661 *) ac_try_echo=$ac_try;;
43663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43664 (eval "$ac_compile") 2>conftest.er1
43666 grep -v '^ *+' conftest.er1 >conftest.err
43668 cat conftest.err >&5
43669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43670 (exit $ac_status); } && {
43671 test -z "$ac_cxx_werror_flag" ||
43672 test ! -s conftest.err
43673 } && test -s conftest.$ac_objext; then
43674 ac_cv_func_which_getservbyname_r=six
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43680 cat >conftest.$ac_ext <<_ACEOF
43683 cat confdefs.h >>conftest.$ac_ext
43684 cat >>conftest.$ac_ext <<_ACEOF
43685 /* end confdefs.h. */
43693 struct servent *se;
43696 (void) getservbyname_r(name, proto, se, buffer, buflen)
43702 rm -f conftest.$ac_objext
43703 if { (ac_try="$ac_compile"
43704 case "(($ac_try" in
43705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43706 *) ac_try_echo=$ac_try;;
43708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43709 (eval "$ac_compile") 2>conftest.er1
43711 grep -v '^ *+' conftest.er1 >conftest.err
43713 cat conftest.err >&5
43714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43715 (exit $ac_status); } && {
43716 test -z "$ac_cxx_werror_flag" ||
43717 test ! -s conftest.err
43718 } && test -s conftest.$ac_objext; then
43719 ac_cv_func_which_getservbyname_r=five
43721 echo "$as_me: failed program was:" >&5
43722 sed 's/^/| /' conftest.$ac_ext >&5
43725 cat >conftest.$ac_ext <<_ACEOF
43728 cat confdefs.h >>conftest.$ac_ext
43729 cat >>conftest.$ac_ext <<_ACEOF
43730 /* end confdefs.h. */
43738 struct servent *se;
43739 struct servent_data data;
43740 (void) getservbyname_r(name, proto, se, &data);
43746 rm -f conftest.$ac_objext
43747 if { (ac_try="$ac_compile"
43748 case "(($ac_try" in
43749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43750 *) ac_try_echo=$ac_try;;
43752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43753 (eval "$ac_compile") 2>conftest.er1
43755 grep -v '^ *+' conftest.er1 >conftest.err
43757 cat conftest.err >&5
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); } && {
43760 test -z "$ac_cxx_werror_flag" ||
43761 test ! -s conftest.err
43762 } && test -s conftest.$ac_objext; then
43763 ac_cv_func_which_getservbyname_r=four
43765 echo "$as_me: failed program was:" >&5
43766 sed 's/^/| /' conftest.$ac_ext >&5
43768 ac_cv_func_which_getservbyname_r=no
43772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43784 ac_cpp='$CPP $CPPFLAGS'
43785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43792 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43793 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43795 if test $ac_cv_func_which_getservbyname_r = six; then
43796 cat >>confdefs.h <<\_ACEOF
43797 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43800 elif test $ac_cv_func_which_getservbyname_r = five; then
43801 cat >>confdefs.h <<\_ACEOF
43802 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43805 elif test $ac_cv_func_which_getservbyname_r = four; then
43806 cat >>confdefs.h <<\_ACEOF
43807 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43813 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43814 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43816 for ac_func in getservbyname
43818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43822 echo $ECHO_N "(cached) $ECHO_C" >&6
43824 cat >conftest.$ac_ext <<_ACEOF
43827 cat confdefs.h >>conftest.$ac_ext
43828 cat >>conftest.$ac_ext <<_ACEOF
43829 /* end confdefs.h. */
43830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43832 #define $ac_func innocuous_$ac_func
43834 /* System header to define __stub macros and hopefully few prototypes,
43835 which can conflict with char $ac_func (); below.
43836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43837 <limits.h> exists even on freestanding compilers. */
43840 # include <limits.h>
43842 # include <assert.h>
43847 /* Override any GCC internal prototype to avoid an error.
43848 Use char because int might match the return type of a GCC
43849 builtin and then its argument prototype would still apply. */
43854 /* The GNU C library defines this for functions which it implements
43855 to always fail with ENOSYS. Some functions are actually named
43856 something starting with __ and the normal name is an alias. */
43857 #if defined __stub_$ac_func || defined __stub___$ac_func
43864 return $ac_func ();
43869 rm -f conftest.$ac_objext conftest$ac_exeext
43870 if { (ac_try="$ac_link"
43871 case "(($ac_try" in
43872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43873 *) ac_try_echo=$ac_try;;
43875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43876 (eval "$ac_link") 2>conftest.er1
43878 grep -v '^ *+' conftest.er1 >conftest.err
43880 cat conftest.err >&5
43881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43882 (exit $ac_status); } && {
43883 test -z "$ac_c_werror_flag" ||
43884 test ! -s conftest.err
43885 } && test -s conftest$ac_exeext &&
43886 $as_test_x conftest$ac_exeext; then
43887 eval "$as_ac_var=yes"
43889 echo "$as_me: failed program was:" >&5
43890 sed 's/^/| /' conftest.$ac_ext >&5
43892 eval "$as_ac_var=no"
43895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43896 conftest$ac_exeext conftest.$ac_ext
43898 ac_res=`eval echo '${'$as_ac_var'}'`
43899 { echo "$as_me:$LINENO: result: $ac_res" >&5
43900 echo "${ECHO_T}$ac_res" >&6; }
43901 if test `eval echo '${'$as_ac_var'}'` = yes; then
43902 cat >>confdefs.h <<_ACEOF
43903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43905 cat >>confdefs.h <<\_ACEOF
43906 #define HAVE_GETSERVBYNAME 1
43914 if test "$wxUSE_THREADS" = "yes"; then
43915 cat >>confdefs.h <<\_ACEOF
43916 #define wxUSE_THREADS 1
43920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43922 if test "$wx_cv_func_strtok_r" = "yes"; then
43923 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43924 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43925 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43926 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43927 { echo "$as_me:$LINENO: result: yes" >&5
43928 echo "${ECHO_T}yes" >&6; }
43930 { echo "$as_me:$LINENO: result: no" >&5
43931 echo "${ECHO_T}no" >&6; }
43936 if test "$WXGTK20" = 1 ; then
43937 cat >>confdefs.h <<_ACEOF
43938 #define __WXGTK20__ $WXGTK20
43944 if test "$WXGTK12" = 1 ; then
43945 cat >>confdefs.h <<_ACEOF
43946 #define __WXGTK12__ $WXGTK12
43951 if test "$WXGTK127" = 1 ; then
43952 cat >>confdefs.h <<_ACEOF
43953 #define __WXGTK127__ $WXGTK127
43958 if test "$WXGPE" = 1 ; then
43959 cat >>confdefs.h <<_ACEOF
43960 #define __WXGPE__ $WXGPE
43966 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43971 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43972 wxUSE_DEBUG_INFO=yes
43973 if test "$GCC" = yes; then
43974 DEBUG_CFLAGS="-ggdb"
43978 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43979 cat >>confdefs.h <<\_ACEOF
43983 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43985 if test "$wxUSE_GTK" = 1 ; then
43986 if test "x$wxGTK_VERSION" = "x1" ; then
43987 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43992 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43993 cat >>confdefs.h <<\_ACEOF
43994 #define wxUSE_MEMORY_TRACING 1
43997 cat >>confdefs.h <<\_ACEOF
43998 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
44001 cat >>confdefs.h <<\_ACEOF
44002 #define wxUSE_DEBUG_NEW_ALWAYS 1
44005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44008 if test "$wxUSE_DMALLOC" = "yes" ; then
44009 DMALLOC_LIBS="-ldmallocthcxx"
44013 if test "$wxUSE_PROFILE" = "yes" ; then
44014 PROFILE_FLAGS=" -pg"
44017 if test "$GCC" = "yes" ; then
44018 if test "$wxUSE_NO_RTTI" = "yes" ; then
44019 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44021 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44022 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44024 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44025 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44030 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44033 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44039 if test "$wxUSE_OPTIMISE" = "no" ; then
44040 if test "$GCC" = yes ; then
44041 OPTIMISE_CFLAGS="-O0"
44044 if test "$GCC" = yes ; then
44046 *-pc-os2_emx | *-pc-os2-emx )
44047 OPTIMISE_CFLAGS="-O2"
44050 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44054 OPTIMISE_CFLAGS="-O"
44059 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44060 cat >>confdefs.h <<\_ACEOF
44061 #define WXWIN_COMPATIBILITY_2_6 1
44065 WXWIN_COMPATIBILITY_2_8="yes"
44068 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44069 cat >>confdefs.h <<\_ACEOF
44070 #define WXWIN_COMPATIBILITY_2_8 1
44076 if test "$wxUSE_GUI" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_GUI 1
44085 if test "$wxUSE_UNIX" = "yes"; then
44086 cat >>confdefs.h <<\_ACEOF
44087 #define wxUSE_UNIX 1
44093 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44097 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44098 if test "$USE_DARWIN" = 1; then
44100 elif test "$USE_DOS" = 1; then
44104 for ac_func in dlopen
44106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44107 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44109 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44110 echo $ECHO_N "(cached) $ECHO_C" >&6
44112 cat >conftest.$ac_ext <<_ACEOF
44115 cat confdefs.h >>conftest.$ac_ext
44116 cat >>conftest.$ac_ext <<_ACEOF
44117 /* end confdefs.h. */
44118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44120 #define $ac_func innocuous_$ac_func
44122 /* System header to define __stub macros and hopefully few prototypes,
44123 which can conflict with char $ac_func (); below.
44124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44125 <limits.h> exists even on freestanding compilers. */
44128 # include <limits.h>
44130 # include <assert.h>
44135 /* Override any GCC internal prototype to avoid an error.
44136 Use char because int might match the return type of a GCC
44137 builtin and then its argument prototype would still apply. */
44142 /* The GNU C library defines this for functions which it implements
44143 to always fail with ENOSYS. Some functions are actually named
44144 something starting with __ and the normal name is an alias. */
44145 #if defined __stub_$ac_func || defined __stub___$ac_func
44152 return $ac_func ();
44157 rm -f conftest.$ac_objext conftest$ac_exeext
44158 if { (ac_try="$ac_link"
44159 case "(($ac_try" in
44160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44161 *) ac_try_echo=$ac_try;;
44163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44164 (eval "$ac_link") 2>conftest.er1
44166 grep -v '^ *+' conftest.er1 >conftest.err
44168 cat conftest.err >&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); } && {
44171 test -z "$ac_c_werror_flag" ||
44172 test ! -s conftest.err
44173 } && test -s conftest$ac_exeext &&
44174 $as_test_x conftest$ac_exeext; then
44175 eval "$as_ac_var=yes"
44177 echo "$as_me: failed program was:" >&5
44178 sed 's/^/| /' conftest.$ac_ext >&5
44180 eval "$as_ac_var=no"
44183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44184 conftest$ac_exeext conftest.$ac_ext
44186 ac_res=`eval echo '${'$as_ac_var'}'`
44187 { echo "$as_me:$LINENO: result: $ac_res" >&5
44188 echo "${ECHO_T}$ac_res" >&6; }
44189 if test `eval echo '${'$as_ac_var'}'` = yes; then
44190 cat >>confdefs.h <<_ACEOF
44191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44194 cat >>confdefs.h <<\_ACEOF
44195 #define HAVE_DLOPEN 1
44202 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44203 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44204 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44205 echo $ECHO_N "(cached) $ECHO_C" >&6
44207 ac_check_lib_save_LIBS=$LIBS
44209 cat >conftest.$ac_ext <<_ACEOF
44212 cat confdefs.h >>conftest.$ac_ext
44213 cat >>conftest.$ac_ext <<_ACEOF
44214 /* end confdefs.h. */
44216 /* Override any GCC internal prototype to avoid an error.
44217 Use char because int might match the return type of a GCC
44218 builtin and then its argument prototype would still apply. */
44231 rm -f conftest.$ac_objext conftest$ac_exeext
44232 if { (ac_try="$ac_link"
44233 case "(($ac_try" in
44234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44235 *) ac_try_echo=$ac_try;;
44237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44238 (eval "$ac_link") 2>conftest.er1
44240 grep -v '^ *+' conftest.er1 >conftest.err
44242 cat conftest.err >&5
44243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44244 (exit $ac_status); } && {
44245 test -z "$ac_c_werror_flag" ||
44246 test ! -s conftest.err
44247 } && test -s conftest$ac_exeext &&
44248 $as_test_x conftest$ac_exeext; then
44249 ac_cv_lib_dl_dlopen=yes
44251 echo "$as_me: failed program was:" >&5
44252 sed 's/^/| /' conftest.$ac_ext >&5
44254 ac_cv_lib_dl_dlopen=no
44257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44258 conftest$ac_exeext conftest.$ac_ext
44259 LIBS=$ac_check_lib_save_LIBS
44261 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44262 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44263 if test $ac_cv_lib_dl_dlopen = yes; then
44265 cat >>confdefs.h <<\_ACEOF
44266 #define HAVE_DLOPEN 1
44270 DL_LINK=" -ldl$DL_LINK"
44275 for ac_func in shl_load
44277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44278 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44281 echo $ECHO_N "(cached) $ECHO_C" >&6
44283 cat >conftest.$ac_ext <<_ACEOF
44286 cat confdefs.h >>conftest.$ac_ext
44287 cat >>conftest.$ac_ext <<_ACEOF
44288 /* end confdefs.h. */
44289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44291 #define $ac_func innocuous_$ac_func
44293 /* System header to define __stub macros and hopefully few prototypes,
44294 which can conflict with char $ac_func (); below.
44295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44296 <limits.h> exists even on freestanding compilers. */
44299 # include <limits.h>
44301 # include <assert.h>
44306 /* Override any GCC internal prototype to avoid an error.
44307 Use char because int might match the return type of a GCC
44308 builtin and then its argument prototype would still apply. */
44313 /* The GNU C library defines this for functions which it implements
44314 to always fail with ENOSYS. Some functions are actually named
44315 something starting with __ and the normal name is an alias. */
44316 #if defined __stub_$ac_func || defined __stub___$ac_func
44323 return $ac_func ();
44328 rm -f conftest.$ac_objext conftest$ac_exeext
44329 if { (ac_try="$ac_link"
44330 case "(($ac_try" in
44331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44332 *) ac_try_echo=$ac_try;;
44334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44335 (eval "$ac_link") 2>conftest.er1
44337 grep -v '^ *+' conftest.er1 >conftest.err
44339 cat conftest.err >&5
44340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44341 (exit $ac_status); } && {
44342 test -z "$ac_c_werror_flag" ||
44343 test ! -s conftest.err
44344 } && test -s conftest$ac_exeext &&
44345 $as_test_x conftest$ac_exeext; then
44346 eval "$as_ac_var=yes"
44348 echo "$as_me: failed program was:" >&5
44349 sed 's/^/| /' conftest.$ac_ext >&5
44351 eval "$as_ac_var=no"
44354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44355 conftest$ac_exeext conftest.$ac_ext
44357 ac_res=`eval echo '${'$as_ac_var'}'`
44358 { echo "$as_me:$LINENO: result: $ac_res" >&5
44359 echo "${ECHO_T}$ac_res" >&6; }
44360 if test `eval echo '${'$as_ac_var'}'` = yes; then
44361 cat >>confdefs.h <<_ACEOF
44362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44365 cat >>confdefs.h <<\_ACEOF
44366 #define HAVE_SHL_LOAD 1
44373 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44374 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44375 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44376 echo $ECHO_N "(cached) $ECHO_C" >&6
44378 ac_check_lib_save_LIBS=$LIBS
44379 LIBS="-lshl_load $LIBS"
44380 cat >conftest.$ac_ext <<_ACEOF
44383 cat confdefs.h >>conftest.$ac_ext
44384 cat >>conftest.$ac_ext <<_ACEOF
44385 /* end confdefs.h. */
44387 /* Override any GCC internal prototype to avoid an error.
44388 Use char because int might match the return type of a GCC
44389 builtin and then its argument prototype would still apply. */
44402 rm -f conftest.$ac_objext conftest$ac_exeext
44403 if { (ac_try="$ac_link"
44404 case "(($ac_try" in
44405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44406 *) ac_try_echo=$ac_try;;
44408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44409 (eval "$ac_link") 2>conftest.er1
44411 grep -v '^ *+' conftest.er1 >conftest.err
44413 cat conftest.err >&5
44414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44415 (exit $ac_status); } && {
44416 test -z "$ac_c_werror_flag" ||
44417 test ! -s conftest.err
44418 } && test -s conftest$ac_exeext &&
44419 $as_test_x conftest$ac_exeext; then
44420 ac_cv_lib_shl_load_dld=yes
44422 echo "$as_me: failed program was:" >&5
44423 sed 's/^/| /' conftest.$ac_ext >&5
44425 ac_cv_lib_shl_load_dld=no
44428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44429 conftest$ac_exeext conftest.$ac_ext
44430 LIBS=$ac_check_lib_save_LIBS
44432 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44433 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44434 if test $ac_cv_lib_shl_load_dld = yes; then
44437 DL_LINK=" -ldld$DL_LINK"
44453 if test "$HAVE_DL_FUNCS" = 1; then
44455 for ac_func in dlerror
44457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44461 echo $ECHO_N "(cached) $ECHO_C" >&6
44463 cat >conftest.$ac_ext <<_ACEOF
44466 cat confdefs.h >>conftest.$ac_ext
44467 cat >>conftest.$ac_ext <<_ACEOF
44468 /* end confdefs.h. */
44469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44471 #define $ac_func innocuous_$ac_func
44473 /* System header to define __stub macros and hopefully few prototypes,
44474 which can conflict with char $ac_func (); below.
44475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44476 <limits.h> exists even on freestanding compilers. */
44479 # include <limits.h>
44481 # include <assert.h>
44486 /* Override any GCC internal prototype to avoid an error.
44487 Use char because int might match the return type of a GCC
44488 builtin and then its argument prototype would still apply. */
44493 /* The GNU C library defines this for functions which it implements
44494 to always fail with ENOSYS. Some functions are actually named
44495 something starting with __ and the normal name is an alias. */
44496 #if defined __stub_$ac_func || defined __stub___$ac_func
44503 return $ac_func ();
44508 rm -f conftest.$ac_objext conftest$ac_exeext
44509 if { (ac_try="$ac_link"
44510 case "(($ac_try" in
44511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44512 *) ac_try_echo=$ac_try;;
44514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44515 (eval "$ac_link") 2>conftest.er1
44517 grep -v '^ *+' conftest.er1 >conftest.err
44519 cat conftest.err >&5
44520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44521 (exit $ac_status); } && {
44522 test -z "$ac_c_werror_flag" ||
44523 test ! -s conftest.err
44524 } && test -s conftest$ac_exeext &&
44525 $as_test_x conftest$ac_exeext; then
44526 eval "$as_ac_var=yes"
44528 echo "$as_me: failed program was:" >&5
44529 sed 's/^/| /' conftest.$ac_ext >&5
44531 eval "$as_ac_var=no"
44534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44535 conftest$ac_exeext conftest.$ac_ext
44537 ac_res=`eval echo '${'$as_ac_var'}'`
44538 { echo "$as_me:$LINENO: result: $ac_res" >&5
44539 echo "${ECHO_T}$ac_res" >&6; }
44540 if test `eval echo '${'$as_ac_var'}'` = yes; then
44541 cat >>confdefs.h <<_ACEOF
44542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44544 cat >>confdefs.h <<\_ACEOF
44545 #define HAVE_DLERROR 1
44550 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44551 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44552 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44553 echo $ECHO_N "(cached) $ECHO_C" >&6
44555 ac_check_lib_save_LIBS=$LIBS
44557 cat >conftest.$ac_ext <<_ACEOF
44560 cat confdefs.h >>conftest.$ac_ext
44561 cat >>conftest.$ac_ext <<_ACEOF
44562 /* end confdefs.h. */
44564 /* Override any GCC internal prototype to avoid an error.
44565 Use char because int might match the return type of a GCC
44566 builtin and then its argument prototype would still apply. */
44579 rm -f conftest.$ac_objext conftest$ac_exeext
44580 if { (ac_try="$ac_link"
44581 case "(($ac_try" in
44582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44583 *) ac_try_echo=$ac_try;;
44585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44586 (eval "$ac_link") 2>conftest.er1
44588 grep -v '^ *+' conftest.er1 >conftest.err
44590 cat conftest.err >&5
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); } && {
44593 test -z "$ac_c_werror_flag" ||
44594 test ! -s conftest.err
44595 } && test -s conftest$ac_exeext &&
44596 $as_test_x conftest$ac_exeext; then
44597 ac_cv_lib_dl_dlerror=yes
44599 echo "$as_me: failed program was:" >&5
44600 sed 's/^/| /' conftest.$ac_ext >&5
44602 ac_cv_lib_dl_dlerror=no
44605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44606 conftest$ac_exeext conftest.$ac_ext
44607 LIBS=$ac_check_lib_save_LIBS
44609 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44610 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44611 if test $ac_cv_lib_dl_dlerror = yes; then
44612 cat >>confdefs.h <<\_ACEOF
44613 #define HAVE_DLERROR 1
44626 if test "$HAVE_DL_FUNCS" = 0; then
44627 if test "$HAVE_SHL_FUNCS" = 0; then
44628 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44629 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44630 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44631 wxUSE_DYNAMIC_LOADER=no
44632 wxUSE_DYNLIB_CLASS=no
44634 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44635 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44642 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44643 cat >>confdefs.h <<\_ACEOF
44644 #define wxUSE_DYNAMIC_LOADER 1
44648 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44649 cat >>confdefs.h <<\_ACEOF
44650 #define wxUSE_DYNLIB_CLASS 1
44657 if test "$wxUSE_PLUGINS" = "yes" ; then
44658 if test "$wxUSE_SHARED" = "no" ; then
44659 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44660 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44663 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44664 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44665 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44668 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44669 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44670 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44673 if test "$wxUSE_PLUGINS" = "yes" ; then
44674 cat >>confdefs.h <<\_ACEOF
44675 #define wxUSE_PLUGINS 1
44682 if test "$wxUSE_STL" = "yes"; then
44683 cat >>confdefs.h <<\_ACEOF
44684 #define wxUSE_STL 1
44689 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_EXTENDED_RTTI 1
44696 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44697 cat >>confdefs.h <<\_ACEOF
44698 #define wxUSE_APPLE_IEEE 1
44703 if test "$wxUSE_TIMER" = "yes"; then
44704 cat >>confdefs.h <<\_ACEOF
44705 #define wxUSE_TIMER 1
44710 if test "$USE_UNIX" = "1" ; then
44711 if test "$wxUSE_MGL" != 1; then
44712 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44713 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44714 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44715 echo $ECHO_N "(cached) $ECHO_C" >&6
44718 cat >conftest.$ac_ext <<_ACEOF
44721 cat confdefs.h >>conftest.$ac_ext
44722 cat >>conftest.$ac_ext <<_ACEOF
44723 /* end confdefs.h. */
44725 #include <sys/ioctl.h>
44726 #include <sys/soundcard.h>
44732 ioctl(0, SNDCTL_DSP_SPEED, 0);
44738 rm -f conftest.$ac_objext conftest$ac_exeext
44739 if { (ac_try="$ac_link"
44740 case "(($ac_try" in
44741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44742 *) ac_try_echo=$ac_try;;
44744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44745 (eval "$ac_link") 2>conftest.er1
44747 grep -v '^ *+' conftest.er1 >conftest.err
44749 cat conftest.err >&5
44750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44751 (exit $ac_status); } && {
44752 test -z "$ac_c_werror_flag" ||
44753 test ! -s conftest.err
44754 } && test -s conftest$ac_exeext &&
44755 $as_test_x conftest$ac_exeext; then
44756 ac_cv_header_sys_soundcard=yes
44758 echo "$as_me: failed program was:" >&5
44759 sed 's/^/| /' conftest.$ac_ext >&5
44763 LIBS="$saveLibs -lossaudio"
44764 cat >conftest.$ac_ext <<_ACEOF
44767 cat confdefs.h >>conftest.$ac_ext
44768 cat >>conftest.$ac_ext <<_ACEOF
44769 /* end confdefs.h. */
44771 #include <sys/ioctl.h>
44772 #include <sys/soundcard.h>
44778 ioctl(0, SNDCTL_DSP_SPEED, 0);
44784 rm -f conftest.$ac_objext conftest$ac_exeext
44785 if { (ac_try="$ac_link"
44786 case "(($ac_try" in
44787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44788 *) ac_try_echo=$ac_try;;
44790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44791 (eval "$ac_link") 2>conftest.er1
44793 grep -v '^ *+' conftest.er1 >conftest.err
44795 cat conftest.err >&5
44796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44797 (exit $ac_status); } && {
44798 test -z "$ac_c_werror_flag" ||
44799 test ! -s conftest.err
44800 } && test -s conftest$ac_exeext &&
44801 $as_test_x conftest$ac_exeext; then
44802 ac_cv_header_sys_soundcard=yes
44804 echo "$as_me: failed program was:" >&5
44805 sed 's/^/| /' conftest.$ac_ext >&5
44809 ac_cv_header_sys_soundcard=no
44814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44815 conftest$ac_exeext conftest.$ac_ext
44820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44821 conftest$ac_exeext conftest.$ac_ext
44824 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44825 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44828 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44829 cat >>confdefs.h <<\_ACEOF
44830 #define HAVE_SYS_SOUNDCARD_H 1
44837 if test "$wxUSE_SOUND" = "yes"; then
44838 if test "$USE_UNIX" = "1" ; then
44839 if test "$wxUSE_LIBSDL" != "no"; then
44841 # Check whether --with-sdl-prefix was given.
44842 if test "${with_sdl_prefix+set}" = set; then
44843 withval=$with_sdl_prefix; sdl_prefix="$withval"
44849 # Check whether --with-sdl-exec-prefix was given.
44850 if test "${with_sdl_exec_prefix+set}" = set; then
44851 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44856 # Check whether --enable-sdltest was given.
44857 if test "${enable_sdltest+set}" = set; then
44858 enableval=$enable_sdltest;
44864 if test x$sdl_exec_prefix != x ; then
44865 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44866 if test x${SDL_CONFIG+set} != xset ; then
44867 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44870 if test x$sdl_prefix != x ; then
44871 sdl_args="$sdl_args --prefix=$sdl_prefix"
44872 if test x${SDL_CONFIG+set} != xset ; then
44873 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44877 if test "x$prefix" != xNONE; then
44878 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44880 # Extract the first word of "sdl-config", so it can be a program name with args.
44881 set dummy sdl-config; ac_word=$2
44882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44884 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44885 echo $ECHO_N "(cached) $ECHO_C" >&6
44887 case $SDL_CONFIG in
44889 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44893 for as_dir in $PATH
44896 test -z "$as_dir" && as_dir=.
44897 for ac_exec_ext in '' $ac_executable_extensions; do
44898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44899 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44907 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44911 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44912 if test -n "$SDL_CONFIG"; then
44913 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44914 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44916 { echo "$as_me:$LINENO: result: no" >&5
44917 echo "${ECHO_T}no" >&6; }
44921 min_sdl_version=1.2.0
44922 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44923 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44925 if test "$SDL_CONFIG" = "no" ; then
44928 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44929 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44931 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44933 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44935 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44937 if test "x$enable_sdltest" = "xyes" ; then
44938 ac_save_CFLAGS="$CFLAGS"
44939 ac_save_CXXFLAGS="$CXXFLAGS"
44940 ac_save_LIBS="$LIBS"
44941 CFLAGS="$CFLAGS $SDL_CFLAGS"
44942 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44943 LIBS="$LIBS $SDL_LIBS"
44945 if test "$cross_compiling" = yes; then
44946 echo $ac_n "cross compiling; assumed OK... $ac_c"
44948 cat >conftest.$ac_ext <<_ACEOF
44951 cat confdefs.h >>conftest.$ac_ext
44952 cat >>conftest.$ac_ext <<_ACEOF
44953 /* end confdefs.h. */
44956 #include <stdlib.h>
44957 #include <string.h>
44961 my_strdup (char *str)
44967 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44968 strcpy (new_str, str);
44976 int main (int argc, char *argv[])
44978 int major, minor, micro;
44981 /* This hangs on some systems (?)
44982 system ("touch conf.sdltest");
44984 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44986 /* HP/UX 9 (%@#!) writes to sscanf strings */
44987 tmp_version = my_strdup("$min_sdl_version");
44988 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44989 printf("%s, bad version string\n", "$min_sdl_version");
44993 if (($sdl_major_version > major) ||
44994 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44995 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
45001 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
45002 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
45003 printf("*** best to upgrade to the required version.\n");
45004 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
45005 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
45006 printf("*** config.cache before re-running configure\n");
45013 rm -f conftest$ac_exeext
45014 if { (ac_try="$ac_link"
45015 case "(($ac_try" in
45016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45017 *) ac_try_echo=$ac_try;;
45019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45020 (eval "$ac_link") 2>&5
45022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45023 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45024 { (case "(($ac_try" in
45025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45026 *) ac_try_echo=$ac_try;;
45028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45029 (eval "$ac_try") 2>&5
45031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45032 (exit $ac_status); }; }; then
45035 echo "$as_me: program exited with status $ac_status" >&5
45036 echo "$as_me: failed program was:" >&5
45037 sed 's/^/| /' conftest.$ac_ext >&5
45039 ( exit $ac_status )
45042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45046 CFLAGS="$ac_save_CFLAGS"
45047 CXXFLAGS="$ac_save_CXXFLAGS"
45048 LIBS="$ac_save_LIBS"
45051 if test "x$no_sdl" = x ; then
45052 { echo "$as_me:$LINENO: result: yes" >&5
45053 echo "${ECHO_T}yes" >&6; }
45055 EXTRALIBS_SDL="$SDL_LIBS"
45056 CFLAGS="$SDL_CFLAGS $CFLAGS"
45057 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45058 cat >>confdefs.h <<\_ACEOF
45059 #define wxUSE_LIBSDL 1
45064 { echo "$as_me:$LINENO: result: no" >&5
45065 echo "${ECHO_T}no" >&6; }
45066 if test "$SDL_CONFIG" = "no" ; then
45067 echo "*** The sdl-config script installed by SDL could not be found"
45068 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45069 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45070 echo "*** full path to sdl-config."
45072 if test -f conf.sdltest ; then
45075 echo "*** Could not run SDL test program, checking why..."
45076 CFLAGS="$CFLAGS $SDL_CFLAGS"
45077 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45078 LIBS="$LIBS $SDL_LIBS"
45079 cat >conftest.$ac_ext <<_ACEOF
45082 cat confdefs.h >>conftest.$ac_ext
45083 cat >>conftest.$ac_ext <<_ACEOF
45084 /* end confdefs.h. */
45089 int main(int argc, char *argv[])
45092 #define main K_and_R_C_main
45102 rm -f conftest.$ac_objext conftest$ac_exeext
45103 if { (ac_try="$ac_link"
45104 case "(($ac_try" in
45105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45106 *) ac_try_echo=$ac_try;;
45108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45109 (eval "$ac_link") 2>conftest.er1
45111 grep -v '^ *+' conftest.er1 >conftest.err
45113 cat conftest.err >&5
45114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45115 (exit $ac_status); } && {
45116 test -z "$ac_c_werror_flag" ||
45117 test ! -s conftest.err
45118 } && test -s conftest$ac_exeext &&
45119 $as_test_x conftest$ac_exeext; then
45120 echo "*** The test program compiled, but did not run. This usually means"
45121 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45122 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45123 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45124 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45125 echo "*** is required on your system"
45127 echo "*** If you have an old version installed, it is best to remove it, although"
45128 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45130 echo "$as_me: failed program was:" >&5
45131 sed 's/^/| /' conftest.$ac_ext >&5
45133 echo "*** The test program failed to compile or link. See the file config.log for the"
45134 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45135 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45136 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45140 conftest$ac_exeext conftest.$ac_ext
45141 CFLAGS="$ac_save_CFLAGS"
45142 CXXFLAGS="$ac_save_CXXFLAGS"
45143 LIBS="$ac_save_LIBS"
45154 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45159 if test "$wxUSE_MGL" = 1; then
45160 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45161 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45167 if test "$wxUSE_SOUND" = "yes"; then
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_SOUND 1
45172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45175 if test "$WXGTK20" = 1; then
45178 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45179 if test -n "$ac_tool_prefix"; then
45180 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45181 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45184 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45185 echo $ECHO_N "(cached) $ECHO_C" >&6
45187 case $PKG_CONFIG in
45189 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45193 for as_dir in $PATH
45196 test -z "$as_dir" && as_dir=.
45197 for ac_exec_ext in '' $ac_executable_extensions; do
45198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45199 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45210 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45211 if test -n "$PKG_CONFIG"; then
45212 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45213 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45215 { echo "$as_me:$LINENO: result: no" >&5
45216 echo "${ECHO_T}no" >&6; }
45221 if test -z "$ac_cv_path_PKG_CONFIG"; then
45222 ac_pt_PKG_CONFIG=$PKG_CONFIG
45223 # Extract the first word of "pkg-config", so it can be a program name with args.
45224 set dummy pkg-config; ac_word=$2
45225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45227 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45228 echo $ECHO_N "(cached) $ECHO_C" >&6
45230 case $ac_pt_PKG_CONFIG in
45232 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45236 for as_dir in $PATH
45239 test -z "$as_dir" && as_dir=.
45240 for ac_exec_ext in '' $ac_executable_extensions; do
45241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45242 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45253 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45254 if test -n "$ac_pt_PKG_CONFIG"; then
45255 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45256 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45258 { echo "$as_me:$LINENO: result: no" >&5
45259 echo "${ECHO_T}no" >&6; }
45262 if test "x$ac_pt_PKG_CONFIG" = x; then
45265 case $cross_compiling:$ac_tool_warned in
45267 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45268 whose name does not start with the host triplet. If you think this
45269 configuration is useful to you, please write to autoconf@gnu.org." >&5
45270 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45271 whose name does not start with the host triplet. If you think this
45272 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45273 ac_tool_warned=yes ;;
45275 PKG_CONFIG=$ac_pt_PKG_CONFIG
45278 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45282 if test -n "$PKG_CONFIG"; then
45283 _pkg_min_version=0.9.0
45284 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45285 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45286 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45287 { echo "$as_me:$LINENO: result: yes" >&5
45288 echo "${ECHO_T}yes" >&6; }
45290 { echo "$as_me:$LINENO: result: no" >&5
45291 echo "${ECHO_T}no" >&6; }
45297 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45298 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45302 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45303 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45305 if test -n "$PKG_CONFIG"; then
45306 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45307 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45309 if test -n "$PKG_CONFIG" && \
45310 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45311 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45314 (exit $ac_status); }; then
45315 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45323 if test -n "$PKG_CONFIG"; then
45324 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45325 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45327 if test -n "$PKG_CONFIG" && \
45328 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45329 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45332 (exit $ac_status); }; then
45333 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45344 if test $pkg_failed = yes; then
45346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45347 _pkg_short_errors_supported=yes
45349 _pkg_short_errors_supported=no
45351 if test $_pkg_short_errors_supported = yes; then
45352 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45354 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45356 # Put the nasty error message in config.log where it belongs
45357 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45360 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45361 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45362 wxUSE_LIBGNOMEPRINT="no"
45365 elif test $pkg_failed = untried; then
45367 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45368 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45369 wxUSE_LIBGNOMEPRINT="no"
45373 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45374 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45375 { echo "$as_me:$LINENO: result: yes" >&5
45376 echo "${ECHO_T}yes" >&6; }
45378 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45379 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_LIBGNOMEPRINT 1
45389 if test "$wxUSE_MIMETYPE" = "yes" ; then
45390 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45394 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45395 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45397 if test -n "$PKG_CONFIG"; then
45398 if test -n "$GNOMEVFS_CFLAGS"; then
45399 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45401 if test -n "$PKG_CONFIG" && \
45402 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45403 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45406 (exit $ac_status); }; then
45407 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45415 if test -n "$PKG_CONFIG"; then
45416 if test -n "$GNOMEVFS_LIBS"; then
45417 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45419 if test -n "$PKG_CONFIG" && \
45420 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45421 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45424 (exit $ac_status); }; then
45425 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45436 if test $pkg_failed = yes; then
45438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45439 _pkg_short_errors_supported=yes
45441 _pkg_short_errors_supported=no
45443 if test $_pkg_short_errors_supported = yes; then
45444 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45446 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45448 # Put the nasty error message in config.log where it belongs
45449 echo "$GNOMEVFS_PKG_ERRORS" >&5
45452 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45453 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45454 wxUSE_LIBGNOMEVFS="no"
45457 elif test $pkg_failed = untried; then
45459 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45460 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45461 wxUSE_LIBGNOMEVFS="no"
45465 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45466 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45467 { echo "$as_me:$LINENO: result: yes" >&5
45468 echo "${ECHO_T}yes" >&6; }
45470 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45471 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45472 cat >>confdefs.h <<\_ACEOF
45473 #define wxUSE_LIBGNOMEVFS 1
45481 if test "$wxUSE_LIBHILDON" = "yes" ; then
45484 { echo "$as_me:$LINENO: checking for HILDON" >&5
45485 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45487 if test -n "$PKG_CONFIG"; then
45488 if test -n "$HILDON_CFLAGS"; then
45489 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45491 if test -n "$PKG_CONFIG" && \
45492 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45493 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45496 (exit $ac_status); }; then
45497 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45505 if test -n "$PKG_CONFIG"; then
45506 if test -n "$HILDON_LIBS"; then
45507 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45509 if test -n "$PKG_CONFIG" && \
45510 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45511 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514 (exit $ac_status); }; then
45515 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45526 if test $pkg_failed = yes; then
45528 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45529 _pkg_short_errors_supported=yes
45531 _pkg_short_errors_supported=no
45533 if test $_pkg_short_errors_supported = yes; then
45534 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45536 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45538 # Put the nasty error message in config.log where it belongs
45539 echo "$HILDON_PKG_ERRORS" >&5
45542 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45543 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45544 wxUSE_LIBHILDON="no"
45547 elif test $pkg_failed = untried; then
45549 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45550 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45551 wxUSE_LIBHILDON="no"
45555 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45556 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45557 { echo "$as_me:$LINENO: result: yes" >&5
45558 echo "${ECHO_T}yes" >&6; }
45560 EXTRALIBS_HILDON="$HILDON_LIBS"
45561 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45562 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_LIBHILDON 1
45572 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_CMDLINE_PARSER 1
45579 if test "$wxUSE_STOPWATCH" = "yes"; then
45580 cat >>confdefs.h <<\_ACEOF
45581 #define wxUSE_STOPWATCH 1
45586 if test "$wxUSE_DATETIME" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_DATETIME 1
45593 if test "$wxUSE_FILE" = "yes"; then
45594 cat >>confdefs.h <<\_ACEOF
45595 #define wxUSE_FILE 1
45600 if test "$wxUSE_FFILE" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_FFILE 1
45607 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45608 if test "$wxUSE_STREAMS" != yes; then
45609 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45610 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45611 wxUSE_ARCHIVE_STREAMS=no
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_ARCHIVE_STREAMS 1
45620 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45621 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45622 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45623 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45624 elif test "$wxUSE_ZLIB" = "no"; then
45625 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45626 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_ZIPSTREAM 1
45635 if test "$wxUSE_TARSTREAM" = "yes"; then
45636 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45637 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45638 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_TARSTREAM 1
45647 if test "$wxUSE_FILESYSTEM" = "yes"; then
45648 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45649 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45650 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45651 wxUSE_FILESYSTEM=no
45653 cat >>confdefs.h <<\_ACEOF
45654 #define wxUSE_FILESYSTEM 1
45660 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45661 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45662 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45663 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_FS_ARCHIVE 1
45672 if test "$wxUSE_FS_ZIP" = "yes"; then
45673 if test "$wxUSE_FS_ARCHIVE" != yes; then
45674 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45675 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_FS_ZIP 1
45684 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45685 if test "$USE_UNIX" != 1; then
45686 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45687 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45688 wxUSE_ON_FATAL_EXCEPTION=no
45690 cat >>confdefs.h <<\_ACEOF
45691 #define wxUSE_ON_FATAL_EXCEPTION 1
45697 if test "$wxUSE_STACKWALKER" = "yes"; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_STACKWALKER 1
45704 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45705 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45706 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45707 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45708 wxUSE_DEBUGREPORT=no
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_DEBUGREPORT 1
45714 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45720 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45721 cat >>confdefs.h <<\_ACEOF
45722 #define wxUSE_SNGLINST_CHECKER 1
45727 if test "$wxUSE_BUSYINFO" = "yes"; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_BUSYINFO 1
45734 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_STD_IOSTREAM 1
45741 if test "$wxUSE_STD_STRING" = "yes"; then
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_STD_STRING 1
45748 if test "$wxUSE_STDPATHS" = "yes"; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_STDPATHS 1
45755 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_TEXTBUFFER 1
45762 if test "$wxUSE_TEXTFILE" = "yes"; then
45763 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45764 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45765 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_TEXTFILE 1
45774 if test "$wxUSE_CONFIG" = "yes" ; then
45775 if test "$wxUSE_TEXTFILE" != "yes"; then
45776 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45777 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45779 cat >>confdefs.h <<\_ACEOF
45780 #define wxUSE_CONFIG 1
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_CONFIG_NATIVE 1
45787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45791 if test "$wxUSE_INTL" = "yes" ; then
45792 if test "$wxUSE_FILE" != "yes"; then
45793 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45794 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45796 cat >>confdefs.h <<\_ACEOF
45797 #define wxUSE_INTL 1
45800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45801 GUIDIST="$GUIDIST INTL_DIST"
45805 if test "$wxUSE_LOG" = "yes"; then
45806 cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_LOG 1
45811 if test "$wxUSE_LOGGUI" = "yes"; then
45812 cat >>confdefs.h <<\_ACEOF
45813 #define wxUSE_LOGGUI 1
45818 if test "$wxUSE_LOGWINDOW" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_LOGWINDOW 1
45825 if test "$wxUSE_LOGDIALOG" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_LOG_DIALOG 1
45832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45835 if test "$wxUSE_LONGLONG" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_LONGLONG 1
45842 if test "$wxUSE_GEOMETRY" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_GEOMETRY 1
45849 if test "$wxUSE_BASE64" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_BASE64 1
45856 if test "$wxUSE_STREAMS" = "yes" ; then
45857 cat >>confdefs.h <<\_ACEOF
45858 #define wxUSE_STREAMS 1
45863 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_PRINTF_POS_PARAMS 1
45870 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_OBJC_UNIQUIFYING 1
45878 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45879 cat >>confdefs.h <<\_ACEOF
45880 #define wxUSE_CONSOLE_EVENTLOOP 1
45884 if test "$wxUSE_UNIX" = "yes"; then
45885 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_SELECT_DISPATCHER 1
45892 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45894 for ac_header in sys/epoll.h
45896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45897 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45900 echo $ECHO_N "(cached) $ECHO_C" >&6
45902 cat >conftest.$ac_ext <<_ACEOF
45905 cat confdefs.h >>conftest.$ac_ext
45906 cat >>conftest.$ac_ext <<_ACEOF
45907 /* end confdefs.h. */
45908 $ac_includes_default
45910 #include <$ac_header>
45912 rm -f conftest.$ac_objext
45913 if { (ac_try="$ac_compile"
45914 case "(($ac_try" in
45915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45916 *) ac_try_echo=$ac_try;;
45918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45919 (eval "$ac_compile") 2>conftest.er1
45921 grep -v '^ *+' conftest.er1 >conftest.err
45923 cat conftest.err >&5
45924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45925 (exit $ac_status); } && {
45926 test -z "$ac_c_werror_flag" ||
45927 test ! -s conftest.err
45928 } && test -s conftest.$ac_objext; then
45929 eval "$as_ac_Header=yes"
45931 echo "$as_me: failed program was:" >&5
45932 sed 's/^/| /' conftest.$ac_ext >&5
45934 eval "$as_ac_Header=no"
45937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45939 ac_res=`eval echo '${'$as_ac_Header'}'`
45940 { echo "$as_me:$LINENO: result: $ac_res" >&5
45941 echo "${ECHO_T}$ac_res" >&6; }
45942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45943 cat >>confdefs.h <<_ACEOF
45944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45951 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_EPOLL_DISPATCHER 1
45957 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45958 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45967 for ac_func in gettimeofday ftime
45969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45970 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45972 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45973 echo $ECHO_N "(cached) $ECHO_C" >&6
45975 cat >conftest.$ac_ext <<_ACEOF
45978 cat confdefs.h >>conftest.$ac_ext
45979 cat >>conftest.$ac_ext <<_ACEOF
45980 /* end confdefs.h. */
45981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45983 #define $ac_func innocuous_$ac_func
45985 /* System header to define __stub macros and hopefully few prototypes,
45986 which can conflict with char $ac_func (); below.
45987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45988 <limits.h> exists even on freestanding compilers. */
45991 # include <limits.h>
45993 # include <assert.h>
45998 /* Override any GCC internal prototype to avoid an error.
45999 Use char because int might match the return type of a GCC
46000 builtin and then its argument prototype would still apply. */
46005 /* The GNU C library defines this for functions which it implements
46006 to always fail with ENOSYS. Some functions are actually named
46007 something starting with __ and the normal name is an alias. */
46008 #if defined __stub_$ac_func || defined __stub___$ac_func
46015 return $ac_func ();
46020 rm -f conftest.$ac_objext conftest$ac_exeext
46021 if { (ac_try="$ac_link"
46022 case "(($ac_try" in
46023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46024 *) ac_try_echo=$ac_try;;
46026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46027 (eval "$ac_link") 2>conftest.er1
46029 grep -v '^ *+' conftest.er1 >conftest.err
46031 cat conftest.err >&5
46032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46033 (exit $ac_status); } && {
46034 test -z "$ac_c_werror_flag" ||
46035 test ! -s conftest.err
46036 } && test -s conftest$ac_exeext &&
46037 $as_test_x conftest$ac_exeext; then
46038 eval "$as_ac_var=yes"
46040 echo "$as_me: failed program was:" >&5
46041 sed 's/^/| /' conftest.$ac_ext >&5
46043 eval "$as_ac_var=no"
46046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46047 conftest$ac_exeext conftest.$ac_ext
46049 ac_res=`eval echo '${'$as_ac_var'}'`
46050 { echo "$as_me:$LINENO: result: $ac_res" >&5
46051 echo "${ECHO_T}$ac_res" >&6; }
46052 if test `eval echo '${'$as_ac_var'}'` = yes; then
46053 cat >>confdefs.h <<_ACEOF
46054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46061 if test "$ac_cv_func_gettimeofday" = "yes"; then
46062 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46063 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46064 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46065 echo $ECHO_N "(cached) $ECHO_C" >&6
46068 cat >conftest.$ac_ext <<_ACEOF
46071 cat confdefs.h >>conftest.$ac_ext
46072 cat >>conftest.$ac_ext <<_ACEOF
46073 /* end confdefs.h. */
46075 #include <sys/time.h>
46076 #include <unistd.h>
46083 gettimeofday(&tv, NULL);
46089 rm -f conftest.$ac_objext
46090 if { (ac_try="$ac_compile"
46091 case "(($ac_try" in
46092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46093 *) ac_try_echo=$ac_try;;
46095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46096 (eval "$ac_compile") 2>conftest.er1
46098 grep -v '^ *+' conftest.er1 >conftest.err
46100 cat conftest.err >&5
46101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46102 (exit $ac_status); } && {
46103 test -z "$ac_c_werror_flag" ||
46104 test ! -s conftest.err
46105 } && test -s conftest.$ac_objext; then
46106 wx_cv_func_gettimeofday_has_2_args=yes
46108 echo "$as_me: failed program was:" >&5
46109 sed 's/^/| /' conftest.$ac_ext >&5
46111 cat >conftest.$ac_ext <<_ACEOF
46114 cat confdefs.h >>conftest.$ac_ext
46115 cat >>conftest.$ac_ext <<_ACEOF
46116 /* end confdefs.h. */
46118 #include <sys/time.h>
46119 #include <unistd.h>
46132 rm -f conftest.$ac_objext
46133 if { (ac_try="$ac_compile"
46134 case "(($ac_try" in
46135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46136 *) ac_try_echo=$ac_try;;
46138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46139 (eval "$ac_compile") 2>conftest.er1
46141 grep -v '^ *+' conftest.er1 >conftest.err
46143 cat conftest.err >&5
46144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145 (exit $ac_status); } && {
46146 test -z "$ac_c_werror_flag" ||
46147 test ! -s conftest.err
46148 } && test -s conftest.$ac_objext; then
46149 wx_cv_func_gettimeofday_has_2_args=no
46151 echo "$as_me: failed program was:" >&5
46152 sed 's/^/| /' conftest.$ac_ext >&5
46155 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46156 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46157 wx_cv_func_gettimeofday_has_2_args=unknown
46162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46169 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46170 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46172 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46173 cat >>confdefs.h <<\_ACEOF
46174 #define WX_GETTIMEOFDAY_NO_TZ 1
46180 if test "$wxUSE_DATETIME" = "yes"; then
46181 { echo "$as_me:$LINENO: checking for strptime" >&5
46182 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46183 if test "${ac_cv_func_strptime+set}" = set; then
46184 echo $ECHO_N "(cached) $ECHO_C" >&6
46186 cat >conftest.$ac_ext <<_ACEOF
46189 cat confdefs.h >>conftest.$ac_ext
46190 cat >>conftest.$ac_ext <<_ACEOF
46191 /* end confdefs.h. */
46192 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46194 #define strptime innocuous_strptime
46196 /* System header to define __stub macros and hopefully few prototypes,
46197 which can conflict with char strptime (); below.
46198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46199 <limits.h> exists even on freestanding compilers. */
46202 # include <limits.h>
46204 # include <assert.h>
46209 /* Override any GCC internal prototype to avoid an error.
46210 Use char because int might match the return type of a GCC
46211 builtin and then its argument prototype would still apply. */
46216 /* The GNU C library defines this for functions which it implements
46217 to always fail with ENOSYS. Some functions are actually named
46218 something starting with __ and the normal name is an alias. */
46219 #if defined __stub_strptime || defined __stub___strptime
46226 return strptime ();
46231 rm -f conftest.$ac_objext conftest$ac_exeext
46232 if { (ac_try="$ac_link"
46233 case "(($ac_try" in
46234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46235 *) ac_try_echo=$ac_try;;
46237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46238 (eval "$ac_link") 2>conftest.er1
46240 grep -v '^ *+' conftest.er1 >conftest.err
46242 cat conftest.err >&5
46243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46244 (exit $ac_status); } && {
46245 test -z "$ac_c_werror_flag" ||
46246 test ! -s conftest.err
46247 } && test -s conftest$ac_exeext &&
46248 $as_test_x conftest$ac_exeext; then
46249 ac_cv_func_strptime=yes
46251 echo "$as_me: failed program was:" >&5
46252 sed 's/^/| /' conftest.$ac_ext >&5
46254 ac_cv_func_strptime=no
46257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46258 conftest$ac_exeext conftest.$ac_ext
46260 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46261 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46263 if test "$ac_cv_func_strptime" = "yes"; then
46264 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46265 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46266 if test "${wx_cv_func_strptime_decl+set}" = set; then
46267 echo $ECHO_N "(cached) $ECHO_C" >&6
46271 ac_cpp='$CXXCPP $CPPFLAGS'
46272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46276 cat >conftest.$ac_ext <<_ACEOF
46279 cat confdefs.h >>conftest.$ac_ext
46280 cat >>conftest.$ac_ext <<_ACEOF
46281 /* end confdefs.h. */
46290 strptime("foo", "bar", &t);
46296 rm -f conftest.$ac_objext
46297 if { (ac_try="$ac_compile"
46298 case "(($ac_try" in
46299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46300 *) ac_try_echo=$ac_try;;
46302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46303 (eval "$ac_compile") 2>conftest.er1
46305 grep -v '^ *+' conftest.er1 >conftest.err
46307 cat conftest.err >&5
46308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46309 (exit $ac_status); } && {
46310 test -z "$ac_cxx_werror_flag" ||
46311 test ! -s conftest.err
46312 } && test -s conftest.$ac_objext; then
46313 wx_cv_func_strptime_decl=yes
46315 echo "$as_me: failed program was:" >&5
46316 sed 's/^/| /' conftest.$ac_ext >&5
46318 wx_cv_func_strptime_decl=no
46322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46324 ac_cpp='$CPP $CPPFLAGS'
46325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46332 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46333 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46335 if test "$wx_cv_func_strptime_decl" = "yes"; then
46336 cat >>confdefs.h <<\_ACEOF
46337 #define HAVE_STRPTIME_DECL 1
46341 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46343 if test "$ac_cv_func_strptime" = "yes"; then
46344 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46345 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46346 if test "${wx_cv_func_strptime_ok+set}" = set; then
46347 echo $ECHO_N "(cached) $ECHO_C" >&6
46349 if test "$cross_compiling" = yes; then
46350 wx_cv_func_strptime_ok=no
46353 cat >conftest.$ac_ext <<_ACEOF
46355 #include <stdlib.h>
46357 #include "confdefs.h"
46364 return !!strptime("", "%x", &t);
46368 rm -f conftest$ac_exeext
46369 if { (ac_try="$ac_link"
46370 case "(($ac_try" in
46371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46372 *) ac_try_echo=$ac_try;;
46374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46375 (eval "$ac_link") 2>&5
46377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46379 { (case "(($ac_try" in
46380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46381 *) ac_try_echo=$ac_try;;
46383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46384 (eval "$ac_try") 2>&5
46386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387 (exit $ac_status); }; }; then
46388 wx_cv_func_strptime_ok=yes
46390 echo "$as_me: program exited with status $ac_status" >&5
46391 echo "$as_me: failed program was:" >&5
46392 sed 's/^/| /' conftest.$ac_ext >&5
46394 ( exit $ac_status )
46395 wx_cv_func_strptime_ok=no
46397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46403 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46404 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46406 if test "$wx_cv_func_strptime_ok" = "yes"; then
46407 cat >>confdefs.h <<\_ACEOF
46408 #define HAVE_STRPTIME 1
46414 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46415 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46416 if test "${wx_cv_var_timezone+set}" = set; then
46417 echo $ECHO_N "(cached) $ECHO_C" >&6
46421 ac_cpp='$CXXCPP $CPPFLAGS'
46422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46426 cat >conftest.$ac_ext <<_ACEOF
46429 cat confdefs.h >>conftest.$ac_ext
46430 cat >>conftest.$ac_ext <<_ACEOF
46431 /* end confdefs.h. */
46446 rm -f conftest.$ac_objext
46447 if { (ac_try="$ac_compile"
46448 case "(($ac_try" in
46449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46450 *) ac_try_echo=$ac_try;;
46452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46453 (eval "$ac_compile") 2>conftest.er1
46455 grep -v '^ *+' conftest.er1 >conftest.err
46457 cat conftest.err >&5
46458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46459 (exit $ac_status); } && {
46460 test -z "$ac_cxx_werror_flag" ||
46461 test ! -s conftest.err
46462 } && test -s conftest.$ac_objext; then
46464 wx_cv_var_timezone=timezone
46467 echo "$as_me: failed program was:" >&5
46468 sed 's/^/| /' conftest.$ac_ext >&5
46471 cat >conftest.$ac_ext <<_ACEOF
46474 cat confdefs.h >>conftest.$ac_ext
46475 cat >>conftest.$ac_ext <<_ACEOF
46476 /* end confdefs.h. */
46491 rm -f conftest.$ac_objext
46492 if { (ac_try="$ac_compile"
46493 case "(($ac_try" in
46494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46495 *) ac_try_echo=$ac_try;;
46497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46498 (eval "$ac_compile") 2>conftest.er1
46500 grep -v '^ *+' conftest.er1 >conftest.err
46502 cat conftest.err >&5
46503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46504 (exit $ac_status); } && {
46505 test -z "$ac_cxx_werror_flag" ||
46506 test ! -s conftest.err
46507 } && test -s conftest.$ac_objext; then
46509 wx_cv_var_timezone=_timezone
46512 echo "$as_me: failed program was:" >&5
46513 sed 's/^/| /' conftest.$ac_ext >&5
46516 cat >conftest.$ac_ext <<_ACEOF
46519 cat confdefs.h >>conftest.$ac_ext
46520 cat >>conftest.$ac_ext <<_ACEOF
46521 /* end confdefs.h. */
46536 rm -f conftest.$ac_objext
46537 if { (ac_try="$ac_compile"
46538 case "(($ac_try" in
46539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46540 *) ac_try_echo=$ac_try;;
46542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46543 (eval "$ac_compile") 2>conftest.er1
46545 grep -v '^ *+' conftest.er1 >conftest.err
46547 cat conftest.err >&5
46548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46549 (exit $ac_status); } && {
46550 test -z "$ac_cxx_werror_flag" ||
46551 test ! -s conftest.err
46552 } && test -s conftest.$ac_objext; then
46554 wx_cv_var_timezone=__timezone
46557 echo "$as_me: failed program was:" >&5
46558 sed 's/^/| /' conftest.$ac_ext >&5
46561 if test "$USE_DOS" = 0 ; then
46562 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46563 echo "$as_me: WARNING: no timezone variable" >&2;}
46569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46581 ac_cpp='$CPP $CPPFLAGS'
46582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46589 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46590 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46592 if test "x$wx_cv_var_timezone" != x ; then
46593 cat >>confdefs.h <<_ACEOF
46594 #define WX_TIMEZONE $wx_cv_var_timezone
46600 for ac_func in localtime
46602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46606 echo $ECHO_N "(cached) $ECHO_C" >&6
46608 cat >conftest.$ac_ext <<_ACEOF
46611 cat confdefs.h >>conftest.$ac_ext
46612 cat >>conftest.$ac_ext <<_ACEOF
46613 /* end confdefs.h. */
46614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46616 #define $ac_func innocuous_$ac_func
46618 /* System header to define __stub macros and hopefully few prototypes,
46619 which can conflict with char $ac_func (); below.
46620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46621 <limits.h> exists even on freestanding compilers. */
46624 # include <limits.h>
46626 # include <assert.h>
46631 /* Override any GCC internal prototype to avoid an error.
46632 Use char because int might match the return type of a GCC
46633 builtin and then its argument prototype would still apply. */
46638 /* The GNU C library defines this for functions which it implements
46639 to always fail with ENOSYS. Some functions are actually named
46640 something starting with __ and the normal name is an alias. */
46641 #if defined __stub_$ac_func || defined __stub___$ac_func
46648 return $ac_func ();
46653 rm -f conftest.$ac_objext conftest$ac_exeext
46654 if { (ac_try="$ac_link"
46655 case "(($ac_try" in
46656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46657 *) ac_try_echo=$ac_try;;
46659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46660 (eval "$ac_link") 2>conftest.er1
46662 grep -v '^ *+' conftest.er1 >conftest.err
46664 cat conftest.err >&5
46665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46666 (exit $ac_status); } && {
46667 test -z "$ac_c_werror_flag" ||
46668 test ! -s conftest.err
46669 } && test -s conftest$ac_exeext &&
46670 $as_test_x conftest$ac_exeext; then
46671 eval "$as_ac_var=yes"
46673 echo "$as_me: failed program was:" >&5
46674 sed 's/^/| /' conftest.$ac_ext >&5
46676 eval "$as_ac_var=no"
46679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46680 conftest$ac_exeext conftest.$ac_ext
46682 ac_res=`eval echo '${'$as_ac_var'}'`
46683 { echo "$as_me:$LINENO: result: $ac_res" >&5
46684 echo "${ECHO_T}$ac_res" >&6; }
46685 if test `eval echo '${'$as_ac_var'}'` = yes; then
46686 cat >>confdefs.h <<_ACEOF
46687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46694 if test "$ac_cv_func_localtime" = "yes"; then
46695 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46696 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46697 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46698 echo $ECHO_N "(cached) $ECHO_C" >&6
46701 cat >conftest.$ac_ext <<_ACEOF
46704 cat confdefs.h >>conftest.$ac_ext
46705 cat >>conftest.$ac_ext <<_ACEOF
46706 /* end confdefs.h. */
46721 rm -f conftest.$ac_objext
46722 if { (ac_try="$ac_compile"
46723 case "(($ac_try" in
46724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46725 *) ac_try_echo=$ac_try;;
46727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46728 (eval "$ac_compile") 2>conftest.er1
46730 grep -v '^ *+' conftest.er1 >conftest.err
46732 cat conftest.err >&5
46733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46734 (exit $ac_status); } && {
46735 test -z "$ac_c_werror_flag" ||
46736 test ! -s conftest.err
46737 } && test -s conftest.$ac_objext; then
46739 wx_cv_struct_tm_has_gmtoff=yes
46742 echo "$as_me: failed program was:" >&5
46743 sed 's/^/| /' conftest.$ac_ext >&5
46745 wx_cv_struct_tm_has_gmtoff=no
46749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46752 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46753 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46756 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46757 cat >>confdefs.h <<\_ACEOF
46758 #define WX_GMTOFF_IN_TM 1
46763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46767 if test "$wxUSE_SOCKETS" = "yes"; then
46768 if test "$wxUSE_MGL" = "1"; then
46769 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46770 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46775 if test "$wxUSE_SOCKETS" = "yes"; then
46776 if test "$TOOLKIT" != "MSW"; then
46777 { echo "$as_me:$LINENO: checking for socket" >&5
46778 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46779 if test "${ac_cv_func_socket+set}" = set; then
46780 echo $ECHO_N "(cached) $ECHO_C" >&6
46782 cat >conftest.$ac_ext <<_ACEOF
46785 cat confdefs.h >>conftest.$ac_ext
46786 cat >>conftest.$ac_ext <<_ACEOF
46787 /* end confdefs.h. */
46788 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46790 #define socket innocuous_socket
46792 /* System header to define __stub macros and hopefully few prototypes,
46793 which can conflict with char socket (); below.
46794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46795 <limits.h> exists even on freestanding compilers. */
46798 # include <limits.h>
46800 # include <assert.h>
46805 /* Override any GCC internal prototype to avoid an error.
46806 Use char because int might match the return type of a GCC
46807 builtin and then its argument prototype would still apply. */
46812 /* The GNU C library defines this for functions which it implements
46813 to always fail with ENOSYS. Some functions are actually named
46814 something starting with __ and the normal name is an alias. */
46815 #if defined __stub_socket || defined __stub___socket
46827 rm -f conftest.$ac_objext conftest$ac_exeext
46828 if { (ac_try="$ac_link"
46829 case "(($ac_try" in
46830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46831 *) ac_try_echo=$ac_try;;
46833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46834 (eval "$ac_link") 2>conftest.er1
46836 grep -v '^ *+' conftest.er1 >conftest.err
46838 cat conftest.err >&5
46839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46840 (exit $ac_status); } && {
46841 test -z "$ac_c_werror_flag" ||
46842 test ! -s conftest.err
46843 } && test -s conftest$ac_exeext &&
46844 $as_test_x conftest$ac_exeext; then
46845 ac_cv_func_socket=yes
46847 echo "$as_me: failed program was:" >&5
46848 sed 's/^/| /' conftest.$ac_ext >&5
46850 ac_cv_func_socket=no
46853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46854 conftest$ac_exeext conftest.$ac_ext
46856 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46857 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46858 if test $ac_cv_func_socket = yes; then
46862 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46863 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46864 if test "${ac_cv_lib_socket_socket+set}" = set; then
46865 echo $ECHO_N "(cached) $ECHO_C" >&6
46867 ac_check_lib_save_LIBS=$LIBS
46868 LIBS="-lsocket $LIBS"
46869 cat >conftest.$ac_ext <<_ACEOF
46872 cat confdefs.h >>conftest.$ac_ext
46873 cat >>conftest.$ac_ext <<_ACEOF
46874 /* end confdefs.h. */
46876 /* Override any GCC internal prototype to avoid an error.
46877 Use char because int might match the return type of a GCC
46878 builtin and then its argument prototype would still apply. */
46891 rm -f conftest.$ac_objext conftest$ac_exeext
46892 if { (ac_try="$ac_link"
46893 case "(($ac_try" in
46894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46895 *) ac_try_echo=$ac_try;;
46897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46898 (eval "$ac_link") 2>conftest.er1
46900 grep -v '^ *+' conftest.er1 >conftest.err
46902 cat conftest.err >&5
46903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46904 (exit $ac_status); } && {
46905 test -z "$ac_c_werror_flag" ||
46906 test ! -s conftest.err
46907 } && test -s conftest$ac_exeext &&
46908 $as_test_x conftest$ac_exeext; then
46909 ac_cv_lib_socket_socket=yes
46911 echo "$as_me: failed program was:" >&5
46912 sed 's/^/| /' conftest.$ac_ext >&5
46914 ac_cv_lib_socket_socket=no
46917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46918 conftest$ac_exeext conftest.$ac_ext
46919 LIBS=$ac_check_lib_save_LIBS
46921 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46922 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46923 if test $ac_cv_lib_socket_socket = yes; then
46924 if test "$INET_LINK" != " -lsocket"; then
46925 INET_LINK="$INET_LINK -lsocket"
46929 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46930 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46943 if test "$wxUSE_SOCKETS" = "yes" ; then
46944 if test "$TOOLKIT" != "MSW"; then
46945 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46946 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46947 if test "${wx_cv_type_getsockname3+set}" = set; then
46948 echo $ECHO_N "(cached) $ECHO_C" >&6
46952 ac_cpp='$CXXCPP $CPPFLAGS'
46953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46957 cat >conftest.$ac_ext <<_ACEOF
46960 cat confdefs.h >>conftest.$ac_ext
46961 cat >>conftest.$ac_ext <<_ACEOF
46962 /* end confdefs.h. */
46964 #include <sys/types.h>
46965 #include <sys/socket.h>
46972 getsockname(0, 0, &len);
46978 rm -f conftest.$ac_objext
46979 if { (ac_try="$ac_compile"
46980 case "(($ac_try" in
46981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46982 *) ac_try_echo=$ac_try;;
46984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46985 (eval "$ac_compile") 2>conftest.er1
46987 grep -v '^ *+' conftest.er1 >conftest.err
46989 cat conftest.err >&5
46990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46991 (exit $ac_status); } && {
46992 test -z "$ac_cxx_werror_flag" ||
46993 test ! -s conftest.err
46994 } && test -s conftest.$ac_objext; then
46995 wx_cv_type_getsockname3=socklen_t
46997 echo "$as_me: failed program was:" >&5
46998 sed 's/^/| /' conftest.$ac_ext >&5
47001 CFLAGS_OLD="$CFLAGS"
47002 if test "$GCC" = yes ; then
47003 CFLAGS="-Werror $CFLAGS"
47006 cat >conftest.$ac_ext <<_ACEOF
47009 cat confdefs.h >>conftest.$ac_ext
47010 cat >>conftest.$ac_ext <<_ACEOF
47011 /* end confdefs.h. */
47013 #include <sys/types.h>
47014 #include <sys/socket.h>
47021 getsockname(0, 0, &len);
47027 rm -f conftest.$ac_objext
47028 if { (ac_try="$ac_compile"
47029 case "(($ac_try" in
47030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47031 *) ac_try_echo=$ac_try;;
47033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47034 (eval "$ac_compile") 2>conftest.er1
47036 grep -v '^ *+' conftest.er1 >conftest.err
47038 cat conftest.err >&5
47039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47040 (exit $ac_status); } && {
47041 test -z "$ac_cxx_werror_flag" ||
47042 test ! -s conftest.err
47043 } && test -s conftest.$ac_objext; then
47044 wx_cv_type_getsockname3=size_t
47046 echo "$as_me: failed program was:" >&5
47047 sed 's/^/| /' conftest.$ac_ext >&5
47049 cat >conftest.$ac_ext <<_ACEOF
47052 cat confdefs.h >>conftest.$ac_ext
47053 cat >>conftest.$ac_ext <<_ACEOF
47054 /* end confdefs.h. */
47056 #include <sys/types.h>
47057 #include <sys/socket.h>
47064 getsockname(0, 0, &len);
47070 rm -f conftest.$ac_objext
47071 if { (ac_try="$ac_compile"
47072 case "(($ac_try" in
47073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47074 *) ac_try_echo=$ac_try;;
47076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47077 (eval "$ac_compile") 2>conftest.er1
47079 grep -v '^ *+' conftest.er1 >conftest.err
47081 cat conftest.err >&5
47082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47083 (exit $ac_status); } && {
47084 test -z "$ac_cxx_werror_flag" ||
47085 test ! -s conftest.err
47086 } && test -s conftest.$ac_objext; then
47087 wx_cv_type_getsockname3=int
47089 echo "$as_me: failed program was:" >&5
47090 sed 's/^/| /' conftest.$ac_ext >&5
47092 wx_cv_type_getsockname3=unknown
47096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47102 CFLAGS="$CFLAGS_OLD"
47107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47109 ac_cpp='$CPP $CPPFLAGS'
47110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47116 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47117 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47119 if test "$wx_cv_type_getsockname3" = "unknown"; then
47121 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47122 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47124 cat >>confdefs.h <<_ACEOF
47125 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47129 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47130 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47131 if test "${wx_cv_type_getsockopt5+set}" = set; then
47132 echo $ECHO_N "(cached) $ECHO_C" >&6
47136 ac_cpp='$CXXCPP $CPPFLAGS'
47137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47141 cat >conftest.$ac_ext <<_ACEOF
47144 cat confdefs.h >>conftest.$ac_ext
47145 cat >>conftest.$ac_ext <<_ACEOF
47146 /* end confdefs.h. */
47148 #include <sys/types.h>
47149 #include <sys/socket.h>
47156 getsockopt(0, 0, 0, 0, &len);
47162 rm -f conftest.$ac_objext
47163 if { (ac_try="$ac_compile"
47164 case "(($ac_try" in
47165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47166 *) ac_try_echo=$ac_try;;
47168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47169 (eval "$ac_compile") 2>conftest.er1
47171 grep -v '^ *+' conftest.er1 >conftest.err
47173 cat conftest.err >&5
47174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47175 (exit $ac_status); } && {
47176 test -z "$ac_cxx_werror_flag" ||
47177 test ! -s conftest.err
47178 } && test -s conftest.$ac_objext; then
47179 wx_cv_type_getsockopt5=socklen_t
47181 echo "$as_me: failed program was:" >&5
47182 sed 's/^/| /' conftest.$ac_ext >&5
47185 cat >conftest.$ac_ext <<_ACEOF
47188 cat confdefs.h >>conftest.$ac_ext
47189 cat >>conftest.$ac_ext <<_ACEOF
47190 /* end confdefs.h. */
47192 #include <sys/types.h>
47193 #include <sys/socket.h>
47200 getsockopt(0, 0, 0, 0, &len);
47206 rm -f conftest.$ac_objext
47207 if { (ac_try="$ac_compile"
47208 case "(($ac_try" in
47209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47210 *) ac_try_echo=$ac_try;;
47212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47213 (eval "$ac_compile") 2>conftest.er1
47215 grep -v '^ *+' conftest.er1 >conftest.err
47217 cat conftest.err >&5
47218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47219 (exit $ac_status); } && {
47220 test -z "$ac_cxx_werror_flag" ||
47221 test ! -s conftest.err
47222 } && test -s conftest.$ac_objext; then
47223 wx_cv_type_getsockopt5=size_t
47225 echo "$as_me: failed program was:" >&5
47226 sed 's/^/| /' conftest.$ac_ext >&5
47228 cat >conftest.$ac_ext <<_ACEOF
47231 cat confdefs.h >>conftest.$ac_ext
47232 cat >>conftest.$ac_ext <<_ACEOF
47233 /* end confdefs.h. */
47235 #include <sys/types.h>
47236 #include <sys/socket.h>
47243 getsockopt(0, 0, 0, 0, &len);
47249 rm -f conftest.$ac_objext
47250 if { (ac_try="$ac_compile"
47251 case "(($ac_try" in
47252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47253 *) ac_try_echo=$ac_try;;
47255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47256 (eval "$ac_compile") 2>conftest.er1
47258 grep -v '^ *+' conftest.er1 >conftest.err
47260 cat conftest.err >&5
47261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47262 (exit $ac_status); } && {
47263 test -z "$ac_cxx_werror_flag" ||
47264 test ! -s conftest.err
47265 } && test -s conftest.$ac_objext; then
47266 wx_cv_type_getsockopt5=int
47268 echo "$as_me: failed program was:" >&5
47269 sed 's/^/| /' conftest.$ac_ext >&5
47271 wx_cv_type_getsockopt5=unknown
47275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47286 ac_cpp='$CPP $CPPFLAGS'
47287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47293 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47294 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47296 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47298 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47299 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47301 cat >>confdefs.h <<_ACEOF
47302 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47309 if test "$wxUSE_SOCKETS" = "yes" ; then
47310 cat >>confdefs.h <<\_ACEOF
47311 #define wxUSE_SOCKETS 1
47314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47317 if test "$wxUSE_PROTOCOL" = "yes"; then
47318 if test "$wxUSE_SOCKETS" != "yes"; then
47319 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47320 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47325 if test "$wxUSE_PROTOCOL" = "yes"; then
47326 cat >>confdefs.h <<\_ACEOF
47327 #define wxUSE_PROTOCOL 1
47331 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_PROTOCOL_HTTP 1
47337 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47338 cat >>confdefs.h <<\_ACEOF
47339 #define wxUSE_PROTOCOL_FTP 1
47343 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47344 cat >>confdefs.h <<\_ACEOF
47345 #define wxUSE_PROTOCOL_FILE 1
47350 if test "$wxUSE_FS_INET" = "yes"; then
47351 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47352 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47357 if test "$wxUSE_URL" = "yes"; then
47358 if test "$wxUSE_PROTOCOL" != "yes"; then
47359 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47360 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47363 if test "$wxUSE_URL" = "yes"; then
47364 cat >>confdefs.h <<\_ACEOF
47365 #define wxUSE_URL 1
47371 if test "$wxUSE_VARIANT" = "yes"; then
47372 cat >>confdefs.h <<\_ACEOF
47373 #define wxUSE_VARIANT 1
47378 if test "$wxUSE_FS_INET" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_FS_INET 1
47386 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47389 if test "$TOOLKIT" = "MSW"; then
47392 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47393 if test "$USE_DARWIN" = 1; then
47394 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47395 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47397 ac_cpp='$CXXCPP $CPPFLAGS'
47398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47402 cat >conftest.$ac_ext <<_ACEOF
47405 cat confdefs.h >>conftest.$ac_ext
47406 cat >>conftest.$ac_ext <<_ACEOF
47407 /* end confdefs.h. */
47408 #include <IOKit/hid/IOHIDLib.h>
47412 IOHIDQueueInterface *qi = NULL;
47413 IOHIDCallbackFunction cb = NULL;
47414 qi->setEventCallout(NULL, cb, NULL, NULL);
47419 rm -f conftest.$ac_objext
47420 if { (ac_try="$ac_compile"
47421 case "(($ac_try" in
47422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47423 *) ac_try_echo=$ac_try;;
47425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47426 (eval "$ac_compile") 2>conftest.er1
47428 grep -v '^ *+' conftest.er1 >conftest.err
47430 cat conftest.err >&5
47431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47432 (exit $ac_status); } && {
47433 test -z "$ac_cxx_werror_flag" ||
47434 test ! -s conftest.err
47435 } && test -s conftest.$ac_objext; then
47439 echo "$as_me: failed program was:" >&5
47440 sed 's/^/| /' conftest.$ac_ext >&5
47445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47447 ac_cpp='$CPP $CPPFLAGS'
47448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47452 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47453 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47457 if test "$wxUSE_MGL" != "1"; then
47459 for ac_header in linux/joystick.h
47461 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47462 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47464 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47465 echo $ECHO_N "(cached) $ECHO_C" >&6
47467 cat >conftest.$ac_ext <<_ACEOF
47470 cat confdefs.h >>conftest.$ac_ext
47471 cat >>conftest.$ac_ext <<_ACEOF
47472 /* end confdefs.h. */
47473 $ac_includes_default
47475 #include <$ac_header>
47477 rm -f conftest.$ac_objext
47478 if { (ac_try="$ac_compile"
47479 case "(($ac_try" in
47480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47481 *) ac_try_echo=$ac_try;;
47483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47484 (eval "$ac_compile") 2>conftest.er1
47486 grep -v '^ *+' conftest.er1 >conftest.err
47488 cat conftest.err >&5
47489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47490 (exit $ac_status); } && {
47491 test -z "$ac_c_werror_flag" ||
47492 test ! -s conftest.err
47493 } && test -s conftest.$ac_objext; then
47494 eval "$as_ac_Header=yes"
47496 echo "$as_me: failed program was:" >&5
47497 sed 's/^/| /' conftest.$ac_ext >&5
47499 eval "$as_ac_Header=no"
47502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47504 ac_res=`eval echo '${'$as_ac_Header'}'`
47505 { echo "$as_me:$LINENO: result: $ac_res" >&5
47506 echo "${ECHO_T}$ac_res" >&6; }
47507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47508 cat >>confdefs.h <<_ACEOF
47509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47519 if test "$wxUSE_JOYSTICK" = "yes"; then
47520 cat >>confdefs.h <<\_ACEOF
47521 #define wxUSE_JOYSTICK 1
47524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47526 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47527 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47533 if test "$wxUSE_FONTENUM" = "yes" ; then
47534 cat >>confdefs.h <<\_ACEOF
47535 #define wxUSE_FONTENUM 1
47540 if test "$wxUSE_FONTMAP" = "yes" ; then
47541 cat >>confdefs.h <<\_ACEOF
47542 #define wxUSE_FONTMAP 1
47547 if test "$wxUSE_UNICODE" = "yes" ; then
47548 cat >>confdefs.h <<\_ACEOF
47549 #define wxUSE_UNICODE 1
47553 if test "$USE_WIN32" != 1; then
47554 wxUSE_UNICODE_MSLU=no
47557 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47558 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47559 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47560 if test "${ac_cv_lib_unicows_main+set}" = set; then
47561 echo $ECHO_N "(cached) $ECHO_C" >&6
47563 ac_check_lib_save_LIBS=$LIBS
47564 LIBS="-lunicows $LIBS"
47565 cat >conftest.$ac_ext <<_ACEOF
47568 cat confdefs.h >>conftest.$ac_ext
47569 cat >>conftest.$ac_ext <<_ACEOF
47570 /* end confdefs.h. */
47581 rm -f conftest.$ac_objext conftest$ac_exeext
47582 if { (ac_try="$ac_link"
47583 case "(($ac_try" in
47584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47585 *) ac_try_echo=$ac_try;;
47587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47588 (eval "$ac_link") 2>conftest.er1
47590 grep -v '^ *+' conftest.er1 >conftest.err
47592 cat conftest.err >&5
47593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47594 (exit $ac_status); } && {
47595 test -z "$ac_c_werror_flag" ||
47596 test ! -s conftest.err
47597 } && test -s conftest$ac_exeext &&
47598 $as_test_x conftest$ac_exeext; then
47599 ac_cv_lib_unicows_main=yes
47601 echo "$as_me: failed program was:" >&5
47602 sed 's/^/| /' conftest.$ac_ext >&5
47604 ac_cv_lib_unicows_main=no
47607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47608 conftest$ac_exeext conftest.$ac_ext
47609 LIBS=$ac_check_lib_save_LIBS
47611 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47612 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47613 if test $ac_cv_lib_unicows_main = yes; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_UNICODE_MSLU 1
47622 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47623 Applications will only run on Windows NT/2000/XP!" >&5
47624 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47625 Applications will only run on Windows NT/2000/XP!" >&2;}
47626 wxUSE_UNICODE_MSLU=no
47633 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47634 cat >>confdefs.h <<\_ACEOF
47635 #define wxUSE_UNICODE_UTF8 1
47639 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47640 cat >>confdefs.h <<\_ACEOF
47641 #define wxUSE_UTF8_LOCALE_ONLY 1
47648 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47649 cat >>confdefs.h <<\_ACEOF
47650 #define wxUSE_CONSTRAINTS 1
47653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47656 if test "$wxUSE_MDI" = "yes"; then
47657 cat >>confdefs.h <<\_ACEOF
47658 #define wxUSE_MDI 1
47662 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_MDI_ARCHITECTURE 1
47667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47671 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47672 cat >>confdefs.h <<\_ACEOF
47673 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47677 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47682 if test "$wxUSE_HELP" = "yes"; then
47683 cat >>confdefs.h <<\_ACEOF
47684 #define wxUSE_HELP 1
47687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47689 if test "$wxUSE_MSW" = 1; then
47690 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47691 cat >>confdefs.h <<\_ACEOF
47692 #define wxUSE_MS_HTML_HELP 1
47698 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47699 if test "$wxUSE_HTML" = "yes"; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_WXHTML_HELP 1
47705 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47706 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47707 wxUSE_WXHTML_HELP=no
47712 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47713 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47714 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47715 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_PRINTING_ARCHITECTURE 1
47722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47725 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47726 cat >>confdefs.h <<\_ACEOF
47727 #define wxUSE_POSTSCRIPT 1
47732 cat >>confdefs.h <<\_ACEOF
47733 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47737 if test "$wxUSE_SVG" = "yes"; then
47738 cat >>confdefs.h <<\_ACEOF
47739 #define wxUSE_SVG 1
47745 if test "$wxUSE_METAFILE" = "yes"; then
47746 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47747 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47748 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47754 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47755 -o "$wxUSE_CLIPBOARD" = "yes" \
47756 -o "$wxUSE_OLE" = "yes" \
47757 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47758 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47759 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47760 if test "${ac_cv_header_ole2_h+set}" = set; then
47761 echo $ECHO_N "(cached) $ECHO_C" >&6
47763 cat >conftest.$ac_ext <<_ACEOF
47766 cat confdefs.h >>conftest.$ac_ext
47767 cat >>conftest.$ac_ext <<_ACEOF
47768 /* end confdefs.h. */
47773 rm -f conftest.$ac_objext
47774 if { (ac_try="$ac_compile"
47775 case "(($ac_try" in
47776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47777 *) ac_try_echo=$ac_try;;
47779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47780 (eval "$ac_compile") 2>conftest.er1
47782 grep -v '^ *+' conftest.er1 >conftest.err
47784 cat conftest.err >&5
47785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47786 (exit $ac_status); } && {
47787 test -z "$ac_c_werror_flag" ||
47788 test ! -s conftest.err
47789 } && test -s conftest.$ac_objext; then
47790 ac_cv_header_ole2_h=yes
47792 echo "$as_me: failed program was:" >&5
47793 sed 's/^/| /' conftest.$ac_ext >&5
47795 ac_cv_header_ole2_h=no
47798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47800 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47801 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47805 if test "$ac_cv_header_ole2_h" = "yes" ; then
47806 if test "$GCC" = yes ; then
47807 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47808 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47809 cat >conftest.$ac_ext <<_ACEOF
47812 cat confdefs.h >>conftest.$ac_ext
47813 cat >>conftest.$ac_ext <<_ACEOF
47814 /* end confdefs.h. */
47815 #include <windows.h>
47825 rm -f conftest.$ac_objext
47826 if { (ac_try="$ac_compile"
47827 case "(($ac_try" in
47828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47829 *) ac_try_echo=$ac_try;;
47831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47832 (eval "$ac_compile") 2>conftest.er1
47834 grep -v '^ *+' conftest.er1 >conftest.err
47836 cat conftest.err >&5
47837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47838 (exit $ac_status); } && {
47839 test -z "$ac_c_werror_flag" ||
47840 test ! -s conftest.err
47841 } && test -s conftest.$ac_objext; then
47842 { echo "$as_me:$LINENO: result: no" >&5
47843 echo "${ECHO_T}no" >&6; }
47845 echo "$as_me: failed program was:" >&5
47846 sed 's/^/| /' conftest.$ac_ext >&5
47848 { echo "$as_me:$LINENO: result: yes" >&5
47849 echo "${ECHO_T}yes" >&6; }
47850 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47854 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47855 if test "$wxUSE_OLE" = "yes" ; then
47856 cat >>confdefs.h <<\_ACEOF
47857 #define wxUSE_OLE 1
47860 cat >>confdefs.h <<\_ACEOF
47861 #define wxUSE_OLE_AUTOMATION 1
47864 cat >>confdefs.h <<\_ACEOF
47865 #define wxUSE_ACTIVEX 1
47868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47872 if test "$wxUSE_DATAOBJ" = "yes" ; then
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_DATAOBJ 1
47879 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47880 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47883 wxUSE_DRAG_AND_DROP=no
47888 if test "$wxUSE_METAFILE" = "yes"; then
47889 cat >>confdefs.h <<\_ACEOF
47890 #define wxUSE_METAFILE 1
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_ENH_METAFILE 1
47901 if test "$wxUSE_IPC" = "yes"; then
47902 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47903 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47904 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47908 if test "$wxUSE_IPC" = "yes"; then
47909 cat >>confdefs.h <<\_ACEOF
47910 #define wxUSE_IPC 1
47913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47917 if test "$wxUSE_DATAOBJ" = "yes"; then
47918 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47919 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47920 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47923 cat >>confdefs.h <<\_ACEOF
47924 #define wxUSE_DATAOBJ 1
47929 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47930 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47932 wxUSE_DRAG_AND_DROP=no
47935 if test "$wxUSE_CLIPBOARD" = "yes"; then
47936 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47937 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47938 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47942 if test "$wxUSE_CLIPBOARD" = "yes"; then
47943 cat >>confdefs.h <<\_ACEOF
47944 #define wxUSE_CLIPBOARD 1
47950 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47951 if test "$wxUSE_GTK" = 1; then
47952 if test "$WXGTK12" != 1; then
47953 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47954 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47955 wxUSE_DRAG_AND_DROP=no
47959 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47960 "$wxUSE_DFB" = 1; then
47961 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47962 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47963 wxUSE_DRAG_AND_DROP=no
47966 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_DRAG_AND_DROP 1
47975 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47979 if test "$wxUSE_SPLINES" = "yes" ; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_SPLINES 1
47986 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47987 cat >>confdefs.h <<\_ACEOF
47988 #define wxUSE_MOUSEWHEEL 1
47995 if test "$wxUSE_CONTROLS" = "yes"; then
47999 if test "$wxUSE_ACCEL" = "yes"; then
48000 cat >>confdefs.h <<\_ACEOF
48001 #define wxUSE_ACCEL 1
48007 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48008 cat >>confdefs.h <<\_ACEOF
48009 #define wxUSE_ANIMATIONCTRL 1
48013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48016 if test "$wxUSE_BUTTON" = "yes"; then
48017 cat >>confdefs.h <<\_ACEOF
48018 #define wxUSE_BUTTON 1
48024 if test "$wxUSE_BMPBUTTON" = "yes"; then
48025 cat >>confdefs.h <<\_ACEOF
48026 #define wxUSE_BMPBUTTON 1
48032 if test "$wxUSE_CALCTRL" = "yes"; then
48033 cat >>confdefs.h <<\_ACEOF
48034 #define wxUSE_CALENDARCTRL 1
48038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48041 if test "$wxUSE_CARET" = "yes"; then
48042 cat >>confdefs.h <<\_ACEOF
48043 #define wxUSE_CARET 1
48047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48050 if test "$wxUSE_COLLPANE" = "yes"; then
48051 cat >>confdefs.h <<\_ACEOF
48052 #define wxUSE_COLLPANE 1
48056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48059 if test "$wxUSE_COMBOBOX" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_COMBOBOX 1
48067 if test "$wxUSE_COMBOCTRL" = "yes"; then
48068 cat >>confdefs.h <<\_ACEOF
48069 #define wxUSE_COMBOCTRL 1
48075 if test "$wxUSE_CHOICE" = "yes"; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_CHOICE 1
48083 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48084 cat >>confdefs.h <<\_ACEOF
48085 #define wxUSE_CHOICEBOOK 1
48091 if test "$wxUSE_CHECKBOX" = "yes"; then
48092 cat >>confdefs.h <<\_ACEOF
48093 #define wxUSE_CHECKBOX 1
48099 if test "$wxUSE_CHECKLST" = "yes"; then
48100 cat >>confdefs.h <<\_ACEOF
48101 #define wxUSE_CHECKLISTBOX 1
48107 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48108 cat >>confdefs.h <<\_ACEOF
48109 #define wxUSE_COLOURPICKERCTRL 1
48115 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48116 cat >>confdefs.h <<\_ACEOF
48117 #define wxUSE_DATEPICKCTRL 1
48123 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_DIRPICKERCTRL 1
48131 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48132 cat >>confdefs.h <<\_ACEOF
48133 #define wxUSE_FILEPICKERCTRL 1
48139 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_FONTPICKERCTRL 1
48147 if test "$wxUSE_DISPLAY" = "yes"; then
48148 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48149 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48150 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_DISPLAY 1
48157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
48161 if test "$wxUSE_DETECT_SM" = "yes"; then
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_DETECT_SM 1
48168 if test "$wxUSE_GAUGE" = "yes"; then
48169 cat >>confdefs.h <<\_ACEOF
48170 #define wxUSE_GAUGE 1
48176 if test "$wxUSE_GRID" = "yes"; then
48177 cat >>confdefs.h <<\_ACEOF
48178 #define wxUSE_GRID 1
48182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48185 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48186 cat >>confdefs.h <<\_ACEOF
48187 #define wxUSE_HYPERLINKCTRL 1
48193 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_BITMAPCOMBOBOX 1
48201 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48202 cat >>confdefs.h <<\_ACEOF
48203 #define wxUSE_DATAVIEWCTRL 1
48207 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48210 if test "$wxUSE_IMAGLIST" = "yes"; then
48211 cat >>confdefs.h <<\_ACEOF
48212 #define wxUSE_IMAGLIST 1
48217 if test "$wxUSE_LISTBOOK" = "yes"; then
48218 cat >>confdefs.h <<\_ACEOF
48219 #define wxUSE_LISTBOOK 1
48225 if test "$wxUSE_LISTBOX" = "yes"; then
48226 cat >>confdefs.h <<\_ACEOF
48227 #define wxUSE_LISTBOX 1
48233 if test "$wxUSE_LISTCTRL" = "yes"; then
48234 if test "$wxUSE_IMAGLIST" = "yes"; then
48235 cat >>confdefs.h <<\_ACEOF
48236 #define wxUSE_LISTCTRL 1
48240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48242 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48243 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48247 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48248 cat >>confdefs.h <<\_ACEOF
48249 #define wxUSE_EDITABLELISTBOX 1
48253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48256 if test "$wxUSE_NOTEBOOK" = "yes"; then
48257 cat >>confdefs.h <<\_ACEOF
48258 #define wxUSE_NOTEBOOK 1
48262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48265 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48266 cat >>confdefs.h <<\_ACEOF
48267 #define wxUSE_ODCOMBOBOX 1
48271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48274 if test "$wxUSE_RADIOBOX" = "yes"; then
48275 cat >>confdefs.h <<\_ACEOF
48276 #define wxUSE_RADIOBOX 1
48282 if test "$wxUSE_RADIOBTN" = "yes"; then
48283 cat >>confdefs.h <<\_ACEOF
48284 #define wxUSE_RADIOBTN 1
48290 if test "$wxUSE_SASH" = "yes"; then
48291 cat >>confdefs.h <<\_ACEOF
48292 #define wxUSE_SASH 1
48295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48298 if test "$wxUSE_SCROLLBAR" = "yes"; then
48299 cat >>confdefs.h <<\_ACEOF
48300 #define wxUSE_SCROLLBAR 1
48304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48307 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48308 cat >>confdefs.h <<\_ACEOF
48309 #define wxUSE_SEARCHCTRL 1
48315 if test "$wxUSE_SLIDER" = "yes"; then
48316 cat >>confdefs.h <<\_ACEOF
48317 #define wxUSE_SLIDER 1
48323 if test "$wxUSE_SPINBTN" = "yes"; then
48324 cat >>confdefs.h <<\_ACEOF
48325 #define wxUSE_SPINBTN 1
48331 if test "$wxUSE_SPINCTRL" = "yes"; then
48332 cat >>confdefs.h <<\_ACEOF
48333 #define wxUSE_SPINCTRL 1
48339 if test "$wxUSE_SPLITTER" = "yes"; then
48340 cat >>confdefs.h <<\_ACEOF
48341 #define wxUSE_SPLITTER 1
48344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48347 if test "$wxUSE_STATBMP" = "yes"; then
48348 cat >>confdefs.h <<\_ACEOF
48349 #define wxUSE_STATBMP 1
48355 if test "$wxUSE_STATBOX" = "yes"; then
48356 cat >>confdefs.h <<\_ACEOF
48357 #define wxUSE_STATBOX 1
48363 if test "$wxUSE_STATTEXT" = "yes"; then
48364 cat >>confdefs.h <<\_ACEOF
48365 #define wxUSE_STATTEXT 1
48371 if test "$wxUSE_STATLINE" = "yes"; then
48372 cat >>confdefs.h <<\_ACEOF
48373 #define wxUSE_STATLINE 1
48379 if test "$wxUSE_STATUSBAR" = "yes"; then
48380 cat >>confdefs.h <<\_ACEOF
48381 #define wxUSE_NATIVE_STATUSBAR 1
48384 cat >>confdefs.h <<\_ACEOF
48385 #define wxUSE_STATUSBAR 1
48390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48393 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48394 cat >>confdefs.h <<\_ACEOF
48395 #define wxUSE_TAB_DIALOG 1
48400 if test "$wxUSE_TEXTCTRL" = "yes"; then
48401 cat >>confdefs.h <<\_ACEOF
48402 #define wxUSE_TEXTCTRL 1
48406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48409 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48410 if test "$wxUSE_COCOA" = 1 ; then
48411 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48412 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48416 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48417 cat >>confdefs.h <<\_ACEOF
48418 #define wxUSE_TOGGLEBTN 1
48425 if test "$wxUSE_TOOLBAR" = "yes"; then
48426 cat >>confdefs.h <<\_ACEOF
48427 #define wxUSE_TOOLBAR 1
48432 if test "$wxUSE_UNIVERSAL" = "yes"; then
48433 wxUSE_TOOLBAR_NATIVE="no"
48435 wxUSE_TOOLBAR_NATIVE="yes"
48436 cat >>confdefs.h <<\_ACEOF
48437 #define wxUSE_TOOLBAR_NATIVE 1
48442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48445 if test "$wxUSE_TOOLTIPS" = "yes"; then
48446 if test "$wxUSE_MOTIF" = 1; then
48447 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48448 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48450 if test "$wxUSE_UNIVERSAL" = "yes"; then
48451 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48452 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48454 cat >>confdefs.h <<\_ACEOF
48455 #define wxUSE_TOOLTIPS 1
48462 if test "$wxUSE_TREEBOOK" = "yes"; then
48463 cat >>confdefs.h <<\_ACEOF
48464 #define wxUSE_TREEBOOK 1
48470 if test "$wxUSE_TOOLBOOK" = "yes"; then
48471 cat >>confdefs.h <<\_ACEOF
48472 #define wxUSE_TOOLBOOK 1
48478 if test "$wxUSE_TREECTRL" = "yes"; then
48479 if test "$wxUSE_IMAGLIST" = "yes"; then
48480 cat >>confdefs.h <<\_ACEOF
48481 #define wxUSE_TREECTRL 1
48485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48487 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48488 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48492 if test "$wxUSE_POPUPWIN" = "yes"; then
48493 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48494 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48495 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48497 if test "$wxUSE_PM" = 1; then
48498 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48499 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48501 cat >>confdefs.h <<\_ACEOF
48502 #define wxUSE_POPUPWIN 1
48505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48512 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48513 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48514 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48515 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48517 cat >>confdefs.h <<\_ACEOF
48518 #define wxUSE_DIALUP_MANAGER 1
48521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48525 if test "$wxUSE_TIPWINDOW" = "yes"; then
48526 if test "$wxUSE_PM" = 1; then
48527 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48528 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48530 cat >>confdefs.h <<\_ACEOF
48531 #define wxUSE_TIPWINDOW 1
48537 if test "$USES_CONTROLS" = 1; then
48538 cat >>confdefs.h <<\_ACEOF
48539 #define wxUSE_CONTROLS 1
48545 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48546 cat >>confdefs.h <<\_ACEOF
48547 #define wxUSE_ACCESSIBILITY 1
48550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48553 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48554 cat >>confdefs.h <<\_ACEOF
48555 #define wxUSE_DRAGIMAGE 1
48558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48561 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48562 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48563 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48564 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48566 cat >>confdefs.h <<\_ACEOF
48567 #define wxUSE_EXCEPTIONS 1
48570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48575 if test "$wxUSE_HTML" = "yes"; then
48576 cat >>confdefs.h <<\_ACEOF
48577 #define wxUSE_HTML 1
48581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48582 if test "$wxUSE_MAC" = 1; then
48583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48586 if test "$wxUSE_WEBKIT" = "yes"; then
48587 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48588 old_CPPFLAGS="$CPPFLAGS"
48589 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48590 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48591 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48592 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48593 echo $ECHO_N "(cached) $ECHO_C" >&6
48595 cat >conftest.$ac_ext <<_ACEOF
48598 cat confdefs.h >>conftest.$ac_ext
48599 cat >>conftest.$ac_ext <<_ACEOF
48600 /* end confdefs.h. */
48602 #include <Carbon/Carbon.h>
48603 #include <WebKit/WebKit.h>
48606 #include <WebKit/HIWebView.h>
48608 rm -f conftest.$ac_objext
48609 if { (ac_try="$ac_compile"
48610 case "(($ac_try" in
48611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48612 *) ac_try_echo=$ac_try;;
48614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48615 (eval "$ac_compile") 2>conftest.er1
48617 grep -v '^ *+' conftest.er1 >conftest.err
48619 cat conftest.err >&5
48620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48621 (exit $ac_status); } && {
48622 test -z "$ac_c_werror_flag" ||
48623 test ! -s conftest.err
48624 } && test -s conftest.$ac_objext; then
48625 ac_cv_header_WebKit_HIWebView_h=yes
48627 echo "$as_me: failed program was:" >&5
48628 sed 's/^/| /' conftest.$ac_ext >&5
48630 ac_cv_header_WebKit_HIWebView_h=no
48633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48635 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48636 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48637 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48639 cat >>confdefs.h <<\_ACEOF
48640 #define wxUSE_WEBKIT 1
48643 WEBKIT_LINK="-framework WebKit"
48647 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48648 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48654 CPPFLAGS="$old_CPPFLAGS"
48655 elif test "$wxUSE_COCOA" = 1; then
48656 cat >>confdefs.h <<\_ACEOF
48657 #define wxUSE_WEBKIT 1
48666 if test "$wxUSE_XRC" = "yes"; then
48667 if test "$wxUSE_XML" != "yes"; then
48668 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48669 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48672 cat >>confdefs.h <<\_ACEOF
48673 #define wxUSE_XRC 1
48677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48682 if test "$wxUSE_AUI" = "yes"; then
48683 cat >>confdefs.h <<\_ACEOF
48684 #define wxUSE_AUI 1
48688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48692 if test "$wxUSE_STC" = "yes"; then
48693 cat >>confdefs.h <<\_ACEOF
48694 #define wxUSE_STC 1
48698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48701 if test "$wxUSE_MENUS" = "yes"; then
48702 cat >>confdefs.h <<\_ACEOF
48703 #define wxUSE_MENUS 1
48706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48709 if test "$wxUSE_METAFILE" = "yes"; then
48710 cat >>confdefs.h <<\_ACEOF
48711 #define wxUSE_METAFILE 1
48716 if test "$wxUSE_MIMETYPE" = "yes"; then
48717 cat >>confdefs.h <<\_ACEOF
48718 #define wxUSE_MIMETYPE 1
48723 if test "$wxUSE_MINIFRAME" = "yes"; then
48724 cat >>confdefs.h <<\_ACEOF
48725 #define wxUSE_MINIFRAME 1
48730 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48731 cat >>confdefs.h <<\_ACEOF
48732 #define wxUSE_SYSTEM_OPTIONS 1
48737 if test "$wxUSE_TASKBARICON" = "yes"; then
48738 cat >>confdefs.h <<\_ACEOF
48739 #define wxUSE_TASKBARICON 1
48742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48746 if test "$wxUSE_VALIDATORS" = "yes"; then
48747 cat >>confdefs.h <<\_ACEOF
48748 #define wxUSE_VALIDATORS 1
48751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48754 if test "$wxUSE_PALETTE" = "yes" ; then
48755 if test "$wxUSE_DFB" = 1; then
48756 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48757 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48760 cat >>confdefs.h <<\_ACEOF
48761 #define wxUSE_PALETTE 1
48767 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48768 LIBS=" -lunicows $LIBS"
48772 if test "$wxUSE_RICHTEXT" = "yes"; then
48773 cat >>confdefs.h <<\_ACEOF
48774 #define wxUSE_RICHTEXT 1
48778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48782 if test "$wxUSE_IMAGE" = "yes" ; then
48783 cat >>confdefs.h <<\_ACEOF
48784 #define wxUSE_IMAGE 1
48788 if test "$wxUSE_GIF" = "yes" ; then
48789 cat >>confdefs.h <<\_ACEOF
48790 #define wxUSE_GIF 1
48795 if test "$wxUSE_PCX" = "yes" ; then
48796 cat >>confdefs.h <<\_ACEOF
48797 #define wxUSE_PCX 1
48802 if test "$wxUSE_TGA" = "yes" ; then
48803 cat >>confdefs.h <<\_ACEOF
48804 #define wxUSE_TGA 1
48809 if test "$wxUSE_IFF" = "yes" ; then
48810 cat >>confdefs.h <<\_ACEOF
48811 #define wxUSE_IFF 1
48816 if test "$wxUSE_PNM" = "yes" ; then
48817 cat >>confdefs.h <<\_ACEOF
48818 #define wxUSE_PNM 1
48823 if test "$wxUSE_XPM" = "yes" ; then
48824 cat >>confdefs.h <<\_ACEOF
48825 #define wxUSE_XPM 1
48830 if test "$wxUSE_ICO_CUR" = "yes" ; then
48831 cat >>confdefs.h <<\_ACEOF
48832 #define wxUSE_ICO_CUR 1
48839 if test "$wxUSE_ABOUTDLG" = "yes"; then
48840 cat >>confdefs.h <<\_ACEOF
48841 #define wxUSE_ABOUTDLG 1
48846 if test "$wxUSE_CHOICEDLG" = "yes"; then
48847 cat >>confdefs.h <<\_ACEOF
48848 #define wxUSE_CHOICEDLG 1
48853 if test "$wxUSE_COLOURDLG" = "yes"; then
48854 cat >>confdefs.h <<\_ACEOF
48855 #define wxUSE_COLOURDLG 1
48860 if test "$wxUSE_FILEDLG" = "yes"; then
48861 cat >>confdefs.h <<\_ACEOF
48862 #define wxUSE_FILEDLG 1
48867 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48868 cat >>confdefs.h <<\_ACEOF
48869 #define wxUSE_FINDREPLDLG 1
48874 if test "$wxUSE_FONTDLG" = "yes"; then
48875 cat >>confdefs.h <<\_ACEOF
48876 #define wxUSE_FONTDLG 1
48881 if test "$wxUSE_DIRDLG" = "yes"; then
48882 if test "$wxUSE_TREECTRL" != "yes"; then
48883 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48884 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48886 cat >>confdefs.h <<\_ACEOF
48887 #define wxUSE_DIRDLG 1
48893 if test "$wxUSE_MSGDLG" = "yes"; then
48894 cat >>confdefs.h <<\_ACEOF
48895 #define wxUSE_MSGDLG 1
48900 if test "$wxUSE_NUMBERDLG" = "yes"; then
48901 cat >>confdefs.h <<\_ACEOF
48902 #define wxUSE_NUMBERDLG 1
48907 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48908 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48909 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48910 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48912 cat >>confdefs.h <<\_ACEOF
48913 #define wxUSE_PROGRESSDLG 1
48919 if test "$wxUSE_SPLASH" = "yes"; then
48920 cat >>confdefs.h <<\_ACEOF
48921 #define wxUSE_SPLASH 1
48924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48927 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48928 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48929 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48930 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48932 cat >>confdefs.h <<\_ACEOF
48933 #define wxUSE_STARTUP_TIPS 1
48939 if test "$wxUSE_TEXTDLG" = "yes"; then
48940 cat >>confdefs.h <<\_ACEOF
48941 #define wxUSE_TEXTDLG 1
48946 if test "$wxUSE_WIZARDDLG" = "yes"; then
48947 cat >>confdefs.h <<\_ACEOF
48948 #define wxUSE_WIZARDDLG 1
48951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48955 if test "$wxUSE_MSW" = 1 ; then
48957 if test "$wxUSE_DC_CACHEING" = "yes"; then
48958 cat >>confdefs.h <<\_ACEOF
48959 #define wxUSE_DC_CACHEING 1
48964 if test "$wxUSE_DIB" = "yes"; then
48965 cat >>confdefs.h <<\_ACEOF
48966 #define wxUSE_WXDIB 1
48971 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48972 cat >>confdefs.h <<\_ACEOF
48973 #define wxUSE_OWNER_DRAWN 1
48978 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48979 cat >>confdefs.h <<\_ACEOF
48980 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48985 if test "$wxUSE_UXTHEME" = "yes"; then
48986 cat >>confdefs.h <<\_ACEOF
48987 #define wxUSE_UXTHEME 1
48995 if test "$USE_WIN32" = 1 ; then
48996 if test "$wxUSE_INICONF" = "yes"; then
48997 cat >>confdefs.h <<\_ACEOF
48998 #define wxUSE_INICONF 1
49003 if test "$wxUSE_REGKEY" = "yes"; then
49004 cat >>confdefs.h <<\_ACEOF
49005 #define wxUSE_REGKEY 1
49012 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49013 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49014 cat >>confdefs.h <<\_ACEOF
49015 #define wxUSE_GRAPHICS_CONTEXT 1
49018 elif test "$wxUSE_GTK" != 1; then
49019 cat >>confdefs.h <<\_ACEOF
49020 #define wxUSE_GRAPHICS_CONTEXT 1
49026 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49027 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49029 if test -n "$PKG_CONFIG"; then
49030 if test -n "$CAIRO_CFLAGS"; then
49031 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49033 if test -n "$PKG_CONFIG" && \
49034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49035 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49038 (exit $ac_status); }; then
49039 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49047 if test -n "$PKG_CONFIG"; then
49048 if test -n "$CAIRO_LIBS"; then
49049 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49051 if test -n "$PKG_CONFIG" && \
49052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49053 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49056 (exit $ac_status); }; then
49057 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49068 if test $pkg_failed = yes; then
49070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49071 _pkg_short_errors_supported=yes
49073 _pkg_short_errors_supported=no
49075 if test $_pkg_short_errors_supported = yes; then
49076 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49078 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49080 # Put the nasty error message in config.log where it belongs
49081 echo "$CAIRO_PKG_ERRORS" >&5
49083 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49084 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49086 elif test $pkg_failed = untried; then
49087 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49088 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49091 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49092 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49093 { echo "$as_me:$LINENO: result: yes" >&5
49094 echo "${ECHO_T}yes" >&6; }
49095 cat >>confdefs.h <<\_ACEOF
49096 #define wxUSE_GRAPHICS_CONTEXT 1
49106 if test "$wxUSE_MEDIACTRL" = "yes"; then
49109 if test "$wxUSE_GTK" = 1; then
49110 wxUSE_GSTREAMER="no"
49112 GST_VERSION_MAJOR=0
49113 GST_VERSION_MINOR=10
49114 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49116 if test "$wxUSE_GSTREAMER8" = "no"; then
49119 { echo "$as_me:$LINENO: checking for GST" >&5
49120 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49122 if test -n "$PKG_CONFIG"; then
49123 if test -n "$GST_CFLAGS"; then
49124 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49126 if test -n "$PKG_CONFIG" && \
49127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49128 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49131 (exit $ac_status); }; then
49132 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49140 if test -n "$PKG_CONFIG"; then
49141 if test -n "$GST_LIBS"; then
49142 pkg_cv_GST_LIBS="$GST_LIBS"
49144 if test -n "$PKG_CONFIG" && \
49145 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49146 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49149 (exit $ac_status); }; then
49150 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49161 if test $pkg_failed = yes; then
49163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49164 _pkg_short_errors_supported=yes
49166 _pkg_short_errors_supported=no
49168 if test $_pkg_short_errors_supported = yes; then
49169 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49171 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49173 # Put the nasty error message in config.log where it belongs
49174 echo "$GST_PKG_ERRORS" >&5
49177 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49178 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49179 GST_VERSION_MINOR=8
49182 elif test $pkg_failed = untried; then
49184 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49185 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49186 GST_VERSION_MINOR=8
49190 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49191 GST_LIBS=$pkg_cv_GST_LIBS
49192 { echo "$as_me:$LINENO: result: yes" >&5
49193 echo "${ECHO_T}yes" >&6; }
49195 wxUSE_GSTREAMER="yes"
49196 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49200 GST_VERSION_MINOR=8
49203 if test $GST_VERSION_MINOR = "8"; then
49204 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49207 { echo "$as_me:$LINENO: checking for GST" >&5
49208 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49210 if test -n "$PKG_CONFIG"; then
49211 if test -n "$GST_CFLAGS"; then
49212 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49214 if test -n "$PKG_CONFIG" && \
49215 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49216 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49219 (exit $ac_status); }; then
49220 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49228 if test -n "$PKG_CONFIG"; then
49229 if test -n "$GST_LIBS"; then
49230 pkg_cv_GST_LIBS="$GST_LIBS"
49232 if test -n "$PKG_CONFIG" && \
49233 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49234 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49237 (exit $ac_status); }; then
49238 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49249 if test $pkg_failed = yes; then
49251 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49252 _pkg_short_errors_supported=yes
49254 _pkg_short_errors_supported=no
49256 if test $_pkg_short_errors_supported = yes; then
49257 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49259 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49261 # Put the nasty error message in config.log where it belongs
49262 echo "$GST_PKG_ERRORS" >&5
49265 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49266 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49268 elif test $pkg_failed = untried; then
49270 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49271 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49274 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49275 GST_LIBS=$pkg_cv_GST_LIBS
49276 { echo "$as_me:$LINENO: result: yes" >&5
49277 echo "${ECHO_T}yes" >&6; }
49278 wxUSE_GSTREAMER="yes"
49283 if test "$wxUSE_GSTREAMER" = "yes"; then
49284 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49285 LIBS="$GST_LIBS $LIBS"
49287 cat >>confdefs.h <<\_ACEOF
49288 #define wxUSE_GSTREAMER 1
49296 if test $USE_MEDIA = 1; then
49297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49298 cat >>confdefs.h <<\_ACEOF
49299 #define wxUSE_MEDIACTRL 1
49306 if test "$cross_compiling" = "yes"; then
49309 OSINFO=`uname -s -r -m`
49310 OSINFO="\"$OSINFO\""
49313 cat >>confdefs.h <<_ACEOF
49314 #define WXWIN_OS_DESCRIPTION $OSINFO
49319 if test "x$prefix" != "xNONE"; then
49322 wxPREFIX=$ac_default_prefix
49325 cat >>confdefs.h <<_ACEOF
49326 #define wxINSTALL_PREFIX "$wxPREFIX"
49332 STD_BASE_LIBS="base"
49334 BUILT_WX_LIBS="base"
49335 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49337 if test "$wxUSE_SOCKETS" = "yes" ; then
49338 STD_BASE_LIBS="net $STD_BASE_LIBS"
49339 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49341 if test "$wxUSE_ODBC" != "no" ; then
49342 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49344 if test "$wxUSE_XML" = "yes" ; then
49345 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49346 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49349 if test "$wxUSE_GUI" = "yes"; then
49350 STD_GUI_LIBS="adv core"
49351 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49353 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49354 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49355 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49357 if test "$wxUSE_ODBC" != "no" ; then
49358 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49360 if test "$wxUSE_HTML" = "yes" ; then
49361 STD_GUI_LIBS="html $STD_GUI_LIBS"
49362 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49364 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49365 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49367 if test "$wxUSE_OPENGL" = "yes" ; then
49368 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49370 if test "$wxUSE_AUI" = "yes" ; then
49371 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49373 if test "$wxUSE_STC" = "yes" ; then
49374 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49376 if test "$wxUSE_XRC" = "yes" ; then
49377 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49378 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49389 if test "$wxUSE_MAC" = 1 ; then
49390 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49391 if test "$USE_DARWIN" = 1; then
49392 LDFLAGS="$LDFLAGS -framework QuickTime"
49394 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49397 if test "$USE_DARWIN" = 1; then
49398 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49400 LDFLAGS="$LDFLAGS -lCarbonLib"
49403 if test "$wxUSE_COCOA" = 1 ; then
49404 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49405 if test "$wxUSE_MEDIACTRL" = "yes"; then
49406 LDFLAGS="$LDFLAGS -framework QuickTime"
49409 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49410 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49413 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49415 if test "$wxUSE_GUI" = "yes"; then
49418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49419 erase event exec font image minimal mobile \
49420 mobile/wxedit mobile/styles render \
49421 shaped svg taborder vscroll widgets"
49423 if test "$wxUSE_MONOLITHIC" != "yes"; then
49424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49426 if test "$TOOLKIT" = "MSW"; then
49427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49428 if test "$wxUSE_UNIVERSAL" != "yes"; then
49429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49432 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49436 SAMPLES_SUBDIRS="console"
49440 if test "x$INTELCC" = "xyes" ; then
49441 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49442 elif test "$GCC" = yes ; then
49443 CWARNINGS="-Wall -Wundef"
49446 if test "x$INTELCXX" = "xyes" ; then
49447 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49448 elif test "$GXX" = yes ; then
49449 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49453 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49454 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49457 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49458 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49459 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49462 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49463 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49464 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49466 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49469 if test "x$MWCC" = "xyes"; then
49471 CC="$CC -cwd source -I-"
49472 CXX="$CXX -cwd source -I-"
49477 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49478 EXTRALIBS_XML="$EXPAT_LINK"
49479 EXTRALIBS_HTML="$MSPACK_LINK"
49480 EXTRALIBS_ODBC="$ODBC_LINK"
49481 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49482 if test "$wxUSE_GUI" = "yes"; then
49483 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49485 if test "$wxUSE_OPENGL" = "yes"; then
49486 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49489 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49491 WXCONFIG_LIBS="$LIBS"
49493 if test "$wxUSE_REGEX" = "builtin" ; then
49494 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49496 if test "$wxUSE_EXPAT" = "builtin" ; then
49497 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49499 if test "$wxUSE_ODBC" = "builtin" ; then
49500 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49502 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49503 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49505 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49506 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49508 if test "$wxUSE_LIBPNG" = "builtin" ; then
49509 wxconfig_3rdparty="png $wxconfig_3rdparty"
49511 if test "$wxUSE_ZLIB" = "builtin" ; then
49512 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49515 for i in $wxconfig_3rdparty ; do
49516 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49520 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49523 case "$wxUNIV_THEMES" in
49525 cat >>confdefs.h <<\_ACEOF
49526 #define wxUSE_ALL_THEMES 1
49532 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49533 cat >>confdefs.h <<_ACEOF
49534 #define wxUSE_THEME_$t 1
49551 if test $wxUSE_MONOLITHIC = "yes" ; then
49557 if test $wxUSE_PLUGINS = "yes" ; then
49563 if test $wxUSE_ODBC != "no" ; then
49569 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49575 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49606 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49617 TOOLKIT_DESC="GTK+"
49618 if test "$WXGTK20" = 1; then
49619 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49620 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49621 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49623 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49624 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49626 if test "$wxUSE_LIBHILDON" = "yes"; then
49627 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49630 if test "$TOOLKIT_EXTRA" != ""; then
49631 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49637 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49641 TOOLKIT_DESC="base only"
49645 if test "$wxUSE_WINE" = "yes"; then
49646 BAKEFILE_FORCE_PLATFORM=win32
49649 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49651 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49652 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49653 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49654 echo $ECHO_N "(cached) $ECHO_C" >&6
49657 echo '#include <stdio.h>
49658 const wchar_t test_var[] = L"awidetest";' > conftest.h
49660 echo '#include "conftest.h"
49663 printf("%ls", test_var);
49667 wx_cv_gcc_pch_bug="pch not supported"
49669 if $CXX conftest.h >/dev/null 2>&1
49673 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49675 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49676 grep awidetest >/dev/null
49678 wx_cv_gcc_pch_bug=no
49680 wx_cv_gcc_pch_bug=yes
49685 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49688 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49689 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49691 if test "$wx_cv_gcc_pch_bug" = yes; then
49699 if test "x$BAKEFILE_HOST" = "x"; then
49700 if test "x${host}" = "x" ; then
49701 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49702 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49703 { (exit 1); exit 1; }; }
49706 BAKEFILE_HOST="${host}"
49709 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49711 if test -n "$ac_tool_prefix"; then
49712 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49713 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49716 if test "${ac_cv_prog_RANLIB+set}" = set; then
49717 echo $ECHO_N "(cached) $ECHO_C" >&6
49719 if test -n "$RANLIB"; then
49720 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49723 for as_dir in $PATH
49726 test -z "$as_dir" && as_dir=.
49727 for ac_exec_ext in '' $ac_executable_extensions; do
49728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49729 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49739 RANLIB=$ac_cv_prog_RANLIB
49740 if test -n "$RANLIB"; then
49741 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49742 echo "${ECHO_T}$RANLIB" >&6; }
49744 { echo "$as_me:$LINENO: result: no" >&5
49745 echo "${ECHO_T}no" >&6; }
49750 if test -z "$ac_cv_prog_RANLIB"; then
49751 ac_ct_RANLIB=$RANLIB
49752 # Extract the first word of "ranlib", so it can be a program name with args.
49753 set dummy ranlib; ac_word=$2
49754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49756 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49757 echo $ECHO_N "(cached) $ECHO_C" >&6
49759 if test -n "$ac_ct_RANLIB"; then
49760 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49763 for as_dir in $PATH
49766 test -z "$as_dir" && as_dir=.
49767 for ac_exec_ext in '' $ac_executable_extensions; do
49768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49769 ac_cv_prog_ac_ct_RANLIB="ranlib"
49770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49779 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49780 if test -n "$ac_ct_RANLIB"; then
49781 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49782 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49784 { echo "$as_me:$LINENO: result: no" >&5
49785 echo "${ECHO_T}no" >&6; }
49788 if test "x$ac_ct_RANLIB" = x; then
49791 case $cross_compiling:$ac_tool_warned in
49793 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49794 whose name does not start with the host triplet. If you think this
49795 configuration is useful to you, please write to autoconf@gnu.org." >&5
49796 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49797 whose name does not start with the host triplet. If you think this
49798 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49799 ac_tool_warned=yes ;;
49801 RANLIB=$ac_ct_RANLIB
49804 RANLIB="$ac_cv_prog_RANLIB"
49807 # Find a good install program. We prefer a C program (faster),
49808 # so one script is as good as another. But avoid the broken or
49809 # incompatible versions:
49810 # SysV /etc/install, /usr/sbin/install
49811 # SunOS /usr/etc/install
49812 # IRIX /sbin/install
49814 # AmigaOS /C/install, which installs bootblocks on floppy discs
49815 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49816 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49817 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49818 # OS/2's system install, which has a completely different semantic
49819 # ./install, which can be erroneously created by make from ./install.sh.
49820 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49821 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49822 if test -z "$INSTALL"; then
49823 if test "${ac_cv_path_install+set}" = set; then
49824 echo $ECHO_N "(cached) $ECHO_C" >&6
49826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49827 for as_dir in $PATH
49830 test -z "$as_dir" && as_dir=.
49831 # Account for people who put trailing slashes in PATH elements.
49833 ./ | .// | /cC/* | \
49834 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49835 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49838 # OSF1 and SCO ODT 3.0 have their own names for install.
49839 # Don't use installbsd from OSF since it installs stuff as root
49841 for ac_prog in ginstall scoinst install; do
49842 for ac_exec_ext in '' $ac_executable_extensions; do
49843 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49844 if test $ac_prog = install &&
49845 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49846 # AIX install. It has an incompatible calling convention.
49848 elif test $ac_prog = install &&
49849 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49850 # program-specific install script used by HP pwplus--don't use.
49853 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49866 if test "${ac_cv_path_install+set}" = set; then
49867 INSTALL=$ac_cv_path_install
49869 # As a last resort, use the slow shell script. Don't cache a
49870 # value for INSTALL within a source directory, because that will
49871 # break other packages using the cache if that directory is
49872 # removed, or if the value is a relative name.
49873 INSTALL=$ac_install_sh
49876 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49877 echo "${ECHO_T}$INSTALL" >&6; }
49879 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49880 # It thinks the first close brace ends the variable substitution.
49881 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49883 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49885 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49887 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49888 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49890 if test "$LN_S" = "ln -s"; then
49891 { echo "$as_me:$LINENO: result: yes" >&5
49892 echo "${ECHO_T}yes" >&6; }
49894 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49895 echo "${ECHO_T}no, using $LN_S" >&6; }
49899 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49900 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49901 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49902 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49903 echo $ECHO_N "(cached) $ECHO_C" >&6
49905 cat >conftest.make <<\_ACEOF
49908 @echo '@@@%%%=$(MAKE)=@@@%%%'
49910 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49911 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49912 *@@@%%%=?*=@@@%%%*)
49913 eval ac_cv_prog_make_${ac_make}_set=yes;;
49915 eval ac_cv_prog_make_${ac_make}_set=no;;
49917 rm -f conftest.make
49919 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49920 { echo "$as_me:$LINENO: result: yes" >&5
49921 echo "${ECHO_T}yes" >&6; }
49924 { echo "$as_me:$LINENO: result: no" >&5
49925 echo "${ECHO_T}no" >&6; }
49926 SET_MAKE="MAKE=${MAKE-make}"
49931 if test "x$SUNCXX" = "xyes"; then
49933 AROPTIONS="-xar -o"
49935 elif test "x$SGICC" = "xyes"; then
49940 if test -n "$ac_tool_prefix"; then
49941 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49942 set dummy ${ac_tool_prefix}ar; ac_word=$2
49943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49945 if test "${ac_cv_prog_AR+set}" = set; then
49946 echo $ECHO_N "(cached) $ECHO_C" >&6
49948 if test -n "$AR"; then
49949 ac_cv_prog_AR="$AR" # Let the user override the test.
49951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49952 for as_dir in $PATH
49955 test -z "$as_dir" && as_dir=.
49956 for ac_exec_ext in '' $ac_executable_extensions; do
49957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49958 ac_cv_prog_AR="${ac_tool_prefix}ar"
49959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49969 if test -n "$AR"; then
49970 { echo "$as_me:$LINENO: result: $AR" >&5
49971 echo "${ECHO_T}$AR" >&6; }
49973 { echo "$as_me:$LINENO: result: no" >&5
49974 echo "${ECHO_T}no" >&6; }
49979 if test -z "$ac_cv_prog_AR"; then
49981 # Extract the first word of "ar", so it can be a program name with args.
49982 set dummy ar; ac_word=$2
49983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49985 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49986 echo $ECHO_N "(cached) $ECHO_C" >&6
49988 if test -n "$ac_ct_AR"; then
49989 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49992 for as_dir in $PATH
49995 test -z "$as_dir" && as_dir=.
49996 for ac_exec_ext in '' $ac_executable_extensions; do
49997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49998 ac_cv_prog_ac_ct_AR="ar"
49999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50008 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50009 if test -n "$ac_ct_AR"; then
50010 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50011 echo "${ECHO_T}$ac_ct_AR" >&6; }
50013 { echo "$as_me:$LINENO: result: no" >&5
50014 echo "${ECHO_T}no" >&6; }
50017 if test "x$ac_ct_AR" = x; then
50020 case $cross_compiling:$ac_tool_warned in
50022 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50023 whose name does not start with the host triplet. If you think this
50024 configuration is useful to you, please write to autoconf@gnu.org." >&5
50025 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50026 whose name does not start with the host triplet. If you think this
50027 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50028 ac_tool_warned=yes ;;
50033 AR="$ac_cv_prog_AR"
50040 if test -n "$ac_tool_prefix"; then
50041 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50042 set dummy ${ac_tool_prefix}strip; ac_word=$2
50043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50045 if test "${ac_cv_prog_STRIP+set}" = set; then
50046 echo $ECHO_N "(cached) $ECHO_C" >&6
50048 if test -n "$STRIP"; then
50049 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50052 for as_dir in $PATH
50055 test -z "$as_dir" && as_dir=.
50056 for ac_exec_ext in '' $ac_executable_extensions; do
50057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50058 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50068 STRIP=$ac_cv_prog_STRIP
50069 if test -n "$STRIP"; then
50070 { echo "$as_me:$LINENO: result: $STRIP" >&5
50071 echo "${ECHO_T}$STRIP" >&6; }
50073 { echo "$as_me:$LINENO: result: no" >&5
50074 echo "${ECHO_T}no" >&6; }
50079 if test -z "$ac_cv_prog_STRIP"; then
50081 # Extract the first word of "strip", so it can be a program name with args.
50082 set dummy strip; ac_word=$2
50083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50085 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50086 echo $ECHO_N "(cached) $ECHO_C" >&6
50088 if test -n "$ac_ct_STRIP"; then
50089 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50092 for as_dir in $PATH
50095 test -z "$as_dir" && as_dir=.
50096 for ac_exec_ext in '' $ac_executable_extensions; do
50097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50098 ac_cv_prog_ac_ct_STRIP="strip"
50099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50108 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50109 if test -n "$ac_ct_STRIP"; then
50110 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50111 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50113 { echo "$as_me:$LINENO: result: no" >&5
50114 echo "${ECHO_T}no" >&6; }
50117 if test "x$ac_ct_STRIP" = x; then
50120 case $cross_compiling:$ac_tool_warned in
50122 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50123 whose name does not start with the host triplet. If you think this
50124 configuration is useful to you, please write to autoconf@gnu.org." >&5
50125 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50126 whose name does not start with the host triplet. If you think this
50127 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50128 ac_tool_warned=yes ;;
50133 STRIP="$ac_cv_prog_STRIP"
50136 if test -n "$ac_tool_prefix"; then
50137 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50138 set dummy ${ac_tool_prefix}nm; ac_word=$2
50139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50141 if test "${ac_cv_prog_NM+set}" = set; then
50142 echo $ECHO_N "(cached) $ECHO_C" >&6
50144 if test -n "$NM"; then
50145 ac_cv_prog_NM="$NM" # Let the user override the test.
50147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50148 for as_dir in $PATH
50151 test -z "$as_dir" && as_dir=.
50152 for ac_exec_ext in '' $ac_executable_extensions; do
50153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50154 ac_cv_prog_NM="${ac_tool_prefix}nm"
50155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50165 if test -n "$NM"; then
50166 { echo "$as_me:$LINENO: result: $NM" >&5
50167 echo "${ECHO_T}$NM" >&6; }
50169 { echo "$as_me:$LINENO: result: no" >&5
50170 echo "${ECHO_T}no" >&6; }
50175 if test -z "$ac_cv_prog_NM"; then
50177 # Extract the first word of "nm", so it can be a program name with args.
50178 set dummy nm; ac_word=$2
50179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50181 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50182 echo $ECHO_N "(cached) $ECHO_C" >&6
50184 if test -n "$ac_ct_NM"; then
50185 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50188 for as_dir in $PATH
50191 test -z "$as_dir" && as_dir=.
50192 for ac_exec_ext in '' $ac_executable_extensions; do
50193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50194 ac_cv_prog_ac_ct_NM="nm"
50195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50204 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50205 if test -n "$ac_ct_NM"; then
50206 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50207 echo "${ECHO_T}$ac_ct_NM" >&6; }
50209 { echo "$as_me:$LINENO: result: no" >&5
50210 echo "${ECHO_T}no" >&6; }
50213 if test "x$ac_ct_NM" = x; then
50216 case $cross_compiling:$ac_tool_warned in
50218 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50219 whose name does not start with the host triplet. If you think this
50220 configuration is useful to you, please write to autoconf@gnu.org." >&5
50221 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50222 whose name does not start with the host triplet. If you think this
50223 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50224 ac_tool_warned=yes ;;
50229 NM="$ac_cv_prog_NM"
50233 case ${BAKEFILE_HOST} in
50235 INSTALL_DIR="mkdir -p"
50238 INSTALL_DIR='$(INSTALL) -d'
50244 case ${BAKEFILE_HOST} in
50245 *-*-cygwin* | *-*-mingw32* )
50246 LDFLAGS_GUI="-mwindows"
50252 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50253 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50254 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50255 echo $ECHO_N "(cached) $ECHO_C" >&6
50258 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50259 egrep -s GNU > /dev/null); then
50260 bakefile_cv_prog_makeisgnu="yes"
50262 bakefile_cv_prog_makeisgnu="no"
50266 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50267 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50269 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50286 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50287 case "${BAKEFILE_HOST}" in
50294 *-pc-os2_emx | *-pc-os2-emx )
50304 powerpc-apple-macos* )
50313 case "$BAKEFILE_FORCE_PLATFORM" in
50348 # Check whether --enable-omf was given.
50349 if test "${enable_omf+set}" = set; then
50350 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50354 case "${BAKEFILE_HOST}" in
50356 if test "x$GCC" = "xyes"; then
50357 CFLAGS="$CFLAGS -fno-common"
50358 CXXFLAGS="$CXXFLAGS -fno-common"
50360 if test "x$XLCC" = "xyes"; then
50361 CFLAGS="$CFLAGS -qnocommon"
50362 CXXFLAGS="$CXXFLAGS -qnocommon"
50366 *-pc-os2_emx | *-pc-os2-emx )
50367 if test "x$bk_os2_use_omf" = "xyes" ; then
50370 LDFLAGS="-Zomf $LDFLAGS"
50371 CFLAGS="-Zomf $CFLAGS"
50372 CXXFLAGS="-Zomf $CXXFLAGS"
50380 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50386 SO_SUFFIX_MODULE="so"
50391 DLLPREFIX_MODULE=""
50395 case "${BAKEFILE_HOST}" in
50398 SO_SUFFIX_MODULE="sl"
50402 SO_SUFFIX_MODULE="a"
50406 SO_SUFFIX_MODULE="dll"
50407 DLLIMP_SUFFIX="dll.a"
50414 SO_SUFFIX_MODULE="dll"
50415 DLLIMP_SUFFIX="dll.a"
50425 *-pc-os2_emx | *-pc-os2-emx )
50427 SO_SUFFIX_MODULE="dll"
50428 DLLIMP_SUFFIX=$OS2_LIBEXT
50432 LIBEXT=".$OS2_LIBEXT"
50437 SO_SUFFIX_MODULE="bundle"
50441 if test "x$DLLIMP_SUFFIX" = "x" ; then
50442 DLLIMP_SUFFIX="$SO_SUFFIX"
50457 if test "x$GCC" = "xyes"; then
50461 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50462 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50465 case "${BAKEFILE_HOST}" in
50467 if test "x$GCC" != "xyes"; then
50468 LDFLAGS="$LDFLAGS -L/usr/lib"
50470 SHARED_LD_CC="${CC} -b -o"
50471 SHARED_LD_CXX="${CXX} -b -o"
50477 if test "$INTELCC" = "yes"; then
50479 elif test "x$SUNCXX" = "xyes"; then
50480 SHARED_LD_CC="${CC} -G -o"
50481 SHARED_LD_CXX="${CXX} -G -o"
50487 if test "x$SUNCXX" = xyes ; then
50488 SHARED_LD_CC="${CC} -G -o"
50489 SHARED_LD_CXX="${CXX} -G -o"
50497 cat <<EOF >shared-ld-sh
50499 #-----------------------------------------------------------------------------
50500 #-- Name: distrib/mac/shared-ld-sh
50501 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50502 #-- Author: Gilles Depeyrot
50503 #-- Copyright: (c) 2002 Gilles Depeyrot
50504 #-- Licence: any use permitted
50505 #-----------------------------------------------------------------------------
50510 linking_flag="-dynamiclib"
50511 ldargs="-r -keep_private_externs -nostdlib"
50513 while test ${D}# -gt 0; do
50520 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50521 # collect these options and values
50522 args="${D}{args} ${D}1 ${D}2"
50527 # collect these load args
50528 ldargs="${D}{ldargs} ${D}1"
50531 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50532 # collect these options
50533 args="${D}{args} ${D}1"
50536 -dynamiclib|-bundle)
50537 linking_flag="${D}1"
50541 echo "shared-ld: unhandled option '${D}1'"
50545 *.o | *.a | *.dylib)
50546 # collect object files
50547 objects="${D}{objects} ${D}1"
50551 echo "shared-ld: unhandled argument '${D}1'"
50562 # Link one module containing all the others
50564 if test ${D}{verbose} = 1; then
50565 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50567 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50571 # Link the shared library from the single module created, but only if the
50572 # previous command didn't fail:
50574 if test ${D}{status} = 0; then
50575 if test ${D}{verbose} = 1; then
50576 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50578 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50583 # Remove intermediate module
50585 rm -f master.${D}${D}.o
50590 chmod +x shared-ld-sh
50592 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50593 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50596 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50597 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50598 if test "${bakefile_cv_gcc31+set}" = set; then
50599 echo $ECHO_N "(cached) $ECHO_C" >&6
50602 cat >conftest.$ac_ext <<_ACEOF
50605 cat confdefs.h >>conftest.$ac_ext
50606 cat >>conftest.$ac_ext <<_ACEOF
50607 /* end confdefs.h. */
50613 #if (__GNUC__ < 3) || \
50614 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50622 rm -f conftest.$ac_objext
50623 if { (ac_try="$ac_compile"
50624 case "(($ac_try" in
50625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50626 *) ac_try_echo=$ac_try;;
50628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50629 (eval "$ac_compile") 2>conftest.er1
50631 grep -v '^ *+' conftest.er1 >conftest.err
50633 cat conftest.err >&5
50634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50635 (exit $ac_status); } && {
50636 test -z "$ac_c_werror_flag" ||
50637 test ! -s conftest.err
50638 } && test -s conftest.$ac_objext; then
50640 bakefile_cv_gcc31=yes
50643 echo "$as_me: failed program was:" >&5
50644 sed 's/^/| /' conftest.$ac_ext >&5
50647 bakefile_cv_gcc31=no
50652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50655 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50656 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50657 if test "$bakefile_cv_gcc31" = "no"; then
50658 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50659 SHARED_LD_CXX="$SHARED_LD_CC"
50661 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50662 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50665 if test "x$GCC" == "xyes"; then
50666 PIC_FLAG="-dynamic -fPIC"
50668 if test "x$XLCC" = "xyes"; then
50669 PIC_FLAG="-dynamic -DPIC"
50674 if test "x$GCC" = "xyes"; then
50677 case "${BAKEFILE_HOST}" in
50679 LD_EXPFULL="-Wl,-bexpfull"
50683 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50684 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50686 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50687 set dummy makeC++SharedLib; ac_word=$2
50688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50690 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50691 echo $ECHO_N "(cached) $ECHO_C" >&6
50693 if test -n "$AIX_CXX_LD"; then
50694 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50697 for as_dir in $PATH
50700 test -z "$as_dir" && as_dir=.
50701 for ac_exec_ext in '' $ac_executable_extensions; do
50702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50703 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50711 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50714 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50715 if test -n "$AIX_CXX_LD"; then
50716 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50717 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50719 { echo "$as_me:$LINENO: result: no" >&5
50720 echo "${ECHO_T}no" >&6; }
50724 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50725 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50730 SHARED_LD_CC="${LD} -nostart -o"
50731 SHARED_LD_CXX="${LD} -nostart -o"
50735 if test "x$GCC" != "xyes"; then
50740 *-*-cygwin* | *-*-mingw32* )
50742 SHARED_LD_CC="\$(CC) -shared -o"
50743 SHARED_LD_CXX="\$(CXX) -shared -o"
50747 *-pc-os2_emx | *-pc-os2-emx )
50748 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50749 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50753 cat <<EOF >dllar.sh
50756 # dllar - a tool to build both a .dll and an .a file
50757 # from a set of object (.o) files for EMX/OS2.
50759 # Written by Andrew Zabolotny, bit@freya.etu.ru
50760 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50762 # This script will accept a set of files on the command line.
50763 # All the public symbols from the .o files will be exported into
50764 # a .DEF file, then linker will be run (through gcc) against them to
50765 # build a shared library consisting of all given .o files. All libraries
50766 # (.a) will be first decompressed into component .o files then act as
50767 # described above. You can optionally give a description (-d "description")
50768 # which will be put into .DLL. To see the list of accepted options (as well
50769 # as command-line format) simply run this program without options. The .DLL
50770 # is built to be imported by name (there is no guarantee that new versions
50771 # of the library you build will have same ordinals for same symbols).
50773 # dllar is free software; you can redistribute it and/or modify
50774 # it under the terms of the GNU General Public License as published by
50775 # the Free Software Foundation; either version 2, or (at your option)
50776 # any later version.
50778 # dllar is distributed in the hope that it will be useful,
50779 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50780 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50781 # GNU General Public License for more details.
50783 # You should have received a copy of the GNU General Public License
50784 # along with dllar; see the file COPYING. If not, write to the Free
50785 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50788 # To successfuly run this program you will need:
50789 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50790 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50792 # (used to build the .dll)
50794 # (used to create .def file from .o files)
50796 # (used to create .a file from .def file)
50797 # - GNU text utilites (cat, sort, uniq)
50798 # used to process emxexp output
50799 # - GNU file utilities (mv, rm)
50801 # - lxlite (optional, see flag below)
50802 # (used for general .dll cleanup)
50809 # basnam, variant of basename, which does _not_ remove the path, _iff_
50810 # second argument (suffix to remove) is given
50814 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50817 echo ${D}1 | sed 's/'${D}2'${D}//'
50820 echo "error in basnam ${D}*"
50826 # Cleanup temporary files and output
50829 for i in ${D}inputFiles ; do
50832 rm -rf \`basnam ${D}i !\`
50839 # Kill result in case of failure as there is just to many stupid make/nmake
50840 # things out there which doesn't do this.
50841 if [ ${D}# -eq 0 ]; then
50842 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50846 # Print usage and exit script with rc=1.
50848 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50849 echo ' [-name-mangler-script script.sh]'
50850 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50851 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50852 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50853 echo ' [*.o] [*.a]'
50854 echo '*> "output_file" should have no extension.'
50855 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50856 echo ' The import library name is derived from this and is set to "name".a,'
50857 echo ' unless overridden by -import'
50858 echo '*> "importlib_name" should have no extension.'
50859 echo ' If it has the .o, or .a extension, it is automatically removed.'
50860 echo ' This name is used as the import library name and may be longer and'
50861 echo ' more descriptive than the DLL name which has to follow the old '
50862 echo ' 8.3 convention of FAT.'
50863 echo '*> "script.sh may be given to override the output_file name by a'
50864 echo ' different name. It is mainly useful if the regular make process'
50865 echo ' of some package does not take into account OS/2 restriction of'
50866 echo ' DLL name lengths. It takes the importlib name as input and is'
50867 echo ' supposed to procude a shorter name as output. The script should'
50868 echo ' expect to get importlib_name without extension and should produce'
50869 echo ' a (max.) 8 letter name without extension.'
50870 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50871 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50872 echo ' These flags will be put at the start of GCC command line.'
50873 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50874 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50875 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50876 echo ' If the last character of a symbol is "*", all symbols beginning'
50877 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50878 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50879 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50880 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50881 echo ' C runtime DLLs.'
50882 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50883 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50884 echo ' unchanged to GCC at the end of command line.'
50885 echo '*> If you create a DLL from a library and you do not specify -o,'
50886 echo ' the basename for DLL and import library will be set to library name,'
50887 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50888 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50889 echo ' library will be renamed into gcc_s.a.'
50892 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50893 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50898 # Execute a command.
50899 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50900 # @Uses Whatever CleanUp() uses.
50906 if [ ${D}rcCmd -ne 0 ]; then
50907 echo "command failed, exit code="${D}rcCmd
50922 CFLAGS="-s -Zcrtdll"
50924 EXPORT_BY_ORDINALS=0
50929 case ${D}curDirS in
50933 curDirS=${D}{curDirS}"/"
50936 # Parse commandline
50939 while [ ${D}1 ]; do
50942 EXPORT_BY_ORDINALS=1;
50952 -name-mangler-script)
50973 exclude_symbols=${D}{exclude_symbols}${D}1" "
50977 library_flags=${D}{library_flags}${D}1" "
50996 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50999 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51000 if [ ${D}omfLinking -eq 1 ]; then
51001 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51003 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51008 if [ ${D}libsToLink -ne 0 ]; then
51009 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51011 for file in ${D}1 ; do
51012 if [ -f ${D}file ]; then
51013 inputFiles="${D}{inputFiles} ${D}file"
51017 if [ ${D}found -eq 0 ]; then
51018 echo "ERROR: No file(s) found: "${D}1
51025 done # iterate cmdline words
51028 if [ -z "${D}inputFiles" ]; then
51029 echo "dllar: no input files"
51033 # Now extract all .o files from .a files
51035 for file in ${D}inputFiles ; do
51046 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51051 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51053 if [ ${D}? -ne 0 ]; then
51054 echo "Failed to create subdirectory ./${D}dirname"
51058 # Append '!' to indicate archive
51059 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51060 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51063 for subfile in ${D}dirname/*.o* ; do
51064 if [ -f ${D}subfile ]; then
51066 if [ -s ${D}subfile ]; then
51067 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51068 newInputFiles="${D}newInputFiles ${D}subfile"
51072 if [ ${D}found -eq 0 ]; then
51073 echo "WARNING: there are no files in archive \\'${D}file\\'"
51077 newInputFiles="${D}{newInputFiles} ${D}file"
51081 inputFiles="${D}newInputFiles"
51083 # Output filename(s).
51085 if [ -z ${D}outFile ]; then
51087 set outFile ${D}inputFiles; outFile=${D}2
51090 # If it is an archive, remove the '!' and the '_%' suffixes
51091 case ${D}outFile in
51093 outFile=\`basnam ${D}outFile _%!\`
51098 case ${D}outFile in
51100 outFile=\`basnam ${D}outFile .dll\`
51103 outFile=\`basnam ${D}outFile .DLL\`
51106 outFile=\`basnam ${D}outFile .o\`
51109 outFile=\`basnam ${D}outFile .obj\`
51112 outFile=\`basnam ${D}outFile .a\`
51115 outFile=\`basnam ${D}outFile .lib\`
51120 case ${D}outimpFile in
51122 outimpFile=\`basnam ${D}outimpFile .a\`
51125 outimpFile=\`basnam ${D}outimpFile .lib\`
51130 if [ -z ${D}outimpFile ]; then
51131 outimpFile=${D}outFile
51133 defFile="${D}{outFile}.def"
51134 arcFile="${D}{outimpFile}.a"
51135 arcFile2="${D}{outimpFile}.lib"
51137 #create ${D}dllFile as something matching 8.3 restrictions,
51138 if [ -z ${D}renameScript ] ; then
51139 dllFile="${D}outFile"
51141 dllFile=\`${D}renameScript ${D}outimpFile\`
51144 if [ ${D}do_backup -ne 0 ] ; then
51145 if [ -f ${D}arcFile ] ; then
51146 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51148 if [ -f ${D}arcFile2 ] ; then
51149 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51153 # Extract public symbols from all the object files.
51154 tmpdefFile=${D}{defFile}_%
51155 rm -f ${D}tmpdefFile
51156 for file in ${D}inputFiles ; do
51161 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51166 # Create the def file.
51168 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51169 dllFile="${D}{dllFile}.dll"
51170 if [ ! -z ${D}description ]; then
51171 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51173 echo "EXPORTS" >> ${D}defFile
51175 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51176 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51178 # Checks if the export is ok or not.
51179 for word in ${D}exclude_symbols; do
51180 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51181 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51185 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51186 sed "=" < ${D}tmpdefFile | \\
51190 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51192 ' > ${D}{tmpdefFile}%
51193 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51195 rm -f ${D}{tmpdefFile}%
51197 cat ${D}tmpdefFile >> ${D}defFile
51198 rm -f ${D}tmpdefFile
51200 # Do linking, create implib, and apply lxlite.
51202 for file in ${D}inputFiles ; do
51207 gccCmdl="${D}gccCmdl ${D}file"
51211 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51212 touch "${D}{outFile}.dll"
51214 doCommand "emximp -o ${D}arcFile ${D}defFile"
51215 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51217 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51220 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51222 doCommand "emxomf -s -l ${D}arcFile"
51232 powerpc-apple-macos* | \
51233 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51243 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51244 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51245 { (exit 1); exit 1; }; }
51248 if test "x$PIC_FLAG" != "x" ; then
51249 PIC_FLAG="$PIC_FLAG -DPIC"
51252 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51253 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51255 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51256 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51275 case "${BAKEFILE_HOST}" in
51276 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51277 if test "x$SUNCXX" = "xyes"; then
51280 SONAME_FLAG="-Wl,-soname,"
51315 # Check whether --enable-dependency-tracking was given.
51316 if test "${enable_dependency_tracking+set}" = set; then
51317 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51321 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51322 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51325 if test "x$bk_use_trackdeps" = "xno" ; then
51327 { echo "$as_me:$LINENO: result: disabled" >&5
51328 echo "${ECHO_T}disabled" >&6; }
51332 if test "x$GCC" = "xyes"; then
51334 case "${BAKEFILE_HOST}" in
51336 DEPSFLAG="-no-cpp-precomp -MMD"
51342 { echo "$as_me:$LINENO: result: gcc" >&5
51343 echo "${ECHO_T}gcc" >&6; }
51344 elif test "x$MWCC" = "xyes"; then
51347 { echo "$as_me:$LINENO: result: mwcc" >&5
51348 echo "${ECHO_T}mwcc" >&6; }
51349 elif test "x$SUNCC" = "xyes"; then
51352 { echo "$as_me:$LINENO: result: Sun cc" >&5
51353 echo "${ECHO_T}Sun cc" >&6; }
51354 elif test "x$SGICC" = "xyes"; then
51357 { echo "$as_me:$LINENO: result: SGI cc" >&5
51358 echo "${ECHO_T}SGI cc" >&6; }
51359 elif test "x$HPCC" = "xyes"; then
51362 { echo "$as_me:$LINENO: result: HP cc" >&5
51363 echo "${ECHO_T}HP cc" >&6; }
51364 elif test "x$COMPAQCC" = "xyes"; then
51367 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51368 echo "${ECHO_T}Compaq cc" >&6; }
51371 { echo "$as_me:$LINENO: result: none" >&5
51372 echo "${ECHO_T}none" >&6; }
51375 if test $DEPS_TRACKING = 1 ; then
51381 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51382 # script. It is used to track C/C++ files dependencies in portable way.
51384 # Permission is given to use this file in any way.
51386 DEPSMODE=${DEPSMODE}
51388 DEPSFLAG="${DEPSFLAG}"
51390 mkdir -p ${D}DEPSDIR
51392 if test ${D}DEPSMODE = gcc ; then
51393 ${D}* ${D}{DEPSFLAG}
51395 if test ${D}{status} != 0 ; then
51398 # move created file to the location we want it in:
51399 while test ${D}# -gt 0; do
51413 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51414 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51415 if test -f ${D}depfile ; then
51416 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51419 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51420 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51421 if test ! -f ${D}depfile ; then
51422 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51423 depfile="${D}objfile.d"
51425 if test -f ${D}depfile ; then
51426 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51431 elif test ${D}DEPSMODE = mwcc ; then
51432 ${D}* || exit ${D}?
51433 # Run mwcc again with -MM and redirect into the dep file we want
51434 # NOTE: We can't use shift here because we need ${D}* to be valid
51436 for arg in ${D}* ; do
51437 if test "${D}prevarg" = "-o"; then
51450 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51452 elif test ${D}DEPSMODE = unixcc; then
51453 ${D}* || exit ${D}?
51454 # Run compiler again with deps flag and redirect into the dep file.
51455 # It doesn't work if the '-o FILE' option is used, but without it the
51456 # dependency file will contain the wrong name for the object. So it is
51457 # removed from the command line, and the dep file is fixed with sed.
51459 while test ${D}# -gt 0; do
51466 eval arg${D}#=\\${D}1
51467 cmd="${D}cmd \\${D}arg${D}#"
51472 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51481 BK_DEPS="`pwd`/bk-deps"
51489 case ${BAKEFILE_HOST} in
51490 *-*-cygwin* | *-*-mingw32* )
51491 if test -n "$ac_tool_prefix"; then
51492 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51493 set dummy ${ac_tool_prefix}windres; ac_word=$2
51494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51496 if test "${ac_cv_prog_WINDRES+set}" = set; then
51497 echo $ECHO_N "(cached) $ECHO_C" >&6
51499 if test -n "$WINDRES"; then
51500 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51503 for as_dir in $PATH
51506 test -z "$as_dir" && as_dir=.
51507 for ac_exec_ext in '' $ac_executable_extensions; do
51508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51509 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51519 WINDRES=$ac_cv_prog_WINDRES
51520 if test -n "$WINDRES"; then
51521 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51522 echo "${ECHO_T}$WINDRES" >&6; }
51524 { echo "$as_me:$LINENO: result: no" >&5
51525 echo "${ECHO_T}no" >&6; }
51530 if test -z "$ac_cv_prog_WINDRES"; then
51531 ac_ct_WINDRES=$WINDRES
51532 # Extract the first word of "windres", so it can be a program name with args.
51533 set dummy windres; ac_word=$2
51534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51536 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51537 echo $ECHO_N "(cached) $ECHO_C" >&6
51539 if test -n "$ac_ct_WINDRES"; then
51540 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51543 for as_dir in $PATH
51546 test -z "$as_dir" && as_dir=.
51547 for ac_exec_ext in '' $ac_executable_extensions; do
51548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51549 ac_cv_prog_ac_ct_WINDRES="windres"
51550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51559 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51560 if test -n "$ac_ct_WINDRES"; then
51561 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51562 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51564 { echo "$as_me:$LINENO: result: no" >&5
51565 echo "${ECHO_T}no" >&6; }
51568 if test "x$ac_ct_WINDRES" = x; then
51571 case $cross_compiling:$ac_tool_warned in
51573 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51574 whose name does not start with the host triplet. If you think this
51575 configuration is useful to you, please write to autoconf@gnu.org." >&5
51576 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51577 whose name does not start with the host triplet. If you think this
51578 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51579 ac_tool_warned=yes ;;
51581 WINDRES=$ac_ct_WINDRES
51584 WINDRES="$ac_cv_prog_WINDRES"
51589 *-*-darwin* | powerpc-apple-macos* )
51590 # Extract the first word of "Rez", so it can be a program name with args.
51591 set dummy Rez; ac_word=$2
51592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51594 if test "${ac_cv_prog_REZ+set}" = set; then
51595 echo $ECHO_N "(cached) $ECHO_C" >&6
51597 if test -n "$REZ"; then
51598 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51601 for as_dir in $PATH
51604 test -z "$as_dir" && as_dir=.
51605 for ac_exec_ext in '' $ac_executable_extensions; do
51606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51607 ac_cv_prog_REZ="Rez"
51608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51615 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51618 REZ=$ac_cv_prog_REZ
51619 if test -n "$REZ"; then
51620 { echo "$as_me:$LINENO: result: $REZ" >&5
51621 echo "${ECHO_T}$REZ" >&6; }
51623 { echo "$as_me:$LINENO: result: no" >&5
51624 echo "${ECHO_T}no" >&6; }
51628 # Extract the first word of "SetFile", so it can be a program name with args.
51629 set dummy SetFile; ac_word=$2
51630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51632 if test "${ac_cv_prog_SETFILE+set}" = set; then
51633 echo $ECHO_N "(cached) $ECHO_C" >&6
51635 if test -n "$SETFILE"; then
51636 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51639 for as_dir in $PATH
51642 test -z "$as_dir" && as_dir=.
51643 for ac_exec_ext in '' $ac_executable_extensions; do
51644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51645 ac_cv_prog_SETFILE="SetFile"
51646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51653 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51656 SETFILE=$ac_cv_prog_SETFILE
51657 if test -n "$SETFILE"; then
51658 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51659 echo "${ECHO_T}$SETFILE" >&6; }
51661 { echo "$as_me:$LINENO: result: no" >&5
51662 echo "${ECHO_T}no" >&6; }
51674 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51677 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51681 # Check whether --enable-precomp-headers was given.
51682 if test "${enable_precomp_headers+set}" = set; then
51683 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51692 case ${BAKEFILE_HOST} in
51698 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51699 if test "x$GCC" = "xyes"; then
51700 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51701 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51702 cat >conftest.$ac_ext <<_ACEOF
51705 cat confdefs.h >>conftest.$ac_ext
51706 cat >>conftest.$ac_ext <<_ACEOF
51707 /* end confdefs.h. */
51713 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51714 There is no PCH support
51717 There is no PCH support
51719 #if (__GNUC__ == 3) && \
51720 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51721 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51722 ( defined(__INTEL_COMPILER) )
51723 There is no PCH support
51730 rm -f conftest.$ac_objext
51731 if { (ac_try="$ac_compile"
51732 case "(($ac_try" in
51733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51734 *) ac_try_echo=$ac_try;;
51736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51737 (eval "$ac_compile") 2>conftest.er1
51739 grep -v '^ *+' conftest.er1 >conftest.err
51741 cat conftest.err >&5
51742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51743 (exit $ac_status); } && {
51744 test -z "$ac_c_werror_flag" ||
51745 test ! -s conftest.err
51746 } && test -s conftest.$ac_objext; then
51748 { echo "$as_me:$LINENO: result: yes" >&5
51749 echo "${ECHO_T}yes" >&6; }
51753 echo "$as_me: failed program was:" >&5
51754 sed 's/^/| /' conftest.$ac_ext >&5
51757 cat >conftest.$ac_ext <<_ACEOF
51760 cat confdefs.h >>conftest.$ac_ext
51761 cat >>conftest.$ac_ext <<_ACEOF
51762 /* end confdefs.h. */
51768 #if !defined(__INTEL_COMPILER) || \
51769 (__INTEL_COMPILER < 800)
51770 There is no PCH support
51777 rm -f conftest.$ac_objext
51778 if { (ac_try="$ac_compile"
51779 case "(($ac_try" in
51780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51781 *) ac_try_echo=$ac_try;;
51783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51784 (eval "$ac_compile") 2>conftest.er1
51786 grep -v '^ *+' conftest.er1 >conftest.err
51788 cat conftest.err >&5
51789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51790 (exit $ac_status); } && {
51791 test -z "$ac_c_werror_flag" ||
51792 test ! -s conftest.err
51793 } && test -s conftest.$ac_objext; then
51795 { echo "$as_me:$LINENO: result: yes" >&5
51796 echo "${ECHO_T}yes" >&6; }
51800 echo "$as_me: failed program was:" >&5
51801 sed 's/^/| /' conftest.$ac_ext >&5
51804 { echo "$as_me:$LINENO: result: no" >&5
51805 echo "${ECHO_T}no" >&6; }
51809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51814 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51818 cat <<EOF >bk-make-pch
51821 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51822 # script. It is used to generated precompiled headers.
51824 # Permission is given to use this file in any way.
51834 while test ${D}{#} -gt 0; do
51838 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51839 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51840 headerfile="${D}{incdir}/${D}{header}"
51843 -use-pch|-use_pch )
51848 if test ${D}add_to_cmdline = 1 ; then
51849 compiler="${D}{compiler} ${D}{1}"
51854 if test "x${D}{headerfile}" = "x" ; then
51855 echo "error: can't find header ${D}{header} in include paths" >&2
51857 if test -f ${D}{outfile} ; then
51858 rm -f ${D}{outfile}
51860 mkdir -p \`dirname ${D}{outfile}\`
51862 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51864 if test "x${GCC_PCH}" = "x1" ; then
51865 # can do this because gcc is >= 3.4:
51866 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51867 elif test "x${ICC_PCH}" = "x1" ; then
51868 filename=pch_gen-${D}${D}
51869 file=${D}{filename}.c
51870 dfile=${D}{filename}.d
51871 cat > ${D}file <<EOT
51872 #include "${D}header"
51874 # using -MF icc complains about differing command lines in creation/use
51875 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51876 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51877 rm -f ${D}file ${D}dfile ${D}{filename}.o
51883 chmod +x bk-make-pch
51884 BK_MAKE_PCH="`pwd`/bk-make-pch"
51893 COND_BUILD_DEBUG="#"
51894 if test "x$BUILD" = "xdebug" ; then
51895 COND_BUILD_DEBUG=""
51898 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51899 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51900 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51903 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51904 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51905 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51908 COND_BUILD_DEBUG_UNICODE_0="#"
51909 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51910 COND_BUILD_DEBUG_UNICODE_0=""
51913 COND_BUILD_DEBUG_UNICODE_1="#"
51914 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51915 COND_BUILD_DEBUG_UNICODE_1=""
51918 COND_BUILD_RELEASE="#"
51919 if test "x$BUILD" = "xrelease" ; then
51920 COND_BUILD_RELEASE=""
51923 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51924 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51925 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51928 COND_BUILD_RELEASE_UNICODE_0="#"
51929 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51930 COND_BUILD_RELEASE_UNICODE_0=""
51933 COND_BUILD_RELEASE_UNICODE_1="#"
51934 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51935 COND_BUILD_RELEASE_UNICODE_1=""
51938 COND_DEBUG_FLAG_1="#"
51939 if test "x$DEBUG_FLAG" = "x1" ; then
51940 COND_DEBUG_FLAG_1=""
51943 COND_DEBUG_INFO_0="#"
51944 if test "x$DEBUG_INFO" = "x0" ; then
51945 COND_DEBUG_INFO_0=""
51948 COND_DEBUG_INFO_1="#"
51949 if test "x$DEBUG_INFO" = "x1" ; then
51950 COND_DEBUG_INFO_1=""
51953 COND_DEPS_TRACKING_0="#"
51954 if test "x$DEPS_TRACKING" = "x0" ; then
51955 COND_DEPS_TRACKING_0=""
51958 COND_DEPS_TRACKING_1="#"
51959 if test "x$DEPS_TRACKING" = "x1" ; then
51960 COND_DEPS_TRACKING_1=""
51964 if test "x$GCC_PCH" = "x1" ; then
51969 if test "x$ICC_PCH" = "x1" ; then
51973 COND_MONOLITHIC_0="#"
51974 if test "x$MONOLITHIC" = "x0" ; then
51975 COND_MONOLITHIC_0=""
51978 COND_MONOLITHIC_0_SHARED_0="#"
51979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51980 COND_MONOLITHIC_0_SHARED_0=""
51983 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51985 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51990 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51993 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51995 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51998 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51999 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52000 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52004 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52008 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52009 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52010 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52013 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52014 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52015 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52018 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52019 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52020 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52023 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52024 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52025 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52028 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52029 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52030 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52033 COND_MONOLITHIC_0_SHARED_1="#"
52034 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52035 COND_MONOLITHIC_0_SHARED_1=""
52038 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52039 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52040 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52043 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52044 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52045 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52048 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52049 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52050 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52053 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52054 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52055 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52058 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52059 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52060 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52063 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52068 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52070 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52073 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52074 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52075 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52078 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52080 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52083 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52085 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52088 COND_MONOLITHIC_0_USE_AUI_1="#"
52089 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52090 COND_MONOLITHIC_0_USE_AUI_1=""
52093 COND_MONOLITHIC_0_USE_GUI_1="#"
52094 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52095 COND_MONOLITHIC_0_USE_GUI_1=""
52098 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52099 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52100 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52103 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52104 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52105 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52108 COND_MONOLITHIC_0_USE_HTML_1="#"
52109 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52110 COND_MONOLITHIC_0_USE_HTML_1=""
52113 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52114 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52115 COND_MONOLITHIC_0_USE_MEDIA_1=""
52118 COND_MONOLITHIC_0_USE_ODBC_1="#"
52119 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52120 COND_MONOLITHIC_0_USE_ODBC_1=""
52123 COND_MONOLITHIC_0_USE_QA_1="#"
52124 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52125 COND_MONOLITHIC_0_USE_QA_1=""
52128 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52129 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52130 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52133 COND_MONOLITHIC_0_USE_STC_1="#"
52134 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52135 COND_MONOLITHIC_0_USE_STC_1=""
52138 COND_MONOLITHIC_0_USE_XRC_1="#"
52139 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52140 COND_MONOLITHIC_0_USE_XRC_1=""
52143 COND_MONOLITHIC_1="#"
52144 if test "x$MONOLITHIC" = "x1" ; then
52145 COND_MONOLITHIC_1=""
52148 COND_MONOLITHIC_1_SHARED_0="#"
52149 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52150 COND_MONOLITHIC_1_SHARED_0=""
52153 COND_MONOLITHIC_1_SHARED_1="#"
52154 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52155 COND_MONOLITHIC_1_SHARED_1=""
52158 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52159 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52160 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52163 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52164 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52165 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52168 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52169 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52170 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52173 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52174 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52175 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52178 COND_PLATFORM_MACOSX_1="#"
52179 if test "x$PLATFORM_MACOSX" = "x1" ; then
52180 COND_PLATFORM_MACOSX_1=""
52183 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52184 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52185 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52188 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52189 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52190 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52193 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52194 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52195 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52198 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52199 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52200 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52203 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52204 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52205 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52208 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52209 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52210 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52213 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52214 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52215 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52218 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52219 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52220 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52223 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52224 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52225 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52228 COND_PLATFORM_MACOS_1="#"
52229 if test "x$PLATFORM_MACOS" = "x1" ; then
52230 COND_PLATFORM_MACOS_1=""
52233 COND_PLATFORM_MAC_1="#"
52234 if test "x$PLATFORM_MAC" = "x1" ; then
52235 COND_PLATFORM_MAC_1=""
52238 COND_PLATFORM_MSDOS_0="#"
52239 if test "x$PLATFORM_MSDOS" = "x0" ; then
52240 COND_PLATFORM_MSDOS_0=""
52243 COND_PLATFORM_MSDOS_1="#"
52244 if test "x$PLATFORM_MSDOS" = "x1" ; then
52245 COND_PLATFORM_MSDOS_1=""
52248 COND_PLATFORM_OS2_1="#"
52249 if test "x$PLATFORM_OS2" = "x1" ; then
52250 COND_PLATFORM_OS2_1=""
52253 COND_PLATFORM_UNIX_0="#"
52254 if test "x$PLATFORM_UNIX" = "x0" ; then
52255 COND_PLATFORM_UNIX_0=""
52258 COND_PLATFORM_UNIX_1="#"
52259 if test "x$PLATFORM_UNIX" = "x1" ; then
52260 COND_PLATFORM_UNIX_1=""
52263 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52264 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52265 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52268 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52269 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52270 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52273 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52274 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52275 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52278 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52279 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52280 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52283 COND_PLATFORM_WIN32_0="#"
52284 if test "x$PLATFORM_WIN32" = "x0" ; then
52285 COND_PLATFORM_WIN32_0=""
52288 COND_PLATFORM_WIN32_1="#"
52289 if test "x$PLATFORM_WIN32" = "x1" ; then
52290 COND_PLATFORM_WIN32_1=""
52294 if test "x$SHARED" = "x0" ; then
52298 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52299 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52300 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52303 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52304 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52305 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52308 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52309 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52310 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52313 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52314 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52315 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52318 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52319 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52320 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52323 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52324 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52325 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52328 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52329 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52330 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52333 COND_SHARED_0_USE_STC_1="#"
52334 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52335 COND_SHARED_0_USE_STC_1=""
52338 COND_SHARED_0_USE_XRC_1="#"
52339 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52340 COND_SHARED_0_USE_XRC_1=""
52343 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52344 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52345 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52348 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52349 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52350 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52353 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52354 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52355 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52358 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52359 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52360 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52364 if test "x$SHARED" = "x1" ; then
52368 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52369 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52370 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52373 COND_SHARED_1_USE_XRC_1="#"
52374 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52375 COND_SHARED_1_USE_XRC_1=""
52379 if test "x$TOOLKIT" = "x" ; then
52383 COND_TOOLKIT_COCOA="#"
52384 if test "x$TOOLKIT" = "xCOCOA" ; then
52385 COND_TOOLKIT_COCOA=""
52388 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52389 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52390 COND_TOOLKIT_COCOA_USE_GUI_1=""
52393 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52394 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52395 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52398 COND_TOOLKIT_DFB="#"
52399 if test "x$TOOLKIT" = "xDFB" ; then
52400 COND_TOOLKIT_DFB=""
52403 COND_TOOLKIT_DFB_USE_GUI_1="#"
52404 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52405 COND_TOOLKIT_DFB_USE_GUI_1=""
52408 COND_TOOLKIT_GTK="#"
52409 if test "x$TOOLKIT" = "xGTK" ; then
52410 COND_TOOLKIT_GTK=""
52413 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52414 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52415 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52418 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52419 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52420 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52423 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52424 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52425 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52428 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52429 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52430 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52433 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52434 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52435 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52438 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52439 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52440 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52443 COND_TOOLKIT_GTK_USE_GUI_1="#"
52444 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52445 COND_TOOLKIT_GTK_USE_GUI_1=""
52448 COND_TOOLKIT_MAC="#"
52449 if test "x$TOOLKIT" = "xMAC" ; then
52450 COND_TOOLKIT_MAC=""
52453 COND_TOOLKIT_MAC_USE_GUI_1="#"
52454 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52455 COND_TOOLKIT_MAC_USE_GUI_1=""
52458 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52459 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52460 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52463 COND_TOOLKIT_MGL="#"
52464 if test "x$TOOLKIT" = "xMGL" ; then
52465 COND_TOOLKIT_MGL=""
52468 COND_TOOLKIT_MGL_USE_GUI_1="#"
52469 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52470 COND_TOOLKIT_MGL_USE_GUI_1=""
52473 COND_TOOLKIT_MOTIF="#"
52474 if test "x$TOOLKIT" = "xMOTIF" ; then
52475 COND_TOOLKIT_MOTIF=""
52478 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52479 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52480 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52483 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52484 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52485 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52488 COND_TOOLKIT_MSW="#"
52489 if test "x$TOOLKIT" = "xMSW" ; then
52490 COND_TOOLKIT_MSW=""
52493 COND_TOOLKIT_MSW_USE_GUI_1="#"
52494 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52495 COND_TOOLKIT_MSW_USE_GUI_1=""
52498 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52499 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52500 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52503 COND_TOOLKIT_MSW_WXUNIV_0="#"
52504 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52505 COND_TOOLKIT_MSW_WXUNIV_0=""
52508 COND_TOOLKIT_PM="#"
52509 if test "x$TOOLKIT" = "xPM" ; then
52513 COND_TOOLKIT_PM_USE_GUI_1="#"
52514 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52515 COND_TOOLKIT_PM_USE_GUI_1=""
52518 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52519 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52520 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52523 COND_TOOLKIT_WINCE="#"
52524 if test "x$TOOLKIT" = "xWINCE" ; then
52525 COND_TOOLKIT_WINCE=""
52528 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52529 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52530 COND_TOOLKIT_WINCE_USE_GUI_1=""
52533 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52534 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52535 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52538 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52539 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52540 COND_TOOLKIT_WINCE_WXUNIV_0=""
52543 COND_TOOLKIT_X11="#"
52544 if test "x$TOOLKIT" = "xX11" ; then
52545 COND_TOOLKIT_X11=""
52548 COND_TOOLKIT_X11_USE_GUI_1="#"
52549 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52550 COND_TOOLKIT_X11_USE_GUI_1=""
52554 if test "x$UNICODE" = "x1" ; then
52558 COND_USE_EXCEPTIONS_0="#"
52559 if test "x$USE_EXCEPTIONS" = "x0" ; then
52560 COND_USE_EXCEPTIONS_0=""
52563 COND_USE_EXCEPTIONS_1="#"
52564 if test "x$USE_EXCEPTIONS" = "x1" ; then
52565 COND_USE_EXCEPTIONS_1=""
52569 if test "x$USE_GUI" = "x0" ; then
52574 if test "x$USE_GUI" = "x1" ; then
52578 COND_USE_GUI_1_USE_OPENGL_1="#"
52579 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52580 COND_USE_GUI_1_USE_OPENGL_1=""
52583 COND_USE_GUI_1_WXUNIV_0="#"
52584 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52585 COND_USE_GUI_1_WXUNIV_0=""
52588 COND_USE_GUI_1_WXUNIV_1="#"
52589 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52590 COND_USE_GUI_1_WXUNIV_1=""
52593 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52594 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52595 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52598 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52599 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52600 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52603 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52604 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52605 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52608 COND_USE_ODBC_1="#"
52609 if test "x$USE_ODBC" = "x1" ; then
52613 COND_USE_OPENGL_1="#"
52614 if test "x$USE_OPENGL" = "x1" ; then
52615 COND_USE_OPENGL_1=""
52619 if test "x$USE_PCH" = "x1" ; then
52623 COND_USE_PLUGINS_0="#"
52624 if test "x$USE_PLUGINS" = "x0" ; then
52625 COND_USE_PLUGINS_0=""
52628 COND_USE_RTTI_0="#"
52629 if test "x$USE_RTTI" = "x0" ; then
52633 COND_USE_RTTI_1="#"
52634 if test "x$USE_RTTI" = "x1" ; then
52638 COND_USE_SOSYMLINKS_1="#"
52639 if test "x$USE_SOSYMLINKS" = "x1" ; then
52640 COND_USE_SOSYMLINKS_1=""
52643 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52644 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52645 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52648 COND_USE_SOVERLINUX_1="#"
52649 if test "x$USE_SOVERLINUX" = "x1" ; then
52650 COND_USE_SOVERLINUX_1=""
52653 COND_USE_SOVERSION_0="#"
52654 if test "x$USE_SOVERSION" = "x0" ; then
52655 COND_USE_SOVERSION_0=""
52658 COND_USE_SOVERSOLARIS_1="#"
52659 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52660 COND_USE_SOVERSOLARIS_1=""
52664 if test "x$USE_STC" = "x1" ; then
52668 COND_USE_THREADS_0="#"
52669 if test "x$USE_THREADS" = "x0" ; then
52670 COND_USE_THREADS_0=""
52673 COND_USE_THREADS_1="#"
52674 if test "x$USE_THREADS" = "x1" ; then
52675 COND_USE_THREADS_1=""
52679 if test "x$USE_XRC" = "x1" ; then
52683 COND_WINDOWS_IMPLIB_1="#"
52684 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52685 COND_WINDOWS_IMPLIB_1=""
52688 COND_WITH_PLUGIN_SDL_1="#"
52689 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52690 COND_WITH_PLUGIN_SDL_1=""
52694 if test "x$WXUNIV" = "x0" ; then
52699 if test "x$WXUNIV" = "x1" ; then
52703 COND_WXUSE_EXPAT_BUILTIN="#"
52704 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52705 COND_WXUSE_EXPAT_BUILTIN=""
52708 COND_WXUSE_LIBJPEG_BUILTIN="#"
52709 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52710 COND_WXUSE_LIBJPEG_BUILTIN=""
52713 COND_WXUSE_LIBPNG_BUILTIN="#"
52714 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52715 COND_WXUSE_LIBPNG_BUILTIN=""
52718 COND_WXUSE_LIBTIFF_BUILTIN="#"
52719 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52720 COND_WXUSE_LIBTIFF_BUILTIN=""
52723 COND_WXUSE_ODBC_BUILTIN="#"
52724 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52725 COND_WXUSE_ODBC_BUILTIN=""
52728 COND_WXUSE_REGEX_BUILTIN="#"
52729 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52730 COND_WXUSE_REGEX_BUILTIN=""
52733 COND_WXUSE_ZLIB_BUILTIN="#"
52734 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52735 COND_WXUSE_ZLIB_BUILTIN=""
52740 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52741 { { 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
52742 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;}
52743 { (exit 1); exit 1; }; }
52746 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52747 { { 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
52748 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;}
52749 { (exit 1); exit 1; }; }
52756 ?:* ) # Drive letter, considered as absolute.
52759 INSTALL=`pwd`/${INSTALL} ;;
52762 if test "$wxUSE_GUI" = "yes"; then
52764 if test "$wxUSE_MSW" = 1 ; then
52765 if test "x$WINDRES" = "x"; then
52766 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52767 echo "$as_me: error: Required windres program not found" >&2;}
52768 { (exit 1); exit 1; }; }
52774 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52775 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52776 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52778 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52780 # Extract the first word of "DeRez", so it can be a program name with args.
52781 set dummy DeRez; ac_word=$2
52782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52784 if test "${ac_cv_prog_DEREZ+set}" = set; then
52785 echo $ECHO_N "(cached) $ECHO_C" >&6
52787 if test -n "$DEREZ"; then
52788 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52791 for as_dir in $PATH
52794 test -z "$as_dir" && as_dir=.
52795 for ac_exec_ext in '' $ac_executable_extensions; do
52796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52797 ac_cv_prog_DEREZ="DeRez"
52798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52805 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52808 DEREZ=$ac_cv_prog_DEREZ
52809 if test -n "$DEREZ"; then
52810 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52811 echo "${ECHO_T}$DEREZ" >&6; }
52813 { echo "$as_me:$LINENO: result: no" >&5
52814 echo "${ECHO_T}no" >&6; }
52819 MACSETFILE="\$(SETFILE)"
52821 if test "$wxUSE_MAC" = 1; then
52822 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52824 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52826 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52827 RESCOMP="cat /dev/null \| $REZ"
52828 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52834 if test "$wxUSE_PM" = 1; then
52836 WXCONFIG_RESFLAGS="-ep"
52838 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52840 POSTLINK_COMMAND="@true"
52847 if test $GCC_PCH = 1
52849 if test "$wx_cv_gcc_pch_bug" = yes; then
52850 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52851 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52852 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52853 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52854 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52855 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52858 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52862 if test "$wxUSE_MAC" = 1 ; then
52863 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52864 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52870 if test "$wxUSE_SHARED" = "yes"; then
52872 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52873 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52876 *-pc-os2_emx | *-pc-os2-emx )
52877 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52878 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52879 cp -p ${srcdir}/src/os2/dllnames.sh .
52880 cp -p ${srcdir}/src/os2/dllar.sh .
52885 EXE_LINKER="$CXX -o"
52888 if test "$wxUSE_OMF" = "yes"; then
52890 *-pc-os2_emx | *-pc-os2-emx )
52891 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52892 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52893 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52898 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52903 if "$GCC" = yes; then
52904 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52905 LIBS=`echo $LIBS | sed 's/-mt//'`
52906 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52911 if test "x$SUNCXX" = xyes; then
52912 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52913 LIBS=`echo $LIBS | sed 's/-pthread//'`
52914 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52919 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52920 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52922 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52984 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52985 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52986 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52987 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52988 echo $ECHO_N "(cached) $ECHO_C" >&6
52990 cat >conftest.make <<\_ACEOF
52993 @echo '@@@%%%=$(MAKE)=@@@%%%'
52995 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52996 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52997 *@@@%%%=?*=@@@%%%*)
52998 eval ac_cv_prog_make_${ac_make}_set=yes;;
53000 eval ac_cv_prog_make_${ac_make}_set=no;;
53002 rm -f conftest.make
53004 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53005 { echo "$as_me:$LINENO: result: yes" >&5
53006 echo "${ECHO_T}yes" >&6; }
53009 { echo "$as_me:$LINENO: result: no" >&5
53010 echo "${ECHO_T}no" >&6; }
53011 SET_MAKE="MAKE=${MAKE-make}"
53016 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53019 if test "$USE_WIN32" = 1; then
53020 ac_config_commands="$ac_config_commands
53026 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53029 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53032 if test "$wx_cv_version_script" = "yes"; then
53033 ac_config_files="$ac_config_files version-script"
53036 ac_config_files="$ac_config_files Makefile"
53039 ac_config_commands="$ac_config_commands wx-config"
53043 if test "$wxWITH_SUBDIRS" != "no"; then
53044 if test "$wxUSE_GUI" = "yes"; then
53045 SUBDIRS="samples demos utils"
53046 else SUBDIRS="samples utils"
53051 # Check whether --with-cppunit-prefix was given.
53052 if test "${with_cppunit_prefix+set}" = set; then
53053 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53055 cppunit_config_prefix=""
53059 # Check whether --with-cppunit-exec-prefix was given.
53060 if test "${with_cppunit_exec_prefix+set}" = set; then
53061 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53063 cppunit_config_exec_prefix=""
53067 if test x$cppunit_config_exec_prefix != x ; then
53068 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53069 if test x${CPPUNIT_CONFIG+set} != xset ; then
53070 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53073 if test x$cppunit_config_prefix != x ; then
53074 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53075 if test x${CPPUNIT_CONFIG+set} != xset ; then
53076 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53080 # Extract the first word of "cppunit-config", so it can be a program name with args.
53081 set dummy cppunit-config; ac_word=$2
53082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53084 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53085 echo $ECHO_N "(cached) $ECHO_C" >&6
53087 case $CPPUNIT_CONFIG in
53089 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53093 for as_dir in $PATH
53096 test -z "$as_dir" && as_dir=.
53097 for ac_exec_ext in '' $ac_executable_extensions; do
53098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53099 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53107 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53111 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53112 if test -n "$CPPUNIT_CONFIG"; then
53113 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53114 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53116 { echo "$as_me:$LINENO: result: no" >&5
53117 echo "${ECHO_T}no" >&6; }
53121 cppunit_version_min=1.8.0
53123 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53124 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53126 if test "$CPPUNIT_CONFIG" = "no" ; then
53127 { echo "$as_me:$LINENO: result: no" >&5
53128 echo "${ECHO_T}no" >&6; }
53131 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53132 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53133 cppunit_version=`$CPPUNIT_CONFIG --version`
53135 cppunit_major_version=`echo $cppunit_version | \
53136 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53137 cppunit_minor_version=`echo $cppunit_version | \
53138 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53139 cppunit_micro_version=`echo $cppunit_version | \
53140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53142 cppunit_major_min=`echo $cppunit_version_min | \
53143 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53144 cppunit_minor_min=`echo $cppunit_version_min | \
53145 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53146 cppunit_micro_min=`echo $cppunit_version_min | \
53147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53149 cppunit_version_proper=`expr \
53150 $cppunit_major_version \> $cppunit_major_min \| \
53151 $cppunit_major_version \= $cppunit_major_min \& \
53152 $cppunit_minor_version \> $cppunit_minor_min \| \
53153 $cppunit_major_version \= $cppunit_major_min \& \
53154 $cppunit_minor_version \= $cppunit_minor_min \& \
53155 $cppunit_micro_version \>= $cppunit_micro_min `
53157 if test "$cppunit_version_proper" = "1" ; then
53158 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53159 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53161 { echo "$as_me:$LINENO: result: no" >&5
53162 echo "${ECHO_T}no" >&6; }
53167 if test "x$no_cppunit" = x ; then
53168 SUBDIRS="$SUBDIRS tests"
53179 for subdir in `echo $SUBDIRS`; do
53180 if test -d ${srcdir}/${subdir} ; then
53181 if test "$wxUSE_GUI" = "yes"; then
53182 if test ${subdir} = "samples"; then
53183 makefiles="samples/Makefile.in $makefiles"
53184 for sample in `echo $SAMPLES_SUBDIRS`; do
53185 if test -d $srcdir/samples/$sample; then
53186 makefiles="samples/$sample/Makefile.in $makefiles"
53190 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53191 eval "disabled=\$$disabled_var"
53192 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53193 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53195 else if test ${subdir} = "samples"; then
53196 makefiles="samples/Makefile.in samples/console/Makefile.in"
53197 elif test ${subdir} = "utils"; then
53199 for util in HelpGen tex2rtf ; do
53200 if test -d $srcdir/utils/$util ; then
53201 makefiles="utils/$util/Makefile.in \
53202 utils/$util/src/Makefile.in \
53206 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53210 for mkin in $makefiles ; do
53211 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53212 ac_config_files="$ac_config_files $mk"
53218 cat >confcache <<\_ACEOF
53219 # This file is a shell script that caches the results of configure
53220 # tests run on this system so they can be shared between configure
53221 # scripts and configure runs, see configure's option --config-cache.
53222 # It is not useful on other systems. If it contains results you don't
53223 # want to keep, you may remove or edit it.
53225 # config.status only pays attention to the cache file if you give it
53226 # the --recheck option to rerun configure.
53228 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53229 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53230 # following values.
53234 # The following way of writing the cache mishandles newlines in values,
53235 # but we know of no workaround that is simple, portable, and efficient.
53236 # So, we kill variables containing newlines.
53237 # Ultrix sh set writes to stderr and can't be redirected directly,
53238 # and sets the high bit in the cache file unless we assign to the vars.
53240 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53241 eval ac_val=\$$ac_var
53245 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53246 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53249 _ | IFS | as_nl) ;; #(
53250 *) $as_unset $ac_var ;;
53256 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53257 *${as_nl}ac_space=\ *)
53258 # `set' does not quote correctly, so add quotes (double-quote
53259 # substitution turns \\\\ into \\, and sed turns \\ into \).
53262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53265 # `set' quotes correctly as required by POSIX, so do not add quotes.
53266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53275 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53277 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53279 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53280 if test -w "$cache_file"; then
53281 test "x$cache_file" != "x/dev/null" &&
53282 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53283 echo "$as_me: updating cache $cache_file" >&6;}
53284 cat confcache >$cache_file
53286 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53287 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53292 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53293 # Let make expand exec_prefix.
53294 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53296 DEFS=-DHAVE_CONFIG_H
53300 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53301 # 1. Remove the extension, and $U if already installed.
53302 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53303 ac_i=`echo "$ac_i" | sed "$ac_script"`
53304 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53305 # will be set to the directory where LIBOBJS objects are built.
53306 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53307 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53309 LIBOBJS=$ac_libobjs
53311 LTLIBOBJS=$ac_ltlibobjs
53315 : ${CONFIG_STATUS=./config.status}
53316 ac_clean_files_save=$ac_clean_files
53317 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53318 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53319 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53320 cat >$CONFIG_STATUS <<_ACEOF
53322 # Generated by $as_me.
53323 # Run this file to recreate the current configuration.
53324 # Compiler output produced by configure, useful for debugging
53325 # configure, is in config.log if it exists.
53328 ac_cs_recheck=false
53330 SHELL=\${CONFIG_SHELL-$SHELL}
53333 cat >>$CONFIG_STATUS <<\_ACEOF
53334 ## --------------------- ##
53335 ## M4sh Initialization. ##
53336 ## --------------------- ##
53338 # Be more Bourne compatible
53339 DUALCASE=1; export DUALCASE # for MKS sh
53340 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53343 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53344 # is contrary to our usage. Disable this feature.
53345 alias -g '${1+"$@"}'='"$@"'
53346 setopt NO_GLOB_SUBST
53348 case `(set -o) 2>/dev/null` in
53349 *posix*) set -o posix ;;
53358 # Avoid depending upon Character Ranges.
53359 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53360 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53361 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53362 as_cr_digits='0123456789'
53363 as_cr_alnum=$as_cr_Letters$as_cr_digits
53365 # The user is always right.
53366 if test "${PATH_SEPARATOR+set}" != set; then
53367 echo "#! /bin/sh" >conf$$.sh
53368 echo "exit 0" >>conf$$.sh
53370 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53378 # Support unset when possible.
53379 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53387 # We need space, tab and new line, in precisely that order. Quoting is
53388 # there to prevent editors from complaining about space-tab.
53389 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53390 # splitting by setting IFS to empty value.)
53395 # Find who we are. Look in the path if we contain no directory separator.
53397 *[\\/]* ) as_myself=$0 ;;
53398 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53399 for as_dir in $PATH
53402 test -z "$as_dir" && as_dir=.
53403 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53409 # We did not find ourselves, most probably we were run as `sh COMMAND'
53410 # in which case we are not to be found in the path.
53411 if test "x$as_myself" = x; then
53414 if test ! -f "$as_myself"; then
53415 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53416 { (exit 1); exit 1; }
53419 # Work around bugs in pre-3.0 UWIN ksh.
53420 for as_var in ENV MAIL MAILPATH
53421 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53429 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53430 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53431 LC_TELEPHONE LC_TIME
53433 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53434 eval $as_var=C; export $as_var
53436 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53440 # Required to use basename.
53441 if expr a : '\(a\)' >/dev/null 2>&1 &&
53442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53449 as_basename=basename
53455 # Name of the executable.
53456 as_me=`$as_basename -- "$0" ||
53457 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53458 X"$0" : 'X\(//\)$' \| \
53459 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53461 sed '/^.*\/\([^/][^/]*\)\/*$/{
53480 as_lineno_1=$LINENO
53481 as_lineno_2=$LINENO
53482 test "x$as_lineno_1" != "x$as_lineno_2" &&
53483 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53485 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53486 # uniformly replaced by the line number. The first 'sed' inserts a
53487 # line-number line after each line using $LINENO; the second 'sed'
53488 # does the real work. The second script uses 'N' to pair each
53489 # line-number line with the line containing $LINENO, and appends
53490 # trailing '-' during substitution so that $LINENO is not a special
53491 # case at line end.
53492 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53493 # scripts with optimization help from Paolo Bonzini. Blame Lee
53494 # E. McMahon (1931-1989) for sed's syntax. :-)
53506 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53509 ' >$as_me.lineno &&
53510 chmod +x "$as_me.lineno" ||
53511 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53512 { (exit 1); exit 1; }; }
53514 # Don't try to exec as it changes $[0], causing all sort of problems
53515 # (the dirname of $[0] is not the place where we might find the
53516 # original and so on. Autoconf is especially sensitive to this).
53517 . "./$as_me.lineno"
53518 # Exit status is that of the last command.
53523 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53529 ECHO_C= ECHO_N= ECHO_T=
53530 case `echo -n x` in
53532 case `echo 'x\c'` in
53533 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53540 if expr a : '\(a\)' >/dev/null 2>&1 &&
53541 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53547 rm -f conf$$ conf$$.exe conf$$.file
53548 if test -d conf$$.dir; then
53549 rm -f conf$$.dir/conf$$.file
53555 if ln -s conf$$.file conf$$ 2>/dev/null; then
53557 # ... but there are two gotchas:
53558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53560 # In both cases, we have to default to `cp -p'.
53561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53563 elif ln conf$$.file conf$$ 2>/dev/null; then
53568 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53569 rmdir conf$$.dir 2>/dev/null
53571 if mkdir -p . 2>/dev/null; then
53574 test -d ./-p && rmdir ./-p
53578 if test -x / >/dev/null 2>&1; then
53579 as_test_x='test -x'
53581 if ls -dL / >/dev/null 2>&1; then
53588 if test -d "$1"; then
53594 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53595 ???[sx]*):;;*)false;;esac;fi
53599 as_executable_p=$as_test_x
53601 # Sed expression to map a string onto a valid CPP name.
53602 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53604 # Sed expression to map a string onto a valid variable name.
53605 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53610 # Save the log message, to keep $[0] and so on meaningful, and to
53611 # report actual input values of CONFIG_FILES etc. instead of their
53612 # values after options handling.
53614 This file was extended by wxWidgets $as_me 2.9.0, which was
53615 generated by GNU Autoconf 2.61. Invocation command line was
53617 CONFIG_FILES = $CONFIG_FILES
53618 CONFIG_HEADERS = $CONFIG_HEADERS
53619 CONFIG_LINKS = $CONFIG_LINKS
53620 CONFIG_COMMANDS = $CONFIG_COMMANDS
53623 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53628 cat >>$CONFIG_STATUS <<_ACEOF
53629 # Files that config.status was made for.
53630 config_files="$ac_config_files"
53631 config_headers="$ac_config_headers"
53632 config_commands="$ac_config_commands"
53636 cat >>$CONFIG_STATUS <<\_ACEOF
53638 \`$as_me' instantiates files from templates according to the
53639 current configuration.
53641 Usage: $0 [OPTIONS] [FILE]...
53643 -h, --help print this help, then exit
53644 -V, --version print version number and configuration settings, then exit
53645 -q, --quiet do not print progress messages
53646 -d, --debug don't remove temporary files
53647 --recheck update $as_me by reconfiguring in the same conditions
53648 --file=FILE[:TEMPLATE]
53649 instantiate the configuration file FILE
53650 --header=FILE[:TEMPLATE]
53651 instantiate the configuration header FILE
53653 Configuration files:
53656 Configuration headers:
53659 Configuration commands:
53662 Report bugs to <bug-autoconf@gnu.org>."
53665 cat >>$CONFIG_STATUS <<_ACEOF
53667 wxWidgets config.status 2.9.0
53668 configured by $0, generated by GNU Autoconf 2.61,
53669 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53671 Copyright (C) 2006 Free Software Foundation, Inc.
53672 This config.status script is free software; the Free Software Foundation
53673 gives unlimited permission to copy, distribute and modify it."
53680 cat >>$CONFIG_STATUS <<\_ACEOF
53681 # If no file are specified by the user, then we need to provide default
53682 # value. By we need to know if files were specified by the user.
53688 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53689 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53700 # Handling of the options.
53701 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53703 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53704 echo "$ac_cs_version"; exit ;;
53705 --debug | --debu | --deb | --de | --d | -d )
53707 --file | --fil | --fi | --f )
53709 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53710 ac_need_defaults=false;;
53711 --header | --heade | --head | --hea )
53713 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53714 ac_need_defaults=false;;
53716 # Conflict between --help and --header
53717 { echo "$as_me: error: ambiguous option: $1
53718 Try \`$0 --help' for more information." >&2
53719 { (exit 1); exit 1; }; };;
53720 --help | --hel | -h )
53721 echo "$ac_cs_usage"; exit ;;
53722 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53723 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53726 # This is an error.
53727 -*) { echo "$as_me: error: unrecognized option: $1
53728 Try \`$0 --help' for more information." >&2
53729 { (exit 1); exit 1; }; } ;;
53731 *) ac_config_targets="$ac_config_targets $1"
53732 ac_need_defaults=false ;;
53738 ac_configure_extra_args=
53740 if $ac_cs_silent; then
53742 ac_configure_extra_args="$ac_configure_extra_args --silent"
53746 cat >>$CONFIG_STATUS <<_ACEOF
53747 if \$ac_cs_recheck; then
53748 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53749 CONFIG_SHELL=$SHELL
53750 export CONFIG_SHELL
53751 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53755 cat >>$CONFIG_STATUS <<\_ACEOF
53759 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53760 ## Running $as_me. ##
53766 cat >>$CONFIG_STATUS <<_ACEOF
53772 infile="$srcdir/include/wx/msw/genrcdefs.h"
53773 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53776 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53777 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53778 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53784 cat >>$CONFIG_STATUS <<\_ACEOF
53786 # Handling of arguments.
53787 for ac_config_target in $ac_config_targets
53789 case $ac_config_target in
53790 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53791 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53792 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53793 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53794 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53795 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53796 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53797 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53799 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53800 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53801 { (exit 1); exit 1; }; };;
53806 # If the user did not use the arguments to specify the items to instantiate,
53807 # then the envvar interface is used. Set only those that are not.
53808 # We use the long form for the default assignment because of an extremely
53809 # bizarre bug on SunOS 4.1.3.
53810 if $ac_need_defaults; then
53811 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53812 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53813 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53816 # Have a temporary directory for convenience. Make it in the build tree
53817 # simply because there is no reason against having it here, and in addition,
53818 # creating and moving files from /tmp can sometimes cause problems.
53819 # Hook for its removal unless debugging.
53820 # Note that there is a small window in which the directory will not be cleaned:
53821 # after its creation but before its name has been assigned to `$tmp'.
53825 trap 'exit_status=$?
53826 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53828 trap '{ (exit 1); exit 1; }' 1 2 13 15
53830 # Create a (secure) tmp directory for tmp files.
53833 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53834 test -n "$tmp" && test -d "$tmp"
53837 tmp=./conf$$-$RANDOM
53838 (umask 077 && mkdir "$tmp")
53841 echo "$me: cannot create a temporary directory in ." >&2
53842 { (exit 1); exit 1; }
53846 # Set up the sed scripts for CONFIG_FILES section.
53849 # No need to generate the scripts if there are no CONFIG_FILES.
53850 # This happens for instance when ./config.status config.h
53851 if test -n "$CONFIG_FILES"; then
53858 for ac_last_try in false false false false false :; do
53859 cat >conf$$subs.sed <<_ACEOF
53860 SHELL!$SHELL$ac_delim
53861 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53862 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53863 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53864 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53865 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53866 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53867 exec_prefix!$exec_prefix$ac_delim
53868 prefix!$prefix$ac_delim
53869 program_transform_name!$program_transform_name$ac_delim
53870 bindir!$bindir$ac_delim
53871 sbindir!$sbindir$ac_delim
53872 libexecdir!$libexecdir$ac_delim
53873 datarootdir!$datarootdir$ac_delim
53874 datadir!$datadir$ac_delim
53875 sysconfdir!$sysconfdir$ac_delim
53876 sharedstatedir!$sharedstatedir$ac_delim
53877 localstatedir!$localstatedir$ac_delim
53878 includedir!$includedir$ac_delim
53879 oldincludedir!$oldincludedir$ac_delim
53880 docdir!$docdir$ac_delim
53881 infodir!$infodir$ac_delim
53882 htmldir!$htmldir$ac_delim
53883 dvidir!$dvidir$ac_delim
53884 pdfdir!$pdfdir$ac_delim
53885 psdir!$psdir$ac_delim
53886 libdir!$libdir$ac_delim
53887 localedir!$localedir$ac_delim
53888 mandir!$mandir$ac_delim
53889 DEFS!$DEFS$ac_delim
53890 ECHO_C!$ECHO_C$ac_delim
53891 ECHO_N!$ECHO_N$ac_delim
53892 ECHO_T!$ECHO_T$ac_delim
53893 LIBS!$LIBS$ac_delim
53894 build_alias!$build_alias$ac_delim
53895 host_alias!$host_alias$ac_delim
53896 target_alias!$target_alias$ac_delim
53897 build!$build$ac_delim
53898 build_cpu!$build_cpu$ac_delim
53899 build_vendor!$build_vendor$ac_delim
53900 build_os!$build_os$ac_delim
53901 host!$host$ac_delim
53902 host_cpu!$host_cpu$ac_delim
53903 host_vendor!$host_vendor$ac_delim
53904 host_os!$host_os$ac_delim
53905 target!$target$ac_delim
53906 target_cpu!$target_cpu$ac_delim
53907 target_vendor!$target_vendor$ac_delim
53908 target_os!$target_os$ac_delim
53909 wx_top_builddir!$wx_top_builddir$ac_delim
53911 CFLAGS!$CFLAGS$ac_delim
53912 LDFLAGS!$LDFLAGS$ac_delim
53913 CPPFLAGS!$CPPFLAGS$ac_delim
53914 ac_ct_CC!$ac_ct_CC$ac_delim
53915 EXEEXT!$EXEEXT$ac_delim
53916 OBJEXT!$OBJEXT$ac_delim
53918 GREP!$GREP$ac_delim
53919 EGREP!$EGREP$ac_delim
53921 CXXFLAGS!$CXXFLAGS$ac_delim
53922 ac_ct_CXX!$ac_ct_CXX$ac_delim
53924 subdirs!$subdirs$ac_delim
53925 PKG_CONFIG!$PKG_CONFIG$ac_delim
53926 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53927 GTK_LIBS!$GTK_LIBS$ac_delim
53928 GTK_CONFIG!$GTK_CONFIG$ac_delim
53929 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53930 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53931 XMKMF!$XMKMF$ac_delim
53932 X_CFLAGS!$X_CFLAGS$ac_delim
53933 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53934 X_LIBS!$X_LIBS$ac_delim
53935 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53936 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53937 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53938 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53939 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53940 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53941 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53942 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53943 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53944 LIBICONV!$LIBICONV$ac_delim
53945 SDL_CONFIG!$SDL_CONFIG$ac_delim
53946 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53947 SDL_LIBS!$SDL_LIBS$ac_delim
53948 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53949 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53950 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53951 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53952 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53953 HILDON_LIBS!$HILDON_LIBS$ac_delim
53954 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53955 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53956 GST_CFLAGS!$GST_CFLAGS$ac_delim
53959 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53961 elif $ac_last_try; then
53962 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53963 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53964 { (exit 1); exit 1; }; }
53966 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53970 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53971 if test -n "$ac_eof"; then
53972 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53973 ac_eof=`expr $ac_eof + 1`
53976 cat >>$CONFIG_STATUS <<_ACEOF
53977 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53981 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53982 s/^/s,@/; s/!/@,|#_!!_#|/
53985 s/'"$ac_delim"'$/,g/; t
53987 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53988 ' >>$CONFIG_STATUS <conf$$subs.sed
53989 rm -f conf$$subs.sed
53990 cat >>$CONFIG_STATUS <<_ACEOF
53996 for ac_last_try in false false false false false :; do
53997 cat >conf$$subs.sed <<_ACEOF
53998 GST_LIBS!$GST_LIBS$ac_delim
53999 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54000 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54001 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54002 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54003 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54004 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54005 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54006 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54007 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54008 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54009 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54010 VENDOR!$VENDOR$ac_delim
54011 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54012 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54013 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54014 WXUNIV!$WXUNIV$ac_delim
54015 MONOLITHIC!$MONOLITHIC$ac_delim
54016 USE_PLUGINS!$USE_PLUGINS$ac_delim
54017 CXXWARNINGS!$CXXWARNINGS$ac_delim
54018 EXTRALIBS!$EXTRALIBS$ac_delim
54019 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54020 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54021 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54022 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54023 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54024 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54025 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54026 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54027 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54028 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54029 UNICODE!$UNICODE$ac_delim
54030 BUILD!$BUILD$ac_delim
54031 DEBUG_INFO!$DEBUG_INFO$ac_delim
54032 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54033 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54034 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54035 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54036 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54037 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54038 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54039 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54040 RANLIB!$RANLIB$ac_delim
54041 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54042 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54043 INSTALL_DATA!$INSTALL_DATA$ac_delim
54044 LN_S!$LN_S$ac_delim
54045 SET_MAKE!$SET_MAKE$ac_delim
54046 MAKE_SET!$MAKE_SET$ac_delim
54047 AROPTIONS!$AROPTIONS$ac_delim
54048 STRIP!$STRIP$ac_delim
54050 INSTALL_DIR!$INSTALL_DIR$ac_delim
54051 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54052 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54053 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54054 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54055 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54056 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54057 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54058 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54059 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54060 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54061 SO_SUFFIX!$SO_SUFFIX$ac_delim
54062 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54063 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54064 LIBPREFIX!$LIBPREFIX$ac_delim
54065 LIBEXT!$LIBEXT$ac_delim
54066 DLLPREFIX!$DLLPREFIX$ac_delim
54067 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54068 dlldir!$dlldir$ac_delim
54069 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54070 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54071 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54072 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54073 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54074 PIC_FLAG!$PIC_FLAG$ac_delim
54075 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54076 USE_SOVERSION!$USE_SOVERSION$ac_delim
54077 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54078 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54079 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54080 USE_MACVERSION!$USE_MACVERSION$ac_delim
54081 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54082 SONAME_FLAG!$SONAME_FLAG$ac_delim
54083 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54084 BK_DEPS!$BK_DEPS$ac_delim
54085 WINDRES!$WINDRES$ac_delim
54087 SETFILE!$SETFILE$ac_delim
54088 GCC_PCH!$GCC_PCH$ac_delim
54089 ICC_PCH!$ICC_PCH$ac_delim
54090 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54091 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54092 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54093 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54094 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54097 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54099 elif $ac_last_try; then
54100 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54101 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54102 { (exit 1); exit 1; }; }
54104 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54108 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54109 if test -n "$ac_eof"; then
54110 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54111 ac_eof=`expr $ac_eof + 1`
54114 cat >>$CONFIG_STATUS <<_ACEOF
54115 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54116 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54119 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54120 s/^/s,@/; s/!/@,|#_!!_#|/
54123 s/'"$ac_delim"'$/,g/; t
54125 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54126 ' >>$CONFIG_STATUS <conf$$subs.sed
54127 rm -f conf$$subs.sed
54128 cat >>$CONFIG_STATUS <<_ACEOF
54134 for ac_last_try in false false false false false :; do
54135 cat >conf$$subs.sed <<_ACEOF
54136 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54137 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54138 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54139 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54140 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54141 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54142 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54143 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54144 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54145 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54146 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54147 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54148 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54149 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54150 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54151 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54152 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54153 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54154 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54155 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54156 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54157 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54158 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54159 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54160 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54161 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54162 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54163 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54164 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54165 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54166 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54167 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54168 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54169 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54170 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54171 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54172 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54173 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54174 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54175 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54176 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54177 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54178 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54179 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54180 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54181 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54182 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54183 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54184 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54185 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54186 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54187 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54188 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54189 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54190 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54191 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54192 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54193 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54194 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54195 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54196 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54197 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54198 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54199 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54200 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54201 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54202 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54203 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54204 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54205 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54206 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54207 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54208 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54209 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54210 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54211 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54212 COND_SHARED_0!$COND_SHARED_0$ac_delim
54213 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54214 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54215 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54216 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54217 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54218 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54219 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54220 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54221 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54222 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54223 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54224 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54225 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54226 COND_SHARED_1!$COND_SHARED_1$ac_delim
54227 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54228 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54229 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54230 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54231 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54232 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54235 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54237 elif $ac_last_try; then
54238 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54239 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54240 { (exit 1); exit 1; }; }
54242 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54246 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54247 if test -n "$ac_eof"; then
54248 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54249 ac_eof=`expr $ac_eof + 1`
54252 cat >>$CONFIG_STATUS <<_ACEOF
54253 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54254 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54257 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54258 s/^/s,@/; s/!/@,|#_!!_#|/
54261 s/'"$ac_delim"'$/,g/; t
54263 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54264 ' >>$CONFIG_STATUS <conf$$subs.sed
54265 rm -f conf$$subs.sed
54266 cat >>$CONFIG_STATUS <<_ACEOF
54272 for ac_last_try in false false false false false :; do
54273 cat >conf$$subs.sed <<_ACEOF
54274 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54275 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54276 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54277 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54278 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54279 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54280 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54281 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54282 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54283 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54284 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54285 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54286 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54287 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54288 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54289 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54290 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54291 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54292 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54293 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54294 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54295 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54296 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54297 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54298 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54299 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54300 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54301 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54302 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54303 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54304 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54305 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54306 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54307 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54308 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54309 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54310 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54311 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54312 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54313 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54314 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54315 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54316 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54317 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54318 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54319 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54320 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54321 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54322 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54323 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54324 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54325 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54326 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54327 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54328 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54329 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54330 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54331 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54332 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54333 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54334 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54335 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54336 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54337 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54338 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54339 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54340 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54341 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54342 DEREZ!$DEREZ$ac_delim
54343 SHARED!$SHARED$ac_delim
54344 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54345 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54346 USE_GUI!$USE_GUI$ac_delim
54347 AFMINSTALL!$AFMINSTALL$ac_delim
54348 WIN32INSTALL!$WIN32INSTALL$ac_delim
54349 TOOLKIT!$TOOLKIT$ac_delim
54350 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54351 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54352 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54353 cross_compiling!$cross_compiling$ac_delim
54354 WIDGET_SET!$WIDGET_SET$ac_delim
54355 WX_RELEASE!$WX_RELEASE$ac_delim
54356 WX_VERSION!$WX_VERSION$ac_delim
54357 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54358 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54359 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54360 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54361 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54362 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54363 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54364 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54365 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54366 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54367 EXE_LINKER!$EXE_LINKER$ac_delim
54368 GUIDIST!$GUIDIST$ac_delim
54369 DISTDIR!$DISTDIR$ac_delim
54370 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54373 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54375 elif $ac_last_try; then
54376 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54377 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54378 { (exit 1); exit 1; }; }
54380 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54384 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54385 if test -n "$ac_eof"; then
54386 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54387 ac_eof=`expr $ac_eof + 1`
54390 cat >>$CONFIG_STATUS <<_ACEOF
54391 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54392 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54395 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54396 s/^/s,@/; s/!/@,|#_!!_#|/
54399 s/'"$ac_delim"'$/,g/; t
54401 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54402 ' >>$CONFIG_STATUS <conf$$subs.sed
54403 rm -f conf$$subs.sed
54404 cat >>$CONFIG_STATUS <<_ACEOF
54410 for ac_last_try in false false false false false :; do
54411 cat >conf$$subs.sed <<_ACEOF
54412 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54413 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54414 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54415 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54416 RESCOMP!$RESCOMP$ac_delim
54417 RESFLAGS!$RESFLAGS$ac_delim
54418 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54419 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54420 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54421 LIBWXMACRES!$LIBWXMACRES$ac_delim
54422 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54423 MACSETFILE!$MACSETFILE$ac_delim
54425 DLLTOOL!$DLLTOOL$ac_delim
54426 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54427 LIBOBJS!$LIBOBJS$ac_delim
54428 LTLIBOBJS!$LTLIBOBJS$ac_delim
54431 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54433 elif $ac_last_try; then
54434 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54435 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54436 { (exit 1); exit 1; }; }
54438 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54442 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54443 if test -n "$ac_eof"; then
54444 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54445 ac_eof=`expr $ac_eof + 1`
54448 cat >>$CONFIG_STATUS <<_ACEOF
54449 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54450 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54453 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54454 s/^/s,@/; s/!/@,|#_!!_#|/
54457 s/'"$ac_delim"'$/,g/; t
54459 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54460 ' >>$CONFIG_STATUS <conf$$subs.sed
54461 rm -f conf$$subs.sed
54462 cat >>$CONFIG_STATUS <<_ACEOF
54469 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54470 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54471 # trailing colons and then remove the whole line if VPATH becomes empty
54472 # (actually we leave an empty line to preserve line numbers).
54473 if test "x$srcdir" = x.; then
54474 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54475 s/:*\$(srcdir):*/:/
54476 s/:*\${srcdir}:*/:/
54478 s/^\([^=]*=[ ]*\):*/\1/
54484 cat >>$CONFIG_STATUS <<\_ACEOF
54485 fi # test -n "$CONFIG_FILES"
54488 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54491 :[FHLC]) ac_mode=$ac_tag; continue;;
54493 case $ac_mode$ac_tag in
54495 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54496 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54497 { (exit 1); exit 1; }; };;
54498 :[FH]-) ac_tag=-:-;;
54499 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54516 -) ac_f="$tmp/stdin";;
54517 *) # Look for the file first in the build tree, then in the source tree
54518 # (if the path is not absolute). The absolute path cannot be DOS-style,
54519 # because $ac_f cannot contain `:'.
54523 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54525 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54526 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54527 { (exit 1); exit 1; }; };;
54529 ac_file_inputs="$ac_file_inputs $ac_f"
54532 # Let's still pretend it is `configure' which instantiates (i.e., don't
54533 # use $as_me), people would be surprised to read:
54534 # /* config.h. Generated by config.status. */
54535 configure_input="Generated from "`IFS=:
54536 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54537 if test x"$ac_file" != x-; then
54538 configure_input="$ac_file. $configure_input"
54539 { echo "$as_me:$LINENO: creating $ac_file" >&5
54540 echo "$as_me: creating $ac_file" >&6;}
54544 *:-:* | *:-) cat >"$tmp/stdin";;
54549 ac_dir=`$as_dirname -- "$ac_file" ||
54550 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54551 X"$ac_file" : 'X\(//\)[^/]' \| \
54552 X"$ac_file" : 'X\(//\)$' \| \
54553 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54559 /^X\(\/\/\)[^/].*/{
54574 -*) as_dir=./$as_dir;;
54576 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54580 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54581 *) as_qdir=$as_dir;;
54583 as_dirs="'$as_qdir' $as_dirs"
54584 as_dir=`$as_dirname -- "$as_dir" ||
54585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54586 X"$as_dir" : 'X\(//\)[^/]' \| \
54587 X"$as_dir" : 'X\(//\)$' \| \
54588 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54594 /^X\(\/\/\)[^/].*/{
54607 test -d "$as_dir" && break
54609 test -z "$as_dirs" || eval "mkdir $as_dirs"
54610 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54611 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54612 { (exit 1); exit 1; }; }; }
54616 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54618 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54619 # A ".." for each directory in $ac_dir_suffix.
54620 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54621 case $ac_top_builddir_sub in
54622 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54623 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54626 ac_abs_top_builddir=$ac_pwd
54627 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54628 # for backward compatibility:
54629 ac_top_builddir=$ac_top_build_prefix
54632 .) # We are building in place.
54634 ac_top_srcdir=$ac_top_builddir_sub
54635 ac_abs_top_srcdir=$ac_pwd ;;
54636 [\\/]* | ?:[\\/]* ) # Absolute name.
54637 ac_srcdir=$srcdir$ac_dir_suffix;
54638 ac_top_srcdir=$srcdir
54639 ac_abs_top_srcdir=$srcdir ;;
54640 *) # Relative name.
54641 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54642 ac_top_srcdir=$ac_top_build_prefix$srcdir
54643 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54645 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54655 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54656 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54660 cat >>$CONFIG_STATUS <<\_ACEOF
54661 # If the template does not know about datarootdir, expand it.
54662 # FIXME: This hack should be removed a few years after 2.60.
54663 ac_datarootdir_hack=; ac_datarootdir_seen=
54665 case `sed -n '/datarootdir/ {
54674 ' $ac_file_inputs` in
54675 *datarootdir*) ac_datarootdir_seen=yes;;
54676 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54677 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54678 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54680 cat >>$CONFIG_STATUS <<_ACEOF
54681 ac_datarootdir_hack='
54682 s&@datadir@&$datadir&g
54683 s&@docdir@&$docdir&g
54684 s&@infodir@&$infodir&g
54685 s&@localedir@&$localedir&g
54686 s&@mandir@&$mandir&g
54687 s&\\\${datarootdir}&$datarootdir&g' ;;
54691 # Neutralize VPATH when `$srcdir' = `.'.
54692 # Shell code in configure.ac might set extrasub.
54693 # FIXME: do we really want to maintain this feature?
54694 cat >>$CONFIG_STATUS <<_ACEOF
54698 cat >>$CONFIG_STATUS <<\_ACEOF
54700 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54701 s&@configure_input@&$configure_input&;t t
54702 s&@top_builddir@&$ac_top_builddir_sub&;t t
54703 s&@srcdir@&$ac_srcdir&;t t
54704 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54705 s&@top_srcdir@&$ac_top_srcdir&;t t
54706 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54707 s&@builddir@&$ac_builddir&;t t
54708 s&@abs_builddir@&$ac_abs_builddir&;t t
54709 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54710 s&@INSTALL@&$ac_INSTALL&;t t
54711 $ac_datarootdir_hack
54712 " $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
54714 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54715 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54716 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54717 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54718 which seems to be undefined. Please make sure it is defined." >&5
54719 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54720 which seems to be undefined. Please make sure it is defined." >&2;}
54724 -) cat "$tmp/out"; rm -f "$tmp/out";;
54725 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54734 # Transform confdefs.h into a sed script `conftest.defines', that
54735 # substitutes the proper values into config.h.in to produce config.h.
54736 rm -f conftest.defines conftest.tail
54737 # First, append a space to every undef/define line, to ease matching.
54738 echo 's/$/ /' >conftest.defines
54739 # Then, protect against being on the right side of a sed subst, or in
54740 # an unquoted here document, in config.status. If some macros were
54741 # called several times there might be several #defines for the same
54742 # symbol, which is useless. But do not sort them, since the last
54743 # AC_DEFINE must be honored.
54744 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54745 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54746 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54747 # PARAMS is the parameter list in the macro definition--in most cases, it's
54748 # just an empty string.
54749 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54750 ac_dB='\\)[ (].*,\\1define\\2'
54758 s/^[ ]*#[ ]*define[ ][ ]*//
54763 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54764 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54765 ' >>conftest.defines
54767 # Remove the space that was appended to ease matching.
54768 # Then replace #undef with comments. This is necessary, for
54769 # example, in the case of _POSIX_SOURCE, which is predefined and required
54770 # on some systems where configure will not decide to define it.
54771 # (The regexp can be short, since the line contains either #define or #undef.)
54773 s,^[ #]*u.*,/* & */,' >>conftest.defines
54775 # Break up conftest.defines:
54776 ac_max_sed_lines=50
54778 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54779 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54780 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54782 ac_in='$ac_file_inputs'
54783 ac_out='"$tmp/out1"'
54784 ac_nxt='"$tmp/out2"'
54788 # Write a here document:
54789 cat >>$CONFIG_STATUS <<_ACEOF
54790 # First, check the format of the line:
54791 cat >"\$tmp/defines.sed" <<\\CEOF
54792 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54793 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54797 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54799 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54800 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54801 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54802 grep . conftest.tail >/dev/null || break
54803 rm -f conftest.defines
54804 mv conftest.tail conftest.defines
54806 rm -f conftest.defines conftest.tail
54808 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54809 cat >>$CONFIG_STATUS <<\_ACEOF
54810 if test x"$ac_file" != x-; then
54811 echo "/* $configure_input */" >"$tmp/config.h"
54812 cat "$ac_result" >>"$tmp/config.h"
54813 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54814 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54815 echo "$as_me: $ac_file is unchanged" >&6;}
54818 mv "$tmp/config.h" $ac_file
54821 echo "/* $configure_input */"
54827 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54828 echo "$as_me: executing $ac_file commands" >&6;}
54833 case $ac_file$ac_mode in
54835 mkdir -p $outdir &&
54836 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54838 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54839 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54840 "wx-config":C) rm -f wx-config
54841 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54848 { (exit 0); exit 0; }
54850 chmod +x $CONFIG_STATUS
54851 ac_clean_files=$ac_clean_files_save
54854 # configure is writing to config.log, and then calls config.status.
54855 # config.status does its own redirection, appending to config.log.
54856 # Unfortunately, on DOS this fails, as config.log is still kept open
54857 # by configure, so config.status won't be able to write to it; its
54858 # output is simply discarded. So we exec the FD to /dev/null,
54859 # effectively closing config.log, so it can be properly (re)opened and
54860 # appended to by config.status. When coming back to configure, we
54861 # need to make the FD available again.
54862 if test "$no_create" != yes; then
54864 ac_config_status_args=
54865 test "$silent" = yes &&
54866 ac_config_status_args="$ac_config_status_args --quiet"
54868 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54870 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54871 # would make configure fail if this is the last instruction.
54872 $ac_cs_success || { (exit 1); exit 1; }
54876 # CONFIG_SUBDIRS section.
54878 if test "$no_recursion" != yes; then
54880 # Remove --cache-file and --srcdir arguments so they do not pile up.
54881 ac_sub_configure_args=
54883 eval "set x $ac_configure_args"
54887 if test -n "$ac_prev"; then
54892 -cache-file | --cache-file | --cache-fil | --cache-fi \
54893 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54894 ac_prev=cache_file ;;
54895 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54896 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54899 --config-cache | -C)
54901 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54903 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54905 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54907 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54911 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54913 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54917 # Always prepend --prefix to ensure using the same prefix
54918 # in subdir configurations.
54919 ac_arg="--prefix=$prefix"
54921 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54923 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54926 if test "$silent" = yes; then
54927 ac_sub_configure_args="--silent $ac_sub_configure_args"
54931 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54933 # Do not complain, so a configure script can configure whichever
54934 # parts of a large source tree are present.
54935 test -d "$srcdir/$ac_dir" || continue
54937 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54938 echo "$as_me:$LINENO: $ac_msg" >&5
54942 -*) as_dir=./$as_dir;;
54944 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54948 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54949 *) as_qdir=$as_dir;;
54951 as_dirs="'$as_qdir' $as_dirs"
54952 as_dir=`$as_dirname -- "$as_dir" ||
54953 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54954 X"$as_dir" : 'X\(//\)[^/]' \| \
54955 X"$as_dir" : 'X\(//\)$' \| \
54956 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54962 /^X\(\/\/\)[^/].*/{
54975 test -d "$as_dir" && break
54977 test -z "$as_dirs" || eval "mkdir $as_dirs"
54978 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54979 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54980 { (exit 1); exit 1; }; }; }
54984 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54986 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54987 # A ".." for each directory in $ac_dir_suffix.
54988 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54989 case $ac_top_builddir_sub in
54990 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54991 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54994 ac_abs_top_builddir=$ac_pwd
54995 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54996 # for backward compatibility:
54997 ac_top_builddir=$ac_top_build_prefix
55000 .) # We are building in place.
55002 ac_top_srcdir=$ac_top_builddir_sub
55003 ac_abs_top_srcdir=$ac_pwd ;;
55004 [\\/]* | ?:[\\/]* ) # Absolute name.
55005 ac_srcdir=$srcdir$ac_dir_suffix;
55006 ac_top_srcdir=$srcdir
55007 ac_abs_top_srcdir=$srcdir ;;
55008 *) # Relative name.
55009 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55010 ac_top_srcdir=$ac_top_build_prefix$srcdir
55011 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55013 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55018 # Check for guested configure; otherwise get Cygnus style configure.
55019 if test -f "$ac_srcdir/configure.gnu"; then
55020 ac_sub_configure=$ac_srcdir/configure.gnu
55021 elif test -f "$ac_srcdir/configure"; then
55022 ac_sub_configure=$ac_srcdir/configure
55023 elif test -f "$ac_srcdir/configure.in"; then
55024 # This should be Cygnus configure.
55025 ac_sub_configure=$ac_aux_dir/configure
55027 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55028 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55032 # The recursion is here.
55033 if test -n "$ac_sub_configure"; then
55034 # Make the cache file name correct relative to the subdirectory.
55035 case $cache_file in
55036 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55037 *) # Relative name.
55038 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55041 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55042 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55043 # The eval makes quoting arguments work.
55044 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55045 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55046 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55047 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55048 { (exit 1); exit 1; }; }
55057 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55059 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55060 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55062 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55063 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55064 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55065 if test "$wxUSE_UNICODE" = "yes"; then
55066 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55067 echo " (using UTF-8)"
55069 echo " (using wchar_t)"
55075 echo " What level of wxWidgets compatibility should be enabled?"
55076 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55077 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55079 echo " Which libraries should wxWidgets use?"
55080 echo " STL ${wxUSE_STL}"
55081 echo " jpeg ${wxUSE_LIBJPEG-none}"
55082 echo " png ${wxUSE_LIBPNG-none}"
55083 echo " regex ${wxUSE_REGEX}"
55084 echo " tiff ${wxUSE_LIBTIFF-none}"
55085 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55086 echo " xpm ${wxUSE_LIBXPM-none}"
55088 echo " zlib ${wxUSE_ZLIB}"
55089 echo " odbc ${wxUSE_ODBC}"
55090 echo " expat ${wxUSE_EXPAT}"
55091 echo " libmspack ${wxUSE_LIBMSPACK}"
55092 echo " sdl ${wxUSE_LIBSDL}"