2 # From configure.in Id: configure.in 47631 2007-07-21 23:22:56Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
719 LIBGNOMEPRINTUI_CFLAGS
766 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11_USE_GUI_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSOLARIS_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
1002 WXCONFIG_LDFLAGS_GUI
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars='build_alias
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1057 ac_subdirs_all='src/expat'
1059 # Initialize some variables set by options.
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1071 program_transform_name=s,x,x,
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1123 case $ac_dashdash$ac_option in
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1147 -datadir | --datadir | --datadi | --datad)
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1168 -docdir | --docdir | --docdi | --doc | --do)
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1216 htmldir=$ac_optarg ;;
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1230 -libdir | --libdir | --libdi | --libd)
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1321 -psdir | --psdir | --psdi | --psd | --ps)
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1334 sbindir=$ac_optarg ;;
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1345 sharedstatedir=$ac_optarg ;;
1347 -site | --site | --sit)
1349 -site=* | --site=* | --sit=*)
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1394 # Obsolete; use --with-x.
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val=\$$ac_var
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1478 test "$silent" = yes && exec 6>/dev/null
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use help subsystem
1735 --enable-mshtmlhelp use MS HTML Help (win32)
1736 --enable-html use wxHTML sub-library
1737 --enable-htmlhelp use wxHTML-based help
1738 --enable-xrc use XRC resources sub-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl (Mac)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context 2D drawing API
1751 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile (Win32 only)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images (GIF file format)
1843 --enable-pcx use pcx images (PCX file format)
1844 --enable-tga use tga images (TGA file format)
1845 --enable-iff use iff images (IFF file format)
1846 --enable-pnm use pnm images (PNM file format)
1847 --enable-xpm use xpm images (XPM file format)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects (Win32 only)
1850 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1851 --enable-ownerdrawn use owner drawn controls (Win32 only)
1852 --enable-regkey use wxRegKey class (Win32 only)
1853 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1854 --enable-wxdib use wxDIB class (Win32 only)
1855 --disable-largefile omit support for large files
1856 --disable-gtktest do not try to compile and run a test GTK+ program
1857 --disable-gtktest Do not try to compile and run a test GTK program
1858 --disable-sdltest Do not try to compile and run a test SDL program
1859 --enable-omf use OMF object format (OS/2)
1860 --disable-dependency-tracking
1861 don't use dependency tracking even if the compiler
1863 --disable-precomp-headers
1864 don't use precompiled headers even if compiler can
1867 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1868 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1869 --without-subdirs don't generate makefiles for samples/demos/...
1870 --with-flavour=NAME specify a name to identify this build
1871 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1872 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1873 --with-motif use Motif/Lesstif
1874 --with-mac use Mac OS X
1875 --with-cocoa use Cocoa
1876 --with-wine use Wine
1877 --with-msw use MS-Windows
1878 --with-pm use OS/2 Presentation Manager
1879 --with-mgl use SciTech MGL
1880 --with-directfb use DirectFB
1881 --with-microwin use MicroWindows
1883 --with-libpng use libpng (PNG image format)
1884 --with-libjpeg use libjpeg (JPEG file format)
1885 --with-libtiff use libtiff (TIFF file format)
1886 --with-libxpm use libxpm (XPM file format)
1887 --with-libmspack use libmspack (CHM help files loading)
1888 --without-gnomeprint don't use GNOME printing libraries
1889 --with-gnomevfs use GNOME VFS for associating MIME types
1890 --with-hildon use Hildon framework for Nokia 770
1891 --with-opengl use OpenGL (or Mesa)
1892 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1893 --with-sdl use SDL for audio on Unix
1894 --with-regex enable support for wxRegEx class
1895 --with-zlib use zlib for LZW compression
1896 --with-odbc use the IODBC and wxODBC classes
1897 --with-expat enable XML support using expat parser
1898 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1899 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1900 --with-x use the X Window System
1901 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1902 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1903 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1904 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1905 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1907 Some influential environment variables:
1908 CC C compiler command
1909 CFLAGS C compiler flags
1910 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1911 nonstandard directory <lib dir>
1912 LIBS libraries to pass to the linker, e.g. -l<library>
1913 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1914 you have headers in a nonstandard directory <include dir>
1916 CXX C++ compiler command
1917 CXXFLAGS C++ compiler flags
1918 PKG_CONFIG path to pkg-config utility
1920 C compiler flags for DIRECTFB, overriding pkg-config
1922 linker flags for DIRECTFB, overriding pkg-config
1923 XMKMF Path to xmkmf, Makefile generator for X Window System
1925 C compiler flags for PANGOX, overriding pkg-config
1926 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1928 C compiler flags for PANGOFT2, overriding pkg-config
1930 linker flags for PANGOFT2, overriding pkg-config
1932 C compiler flags for PANGOXFT, overriding pkg-config
1934 linker flags for PANGOXFT, overriding pkg-config
1935 LIBGNOMEPRINTUI_CFLAGS
1936 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1937 LIBGNOMEPRINTUI_LIBS
1938 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1940 C compiler flags for GNOMEVFS, overriding pkg-config
1942 linker flags for GNOMEVFS, overriding pkg-config
1944 C compiler flags for HILDON, overriding pkg-config
1945 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1947 C compiler flags for CAIRO, overriding pkg-config
1948 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1949 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1950 GST_LIBS linker flags for GST, overriding pkg-config
1952 Use these variables to override the choices made by `configure' or to help
1953 it to find libraries and programs with nonstandard names/locations.
1955 Report bugs to <wx-dev@lists.wxwidgets.org>.
1960 if test "$ac_init_help" = "recursive"; then
1961 # If there are subdirs, report their specific --help.
1962 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1963 test -d "$ac_dir" || continue
1967 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1969 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1970 # A ".." for each directory in $ac_dir_suffix.
1971 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1972 case $ac_top_builddir_sub in
1973 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1974 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1977 ac_abs_top_builddir=$ac_pwd
1978 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1979 # for backward compatibility:
1980 ac_top_builddir=$ac_top_build_prefix
1983 .) # We are building in place.
1985 ac_top_srcdir=$ac_top_builddir_sub
1986 ac_abs_top_srcdir=$ac_pwd ;;
1987 [\\/]* | ?:[\\/]* ) # Absolute name.
1988 ac_srcdir=$srcdir$ac_dir_suffix;
1989 ac_top_srcdir=$srcdir
1990 ac_abs_top_srcdir=$srcdir ;;
1992 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1993 ac_top_srcdir=$ac_top_build_prefix$srcdir
1994 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1996 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1998 cd "$ac_dir" || { ac_status=$?; continue; }
1999 # Check for guested configure.
2000 if test -f "$ac_srcdir/configure.gnu"; then
2002 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2003 elif test -f "$ac_srcdir/configure"; then
2005 $SHELL "$ac_srcdir/configure" --help=recursive
2007 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2009 cd "$ac_pwd" || { ac_status=$?; break; }
2013 test -n "$ac_init_help" && exit $ac_status
2014 if $ac_init_version; then
2016 wxWidgets configure 2.9.0
2017 generated by GNU Autoconf 2.61
2019 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2020 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2021 This configure script is free software; the Free Software Foundation
2022 gives unlimited permission to copy, distribute and modify it.
2026 cat >config.log <<_ACEOF
2027 This file contains any messages produced by compilers while
2028 running configure, to aid debugging if configure makes a mistake.
2030 It was created by wxWidgets $as_me 2.9.0, which was
2031 generated by GNU Autoconf 2.61. Invocation command line was
2043 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2044 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2045 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2046 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2047 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2049 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2050 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2052 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2053 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2054 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2055 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2056 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2057 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2058 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir=.
2067 echo "PATH: $as_dir"
2083 # Keep a trace of the command line.
2084 # Strip out --no-create and --no-recursion so they do not pile up.
2085 # Strip out --silent because we don't want to record it for future runs.
2086 # Also quote any args containing shell meta-characters.
2087 # Make two passes to allow for proper duplicate-argument suppression.
2091 ac_must_keep_next=false
2097 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2099 | -silent | --silent | --silen | --sile | --sil)
2102 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2105 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2107 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2108 if test $ac_must_keep_next = true; then
2109 ac_must_keep_next=false # Got value, back to normal.
2112 *=* | --config-cache | -C | -disable-* | --disable-* \
2113 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2114 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2115 | -with-* | --with-* | -without-* | --without-* | --x)
2116 case "$ac_configure_args0 " in
2117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2120 -* ) ac_must_keep_next=true ;;
2123 ac_configure_args="$ac_configure_args '$ac_arg'"
2128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2131 # When interrupted or exit'd, cleanup temporary files, and complete
2132 # config.log. We remove comments because anyway the quotes in there
2133 # would cause problems or look ugly.
2134 # WARNING: Use '\'' to represent an apostrophe within the trap.
2135 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2136 trap 'exit_status=$?
2137 # Save into config.log some information that might help in debugging.
2142 ## ---------------- ##
2143 ## Cache variables. ##
2144 ## ---------------- ##
2147 # The following way of writing the cache mishandles newlines in values,
2149 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150 eval ac_val=\$$ac_var
2154 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2155 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2158 _ | IFS | as_nl) ;; #(
2159 *) $as_unset $ac_var ;;
2164 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2165 *${as_nl}ac_space=\ *)
2167 "s/'\''/'\''\\\\'\'''\''/g;
2168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2171 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2179 ## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##
2184 for ac_var in $ac_subst_vars
2186 eval ac_val=\$$ac_var
2188 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2190 echo "$ac_var='\''$ac_val'\''"
2194 if test -n "$ac_subst_files"; then
2196 ## ------------------- ##
2197 ## File substitutions. ##
2198 ## ------------------- ##
2201 for ac_var in $ac_subst_files
2203 eval ac_val=\$$ac_var
2205 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2207 echo "$ac_var='\''$ac_val'\''"
2212 if test -s confdefs.h; then
2222 test "$ac_signal" != 0 &&
2223 echo "$as_me: caught signal $ac_signal"
2224 echo "$as_me: exit $exit_status"
2226 rm -f core *.core core.conftest.* &&
2227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2230 for ac_signal in 1 2 13 15; do
2231 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2235 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2236 rm -f -r conftest* confdefs.h
2238 # Predefined preprocessor variables.
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_NAME "$PACKAGE_NAME"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_STRING "$PACKAGE_STRING"
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2265 # Let the site file select an alternate cache file if it wants to.
2266 # Prefer explicitly selected file to automatically selected ones.
2267 if test -n "$CONFIG_SITE"; then
2268 set x "$CONFIG_SITE"
2269 elif test "x$prefix" != xNONE; then
2270 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2272 set x "$ac_default_prefix/share/config.site" \
2273 "$ac_default_prefix/etc/config.site"
2278 if test -r "$ac_site_file"; then
2279 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2280 echo "$as_me: loading site script $ac_site_file" >&6;}
2281 sed 's/^/| /' "$ac_site_file" >&5
2286 if test -r "$cache_file"; then
2287 # Some versions of bash will fail to source /dev/null (special
2288 # files actually), so we avoid doing that.
2289 if test -f "$cache_file"; then
2290 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2291 echo "$as_me: loading cache $cache_file" >&6;}
2293 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2294 *) . "./$cache_file";;
2298 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2299 echo "$as_me: creating cache $cache_file" >&6;}
2303 # Check that the precious variables saved in the cache have kept the same
2305 ac_cache_corrupted=false
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2308 eval ac_new_set=\$ac_env_${ac_var}_set
2309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2310 eval ac_new_val=\$ac_env_${ac_var}_value
2311 case $ac_old_set,$ac_new_set in
2313 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2314 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2317 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2318 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2319 ac_cache_corrupted=: ;;
2322 if test "x$ac_old_val" != "x$ac_new_val"; then
2323 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2324 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2325 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2326 echo "$as_me: former value: $ac_old_val" >&2;}
2327 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2328 echo "$as_me: current value: $ac_new_val" >&2;}
2329 ac_cache_corrupted=:
2332 # Pass precious variables to config.status.
2333 if test "$ac_new_set" = set; then
2335 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2336 *) ac_arg=$ac_var=$ac_new_val ;;
2338 case " $ac_configure_args " in
2339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2340 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2344 if $ac_cache_corrupted; then
2345 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2346 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2347 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2348 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2349 { (exit 1); exit 1; }; }
2377 ac_cpp='$CPP $CPPFLAGS'
2378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2388 if test -f "$ac_dir/install-sh"; then
2390 ac_install_sh="$ac_aux_dir/install-sh -c"
2392 elif test -f "$ac_dir/install.sh"; then
2394 ac_install_sh="$ac_aux_dir/install.sh -c"
2396 elif test -f "$ac_dir/shtool"; then
2398 ac_install_sh="$ac_aux_dir/shtool install -c"
2402 if test -z "$ac_aux_dir"; then
2403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2404 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2405 { (exit 1); exit 1; }; }
2408 # These three variables are undocumented and unsupported,
2409 # and are intended to be withdrawn in a future Autoconf release.
2410 # They can cause serious problems if a builder's source tree is in a directory
2411 # whose full name contains unusual characters.
2412 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2413 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2414 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2417 # Make sure we can run config.sub.
2418 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2419 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2420 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2421 { (exit 1); exit 1; }; }
2423 { echo "$as_me:$LINENO: checking build system type" >&5
2424 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2425 if test "${ac_cv_build+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 ac_build_alias=$build_alias
2429 test "x$ac_build_alias" = x &&
2430 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2431 test "x$ac_build_alias" = x &&
2432 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2433 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2434 { (exit 1); exit 1; }; }
2435 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2441 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2442 echo "${ECHO_T}$ac_cv_build" >&6; }
2443 case $ac_cv_build in
2445 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2446 echo "$as_me: error: invalid value of canonical build" >&2;}
2447 { (exit 1); exit 1; }; };;
2450 ac_save_IFS=$IFS; IFS='-'
2456 # Remember, the first character of IFS is used to create $*,
2457 # except with old shells:
2460 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2463 { echo "$as_me:$LINENO: checking host system type" >&5
2464 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_host+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 if test "x$host_alias" = x; then
2469 ac_cv_host=$ac_cv_build
2471 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2478 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2479 echo "${ECHO_T}$ac_cv_host" >&6; }
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2483 echo "$as_me: error: invalid value of canonical host" >&2;}
2484 { (exit 1); exit 1; }; };;
2487 ac_save_IFS=$IFS; IFS='-'
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2497 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2500 { echo "$as_me:$LINENO: checking target system type" >&5
2501 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_target+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test "x$target_alias" = x; then
2506 ac_cv_target=$ac_cv_host
2508 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2515 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2516 echo "${ECHO_T}$ac_cv_target" >&6; }
2517 case $ac_cv_target in
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2520 echo "$as_me: error: invalid value of canonical target" >&2;}
2521 { (exit 1); exit 1; }; };;
2523 target=$ac_cv_target
2524 ac_save_IFS=$IFS; IFS='-'
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2534 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2537 # The aliases save the names the user supplied, while $host etc.
2538 # will get canonicalized.
2539 test -n "$target_alias" &&
2540 test "$program_prefix$program_suffix$program_transform_name" = \
2542 program_prefix=${target_alias}-
2546 wx_major_version_number=2
2547 wx_minor_version_number=9
2549 wx_subrelease_number=0
2551 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2552 WX_VERSION=$WX_RELEASE.$wx_release_number
2553 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2555 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2558 wx_top_builddir="`pwd`"
2571 USE_BSD= USE_DARWIN= USE_FREEBSD=
2577 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2583 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2585 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2587 DEFAULT_wxUSE_COCOA=0
2591 DEFAULT_wxUSE_MICROWIN=0
2592 DEFAULT_wxUSE_MOTIF=0
2598 DEFAULT_DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_DEFAULT_wxUSE_GTK=0
2600 DEFAULT_DEFAULT_wxUSE_MAC=0
2601 DEFAULT_DEFAULT_wxUSE_MGL=0
2602 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2603 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2604 DEFAULT_DEFAULT_wxUSE_MSW=0
2605 DEFAULT_DEFAULT_wxUSE_PM=0
2606 DEFAULT_DEFAULT_wxUSE_X11=0
2607 DEFAULT_DEFAULT_wxUSE_DFB=0
2612 SAMPLES_RPATH_POSTLINK=
2614 DEFAULT_STD_FLAG=yes
2619 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2622 cat >>confdefs.h <<\_ACEOF
2627 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2631 cat >>confdefs.h <<\_ACEOF
2636 if test "x$TMP" = "xalpha"; then
2638 cat >>confdefs.h <<\_ACEOF
2643 DEFAULT_DEFAULT_wxUSE_GTK=1
2645 *-*-gnu* | *-*-k*bsd*-gnu )
2648 if test "x$TMP" = "xalpha"; then
2650 cat >>confdefs.h <<\_ACEOF
2655 DEFAULT_DEFAULT_wxUSE_GTK=1
2657 *-*-irix5* | *-*-irix6* )
2660 cat >>confdefs.h <<\_ACEOF
2664 cat >>confdefs.h <<\_ACEOF
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2674 cat >>confdefs.h <<\_ACEOF
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SOLARIS__ 1
2682 cat >>confdefs.h <<\_ACEOF
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2693 cat >>confdefs.h <<\_ACEOF
2697 cat >>confdefs.h <<\_ACEOF
2701 cat >>confdefs.h <<\_ACEOF
2705 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __FREEBSD__ 1
2714 cat >>confdefs.h <<\_ACEOF
2718 DEFAULT_DEFAULT_wxUSE_GTK=1
2720 *-*-openbsd*|*-*-mirbsd*)
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __OPENBSD__ 1
2727 cat >>confdefs.h <<\_ACEOF
2731 DEFAULT_DEFAULT_wxUSE_GTK=1
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __NETBSD__ 1
2740 cat >>confdefs.h <<\_ACEOF
2744 DEFAULT_DEFAULT_wxUSE_GTK=1
2745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2747 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2752 cat >>confdefs.h <<\_ACEOF
2756 cat >>confdefs.h <<\_ACEOF
2760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2761 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2766 cat >>confdefs.h <<\_ACEOF
2770 cat >>confdefs.h <<\_ACEOF
2774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2779 cat >>confdefs.h <<\_ACEOF
2783 cat >>confdefs.h <<\_ACEOF
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2794 cat >>confdefs.h <<\_ACEOF
2798 cat >>confdefs.h <<\_ACEOF
2802 cat >>confdefs.h <<\_ACEOF
2806 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __UNIXWARE__ 1
2819 *-*-cygwin* | *-*-mingw32* )
2822 DEFAULT_DEFAULT_wxUSE_MSW=1
2828 cat >>confdefs.h <<\_ACEOF
2833 DEFAULT_DEFAULT_wxUSE_MGL=1
2836 *-pc-os2_emx | *-pc-os2-emx )
2837 cat >>confdefs.h <<\_ACEOF
2842 cat >>confdefs.h <<\_ACEOF
2847 DEFAULT_DEFAULT_wxUSE_PM=1
2849 LDFLAGS="$LDFLAGS -Zcrtdll"
2850 ac_executable_extensions=".exe"
2851 export ac_executable_extensions
2855 for ac_dir in $PATH; do
2857 if test -z "$ac_TEMP_PATH"; then
2858 ac_TEMP_PATH="$ac_dir"
2860 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2863 export PATH="$ac_TEMP_PATH"
2872 cat >>confdefs.h <<\_ACEOF
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __DARWIN__ 1
2880 cat >>confdefs.h <<\_ACEOF
2881 #define TARGET_CARBON 1
2884 DEFAULT_DEFAULT_wxUSE_MAC=1
2887 powerpc-apple-macos* )
2889 ac_cv_c_bigendian=yes
2891 DEFAULT_DEFAULT_wxUSE_MAC=1
2897 cat >>confdefs.h <<\_ACEOF
2904 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2905 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2906 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2907 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2909 DEFAULT_DEFAULT_wxUSE_X11=1
2910 DEFAULT_wxUSE_SHARED=no
2916 wx_arg_cache_file="configarg.cache"
2917 echo "loading argument cache $wx_arg_cache_file"
2918 rm -f ${wx_arg_cache_file}.tmp
2919 touch ${wx_arg_cache_file}.tmp
2920 touch ${wx_arg_cache_file}
2923 DEFAULT_wxUSE_ALL_FEATURES=yes
2925 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2926 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2928 DEFAULT_wxUSE_DMALLOC=no
2929 DEFAULT_wxUSE_LIBGNOMEVFS=no
2930 DEFAULT_wxUSE_LIBHILDON=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_ODBC=no
2934 DEFAULT_wxUSE_OPENGL=no
2936 DEFAULT_wxUSE_ACCESSIBILITY=no
2937 DEFAULT_wxUSE_DATAVIEWCTRL=no
2938 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2939 DEFAULT_wxUSE_MEDIACTRL=no
2940 DEFAULT_wxUSE_TAB_DIALOG=no
2942 DEFAULT_wxUSE_UNICODE_UTF8=auto
2943 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2945 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2947 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2949 DEFAULT_wxUSE_GTK2=yes
2951 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2954 for toolkit in `echo $ALL_TOOLKITS`; do
2955 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2956 if test "x$LINE" != "x" ; then
2957 has_toolkit_in_cache=1
2958 eval "DEFAULT_$LINE"
2959 eval "CACHE_$toolkit=1"
2961 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2962 if test "x$LINE" != "x" ; then
2963 eval "DEFAULT_$LINE"
2972 enablestring=disable
2974 if test -z "$defaultval"; then
2975 if test x"$enablestring" = xdisable; then
2982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2983 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2984 # Check whether --enable-gui was given.
2985 if test "${enable_gui+set}" = set; then
2986 enableval=$enable_gui;
2987 if test "$enableval" = yes; then
2988 wx_cv_use_gui='wxUSE_GUI=yes'
2990 wx_cv_use_gui='wxUSE_GUI=no'
2997 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2998 if test "x$LINE" != x ; then
2999 eval "DEFAULT_$LINE"
3002 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3007 eval "$wx_cv_use_gui"
3008 if test "x$cache" = xyes; then
3009 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3012 if test x"$enablestring" = xdisable; then
3013 if test $wxUSE_GUI = yes; then
3022 { echo "$as_me:$LINENO: result: $result" >&5
3023 echo "${ECHO_T}$result" >&6; }
3028 if test -z "$defaultval"; then
3029 if test x"$enablestring" = xdisable; then
3036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3037 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3038 # Check whether --enable-monolithic was given.
3039 if test "${enable_monolithic+set}" = set; then
3040 enableval=$enable_monolithic;
3041 if test "$enableval" = yes; then
3042 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3044 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3051 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x ; then
3053 eval "DEFAULT_$LINE"
3056 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3061 eval "$wx_cv_use_monolithic"
3062 if test "x$cache" = xyes; then
3063 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3066 if test x"$enablestring" = xdisable; then
3067 if test $wxUSE_MONOLITHIC = yes; then
3073 result=$wxUSE_MONOLITHIC
3076 { echo "$as_me:$LINENO: result: $result" >&5
3077 echo "${ECHO_T}$result" >&6; }
3082 if test -z "$defaultval"; then
3083 if test x"$enablestring" = xdisable; then
3090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3091 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3092 # Check whether --enable-plugins was given.
3093 if test "${enable_plugins+set}" = set; then
3094 enableval=$enable_plugins;
3095 if test "$enableval" = yes; then
3096 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3098 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3105 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3106 if test "x$LINE" != x ; then
3107 eval "DEFAULT_$LINE"
3110 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3115 eval "$wx_cv_use_plugins"
3116 if test "x$cache" = xyes; then
3117 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3120 if test x"$enablestring" = xdisable; then
3121 if test $wxUSE_PLUGINS = yes; then
3127 result=$wxUSE_PLUGINS
3130 { echo "$as_me:$LINENO: result: $result" >&5
3131 echo "${ECHO_T}$result" >&6; }
3135 defaultval=$wxUSE_ALL_FEATURES
3136 if test -z "$defaultval"; then
3137 if test x"$withstring" = xwithout; then
3143 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3144 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3146 # Check whether --with-subdirs was given.
3147 if test "${with_subdirs+set}" = set; then
3148 withval=$with_subdirs;
3149 if test "$withval" = yes; then
3150 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3152 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3159 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3160 if test "x$LINE" != x ; then
3161 eval "DEFAULT_$LINE"
3164 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3169 eval "$wx_cv_use_subdirs"
3170 if test "x$cache" = xyes; then
3171 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3174 if test x"$withstring" = xwithout; then
3175 if test $wxWITH_SUBDIRS = yes; then
3181 result=$wxWITH_SUBDIRS
3184 { echo "$as_me:$LINENO: result: $result" >&5
3185 echo "${ECHO_T}$result" >&6; }
3188 # Check whether --with-flavour was given.
3189 if test "${with_flavour+set}" = set; then
3190 withval=$with_flavour; WX_FLAVOUR="$withval"
3196 if test -z "$defaultval"; then
3197 if test x"$enablestring" = xdisable; then
3204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3205 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3206 # Check whether --enable-official_build was given.
3207 if test "${enable_official_build+set}" = set; then
3208 enableval=$enable_official_build;
3209 if test "$enableval" = yes; then
3210 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3212 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3219 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3220 if test "x$LINE" != x ; then
3221 eval "DEFAULT_$LINE"
3224 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3229 eval "$wx_cv_use_official_build"
3230 if test "x$cache" = xyes; then
3231 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3234 if test x"$enablestring" = xdisable; then
3235 if test $wxUSE_OFFICIAL_BUILD = yes; then
3241 result=$wxUSE_OFFICIAL_BUILD
3244 { echo "$as_me:$LINENO: result: $result" >&5
3245 echo "${ECHO_T}$result" >&6; }
3247 # Check whether --enable-vendor was given.
3248 if test "${enable_vendor+set}" = set; then
3249 enableval=$enable_vendor; VENDOR="$enableval"
3252 if test "x$VENDOR" = "x"; then
3257 enablestring=disable
3259 if test -z "$defaultval"; then
3260 if test x"$enablestring" = xdisable; then
3267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3268 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3269 # Check whether --enable-all-features was given.
3270 if test "${enable_all_features+set}" = set; then
3271 enableval=$enable_all_features;
3272 if test "$enableval" = yes; then
3273 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3275 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3282 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3283 if test "x$LINE" != x ; then
3284 eval "DEFAULT_$LINE"
3287 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3292 eval "$wx_cv_use_all_features"
3293 if test "x$cache" = xyes; then
3294 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3297 if test x"$enablestring" = xdisable; then
3298 if test $wxUSE_ALL_FEATURES = yes; then
3304 result=$wxUSE_ALL_FEATURES
3307 { echo "$as_me:$LINENO: result: $result" >&5
3308 echo "${ECHO_T}$result" >&6; }
3312 if test "$wxUSE_GUI" = "yes"; then
3317 if test -z "$defaultval"; then
3318 if test x"$enablestring" = xdisable; then
3325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3326 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3327 # Check whether --enable-universal was given.
3328 if test "${enable_universal+set}" = set; then
3329 enableval=$enable_universal;
3330 if test "$enableval" = yes; then
3331 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3333 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3340 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3341 if test "x$LINE" != x ; then
3342 eval "DEFAULT_$LINE"
3345 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3350 eval "$wx_cv_use_universal"
3351 if test "x$cache" = xyes; then
3352 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3355 if test x"$enablestring" = xdisable; then
3356 if test $wxUSE_UNIVERSAL = yes; then
3362 result=$wxUSE_UNIVERSAL
3365 { echo "$as_me:$LINENO: result: $result" >&5
3366 echo "${ECHO_T}$result" >&6; }
3368 if test "$wxUSE_UNIVERSAL" = "yes"; then
3370 # Check whether --with-themes was given.
3371 if test "${with_themes+set}" = set; then
3372 withval=$with_themes; wxUNIV_THEMES="$withval"
3378 # Check whether --with-gtk was given.
3379 if test "${with_gtk+set}" = set; then
3380 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3384 # Check whether --with-motif was given.
3385 if test "${with_motif+set}" = set; then
3386 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3390 # Check whether --with-mac was given.
3391 if test "${with_mac+set}" = set; then
3392 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3396 # Check whether --with-cocoa was given.
3397 if test "${with_cocoa+set}" = set; then
3398 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3402 # Check whether --with-wine was given.
3403 if test "${with_wine+set}" = set; then
3404 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3408 # Check whether --with-msw was given.
3409 if test "${with_msw+set}" = set; then
3410 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3414 # Check whether --with-pm was given.
3415 if test "${with_pm+set}" = set; then
3416 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3420 # Check whether --with-mgl was given.
3421 if test "${with_mgl+set}" = set; then
3422 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3426 # Check whether --with-directfb was given.
3427 if test "${with_directfb+set}" = set; then
3428 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3432 # Check whether --with-microwin was given.
3433 if test "${with_microwin+set}" = set; then
3434 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3438 # Check whether --with-x11 was given.
3439 if test "${with_x11+set}" = set; then
3440 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3446 if test -z "$defaultval"; then
3447 if test x"$enablestring" = xdisable; then
3454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3455 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3456 # Check whether --enable-nanox was given.
3457 if test "${enable_nanox+set}" = set; then
3458 enableval=$enable_nanox;
3459 if test "$enableval" = yes; then
3460 wx_cv_use_nanox='wxUSE_NANOX=yes'
3462 wx_cv_use_nanox='wxUSE_NANOX=no'
3469 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3470 if test "x$LINE" != x ; then
3471 eval "DEFAULT_$LINE"
3474 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3479 eval "$wx_cv_use_nanox"
3480 if test "x$cache" = xyes; then
3481 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3484 if test x"$enablestring" = xdisable; then
3485 if test $wxUSE_NANOX = yes; then
3494 { echo "$as_me:$LINENO: result: $result" >&5
3495 echo "${ECHO_T}$result" >&6; }
3498 # Check whether --enable-gtk2 was given.
3499 if test "${enable_gtk2+set}" = set; then
3500 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3506 if test -z "$defaultval"; then
3507 if test x"$enablestring" = xdisable; then
3514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3516 # Check whether --enable-gpe was given.
3517 if test "${enable_gpe+set}" = set; then
3518 enableval=$enable_gpe;
3519 if test "$enableval" = yes; then
3520 wx_cv_use_gpe='wxUSE_GPE=yes'
3522 wx_cv_use_gpe='wxUSE_GPE=no'
3529 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3534 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3539 eval "$wx_cv_use_gpe"
3540 if test "x$cache" = xyes; then
3541 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3544 if test x"$enablestring" = xdisable; then
3545 if test $wxUSE_GPE = yes; then
3554 { echo "$as_me:$LINENO: result: $result" >&5
3555 echo "${ECHO_T}$result" >&6; }
3560 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3561 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3563 # Check whether --with-libpng was given.
3564 if test "${with_libpng+set}" = set; then
3565 withval=$with_libpng;
3566 if test "$withval" = yes; then
3567 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3568 elif test "$withval" = no; then
3569 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3570 elif test "$withval" = sys; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3572 elif test "$withval" = builtin; then
3573 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3575 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3576 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3577 { (exit 1); exit 1; }; }
3584 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x ; then
3586 eval "DEFAULT_$LINE"
3589 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3594 eval "$wx_cv_use_libpng"
3595 if test "x$cache" = xyes; then
3596 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3599 if test "$wxUSE_LIBPNG" = yes; then
3600 { echo "$as_me:$LINENO: result: yes" >&5
3601 echo "${ECHO_T}yes" >&6; }
3602 elif test "$wxUSE_LIBPNG" = no; then
3603 { echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6; }
3605 elif test "$wxUSE_LIBPNG" = sys; then
3606 { echo "$as_me:$LINENO: result: system version" >&5
3607 echo "${ECHO_T}system version" >&6; }
3608 elif test "$wxUSE_LIBPNG" = builtin; then
3609 { echo "$as_me:$LINENO: result: builtin version" >&5
3610 echo "${ECHO_T}builtin version" >&6; }
3612 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3613 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3614 { (exit 1); exit 1; }; }
3618 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3619 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3621 # Check whether --with-libjpeg was given.
3622 if test "${with_libjpeg+set}" = set; then
3623 withval=$with_libjpeg;
3624 if test "$withval" = yes; then
3625 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3626 elif test "$withval" = no; then
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3628 elif test "$withval" = sys; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3630 elif test "$withval" = builtin; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3642 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x ; then
3644 eval "DEFAULT_$LINE"
3647 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3652 eval "$wx_cv_use_libjpeg"
3653 if test "x$cache" = xyes; then
3654 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3657 if test "$wxUSE_LIBJPEG" = yes; then
3658 { echo "$as_me:$LINENO: result: yes" >&5
3659 echo "${ECHO_T}yes" >&6; }
3660 elif test "$wxUSE_LIBJPEG" = no; then
3661 { echo "$as_me:$LINENO: result: no" >&5
3662 echo "${ECHO_T}no" >&6; }
3663 elif test "$wxUSE_LIBJPEG" = sys; then
3664 { echo "$as_me:$LINENO: result: system version" >&5
3665 echo "${ECHO_T}system version" >&6; }
3666 elif test "$wxUSE_LIBJPEG" = builtin; then
3667 { echo "$as_me:$LINENO: result: builtin version" >&5
3668 echo "${ECHO_T}builtin version" >&6; }
3670 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3671 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3672 { (exit 1); exit 1; }; }
3676 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3677 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3679 # Check whether --with-libtiff was given.
3680 if test "${with_libtiff+set}" = set; then
3681 withval=$with_libtiff;
3682 if test "$withval" = yes; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3684 elif test "$withval" = no; then
3685 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3686 elif test "$withval" = sys; then
3687 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3688 elif test "$withval" = builtin; then
3689 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3691 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3692 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3693 { (exit 1); exit 1; }; }
3700 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x ; then
3702 eval "DEFAULT_$LINE"
3705 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3710 eval "$wx_cv_use_libtiff"
3711 if test "x$cache" = xyes; then
3712 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3715 if test "$wxUSE_LIBTIFF" = yes; then
3716 { echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6; }
3718 elif test "$wxUSE_LIBTIFF" = no; then
3719 { echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6; }
3721 elif test "$wxUSE_LIBTIFF" = sys; then
3722 { echo "$as_me:$LINENO: result: system version" >&5
3723 echo "${ECHO_T}system version" >&6; }
3724 elif test "$wxUSE_LIBTIFF" = builtin; then
3725 { echo "$as_me:$LINENO: result: builtin version" >&5
3726 echo "${ECHO_T}builtin version" >&6; }
3728 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3729 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3730 { (exit 1); exit 1; }; }
3734 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3735 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3737 # Check whether --with-libxpm was given.
3738 if test "${with_libxpm+set}" = set; then
3739 withval=$with_libxpm;
3740 if test "$withval" = yes; then
3741 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3742 elif test "$withval" = no; then
3743 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3744 elif test "$withval" = sys; then
3745 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3746 elif test "$withval" = builtin; then
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3749 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3750 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3751 { (exit 1); exit 1; }; }
3758 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x ; then
3760 eval "DEFAULT_$LINE"
3763 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3768 eval "$wx_cv_use_libxpm"
3769 if test "x$cache" = xyes; then
3770 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3773 if test "$wxUSE_LIBXPM" = yes; then
3774 { echo "$as_me:$LINENO: result: yes" >&5
3775 echo "${ECHO_T}yes" >&6; }
3776 elif test "$wxUSE_LIBXPM" = no; then
3777 { echo "$as_me:$LINENO: result: no" >&5
3778 echo "${ECHO_T}no" >&6; }
3779 elif test "$wxUSE_LIBXPM" = sys; then
3780 { echo "$as_me:$LINENO: result: system version" >&5
3781 echo "${ECHO_T}system version" >&6; }
3782 elif test "$wxUSE_LIBXPM" = builtin; then
3783 { echo "$as_me:$LINENO: result: builtin version" >&5
3784 echo "${ECHO_T}builtin version" >&6; }
3786 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3787 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3788 { (exit 1); exit 1; }; }
3793 defaultval=$wxUSE_ALL_FEATURES
3794 if test -z "$defaultval"; then
3795 if test x"$withstring" = xwithout; then
3801 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3802 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3804 # Check whether --with-libmspack was given.
3805 if test "${with_libmspack+set}" = set; then
3806 withval=$with_libmspack;
3807 if test "$withval" = yes; then
3808 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3810 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3817 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x ; then
3819 eval "DEFAULT_$LINE"
3822 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3827 eval "$wx_cv_use_libmspack"
3828 if test "x$cache" = xyes; then
3829 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3832 if test x"$withstring" = xwithout; then
3833 if test $wxUSE_LIBMSPACK = yes; then
3839 result=$wxUSE_LIBMSPACK
3842 { echo "$as_me:$LINENO: result: $result" >&5
3843 echo "${ECHO_T}$result" >&6; }
3847 defaultval=$wxUSE_ALL_FEATURES
3848 if test -z "$defaultval"; then
3849 if test x"$withstring" = xwithout; then
3855 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3856 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3858 # Check whether --with-gnomeprint was given.
3859 if test "${with_gnomeprint+set}" = set; then
3860 withval=$with_gnomeprint;
3861 if test "$withval" = yes; then
3862 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3864 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3871 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3872 if test "x$LINE" != x ; then
3873 eval "DEFAULT_$LINE"
3876 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3881 eval "$wx_cv_use_gnomeprint"
3882 if test "x$cache" = xyes; then
3883 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3886 if test x"$withstring" = xwithout; then
3887 if test $wxUSE_LIBGNOMEPRINT = yes; then
3893 result=$wxUSE_LIBGNOMEPRINT
3896 { echo "$as_me:$LINENO: result: $result" >&5
3897 echo "${ECHO_T}$result" >&6; }
3901 defaultval=$wxUSE_ALL_FEATURES
3902 if test -z "$defaultval"; then
3903 if test x"$withstring" = xwithout; then
3909 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3910 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3912 # Check whether --with-gnomevfs was given.
3913 if test "${with_gnomevfs+set}" = set; then
3914 withval=$with_gnomevfs;
3915 if test "$withval" = yes; then
3916 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3918 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3925 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x ; then
3927 eval "DEFAULT_$LINE"
3930 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3935 eval "$wx_cv_use_gnomevfs"
3936 if test "x$cache" = xyes; then
3937 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3940 if test x"$withstring" = xwithout; then
3941 if test $wxUSE_LIBGNOMEVFS = yes; then
3947 result=$wxUSE_LIBGNOMEVFS
3950 { echo "$as_me:$LINENO: result: $result" >&5
3951 echo "${ECHO_T}$result" >&6; }
3955 defaultval=$wxUSE_ALL_FEATURES
3956 if test -z "$defaultval"; then
3957 if test x"$withstring" = xwithout; then
3963 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3964 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3966 # Check whether --with-hildon was given.
3967 if test "${with_hildon+set}" = set; then
3968 withval=$with_hildon;
3969 if test "$withval" = yes; then
3970 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3972 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3979 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3980 if test "x$LINE" != x ; then
3981 eval "DEFAULT_$LINE"
3984 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3989 eval "$wx_cv_use_hildon"
3990 if test "x$cache" = xyes; then
3991 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3994 if test x"$withstring" = xwithout; then
3995 if test $wxUSE_LIBHILDON = yes; then
4001 result=$wxUSE_LIBHILDON
4004 { echo "$as_me:$LINENO: result: $result" >&5
4005 echo "${ECHO_T}$result" >&6; }
4009 defaultval=$wxUSE_ALL_FEATURES
4010 if test -z "$defaultval"; then
4011 if test x"$withstring" = xwithout; then
4017 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4018 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4020 # Check whether --with-opengl was given.
4021 if test "${with_opengl+set}" = set; then
4022 withval=$with_opengl;
4023 if test "$withval" = yes; then
4024 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4026 wx_cv_use_opengl='wxUSE_OPENGL=no'
4033 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x ; then
4035 eval "DEFAULT_$LINE"
4038 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4043 eval "$wx_cv_use_opengl"
4044 if test "x$cache" = xyes; then
4045 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4048 if test x"$withstring" = xwithout; then
4049 if test $wxUSE_OPENGL = yes; then
4055 result=$wxUSE_OPENGL
4058 { echo "$as_me:$LINENO: result: $result" >&5
4059 echo "${ECHO_T}$result" >&6; }
4066 defaultval=$wxUSE_ALL_FEATURES
4067 if test -z "$defaultval"; then
4068 if test x"$withstring" = xwithout; then
4074 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4075 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4077 # Check whether --with-dmalloc was given.
4078 if test "${with_dmalloc+set}" = set; then
4079 withval=$with_dmalloc;
4080 if test "$withval" = yes; then
4081 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4083 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4090 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x ; then
4092 eval "DEFAULT_$LINE"
4095 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4100 eval "$wx_cv_use_dmalloc"
4101 if test "x$cache" = xyes; then
4102 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4105 if test x"$withstring" = xwithout; then
4106 if test $wxUSE_DMALLOC = yes; then
4112 result=$wxUSE_DMALLOC
4115 { echo "$as_me:$LINENO: result: $result" >&5
4116 echo "${ECHO_T}$result" >&6; }
4120 defaultval=$wxUSE_ALL_FEATURES
4121 if test -z "$defaultval"; then
4122 if test x"$withstring" = xwithout; then
4128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4129 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4131 # Check whether --with-sdl was given.
4132 if test "${with_sdl+set}" = set; then
4134 if test "$withval" = yes; then
4135 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4137 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4144 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4145 if test "x$LINE" != x ; then
4146 eval "DEFAULT_$LINE"
4149 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4154 eval "$wx_cv_use_sdl"
4155 if test "x$cache" = xyes; then
4156 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4159 if test x"$withstring" = xwithout; then
4160 if test $wxUSE_LIBSDL = yes; then
4166 result=$wxUSE_LIBSDL
4169 { echo "$as_me:$LINENO: result: $result" >&5
4170 echo "${ECHO_T}$result" >&6; }
4173 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4174 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4176 # Check whether --with-regex was given.
4177 if test "${with_regex+set}" = set; then
4178 withval=$with_regex;
4179 if test "$withval" = yes; then
4180 wx_cv_use_regex='wxUSE_REGEX=yes'
4181 elif test "$withval" = no; then
4182 wx_cv_use_regex='wxUSE_REGEX=no'
4183 elif test "$withval" = sys; then
4184 wx_cv_use_regex='wxUSE_REGEX=sys'
4185 elif test "$withval" = builtin; then
4186 wx_cv_use_regex='wxUSE_REGEX=builtin'
4188 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4189 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4190 { (exit 1); exit 1; }; }
4197 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x ; then
4199 eval "DEFAULT_$LINE"
4202 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4207 eval "$wx_cv_use_regex"
4208 if test "x$cache" = xyes; then
4209 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4212 if test "$wxUSE_REGEX" = yes; then
4213 { echo "$as_me:$LINENO: result: yes" >&5
4214 echo "${ECHO_T}yes" >&6; }
4215 elif test "$wxUSE_REGEX" = no; then
4216 { echo "$as_me:$LINENO: result: no" >&5
4217 echo "${ECHO_T}no" >&6; }
4218 elif test "$wxUSE_REGEX" = sys; then
4219 { echo "$as_me:$LINENO: result: system version" >&5
4220 echo "${ECHO_T}system version" >&6; }
4221 elif test "$wxUSE_REGEX" = builtin; then
4222 { echo "$as_me:$LINENO: result: builtin version" >&5
4223 echo "${ECHO_T}builtin version" >&6; }
4225 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4226 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4227 { (exit 1); exit 1; }; }
4231 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4232 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4234 # Check whether --with-zlib was given.
4235 if test "${with_zlib+set}" = set; then
4237 if test "$withval" = yes; then
4238 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4239 elif test "$withval" = no; then
4240 wx_cv_use_zlib='wxUSE_ZLIB=no'
4241 elif test "$withval" = sys; then
4242 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4243 elif test "$withval" = builtin; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4246 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4247 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4248 { (exit 1); exit 1; }; }
4255 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4256 if test "x$LINE" != x ; then
4257 eval "DEFAULT_$LINE"
4260 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4265 eval "$wx_cv_use_zlib"
4266 if test "x$cache" = xyes; then
4267 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4270 if test "$wxUSE_ZLIB" = yes; then
4271 { echo "$as_me:$LINENO: result: yes" >&5
4272 echo "${ECHO_T}yes" >&6; }
4273 elif test "$wxUSE_ZLIB" = no; then
4274 { echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6; }
4276 elif test "$wxUSE_ZLIB" = sys; then
4277 { echo "$as_me:$LINENO: result: system version" >&5
4278 echo "${ECHO_T}system version" >&6; }
4279 elif test "$wxUSE_ZLIB" = builtin; then
4280 { echo "$as_me:$LINENO: result: builtin version" >&5
4281 echo "${ECHO_T}builtin version" >&6; }
4283 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4284 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4285 { (exit 1); exit 1; }; }
4289 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4290 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4292 # Check whether --with-odbc was given.
4293 if test "${with_odbc+set}" = set; then
4295 if test "$withval" = yes; then
4296 wx_cv_use_odbc='wxUSE_ODBC=yes'
4297 elif test "$withval" = no; then
4298 wx_cv_use_odbc='wxUSE_ODBC=no'
4299 elif test "$withval" = sys; then
4300 wx_cv_use_odbc='wxUSE_ODBC=sys'
4301 elif test "$withval" = builtin; then
4302 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4304 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4305 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4306 { (exit 1); exit 1; }; }
4313 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4318 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4323 eval "$wx_cv_use_odbc"
4324 if test "x$cache" = xyes; then
4325 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4328 if test "$wxUSE_ODBC" = yes; then
4329 { echo "$as_me:$LINENO: result: yes" >&5
4330 echo "${ECHO_T}yes" >&6; }
4331 elif test "$wxUSE_ODBC" = no; then
4332 { echo "$as_me:$LINENO: result: no" >&5
4333 echo "${ECHO_T}no" >&6; }
4334 elif test "$wxUSE_ODBC" = sys; then
4335 { echo "$as_me:$LINENO: result: system version" >&5
4336 echo "${ECHO_T}system version" >&6; }
4337 elif test "$wxUSE_ODBC" = builtin; then
4338 { echo "$as_me:$LINENO: result: builtin version" >&5
4339 echo "${ECHO_T}builtin version" >&6; }
4341 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4342 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4343 { (exit 1); exit 1; }; }
4347 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4348 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4350 # Check whether --with-expat was given.
4351 if test "${with_expat+set}" = set; then
4352 withval=$with_expat;
4353 if test "$withval" = yes; then
4354 wx_cv_use_expat='wxUSE_EXPAT=yes'
4355 elif test "$withval" = no; then
4356 wx_cv_use_expat='wxUSE_EXPAT=no'
4357 elif test "$withval" = sys; then
4358 wx_cv_use_expat='wxUSE_EXPAT=sys'
4359 elif test "$withval" = builtin; then
4360 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4362 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4363 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4364 { (exit 1); exit 1; }; }
4371 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4372 if test "x$LINE" != x ; then
4373 eval "DEFAULT_$LINE"
4376 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4381 eval "$wx_cv_use_expat"
4382 if test "x$cache" = xyes; then
4383 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4386 if test "$wxUSE_EXPAT" = yes; then
4387 { echo "$as_me:$LINENO: result: yes" >&5
4388 echo "${ECHO_T}yes" >&6; }
4389 elif test "$wxUSE_EXPAT" = no; then
4390 { echo "$as_me:$LINENO: result: no" >&5
4391 echo "${ECHO_T}no" >&6; }
4392 elif test "$wxUSE_EXPAT" = sys; then
4393 { echo "$as_me:$LINENO: result: system version" >&5
4394 echo "${ECHO_T}system version" >&6; }
4395 elif test "$wxUSE_EXPAT" = builtin; then
4396 { echo "$as_me:$LINENO: result: builtin version" >&5
4397 echo "${ECHO_T}builtin version" >&6; }
4399 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4400 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4401 { (exit 1); exit 1; }; }
4407 enablestring=disable
4409 if test -z "$defaultval"; then
4410 if test x"$enablestring" = xdisable; then
4417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4418 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4419 # Check whether --enable-shared was given.
4420 if test "${enable_shared+set}" = set; then
4421 enableval=$enable_shared;
4422 if test "$enableval" = yes; then
4423 wx_cv_use_shared='wxUSE_SHARED=yes'
4425 wx_cv_use_shared='wxUSE_SHARED=no'
4432 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4433 if test "x$LINE" != x ; then
4434 eval "DEFAULT_$LINE"
4437 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4442 eval "$wx_cv_use_shared"
4443 if test "x$cache" = xyes; then
4444 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4447 if test x"$enablestring" = xdisable; then
4448 if test $wxUSE_SHARED = yes; then
4454 result=$wxUSE_SHARED
4457 { echo "$as_me:$LINENO: result: $result" >&5
4458 echo "${ECHO_T}$result" >&6; }
4461 enablestring=disable
4463 if test -z "$defaultval"; then
4464 if test x"$enablestring" = xdisable; then
4471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4473 # Check whether --enable-optimise was given.
4474 if test "${enable_optimise+set}" = set; then
4475 enableval=$enable_optimise;
4476 if test "$enableval" = yes; then
4477 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4479 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4486 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x ; then
4488 eval "DEFAULT_$LINE"
4491 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4496 eval "$wx_cv_use_optimise"
4497 if test "x$cache" = xyes; then
4498 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4501 if test x"$enablestring" = xdisable; then
4502 if test $wxUSE_OPTIMISE = yes; then
4508 result=$wxUSE_OPTIMISE
4511 { echo "$as_me:$LINENO: result: $result" >&5
4512 echo "${ECHO_T}$result" >&6; }
4517 if test -z "$defaultval"; then
4518 if test x"$enablestring" = xdisable; then
4525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4527 # Check whether --enable-debug was given.
4528 if test "${enable_debug+set}" = set; then
4529 enableval=$enable_debug;
4530 if test "$enableval" = yes; then
4531 wx_cv_use_debug='wxUSE_DEBUG=yes'
4533 wx_cv_use_debug='wxUSE_DEBUG=no'
4540 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4541 if test "x$LINE" != x ; then
4542 eval "DEFAULT_$LINE"
4545 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4550 eval "$wx_cv_use_debug"
4551 if test "x$cache" = xyes; then
4552 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4555 if test x"$enablestring" = xdisable; then
4556 if test $wxUSE_DEBUG = yes; then
4565 { echo "$as_me:$LINENO: result: $result" >&5
4566 echo "${ECHO_T}$result" >&6; }
4571 if test -z "$defaultval"; then
4572 if test x"$enablestring" = xdisable; then
4579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4580 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4581 # Check whether --enable-stl was given.
4582 if test "${enable_stl+set}" = set; then
4583 enableval=$enable_stl;
4584 if test "$enableval" = yes; then
4585 wx_cv_use_stl='wxUSE_STL=yes'
4587 wx_cv_use_stl='wxUSE_STL=no'
4594 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x ; then
4596 eval "DEFAULT_$LINE"
4599 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4604 eval "$wx_cv_use_stl"
4605 if test "x$cache" = xyes; then
4606 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_STL = yes; then
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}-std_iostreams" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4635 # Check whether --enable-std_iostreams was given.
4636 if test "${enable_std_iostreams+set}" = set; then
4637 enableval=$enable_std_iostreams;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4641 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4648 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4649 if test "x$LINE" != x ; then
4650 eval "DEFAULT_$LINE"
4653 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4658 eval "$wx_cv_use_std_iostreams"
4659 if test "x$cache" = xyes; then
4660 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4663 if test x"$enablestring" = xdisable; then
4664 if test $wxUSE_STD_IOSTREAM = yes; then
4670 result=$wxUSE_STD_IOSTREAM
4673 { echo "$as_me:$LINENO: result: $result" >&5
4674 echo "${ECHO_T}$result" >&6; }
4679 if test -z "$defaultval"; then
4680 if test x"$enablestring" = xdisable; then
4687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4688 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4689 # Check whether --enable-std_string was given.
4690 if test "${enable_std_string+set}" = set; then
4691 enableval=$enable_std_string;
4692 if test "$enableval" = yes; then
4693 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4695 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4702 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4703 if test "x$LINE" != x ; then
4704 eval "DEFAULT_$LINE"
4707 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4712 eval "$wx_cv_use_std_string"
4713 if test "x$cache" = xyes; then
4714 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4717 if test x"$enablestring" = xdisable; then
4718 if test $wxUSE_STD_STRING = yes; then
4724 result=$wxUSE_STD_STRING
4727 { echo "$as_me:$LINENO: result: $result" >&5
4728 echo "${ECHO_T}$result" >&6; }
4731 enablestring=disable
4733 if test -z "$defaultval"; then
4734 if test x"$enablestring" = xdisable; then
4741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4742 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4743 # Check whether --enable-unicode was given.
4744 if test "${enable_unicode+set}" = set; then
4745 enableval=$enable_unicode;
4746 if test "$enableval" = yes; then
4747 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4749 wx_cv_use_unicode='wxUSE_UNICODE=no'
4756 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4757 if test "x$LINE" != x ; then
4758 eval "DEFAULT_$LINE"
4761 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4766 eval "$wx_cv_use_unicode"
4767 if test "x$cache" = xyes; then
4768 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4771 if test x"$enablestring" = xdisable; then
4772 if test $wxUSE_UNICODE = yes; then
4778 result=$wxUSE_UNICODE
4781 { echo "$as_me:$LINENO: result: $result" >&5
4782 echo "${ECHO_T}$result" >&6; }
4787 if test -z "$defaultval"; then
4788 if test x"$enablestring" = xdisable; then
4795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4797 # Check whether --enable-mslu was given.
4798 if test "${enable_mslu+set}" = set; then
4799 enableval=$enable_mslu;
4800 if test "$enableval" = yes; then
4801 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4803 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4810 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4811 if test "x$LINE" != x ; then
4812 eval "DEFAULT_$LINE"
4815 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4820 eval "$wx_cv_use_mslu"
4821 if test "x$cache" = xyes; then
4822 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4825 if test x"$enablestring" = xdisable; then
4826 if test $wxUSE_UNICODE_MSLU = yes; then
4832 result=$wxUSE_UNICODE_MSLU
4835 { echo "$as_me:$LINENO: result: $result" >&5
4836 echo "${ECHO_T}$result" >&6; }
4840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4841 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4842 # Check whether --enable-utf8 was given.
4843 if test "${enable_utf8+set}" = set; then
4844 enableval=$enable_utf8;
4845 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4851 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4852 if test "x$LINE" != x ; then
4853 eval "DEFAULT_$LINE"
4856 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4861 eval "$wx_cv_use_utf8"
4862 if test "x$cache" = xyes; then
4863 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4866 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4867 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4872 if test -z "$defaultval"; then
4873 if test x"$enablestring" = xdisable; then
4880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4881 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4882 # Check whether --enable-utf8only was given.
4883 if test "${enable_utf8only+set}" = set; then
4884 enableval=$enable_utf8only;
4885 if test "$enableval" = yes; then
4886 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4888 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4895 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4896 if test "x$LINE" != x ; then
4897 eval "DEFAULT_$LINE"
4900 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4905 eval "$wx_cv_use_utf8only"
4906 if test "x$cache" = xyes; then
4907 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4910 if test x"$enablestring" = xdisable; then
4911 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4917 result=$wxUSE_UNICODE_UTF8_LOCALE
4920 { echo "$as_me:$LINENO: result: $result" >&5
4921 echo "${ECHO_T}$result" >&6; }
4926 if test -z "$defaultval"; then
4927 if test x"$enablestring" = xdisable; then
4934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4935 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4936 # Check whether --enable-extended_rtti was given.
4937 if test "${enable_extended_rtti+set}" = set; then
4938 enableval=$enable_extended_rtti;
4939 if test "$enableval" = yes; then
4940 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4942 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4949 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4950 if test "x$LINE" != x ; then
4951 eval "DEFAULT_$LINE"
4954 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4959 eval "$wx_cv_use_extended_rtti"
4960 if test "x$cache" = xyes; then
4961 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4964 if test x"$enablestring" = xdisable; then
4965 if test $wxUSE_EXTENDED_RTTI = yes; then
4971 result=$wxUSE_EXTENDED_RTTI
4974 { echo "$as_me:$LINENO: result: $result" >&5
4975 echo "${ECHO_T}$result" >&6; }
4977 if test "$USE_OS2" = "1"; then
4978 DEFAULT_wxUSE_OMF=no
4982 if test -z "$defaultval"; then
4983 if test x"$enablestring" = xdisable; then
4990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4992 # Check whether --enable-omf was given.
4993 if test "${enable_omf+set}" = set; then
4994 enableval=$enable_omf;
4995 if test "$enableval" = yes; then
4996 wx_cv_use_omf='wxUSE_OMF=yes'
4998 wx_cv_use_omf='wxUSE_OMF=no'
5005 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x ; then
5007 eval "DEFAULT_$LINE"
5010 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5015 eval "$wx_cv_use_omf"
5016 if test "x$cache" = xyes; then
5017 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5020 if test x"$enablestring" = xdisable; then
5021 if test $wxUSE_OMF = yes; then
5030 { echo "$as_me:$LINENO: result: $result" >&5
5031 echo "${ECHO_T}$result" >&6; }
5035 if test "$wxUSE_DEBUG" = "yes"; then
5036 DEFAULT_wxUSE_DEBUG_FLAG=yes
5037 DEFAULT_wxUSE_DEBUG_INFO=yes
5039 elif test "$wxUSE_DEBUG" = "no"; then
5040 DEFAULT_wxUSE_DEBUG_FLAG=no
5041 DEFAULT_wxUSE_DEBUG_INFO=no
5048 if test -z "$defaultval"; then
5049 if test x"$enablestring" = xdisable; then
5056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5057 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5058 # Check whether --enable-debug_flag was given.
5059 if test "${enable_debug_flag+set}" = set; then
5060 enableval=$enable_debug_flag;
5061 if test "$enableval" = yes; then
5062 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5064 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5071 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5072 if test "x$LINE" != x ; then
5073 eval "DEFAULT_$LINE"
5076 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5081 eval "$wx_cv_use_debug_flag"
5082 if test "x$cache" = xyes; then
5083 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5086 if test x"$enablestring" = xdisable; then
5087 if test $wxUSE_DEBUG_FLAG = yes; then
5093 result=$wxUSE_DEBUG_FLAG
5096 { echo "$as_me:$LINENO: result: $result" >&5
5097 echo "${ECHO_T}$result" >&6; }
5102 if test -z "$defaultval"; then
5103 if test x"$enablestring" = xdisable; then
5110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5111 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5112 # Check whether --enable-debug_info was given.
5113 if test "${enable_debug_info+set}" = set; then
5114 enableval=$enable_debug_info;
5115 if test "$enableval" = yes; then
5116 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5118 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5125 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5126 if test "x$LINE" != x ; then
5127 eval "DEFAULT_$LINE"
5130 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5135 eval "$wx_cv_use_debug_info"
5136 if test "x$cache" = xyes; then
5137 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_DEBUG_INFO = yes; then
5147 result=$wxUSE_DEBUG_INFO
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5156 if test -z "$defaultval"; then
5157 if test x"$enablestring" = xdisable; then
5164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5166 # Check whether --enable-debug_gdb was given.
5167 if test "${enable_debug_gdb+set}" = set; then
5168 enableval=$enable_debug_gdb;
5169 if test "$enableval" = yes; then
5170 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5172 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5179 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5180 if test "x$LINE" != x ; then
5181 eval "DEFAULT_$LINE"
5184 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5189 eval "$wx_cv_use_debug_gdb"
5190 if test "x$cache" = xyes; then
5191 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5194 if test x"$enablestring" = xdisable; then
5195 if test $wxUSE_DEBUG_GDB = yes; then
5201 result=$wxUSE_DEBUG_GDB
5204 { echo "$as_me:$LINENO: result: $result" >&5
5205 echo "${ECHO_T}$result" >&6; }
5210 if test -z "$defaultval"; then
5211 if test x"$enablestring" = xdisable; then
5218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5219 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5220 # Check whether --enable-debug_cntxt was given.
5221 if test "${enable_debug_cntxt+set}" = set; then
5222 enableval=$enable_debug_cntxt;
5223 if test "$enableval" = yes; then
5224 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5226 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5233 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x ; then
5235 eval "DEFAULT_$LINE"
5238 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5243 eval "$wx_cv_use_debug_cntxt"
5244 if test "x$cache" = xyes; then
5245 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5248 if test x"$enablestring" = xdisable; then
5249 if test $wxUSE_DEBUG_CONTEXT = yes; then
5255 result=$wxUSE_DEBUG_CONTEXT
5258 { echo "$as_me:$LINENO: result: $result" >&5
5259 echo "${ECHO_T}$result" >&6; }
5264 if test -z "$defaultval"; then
5265 if test x"$enablestring" = xdisable; then
5272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5273 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5274 # Check whether --enable-mem_tracing was given.
5275 if test "${enable_mem_tracing+set}" = set; then
5276 enableval=$enable_mem_tracing;
5277 if test "$enableval" = yes; then
5278 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5280 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5287 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5288 if test "x$LINE" != x ; then
5289 eval "DEFAULT_$LINE"
5292 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5297 eval "$wx_cv_use_mem_tracing"
5298 if test "x$cache" = xyes; then
5299 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5302 if test x"$enablestring" = xdisable; then
5303 if test $wxUSE_MEM_TRACING = yes; then
5309 result=$wxUSE_MEM_TRACING
5312 { echo "$as_me:$LINENO: result: $result" >&5
5313 echo "${ECHO_T}$result" >&6; }
5318 if test -z "$defaultval"; then
5319 if test x"$enablestring" = xdisable; then
5326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5328 # Check whether --enable-profile was given.
5329 if test "${enable_profile+set}" = set; then
5330 enableval=$enable_profile;
5331 if test "$enableval" = yes; then
5332 wx_cv_use_profile='wxUSE_PROFILE=yes'
5334 wx_cv_use_profile='wxUSE_PROFILE=no'
5341 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5346 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5351 eval "$wx_cv_use_profile"
5352 if test "x$cache" = xyes; then
5353 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5356 if test x"$enablestring" = xdisable; then
5357 if test $wxUSE_PROFILE = yes; then
5363 result=$wxUSE_PROFILE
5366 { echo "$as_me:$LINENO: result: $result" >&5
5367 echo "${ECHO_T}$result" >&6; }
5372 if test -z "$defaultval"; then
5373 if test x"$enablestring" = xdisable; then
5380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5381 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5382 # Check whether --enable-no_rtti was given.
5383 if test "${enable_no_rtti+set}" = set; then
5384 enableval=$enable_no_rtti;
5385 if test "$enableval" = yes; then
5386 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5388 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5395 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5396 if test "x$LINE" != x ; then
5397 eval "DEFAULT_$LINE"
5400 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5405 eval "$wx_cv_use_no_rtti"
5406 if test "x$cache" = xyes; then
5407 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5410 if test x"$enablestring" = xdisable; then
5411 if test $wxUSE_NO_RTTI = yes; then
5417 result=$wxUSE_NO_RTTI
5420 { echo "$as_me:$LINENO: result: $result" >&5
5421 echo "${ECHO_T}$result" >&6; }
5426 if test -z "$defaultval"; then
5427 if test x"$enablestring" = xdisable; then
5434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5436 # Check whether --enable-no_exceptions was given.
5437 if test "${enable_no_exceptions+set}" = set; then
5438 enableval=$enable_no_exceptions;
5439 if test "$enableval" = yes; then
5440 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5442 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5449 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x ; then
5451 eval "DEFAULT_$LINE"
5454 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5459 eval "$wx_cv_use_no_exceptions"
5460 if test "x$cache" = xyes; then
5461 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5464 if test x"$enablestring" = xdisable; then
5465 if test $wxUSE_NO_EXCEPTIONS = yes; then
5471 result=$wxUSE_NO_EXCEPTIONS
5474 { echo "$as_me:$LINENO: result: $result" >&5
5475 echo "${ECHO_T}$result" >&6; }
5480 if test -z "$defaultval"; then
5481 if test x"$enablestring" = xdisable; then
5488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5489 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5490 # Check whether --enable-permissive was given.
5491 if test "${enable_permissive+set}" = set; then
5492 enableval=$enable_permissive;
5493 if test "$enableval" = yes; then
5494 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5496 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5503 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5504 if test "x$LINE" != x ; then
5505 eval "DEFAULT_$LINE"
5508 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5513 eval "$wx_cv_use_permissive"
5514 if test "x$cache" = xyes; then
5515 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5518 if test x"$enablestring" = xdisable; then
5519 if test $wxUSE_PERMISSIVE = yes; then
5525 result=$wxUSE_PERMISSIVE
5528 { echo "$as_me:$LINENO: result: $result" >&5
5529 echo "${ECHO_T}$result" >&6; }
5534 if test -z "$defaultval"; then
5535 if test x"$enablestring" = xdisable; then
5542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5544 # Check whether --enable-no_deps was given.
5545 if test "${enable_no_deps+set}" = set; then
5546 enableval=$enable_no_deps;
5547 if test "$enableval" = yes; then
5548 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5550 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5557 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5562 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5567 eval "$wx_cv_use_no_deps"
5568 if test "x$cache" = xyes; then
5569 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5572 if test x"$enablestring" = xdisable; then
5573 if test $wxUSE_NO_DEPS = yes; then
5579 result=$wxUSE_NO_DEPS
5582 { echo "$as_me:$LINENO: result: $result" >&5
5583 echo "${ECHO_T}$result" >&6; }
5586 enablestring=disable
5588 if test -z "$defaultval"; then
5589 if test x"$enablestring" = xdisable; then
5596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5598 # Check whether --enable-vararg_macros was given.
5599 if test "${enable_vararg_macros+set}" = set; then
5600 enableval=$enable_vararg_macros;
5601 if test "$enableval" = yes; then
5602 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5604 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5611 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x ; then
5613 eval "DEFAULT_$LINE"
5616 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5621 eval "$wx_cv_use_vararg_macros"
5622 if test "x$cache" = xyes; then
5623 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5626 if test x"$enablestring" = xdisable; then
5627 if test $wxUSE_VARARG_MACROS = yes; then
5633 result=$wxUSE_VARARG_MACROS
5636 { echo "$as_me:$LINENO: result: $result" >&5
5637 echo "${ECHO_T}$result" >&6; }
5641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5642 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5643 # Check whether --enable-universal_binary was given.
5644 if test "${enable_universal_binary+set}" = set; then
5645 enableval=$enable_universal_binary;
5646 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5652 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x ; then
5654 eval "DEFAULT_$LINE"
5657 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5662 eval "$wx_cv_use_universal_binary"
5663 if test "x$cache" = xyes; then
5664 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5667 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5668 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5674 if test -z "$defaultval"; then
5675 if test x"$enablestring" = xdisable; then
5682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5683 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5684 # Check whether --enable-compat26 was given.
5685 if test "${enable_compat26+set}" = set; then
5686 enableval=$enable_compat26;
5687 if test "$enableval" = yes; then
5688 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5690 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5697 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5698 if test "x$LINE" != x ; then
5699 eval "DEFAULT_$LINE"
5702 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5707 eval "$wx_cv_use_compat26"
5708 if test "x$cache" = xyes; then
5709 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5712 if test x"$enablestring" = xdisable; then
5713 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5719 result=$WXWIN_COMPATIBILITY_2_6
5722 { echo "$as_me:$LINENO: result: $result" >&5
5723 echo "${ECHO_T}$result" >&6; }
5726 enablestring=disable
5728 if test -z "$defaultval"; then
5729 if test x"$enablestring" = xdisable; then
5736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5738 # Check whether --enable-compat28 was given.
5739 if test "${enable_compat28+set}" = set; then
5740 enableval=$enable_compat28;
5741 if test "$enableval" = yes; then
5742 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5744 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5751 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5756 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5761 eval "$wx_cv_use_compat28"
5762 if test "x$cache" = xyes; then
5763 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5766 if test x"$enablestring" = xdisable; then
5767 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5773 result=$WXWIN_COMPATIBILITY_2_8
5776 { echo "$as_me:$LINENO: result: $result" >&5
5777 echo "${ECHO_T}$result" >&6; }
5781 enablestring=disable
5783 if test -z "$defaultval"; then
5784 if test x"$enablestring" = xdisable; then
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5793 # Check whether --enable-rpath was given.
5794 if test "${enable_rpath+set}" = set; then
5795 enableval=$enable_rpath;
5796 if test "$enableval" = yes; then
5797 wx_cv_use_rpath='wxUSE_RPATH=yes'
5799 wx_cv_use_rpath='wxUSE_RPATH=no'
5806 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5807 if test "x$LINE" != x ; then
5808 eval "DEFAULT_$LINE"
5811 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5816 eval "$wx_cv_use_rpath"
5817 if test "x$cache" = xyes; then
5818 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5821 if test x"$enablestring" = xdisable; then
5822 if test $wxUSE_RPATH = yes; then
5831 { echo "$as_me:$LINENO: result: $result" >&5
5832 echo "${ECHO_T}$result" >&6; }
5838 if test -z "$defaultval"; then
5839 if test x"$enablestring" = xdisable; then
5846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5848 # Check whether --enable-objc_uniquifying was given.
5849 if test "${enable_objc_uniquifying+set}" = set; then
5850 enableval=$enable_objc_uniquifying;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5854 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5861 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x ; then
5863 eval "DEFAULT_$LINE"
5866 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5871 eval "$wx_cv_use_objc_uniquifying"
5872 if test "x$cache" = xyes; then
5873 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5876 if test x"$enablestring" = xdisable; then
5877 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5883 result=$wxUSE_OBJC_UNIQUIFYING
5886 { echo "$as_me:$LINENO: result: $result" >&5
5887 echo "${ECHO_T}$result" >&6; }
5891 enablestring=disable
5893 if test -z "$defaultval"; then
5894 if test x"$enablestring" = xdisable; then
5901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5902 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5903 # Check whether --enable-visibility was given.
5904 if test "${enable_visibility+set}" = set; then
5905 enableval=$enable_visibility;
5906 if test "$enableval" = yes; then
5907 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5909 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5916 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5917 if test "x$LINE" != x ; then
5918 eval "DEFAULT_$LINE"
5921 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5926 eval "$wx_cv_use_visibility"
5927 if test "x$cache" = xyes; then
5928 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5931 if test x"$enablestring" = xdisable; then
5932 if test $wxUSE_VISIBILITY = yes; then
5938 result=$wxUSE_VISIBILITY
5941 { echo "$as_me:$LINENO: result: $result" >&5
5942 echo "${ECHO_T}$result" >&6; }
5948 defaultval=$wxUSE_ALL_FEATURES
5949 if test -z "$defaultval"; then
5950 if test x"$enablestring" = xdisable; then
5957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5958 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5959 # Check whether --enable-intl was given.
5960 if test "${enable_intl+set}" = set; then
5961 enableval=$enable_intl;
5962 if test "$enableval" = yes; then
5963 wx_cv_use_intl='wxUSE_INTL=yes'
5965 wx_cv_use_intl='wxUSE_INTL=no'
5972 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5973 if test "x$LINE" != x ; then
5974 eval "DEFAULT_$LINE"
5977 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5982 eval "$wx_cv_use_intl"
5983 if test "x$cache" = xyes; then
5984 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5987 if test x"$enablestring" = xdisable; then
5988 if test $wxUSE_INTL = yes; then
5997 { echo "$as_me:$LINENO: result: $result" >&5
5998 echo "${ECHO_T}$result" >&6; }
6002 defaultval=$wxUSE_ALL_FEATURES
6003 if test -z "$defaultval"; then
6004 if test x"$enablestring" = xdisable; then
6011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6013 # Check whether --enable-config was given.
6014 if test "${enable_config+set}" = set; then
6015 enableval=$enable_config;
6016 if test "$enableval" = yes; then
6017 wx_cv_use_config='wxUSE_CONFIG=yes'
6019 wx_cv_use_config='wxUSE_CONFIG=no'
6026 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x ; then
6028 eval "DEFAULT_$LINE"
6031 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6036 eval "$wx_cv_use_config"
6037 if test "x$cache" = xyes; then
6038 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_CONFIG = yes; then
6048 result=$wxUSE_CONFIG
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6057 defaultval=$wxUSE_ALL_FEATURES
6058 if test -z "$defaultval"; then
6059 if test x"$enablestring" = xdisable; then
6066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6067 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6068 # Check whether --enable-protocols was given.
6069 if test "${enable_protocols+set}" = set; then
6070 enableval=$enable_protocols;
6071 if test "$enableval" = yes; then
6072 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6074 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6081 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6082 if test "x$LINE" != x ; then
6083 eval "DEFAULT_$LINE"
6086 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6091 eval "$wx_cv_use_protocols"
6092 if test "x$cache" = xyes; then
6093 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6096 if test x"$enablestring" = xdisable; then
6097 if test $wxUSE_PROTOCOL = yes; then
6103 result=$wxUSE_PROTOCOL
6106 { echo "$as_me:$LINENO: result: $result" >&5
6107 echo "${ECHO_T}$result" >&6; }
6111 defaultval=$wxUSE_ALL_FEATURES
6112 if test -z "$defaultval"; then
6113 if test x"$enablestring" = xdisable; then
6120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6121 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6122 # Check whether --enable-ftp was given.
6123 if test "${enable_ftp+set}" = set; then
6124 enableval=$enable_ftp;
6125 if test "$enableval" = yes; then
6126 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6128 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6135 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6136 if test "x$LINE" != x ; then
6137 eval "DEFAULT_$LINE"
6140 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6145 eval "$wx_cv_use_ftp"
6146 if test "x$cache" = xyes; then
6147 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6150 if test x"$enablestring" = xdisable; then
6151 if test $wxUSE_PROTOCOL_FTP = yes; then
6157 result=$wxUSE_PROTOCOL_FTP
6160 { echo "$as_me:$LINENO: result: $result" >&5
6161 echo "${ECHO_T}$result" >&6; }
6165 defaultval=$wxUSE_ALL_FEATURES
6166 if test -z "$defaultval"; then
6167 if test x"$enablestring" = xdisable; then
6174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6175 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6176 # Check whether --enable-http was given.
6177 if test "${enable_http+set}" = set; then
6178 enableval=$enable_http;
6179 if test "$enableval" = yes; then
6180 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6182 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6189 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6194 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6199 eval "$wx_cv_use_http"
6200 if test "x$cache" = xyes; then
6201 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6204 if test x"$enablestring" = xdisable; then
6205 if test $wxUSE_PROTOCOL_HTTP = yes; then
6211 result=$wxUSE_PROTOCOL_HTTP
6214 { echo "$as_me:$LINENO: result: $result" >&5
6215 echo "${ECHO_T}$result" >&6; }
6219 defaultval=$wxUSE_ALL_FEATURES
6220 if test -z "$defaultval"; then
6221 if test x"$enablestring" = xdisable; then
6228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6229 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6230 # Check whether --enable-fileproto was given.
6231 if test "${enable_fileproto+set}" = set; then
6232 enableval=$enable_fileproto;
6233 if test "$enableval" = yes; then
6234 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6236 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6243 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6244 if test "x$LINE" != x ; then
6245 eval "DEFAULT_$LINE"
6248 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6253 eval "$wx_cv_use_fileproto"
6254 if test "x$cache" = xyes; then
6255 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6258 if test x"$enablestring" = xdisable; then
6259 if test $wxUSE_PROTOCOL_FILE = yes; then
6265 result=$wxUSE_PROTOCOL_FILE
6268 { echo "$as_me:$LINENO: result: $result" >&5
6269 echo "${ECHO_T}$result" >&6; }
6273 defaultval=$wxUSE_ALL_FEATURES
6274 if test -z "$defaultval"; then
6275 if test x"$enablestring" = xdisable; then
6282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6283 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6284 # Check whether --enable-sockets was given.
6285 if test "${enable_sockets+set}" = set; then
6286 enableval=$enable_sockets;
6287 if test "$enableval" = yes; then
6288 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6290 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6297 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6298 if test "x$LINE" != x ; then
6299 eval "DEFAULT_$LINE"
6302 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6307 eval "$wx_cv_use_sockets"
6308 if test "x$cache" = xyes; then
6309 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6312 if test x"$enablestring" = xdisable; then
6313 if test $wxUSE_SOCKETS = yes; then
6319 result=$wxUSE_SOCKETS
6322 { echo "$as_me:$LINENO: result: $result" >&5
6323 echo "${ECHO_T}$result" >&6; }
6327 defaultval=$wxUSE_ALL_FEATURES
6328 if test -z "$defaultval"; then
6329 if test x"$enablestring" = xdisable; then
6336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6338 # Check whether --enable-ole was given.
6339 if test "${enable_ole+set}" = set; then
6340 enableval=$enable_ole;
6341 if test "$enableval" = yes; then
6342 wx_cv_use_ole='wxUSE_OLE=yes'
6344 wx_cv_use_ole='wxUSE_OLE=no'
6351 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6352 if test "x$LINE" != x ; then
6353 eval "DEFAULT_$LINE"
6356 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6361 eval "$wx_cv_use_ole"
6362 if test "x$cache" = xyes; then
6363 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6366 if test x"$enablestring" = xdisable; then
6367 if test $wxUSE_OLE = yes; then
6376 { echo "$as_me:$LINENO: result: $result" >&5
6377 echo "${ECHO_T}$result" >&6; }
6381 defaultval=$wxUSE_ALL_FEATURES
6382 if test -z "$defaultval"; then
6383 if test x"$enablestring" = xdisable; then
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6392 # Check whether --enable-dataobj was given.
6393 if test "${enable_dataobj+set}" = set; then
6394 enableval=$enable_dataobj;
6395 if test "$enableval" = yes; then
6396 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6398 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6405 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x ; then
6407 eval "DEFAULT_$LINE"
6410 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6415 eval "$wx_cv_use_dataobj"
6416 if test "x$cache" = xyes; then
6417 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6420 if test x"$enablestring" = xdisable; then
6421 if test $wxUSE_DATAOBJ = yes; then
6427 result=$wxUSE_DATAOBJ
6430 { echo "$as_me:$LINENO: result: $result" >&5
6431 echo "${ECHO_T}$result" >&6; }
6436 defaultval=$wxUSE_ALL_FEATURES
6437 if test -z "$defaultval"; then
6438 if test x"$enablestring" = xdisable; then
6445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6447 # Check whether --enable-ipc was given.
6448 if test "${enable_ipc+set}" = set; then
6449 enableval=$enable_ipc;
6450 if test "$enableval" = yes; then
6451 wx_cv_use_ipc='wxUSE_IPC=yes'
6453 wx_cv_use_ipc='wxUSE_IPC=no'
6460 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6461 if test "x$LINE" != x ; then
6462 eval "DEFAULT_$LINE"
6465 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6470 eval "$wx_cv_use_ipc"
6471 if test "x$cache" = xyes; then
6472 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6475 if test x"$enablestring" = xdisable; then
6476 if test $wxUSE_IPC = yes; then
6485 { echo "$as_me:$LINENO: result: $result" >&5
6486 echo "${ECHO_T}$result" >&6; }
6491 defaultval=$wxUSE_ALL_FEATURES
6492 if test -z "$defaultval"; then
6493 if test x"$enablestring" = xdisable; then
6500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6501 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6502 # Check whether --enable-baseevtloop was given.
6503 if test "${enable_baseevtloop+set}" = set; then
6504 enableval=$enable_baseevtloop;
6505 if test "$enableval" = yes; then
6506 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6508 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6515 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6516 if test "x$LINE" != x ; then
6517 eval "DEFAULT_$LINE"
6520 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6525 eval "$wx_cv_use_baseevtloop"
6526 if test "x$cache" = xyes; then
6527 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6530 if test x"$enablestring" = xdisable; then
6531 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6537 result=$wxUSE_CONSOLE_EVENTLOOP
6540 { echo "$as_me:$LINENO: result: $result" >&5
6541 echo "${ECHO_T}$result" >&6; }
6545 defaultval=$wxUSE_ALL_FEATURES
6546 if test -z "$defaultval"; then
6547 if test x"$enablestring" = xdisable; then
6554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6556 # Check whether --enable-epoolloop was given.
6557 if test "${enable_epoolloop+set}" = set; then
6558 enableval=$enable_epoolloop;
6559 if test "$enableval" = yes; then
6560 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6562 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6569 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x ; then
6571 eval "DEFAULT_$LINE"
6574 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6579 eval "$wx_cv_use_epoolloop"
6580 if test "x$cache" = xyes; then
6581 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6584 if test x"$enablestring" = xdisable; then
6585 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6591 result=$wxUSE_EPOLL_DISPATCHER
6594 { echo "$as_me:$LINENO: result: $result" >&5
6595 echo "${ECHO_T}$result" >&6; }
6599 defaultval=$wxUSE_ALL_FEATURES
6600 if test -z "$defaultval"; then
6601 if test x"$enablestring" = xdisable; then
6608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6610 # Check whether --enable-selectloop was given.
6611 if test "${enable_selectloop+set}" = set; then
6612 enableval=$enable_selectloop;
6613 if test "$enableval" = yes; then
6614 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6616 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6623 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6624 if test "x$LINE" != x ; then
6625 eval "DEFAULT_$LINE"
6628 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6633 eval "$wx_cv_use_selectloop"
6634 if test "x$cache" = xyes; then
6635 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6638 if test x"$enablestring" = xdisable; then
6639 if test $wxUSE_SELECT_DISPATCHER = yes; then
6645 result=$wxUSE_SELECT_DISPATCHER
6648 { echo "$as_me:$LINENO: result: $result" >&5
6649 echo "${ECHO_T}$result" >&6; }
6654 defaultval=$wxUSE_ALL_FEATURES
6655 if test -z "$defaultval"; then
6656 if test x"$enablestring" = xdisable; then
6663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6664 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6665 # Check whether --enable-apple_ieee was given.
6666 if test "${enable_apple_ieee+set}" = set; then
6667 enableval=$enable_apple_ieee;
6668 if test "$enableval" = yes; then
6669 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6671 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6678 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6679 if test "x$LINE" != x ; then
6680 eval "DEFAULT_$LINE"
6683 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6688 eval "$wx_cv_use_apple_ieee"
6689 if test "x$cache" = xyes; then
6690 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6693 if test x"$enablestring" = xdisable; then
6694 if test $wxUSE_APPLE_IEEE = yes; then
6700 result=$wxUSE_APPLE_IEEE
6703 { echo "$as_me:$LINENO: result: $result" >&5
6704 echo "${ECHO_T}$result" >&6; }
6708 defaultval=$wxUSE_ALL_FEATURES
6709 if test -z "$defaultval"; then
6710 if test x"$enablestring" = xdisable; then
6717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6719 # Check whether --enable-arcstream was given.
6720 if test "${enable_arcstream+set}" = set; then
6721 enableval=$enable_arcstream;
6722 if test "$enableval" = yes; then
6723 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6725 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6732 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x ; then
6734 eval "DEFAULT_$LINE"
6737 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6742 eval "$wx_cv_use_arcstream"
6743 if test "x$cache" = xyes; then
6744 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6747 if test x"$enablestring" = xdisable; then
6748 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6754 result=$wxUSE_ARCHIVE_STREAMS
6757 { echo "$as_me:$LINENO: result: $result" >&5
6758 echo "${ECHO_T}$result" >&6; }
6762 defaultval=$wxUSE_ALL_FEATURES
6763 if test -z "$defaultval"; then
6764 if test x"$enablestring" = xdisable; then
6771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6773 # Check whether --enable-base64 was given.
6774 if test "${enable_base64+set}" = set; then
6775 enableval=$enable_base64;
6776 if test "$enableval" = yes; then
6777 wx_cv_use_base64='wxUSE_BASE64=yes'
6779 wx_cv_use_base64='wxUSE_BASE64=no'
6786 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x ; then
6788 eval "DEFAULT_$LINE"
6791 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6796 eval "$wx_cv_use_base64"
6797 if test "x$cache" = xyes; then
6798 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6801 if test x"$enablestring" = xdisable; then
6802 if test $wxUSE_BASE64 = yes; then
6808 result=$wxUSE_BASE64
6811 { echo "$as_me:$LINENO: result: $result" >&5
6812 echo "${ECHO_T}$result" >&6; }
6816 defaultval=$wxUSE_ALL_FEATURES
6817 if test -z "$defaultval"; then
6818 if test x"$enablestring" = xdisable; then
6825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6826 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6827 # Check whether --enable-backtrace was given.
6828 if test "${enable_backtrace+set}" = set; then
6829 enableval=$enable_backtrace;
6830 if test "$enableval" = yes; then
6831 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6833 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6840 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6841 if test "x$LINE" != x ; then
6842 eval "DEFAULT_$LINE"
6845 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6850 eval "$wx_cv_use_backtrace"
6851 if test "x$cache" = xyes; then
6852 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6855 if test x"$enablestring" = xdisable; then
6856 if test $wxUSE_STACKWALKER = yes; then
6862 result=$wxUSE_STACKWALKER
6865 { echo "$as_me:$LINENO: result: $result" >&5
6866 echo "${ECHO_T}$result" >&6; }
6870 defaultval=$wxUSE_ALL_FEATURES
6871 if test -z "$defaultval"; then
6872 if test x"$enablestring" = xdisable; then
6879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6880 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6881 # Check whether --enable-catch_segvs was given.
6882 if test "${enable_catch_segvs+set}" = set; then
6883 enableval=$enable_catch_segvs;
6884 if test "$enableval" = yes; then
6885 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6887 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6894 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6895 if test "x$LINE" != x ; then
6896 eval "DEFAULT_$LINE"
6899 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6904 eval "$wx_cv_use_catch_segvs"
6905 if test "x$cache" = xyes; then
6906 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6909 if test x"$enablestring" = xdisable; then
6910 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6916 result=$wxUSE_ON_FATAL_EXCEPTION
6919 { echo "$as_me:$LINENO: result: $result" >&5
6920 echo "${ECHO_T}$result" >&6; }
6924 defaultval=$wxUSE_ALL_FEATURES
6925 if test -z "$defaultval"; then
6926 if test x"$enablestring" = xdisable; then
6933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6935 # Check whether --enable-cmdline was given.
6936 if test "${enable_cmdline+set}" = set; then
6937 enableval=$enable_cmdline;
6938 if test "$enableval" = yes; then
6939 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6941 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6948 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x ; then
6950 eval "DEFAULT_$LINE"
6953 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6958 eval "$wx_cv_use_cmdline"
6959 if test "x$cache" = xyes; then
6960 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6963 if test x"$enablestring" = xdisable; then
6964 if test $wxUSE_CMDLINE_PARSER = yes; then
6970 result=$wxUSE_CMDLINE_PARSER
6973 { echo "$as_me:$LINENO: result: $result" >&5
6974 echo "${ECHO_T}$result" >&6; }
6978 defaultval=$wxUSE_ALL_FEATURES
6979 if test -z "$defaultval"; then
6980 if test x"$enablestring" = xdisable; then
6987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6988 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6989 # Check whether --enable-datetime was given.
6990 if test "${enable_datetime+set}" = set; then
6991 enableval=$enable_datetime;
6992 if test "$enableval" = yes; then
6993 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6995 wx_cv_use_datetime='wxUSE_DATETIME=no'
7002 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x ; then
7004 eval "DEFAULT_$LINE"
7007 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7012 eval "$wx_cv_use_datetime"
7013 if test "x$cache" = xyes; then
7014 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7017 if test x"$enablestring" = xdisable; then
7018 if test $wxUSE_DATETIME = yes; then
7024 result=$wxUSE_DATETIME
7027 { echo "$as_me:$LINENO: result: $result" >&5
7028 echo "${ECHO_T}$result" >&6; }
7032 defaultval=$wxUSE_ALL_FEATURES
7033 if test -z "$defaultval"; then
7034 if test x"$enablestring" = xdisable; then
7041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7042 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7043 # Check whether --enable-debugreport was given.
7044 if test "${enable_debugreport+set}" = set; then
7045 enableval=$enable_debugreport;
7046 if test "$enableval" = yes; then
7047 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7049 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7056 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7057 if test "x$LINE" != x ; then
7058 eval "DEFAULT_$LINE"
7061 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7066 eval "$wx_cv_use_debugreport"
7067 if test "x$cache" = xyes; then
7068 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7071 if test x"$enablestring" = xdisable; then
7072 if test $wxUSE_DEBUGREPORT = yes; then
7078 result=$wxUSE_DEBUGREPORT
7081 { echo "$as_me:$LINENO: result: $result" >&5
7082 echo "${ECHO_T}$result" >&6; }
7086 defaultval=$wxUSE_ALL_FEATURES
7087 if test -z "$defaultval"; then
7088 if test x"$enablestring" = xdisable; then
7095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7096 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7097 # Check whether --enable-dialupman was given.
7098 if test "${enable_dialupman+set}" = set; then
7099 enableval=$enable_dialupman;
7100 if test "$enableval" = yes; then
7101 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7103 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7110 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7111 if test "x$LINE" != x ; then
7112 eval "DEFAULT_$LINE"
7115 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7120 eval "$wx_cv_use_dialupman"
7121 if test "x$cache" = xyes; then
7122 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7125 if test x"$enablestring" = xdisable; then
7126 if test $wxUSE_DIALUP_MANAGER = yes; then
7132 result=$wxUSE_DIALUP_MANAGER
7135 { echo "$as_me:$LINENO: result: $result" >&5
7136 echo "${ECHO_T}$result" >&6; }
7140 defaultval=$wxUSE_ALL_FEATURES
7141 if test -z "$defaultval"; then
7142 if test x"$enablestring" = xdisable; then
7149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7151 # Check whether --enable-dynlib was given.
7152 if test "${enable_dynlib+set}" = set; then
7153 enableval=$enable_dynlib;
7154 if test "$enableval" = yes; then
7155 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7157 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7164 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x ; then
7166 eval "DEFAULT_$LINE"
7169 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7174 eval "$wx_cv_use_dynlib"
7175 if test "x$cache" = xyes; then
7176 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7179 if test x"$enablestring" = xdisable; then
7180 if test $wxUSE_DYNLIB_CLASS = yes; then
7186 result=$wxUSE_DYNLIB_CLASS
7189 { echo "$as_me:$LINENO: result: $result" >&5
7190 echo "${ECHO_T}$result" >&6; }
7194 defaultval=$wxUSE_ALL_FEATURES
7195 if test -z "$defaultval"; then
7196 if test x"$enablestring" = xdisable; then
7203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7204 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7205 # Check whether --enable-dynamicloader was given.
7206 if test "${enable_dynamicloader+set}" = set; then
7207 enableval=$enable_dynamicloader;
7208 if test "$enableval" = yes; then
7209 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7211 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7218 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7219 if test "x$LINE" != x ; then
7220 eval "DEFAULT_$LINE"
7223 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7228 eval "$wx_cv_use_dynamicloader"
7229 if test "x$cache" = xyes; then
7230 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_DYNAMIC_LOADER = yes; then
7240 result=$wxUSE_DYNAMIC_LOADER
7243 { echo "$as_me:$LINENO: result: $result" >&5
7244 echo "${ECHO_T}$result" >&6; }
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7258 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7259 # Check whether --enable-exceptions was given.
7260 if test "${enable_exceptions+set}" = set; then
7261 enableval=$enable_exceptions;
7262 if test "$enableval" = yes; then
7263 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7265 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7272 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7273 if test "x$LINE" != x ; then
7274 eval "DEFAULT_$LINE"
7277 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7282 eval "$wx_cv_use_exceptions"
7283 if test "x$cache" = xyes; then
7284 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7287 if test x"$enablestring" = xdisable; then
7288 if test $wxUSE_EXCEPTIONS = yes; then
7294 result=$wxUSE_EXCEPTIONS
7297 { echo "$as_me:$LINENO: result: $result" >&5
7298 echo "${ECHO_T}$result" >&6; }
7302 defaultval=$wxUSE_ALL_FEATURES
7303 if test -z "$defaultval"; then
7304 if test x"$enablestring" = xdisable; then
7311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7312 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7313 # Check whether --enable-ffile was given.
7314 if test "${enable_ffile+set}" = set; then
7315 enableval=$enable_ffile;
7316 if test "$enableval" = yes; then
7317 wx_cv_use_ffile='wxUSE_FFILE=yes'
7319 wx_cv_use_ffile='wxUSE_FFILE=no'
7326 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x ; then
7328 eval "DEFAULT_$LINE"
7331 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7336 eval "$wx_cv_use_ffile"
7337 if test "x$cache" = xyes; then
7338 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7341 if test x"$enablestring" = xdisable; then
7342 if test $wxUSE_FFILE = yes; then
7351 { echo "$as_me:$LINENO: result: $result" >&5
7352 echo "${ECHO_T}$result" >&6; }
7356 defaultval=$wxUSE_ALL_FEATURES
7357 if test -z "$defaultval"; then
7358 if test x"$enablestring" = xdisable; then
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7367 # Check whether --enable-file was given.
7368 if test "${enable_file+set}" = set; then
7369 enableval=$enable_file;
7370 if test "$enableval" = yes; then
7371 wx_cv_use_file='wxUSE_FILE=yes'
7373 wx_cv_use_file='wxUSE_FILE=no'
7380 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7381 if test "x$LINE" != x ; then
7382 eval "DEFAULT_$LINE"
7385 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7390 eval "$wx_cv_use_file"
7391 if test "x$cache" = xyes; then
7392 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7395 if test x"$enablestring" = xdisable; then
7396 if test $wxUSE_FILE = yes; then
7405 { echo "$as_me:$LINENO: result: $result" >&5
7406 echo "${ECHO_T}$result" >&6; }
7410 defaultval=$wxUSE_ALL_FEATURES
7411 if test -z "$defaultval"; then
7412 if test x"$enablestring" = xdisable; then
7419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7421 # Check whether --enable-filesystem was given.
7422 if test "${enable_filesystem+set}" = set; then
7423 enableval=$enable_filesystem;
7424 if test "$enableval" = yes; then
7425 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7427 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7434 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x ; then
7436 eval "DEFAULT_$LINE"
7439 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7444 eval "$wx_cv_use_filesystem"
7445 if test "x$cache" = xyes; then
7446 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7449 if test x"$enablestring" = xdisable; then
7450 if test $wxUSE_FILESYSTEM = yes; then
7456 result=$wxUSE_FILESYSTEM
7459 { echo "$as_me:$LINENO: result: $result" >&5
7460 echo "${ECHO_T}$result" >&6; }
7464 defaultval=$wxUSE_ALL_FEATURES
7465 if test -z "$defaultval"; then
7466 if test x"$enablestring" = xdisable; then
7473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7474 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7475 # Check whether --enable-fontenum was given.
7476 if test "${enable_fontenum+set}" = set; then
7477 enableval=$enable_fontenum;
7478 if test "$enableval" = yes; then
7479 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7481 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7488 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7489 if test "x$LINE" != x ; then
7490 eval "DEFAULT_$LINE"
7493 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7498 eval "$wx_cv_use_fontenum"
7499 if test "x$cache" = xyes; then
7500 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7503 if test x"$enablestring" = xdisable; then
7504 if test $wxUSE_FONTENUM = yes; then
7510 result=$wxUSE_FONTENUM
7513 { echo "$as_me:$LINENO: result: $result" >&5
7514 echo "${ECHO_T}$result" >&6; }
7518 defaultval=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x"$enablestring" = xdisable; then
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7529 # Check whether --enable-fontmap was given.
7530 if test "${enable_fontmap+set}" = set; then
7531 enableval=$enable_fontmap;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7535 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7542 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7543 if test "x$LINE" != x ; then
7544 eval "DEFAULT_$LINE"
7547 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7552 eval "$wx_cv_use_fontmap"
7553 if test "x$cache" = xyes; then
7554 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7557 if test x"$enablestring" = xdisable; then
7558 if test $wxUSE_FONTMAP = yes; then
7564 result=$wxUSE_FONTMAP
7567 { echo "$as_me:$LINENO: result: $result" >&5
7568 echo "${ECHO_T}$result" >&6; }
7572 defaultval=$wxUSE_ALL_FEATURES
7573 if test -z "$defaultval"; then
7574 if test x"$enablestring" = xdisable; then
7581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7583 # Check whether --enable-fs_archive was given.
7584 if test "${enable_fs_archive+set}" = set; then
7585 enableval=$enable_fs_archive;
7586 if test "$enableval" = yes; then
7587 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7589 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7596 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7601 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7606 eval "$wx_cv_use_fs_archive"
7607 if test "x$cache" = xyes; then
7608 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_FS_ARCHIVE = yes; then
7618 result=$wxUSE_FS_ARCHIVE
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}-fs_inet" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7637 # Check whether --enable-fs_inet was given.
7638 if test "${enable_fs_inet+set}" = set; then
7639 enableval=$enable_fs_inet;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7643 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7650 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7651 if test "x$LINE" != x ; then
7652 eval "DEFAULT_$LINE"
7655 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7660 eval "$wx_cv_use_fs_inet"
7661 if test "x$cache" = xyes; then
7662 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7665 if test x"$enablestring" = xdisable; then
7666 if test $wxUSE_FS_INET = yes; then
7672 result=$wxUSE_FS_INET
7675 { echo "$as_me:$LINENO: result: $result" >&5
7676 echo "${ECHO_T}$result" >&6; }
7680 defaultval=$wxUSE_ALL_FEATURES
7681 if test -z "$defaultval"; then
7682 if test x"$enablestring" = xdisable; then
7689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7690 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7691 # Check whether --enable-fs_zip was given.
7692 if test "${enable_fs_zip+set}" = set; then
7693 enableval=$enable_fs_zip;
7694 if test "$enableval" = yes; then
7695 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7697 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7704 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x ; then
7706 eval "DEFAULT_$LINE"
7709 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7714 eval "$wx_cv_use_fs_zip"
7715 if test "x$cache" = xyes; then
7716 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7719 if test x"$enablestring" = xdisable; then
7720 if test $wxUSE_FS_ZIP = yes; then
7726 result=$wxUSE_FS_ZIP
7729 { echo "$as_me:$LINENO: result: $result" >&5
7730 echo "${ECHO_T}$result" >&6; }
7734 defaultval=$wxUSE_ALL_FEATURES
7735 if test -z "$defaultval"; then
7736 if test x"$enablestring" = xdisable; then
7743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7744 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7745 # Check whether --enable-geometry was given.
7746 if test "${enable_geometry+set}" = set; then
7747 enableval=$enable_geometry;
7748 if test "$enableval" = yes; then
7749 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7751 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7758 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7759 if test "x$LINE" != x ; then
7760 eval "DEFAULT_$LINE"
7763 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7768 eval "$wx_cv_use_geometry"
7769 if test "x$cache" = xyes; then
7770 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7773 if test x"$enablestring" = xdisable; then
7774 if test $wxUSE_GEOMETRY = yes; then
7780 result=$wxUSE_GEOMETRY
7783 { echo "$as_me:$LINENO: result: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7788 defaultval=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x"$enablestring" = xdisable; then
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7799 # Check whether --enable-log was given.
7800 if test "${enable_log+set}" = set; then
7801 enableval=$enable_log;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_log='wxUSE_LOG=yes'
7805 wx_cv_use_log='wxUSE_LOG=no'
7812 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x ; then
7814 eval "DEFAULT_$LINE"
7817 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7822 eval "$wx_cv_use_log"
7823 if test "x$cache" = xyes; then
7824 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7827 if test x"$enablestring" = xdisable; then
7828 if test $wxUSE_LOG = yes; then
7837 { echo "$as_me:$LINENO: result: $result" >&5
7838 echo "${ECHO_T}$result" >&6; }
7842 defaultval=$wxUSE_ALL_FEATURES
7843 if test -z "$defaultval"; then
7844 if test x"$enablestring" = xdisable; then
7851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7852 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7853 # Check whether --enable-longlong was given.
7854 if test "${enable_longlong+set}" = set; then
7855 enableval=$enable_longlong;
7856 if test "$enableval" = yes; then
7857 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7859 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7866 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7867 if test "x$LINE" != x ; then
7868 eval "DEFAULT_$LINE"
7871 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7876 eval "$wx_cv_use_longlong"
7877 if test "x$cache" = xyes; then
7878 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7881 if test x"$enablestring" = xdisable; then
7882 if test $wxUSE_LONGLONG = yes; then
7888 result=$wxUSE_LONGLONG
7891 { echo "$as_me:$LINENO: result: $result" >&5
7892 echo "${ECHO_T}$result" >&6; }
7896 defaultval=$wxUSE_ALL_FEATURES
7897 if test -z "$defaultval"; then
7898 if test x"$enablestring" = xdisable; then
7905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7907 # Check whether --enable-mimetype was given.
7908 if test "${enable_mimetype+set}" = set; then
7909 enableval=$enable_mimetype;
7910 if test "$enableval" = yes; then
7911 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7913 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7920 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7925 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7930 eval "$wx_cv_use_mimetype"
7931 if test "x$cache" = xyes; then
7932 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7935 if test x"$enablestring" = xdisable; then
7936 if test $wxUSE_MIMETYPE = yes; then
7942 result=$wxUSE_MIMETYPE
7945 { echo "$as_me:$LINENO: result: $result" >&5
7946 echo "${ECHO_T}$result" >&6; }
7950 defaultval=$wxUSE_ALL_FEATURES
7951 if test -z "$defaultval"; then
7952 if test x"$enablestring" = xdisable; then
7959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7961 # Check whether --enable-snglinst was given.
7962 if test "${enable_snglinst+set}" = set; then
7963 enableval=$enable_snglinst;
7964 if test "$enableval" = yes; then
7965 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7967 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7974 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7975 if test "x$LINE" != x ; then
7976 eval "DEFAULT_$LINE"
7979 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7984 eval "$wx_cv_use_snglinst"
7985 if test "x$cache" = xyes; then
7986 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7989 if test x"$enablestring" = xdisable; then
7990 if test $wxUSE_SNGLINST_CHECKER = yes; then
7996 result=$wxUSE_SNGLINST_CHECKER
7999 { echo "$as_me:$LINENO: result: $result" >&5
8000 echo "${ECHO_T}$result" >&6; }
8004 defaultval=$wxUSE_ALL_FEATURES
8005 if test -z "$defaultval"; then
8006 if test x"$enablestring" = xdisable; then
8013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8015 # Check whether --enable-stdpaths was given.
8016 if test "${enable_stdpaths+set}" = set; then
8017 enableval=$enable_stdpaths;
8018 if test "$enableval" = yes; then
8019 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8021 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8028 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8029 if test "x$LINE" != x ; then
8030 eval "DEFAULT_$LINE"
8033 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8038 eval "$wx_cv_use_stdpaths"
8039 if test "x$cache" = xyes; then
8040 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8043 if test x"$enablestring" = xdisable; then
8044 if test $wxUSE_STDPATHS = yes; then
8050 result=$wxUSE_STDPATHS
8053 { echo "$as_me:$LINENO: result: $result" >&5
8054 echo "${ECHO_T}$result" >&6; }
8058 defaultval=$wxUSE_ALL_FEATURES
8059 if test -z "$defaultval"; then
8060 if test x"$enablestring" = xdisable; then
8067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8069 # Check whether --enable-stopwatch was given.
8070 if test "${enable_stopwatch+set}" = set; then
8071 enableval=$enable_stopwatch;
8072 if test "$enableval" = yes; then
8073 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8075 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8082 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8083 if test "x$LINE" != x ; then
8084 eval "DEFAULT_$LINE"
8087 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8092 eval "$wx_cv_use_stopwatch"
8093 if test "x$cache" = xyes; then
8094 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8097 if test x"$enablestring" = xdisable; then
8098 if test $wxUSE_STOPWATCH = yes; then
8104 result=$wxUSE_STOPWATCH
8107 { echo "$as_me:$LINENO: result: $result" >&5
8108 echo "${ECHO_T}$result" >&6; }
8112 defaultval=$wxUSE_ALL_FEATURES
8113 if test -z "$defaultval"; then
8114 if test x"$enablestring" = xdisable; then
8121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8122 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8123 # Check whether --enable-streams was given.
8124 if test "${enable_streams+set}" = set; then
8125 enableval=$enable_streams;
8126 if test "$enableval" = yes; then
8127 wx_cv_use_streams='wxUSE_STREAMS=yes'
8129 wx_cv_use_streams='wxUSE_STREAMS=no'
8136 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8137 if test "x$LINE" != x ; then
8138 eval "DEFAULT_$LINE"
8141 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8146 eval "$wx_cv_use_streams"
8147 if test "x$cache" = xyes; then
8148 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8151 if test x"$enablestring" = xdisable; then
8152 if test $wxUSE_STREAMS = yes; then
8158 result=$wxUSE_STREAMS
8161 { echo "$as_me:$LINENO: result: $result" >&5
8162 echo "${ECHO_T}$result" >&6; }
8166 defaultval=$wxUSE_ALL_FEATURES
8167 if test -z "$defaultval"; then
8168 if test x"$enablestring" = xdisable; then
8175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8176 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8177 # Check whether --enable-system_options was given.
8178 if test "${enable_system_options+set}" = set; then
8179 enableval=$enable_system_options;
8180 if test "$enableval" = yes; then
8181 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8183 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8190 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8191 if test "x$LINE" != x ; then
8192 eval "DEFAULT_$LINE"
8195 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8200 eval "$wx_cv_use_system_options"
8201 if test "x$cache" = xyes; then
8202 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8205 if test x"$enablestring" = xdisable; then
8206 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8212 result=$wxUSE_SYSTEM_OPTIONS
8215 { echo "$as_me:$LINENO: result: $result" >&5
8216 echo "${ECHO_T}$result" >&6; }
8220 defaultval=$wxUSE_ALL_FEATURES
8221 if test -z "$defaultval"; then
8222 if test x"$enablestring" = xdisable; then
8229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8230 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8231 # Check whether --enable-tarstream was given.
8232 if test "${enable_tarstream+set}" = set; then
8233 enableval=$enable_tarstream;
8234 if test "$enableval" = yes; then
8235 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8237 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8244 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8245 if test "x$LINE" != x ; then
8246 eval "DEFAULT_$LINE"
8249 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8254 eval "$wx_cv_use_tarstream"
8255 if test "x$cache" = xyes; then
8256 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8259 if test x"$enablestring" = xdisable; then
8260 if test $wxUSE_TARSTREAM = yes; then
8266 result=$wxUSE_TARSTREAM
8269 { echo "$as_me:$LINENO: result: $result" >&5
8270 echo "${ECHO_T}$result" >&6; }
8274 defaultval=$wxUSE_ALL_FEATURES
8275 if test -z "$defaultval"; then
8276 if test x"$enablestring" = xdisable; then
8283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8285 # Check whether --enable-textbuf was given.
8286 if test "${enable_textbuf+set}" = set; then
8287 enableval=$enable_textbuf;
8288 if test "$enableval" = yes; then
8289 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8291 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8298 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8299 if test "x$LINE" != x ; then
8300 eval "DEFAULT_$LINE"
8303 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8308 eval "$wx_cv_use_textbuf"
8309 if test "x$cache" = xyes; then
8310 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8313 if test x"$enablestring" = xdisable; then
8314 if test $wxUSE_TEXTBUFFER = yes; then
8320 result=$wxUSE_TEXTBUFFER
8323 { echo "$as_me:$LINENO: result: $result" >&5
8324 echo "${ECHO_T}$result" >&6; }
8328 defaultval=$wxUSE_ALL_FEATURES
8329 if test -z "$defaultval"; then
8330 if test x"$enablestring" = xdisable; then
8337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8338 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8339 # Check whether --enable-textfile was given.
8340 if test "${enable_textfile+set}" = set; then
8341 enableval=$enable_textfile;
8342 if test "$enableval" = yes; then
8343 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8345 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8352 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x ; then
8354 eval "DEFAULT_$LINE"
8357 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8362 eval "$wx_cv_use_textfile"
8363 if test "x$cache" = xyes; then
8364 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8367 if test x"$enablestring" = xdisable; then
8368 if test $wxUSE_TEXTFILE = yes; then
8374 result=$wxUSE_TEXTFILE
8377 { echo "$as_me:$LINENO: result: $result" >&5
8378 echo "${ECHO_T}$result" >&6; }
8382 defaultval=$wxUSE_ALL_FEATURES
8383 if test -z "$defaultval"; then
8384 if test x"$enablestring" = xdisable; then
8391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8392 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8393 # Check whether --enable-timer was given.
8394 if test "${enable_timer+set}" = set; then
8395 enableval=$enable_timer;
8396 if test "$enableval" = yes; then
8397 wx_cv_use_timer='wxUSE_TIMER=yes'
8399 wx_cv_use_timer='wxUSE_TIMER=no'
8406 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8407 if test "x$LINE" != x ; then
8408 eval "DEFAULT_$LINE"
8411 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8416 eval "$wx_cv_use_timer"
8417 if test "x$cache" = xyes; then
8418 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8421 if test x"$enablestring" = xdisable; then
8422 if test $wxUSE_TIMER = yes; then
8431 { echo "$as_me:$LINENO: result: $result" >&5
8432 echo "${ECHO_T}$result" >&6; }
8436 defaultval=$wxUSE_ALL_FEATURES
8437 if test -z "$defaultval"; then
8438 if test x"$enablestring" = xdisable; then
8445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8447 # Check whether --enable-sound was given.
8448 if test "${enable_sound+set}" = set; then
8449 enableval=$enable_sound;
8450 if test "$enableval" = yes; then
8451 wx_cv_use_sound='wxUSE_SOUND=yes'
8453 wx_cv_use_sound='wxUSE_SOUND=no'
8460 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x ; then
8462 eval "DEFAULT_$LINE"
8465 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8470 eval "$wx_cv_use_sound"
8471 if test "x$cache" = xyes; then
8472 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8475 if test x"$enablestring" = xdisable; then
8476 if test $wxUSE_SOUND = yes; then
8485 { echo "$as_me:$LINENO: result: $result" >&5
8486 echo "${ECHO_T}$result" >&6; }
8490 defaultval=$wxUSE_ALL_FEATURES
8491 if test -z "$defaultval"; then
8492 if test x"$enablestring" = xdisable; then
8499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8501 # Check whether --enable-mediactrl was given.
8502 if test "${enable_mediactrl+set}" = set; then
8503 enableval=$enable_mediactrl;
8504 if test "$enableval" = yes; then
8505 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8507 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8514 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x ; then
8516 eval "DEFAULT_$LINE"
8519 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8524 eval "$wx_cv_use_mediactrl"
8525 if test "x$cache" = xyes; then
8526 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8529 if test x"$enablestring" = xdisable; then
8530 if test $wxUSE_MEDIACTRL = yes; then
8536 result=$wxUSE_MEDIACTRL
8539 { echo "$as_me:$LINENO: result: $result" >&5
8540 echo "${ECHO_T}$result" >&6; }
8544 defaultval=$wxUSE_ALL_FEATURES
8545 if test -z "$defaultval"; then
8546 if test x"$enablestring" = xdisable; then
8553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8554 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8555 # Check whether --enable-gstreamer8 was given.
8556 if test "${enable_gstreamer8+set}" = set; then
8557 enableval=$enable_gstreamer8;
8558 if test "$enableval" = yes; then
8559 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8561 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8568 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8569 if test "x$LINE" != x ; then
8570 eval "DEFAULT_$LINE"
8573 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8578 eval "$wx_cv_use_gstreamer8"
8579 if test "x$cache" = xyes; then
8580 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8583 if test x"$enablestring" = xdisable; then
8584 if test $wxUSE_GSTREAMER8 = yes; then
8590 result=$wxUSE_GSTREAMER8
8593 { echo "$as_me:$LINENO: result: $result" >&5
8594 echo "${ECHO_T}$result" >&6; }
8598 defaultval=$wxUSE_ALL_FEATURES
8599 if test -z "$defaultval"; then
8600 if test x"$enablestring" = xdisable; then
8607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8609 # Check whether --enable-printfposparam was given.
8610 if test "${enable_printfposparam+set}" = set; then
8611 enableval=$enable_printfposparam;
8612 if test "$enableval" = yes; then
8613 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8615 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8622 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x ; then
8624 eval "DEFAULT_$LINE"
8627 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8632 eval "$wx_cv_use_printfposparam"
8633 if test "x$cache" = xyes; then
8634 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8637 if test x"$enablestring" = xdisable; then
8638 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8644 result=$wxUSE_PRINTF_POS_PARAMS
8647 { echo "$as_me:$LINENO: result: $result" >&5
8648 echo "${ECHO_T}$result" >&6; }
8652 defaultval=$wxUSE_ALL_FEATURES
8653 if test -z "$defaultval"; then
8654 if test x"$enablestring" = xdisable; then
8661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8662 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8663 # Check whether --enable-zipstream was given.
8664 if test "${enable_zipstream+set}" = set; then
8665 enableval=$enable_zipstream;
8666 if test "$enableval" = yes; then
8667 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8669 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8676 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8677 if test "x$LINE" != x ; then
8678 eval "DEFAULT_$LINE"
8681 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8686 eval "$wx_cv_use_zipstream"
8687 if test "x$cache" = xyes; then
8688 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_ZIPSTREAM = yes; then
8698 result=$wxUSE_ZIPSTREAM
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8707 defaultval=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x"$enablestring" = xdisable; then
8716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8718 # Check whether --enable-url was given.
8719 if test "${enable_url+set}" = set; then
8720 enableval=$enable_url;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_url='wxUSE_URL=yes'
8724 wx_cv_use_url='wxUSE_URL=no'
8731 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8732 if test "x$LINE" != x ; then
8733 eval "DEFAULT_$LINE"
8736 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8741 eval "$wx_cv_use_url"
8742 if test "x$cache" = xyes; then
8743 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8746 if test x"$enablestring" = xdisable; then
8747 if test $wxUSE_URL = yes; then
8756 { echo "$as_me:$LINENO: result: $result" >&5
8757 echo "${ECHO_T}$result" >&6; }
8761 defaultval=$wxUSE_ALL_FEATURES
8762 if test -z "$defaultval"; then
8763 if test x"$enablestring" = xdisable; then
8770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8771 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8772 # Check whether --enable-variant was given.
8773 if test "${enable_variant+set}" = set; then
8774 enableval=$enable_variant;
8775 if test "$enableval" = yes; then
8776 wx_cv_use_variant='wxUSE_VARIANT=yes'
8778 wx_cv_use_variant='wxUSE_VARIANT=no'
8785 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8786 if test "x$LINE" != x ; then
8787 eval "DEFAULT_$LINE"
8790 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8795 eval "$wx_cv_use_variant"
8796 if test "x$cache" = xyes; then
8797 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8800 if test x"$enablestring" = xdisable; then
8801 if test $wxUSE_VARIANT = yes; then
8807 result=$wxUSE_VARIANT
8810 { echo "$as_me:$LINENO: result: $result" >&5
8811 echo "${ECHO_T}$result" >&6; }
8815 defaultval=$wxUSE_ALL_FEATURES
8816 if test -z "$defaultval"; then
8817 if test x"$enablestring" = xdisable; then
8824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8825 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8826 # Check whether --enable-protocol was given.
8827 if test "${enable_protocol+set}" = set; then
8828 enableval=$enable_protocol;
8829 if test "$enableval" = yes; then
8830 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8832 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8839 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8840 if test "x$LINE" != x ; then
8841 eval "DEFAULT_$LINE"
8844 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8849 eval "$wx_cv_use_protocol"
8850 if test "x$cache" = xyes; then
8851 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8854 if test x"$enablestring" = xdisable; then
8855 if test $wxUSE_PROTOCOL = yes; then
8861 result=$wxUSE_PROTOCOL
8864 { echo "$as_me:$LINENO: result: $result" >&5
8865 echo "${ECHO_T}$result" >&6; }
8869 defaultval=$wxUSE_ALL_FEATURES
8870 if test -z "$defaultval"; then
8871 if test x"$enablestring" = xdisable; then
8878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8880 # Check whether --enable-protocol_http was given.
8881 if test "${enable_protocol_http+set}" = set; then
8882 enableval=$enable_protocol_http;
8883 if test "$enableval" = yes; then
8884 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8886 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8893 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x ; then
8895 eval "DEFAULT_$LINE"
8898 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8903 eval "$wx_cv_use_protocol_http"
8904 if test "x$cache" = xyes; then
8905 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8908 if test x"$enablestring" = xdisable; then
8909 if test $wxUSE_PROTOCOL_HTTP = yes; then
8915 result=$wxUSE_PROTOCOL_HTTP
8918 { echo "$as_me:$LINENO: result: $result" >&5
8919 echo "${ECHO_T}$result" >&6; }
8923 defaultval=$wxUSE_ALL_FEATURES
8924 if test -z "$defaultval"; then
8925 if test x"$enablestring" = xdisable; then
8932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8934 # Check whether --enable-protocol_ftp was given.
8935 if test "${enable_protocol_ftp+set}" = set; then
8936 enableval=$enable_protocol_ftp;
8937 if test "$enableval" = yes; then
8938 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8940 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8947 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8952 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8957 eval "$wx_cv_use_protocol_ftp"
8958 if test "x$cache" = xyes; then
8959 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8962 if test x"$enablestring" = xdisable; then
8963 if test $wxUSE_PROTOCOL_FTP = yes; then
8969 result=$wxUSE_PROTOCOL_FTP
8972 { echo "$as_me:$LINENO: result: $result" >&5
8973 echo "${ECHO_T}$result" >&6; }
8977 defaultval=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x"$enablestring" = xdisable; then
8986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8988 # Check whether --enable-protocol_file was given.
8989 if test "${enable_protocol_file+set}" = set; then
8990 enableval=$enable_protocol_file;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8994 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9001 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9002 if test "x$LINE" != x ; then
9003 eval "DEFAULT_$LINE"
9006 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9011 eval "$wx_cv_use_protocol_file"
9012 if test "x$cache" = xyes; then
9013 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9016 if test x"$enablestring" = xdisable; then
9017 if test $wxUSE_PROTOCOL_FILE = yes; then
9023 result=$wxUSE_PROTOCOL_FILE
9026 { echo "$as_me:$LINENO: result: $result" >&5
9027 echo "${ECHO_T}$result" >&6; }
9032 defaultval=$wxUSE_ALL_FEATURES
9033 if test -z "$defaultval"; then
9034 if test x"$enablestring" = xdisable; then
9041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9042 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9043 # Check whether --enable-threads was given.
9044 if test "${enable_threads+set}" = set; then
9045 enableval=$enable_threads;
9046 if test "$enableval" = yes; then
9047 wx_cv_use_threads='wxUSE_THREADS=yes'
9049 wx_cv_use_threads='wxUSE_THREADS=no'
9056 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9057 if test "x$LINE" != x ; then
9058 eval "DEFAULT_$LINE"
9061 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9066 eval "$wx_cv_use_threads"
9067 if test "x$cache" = xyes; then
9068 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9071 if test x"$enablestring" = xdisable; then
9072 if test $wxUSE_THREADS = yes; then
9078 result=$wxUSE_THREADS
9081 { echo "$as_me:$LINENO: result: $result" >&5
9082 echo "${ECHO_T}$result" >&6; }
9085 if test "$wxUSE_GUI" = "yes"; then
9090 defaultval=$wxUSE_ALL_FEATURES
9091 if test -z "$defaultval"; then
9092 if test x"$enablestring" = xdisable; then
9099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9101 # Check whether --enable-docview was given.
9102 if test "${enable_docview+set}" = set; then
9103 enableval=$enable_docview;
9104 if test "$enableval" = yes; then
9105 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9107 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9114 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9119 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9124 eval "$wx_cv_use_docview"
9125 if test "x$cache" = xyes; then
9126 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9129 if test x"$enablestring" = xdisable; then
9130 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9136 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9139 { echo "$as_me:$LINENO: result: $result" >&5
9140 echo "${ECHO_T}$result" >&6; }
9144 defaultval=$wxUSE_ALL_FEATURES
9145 if test -z "$defaultval"; then
9146 if test x"$enablestring" = xdisable; then
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9155 # Check whether --enable-help was given.
9156 if test "${enable_help+set}" = set; then
9157 enableval=$enable_help;
9158 if test "$enableval" = yes; then
9159 wx_cv_use_help='wxUSE_HELP=yes'
9161 wx_cv_use_help='wxUSE_HELP=no'
9168 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9169 if test "x$LINE" != x ; then
9170 eval "DEFAULT_$LINE"
9173 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9178 eval "$wx_cv_use_help"
9179 if test "x$cache" = xyes; then
9180 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_HELP = yes; then
9193 { echo "$as_me:$LINENO: result: $result" >&5
9194 echo "${ECHO_T}$result" >&6; }
9198 defaultval=$wxUSE_ALL_FEATURES
9199 if test -z "$defaultval"; then
9200 if test x"$enablestring" = xdisable; then
9207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9208 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9209 # Check whether --enable-mshtmlhelp was given.
9210 if test "${enable_mshtmlhelp+set}" = set; then
9211 enableval=$enable_mshtmlhelp;
9212 if test "$enableval" = yes; then
9213 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9215 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9222 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9223 if test "x$LINE" != x ; then
9224 eval "DEFAULT_$LINE"
9227 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9232 eval "$wx_cv_use_mshtmlhelp"
9233 if test "x$cache" = xyes; then
9234 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9237 if test x"$enablestring" = xdisable; then
9238 if test $wxUSE_MS_HTML_HELP = yes; then
9244 result=$wxUSE_MS_HTML_HELP
9247 { echo "$as_me:$LINENO: result: $result" >&5
9248 echo "${ECHO_T}$result" >&6; }
9252 defaultval=$wxUSE_ALL_FEATURES
9253 if test -z "$defaultval"; then
9254 if test x"$enablestring" = xdisable; then
9261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9262 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9263 # Check whether --enable-html was given.
9264 if test "${enable_html+set}" = set; then
9265 enableval=$enable_html;
9266 if test "$enableval" = yes; then
9267 wx_cv_use_html='wxUSE_HTML=yes'
9269 wx_cv_use_html='wxUSE_HTML=no'
9276 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9277 if test "x$LINE" != x ; then
9278 eval "DEFAULT_$LINE"
9281 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9286 eval "$wx_cv_use_html"
9287 if test "x$cache" = xyes; then
9288 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9291 if test x"$enablestring" = xdisable; then
9292 if test $wxUSE_HTML = yes; then
9301 { echo "$as_me:$LINENO: result: $result" >&5
9302 echo "${ECHO_T}$result" >&6; }
9306 defaultval=$wxUSE_ALL_FEATURES
9307 if test -z "$defaultval"; then
9308 if test x"$enablestring" = xdisable; then
9315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9316 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9317 # Check whether --enable-htmlhelp was given.
9318 if test "${enable_htmlhelp+set}" = set; then
9319 enableval=$enable_htmlhelp;
9320 if test "$enableval" = yes; then
9321 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9323 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9330 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9331 if test "x$LINE" != x ; then
9332 eval "DEFAULT_$LINE"
9335 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9340 eval "$wx_cv_use_htmlhelp"
9341 if test "x$cache" = xyes; then
9342 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9345 if test x"$enablestring" = xdisable; then
9346 if test $wxUSE_WXHTML_HELP = yes; then
9352 result=$wxUSE_WXHTML_HELP
9355 { echo "$as_me:$LINENO: result: $result" >&5
9356 echo "${ECHO_T}$result" >&6; }
9360 defaultval=$wxUSE_ALL_FEATURES
9361 if test -z "$defaultval"; then
9362 if test x"$enablestring" = xdisable; then
9369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9370 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9371 # Check whether --enable-xrc was given.
9372 if test "${enable_xrc+set}" = set; then
9373 enableval=$enable_xrc;
9374 if test "$enableval" = yes; then
9375 wx_cv_use_xrc='wxUSE_XRC=yes'
9377 wx_cv_use_xrc='wxUSE_XRC=no'
9384 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9385 if test "x$LINE" != x ; then
9386 eval "DEFAULT_$LINE"
9389 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9394 eval "$wx_cv_use_xrc"
9395 if test "x$cache" = xyes; then
9396 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9399 if test x"$enablestring" = xdisable; then
9400 if test $wxUSE_XRC = yes; then
9409 { echo "$as_me:$LINENO: result: $result" >&5
9410 echo "${ECHO_T}$result" >&6; }
9414 defaultval=$wxUSE_ALL_FEATURES
9415 if test -z "$defaultval"; then
9416 if test x"$enablestring" = xdisable; then
9423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9424 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9425 # Check whether --enable-aui was given.
9426 if test "${enable_aui+set}" = set; then
9427 enableval=$enable_aui;
9428 if test "$enableval" = yes; then
9429 wx_cv_use_aui='wxUSE_AUI=yes'
9431 wx_cv_use_aui='wxUSE_AUI=no'
9438 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9439 if test "x$LINE" != x ; then
9440 eval "DEFAULT_$LINE"
9443 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9448 eval "$wx_cv_use_aui"
9449 if test "x$cache" = xyes; then
9450 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9453 if test x"$enablestring" = xdisable; then
9454 if test $wxUSE_AUI = yes; then
9463 { echo "$as_me:$LINENO: result: $result" >&5
9464 echo "${ECHO_T}$result" >&6; }
9468 defaultval=$wxUSE_ALL_FEATURES
9469 if test -z "$defaultval"; then
9470 if test x"$enablestring" = xdisable; then
9477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9478 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9479 # Check whether --enable-stc was given.
9480 if test "${enable_stc+set}" = set; then
9481 enableval=$enable_stc;
9482 if test "$enableval" = yes; then
9483 wx_cv_use_stc='wxUSE_STC=yes'
9485 wx_cv_use_stc='wxUSE_STC=no'
9492 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9493 if test "x$LINE" != x ; then
9494 eval "DEFAULT_$LINE"
9497 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9502 eval "$wx_cv_use_stc"
9503 if test "x$cache" = xyes; then
9504 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9507 if test x"$enablestring" = xdisable; then
9508 if test $wxUSE_STC = yes; then
9517 { echo "$as_me:$LINENO: result: $result" >&5
9518 echo "${ECHO_T}$result" >&6; }
9522 defaultval=$wxUSE_ALL_FEATURES
9523 if test -z "$defaultval"; then
9524 if test x"$enablestring" = xdisable; then
9531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9532 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9533 # Check whether --enable-constraints was given.
9534 if test "${enable_constraints+set}" = set; then
9535 enableval=$enable_constraints;
9536 if test "$enableval" = yes; then
9537 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9539 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9546 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9547 if test "x$LINE" != x ; then
9548 eval "DEFAULT_$LINE"
9551 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9556 eval "$wx_cv_use_constraints"
9557 if test "x$cache" = xyes; then
9558 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9561 if test x"$enablestring" = xdisable; then
9562 if test $wxUSE_CONSTRAINTS = yes; then
9568 result=$wxUSE_CONSTRAINTS
9571 { echo "$as_me:$LINENO: result: $result" >&5
9572 echo "${ECHO_T}$result" >&6; }
9576 defaultval=$wxUSE_ALL_FEATURES
9577 if test -z "$defaultval"; then
9578 if test x"$enablestring" = xdisable; then
9585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9587 # Check whether --enable-printarch was given.
9588 if test "${enable_printarch+set}" = set; then
9589 enableval=$enable_printarch;
9590 if test "$enableval" = yes; then
9591 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9593 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9600 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9601 if test "x$LINE" != x ; then
9602 eval "DEFAULT_$LINE"
9605 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9610 eval "$wx_cv_use_printarch"
9611 if test "x$cache" = xyes; then
9612 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9615 if test x"$enablestring" = xdisable; then
9616 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9622 result=$wxUSE_PRINTING_ARCHITECTURE
9625 { echo "$as_me:$LINENO: result: $result" >&5
9626 echo "${ECHO_T}$result" >&6; }
9630 defaultval=$wxUSE_ALL_FEATURES
9631 if test -z "$defaultval"; then
9632 if test x"$enablestring" = xdisable; then
9639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9641 # Check whether --enable-mdi was given.
9642 if test "${enable_mdi+set}" = set; then
9643 enableval=$enable_mdi;
9644 if test "$enableval" = yes; then
9645 wx_cv_use_mdi='wxUSE_MDI=yes'
9647 wx_cv_use_mdi='wxUSE_MDI=no'
9654 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x ; then
9656 eval "DEFAULT_$LINE"
9659 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9664 eval "$wx_cv_use_mdi"
9665 if test "x$cache" = xyes; then
9666 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9669 if test x"$enablestring" = xdisable; then
9670 if test $wxUSE_MDI = yes; then
9679 { echo "$as_me:$LINENO: result: $result" >&5
9680 echo "${ECHO_T}$result" >&6; }
9684 defaultval=$wxUSE_ALL_FEATURES
9685 if test -z "$defaultval"; then
9686 if test x"$enablestring" = xdisable; then
9693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9695 # Check whether --enable-mdidoc was given.
9696 if test "${enable_mdidoc+set}" = set; then
9697 enableval=$enable_mdidoc;
9698 if test "$enableval" = yes; then
9699 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9701 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9708 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9709 if test "x$LINE" != x ; then
9710 eval "DEFAULT_$LINE"
9713 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9718 eval "$wx_cv_use_mdidoc"
9719 if test "x$cache" = xyes; then
9720 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9723 if test x"$enablestring" = xdisable; then
9724 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9730 result=$wxUSE_MDI_ARCHITECTURE
9733 { echo "$as_me:$LINENO: result: $result" >&5
9734 echo "${ECHO_T}$result" >&6; }
9738 defaultval=$wxUSE_ALL_FEATURES
9739 if test -z "$defaultval"; then
9740 if test x"$enablestring" = xdisable; then
9747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9748 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9749 # Check whether --enable-loggui was given.
9750 if test "${enable_loggui+set}" = set; then
9751 enableval=$enable_loggui;
9752 if test "$enableval" = yes; then
9753 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9755 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9762 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9763 if test "x$LINE" != x ; then
9764 eval "DEFAULT_$LINE"
9767 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9772 eval "$wx_cv_use_loggui"
9773 if test "x$cache" = xyes; then
9774 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9777 if test x"$enablestring" = xdisable; then
9778 if test $wxUSE_LOGGUI = yes; then
9784 result=$wxUSE_LOGGUI
9787 { echo "$as_me:$LINENO: result: $result" >&5
9788 echo "${ECHO_T}$result" >&6; }
9792 defaultval=$wxUSE_ALL_FEATURES
9793 if test -z "$defaultval"; then
9794 if test x"$enablestring" = xdisable; then
9801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9803 # Check whether --enable-logwin was given.
9804 if test "${enable_logwin+set}" = set; then
9805 enableval=$enable_logwin;
9806 if test "$enableval" = yes; then
9807 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9809 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9816 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9817 if test "x$LINE" != x ; then
9818 eval "DEFAULT_$LINE"
9821 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9826 eval "$wx_cv_use_logwin"
9827 if test "x$cache" = xyes; then
9828 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9831 if test x"$enablestring" = xdisable; then
9832 if test $wxUSE_LOGWINDOW = yes; then
9838 result=$wxUSE_LOGWINDOW
9841 { echo "$as_me:$LINENO: result: $result" >&5
9842 echo "${ECHO_T}$result" >&6; }
9846 defaultval=$wxUSE_ALL_FEATURES
9847 if test -z "$defaultval"; then
9848 if test x"$enablestring" = xdisable; then
9855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9857 # Check whether --enable-logdialog was given.
9858 if test "${enable_logdialog+set}" = set; then
9859 enableval=$enable_logdialog;
9860 if test "$enableval" = yes; then
9861 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9863 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9870 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9871 if test "x$LINE" != x ; then
9872 eval "DEFAULT_$LINE"
9875 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9880 eval "$wx_cv_use_logdialog"
9881 if test "x$cache" = xyes; then
9882 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9885 if test x"$enablestring" = xdisable; then
9886 if test $wxUSE_LOGDIALOG = yes; then
9892 result=$wxUSE_LOGDIALOG
9895 { echo "$as_me:$LINENO: result: $result" >&5
9896 echo "${ECHO_T}$result" >&6; }
9900 defaultval=$wxUSE_ALL_FEATURES
9901 if test -z "$defaultval"; then
9902 if test x"$enablestring" = xdisable; then
9909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9910 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9911 # Check whether --enable-webkit was given.
9912 if test "${enable_webkit+set}" = set; then
9913 enableval=$enable_webkit;
9914 if test "$enableval" = yes; then
9915 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9917 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9924 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9925 if test "x$LINE" != x ; then
9926 eval "DEFAULT_$LINE"
9929 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9934 eval "$wx_cv_use_webkit"
9935 if test "x$cache" = xyes; then
9936 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9939 if test x"$enablestring" = xdisable; then
9940 if test $wxUSE_WEBKIT = yes; then
9946 result=$wxUSE_WEBKIT
9949 { echo "$as_me:$LINENO: result: $result" >&5
9950 echo "${ECHO_T}$result" >&6; }
9954 defaultval=$wxUSE_ALL_FEATURES
9955 if test -z "$defaultval"; then
9956 if test x"$enablestring" = xdisable; then
9963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9964 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9965 # Check whether --enable-richtext was given.
9966 if test "${enable_richtext+set}" = set; then
9967 enableval=$enable_richtext;
9968 if test "$enableval" = yes; then
9969 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9971 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9978 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9979 if test "x$LINE" != x ; then
9980 eval "DEFAULT_$LINE"
9983 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9988 eval "$wx_cv_use_richtext"
9989 if test "x$cache" = xyes; then
9990 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9993 if test x"$enablestring" = xdisable; then
9994 if test $wxUSE_RICHTEXT = yes; then
10000 result=$wxUSE_RICHTEXT
10003 { echo "$as_me:$LINENO: result: $result" >&5
10004 echo "${ECHO_T}$result" >&6; }
10008 defaultval=$wxUSE_ALL_FEATURES
10009 if test -z "$defaultval"; then
10010 if test x"$enablestring" = xdisable; then
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10019 # Check whether --enable-graphics_ctx was given.
10020 if test "${enable_graphics_ctx+set}" = set; then
10021 enableval=$enable_graphics_ctx;
10022 if test "$enableval" = yes; then
10023 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10025 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10032 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10033 if test "x$LINE" != x ; then
10034 eval "DEFAULT_$LINE"
10037 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10042 eval "$wx_cv_use_graphics_ctx"
10043 if test "x$cache" = xyes; then
10044 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10047 if test x"$enablestring" = xdisable; then
10048 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10054 result=$wxUSE_GRAPHICS_CONTEXT
10057 { echo "$as_me:$LINENO: result: $result" >&5
10058 echo "${ECHO_T}$result" >&6; }
10062 defaultval=$wxUSE_ALL_FEATURES
10063 if test -z "$defaultval"; then
10064 if test x"$enablestring" = xdisable; then
10071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10073 # Check whether --enable-postscript was given.
10074 if test "${enable_postscript+set}" = set; then
10075 enableval=$enable_postscript;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10079 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10086 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x ; then
10088 eval "DEFAULT_$LINE"
10091 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10096 eval "$wx_cv_use_postscript"
10097 if test "x$cache" = xyes; then
10098 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10101 if test x"$enablestring" = xdisable; then
10102 if test $wxUSE_POSTSCRIPT = yes; then
10108 result=$wxUSE_POSTSCRIPT
10111 { echo "$as_me:$LINENO: result: $result" >&5
10112 echo "${ECHO_T}$result" >&6; }
10116 defaultval=$wxUSE_ALL_FEATURES
10117 if test -z "$defaultval"; then
10118 if test x"$enablestring" = xdisable; then
10125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10126 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10127 # Check whether --enable-svg was given.
10128 if test "${enable_svg+set}" = set; then
10129 enableval=$enable_svg;
10130 if test "$enableval" = yes; then
10131 wx_cv_use_svg='wxUSE_SVG=yes'
10133 wx_cv_use_svg='wxUSE_SVG=no'
10140 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10141 if test "x$LINE" != x ; then
10142 eval "DEFAULT_$LINE"
10145 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10150 eval "$wx_cv_use_svg"
10151 if test "x$cache" = xyes; then
10152 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10155 if test x"$enablestring" = xdisable; then
10156 if test $wxUSE_SVG = yes; then
10165 { echo "$as_me:$LINENO: result: $result" >&5
10166 echo "${ECHO_T}$result" >&6; }
10172 defaultval=$wxUSE_ALL_FEATURES
10173 if test -z "$defaultval"; then
10174 if test x"$enablestring" = xdisable; then
10181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10182 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10183 # Check whether --enable-clipboard was given.
10184 if test "${enable_clipboard+set}" = set; then
10185 enableval=$enable_clipboard;
10186 if test "$enableval" = yes; then
10187 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10189 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10196 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10197 if test "x$LINE" != x ; then
10198 eval "DEFAULT_$LINE"
10201 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10206 eval "$wx_cv_use_clipboard"
10207 if test "x$cache" = xyes; then
10208 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10211 if test x"$enablestring" = xdisable; then
10212 if test $wxUSE_CLIPBOARD = yes; then
10218 result=$wxUSE_CLIPBOARD
10221 { echo "$as_me:$LINENO: result: $result" >&5
10222 echo "${ECHO_T}$result" >&6; }
10226 defaultval=$wxUSE_ALL_FEATURES
10227 if test -z "$defaultval"; then
10228 if test x"$enablestring" = xdisable; then
10235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10237 # Check whether --enable-dnd was given.
10238 if test "${enable_dnd+set}" = set; then
10239 enableval=$enable_dnd;
10240 if test "$enableval" = yes; then
10241 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10243 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10250 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10251 if test "x$LINE" != x ; then
10252 eval "DEFAULT_$LINE"
10255 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10260 eval "$wx_cv_use_dnd"
10261 if test "x$cache" = xyes; then
10262 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10265 if test x"$enablestring" = xdisable; then
10266 if test $wxUSE_DRAG_AND_DROP = yes; then
10272 result=$wxUSE_DRAG_AND_DROP
10275 { echo "$as_me:$LINENO: result: $result" >&5
10276 echo "${ECHO_T}$result" >&6; }
10280 defaultval=$wxUSE_ALL_FEATURES
10281 if test -z "$defaultval"; then
10282 if test x"$enablestring" = xdisable; then
10289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10290 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10291 # Check whether --enable-metafile was given.
10292 if test "${enable_metafile+set}" = set; then
10293 enableval=$enable_metafile;
10294 if test "$enableval" = yes; then
10295 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10297 wx_cv_use_metafile='wxUSE_METAFILE=no'
10304 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10305 if test "x$LINE" != x ; then
10306 eval "DEFAULT_$LINE"
10309 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10314 eval "$wx_cv_use_metafile"
10315 if test "x$cache" = xyes; then
10316 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10319 if test x"$enablestring" = xdisable; then
10320 if test $wxUSE_METAFILE = yes; then
10326 result=$wxUSE_METAFILE
10329 { echo "$as_me:$LINENO: result: $result" >&5
10330 echo "${ECHO_T}$result" >&6; }
10334 DEFAULT_wxUSE_CONTROLS=none
10336 enablestring=disable
10338 if test -z "$defaultval"; then
10339 if test x"$enablestring" = xdisable; then
10346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10347 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10348 # Check whether --enable-controls was given.
10349 if test "${enable_controls+set}" = set; then
10350 enableval=$enable_controls;
10351 if test "$enableval" = yes; then
10352 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10354 wx_cv_use_controls='wxUSE_CONTROLS=no'
10361 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10362 if test "x$LINE" != x ; then
10363 eval "DEFAULT_$LINE"
10366 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10371 eval "$wx_cv_use_controls"
10372 if test "x$cache" = xyes; then
10373 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10376 if test x"$enablestring" = xdisable; then
10377 if test $wxUSE_CONTROLS = yes; then
10383 result=$wxUSE_CONTROLS
10386 { echo "$as_me:$LINENO: result: $result" >&5
10387 echo "${ECHO_T}$result" >&6; }
10390 if test "$wxUSE_CONTROLS" = "yes"; then
10391 DEFAULT_wxUSE_ACCEL=yes
10392 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10393 DEFAULT_wxUSE_BMPBUTTON=yes
10394 DEFAULT_wxUSE_BUTTON=yes
10395 DEFAULT_wxUSE_CALCTRL=yes
10396 DEFAULT_wxUSE_CARET=yes
10397 DEFAULT_wxUSE_COMBOBOX=yes
10398 DEFAULT_wxUSE_CHECKBOX=yes
10399 DEFAULT_wxUSE_CHECKLISTBOX=yes
10400 DEFAULT_wxUSE_CHOICE=yes
10401 DEFAULT_wxUSE_CHOICEBOOK=yes
10402 DEFAULT_wxUSE_COLLPANE=yes
10403 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10404 DEFAULT_wxUSE_COMBOBOX=yes
10405 DEFAULT_wxUSE_DATEPICKCTRL=yes
10406 DEFAULT_wxUSE_DISPLAY=yes
10407 DEFAULT_wxUSE_DETECT_SM=yes
10408 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10409 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10410 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10411 DEFAULT_wxUSE_GAUGE=yes
10412 DEFAULT_wxUSE_GRID=yes
10413 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10414 DEFAULT_wxUSE_DATAVIEWCTRL=no
10415 DEFAULT_wxUSE_IMAGLIST=yes
10416 DEFAULT_wxUSE_LISTBOOK=yes
10417 DEFAULT_wxUSE_LISTBOX=yes
10418 DEFAULT_wxUSE_LISTCTRL=yes
10419 DEFAULT_wxUSE_NOTEBOOK=yes
10420 DEFAULT_wxUSE_RADIOBOX=yes
10421 DEFAULT_wxUSE_RADIOBTN=yes
10422 DEFAULT_wxUSE_SASH=yes
10423 DEFAULT_wxUSE_SCROLLBAR=yes
10424 DEFAULT_wxUSE_SEARCHCTRL=yes
10425 DEFAULT_wxUSE_SLIDER=yes
10426 DEFAULT_wxUSE_SPINBTN=yes
10427 DEFAULT_wxUSE_SPINCTRL=yes
10428 DEFAULT_wxUSE_SPLITTER=yes
10429 DEFAULT_wxUSE_STATBMP=yes
10430 DEFAULT_wxUSE_STATBOX=yes
10431 DEFAULT_wxUSE_STATLINE=yes
10432 DEFAULT_wxUSE_STATUSBAR=yes
10433 DEFAULT_wxUSE_TAB_DIALOG=yes
10434 DEFAULT_wxUSE_TOGGLEBTN=yes
10435 DEFAULT_wxUSE_TOOLBAR=yes
10436 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10437 DEFAULT_wxUSE_TOOLTIPS=yes
10438 DEFAULT_wxUSE_TREEBOOK=yes
10439 DEFAULT_wxUSE_TOOLBOOK=yes
10440 DEFAULT_wxUSE_TREECTRL=yes
10441 DEFAULT_wxUSE_POPUPWIN=yes
10442 DEFAULT_wxUSE_TIPWINDOW=yes
10443 elif test "$wxUSE_CONTROLS" = "no"; then
10444 DEFAULT_wxUSE_ACCEL=no
10445 DEFAULT_wxUSE_ANIMATIONCTRL=no
10446 DEFAULT_wxUSE_BMPBUTTON=no
10447 DEFAULT_wxUSE_BUTTON=no
10448 DEFAULT_wxUSE_CALCTRL=no
10449 DEFAULT_wxUSE_CARET=no
10450 DEFAULT_wxUSE_COLLPANE=no
10451 DEFAULT_wxUSE_COMBOBOX=no
10452 DEFAULT_wxUSE_CHECKBOX=no
10453 DEFAULT_wxUSE_CHECKLISTBOX=no
10454 DEFAULT_wxUSE_CHOICE=no
10455 DEFAULT_wxUSE_CHOICEBOOK=no
10456 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10457 DEFAULT_wxUSE_COMBOBOX=no
10458 DEFAULT_wxUSE_DATEPICKCTRL=no
10459 DEFAULT_wxUSE_DISPLAY=no
10460 DEFAULT_wxUSE_DETECT_SM=no
10461 DEFAULT_wxUSE_DIRPICKERCTRL=no
10462 DEFAULT_wxUSE_FILEPICKERCTRL=no
10463 DEFAULT_wxUSE_FONTPICKERCTRL=no
10464 DEFAULT_wxUSE_GAUGE=no
10465 DEFAULT_wxUSE_GRID=no
10466 DEFAULT_wxUSE_HYPERLINKCTRL=no
10467 DEFAULT_wxUSE_DATAVIEWCTRL=no
10468 DEFAULT_wxUSE_IMAGLIST=no
10469 DEFAULT_wxUSE_LISTBOOK=no
10470 DEFAULT_wxUSE_LISTBOX=no
10471 DEFAULT_wxUSE_LISTCTRL=no
10472 DEFAULT_wxUSE_NOTEBOOK=no
10473 DEFAULT_wxUSE_RADIOBOX=no
10474 DEFAULT_wxUSE_RADIOBTN=no
10475 DEFAULT_wxUSE_SASH=no
10476 DEFAULT_wxUSE_SCROLLBAR=no
10477 DEFAULT_wxUSE_SEARCHCTRL=no
10478 DEFAULT_wxUSE_SLIDER=no
10479 DEFAULT_wxUSE_SPINBTN=no
10480 DEFAULT_wxUSE_SPINCTRL=no
10481 DEFAULT_wxUSE_SPLITTER=no
10482 DEFAULT_wxUSE_STATBMP=no
10483 DEFAULT_wxUSE_STATBOX=no
10484 DEFAULT_wxUSE_STATLINE=no
10485 DEFAULT_wxUSE_STATUSBAR=no
10486 DEFAULT_wxUSE_TAB_DIALOG=no
10487 DEFAULT_wxUSE_TOGGLEBTN=no
10488 DEFAULT_wxUSE_TOOLBAR=no
10489 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10490 DEFAULT_wxUSE_TOOLTIPS=no
10491 DEFAULT_wxUSE_TREEBOOK=no
10492 DEFAULT_wxUSE_TOOLBOOK=no
10493 DEFAULT_wxUSE_TREECTRL=no
10494 DEFAULT_wxUSE_POPUPWIN=no
10495 DEFAULT_wxUSE_TIPWINDOW=no
10500 defaultval=$wxUSE_ALL_FEATURES
10501 if test -z "$defaultval"; then
10502 if test x"$enablestring" = xdisable; then
10509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10510 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10511 # Check whether --enable-accel was given.
10512 if test "${enable_accel+set}" = set; then
10513 enableval=$enable_accel;
10514 if test "$enableval" = yes; then
10515 wx_cv_use_accel='wxUSE_ACCEL=yes'
10517 wx_cv_use_accel='wxUSE_ACCEL=no'
10524 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10525 if test "x$LINE" != x ; then
10526 eval "DEFAULT_$LINE"
10529 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10534 eval "$wx_cv_use_accel"
10535 if test "x$cache" = xyes; then
10536 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10539 if test x"$enablestring" = xdisable; then
10540 if test $wxUSE_ACCEL = yes; then
10546 result=$wxUSE_ACCEL
10549 { echo "$as_me:$LINENO: result: $result" >&5
10550 echo "${ECHO_T}$result" >&6; }
10554 defaultval=$wxUSE_ALL_FEATURES
10555 if test -z "$defaultval"; then
10556 if test x"$enablestring" = xdisable; then
10563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10564 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10565 # Check whether --enable-animatectrl was given.
10566 if test "${enable_animatectrl+set}" = set; then
10567 enableval=$enable_animatectrl;
10568 if test "$enableval" = yes; then
10569 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10571 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10578 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x ; then
10580 eval "DEFAULT_$LINE"
10583 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10588 eval "$wx_cv_use_animatectrl"
10589 if test "x$cache" = xyes; then
10590 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10593 if test x"$enablestring" = xdisable; then
10594 if test $wxUSE_ANIMATIONCTRL = yes; then
10600 result=$wxUSE_ANIMATIONCTRL
10603 { echo "$as_me:$LINENO: result: $result" >&5
10604 echo "${ECHO_T}$result" >&6; }
10608 defaultval=$wxUSE_ALL_FEATURES
10609 if test -z "$defaultval"; then
10610 if test x"$enablestring" = xdisable; then
10617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10618 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10619 # Check whether --enable-button was given.
10620 if test "${enable_button+set}" = set; then
10621 enableval=$enable_button;
10622 if test "$enableval" = yes; then
10623 wx_cv_use_button='wxUSE_BUTTON=yes'
10625 wx_cv_use_button='wxUSE_BUTTON=no'
10632 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10633 if test "x$LINE" != x ; then
10634 eval "DEFAULT_$LINE"
10637 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10642 eval "$wx_cv_use_button"
10643 if test "x$cache" = xyes; then
10644 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10647 if test x"$enablestring" = xdisable; then
10648 if test $wxUSE_BUTTON = yes; then
10654 result=$wxUSE_BUTTON
10657 { echo "$as_me:$LINENO: result: $result" >&5
10658 echo "${ECHO_T}$result" >&6; }
10662 defaultval=$wxUSE_ALL_FEATURES
10663 if test -z "$defaultval"; then
10664 if test x"$enablestring" = xdisable; then
10671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10672 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10673 # Check whether --enable-bmpbutton was given.
10674 if test "${enable_bmpbutton+set}" = set; then
10675 enableval=$enable_bmpbutton;
10676 if test "$enableval" = yes; then
10677 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10679 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10686 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10687 if test "x$LINE" != x ; then
10688 eval "DEFAULT_$LINE"
10691 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10696 eval "$wx_cv_use_bmpbutton"
10697 if test "x$cache" = xyes; then
10698 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10701 if test x"$enablestring" = xdisable; then
10702 if test $wxUSE_BMPBUTTON = yes; then
10708 result=$wxUSE_BMPBUTTON
10711 { echo "$as_me:$LINENO: result: $result" >&5
10712 echo "${ECHO_T}$result" >&6; }
10716 defaultval=$wxUSE_ALL_FEATURES
10717 if test -z "$defaultval"; then
10718 if test x"$enablestring" = xdisable; then
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10727 # Check whether --enable-bmpcombobox was given.
10728 if test "${enable_bmpcombobox+set}" = set; then
10729 enableval=$enable_bmpcombobox;
10730 if test "$enableval" = yes; then
10731 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10733 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10740 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10741 if test "x$LINE" != x ; then
10742 eval "DEFAULT_$LINE"
10745 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10750 eval "$wx_cv_use_bmpcombobox"
10751 if test "x$cache" = xyes; then
10752 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10755 if test x"$enablestring" = xdisable; then
10756 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10762 result=$wxUSE_BITMAPCOMBOBOX
10765 { echo "$as_me:$LINENO: result: $result" >&5
10766 echo "${ECHO_T}$result" >&6; }
10770 defaultval=$wxUSE_ALL_FEATURES
10771 if test -z "$defaultval"; then
10772 if test x"$enablestring" = xdisable; then
10779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10781 # Check whether --enable-calendar was given.
10782 if test "${enable_calendar+set}" = set; then
10783 enableval=$enable_calendar;
10784 if test "$enableval" = yes; then
10785 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10787 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10794 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10795 if test "x$LINE" != x ; then
10796 eval "DEFAULT_$LINE"
10799 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10804 eval "$wx_cv_use_calendar"
10805 if test "x$cache" = xyes; then
10806 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10809 if test x"$enablestring" = xdisable; then
10810 if test $wxUSE_CALCTRL = yes; then
10816 result=$wxUSE_CALCTRL
10819 { echo "$as_me:$LINENO: result: $result" >&5
10820 echo "${ECHO_T}$result" >&6; }
10824 defaultval=$wxUSE_ALL_FEATURES
10825 if test -z "$defaultval"; then
10826 if test x"$enablestring" = xdisable; then
10833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10834 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10835 # Check whether --enable-caret was given.
10836 if test "${enable_caret+set}" = set; then
10837 enableval=$enable_caret;
10838 if test "$enableval" = yes; then
10839 wx_cv_use_caret='wxUSE_CARET=yes'
10841 wx_cv_use_caret='wxUSE_CARET=no'
10848 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10849 if test "x$LINE" != x ; then
10850 eval "DEFAULT_$LINE"
10853 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10858 eval "$wx_cv_use_caret"
10859 if test "x$cache" = xyes; then
10860 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10863 if test x"$enablestring" = xdisable; then
10864 if test $wxUSE_CARET = yes; then
10870 result=$wxUSE_CARET
10873 { echo "$as_me:$LINENO: result: $result" >&5
10874 echo "${ECHO_T}$result" >&6; }
10878 defaultval=$wxUSE_ALL_FEATURES
10879 if test -z "$defaultval"; then
10880 if test x"$enablestring" = xdisable; then
10887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10888 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10889 # Check whether --enable-checkbox was given.
10890 if test "${enable_checkbox+set}" = set; then
10891 enableval=$enable_checkbox;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10895 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10902 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10903 if test "x$LINE" != x ; then
10904 eval "DEFAULT_$LINE"
10907 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10912 eval "$wx_cv_use_checkbox"
10913 if test "x$cache" = xyes; then
10914 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10917 if test x"$enablestring" = xdisable; then
10918 if test $wxUSE_CHECKBOX = yes; then
10924 result=$wxUSE_CHECKBOX
10927 { echo "$as_me:$LINENO: result: $result" >&5
10928 echo "${ECHO_T}$result" >&6; }
10932 defaultval=$wxUSE_ALL_FEATURES
10933 if test -z "$defaultval"; then
10934 if test x"$enablestring" = xdisable; then
10941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10942 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10943 # Check whether --enable-checklst was given.
10944 if test "${enable_checklst+set}" = set; then
10945 enableval=$enable_checklst;
10946 if test "$enableval" = yes; then
10947 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10949 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10956 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10957 if test "x$LINE" != x ; then
10958 eval "DEFAULT_$LINE"
10961 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10966 eval "$wx_cv_use_checklst"
10967 if test "x$cache" = xyes; then
10968 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10971 if test x"$enablestring" = xdisable; then
10972 if test $wxUSE_CHECKLST = yes; then
10978 result=$wxUSE_CHECKLST
10981 { echo "$as_me:$LINENO: result: $result" >&5
10982 echo "${ECHO_T}$result" >&6; }
10986 defaultval=$wxUSE_ALL_FEATURES
10987 if test -z "$defaultval"; then
10988 if test x"$enablestring" = xdisable; then
10995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10996 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10997 # Check whether --enable-choice was given.
10998 if test "${enable_choice+set}" = set; then
10999 enableval=$enable_choice;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_choice='wxUSE_CHOICE=yes'
11003 wx_cv_use_choice='wxUSE_CHOICE=no'
11010 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11011 if test "x$LINE" != x ; then
11012 eval "DEFAULT_$LINE"
11015 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11020 eval "$wx_cv_use_choice"
11021 if test "x$cache" = xyes; then
11022 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11025 if test x"$enablestring" = xdisable; then
11026 if test $wxUSE_CHOICE = yes; then
11032 result=$wxUSE_CHOICE
11035 { echo "$as_me:$LINENO: result: $result" >&5
11036 echo "${ECHO_T}$result" >&6; }
11040 defaultval=$wxUSE_ALL_FEATURES
11041 if test -z "$defaultval"; then
11042 if test x"$enablestring" = xdisable; then
11049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11050 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11051 # Check whether --enable-choicebook was given.
11052 if test "${enable_choicebook+set}" = set; then
11053 enableval=$enable_choicebook;
11054 if test "$enableval" = yes; then
11055 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11057 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11064 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11065 if test "x$LINE" != x ; then
11066 eval "DEFAULT_$LINE"
11069 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11074 eval "$wx_cv_use_choicebook"
11075 if test "x$cache" = xyes; then
11076 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11079 if test x"$enablestring" = xdisable; then
11080 if test $wxUSE_CHOICEBOOK = yes; then
11086 result=$wxUSE_CHOICEBOOK
11089 { echo "$as_me:$LINENO: result: $result" >&5
11090 echo "${ECHO_T}$result" >&6; }
11094 defaultval=$wxUSE_ALL_FEATURES
11095 if test -z "$defaultval"; then
11096 if test x"$enablestring" = xdisable; then
11103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11104 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11105 # Check whether --enable-collpane was given.
11106 if test "${enable_collpane+set}" = set; then
11107 enableval=$enable_collpane;
11108 if test "$enableval" = yes; then
11109 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11111 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11118 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11119 if test "x$LINE" != x ; then
11120 eval "DEFAULT_$LINE"
11123 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11128 eval "$wx_cv_use_collpane"
11129 if test "x$cache" = xyes; then
11130 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11133 if test x"$enablestring" = xdisable; then
11134 if test $wxUSE_COLLPANE = yes; then
11140 result=$wxUSE_COLLPANE
11143 { echo "$as_me:$LINENO: result: $result" >&5
11144 echo "${ECHO_T}$result" >&6; }
11148 defaultval=$wxUSE_ALL_FEATURES
11149 if test -z "$defaultval"; then
11150 if test x"$enablestring" = xdisable; then
11157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11158 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11159 # Check whether --enable-colourpicker was given.
11160 if test "${enable_colourpicker+set}" = set; then
11161 enableval=$enable_colourpicker;
11162 if test "$enableval" = yes; then
11163 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11165 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11172 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11173 if test "x$LINE" != x ; then
11174 eval "DEFAULT_$LINE"
11177 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11182 eval "$wx_cv_use_colourpicker"
11183 if test "x$cache" = xyes; then
11184 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_COLOURPICKERCTRL = yes; then
11194 result=$wxUSE_COLOURPICKERCTRL
11197 { echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6; }
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11213 # Check whether --enable-combobox was given.
11214 if test "${enable_combobox+set}" = set; then
11215 enableval=$enable_combobox;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11219 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11226 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11227 if test "x$LINE" != x ; then
11228 eval "DEFAULT_$LINE"
11231 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11236 eval "$wx_cv_use_combobox"
11237 if test "x$cache" = xyes; then
11238 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11241 if test x"$enablestring" = xdisable; then
11242 if test $wxUSE_COMBOBOX = yes; then
11248 result=$wxUSE_COMBOBOX
11251 { echo "$as_me:$LINENO: result: $result" >&5
11252 echo "${ECHO_T}$result" >&6; }
11256 defaultval=$wxUSE_ALL_FEATURES
11257 if test -z "$defaultval"; then
11258 if test x"$enablestring" = xdisable; then
11265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11266 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11267 # Check whether --enable-comboctrl was given.
11268 if test "${enable_comboctrl+set}" = set; then
11269 enableval=$enable_comboctrl;
11270 if test "$enableval" = yes; then
11271 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11273 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11280 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11281 if test "x$LINE" != x ; then
11282 eval "DEFAULT_$LINE"
11285 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11290 eval "$wx_cv_use_comboctrl"
11291 if test "x$cache" = xyes; then
11292 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11295 if test x"$enablestring" = xdisable; then
11296 if test $wxUSE_COMBOCTRL = yes; then
11302 result=$wxUSE_COMBOCTRL
11305 { echo "$as_me:$LINENO: result: $result" >&5
11306 echo "${ECHO_T}$result" >&6; }
11310 defaultval=$wxUSE_ALL_FEATURES
11311 if test -z "$defaultval"; then
11312 if test x"$enablestring" = xdisable; then
11319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11320 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11321 # Check whether --enable-datepick was given.
11322 if test "${enable_datepick+set}" = set; then
11323 enableval=$enable_datepick;
11324 if test "$enableval" = yes; then
11325 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11327 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11334 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11335 if test "x$LINE" != x ; then
11336 eval "DEFAULT_$LINE"
11339 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11344 eval "$wx_cv_use_datepick"
11345 if test "x$cache" = xyes; then
11346 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11349 if test x"$enablestring" = xdisable; then
11350 if test $wxUSE_DATEPICKCTRL = yes; then
11356 result=$wxUSE_DATEPICKCTRL
11359 { echo "$as_me:$LINENO: result: $result" >&5
11360 echo "${ECHO_T}$result" >&6; }
11364 defaultval=$wxUSE_ALL_FEATURES
11365 if test -z "$defaultval"; then
11366 if test x"$enablestring" = xdisable; then
11373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11374 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11375 # Check whether --enable-dirpicker was given.
11376 if test "${enable_dirpicker+set}" = set; then
11377 enableval=$enable_dirpicker;
11378 if test "$enableval" = yes; then
11379 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11381 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11388 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11389 if test "x$LINE" != x ; then
11390 eval "DEFAULT_$LINE"
11393 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11398 eval "$wx_cv_use_dirpicker"
11399 if test "x$cache" = xyes; then
11400 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_DIRPICKERCTRL = yes; then
11410 result=$wxUSE_DIRPICKERCTRL
11413 { echo "$as_me:$LINENO: result: $result" >&5
11414 echo "${ECHO_T}$result" >&6; }
11418 defaultval=$wxUSE_ALL_FEATURES
11419 if test -z "$defaultval"; then
11420 if test x"$enablestring" = xdisable; then
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11429 # Check whether --enable-display was given.
11430 if test "${enable_display+set}" = set; then
11431 enableval=$enable_display;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_display='wxUSE_DISPLAY=yes'
11435 wx_cv_use_display='wxUSE_DISPLAY=no'
11442 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11443 if test "x$LINE" != x ; then
11444 eval "DEFAULT_$LINE"
11447 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11452 eval "$wx_cv_use_display"
11453 if test "x$cache" = xyes; then
11454 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11457 if test x"$enablestring" = xdisable; then
11458 if test $wxUSE_DISPLAY = yes; then
11464 result=$wxUSE_DISPLAY
11467 { echo "$as_me:$LINENO: result: $result" >&5
11468 echo "${ECHO_T}$result" >&6; }
11472 defaultval=$wxUSE_ALL_FEATURES
11473 if test -z "$defaultval"; then
11474 if test x"$enablestring" = xdisable; then
11481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11482 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11483 # Check whether --enable-detect_sm was given.
11484 if test "${enable_detect_sm+set}" = set; then
11485 enableval=$enable_detect_sm;
11486 if test "$enableval" = yes; then
11487 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11489 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11496 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11497 if test "x$LINE" != x ; then
11498 eval "DEFAULT_$LINE"
11501 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11506 eval "$wx_cv_use_detect_sm"
11507 if test "x$cache" = xyes; then
11508 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11511 if test x"$enablestring" = xdisable; then
11512 if test $wxUSE_DETECT_SM = yes; then
11518 result=$wxUSE_DETECT_SM
11521 { echo "$as_me:$LINENO: result: $result" >&5
11522 echo "${ECHO_T}$result" >&6; }
11526 defaultval=$wxUSE_ALL_FEATURES
11527 if test -z "$defaultval"; then
11528 if test x"$enablestring" = xdisable; then
11535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11536 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11537 # Check whether --enable-editablebox was given.
11538 if test "${enable_editablebox+set}" = set; then
11539 enableval=$enable_editablebox;
11540 if test "$enableval" = yes; then
11541 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11543 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11550 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11551 if test "x$LINE" != x ; then
11552 eval "DEFAULT_$LINE"
11555 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11560 eval "$wx_cv_use_editablebox"
11561 if test "x$cache" = xyes; then
11562 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11565 if test x"$enablestring" = xdisable; then
11566 if test $wxUSE_EDITABLELISTBOX = yes; then
11572 result=$wxUSE_EDITABLELISTBOX
11575 { echo "$as_me:$LINENO: result: $result" >&5
11576 echo "${ECHO_T}$result" >&6; }
11580 defaultval=$wxUSE_ALL_FEATURES
11581 if test -z "$defaultval"; then
11582 if test x"$enablestring" = xdisable; then
11589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11590 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11591 # Check whether --enable-filepicker was given.
11592 if test "${enable_filepicker+set}" = set; then
11593 enableval=$enable_filepicker;
11594 if test "$enableval" = yes; then
11595 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11597 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11604 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11605 if test "x$LINE" != x ; then
11606 eval "DEFAULT_$LINE"
11609 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11614 eval "$wx_cv_use_filepicker"
11615 if test "x$cache" = xyes; then
11616 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11619 if test x"$enablestring" = xdisable; then
11620 if test $wxUSE_FILEPICKERCTRL = yes; then
11626 result=$wxUSE_FILEPICKERCTRL
11629 { echo "$as_me:$LINENO: result: $result" >&5
11630 echo "${ECHO_T}$result" >&6; }
11634 defaultval=$wxUSE_ALL_FEATURES
11635 if test -z "$defaultval"; then
11636 if test x"$enablestring" = xdisable; then
11643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11645 # Check whether --enable-fontpicker was given.
11646 if test "${enable_fontpicker+set}" = set; then
11647 enableval=$enable_fontpicker;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11651 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11658 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11659 if test "x$LINE" != x ; then
11660 eval "DEFAULT_$LINE"
11663 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11668 eval "$wx_cv_use_fontpicker"
11669 if test "x$cache" = xyes; then
11670 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11673 if test x"$enablestring" = xdisable; then
11674 if test $wxUSE_FONTPICKERCTRL = yes; then
11680 result=$wxUSE_FONTPICKERCTRL
11683 { echo "$as_me:$LINENO: result: $result" >&5
11684 echo "${ECHO_T}$result" >&6; }
11688 defaultval=$wxUSE_ALL_FEATURES
11689 if test -z "$defaultval"; then
11690 if test x"$enablestring" = xdisable; then
11697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11698 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11699 # Check whether --enable-gauge was given.
11700 if test "${enable_gauge+set}" = set; then
11701 enableval=$enable_gauge;
11702 if test "$enableval" = yes; then
11703 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11705 wx_cv_use_gauge='wxUSE_GAUGE=no'
11712 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11713 if test "x$LINE" != x ; then
11714 eval "DEFAULT_$LINE"
11717 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11722 eval "$wx_cv_use_gauge"
11723 if test "x$cache" = xyes; then
11724 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11727 if test x"$enablestring" = xdisable; then
11728 if test $wxUSE_GAUGE = yes; then
11734 result=$wxUSE_GAUGE
11737 { echo "$as_me:$LINENO: result: $result" >&5
11738 echo "${ECHO_T}$result" >&6; }
11742 defaultval=$wxUSE_ALL_FEATURES
11743 if test -z "$defaultval"; then
11744 if test x"$enablestring" = xdisable; then
11751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11752 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11753 # Check whether --enable-grid was given.
11754 if test "${enable_grid+set}" = set; then
11755 enableval=$enable_grid;
11756 if test "$enableval" = yes; then
11757 wx_cv_use_grid='wxUSE_GRID=yes'
11759 wx_cv_use_grid='wxUSE_GRID=no'
11766 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11767 if test "x$LINE" != x ; then
11768 eval "DEFAULT_$LINE"
11771 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11776 eval "$wx_cv_use_grid"
11777 if test "x$cache" = xyes; then
11778 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11781 if test x"$enablestring" = xdisable; then
11782 if test $wxUSE_GRID = yes; then
11791 { echo "$as_me:$LINENO: result: $result" >&5
11792 echo "${ECHO_T}$result" >&6; }
11796 defaultval=$wxUSE_ALL_FEATURES
11797 if test -z "$defaultval"; then
11798 if test x"$enablestring" = xdisable; then
11805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11806 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11807 # Check whether --enable-dataviewctrl was given.
11808 if test "${enable_dataviewctrl+set}" = set; then
11809 enableval=$enable_dataviewctrl;
11810 if test "$enableval" = yes; then
11811 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11813 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11820 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11821 if test "x$LINE" != x ; then
11822 eval "DEFAULT_$LINE"
11825 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11830 eval "$wx_cv_use_dataviewctrl"
11831 if test "x$cache" = xyes; then
11832 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11835 if test x"$enablestring" = xdisable; then
11836 if test $wxUSE_DATAVIEWCTRL = yes; then
11842 result=$wxUSE_DATAVIEWCTRL
11845 { echo "$as_me:$LINENO: result: $result" >&5
11846 echo "${ECHO_T}$result" >&6; }
11850 defaultval=$wxUSE_ALL_FEATURES
11851 if test -z "$defaultval"; then
11852 if test x"$enablestring" = xdisable; then
11859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11860 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11861 # Check whether --enable-hyperlink was given.
11862 if test "${enable_hyperlink+set}" = set; then
11863 enableval=$enable_hyperlink;
11864 if test "$enableval" = yes; then
11865 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11867 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11874 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11875 if test "x$LINE" != x ; then
11876 eval "DEFAULT_$LINE"
11879 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11884 eval "$wx_cv_use_hyperlink"
11885 if test "x$cache" = xyes; then
11886 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_HYPERLINKCTRL = yes; then
11896 result=$wxUSE_HYPERLINKCTRL
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11915 # Check whether --enable-imaglist was given.
11916 if test "${enable_imaglist+set}" = set; then
11917 enableval=$enable_imaglist;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11921 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11928 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11929 if test "x$LINE" != x ; then
11930 eval "DEFAULT_$LINE"
11933 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11938 eval "$wx_cv_use_imaglist"
11939 if test "x$cache" = xyes; then
11940 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11943 if test x"$enablestring" = xdisable; then
11944 if test $wxUSE_IMAGLIST = yes; then
11950 result=$wxUSE_IMAGLIST
11953 { echo "$as_me:$LINENO: result: $result" >&5
11954 echo "${ECHO_T}$result" >&6; }
11958 defaultval=$wxUSE_ALL_FEATURES
11959 if test -z "$defaultval"; then
11960 if test x"$enablestring" = xdisable; then
11967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11968 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11969 # Check whether --enable-listbook was given.
11970 if test "${enable_listbook+set}" = set; then
11971 enableval=$enable_listbook;
11972 if test "$enableval" = yes; then
11973 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11975 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11982 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11983 if test "x$LINE" != x ; then
11984 eval "DEFAULT_$LINE"
11987 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11992 eval "$wx_cv_use_listbook"
11993 if test "x$cache" = xyes; then
11994 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11997 if test x"$enablestring" = xdisable; then
11998 if test $wxUSE_LISTBOOK = yes; then
12004 result=$wxUSE_LISTBOOK
12007 { echo "$as_me:$LINENO: result: $result" >&5
12008 echo "${ECHO_T}$result" >&6; }
12012 defaultval=$wxUSE_ALL_FEATURES
12013 if test -z "$defaultval"; then
12014 if test x"$enablestring" = xdisable; then
12021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12022 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12023 # Check whether --enable-listbox was given.
12024 if test "${enable_listbox+set}" = set; then
12025 enableval=$enable_listbox;
12026 if test "$enableval" = yes; then
12027 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12029 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12036 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12037 if test "x$LINE" != x ; then
12038 eval "DEFAULT_$LINE"
12041 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12046 eval "$wx_cv_use_listbox"
12047 if test "x$cache" = xyes; then
12048 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12051 if test x"$enablestring" = xdisable; then
12052 if test $wxUSE_LISTBOX = yes; then
12058 result=$wxUSE_LISTBOX
12061 { echo "$as_me:$LINENO: result: $result" >&5
12062 echo "${ECHO_T}$result" >&6; }
12066 defaultval=$wxUSE_ALL_FEATURES
12067 if test -z "$defaultval"; then
12068 if test x"$enablestring" = xdisable; then
12075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12076 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12077 # Check whether --enable-listctrl was given.
12078 if test "${enable_listctrl+set}" = set; then
12079 enableval=$enable_listctrl;
12080 if test "$enableval" = yes; then
12081 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12083 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12090 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12091 if test "x$LINE" != x ; then
12092 eval "DEFAULT_$LINE"
12095 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12100 eval "$wx_cv_use_listctrl"
12101 if test "x$cache" = xyes; then
12102 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12105 if test x"$enablestring" = xdisable; then
12106 if test $wxUSE_LISTCTRL = yes; then
12112 result=$wxUSE_LISTCTRL
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12120 defaultval=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x"$enablestring" = xdisable; then
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12131 # Check whether --enable-notebook was given.
12132 if test "${enable_notebook+set}" = set; then
12133 enableval=$enable_notebook;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12137 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12144 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12145 if test "x$LINE" != x ; then
12146 eval "DEFAULT_$LINE"
12149 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12154 eval "$wx_cv_use_notebook"
12155 if test "x$cache" = xyes; then
12156 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12159 if test x"$enablestring" = xdisable; then
12160 if test $wxUSE_NOTEBOOK = yes; then
12166 result=$wxUSE_NOTEBOOK
12169 { echo "$as_me:$LINENO: result: $result" >&5
12170 echo "${ECHO_T}$result" >&6; }
12174 defaultval=$wxUSE_ALL_FEATURES
12175 if test -z "$defaultval"; then
12176 if test x"$enablestring" = xdisable; then
12183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12184 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12185 # Check whether --enable-odcombobox was given.
12186 if test "${enable_odcombobox+set}" = set; then
12187 enableval=$enable_odcombobox;
12188 if test "$enableval" = yes; then
12189 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12191 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12198 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12199 if test "x$LINE" != x ; then
12200 eval "DEFAULT_$LINE"
12203 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12208 eval "$wx_cv_use_odcombobox"
12209 if test "x$cache" = xyes; then
12210 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12213 if test x"$enablestring" = xdisable; then
12214 if test $wxUSE_ODCOMBOBOX = yes; then
12220 result=$wxUSE_ODCOMBOBOX
12223 { echo "$as_me:$LINENO: result: $result" >&5
12224 echo "${ECHO_T}$result" >&6; }
12228 defaultval=$wxUSE_ALL_FEATURES
12229 if test -z "$defaultval"; then
12230 if test x"$enablestring" = xdisable; then
12237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12238 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12239 # Check whether --enable-radiobox was given.
12240 if test "${enable_radiobox+set}" = set; then
12241 enableval=$enable_radiobox;
12242 if test "$enableval" = yes; then
12243 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12245 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12252 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12253 if test "x$LINE" != x ; then
12254 eval "DEFAULT_$LINE"
12257 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12262 eval "$wx_cv_use_radiobox"
12263 if test "x$cache" = xyes; then
12264 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12267 if test x"$enablestring" = xdisable; then
12268 if test $wxUSE_RADIOBOX = yes; then
12274 result=$wxUSE_RADIOBOX
12277 { echo "$as_me:$LINENO: result: $result" >&5
12278 echo "${ECHO_T}$result" >&6; }
12282 defaultval=$wxUSE_ALL_FEATURES
12283 if test -z "$defaultval"; then
12284 if test x"$enablestring" = xdisable; then
12291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12292 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12293 # Check whether --enable-radiobtn was given.
12294 if test "${enable_radiobtn+set}" = set; then
12295 enableval=$enable_radiobtn;
12296 if test "$enableval" = yes; then
12297 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12299 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12306 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12311 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12316 eval "$wx_cv_use_radiobtn"
12317 if test "x$cache" = xyes; then
12318 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12321 if test x"$enablestring" = xdisable; then
12322 if test $wxUSE_RADIOBTN = yes; then
12328 result=$wxUSE_RADIOBTN
12331 { echo "$as_me:$LINENO: result: $result" >&5
12332 echo "${ECHO_T}$result" >&6; }
12336 defaultval=$wxUSE_ALL_FEATURES
12337 if test -z "$defaultval"; then
12338 if test x"$enablestring" = xdisable; then
12345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12346 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12347 # Check whether --enable-sash was given.
12348 if test "${enable_sash+set}" = set; then
12349 enableval=$enable_sash;
12350 if test "$enableval" = yes; then
12351 wx_cv_use_sash='wxUSE_SASH=yes'
12353 wx_cv_use_sash='wxUSE_SASH=no'
12360 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12361 if test "x$LINE" != x ; then
12362 eval "DEFAULT_$LINE"
12365 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12370 eval "$wx_cv_use_sash"
12371 if test "x$cache" = xyes; then
12372 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12375 if test x"$enablestring" = xdisable; then
12376 if test $wxUSE_SASH = yes; then
12385 { echo "$as_me:$LINENO: result: $result" >&5
12386 echo "${ECHO_T}$result" >&6; }
12390 defaultval=$wxUSE_ALL_FEATURES
12391 if test -z "$defaultval"; then
12392 if test x"$enablestring" = xdisable; then
12399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12400 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12401 # Check whether --enable-scrollbar was given.
12402 if test "${enable_scrollbar+set}" = set; then
12403 enableval=$enable_scrollbar;
12404 if test "$enableval" = yes; then
12405 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12407 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12414 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12415 if test "x$LINE" != x ; then
12416 eval "DEFAULT_$LINE"
12419 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12424 eval "$wx_cv_use_scrollbar"
12425 if test "x$cache" = xyes; then
12426 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12429 if test x"$enablestring" = xdisable; then
12430 if test $wxUSE_SCROLLBAR = yes; then
12436 result=$wxUSE_SCROLLBAR
12439 { echo "$as_me:$LINENO: result: $result" >&5
12440 echo "${ECHO_T}$result" >&6; }
12444 defaultval=$wxUSE_ALL_FEATURES
12445 if test -z "$defaultval"; then
12446 if test x"$enablestring" = xdisable; then
12453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12454 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12455 # Check whether --enable-searchctrl was given.
12456 if test "${enable_searchctrl+set}" = set; then
12457 enableval=$enable_searchctrl;
12458 if test "$enableval" = yes; then
12459 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12461 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12468 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12469 if test "x$LINE" != x ; then
12470 eval "DEFAULT_$LINE"
12473 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12478 eval "$wx_cv_use_searchctrl"
12479 if test "x$cache" = xyes; then
12480 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12483 if test x"$enablestring" = xdisable; then
12484 if test $wxUSE_SEARCHCTRL = yes; then
12490 result=$wxUSE_SEARCHCTRL
12493 { echo "$as_me:$LINENO: result: $result" >&5
12494 echo "${ECHO_T}$result" >&6; }
12498 defaultval=$wxUSE_ALL_FEATURES
12499 if test -z "$defaultval"; then
12500 if test x"$enablestring" = xdisable; then
12507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12508 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12509 # Check whether --enable-slider was given.
12510 if test "${enable_slider+set}" = set; then
12511 enableval=$enable_slider;
12512 if test "$enableval" = yes; then
12513 wx_cv_use_slider='wxUSE_SLIDER=yes'
12515 wx_cv_use_slider='wxUSE_SLIDER=no'
12522 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12523 if test "x$LINE" != x ; then
12524 eval "DEFAULT_$LINE"
12527 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12532 eval "$wx_cv_use_slider"
12533 if test "x$cache" = xyes; then
12534 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12537 if test x"$enablestring" = xdisable; then
12538 if test $wxUSE_SLIDER = yes; then
12544 result=$wxUSE_SLIDER
12547 { echo "$as_me:$LINENO: result: $result" >&5
12548 echo "${ECHO_T}$result" >&6; }
12552 defaultval=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x"$enablestring" = xdisable; then
12561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12562 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12563 # Check whether --enable-spinbtn was given.
12564 if test "${enable_spinbtn+set}" = set; then
12565 enableval=$enable_spinbtn;
12566 if test "$enableval" = yes; then
12567 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12569 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12576 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12577 if test "x$LINE" != x ; then
12578 eval "DEFAULT_$LINE"
12581 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12586 eval "$wx_cv_use_spinbtn"
12587 if test "x$cache" = xyes; then
12588 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_SPINBTN = yes; then
12598 result=$wxUSE_SPINBTN
12601 { echo "$as_me:$LINENO: result: $result" >&5
12602 echo "${ECHO_T}$result" >&6; }
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12617 # Check whether --enable-spinctrl was given.
12618 if test "${enable_spinctrl+set}" = set; then
12619 enableval=$enable_spinctrl;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12623 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12630 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12631 if test "x$LINE" != x ; then
12632 eval "DEFAULT_$LINE"
12635 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12640 eval "$wx_cv_use_spinctrl"
12641 if test "x$cache" = xyes; then
12642 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12645 if test x"$enablestring" = xdisable; then
12646 if test $wxUSE_SPINCTRL = yes; then
12652 result=$wxUSE_SPINCTRL
12655 { echo "$as_me:$LINENO: result: $result" >&5
12656 echo "${ECHO_T}$result" >&6; }
12660 defaultval=$wxUSE_ALL_FEATURES
12661 if test -z "$defaultval"; then
12662 if test x"$enablestring" = xdisable; then
12669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12670 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12671 # Check whether --enable-splitter was given.
12672 if test "${enable_splitter+set}" = set; then
12673 enableval=$enable_splitter;
12674 if test "$enableval" = yes; then
12675 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12677 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12684 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12685 if test "x$LINE" != x ; then
12686 eval "DEFAULT_$LINE"
12689 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12694 eval "$wx_cv_use_splitter"
12695 if test "x$cache" = xyes; then
12696 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12699 if test x"$enablestring" = xdisable; then
12700 if test $wxUSE_SPLITTER = yes; then
12706 result=$wxUSE_SPLITTER
12709 { echo "$as_me:$LINENO: result: $result" >&5
12710 echo "${ECHO_T}$result" >&6; }
12714 defaultval=$wxUSE_ALL_FEATURES
12715 if test -z "$defaultval"; then
12716 if test x"$enablestring" = xdisable; then
12723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12724 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12725 # Check whether --enable-statbmp was given.
12726 if test "${enable_statbmp+set}" = set; then
12727 enableval=$enable_statbmp;
12728 if test "$enableval" = yes; then
12729 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12731 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12738 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12739 if test "x$LINE" != x ; then
12740 eval "DEFAULT_$LINE"
12743 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12748 eval "$wx_cv_use_statbmp"
12749 if test "x$cache" = xyes; then
12750 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12753 if test x"$enablestring" = xdisable; then
12754 if test $wxUSE_STATBMP = yes; then
12760 result=$wxUSE_STATBMP
12763 { echo "$as_me:$LINENO: result: $result" >&5
12764 echo "${ECHO_T}$result" >&6; }
12768 defaultval=$wxUSE_ALL_FEATURES
12769 if test -z "$defaultval"; then
12770 if test x"$enablestring" = xdisable; then
12777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12778 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12779 # Check whether --enable-statbox was given.
12780 if test "${enable_statbox+set}" = set; then
12781 enableval=$enable_statbox;
12782 if test "$enableval" = yes; then
12783 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12785 wx_cv_use_statbox='wxUSE_STATBOX=no'
12792 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12793 if test "x$LINE" != x ; then
12794 eval "DEFAULT_$LINE"
12797 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12802 eval "$wx_cv_use_statbox"
12803 if test "x$cache" = xyes; then
12804 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12807 if test x"$enablestring" = xdisable; then
12808 if test $wxUSE_STATBOX = yes; then
12814 result=$wxUSE_STATBOX
12817 { echo "$as_me:$LINENO: result: $result" >&5
12818 echo "${ECHO_T}$result" >&6; }
12822 defaultval=$wxUSE_ALL_FEATURES
12823 if test -z "$defaultval"; then
12824 if test x"$enablestring" = xdisable; then
12831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12832 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12833 # Check whether --enable-statline was given.
12834 if test "${enable_statline+set}" = set; then
12835 enableval=$enable_statline;
12836 if test "$enableval" = yes; then
12837 wx_cv_use_statline='wxUSE_STATLINE=yes'
12839 wx_cv_use_statline='wxUSE_STATLINE=no'
12846 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12847 if test "x$LINE" != x ; then
12848 eval "DEFAULT_$LINE"
12851 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12856 eval "$wx_cv_use_statline"
12857 if test "x$cache" = xyes; then
12858 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12861 if test x"$enablestring" = xdisable; then
12862 if test $wxUSE_STATLINE = yes; then
12868 result=$wxUSE_STATLINE
12871 { echo "$as_me:$LINENO: result: $result" >&5
12872 echo "${ECHO_T}$result" >&6; }
12876 defaultval=$wxUSE_ALL_FEATURES
12877 if test -z "$defaultval"; then
12878 if test x"$enablestring" = xdisable; then
12885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12886 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12887 # Check whether --enable-stattext was given.
12888 if test "${enable_stattext+set}" = set; then
12889 enableval=$enable_stattext;
12890 if test "$enableval" = yes; then
12891 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12893 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12900 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12901 if test "x$LINE" != x ; then
12902 eval "DEFAULT_$LINE"
12905 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12910 eval "$wx_cv_use_stattext"
12911 if test "x$cache" = xyes; then
12912 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12915 if test x"$enablestring" = xdisable; then
12916 if test $wxUSE_STATTEXT = yes; then
12922 result=$wxUSE_STATTEXT
12925 { echo "$as_me:$LINENO: result: $result" >&5
12926 echo "${ECHO_T}$result" >&6; }
12930 defaultval=$wxUSE_ALL_FEATURES
12931 if test -z "$defaultval"; then
12932 if test x"$enablestring" = xdisable; then
12939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12940 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12941 # Check whether --enable-statusbar was given.
12942 if test "${enable_statusbar+set}" = set; then
12943 enableval=$enable_statusbar;
12944 if test "$enableval" = yes; then
12945 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12947 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12954 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12955 if test "x$LINE" != x ; then
12956 eval "DEFAULT_$LINE"
12959 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12964 eval "$wx_cv_use_statusbar"
12965 if test "x$cache" = xyes; then
12966 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12969 if test x"$enablestring" = xdisable; then
12970 if test $wxUSE_STATUSBAR = yes; then
12976 result=$wxUSE_STATUSBAR
12979 { echo "$as_me:$LINENO: result: $result" >&5
12980 echo "${ECHO_T}$result" >&6; }
12984 defaultval=$wxUSE_ALL_FEATURES
12985 if test -z "$defaultval"; then
12986 if test x"$enablestring" = xdisable; then
12993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12994 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12995 # Check whether --enable-tabdialog was given.
12996 if test "${enable_tabdialog+set}" = set; then
12997 enableval=$enable_tabdialog;
12998 if test "$enableval" = yes; then
12999 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13001 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13008 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13009 if test "x$LINE" != x ; then
13010 eval "DEFAULT_$LINE"
13013 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13018 eval "$wx_cv_use_tabdialog"
13019 if test "x$cache" = xyes; then
13020 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13023 if test x"$enablestring" = xdisable; then
13024 if test $wxUSE_TAB_DIALOG = yes; then
13030 result=$wxUSE_TAB_DIALOG
13033 { echo "$as_me:$LINENO: result: $result" >&5
13034 echo "${ECHO_T}$result" >&6; }
13038 defaultval=$wxUSE_ALL_FEATURES
13039 if test -z "$defaultval"; then
13040 if test x"$enablestring" = xdisable; then
13047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13048 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13049 # Check whether --enable-taskbaricon was given.
13050 if test "${enable_taskbaricon+set}" = set; then
13051 enableval=$enable_taskbaricon;
13052 if test "$enableval" = yes; then
13053 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13055 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13062 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13063 if test "x$LINE" != x ; then
13064 eval "DEFAULT_$LINE"
13067 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13072 eval "$wx_cv_use_taskbaricon"
13073 if test "x$cache" = xyes; then
13074 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13077 if test x"$enablestring" = xdisable; then
13078 if test $wxUSE_TASKBARICON = yes; then
13084 result=$wxUSE_TASKBARICON
13087 { echo "$as_me:$LINENO: result: $result" >&5
13088 echo "${ECHO_T}$result" >&6; }
13092 defaultval=$wxUSE_ALL_FEATURES
13093 if test -z "$defaultval"; then
13094 if test x"$enablestring" = xdisable; then
13101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13102 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13103 # Check whether --enable-textctrl was given.
13104 if test "${enable_textctrl+set}" = set; then
13105 enableval=$enable_textctrl;
13106 if test "$enableval" = yes; then
13107 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13109 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13116 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13117 if test "x$LINE" != x ; then
13118 eval "DEFAULT_$LINE"
13121 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13126 eval "$wx_cv_use_textctrl"
13127 if test "x$cache" = xyes; then
13128 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13131 if test x"$enablestring" = xdisable; then
13132 if test $wxUSE_TEXTCTRL = yes; then
13138 result=$wxUSE_TEXTCTRL
13141 { echo "$as_me:$LINENO: result: $result" >&5
13142 echo "${ECHO_T}$result" >&6; }
13146 defaultval=$wxUSE_ALL_FEATURES
13147 if test -z "$defaultval"; then
13148 if test x"$enablestring" = xdisable; then
13155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13156 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13157 # Check whether --enable-togglebtn was given.
13158 if test "${enable_togglebtn+set}" = set; then
13159 enableval=$enable_togglebtn;
13160 if test "$enableval" = yes; then
13161 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13163 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13170 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13171 if test "x$LINE" != x ; then
13172 eval "DEFAULT_$LINE"
13175 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13180 eval "$wx_cv_use_togglebtn"
13181 if test "x$cache" = xyes; then
13182 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13185 if test x"$enablestring" = xdisable; then
13186 if test $wxUSE_TOGGLEBTN = yes; then
13192 result=$wxUSE_TOGGLEBTN
13195 { echo "$as_me:$LINENO: result: $result" >&5
13196 echo "${ECHO_T}$result" >&6; }
13200 defaultval=$wxUSE_ALL_FEATURES
13201 if test -z "$defaultval"; then
13202 if test x"$enablestring" = xdisable; then
13209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13210 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13211 # Check whether --enable-toolbar was given.
13212 if test "${enable_toolbar+set}" = set; then
13213 enableval=$enable_toolbar;
13214 if test "$enableval" = yes; then
13215 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13217 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13224 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13225 if test "x$LINE" != x ; then
13226 eval "DEFAULT_$LINE"
13229 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13234 eval "$wx_cv_use_toolbar"
13235 if test "x$cache" = xyes; then
13236 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13239 if test x"$enablestring" = xdisable; then
13240 if test $wxUSE_TOOLBAR = yes; then
13246 result=$wxUSE_TOOLBAR
13249 { echo "$as_me:$LINENO: result: $result" >&5
13250 echo "${ECHO_T}$result" >&6; }
13254 defaultval=$wxUSE_ALL_FEATURES
13255 if test -z "$defaultval"; then
13256 if test x"$enablestring" = xdisable; then
13263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13264 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13265 # Check whether --enable-tbarnative was given.
13266 if test "${enable_tbarnative+set}" = set; then
13267 enableval=$enable_tbarnative;
13268 if test "$enableval" = yes; then
13269 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13271 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13278 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13279 if test "x$LINE" != x ; then
13280 eval "DEFAULT_$LINE"
13283 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13288 eval "$wx_cv_use_tbarnative"
13289 if test "x$cache" = xyes; then
13290 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13293 if test x"$enablestring" = xdisable; then
13294 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13300 result=$wxUSE_TOOLBAR_NATIVE
13303 { echo "$as_me:$LINENO: result: $result" >&5
13304 echo "${ECHO_T}$result" >&6; }
13308 defaultval=$wxUSE_ALL_FEATURES
13309 if test -z "$defaultval"; then
13310 if test x"$enablestring" = xdisable; then
13317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13318 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13319 # Check whether --enable-treebook was given.
13320 if test "${enable_treebook+set}" = set; then
13321 enableval=$enable_treebook;
13322 if test "$enableval" = yes; then
13323 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13325 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13332 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13333 if test "x$LINE" != x ; then
13334 eval "DEFAULT_$LINE"
13337 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13342 eval "$wx_cv_use_treebook"
13343 if test "x$cache" = xyes; then
13344 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13347 if test x"$enablestring" = xdisable; then
13348 if test $wxUSE_TREEBOOK = yes; then
13354 result=$wxUSE_TREEBOOK
13357 { echo "$as_me:$LINENO: result: $result" >&5
13358 echo "${ECHO_T}$result" >&6; }
13362 defaultval=$wxUSE_ALL_FEATURES
13363 if test -z "$defaultval"; then
13364 if test x"$enablestring" = xdisable; then
13371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13372 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13373 # Check whether --enable-toolbook was given.
13374 if test "${enable_toolbook+set}" = set; then
13375 enableval=$enable_toolbook;
13376 if test "$enableval" = yes; then
13377 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13379 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13386 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13387 if test "x$LINE" != x ; then
13388 eval "DEFAULT_$LINE"
13391 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13396 eval "$wx_cv_use_toolbook"
13397 if test "x$cache" = xyes; then
13398 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13401 if test x"$enablestring" = xdisable; then
13402 if test $wxUSE_TOOLBOOK = yes; then
13408 result=$wxUSE_TOOLBOOK
13411 { echo "$as_me:$LINENO: result: $result" >&5
13412 echo "${ECHO_T}$result" >&6; }
13416 defaultval=$wxUSE_ALL_FEATURES
13417 if test -z "$defaultval"; then
13418 if test x"$enablestring" = xdisable; then
13425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13426 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13427 # Check whether --enable-treectrl was given.
13428 if test "${enable_treectrl+set}" = set; then
13429 enableval=$enable_treectrl;
13430 if test "$enableval" = yes; then
13431 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13433 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13440 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13441 if test "x$LINE" != x ; then
13442 eval "DEFAULT_$LINE"
13445 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13450 eval "$wx_cv_use_treectrl"
13451 if test "x$cache" = xyes; then
13452 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13455 if test x"$enablestring" = xdisable; then
13456 if test $wxUSE_TREECTRL = yes; then
13462 result=$wxUSE_TREECTRL
13465 { echo "$as_me:$LINENO: result: $result" >&5
13466 echo "${ECHO_T}$result" >&6; }
13470 defaultval=$wxUSE_ALL_FEATURES
13471 if test -z "$defaultval"; then
13472 if test x"$enablestring" = xdisable; then
13479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13480 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13481 # Check whether --enable-tipwindow was given.
13482 if test "${enable_tipwindow+set}" = set; then
13483 enableval=$enable_tipwindow;
13484 if test "$enableval" = yes; then
13485 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13487 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13494 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13495 if test "x$LINE" != x ; then
13496 eval "DEFAULT_$LINE"
13499 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13504 eval "$wx_cv_use_tipwindow"
13505 if test "x$cache" = xyes; then
13506 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13509 if test x"$enablestring" = xdisable; then
13510 if test $wxUSE_TIPWINDOW = yes; then
13516 result=$wxUSE_TIPWINDOW
13519 { echo "$as_me:$LINENO: result: $result" >&5
13520 echo "${ECHO_T}$result" >&6; }
13524 defaultval=$wxUSE_ALL_FEATURES
13525 if test -z "$defaultval"; then
13526 if test x"$enablestring" = xdisable; then
13533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13534 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13535 # Check whether --enable-popupwin was given.
13536 if test "${enable_popupwin+set}" = set; then
13537 enableval=$enable_popupwin;
13538 if test "$enableval" = yes; then
13539 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13541 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13548 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13549 if test "x$LINE" != x ; then
13550 eval "DEFAULT_$LINE"
13553 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13558 eval "$wx_cv_use_popupwin"
13559 if test "x$cache" = xyes; then
13560 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_POPUPWIN = yes; then
13570 result=$wxUSE_POPUPWIN
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13580 defaultval=$wxUSE_ALL_FEATURES
13581 if test -z "$defaultval"; then
13582 if test x"$enablestring" = xdisable; then
13589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13590 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13591 # Check whether --enable-commondlg was given.
13592 if test "${enable_commondlg+set}" = set; then
13593 enableval=$enable_commondlg;
13594 if test "$enableval" = yes; then
13595 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13597 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13604 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13605 if test "x$LINE" != x ; then
13606 eval "DEFAULT_$LINE"
13609 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13614 eval "$wx_cv_use_commondlg"
13615 if test "x$cache" = xyes; then
13616 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13619 if test x"$enablestring" = xdisable; then
13620 if test $wxUSE_COMMONDLGS = yes; then
13626 result=$wxUSE_COMMONDLGS
13629 { echo "$as_me:$LINENO: result: $result" >&5
13630 echo "${ECHO_T}$result" >&6; }
13634 defaultval=$wxUSE_ALL_FEATURES
13635 if test -z "$defaultval"; then
13636 if test x"$enablestring" = xdisable; then
13643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13644 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13645 # Check whether --enable-aboutdlg was given.
13646 if test "${enable_aboutdlg+set}" = set; then
13647 enableval=$enable_aboutdlg;
13648 if test "$enableval" = yes; then
13649 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13651 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13658 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13659 if test "x$LINE" != x ; then
13660 eval "DEFAULT_$LINE"
13663 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13668 eval "$wx_cv_use_aboutdlg"
13669 if test "x$cache" = xyes; then
13670 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13673 if test x"$enablestring" = xdisable; then
13674 if test $wxUSE_ABOUTDLG = yes; then
13680 result=$wxUSE_ABOUTDLG
13683 { echo "$as_me:$LINENO: result: $result" >&5
13684 echo "${ECHO_T}$result" >&6; }
13688 defaultval=$wxUSE_ALL_FEATURES
13689 if test -z "$defaultval"; then
13690 if test x"$enablestring" = xdisable; then
13697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13698 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13699 # Check whether --enable-choicedlg was given.
13700 if test "${enable_choicedlg+set}" = set; then
13701 enableval=$enable_choicedlg;
13702 if test "$enableval" = yes; then
13703 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13705 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13712 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13713 if test "x$LINE" != x ; then
13714 eval "DEFAULT_$LINE"
13717 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13722 eval "$wx_cv_use_choicedlg"
13723 if test "x$cache" = xyes; then
13724 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13727 if test x"$enablestring" = xdisable; then
13728 if test $wxUSE_CHOICEDLG = yes; then
13734 result=$wxUSE_CHOICEDLG
13737 { echo "$as_me:$LINENO: result: $result" >&5
13738 echo "${ECHO_T}$result" >&6; }
13742 defaultval=$wxUSE_ALL_FEATURES
13743 if test -z "$defaultval"; then
13744 if test x"$enablestring" = xdisable; then
13751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13752 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13753 # Check whether --enable-coldlg was given.
13754 if test "${enable_coldlg+set}" = set; then
13755 enableval=$enable_coldlg;
13756 if test "$enableval" = yes; then
13757 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13759 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13766 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13767 if test "x$LINE" != x ; then
13768 eval "DEFAULT_$LINE"
13771 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13776 eval "$wx_cv_use_coldlg"
13777 if test "x$cache" = xyes; then
13778 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13781 if test x"$enablestring" = xdisable; then
13782 if test $wxUSE_COLOURDLG = yes; then
13788 result=$wxUSE_COLOURDLG
13791 { echo "$as_me:$LINENO: result: $result" >&5
13792 echo "${ECHO_T}$result" >&6; }
13796 defaultval=$wxUSE_ALL_FEATURES
13797 if test -z "$defaultval"; then
13798 if test x"$enablestring" = xdisable; then
13805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13806 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13807 # Check whether --enable-filedlg was given.
13808 if test "${enable_filedlg+set}" = set; then
13809 enableval=$enable_filedlg;
13810 if test "$enableval" = yes; then
13811 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13813 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13820 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13821 if test "x$LINE" != x ; then
13822 eval "DEFAULT_$LINE"
13825 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13830 eval "$wx_cv_use_filedlg"
13831 if test "x$cache" = xyes; then
13832 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_FILEDLG = yes; then
13842 result=$wxUSE_FILEDLG
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13861 # Check whether --enable-finddlg was given.
13862 if test "${enable_finddlg+set}" = set; then
13863 enableval=$enable_finddlg;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13867 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13874 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13875 if test "x$LINE" != x ; then
13876 eval "DEFAULT_$LINE"
13879 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13884 eval "$wx_cv_use_finddlg"
13885 if test "x$cache" = xyes; then
13886 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13889 if test x"$enablestring" = xdisable; then
13890 if test $wxUSE_FINDREPLDLG = yes; then
13896 result=$wxUSE_FINDREPLDLG
13899 { echo "$as_me:$LINENO: result: $result" >&5
13900 echo "${ECHO_T}$result" >&6; }
13904 defaultval=$wxUSE_ALL_FEATURES
13905 if test -z "$defaultval"; then
13906 if test x"$enablestring" = xdisable; then
13913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13914 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13915 # Check whether --enable-fontdlg was given.
13916 if test "${enable_fontdlg+set}" = set; then
13917 enableval=$enable_fontdlg;
13918 if test "$enableval" = yes; then
13919 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13921 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13928 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13929 if test "x$LINE" != x ; then
13930 eval "DEFAULT_$LINE"
13933 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13938 eval "$wx_cv_use_fontdlg"
13939 if test "x$cache" = xyes; then
13940 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13943 if test x"$enablestring" = xdisable; then
13944 if test $wxUSE_FONTDLG = yes; then
13950 result=$wxUSE_FONTDLG
13953 { echo "$as_me:$LINENO: result: $result" >&5
13954 echo "${ECHO_T}$result" >&6; }
13958 defaultval=$wxUSE_ALL_FEATURES
13959 if test -z "$defaultval"; then
13960 if test x"$enablestring" = xdisable; then
13967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13968 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13969 # Check whether --enable-dirdlg was given.
13970 if test "${enable_dirdlg+set}" = set; then
13971 enableval=$enable_dirdlg;
13972 if test "$enableval" = yes; then
13973 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13975 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13982 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13983 if test "x$LINE" != x ; then
13984 eval "DEFAULT_$LINE"
13987 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13992 eval "$wx_cv_use_dirdlg"
13993 if test "x$cache" = xyes; then
13994 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13997 if test x"$enablestring" = xdisable; then
13998 if test $wxUSE_DIRDLG = yes; then
14004 result=$wxUSE_DIRDLG
14007 { echo "$as_me:$LINENO: result: $result" >&5
14008 echo "${ECHO_T}$result" >&6; }
14012 defaultval=$wxUSE_ALL_FEATURES
14013 if test -z "$defaultval"; then
14014 if test x"$enablestring" = xdisable; then
14021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14022 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14023 # Check whether --enable-msgdlg was given.
14024 if test "${enable_msgdlg+set}" = set; then
14025 enableval=$enable_msgdlg;
14026 if test "$enableval" = yes; then
14027 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14029 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14036 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14037 if test "x$LINE" != x ; then
14038 eval "DEFAULT_$LINE"
14041 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14046 eval "$wx_cv_use_msgdlg"
14047 if test "x$cache" = xyes; then
14048 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14051 if test x"$enablestring" = xdisable; then
14052 if test $wxUSE_MSGDLG = yes; then
14058 result=$wxUSE_MSGDLG
14061 { echo "$as_me:$LINENO: result: $result" >&5
14062 echo "${ECHO_T}$result" >&6; }
14066 defaultval=$wxUSE_ALL_FEATURES
14067 if test -z "$defaultval"; then
14068 if test x"$enablestring" = xdisable; then
14075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14076 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14077 # Check whether --enable-numberdlg was given.
14078 if test "${enable_numberdlg+set}" = set; then
14079 enableval=$enable_numberdlg;
14080 if test "$enableval" = yes; then
14081 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14083 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14090 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14091 if test "x$LINE" != x ; then
14092 eval "DEFAULT_$LINE"
14095 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14100 eval "$wx_cv_use_numberdlg"
14101 if test "x$cache" = xyes; then
14102 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14105 if test x"$enablestring" = xdisable; then
14106 if test $wxUSE_NUMBERDLG = yes; then
14112 result=$wxUSE_NUMBERDLG
14115 { echo "$as_me:$LINENO: result: $result" >&5
14116 echo "${ECHO_T}$result" >&6; }
14120 defaultval=$wxUSE_ALL_FEATURES
14121 if test -z "$defaultval"; then
14122 if test x"$enablestring" = xdisable; then
14129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14130 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14131 # Check whether --enable-splash was given.
14132 if test "${enable_splash+set}" = set; then
14133 enableval=$enable_splash;
14134 if test "$enableval" = yes; then
14135 wx_cv_use_splash='wxUSE_SPLASH=yes'
14137 wx_cv_use_splash='wxUSE_SPLASH=no'
14144 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14145 if test "x$LINE" != x ; then
14146 eval "DEFAULT_$LINE"
14149 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14154 eval "$wx_cv_use_splash"
14155 if test "x$cache" = xyes; then
14156 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14159 if test x"$enablestring" = xdisable; then
14160 if test $wxUSE_SPLASH = yes; then
14166 result=$wxUSE_SPLASH
14169 { echo "$as_me:$LINENO: result: $result" >&5
14170 echo "${ECHO_T}$result" >&6; }
14174 defaultval=$wxUSE_ALL_FEATURES
14175 if test -z "$defaultval"; then
14176 if test x"$enablestring" = xdisable; then
14183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14184 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14185 # Check whether --enable-textdlg was given.
14186 if test "${enable_textdlg+set}" = set; then
14187 enableval=$enable_textdlg;
14188 if test "$enableval" = yes; then
14189 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14191 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14198 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14199 if test "x$LINE" != x ; then
14200 eval "DEFAULT_$LINE"
14203 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14208 eval "$wx_cv_use_textdlg"
14209 if test "x$cache" = xyes; then
14210 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14213 if test x"$enablestring" = xdisable; then
14214 if test $wxUSE_TEXTDLG = yes; then
14220 result=$wxUSE_TEXTDLG
14223 { echo "$as_me:$LINENO: result: $result" >&5
14224 echo "${ECHO_T}$result" >&6; }
14228 defaultval=$wxUSE_ALL_FEATURES
14229 if test -z "$defaultval"; then
14230 if test x"$enablestring" = xdisable; then
14237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14238 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14239 # Check whether --enable-tipdlg was given.
14240 if test "${enable_tipdlg+set}" = set; then
14241 enableval=$enable_tipdlg;
14242 if test "$enableval" = yes; then
14243 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14245 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14252 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14253 if test "x$LINE" != x ; then
14254 eval "DEFAULT_$LINE"
14257 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14262 eval "$wx_cv_use_tipdlg"
14263 if test "x$cache" = xyes; then
14264 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14267 if test x"$enablestring" = xdisable; then
14268 if test $wxUSE_STARTUP_TIPS = yes; then
14274 result=$wxUSE_STARTUP_TIPS
14277 { echo "$as_me:$LINENO: result: $result" >&5
14278 echo "${ECHO_T}$result" >&6; }
14282 defaultval=$wxUSE_ALL_FEATURES
14283 if test -z "$defaultval"; then
14284 if test x"$enablestring" = xdisable; then
14291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14292 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14293 # Check whether --enable-progressdlg was given.
14294 if test "${enable_progressdlg+set}" = set; then
14295 enableval=$enable_progressdlg;
14296 if test "$enableval" = yes; then
14297 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14299 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14306 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14307 if test "x$LINE" != x ; then
14308 eval "DEFAULT_$LINE"
14311 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14316 eval "$wx_cv_use_progressdlg"
14317 if test "x$cache" = xyes; then
14318 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14321 if test x"$enablestring" = xdisable; then
14322 if test $wxUSE_PROGRESSDLG = yes; then
14328 result=$wxUSE_PROGRESSDLG
14331 { echo "$as_me:$LINENO: result: $result" >&5
14332 echo "${ECHO_T}$result" >&6; }
14336 defaultval=$wxUSE_ALL_FEATURES
14337 if test -z "$defaultval"; then
14338 if test x"$enablestring" = xdisable; then
14345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14346 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14347 # Check whether --enable-wizarddlg was given.
14348 if test "${enable_wizarddlg+set}" = set; then
14349 enableval=$enable_wizarddlg;
14350 if test "$enableval" = yes; then
14351 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14353 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14360 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14361 if test "x$LINE" != x ; then
14362 eval "DEFAULT_$LINE"
14365 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14370 eval "$wx_cv_use_wizarddlg"
14371 if test "x$cache" = xyes; then
14372 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14375 if test x"$enablestring" = xdisable; then
14376 if test $wxUSE_WIZARDDLG = yes; then
14382 result=$wxUSE_WIZARDDLG
14385 { echo "$as_me:$LINENO: result: $result" >&5
14386 echo "${ECHO_T}$result" >&6; }
14392 defaultval=$wxUSE_ALL_FEATURES
14393 if test -z "$defaultval"; then
14394 if test x"$enablestring" = xdisable; then
14401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14402 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14403 # Check whether --enable-menus was given.
14404 if test "${enable_menus+set}" = set; then
14405 enableval=$enable_menus;
14406 if test "$enableval" = yes; then
14407 wx_cv_use_menus='wxUSE_MENUS=yes'
14409 wx_cv_use_menus='wxUSE_MENUS=no'
14416 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14417 if test "x$LINE" != x ; then
14418 eval "DEFAULT_$LINE"
14421 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14426 eval "$wx_cv_use_menus"
14427 if test "x$cache" = xyes; then
14428 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14431 if test x"$enablestring" = xdisable; then
14432 if test $wxUSE_MENUS = yes; then
14438 result=$wxUSE_MENUS
14441 { echo "$as_me:$LINENO: result: $result" >&5
14442 echo "${ECHO_T}$result" >&6; }
14446 defaultval=$wxUSE_ALL_FEATURES
14447 if test -z "$defaultval"; then
14448 if test x"$enablestring" = xdisable; then
14455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14456 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14457 # Check whether --enable-miniframe was given.
14458 if test "${enable_miniframe+set}" = set; then
14459 enableval=$enable_miniframe;
14460 if test "$enableval" = yes; then
14461 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14463 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14470 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14471 if test "x$LINE" != x ; then
14472 eval "DEFAULT_$LINE"
14475 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14480 eval "$wx_cv_use_miniframe"
14481 if test "x$cache" = xyes; then
14482 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14485 if test x"$enablestring" = xdisable; then
14486 if test $wxUSE_MINIFRAME = yes; then
14492 result=$wxUSE_MINIFRAME
14495 { echo "$as_me:$LINENO: result: $result" >&5
14496 echo "${ECHO_T}$result" >&6; }
14500 defaultval=$wxUSE_ALL_FEATURES
14501 if test -z "$defaultval"; then
14502 if test x"$enablestring" = xdisable; then
14509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14510 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14511 # Check whether --enable-tooltips was given.
14512 if test "${enable_tooltips+set}" = set; then
14513 enableval=$enable_tooltips;
14514 if test "$enableval" = yes; then
14515 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14517 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14524 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14525 if test "x$LINE" != x ; then
14526 eval "DEFAULT_$LINE"
14529 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14534 eval "$wx_cv_use_tooltips"
14535 if test "x$cache" = xyes; then
14536 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14539 if test x"$enablestring" = xdisable; then
14540 if test $wxUSE_TOOLTIPS = yes; then
14546 result=$wxUSE_TOOLTIPS
14549 { echo "$as_me:$LINENO: result: $result" >&5
14550 echo "${ECHO_T}$result" >&6; }
14554 defaultval=$wxUSE_ALL_FEATURES
14555 if test -z "$defaultval"; then
14556 if test x"$enablestring" = xdisable; then
14563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14564 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14565 # Check whether --enable-splines was given.
14566 if test "${enable_splines+set}" = set; then
14567 enableval=$enable_splines;
14568 if test "$enableval" = yes; then
14569 wx_cv_use_splines='wxUSE_SPLINES=yes'
14571 wx_cv_use_splines='wxUSE_SPLINES=no'
14578 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14579 if test "x$LINE" != x ; then
14580 eval "DEFAULT_$LINE"
14583 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14588 eval "$wx_cv_use_splines"
14589 if test "x$cache" = xyes; then
14590 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14593 if test x"$enablestring" = xdisable; then
14594 if test $wxUSE_SPLINES = yes; then
14600 result=$wxUSE_SPLINES
14603 { echo "$as_me:$LINENO: result: $result" >&5
14604 echo "${ECHO_T}$result" >&6; }
14608 defaultval=$wxUSE_ALL_FEATURES
14609 if test -z "$defaultval"; then
14610 if test x"$enablestring" = xdisable; then
14617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14618 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14619 # Check whether --enable-mousewheel was given.
14620 if test "${enable_mousewheel+set}" = set; then
14621 enableval=$enable_mousewheel;
14622 if test "$enableval" = yes; then
14623 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14625 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14632 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14633 if test "x$LINE" != x ; then
14634 eval "DEFAULT_$LINE"
14637 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14642 eval "$wx_cv_use_mousewheel"
14643 if test "x$cache" = xyes; then
14644 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14647 if test x"$enablestring" = xdisable; then
14648 if test $wxUSE_MOUSEWHEEL = yes; then
14654 result=$wxUSE_MOUSEWHEEL
14657 { echo "$as_me:$LINENO: result: $result" >&5
14658 echo "${ECHO_T}$result" >&6; }
14662 defaultval=$wxUSE_ALL_FEATURES
14663 if test -z "$defaultval"; then
14664 if test x"$enablestring" = xdisable; then
14671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14672 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14673 # Check whether --enable-validators was given.
14674 if test "${enable_validators+set}" = set; then
14675 enableval=$enable_validators;
14676 if test "$enableval" = yes; then
14677 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14679 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14686 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14687 if test "x$LINE" != x ; then
14688 eval "DEFAULT_$LINE"
14691 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14696 eval "$wx_cv_use_validators"
14697 if test "x$cache" = xyes; then
14698 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14701 if test x"$enablestring" = xdisable; then
14702 if test $wxUSE_VALIDATORS = yes; then
14708 result=$wxUSE_VALIDATORS
14711 { echo "$as_me:$LINENO: result: $result" >&5
14712 echo "${ECHO_T}$result" >&6; }
14716 defaultval=$wxUSE_ALL_FEATURES
14717 if test -z "$defaultval"; then
14718 if test x"$enablestring" = xdisable; then
14725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14726 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14727 # Check whether --enable-busyinfo was given.
14728 if test "${enable_busyinfo+set}" = set; then
14729 enableval=$enable_busyinfo;
14730 if test "$enableval" = yes; then
14731 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14733 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14740 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14741 if test "x$LINE" != x ; then
14742 eval "DEFAULT_$LINE"
14745 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14750 eval "$wx_cv_use_busyinfo"
14751 if test "x$cache" = xyes; then
14752 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_BUSYINFO = yes; then
14762 result=$wxUSE_BUSYINFO
14765 { echo "$as_me:$LINENO: result: $result" >&5
14766 echo "${ECHO_T}$result" >&6; }
14770 defaultval=$wxUSE_ALL_FEATURES
14771 if test -z "$defaultval"; then
14772 if test x"$enablestring" = xdisable; then
14779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14780 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14781 # Check whether --enable-joystick was given.
14782 if test "${enable_joystick+set}" = set; then
14783 enableval=$enable_joystick;
14784 if test "$enableval" = yes; then
14785 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14787 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14794 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14795 if test "x$LINE" != x ; then
14796 eval "DEFAULT_$LINE"
14799 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14804 eval "$wx_cv_use_joystick"
14805 if test "x$cache" = xyes; then
14806 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14809 if test x"$enablestring" = xdisable; then
14810 if test $wxUSE_JOYSTICK = yes; then
14816 result=$wxUSE_JOYSTICK
14819 { echo "$as_me:$LINENO: result: $result" >&5
14820 echo "${ECHO_T}$result" >&6; }
14824 defaultval=$wxUSE_ALL_FEATURES
14825 if test -z "$defaultval"; then
14826 if test x"$enablestring" = xdisable; then
14833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14834 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14835 # Check whether --enable-metafile was given.
14836 if test "${enable_metafile+set}" = set; then
14837 enableval=$enable_metafile;
14838 if test "$enableval" = yes; then
14839 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14841 wx_cv_use_metafile='wxUSE_METAFILE=no'
14848 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14849 if test "x$LINE" != x ; then
14850 eval "DEFAULT_$LINE"
14853 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14858 eval "$wx_cv_use_metafile"
14859 if test "x$cache" = xyes; then
14860 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14863 if test x"$enablestring" = xdisable; then
14864 if test $wxUSE_METAFILE = yes; then
14870 result=$wxUSE_METAFILE
14873 { echo "$as_me:$LINENO: result: $result" >&5
14874 echo "${ECHO_T}$result" >&6; }
14878 defaultval=$wxUSE_ALL_FEATURES
14879 if test -z "$defaultval"; then
14880 if test x"$enablestring" = xdisable; then
14887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14888 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14889 # Check whether --enable-dragimage was given.
14890 if test "${enable_dragimage+set}" = set; then
14891 enableval=$enable_dragimage;
14892 if test "$enableval" = yes; then
14893 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14895 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14902 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14903 if test "x$LINE" != x ; then
14904 eval "DEFAULT_$LINE"
14907 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14912 eval "$wx_cv_use_dragimage"
14913 if test "x$cache" = xyes; then
14914 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14917 if test x"$enablestring" = xdisable; then
14918 if test $wxUSE_DRAGIMAGE = yes; then
14924 result=$wxUSE_DRAGIMAGE
14927 { echo "$as_me:$LINENO: result: $result" >&5
14928 echo "${ECHO_T}$result" >&6; }
14932 defaultval=$wxUSE_ALL_FEATURES
14933 if test -z "$defaultval"; then
14934 if test x"$enablestring" = xdisable; then
14941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14942 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14943 # Check whether --enable-accessibility was given.
14944 if test "${enable_accessibility+set}" = set; then
14945 enableval=$enable_accessibility;
14946 if test "$enableval" = yes; then
14947 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14949 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14956 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14957 if test "x$LINE" != x ; then
14958 eval "DEFAULT_$LINE"
14961 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14966 eval "$wx_cv_use_accessibility"
14967 if test "x$cache" = xyes; then
14968 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14971 if test x"$enablestring" = xdisable; then
14972 if test $wxUSE_ACCESSIBILITY = yes; then
14978 result=$wxUSE_ACCESSIBILITY
14981 { echo "$as_me:$LINENO: result: $result" >&5
14982 echo "${ECHO_T}$result" >&6; }
14988 defaultval=$wxUSE_ALL_FEATURES
14989 if test -z "$defaultval"; then
14990 if test x"$enablestring" = xdisable; then
14997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14998 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14999 # Check whether --enable-palette was given.
15000 if test "${enable_palette+set}" = set; then
15001 enableval=$enable_palette;
15002 if test "$enableval" = yes; then
15003 wx_cv_use_palette='wxUSE_PALETTE=yes'
15005 wx_cv_use_palette='wxUSE_PALETTE=no'
15012 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15013 if test "x$LINE" != x ; then
15014 eval "DEFAULT_$LINE"
15017 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15022 eval "$wx_cv_use_palette"
15023 if test "x$cache" = xyes; then
15024 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15027 if test x"$enablestring" = xdisable; then
15028 if test $wxUSE_PALETTE = yes; then
15034 result=$wxUSE_PALETTE
15037 { echo "$as_me:$LINENO: result: $result" >&5
15038 echo "${ECHO_T}$result" >&6; }
15042 defaultval=$wxUSE_ALL_FEATURES
15043 if test -z "$defaultval"; then
15044 if test x"$enablestring" = xdisable; then
15051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15052 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15053 # Check whether --enable-image was given.
15054 if test "${enable_image+set}" = set; then
15055 enableval=$enable_image;
15056 if test "$enableval" = yes; then
15057 wx_cv_use_image='wxUSE_IMAGE=yes'
15059 wx_cv_use_image='wxUSE_IMAGE=no'
15066 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15067 if test "x$LINE" != x ; then
15068 eval "DEFAULT_$LINE"
15071 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15076 eval "$wx_cv_use_image"
15077 if test "x$cache" = xyes; then
15078 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15081 if test x"$enablestring" = xdisable; then
15082 if test $wxUSE_IMAGE = yes; then
15088 result=$wxUSE_IMAGE
15091 { echo "$as_me:$LINENO: result: $result" >&5
15092 echo "${ECHO_T}$result" >&6; }
15096 defaultval=$wxUSE_ALL_FEATURES
15097 if test -z "$defaultval"; then
15098 if test x"$enablestring" = xdisable; then
15105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15106 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15107 # Check whether --enable-gif was given.
15108 if test "${enable_gif+set}" = set; then
15109 enableval=$enable_gif;
15110 if test "$enableval" = yes; then
15111 wx_cv_use_gif='wxUSE_GIF=yes'
15113 wx_cv_use_gif='wxUSE_GIF=no'
15120 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15121 if test "x$LINE" != x ; then
15122 eval "DEFAULT_$LINE"
15125 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15130 eval "$wx_cv_use_gif"
15131 if test "x$cache" = xyes; then
15132 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15135 if test x"$enablestring" = xdisable; then
15136 if test $wxUSE_GIF = yes; then
15145 { echo "$as_me:$LINENO: result: $result" >&5
15146 echo "${ECHO_T}$result" >&6; }
15150 defaultval=$wxUSE_ALL_FEATURES
15151 if test -z "$defaultval"; then
15152 if test x"$enablestring" = xdisable; then
15159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15160 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15161 # Check whether --enable-pcx was given.
15162 if test "${enable_pcx+set}" = set; then
15163 enableval=$enable_pcx;
15164 if test "$enableval" = yes; then
15165 wx_cv_use_pcx='wxUSE_PCX=yes'
15167 wx_cv_use_pcx='wxUSE_PCX=no'
15174 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15175 if test "x$LINE" != x ; then
15176 eval "DEFAULT_$LINE"
15179 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15184 eval "$wx_cv_use_pcx"
15185 if test "x$cache" = xyes; then
15186 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15189 if test x"$enablestring" = xdisable; then
15190 if test $wxUSE_PCX = yes; then
15199 { echo "$as_me:$LINENO: result: $result" >&5
15200 echo "${ECHO_T}$result" >&6; }
15204 defaultval=$wxUSE_ALL_FEATURES
15205 if test -z "$defaultval"; then
15206 if test x"$enablestring" = xdisable; then
15213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15214 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15215 # Check whether --enable-tga was given.
15216 if test "${enable_tga+set}" = set; then
15217 enableval=$enable_tga;
15218 if test "$enableval" = yes; then
15219 wx_cv_use_tga='wxUSE_TGA=yes'
15221 wx_cv_use_tga='wxUSE_TGA=no'
15228 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15229 if test "x$LINE" != x ; then
15230 eval "DEFAULT_$LINE"
15233 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15238 eval "$wx_cv_use_tga"
15239 if test "x$cache" = xyes; then
15240 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15243 if test x"$enablestring" = xdisable; then
15244 if test $wxUSE_TGA = yes; then
15253 { echo "$as_me:$LINENO: result: $result" >&5
15254 echo "${ECHO_T}$result" >&6; }
15258 defaultval=$wxUSE_ALL_FEATURES
15259 if test -z "$defaultval"; then
15260 if test x"$enablestring" = xdisable; then
15267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15268 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15269 # Check whether --enable-iff was given.
15270 if test "${enable_iff+set}" = set; then
15271 enableval=$enable_iff;
15272 if test "$enableval" = yes; then
15273 wx_cv_use_iff='wxUSE_IFF=yes'
15275 wx_cv_use_iff='wxUSE_IFF=no'
15282 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15283 if test "x$LINE" != x ; then
15284 eval "DEFAULT_$LINE"
15287 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15292 eval "$wx_cv_use_iff"
15293 if test "x$cache" = xyes; then
15294 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15297 if test x"$enablestring" = xdisable; then
15298 if test $wxUSE_IFF = yes; then
15307 { echo "$as_me:$LINENO: result: $result" >&5
15308 echo "${ECHO_T}$result" >&6; }
15312 defaultval=$wxUSE_ALL_FEATURES
15313 if test -z "$defaultval"; then
15314 if test x"$enablestring" = xdisable; then
15321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15322 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15323 # Check whether --enable-pnm was given.
15324 if test "${enable_pnm+set}" = set; then
15325 enableval=$enable_pnm;
15326 if test "$enableval" = yes; then
15327 wx_cv_use_pnm='wxUSE_PNM=yes'
15329 wx_cv_use_pnm='wxUSE_PNM=no'
15336 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15337 if test "x$LINE" != x ; then
15338 eval "DEFAULT_$LINE"
15341 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15346 eval "$wx_cv_use_pnm"
15347 if test "x$cache" = xyes; then
15348 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15351 if test x"$enablestring" = xdisable; then
15352 if test $wxUSE_PNM = yes; then
15361 { echo "$as_me:$LINENO: result: $result" >&5
15362 echo "${ECHO_T}$result" >&6; }
15366 defaultval=$wxUSE_ALL_FEATURES
15367 if test -z "$defaultval"; then
15368 if test x"$enablestring" = xdisable; then
15375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15376 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15377 # Check whether --enable-xpm was given.
15378 if test "${enable_xpm+set}" = set; then
15379 enableval=$enable_xpm;
15380 if test "$enableval" = yes; then
15381 wx_cv_use_xpm='wxUSE_XPM=yes'
15383 wx_cv_use_xpm='wxUSE_XPM=no'
15390 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15391 if test "x$LINE" != x ; then
15392 eval "DEFAULT_$LINE"
15395 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15400 eval "$wx_cv_use_xpm"
15401 if test "x$cache" = xyes; then
15402 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15405 if test x"$enablestring" = xdisable; then
15406 if test $wxUSE_XPM = yes; then
15415 { echo "$as_me:$LINENO: result: $result" >&5
15416 echo "${ECHO_T}$result" >&6; }
15420 defaultval=$wxUSE_ALL_FEATURES
15421 if test -z "$defaultval"; then
15422 if test x"$enablestring" = xdisable; then
15429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15430 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15431 # Check whether --enable-ico_cur was given.
15432 if test "${enable_ico_cur+set}" = set; then
15433 enableval=$enable_ico_cur;
15434 if test "$enableval" = yes; then
15435 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15437 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15444 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15445 if test "x$LINE" != x ; then
15446 eval "DEFAULT_$LINE"
15449 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15454 eval "$wx_cv_use_ico_cur"
15455 if test "x$cache" = xyes; then
15456 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15459 if test x"$enablestring" = xdisable; then
15460 if test $wxUSE_ICO_CUR = yes; then
15466 result=$wxUSE_ICO_CUR
15469 { echo "$as_me:$LINENO: result: $result" >&5
15470 echo "${ECHO_T}$result" >&6; }
15476 defaultval=$wxUSE_ALL_FEATURES
15477 if test -z "$defaultval"; then
15478 if test x"$enablestring" = xdisable; then
15485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15486 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15487 # Check whether --enable-dccache was given.
15488 if test "${enable_dccache+set}" = set; then
15489 enableval=$enable_dccache;
15490 if test "$enableval" = yes; then
15491 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15493 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15500 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15501 if test "x$LINE" != x ; then
15502 eval "DEFAULT_$LINE"
15505 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15510 eval "$wx_cv_use_dccache"
15511 if test "x$cache" = xyes; then
15512 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15515 if test x"$enablestring" = xdisable; then
15516 if test $wxUSE_DC_CACHEING = yes; then
15522 result=$wxUSE_DC_CACHEING
15525 { echo "$as_me:$LINENO: result: $result" >&5
15526 echo "${ECHO_T}$result" >&6; }
15530 defaultval=$wxUSE_ALL_FEATURES
15531 if test -z "$defaultval"; then
15532 if test x"$enablestring" = xdisable; then
15539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15540 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
15541 # Check whether --enable-ps-in-msw was given.
15542 if test "${enable_ps_in_msw+set}" = set; then
15543 enableval=$enable_ps_in_msw;
15544 if test "$enableval" = yes; then
15545 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15547 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15554 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15555 if test "x$LINE" != x ; then
15556 eval "DEFAULT_$LINE"
15559 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15564 eval "$wx_cv_use_ps_in_msw"
15565 if test "x$cache" = xyes; then
15566 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15569 if test x"$enablestring" = xdisable; then
15570 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15576 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15579 { echo "$as_me:$LINENO: result: $result" >&5
15580 echo "${ECHO_T}$result" >&6; }
15584 defaultval=$wxUSE_ALL_FEATURES
15585 if test -z "$defaultval"; then
15586 if test x"$enablestring" = xdisable; then
15593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
15594 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
15595 # Check whether --enable-ownerdrawn was given.
15596 if test "${enable_ownerdrawn+set}" = set; then
15597 enableval=$enable_ownerdrawn;
15598 if test "$enableval" = yes; then
15599 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15601 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15608 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
15609 if test "x$LINE" != x ; then
15610 eval "DEFAULT_$LINE"
15613 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15618 eval "$wx_cv_use_ownerdrawn"
15619 if test "x$cache" = xyes; then
15620 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
15623 if test x"$enablestring" = xdisable; then
15624 if test $wxUSE_OWNER_DRAWN = yes; then
15630 result=$wxUSE_OWNER_DRAWN
15633 { echo "$as_me:$LINENO: result: $result" >&5
15634 echo "${ECHO_T}$result" >&6; }
15638 defaultval=$wxUSE_ALL_FEATURES
15639 if test -z "$defaultval"; then
15640 if test x"$enablestring" = xdisable; then
15647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15648 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15649 # Check whether --enable-regkey was given.
15650 if test "${enable_regkey+set}" = set; then
15651 enableval=$enable_regkey;
15652 if test "$enableval" = yes; then
15653 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15655 wx_cv_use_regkey='wxUSE_REGKEY=no'
15662 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15663 if test "x$LINE" != x ; then
15664 eval "DEFAULT_$LINE"
15667 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15672 eval "$wx_cv_use_regkey"
15673 if test "x$cache" = xyes; then
15674 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15677 if test x"$enablestring" = xdisable; then
15678 if test $wxUSE_REGKEY = yes; then
15684 result=$wxUSE_REGKEY
15687 { echo "$as_me:$LINENO: result: $result" >&5
15688 echo "${ECHO_T}$result" >&6; }
15692 defaultval=$wxUSE_ALL_FEATURES
15693 if test -z "$defaultval"; then
15694 if test x"$enablestring" = xdisable; then
15701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15702 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15703 # Check whether --enable-uxtheme was given.
15704 if test "${enable_uxtheme+set}" = set; then
15705 enableval=$enable_uxtheme;
15706 if test "$enableval" = yes; then
15707 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15709 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15716 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15717 if test "x$LINE" != x ; then
15718 eval "DEFAULT_$LINE"
15721 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15726 eval "$wx_cv_use_uxtheme"
15727 if test "x$cache" = xyes; then
15728 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15731 if test x"$enablestring" = xdisable; then
15732 if test $wxUSE_UXTHEME = yes; then
15738 result=$wxUSE_UXTHEME
15741 { echo "$as_me:$LINENO: result: $result" >&5
15742 echo "${ECHO_T}$result" >&6; }
15746 defaultval=$wxUSE_ALL_FEATURES
15747 if test -z "$defaultval"; then
15748 if test x"$enablestring" = xdisable; then
15755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15756 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15757 # Check whether --enable-wxdib was given.
15758 if test "${enable_wxdib+set}" = set; then
15759 enableval=$enable_wxdib;
15760 if test "$enableval" = yes; then
15761 wx_cv_use_wxdib='wxUSE_DIB=yes'
15763 wx_cv_use_wxdib='wxUSE_DIB=no'
15770 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15771 if test "x$LINE" != x ; then
15772 eval "DEFAULT_$LINE"
15775 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15780 eval "$wx_cv_use_wxdib"
15781 if test "x$cache" = xyes; then
15782 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15785 if test x"$enablestring" = xdisable; then
15786 if test $wxUSE_DIB = yes; then
15795 { echo "$as_me:$LINENO: result: $result" >&5
15796 echo "${ECHO_T}$result" >&6; }
15802 echo "saving argument cache $wx_arg_cache_file"
15803 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15807 { echo "$as_me:$LINENO: checking for toolkit" >&5
15808 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15810 # In Wine, we need to default to MSW, not GTK or MOTIF
15811 if test "$wxUSE_WINE" = "yes"; then
15812 DEFAULT_DEFAULT_wxUSE_GTK=0
15813 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15814 DEFAULT_DEFAULT_wxUSE_MSW=1
15817 CXX=${CXX:-wineg++}
15821 if test "$wxUSE_GUI" = "yes"; then
15823 if test "$USE_BEOS" = 1; then
15824 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15825 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15826 { (exit 1); exit 1; }; }
15829 if test "$TOOLKIT_GIVEN" = 1; then
15830 for toolkit in `echo $ALL_TOOLKITS`; do
15832 eval "value=\$${var}"
15833 if test "x$value" = "xno"; then
15835 elif test "x$value" != "x"; then
15839 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15840 eval "wx${toolkit}_VERSION=$value"
15844 for toolkit in `echo $ALL_TOOLKITS`; do
15845 if test "$has_toolkit_in_cache" != 1; then
15846 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15848 var=DEFAULT_wxUSE_$toolkit
15850 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15851 if test "x$version" != "x"; then
15852 eval "wx${toolkit}_VERSION=$version"
15855 eval "wxUSE_$toolkit=\$${var}"
15859 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15860 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15861 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15864 *-pc-os2_emx | *-pc-os2-emx )
15865 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15868 case "$NUM_TOOLKITS" in
15872 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15873 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15874 { (exit 1); exit 1; }; }
15877 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15878 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15879 { (exit 1); exit 1; }; }
15882 # to be removed when --disable-gtk2 isn't needed
15883 if test "x$wxUSE_GTK2" = "xyes"; then
15885 elif test "x$wxUSE_GTK2" = "xno"; then
15889 for toolkit in `echo $ALL_TOOLKITS`; do
15891 eval "value=\$${var}"
15892 if test "x$value" != x; then
15893 cache_var=CACHE_$toolkit
15894 eval "cache=\$${cache_var}"
15895 if test "$cache" = 1; then
15896 echo "$var=$value" >> ${wx_arg_cache_file}
15897 eval "version=\$wx${toolkit}_VERSION"
15898 if test "x$version" != "x"; then
15899 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15902 if test "$value" = 1; then
15903 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15904 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15905 echo "${ECHO_T}$toolkit_echo" >&6; }
15910 if test "x$host_alias" != "x"; then
15911 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15912 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15914 { echo "$as_me:$LINENO: result: base only" >&5
15915 echo "${ECHO_T}base only" >&6; }
15920 cat >confcache <<\_ACEOF
15921 # This file is a shell script that caches the results of configure
15922 # tests run on this system so they can be shared between configure
15923 # scripts and configure runs, see configure's option --config-cache.
15924 # It is not useful on other systems. If it contains results you don't
15925 # want to keep, you may remove or edit it.
15927 # config.status only pays attention to the cache file if you give it
15928 # the --recheck option to rerun configure.
15930 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15931 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15932 # following values.
15936 # The following way of writing the cache mishandles newlines in values,
15937 # but we know of no workaround that is simple, portable, and efficient.
15938 # So, we kill variables containing newlines.
15939 # Ultrix sh set writes to stderr and can't be redirected directly,
15940 # and sets the high bit in the cache file unless we assign to the vars.
15942 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15943 eval ac_val=\$$ac_var
15947 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15948 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15951 _ | IFS | as_nl) ;; #(
15952 *) $as_unset $ac_var ;;
15958 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15959 *${as_nl}ac_space=\ *)
15960 # `set' does not quote correctly, so add quotes (double-quote
15961 # substitution turns \\\\ into \\, and sed turns \\ into \).
15964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15967 # `set' quotes correctly as required by POSIX, so do not add quotes.
15968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15979 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15981 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15982 if test -w "$cache_file"; then
15983 test "x$cache_file" != "x/dev/null" &&
15984 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15985 echo "$as_me: updating cache $cache_file" >&6;}
15986 cat confcache >$cache_file
15988 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15989 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15999 ac_cpp='$CPP $CPPFLAGS'
16000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16003 if test -n "$ac_tool_prefix"; then
16004 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16005 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16008 if test "${ac_cv_prog_CC+set}" = set; then
16009 echo $ECHO_N "(cached) $ECHO_C" >&6
16011 if test -n "$CC"; then
16012 ac_cv_prog_CC="$CC" # Let the user override the test.
16014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16015 for as_dir in $PATH
16018 test -z "$as_dir" && as_dir=.
16019 for ac_exec_ext in '' $ac_executable_extensions; do
16020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16021 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16032 if test -n "$CC"; then
16033 { echo "$as_me:$LINENO: result: $CC" >&5
16034 echo "${ECHO_T}$CC" >&6; }
16036 { echo "$as_me:$LINENO: result: no" >&5
16037 echo "${ECHO_T}no" >&6; }
16042 if test -z "$ac_cv_prog_CC"; then
16044 # Extract the first word of "gcc", so it can be a program name with args.
16045 set dummy gcc; ac_word=$2
16046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16048 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16049 echo $ECHO_N "(cached) $ECHO_C" >&6
16051 if test -n "$ac_ct_CC"; then
16052 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16055 for as_dir in $PATH
16058 test -z "$as_dir" && as_dir=.
16059 for ac_exec_ext in '' $ac_executable_extensions; do
16060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16061 ac_cv_prog_ac_ct_CC="gcc"
16062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16071 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16072 if test -n "$ac_ct_CC"; then
16073 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16074 echo "${ECHO_T}$ac_ct_CC" >&6; }
16076 { echo "$as_me:$LINENO: result: no" >&5
16077 echo "${ECHO_T}no" >&6; }
16080 if test "x$ac_ct_CC" = x; then
16083 case $cross_compiling:$ac_tool_warned in
16085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16086 whose name does not start with the host triplet. If you think this
16087 configuration is useful to you, please write to autoconf@gnu.org." >&5
16088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16089 whose name does not start with the host triplet. If you think this
16090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16091 ac_tool_warned=yes ;;
16096 CC="$ac_cv_prog_CC"
16099 if test -z "$CC"; then
16100 if test -n "$ac_tool_prefix"; then
16101 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16102 set dummy ${ac_tool_prefix}cc; ac_word=$2
16103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16105 if test "${ac_cv_prog_CC+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16108 if test -n "$CC"; then
16109 ac_cv_prog_CC="$CC" # Let the user override the test.
16111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16112 for as_dir in $PATH
16115 test -z "$as_dir" && as_dir=.
16116 for ac_exec_ext in '' $ac_executable_extensions; do
16117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16118 ac_cv_prog_CC="${ac_tool_prefix}cc"
16119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16129 if test -n "$CC"; then
16130 { echo "$as_me:$LINENO: result: $CC" >&5
16131 echo "${ECHO_T}$CC" >&6; }
16133 { echo "$as_me:$LINENO: result: no" >&5
16134 echo "${ECHO_T}no" >&6; }
16140 if test -z "$CC"; then
16141 # Extract the first word of "cc", so it can be a program name with args.
16142 set dummy cc; ac_word=$2
16143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16145 if test "${ac_cv_prog_CC+set}" = set; then
16146 echo $ECHO_N "(cached) $ECHO_C" >&6
16148 if test -n "$CC"; then
16149 ac_cv_prog_CC="$CC" # Let the user override the test.
16151 ac_prog_rejected=no
16152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16153 for as_dir in $PATH
16156 test -z "$as_dir" && as_dir=.
16157 for ac_exec_ext in '' $ac_executable_extensions; do
16158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16159 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16160 ac_prog_rejected=yes
16164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16171 if test $ac_prog_rejected = yes; then
16172 # We found a bogon in the path, so make sure we never use it.
16173 set dummy $ac_cv_prog_CC
16175 if test $# != 0; then
16176 # We chose a different compiler from the bogus one.
16177 # However, it has the same basename, so the bogon will be chosen
16178 # first if we set CC to just the basename; use the full file name.
16180 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16186 if test -n "$CC"; then
16187 { echo "$as_me:$LINENO: result: $CC" >&5
16188 echo "${ECHO_T}$CC" >&6; }
16190 { echo "$as_me:$LINENO: result: no" >&5
16191 echo "${ECHO_T}no" >&6; }
16196 if test -z "$CC"; then
16197 if test -n "$ac_tool_prefix"; then
16198 for ac_prog in cl.exe
16200 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16201 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16204 if test "${ac_cv_prog_CC+set}" = set; then
16205 echo $ECHO_N "(cached) $ECHO_C" >&6
16207 if test -n "$CC"; then
16208 ac_cv_prog_CC="$CC" # Let the user override the test.
16210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16211 for as_dir in $PATH
16214 test -z "$as_dir" && as_dir=.
16215 for ac_exec_ext in '' $ac_executable_extensions; do
16216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16217 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16228 if test -n "$CC"; then
16229 { echo "$as_me:$LINENO: result: $CC" >&5
16230 echo "${ECHO_T}$CC" >&6; }
16232 { echo "$as_me:$LINENO: result: no" >&5
16233 echo "${ECHO_T}no" >&6; }
16237 test -n "$CC" && break
16240 if test -z "$CC"; then
16242 for ac_prog in cl.exe
16244 # Extract the first word of "$ac_prog", so it can be a program name with args.
16245 set dummy $ac_prog; ac_word=$2
16246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16248 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16249 echo $ECHO_N "(cached) $ECHO_C" >&6
16251 if test -n "$ac_ct_CC"; then
16252 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16255 for as_dir in $PATH
16258 test -z "$as_dir" && as_dir=.
16259 for ac_exec_ext in '' $ac_executable_extensions; do
16260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16261 ac_cv_prog_ac_ct_CC="$ac_prog"
16262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16271 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16272 if test -n "$ac_ct_CC"; then
16273 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16274 echo "${ECHO_T}$ac_ct_CC" >&6; }
16276 { echo "$as_me:$LINENO: result: no" >&5
16277 echo "${ECHO_T}no" >&6; }
16281 test -n "$ac_ct_CC" && break
16284 if test "x$ac_ct_CC" = x; then
16287 case $cross_compiling:$ac_tool_warned in
16289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16290 whose name does not start with the host triplet. If you think this
16291 configuration is useful to you, please write to autoconf@gnu.org." >&5
16292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16293 whose name does not start with the host triplet. If you think this
16294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16295 ac_tool_warned=yes ;;
16304 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16305 See \`config.log' for more details." >&5
16306 echo "$as_me: error: no acceptable C compiler found in \$PATH
16307 See \`config.log' for more details." >&2;}
16308 { (exit 1); exit 1; }; }
16310 # Provide some information about the compiler.
16311 echo "$as_me:$LINENO: checking for C compiler version" >&5
16312 ac_compiler=`set X $ac_compile; echo $2`
16313 { (ac_try="$ac_compiler --version >&5"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compiler --version >&5") 2>&5
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); }
16323 { (ac_try="$ac_compiler -v >&5"
16324 case "(($ac_try" in
16325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16326 *) ac_try_echo=$ac_try;;
16328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16329 (eval "$ac_compiler -v >&5") 2>&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }
16333 { (ac_try="$ac_compiler -V >&5"
16334 case "(($ac_try" in
16335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16336 *) ac_try_echo=$ac_try;;
16338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16339 (eval "$ac_compiler -V >&5") 2>&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); }
16344 cat >conftest.$ac_ext <<_ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16359 ac_clean_files_save=$ac_clean_files
16360 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16361 # Try to create an executable without -o first, disregard a.out.
16362 # It will help us diagnose broken compilers, and finding out an intuition
16364 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16365 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16366 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16368 # List of possible output files, starting from the most likely.
16369 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16370 # only as a last resort. b.out is created by i960 compilers.
16371 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16373 # The IRIX 6 linker writes into existing files which may not be
16374 # executable, retaining their permissions. Remove them first so a
16375 # subsequent execution test works.
16377 for ac_file in $ac_files
16380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16381 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16386 if { (ac_try="$ac_link_default"
16387 case "(($ac_try" in
16388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16389 *) ac_try_echo=$ac_try;;
16391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16392 (eval "$ac_link_default") 2>&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; then
16396 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16397 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16398 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16399 # so that the user can short-circuit this test for compilers unknown to
16401 for ac_file in $ac_files ''
16403 test -f "$ac_file" || continue
16405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16408 # We found the default executable, but exeext='' is most
16412 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16414 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16416 # We set ac_cv_exeext here because the later test for it is not
16417 # safe: cross compilers may not add the suffix if given an `-o'
16418 # argument, so we may need to know it at that point already.
16419 # Even if this section looks crufty: it has the advantage of
16420 # actually working.
16426 test "$ac_cv_exeext" = no && ac_cv_exeext=
16432 { echo "$as_me:$LINENO: result: $ac_file" >&5
16433 echo "${ECHO_T}$ac_file" >&6; }
16434 if test -z "$ac_file"; then
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.$ac_ext >&5
16438 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16439 See \`config.log' for more details." >&5
16440 echo "$as_me: error: C compiler cannot create executables
16441 See \`config.log' for more details." >&2;}
16442 { (exit 77); exit 77; }; }
16445 ac_exeext=$ac_cv_exeext
16447 # Check that the compiler produces executables we can run. If not, either
16448 # the compiler is broken, or we cross compile.
16449 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16450 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16451 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16452 # If not cross compiling, check that we can run a simple program.
16453 if test "$cross_compiling" != yes; then
16454 if { ac_try='./$ac_file'
16455 { (case "(($ac_try" in
16456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_try") 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; }; then
16466 if test "$cross_compiling" = maybe; then
16467 cross_compiling=yes
16469 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16470 If you meant to cross compile, use \`--host'.
16471 See \`config.log' for more details." >&5
16472 echo "$as_me: error: cannot run C compiled programs.
16473 If you meant to cross compile, use \`--host'.
16474 See \`config.log' for more details." >&2;}
16475 { (exit 1); exit 1; }; }
16479 { echo "$as_me:$LINENO: result: yes" >&5
16480 echo "${ECHO_T}yes" >&6; }
16482 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16483 ac_clean_files=$ac_clean_files_save
16484 # Check that the compiler produces executables we can run. If not, either
16485 # the compiler is broken, or we cross compile.
16486 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16487 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16488 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16489 echo "${ECHO_T}$cross_compiling" >&6; }
16491 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16492 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16493 if { (ac_try="$ac_link"
16494 case "(($ac_try" in
16495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16496 *) ac_try_echo=$ac_try;;
16498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16499 (eval "$ac_link") 2>&5
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; then
16503 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16504 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16505 # work properly (i.e., refer to `conftest.exe'), while it won't with
16507 for ac_file in conftest.exe conftest conftest.*; do
16508 test -f "$ac_file" || continue
16510 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16511 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16517 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16518 See \`config.log' for more details." >&5
16519 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16520 See \`config.log' for more details." >&2;}
16521 { (exit 1); exit 1; }; }
16524 rm -f conftest$ac_cv_exeext
16525 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16526 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16528 rm -f conftest.$ac_ext
16529 EXEEXT=$ac_cv_exeext
16531 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16532 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16533 if test "${ac_cv_objext+set}" = set; then
16534 echo $ECHO_N "(cached) $ECHO_C" >&6
16536 cat >conftest.$ac_ext <<_ACEOF
16539 cat confdefs.h >>conftest.$ac_ext
16540 cat >>conftest.$ac_ext <<_ACEOF
16541 /* end confdefs.h. */
16551 rm -f conftest.o conftest.obj
16552 if { (ac_try="$ac_compile"
16553 case "(($ac_try" in
16554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16555 *) ac_try_echo=$ac_try;;
16557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16558 (eval "$ac_compile") 2>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; then
16562 for ac_file in conftest.o conftest.obj conftest.*; do
16563 test -f "$ac_file" || continue;
16565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16566 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16574 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16575 See \`config.log' for more details." >&5
16576 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16577 See \`config.log' for more details." >&2;}
16578 { (exit 1); exit 1; }; }
16581 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16583 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16584 echo "${ECHO_T}$ac_cv_objext" >&6; }
16585 OBJEXT=$ac_cv_objext
16587 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16588 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16589 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16590 echo $ECHO_N "(cached) $ECHO_C" >&6
16592 cat >conftest.$ac_ext <<_ACEOF
16595 cat confdefs.h >>conftest.$ac_ext
16596 cat >>conftest.$ac_ext <<_ACEOF
16597 /* end confdefs.h. */
16610 rm -f conftest.$ac_objext
16611 if { (ac_try="$ac_compile"
16612 case "(($ac_try" in
16613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_compile") 2>conftest.er1
16619 grep -v '^ *+' conftest.er1 >conftest.err
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_c_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest.$ac_objext; then
16627 ac_compiler_gnu=yes
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16639 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16640 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16641 GCC=`test $ac_compiler_gnu = yes && echo yes`
16642 ac_test_CFLAGS=${CFLAGS+set}
16643 ac_save_CFLAGS=$CFLAGS
16644 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16645 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16646 if test "${ac_cv_prog_cc_g+set}" = set; then
16647 echo $ECHO_N "(cached) $ECHO_C" >&6
16649 ac_save_c_werror_flag=$ac_c_werror_flag
16650 ac_c_werror_flag=yes
16653 cat >conftest.$ac_ext <<_ACEOF
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16668 rm -f conftest.$ac_objext
16669 if { (ac_try="$ac_compile"
16670 case "(($ac_try" in
16671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16672 *) ac_try_echo=$ac_try;;
16674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16675 (eval "$ac_compile") 2>conftest.er1
16677 grep -v '^ *+' conftest.er1 >conftest.err
16679 cat conftest.err >&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); } && {
16682 test -z "$ac_c_werror_flag" ||
16683 test ! -s conftest.err
16684 } && test -s conftest.$ac_objext; then
16685 ac_cv_prog_cc_g=yes
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.$ac_ext >&5
16691 cat >conftest.$ac_ext <<_ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16706 rm -f conftest.$ac_objext
16707 if { (ac_try="$ac_compile"
16708 case "(($ac_try" in
16709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16710 *) ac_try_echo=$ac_try;;
16712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16713 (eval "$ac_compile") 2>conftest.er1
16715 grep -v '^ *+' conftest.er1 >conftest.err
16717 cat conftest.err >&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } && {
16720 test -z "$ac_c_werror_flag" ||
16721 test ! -s conftest.err
16722 } && test -s conftest.$ac_objext; then
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16728 ac_c_werror_flag=$ac_save_c_werror_flag
16730 cat >conftest.$ac_ext <<_ACEOF
16733 cat confdefs.h >>conftest.$ac_ext
16734 cat >>conftest.$ac_ext <<_ACEOF
16735 /* end confdefs.h. */
16745 rm -f conftest.$ac_objext
16746 if { (ac_try="$ac_compile"
16747 case "(($ac_try" in
16748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16749 *) ac_try_echo=$ac_try;;
16751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16752 (eval "$ac_compile") 2>conftest.er1
16754 grep -v '^ *+' conftest.er1 >conftest.err
16756 cat conftest.err >&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); } && {
16759 test -z "$ac_c_werror_flag" ||
16760 test ! -s conftest.err
16761 } && test -s conftest.$ac_objext; then
16762 ac_cv_prog_cc_g=yes
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.$ac_ext >&5
16770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16777 ac_c_werror_flag=$ac_save_c_werror_flag
16779 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16780 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16781 if test "$ac_test_CFLAGS" = set; then
16782 CFLAGS=$ac_save_CFLAGS
16783 elif test $ac_cv_prog_cc_g = yes; then
16784 if test "$GCC" = yes; then
16790 if test "$GCC" = yes; then
16796 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16797 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16798 if test "${ac_cv_prog_cc_c89+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 ac_cv_prog_cc_c89=no
16803 cat >conftest.$ac_ext <<_ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809 #include <stdarg.h>
16811 #include <sys/types.h>
16812 #include <sys/stat.h>
16813 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16814 struct buf { int x; };
16815 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16816 static char *e (p, i)
16822 static char *f (char * (*g) (char **, int), char **p, ...)
16827 s = g (p, va_arg (v,int));
16832 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16833 function prototypes and stuff, but not '\xHH' hex character constants.
16834 These don't provoke an error unfortunately, instead are silently treated
16835 as 'x'. The following induces an error, until -std is added to get
16836 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16837 array size at least. It's necessary to write '\x00'==0 to get something
16838 that's true only with -std. */
16839 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16841 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16842 inside strings and character constants. */
16844 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16846 int test (int i, double x);
16847 struct s1 {int (*f) (int a);};
16848 struct s2 {int (*f) (double a);};
16849 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16855 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16860 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16861 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16863 CC="$ac_save_CC $ac_arg"
16864 rm -f conftest.$ac_objext
16865 if { (ac_try="$ac_compile"
16866 case "(($ac_try" in
16867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16868 *) ac_try_echo=$ac_try;;
16870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16871 (eval "$ac_compile") 2>conftest.er1
16873 grep -v '^ *+' conftest.er1 >conftest.err
16875 cat conftest.err >&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } && {
16878 test -z "$ac_c_werror_flag" ||
16879 test ! -s conftest.err
16880 } && test -s conftest.$ac_objext; then
16881 ac_cv_prog_cc_c89=$ac_arg
16883 echo "$as_me: failed program was:" >&5
16884 sed 's/^/| /' conftest.$ac_ext >&5
16889 rm -f core conftest.err conftest.$ac_objext
16890 test "x$ac_cv_prog_cc_c89" != "xno" && break
16892 rm -f conftest.$ac_ext
16897 case "x$ac_cv_prog_cc_c89" in
16899 { echo "$as_me:$LINENO: result: none needed" >&5
16900 echo "${ECHO_T}none needed" >&6; } ;;
16902 { echo "$as_me:$LINENO: result: unsupported" >&5
16903 echo "${ECHO_T}unsupported" >&6; } ;;
16905 CC="$CC $ac_cv_prog_cc_c89"
16906 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16907 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16912 ac_cpp='$CPP $CPPFLAGS'
16913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16921 ac_cpp='$CPP $CPPFLAGS'
16922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16926 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16927 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16928 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 cat >conftest.$ac_ext <<_ACEOF
16934 cat confdefs.h >>conftest.$ac_ext
16935 cat >>conftest.$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16942 #ifndef __INTEL_COMPILER
16950 rm -f conftest.$ac_objext
16951 if { (ac_try="$ac_compile"
16952 case "(($ac_try" in
16953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16954 *) ac_try_echo=$ac_try;;
16956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16957 (eval "$ac_compile") 2>conftest.er1
16959 grep -v '^ *+' conftest.er1 >conftest.err
16961 cat conftest.err >&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } && {
16964 test -z "$ac_c_werror_flag" ||
16965 test ! -s conftest.err
16966 } && test -s conftest.$ac_objext; then
16967 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.$ac_ext >&5
16972 bakefile_cv_c_compiler___INTEL_COMPILER=no
16976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16980 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16981 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16982 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16988 ac_cpp='$CPP $CPPFLAGS'
16989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16996 if test "x$GCC" != "xyes"; then
16997 if test "xCC" = "xC"; then
16998 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16999 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17000 if test "${bakefile_cv_c_exto+set}" = set; then
17001 echo $ECHO_N "(cached) $ECHO_C" >&6
17003 cat >conftest.$ac_ext <<_ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17018 rm -f conftest.$ac_objext conftest.$ac_ext.o
17019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17020 (eval $ac_compile) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; then
17024 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17026 conftest.$ac_ext.o)
17027 bakefile_cv_c_exto="-ext o"
17034 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17035 See \`config.log' for more details." >&5
17036 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17037 See \`config.log' for more details." >&2;}
17038 { (exit 1); exit 1; }; }
17042 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17045 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17046 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17047 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17048 if test "c" = "c"; then
17049 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17051 if test "c" = "cxx"; then
17052 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17056 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17057 unset ac_cv_prog_cc_g
17058 ac_test_CFLAGS=${CFLAGS+set}
17059 ac_save_CFLAGS=$CFLAGS
17060 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17061 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17062 if test "${ac_cv_prog_cc_g+set}" = set; then
17063 echo $ECHO_N "(cached) $ECHO_C" >&6
17065 ac_save_c_werror_flag=$ac_c_werror_flag
17066 ac_c_werror_flag=yes
17069 cat >conftest.$ac_ext <<_ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17084 rm -f conftest.$ac_objext
17085 if { (ac_try="$ac_compile"
17086 case "(($ac_try" in
17087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17088 *) ac_try_echo=$ac_try;;
17090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17091 (eval "$ac_compile") 2>conftest.er1
17093 grep -v '^ *+' conftest.er1 >conftest.err
17095 cat conftest.err >&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); } && {
17098 test -z "$ac_c_werror_flag" ||
17099 test ! -s conftest.err
17100 } && test -s conftest.$ac_objext; then
17101 ac_cv_prog_cc_g=yes
17103 echo "$as_me: failed program was:" >&5
17104 sed 's/^/| /' conftest.$ac_ext >&5
17107 cat >conftest.$ac_ext <<_ACEOF
17110 cat confdefs.h >>conftest.$ac_ext
17111 cat >>conftest.$ac_ext <<_ACEOF
17112 /* end confdefs.h. */
17122 rm -f conftest.$ac_objext
17123 if { (ac_try="$ac_compile"
17124 case "(($ac_try" in
17125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17126 *) ac_try_echo=$ac_try;;
17128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17129 (eval "$ac_compile") 2>conftest.er1
17131 grep -v '^ *+' conftest.er1 >conftest.err
17133 cat conftest.err >&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); } && {
17136 test -z "$ac_c_werror_flag" ||
17137 test ! -s conftest.err
17138 } && test -s conftest.$ac_objext; then
17141 echo "$as_me: failed program was:" >&5
17142 sed 's/^/| /' conftest.$ac_ext >&5
17144 ac_c_werror_flag=$ac_save_c_werror_flag
17146 cat >conftest.$ac_ext <<_ACEOF
17149 cat confdefs.h >>conftest.$ac_ext
17150 cat >>conftest.$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17161 rm -f conftest.$ac_objext
17162 if { (ac_try="$ac_compile"
17163 case "(($ac_try" in
17164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17165 *) ac_try_echo=$ac_try;;
17167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17168 (eval "$ac_compile") 2>conftest.er1
17170 grep -v '^ *+' conftest.er1 >conftest.err
17172 cat conftest.err >&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } && {
17175 test -z "$ac_c_werror_flag" ||
17176 test ! -s conftest.err
17177 } && test -s conftest.$ac_objext; then
17178 ac_cv_prog_cc_g=yes
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.$ac_ext >&5
17186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17193 ac_c_werror_flag=$ac_save_c_werror_flag
17195 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17196 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17197 if test "$ac_test_CFLAGS" = set; then
17198 CFLAGS=$ac_save_CFLAGS
17199 elif test $ac_cv_prog_cc_g = yes; then
17200 if test "$GCC" = yes; then
17206 if test "$GCC" = yes; then
17220 ac_cpp='$CPP $CPPFLAGS'
17221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17225 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17226 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17227 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 cat >conftest.$ac_ext <<_ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17249 rm -f conftest.$ac_objext
17250 if { (ac_try="$ac_compile"
17251 case "(($ac_try" in
17252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17253 *) ac_try_echo=$ac_try;;
17255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17256 (eval "$ac_compile") 2>conftest.er1
17258 grep -v '^ *+' conftest.er1 >conftest.err
17260 cat conftest.err >&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } && {
17263 test -z "$ac_c_werror_flag" ||
17264 test ! -s conftest.err
17265 } && test -s conftest.$ac_objext; then
17266 bakefile_cv_c_compiler___xlC__=yes
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.$ac_ext >&5
17271 bakefile_cv_c_compiler___xlC__=no
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17279 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17280 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17281 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17287 ac_cpp='$CPP $CPPFLAGS'
17288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17300 ac_cpp='$CPP $CPPFLAGS'
17301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17305 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17306 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17307 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 cat >conftest.$ac_ext <<_ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17329 rm -f conftest.$ac_objext
17330 if { (ac_try="$ac_compile"
17331 case "(($ac_try" in
17332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17336 (eval "$ac_compile") 2>conftest.er1
17338 grep -v '^ *+' conftest.er1 >conftest.err
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } && {
17343 test -z "$ac_c_werror_flag" ||
17344 test ! -s conftest.err
17345 } && test -s conftest.$ac_objext; then
17346 bakefile_cv_c_compiler___MWERKS__=yes
17348 echo "$as_me: failed program was:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17351 bakefile_cv_c_compiler___MWERKS__=no
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17359 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17360 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17361 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17367 ac_cpp='$CPP $CPPFLAGS'
17368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17377 ac_cpp='$CPP $CPPFLAGS'
17378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17382 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17383 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17384 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17385 echo $ECHO_N "(cached) $ECHO_C" >&6
17387 cat >conftest.$ac_ext <<_ACEOF
17390 cat confdefs.h >>conftest.$ac_ext
17391 cat >>conftest.$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17406 rm -f conftest.$ac_objext
17407 if { (ac_try="$ac_compile"
17408 case "(($ac_try" in
17409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17410 *) ac_try_echo=$ac_try;;
17412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17413 (eval "$ac_compile") 2>conftest.er1
17415 grep -v '^ *+' conftest.er1 >conftest.err
17417 cat conftest.err >&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); } && {
17420 test -z "$ac_c_werror_flag" ||
17421 test ! -s conftest.err
17422 } && test -s conftest.$ac_objext; then
17423 bakefile_cv_c_compiler___xlC__=yes
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.$ac_ext >&5
17428 bakefile_cv_c_compiler___xlC__=no
17432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17436 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17437 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17438 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17444 ac_cpp='$CPP $CPPFLAGS'
17445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17457 ac_cpp='$CPP $CPPFLAGS'
17458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17462 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17463 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17464 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17465 echo $ECHO_N "(cached) $ECHO_C" >&6
17467 cat >conftest.$ac_ext <<_ACEOF
17470 cat confdefs.h >>conftest.$ac_ext
17471 cat >>conftest.$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17478 #ifndef _SGI_COMPILER_VERSION
17486 rm -f conftest.$ac_objext
17487 if { (ac_try="$ac_compile"
17488 case "(($ac_try" in
17489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17490 *) ac_try_echo=$ac_try;;
17492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17493 (eval "$ac_compile") 2>conftest.er1
17495 grep -v '^ *+' conftest.er1 >conftest.err
17497 cat conftest.err >&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } && {
17500 test -z "$ac_c_werror_flag" ||
17501 test ! -s conftest.err
17502 } && test -s conftest.$ac_objext; then
17503 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17508 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17516 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17517 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17518 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17524 ac_cpp='$CPP $CPPFLAGS'
17525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17537 ac_cpp='$CPP $CPPFLAGS'
17538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17542 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17543 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17544 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17545 echo $ECHO_N "(cached) $ECHO_C" >&6
17547 cat >conftest.$ac_ext <<_ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17566 rm -f conftest.$ac_objext
17567 if { (ac_try="$ac_compile"
17568 case "(($ac_try" in
17569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17570 *) ac_try_echo=$ac_try;;
17572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17573 (eval "$ac_compile") 2>conftest.er1
17575 grep -v '^ *+' conftest.er1 >conftest.err
17577 cat conftest.err >&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); } && {
17580 test -z "$ac_c_werror_flag" ||
17581 test ! -s conftest.err
17582 } && test -s conftest.$ac_objext; then
17583 bakefile_cv_c_compiler___SUNPRO_C=yes
17585 echo "$as_me: failed program was:" >&5
17586 sed 's/^/| /' conftest.$ac_ext >&5
17588 bakefile_cv_c_compiler___SUNPRO_C=no
17592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17596 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17597 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17598 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17604 ac_cpp='$CPP $CPPFLAGS'
17605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17617 ac_cpp='$CPP $CPPFLAGS'
17618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17622 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17623 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17624 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17625 echo $ECHO_N "(cached) $ECHO_C" >&6
17627 cat >conftest.$ac_ext <<_ACEOF
17630 cat confdefs.h >>conftest.$ac_ext
17631 cat >>conftest.$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17646 rm -f conftest.$ac_objext
17647 if { (ac_try="$ac_compile"
17648 case "(($ac_try" in
17649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17650 *) ac_try_echo=$ac_try;;
17652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17653 (eval "$ac_compile") 2>conftest.er1
17655 grep -v '^ *+' conftest.er1 >conftest.err
17657 cat conftest.err >&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); } && {
17660 test -z "$ac_c_werror_flag" ||
17661 test ! -s conftest.err
17662 } && test -s conftest.$ac_objext; then
17663 bakefile_cv_c_compiler___HP_cc=yes
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.$ac_ext >&5
17668 bakefile_cv_c_compiler___HP_cc=no
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17677 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17678 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17684 ac_cpp='$CPP $CPPFLAGS'
17685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17697 ac_cpp='$CPP $CPPFLAGS'
17698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17702 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17703 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17704 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17705 echo $ECHO_N "(cached) $ECHO_C" >&6
17707 cat >conftest.$ac_ext <<_ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17726 rm -f conftest.$ac_objext
17727 if { (ac_try="$ac_compile"
17728 case "(($ac_try" in
17729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17730 *) ac_try_echo=$ac_try;;
17732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17733 (eval "$ac_compile") 2>conftest.er1
17735 grep -v '^ *+' conftest.er1 >conftest.err
17737 cat conftest.err >&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); } && {
17740 test -z "$ac_c_werror_flag" ||
17741 test ! -s conftest.err
17742 } && test -s conftest.$ac_objext; then
17743 bakefile_cv_c_compiler___DECC=yes
17745 echo "$as_me: failed program was:" >&5
17746 sed 's/^/| /' conftest.$ac_ext >&5
17748 bakefile_cv_c_compiler___DECC=no
17752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17756 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17757 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17758 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17764 ac_cpp='$CPP $CPPFLAGS'
17765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17777 ac_cpp='$CPP $CPPFLAGS'
17778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17782 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17783 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17784 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17785 echo $ECHO_N "(cached) $ECHO_C" >&6
17787 cat >conftest.$ac_ext <<_ACEOF
17790 cat confdefs.h >>conftest.$ac_ext
17791 cat >>conftest.$ac_ext <<_ACEOF
17792 /* end confdefs.h. */
17806 rm -f conftest.$ac_objext
17807 if { (ac_try="$ac_compile"
17808 case "(($ac_try" in
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_compile") 2>conftest.er1
17815 grep -v '^ *+' conftest.er1 >conftest.err
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_c_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest.$ac_objext; then
17823 bakefile_cv_c_compiler___SUNPRO_C=yes
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17828 bakefile_cv_c_compiler___SUNPRO_C=no
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17837 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17838 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17844 ac_cpp='$CPP $CPPFLAGS'
17845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17858 ac_cpp='$CPP $CPPFLAGS'
17859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17862 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17863 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17864 # On Suns, sometimes $CPP names a directory.
17865 if test -n "$CPP" && test -d "$CPP"; then
17868 if test -z "$CPP"; then
17869 if test "${ac_cv_prog_CPP+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17872 # Double quotes because CPP needs to be expanded
17873 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17875 ac_preproc_ok=false
17876 for ac_c_preproc_warn_flag in '' yes
17878 # Use a header file that comes with gcc, so configuring glibc
17879 # with a fresh cross-compiler works.
17880 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17881 # <limits.h> exists even on freestanding compilers.
17882 # On the NeXT, cc -E runs the code through the compiler's parser,
17883 # not just through cpp. "Syntax error" is here to catch this case.
17884 cat >conftest.$ac_ext <<_ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17891 # include <limits.h>
17893 # include <assert.h>
17897 if { (ac_try="$ac_cpp conftest.$ac_ext"
17898 case "(($ac_try" in
17899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17900 *) ac_try_echo=$ac_try;;
17902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17905 grep -v '^ *+' conftest.er1 >conftest.err
17907 cat conftest.err >&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); } >/dev/null && {
17910 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17911 test ! -s conftest.err
17915 echo "$as_me: failed program was:" >&5
17916 sed 's/^/| /' conftest.$ac_ext >&5
17918 # Broken: fails on valid input.
17922 rm -f conftest.err conftest.$ac_ext
17924 # OK, works on sane cases. Now check whether nonexistent headers
17925 # can be detected and how.
17926 cat >conftest.$ac_ext <<_ACEOF
17929 cat confdefs.h >>conftest.$ac_ext
17930 cat >>conftest.$ac_ext <<_ACEOF
17931 /* end confdefs.h. */
17932 #include <ac_nonexistent.h>
17934 if { (ac_try="$ac_cpp conftest.$ac_ext"
17935 case "(($ac_try" in
17936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17937 *) ac_try_echo=$ac_try;;
17939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17942 grep -v '^ *+' conftest.er1 >conftest.err
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } >/dev/null && {
17947 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17948 test ! -s conftest.err
17950 # Broken: success on invalid input.
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.$ac_ext >&5
17956 # Passes both tests.
17961 rm -f conftest.err conftest.$ac_ext
17964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17965 rm -f conftest.err conftest.$ac_ext
17966 if $ac_preproc_ok; then
17971 ac_cv_prog_CPP=$CPP
17974 CPP=$ac_cv_prog_CPP
17976 ac_cv_prog_CPP=$CPP
17978 { echo "$as_me:$LINENO: result: $CPP" >&5
17979 echo "${ECHO_T}$CPP" >&6; }
17980 ac_preproc_ok=false
17981 for ac_c_preproc_warn_flag in '' yes
17983 # Use a header file that comes with gcc, so configuring glibc
17984 # with a fresh cross-compiler works.
17985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17986 # <limits.h> exists even on freestanding compilers.
17987 # On the NeXT, cc -E runs the code through the compiler's parser,
17988 # not just through cpp. "Syntax error" is here to catch this case.
17989 cat >conftest.$ac_ext <<_ACEOF
17992 cat confdefs.h >>conftest.$ac_ext
17993 cat >>conftest.$ac_ext <<_ACEOF
17994 /* end confdefs.h. */
17996 # include <limits.h>
17998 # include <assert.h>
18002 if { (ac_try="$ac_cpp conftest.$ac_ext"
18003 case "(($ac_try" in
18004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18005 *) ac_try_echo=$ac_try;;
18007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18010 grep -v '^ *+' conftest.er1 >conftest.err
18012 cat conftest.err >&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } >/dev/null && {
18015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18016 test ! -s conftest.err
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.$ac_ext >&5
18023 # Broken: fails on valid input.
18027 rm -f conftest.err conftest.$ac_ext
18029 # OK, works on sane cases. Now check whether nonexistent headers
18030 # can be detected and how.
18031 cat >conftest.$ac_ext <<_ACEOF
18034 cat confdefs.h >>conftest.$ac_ext
18035 cat >>conftest.$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037 #include <ac_nonexistent.h>
18039 if { (ac_try="$ac_cpp conftest.$ac_ext"
18040 case "(($ac_try" in
18041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18042 *) ac_try_echo=$ac_try;;
18044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18047 grep -v '^ *+' conftest.er1 >conftest.err
18049 cat conftest.err >&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } >/dev/null && {
18052 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18053 test ! -s conftest.err
18055 # Broken: success on invalid input.
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18061 # Passes both tests.
18066 rm -f conftest.err conftest.$ac_ext
18069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18070 rm -f conftest.err conftest.$ac_ext
18071 if $ac_preproc_ok; then
18074 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18075 See \`config.log' for more details." >&5
18076 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18077 See \`config.log' for more details." >&2;}
18078 { (exit 1); exit 1; }; }
18082 ac_cpp='$CPP $CPPFLAGS'
18083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18088 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18089 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18090 if test "${ac_cv_path_GREP+set}" = set; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 # Extract the first word of "grep ggrep" to use in msg output
18094 if test -z "$GREP"; then
18095 set dummy grep ggrep; ac_prog_name=$2
18096 if test "${ac_cv_path_GREP+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 ac_path_GREP_found=false
18100 # Loop through the user's path and test for each of PROGNAME-LIST
18101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18102 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18105 test -z "$as_dir" && as_dir=.
18106 for ac_prog in grep ggrep; do
18107 for ac_exec_ext in '' $ac_executable_extensions; do
18108 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18109 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18110 # Check for GNU ac_path_GREP and select it if it is found.
18111 # Check for GNU $ac_path_GREP
18112 case `"$ac_path_GREP" --version 2>&1` in
18114 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18117 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18120 cat "conftest.in" "conftest.in" >"conftest.tmp"
18121 mv "conftest.tmp" "conftest.in"
18122 cp "conftest.in" "conftest.nl"
18123 echo 'GREP' >> "conftest.nl"
18124 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18125 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18126 ac_count=`expr $ac_count + 1`
18127 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18128 # Best one so far, save it but keep looking for a better one
18129 ac_cv_path_GREP="$ac_path_GREP"
18130 ac_path_GREP_max=$ac_count
18132 # 10*(2^10) chars as input seems more than enough
18133 test $ac_count -gt 10 && break
18135 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18139 $ac_path_GREP_found && break 3
18149 GREP="$ac_cv_path_GREP"
18150 if test -z "$GREP"; then
18151 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18152 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18153 { (exit 1); exit 1; }; }
18157 ac_cv_path_GREP=$GREP
18162 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18163 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18164 GREP="$ac_cv_path_GREP"
18167 { echo "$as_me:$LINENO: checking for egrep" >&5
18168 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18169 if test "${ac_cv_path_EGREP+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18173 then ac_cv_path_EGREP="$GREP -E"
18175 # Extract the first word of "egrep" to use in msg output
18176 if test -z "$EGREP"; then
18177 set dummy egrep; ac_prog_name=$2
18178 if test "${ac_cv_path_EGREP+set}" = set; then
18179 echo $ECHO_N "(cached) $ECHO_C" >&6
18181 ac_path_EGREP_found=false
18182 # Loop through the user's path and test for each of PROGNAME-LIST
18183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18184 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18187 test -z "$as_dir" && as_dir=.
18188 for ac_prog in egrep; do
18189 for ac_exec_ext in '' $ac_executable_extensions; do
18190 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18191 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18192 # Check for GNU ac_path_EGREP and select it if it is found.
18193 # Check for GNU $ac_path_EGREP
18194 case `"$ac_path_EGREP" --version 2>&1` in
18196 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18199 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18202 cat "conftest.in" "conftest.in" >"conftest.tmp"
18203 mv "conftest.tmp" "conftest.in"
18204 cp "conftest.in" "conftest.nl"
18205 echo 'EGREP' >> "conftest.nl"
18206 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18207 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18208 ac_count=`expr $ac_count + 1`
18209 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18210 # Best one so far, save it but keep looking for a better one
18211 ac_cv_path_EGREP="$ac_path_EGREP"
18212 ac_path_EGREP_max=$ac_count
18214 # 10*(2^10) chars as input seems more than enough
18215 test $ac_count -gt 10 && break
18217 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18221 $ac_path_EGREP_found && break 3
18231 EGREP="$ac_cv_path_EGREP"
18232 if test -z "$EGREP"; then
18233 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18234 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18235 { (exit 1); exit 1; }; }
18239 ac_cv_path_EGREP=$EGREP
18245 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18246 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18247 EGREP="$ac_cv_path_EGREP"
18250 if test $ac_cv_c_compiler_gnu = yes; then
18251 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18252 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18253 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18254 echo $ECHO_N "(cached) $ECHO_C" >&6
18256 ac_pattern="Autoconf.*'x'"
18257 cat >conftest.$ac_ext <<_ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18267 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18268 ac_cv_prog_gcc_traditional=yes
18270 ac_cv_prog_gcc_traditional=no
18275 if test $ac_cv_prog_gcc_traditional = no; then
18276 cat >conftest.$ac_ext <<_ACEOF
18279 cat confdefs.h >>conftest.$ac_ext
18280 cat >>conftest.$ac_ext <<_ACEOF
18281 /* end confdefs.h. */
18282 #include <termio.h>
18285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18286 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18287 ac_cv_prog_gcc_traditional=yes
18293 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18294 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18295 if test $ac_cv_prog_gcc_traditional = yes; then
18296 CC="$CC -traditional"
18301 CXXFLAGS=${CXXFLAGS:=}
18306 ac_cpp='$CXXCPP $CPPFLAGS'
18307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18310 if test -z "$CXX"; then
18311 if test -n "$CCC"; then
18314 if test -n "$ac_tool_prefix"; then
18315 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18321 if test "${ac_cv_prog_CXX+set}" = set; then
18322 echo $ECHO_N "(cached) $ECHO_C" >&6
18324 if test -n "$CXX"; then
18325 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18328 for as_dir in $PATH
18331 test -z "$as_dir" && as_dir=.
18332 for ac_exec_ext in '' $ac_executable_extensions; do
18333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18334 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18344 CXX=$ac_cv_prog_CXX
18345 if test -n "$CXX"; then
18346 { echo "$as_me:$LINENO: result: $CXX" >&5
18347 echo "${ECHO_T}$CXX" >&6; }
18349 { echo "$as_me:$LINENO: result: no" >&5
18350 echo "${ECHO_T}no" >&6; }
18354 test -n "$CXX" && break
18357 if test -z "$CXX"; then
18359 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18361 # Extract the first word of "$ac_prog", so it can be a program name with args.
18362 set dummy $ac_prog; ac_word=$2
18363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18365 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18366 echo $ECHO_N "(cached) $ECHO_C" >&6
18368 if test -n "$ac_ct_CXX"; then
18369 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18372 for as_dir in $PATH
18375 test -z "$as_dir" && as_dir=.
18376 for ac_exec_ext in '' $ac_executable_extensions; do
18377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18378 ac_cv_prog_ac_ct_CXX="$ac_prog"
18379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18388 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18389 if test -n "$ac_ct_CXX"; then
18390 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18391 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18393 { echo "$as_me:$LINENO: result: no" >&5
18394 echo "${ECHO_T}no" >&6; }
18398 test -n "$ac_ct_CXX" && break
18401 if test "x$ac_ct_CXX" = x; then
18404 case $cross_compiling:$ac_tool_warned in
18406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18407 whose name does not start with the host triplet. If you think this
18408 configuration is useful to you, please write to autoconf@gnu.org." >&5
18409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18410 whose name does not start with the host triplet. If you think this
18411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18412 ac_tool_warned=yes ;;
18420 # Provide some information about the compiler.
18421 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18422 ac_compiler=`set X $ac_compile; echo $2`
18423 { (ac_try="$ac_compiler --version >&5"
18424 case "(($ac_try" in
18425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18426 *) ac_try_echo=$ac_try;;
18428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18429 (eval "$ac_compiler --version >&5") 2>&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }
18433 { (ac_try="$ac_compiler -v >&5"
18434 case "(($ac_try" in
18435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18436 *) ac_try_echo=$ac_try;;
18438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18439 (eval "$ac_compiler -v >&5") 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }
18443 { (ac_try="$ac_compiler -V >&5"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_compiler -V >&5") 2>&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); }
18454 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18455 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18456 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 cat >conftest.$ac_ext <<_ACEOF
18462 cat confdefs.h >>conftest.$ac_ext
18463 cat >>conftest.$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18477 rm -f conftest.$ac_objext
18478 if { (ac_try="$ac_compile"
18479 case "(($ac_try" in
18480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18481 *) ac_try_echo=$ac_try;;
18483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18484 (eval "$ac_compile") 2>conftest.er1
18486 grep -v '^ *+' conftest.er1 >conftest.err
18488 cat conftest.err >&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); } && {
18491 test -z "$ac_cxx_werror_flag" ||
18492 test ! -s conftest.err
18493 } && test -s conftest.$ac_objext; then
18494 ac_compiler_gnu=yes
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.$ac_ext >&5
18502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18503 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18506 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18507 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18508 GXX=`test $ac_compiler_gnu = yes && echo yes`
18509 ac_test_CXXFLAGS=${CXXFLAGS+set}
18510 ac_save_CXXFLAGS=$CXXFLAGS
18511 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18512 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18513 if test "${ac_cv_prog_cxx_g+set}" = set; then
18514 echo $ECHO_N "(cached) $ECHO_C" >&6
18516 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18517 ac_cxx_werror_flag=yes
18518 ac_cv_prog_cxx_g=no
18520 cat >conftest.$ac_ext <<_ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18535 rm -f conftest.$ac_objext
18536 if { (ac_try="$ac_compile"
18537 case "(($ac_try" in
18538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18539 *) ac_try_echo=$ac_try;;
18541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18542 (eval "$ac_compile") 2>conftest.er1
18544 grep -v '^ *+' conftest.er1 >conftest.err
18546 cat conftest.err >&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } && {
18549 test -z "$ac_cxx_werror_flag" ||
18550 test ! -s conftest.err
18551 } && test -s conftest.$ac_objext; then
18552 ac_cv_prog_cxx_g=yes
18554 echo "$as_me: failed program was:" >&5
18555 sed 's/^/| /' conftest.$ac_ext >&5
18558 cat >conftest.$ac_ext <<_ACEOF
18561 cat confdefs.h >>conftest.$ac_ext
18562 cat >>conftest.$ac_ext <<_ACEOF
18563 /* end confdefs.h. */
18573 rm -f conftest.$ac_objext
18574 if { (ac_try="$ac_compile"
18575 case "(($ac_try" in
18576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18577 *) ac_try_echo=$ac_try;;
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_compile") 2>conftest.er1
18582 grep -v '^ *+' conftest.er1 >conftest.err
18584 cat conftest.err >&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } && {
18587 test -z "$ac_cxx_werror_flag" ||
18588 test ! -s conftest.err
18589 } && test -s conftest.$ac_objext; then
18592 echo "$as_me: failed program was:" >&5
18593 sed 's/^/| /' conftest.$ac_ext >&5
18595 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18597 cat >conftest.$ac_ext <<_ACEOF
18600 cat confdefs.h >>conftest.$ac_ext
18601 cat >>conftest.$ac_ext <<_ACEOF
18602 /* end confdefs.h. */
18612 rm -f conftest.$ac_objext
18613 if { (ac_try="$ac_compile"
18614 case "(($ac_try" in
18615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18616 *) ac_try_echo=$ac_try;;
18618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18619 (eval "$ac_compile") 2>conftest.er1
18621 grep -v '^ *+' conftest.er1 >conftest.err
18623 cat conftest.err >&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } && {
18626 test -z "$ac_cxx_werror_flag" ||
18627 test ! -s conftest.err
18628 } && test -s conftest.$ac_objext; then
18629 ac_cv_prog_cxx_g=yes
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18644 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18646 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18647 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18648 if test "$ac_test_CXXFLAGS" = set; then
18649 CXXFLAGS=$ac_save_CXXFLAGS
18650 elif test $ac_cv_prog_cxx_g = yes; then
18651 if test "$GXX" = yes; then
18657 if test "$GXX" = yes; then
18664 ac_cpp='$CPP $CPPFLAGS'
18665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18673 ac_cpp='$CXXCPP $CPPFLAGS'
18674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18678 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18679 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18680 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18681 echo $ECHO_N "(cached) $ECHO_C" >&6
18683 cat >conftest.$ac_ext <<_ACEOF
18686 cat confdefs.h >>conftest.$ac_ext
18687 cat >>conftest.$ac_ext <<_ACEOF
18688 /* end confdefs.h. */
18694 #ifndef __INTEL_COMPILER
18702 rm -f conftest.$ac_objext
18703 if { (ac_try="$ac_compile"
18704 case "(($ac_try" in
18705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18706 *) ac_try_echo=$ac_try;;
18708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18709 (eval "$ac_compile") 2>conftest.er1
18711 grep -v '^ *+' conftest.er1 >conftest.err
18713 cat conftest.err >&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } && {
18716 test -z "$ac_cxx_werror_flag" ||
18717 test ! -s conftest.err
18718 } && test -s conftest.$ac_objext; then
18719 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18721 echo "$as_me: failed program was:" >&5
18722 sed 's/^/| /' conftest.$ac_ext >&5
18724 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18732 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18733 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18734 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18740 ac_cpp='$CPP $CPPFLAGS'
18741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18748 if test "x$GCXX" != "xyes"; then
18749 if test "xCXX" = "xC"; then
18750 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18751 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18752 if test "${bakefile_cv_c_exto+set}" = set; then
18753 echo $ECHO_N "(cached) $ECHO_C" >&6
18755 cat >conftest.$ac_ext <<_ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18770 rm -f conftest.$ac_objext conftest.$ac_ext.o
18771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18772 (eval $ac_compile) 2>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; then
18776 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18778 conftest.$ac_ext.o)
18779 bakefile_cv_c_exto="-ext o"
18786 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18787 See \`config.log' for more details." >&5
18788 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18789 See \`config.log' for more details." >&2;}
18790 { (exit 1); exit 1; }; }
18794 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18797 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18798 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18799 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18800 if test "c" = "c"; then
18801 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18803 if test "c" = "cxx"; then
18804 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18808 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18809 unset ac_cv_prog_cc_g
18810 ac_test_CFLAGS=${CFLAGS+set}
18811 ac_save_CFLAGS=$CFLAGS
18812 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18813 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18814 if test "${ac_cv_prog_cc_g+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18817 ac_save_c_werror_flag=$ac_c_werror_flag
18818 ac_c_werror_flag=yes
18821 cat >conftest.$ac_ext <<_ACEOF
18824 cat confdefs.h >>conftest.$ac_ext
18825 cat >>conftest.$ac_ext <<_ACEOF
18826 /* end confdefs.h. */
18836 rm -f conftest.$ac_objext
18837 if { (ac_try="$ac_compile"
18838 case "(($ac_try" in
18839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18840 *) ac_try_echo=$ac_try;;
18842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18843 (eval "$ac_compile") 2>conftest.er1
18845 grep -v '^ *+' conftest.er1 >conftest.err
18847 cat conftest.err >&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } && {
18850 test -z "$ac_c_werror_flag" ||
18851 test ! -s conftest.err
18852 } && test -s conftest.$ac_objext; then
18853 ac_cv_prog_cc_g=yes
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18859 cat >conftest.$ac_ext <<_ACEOF
18862 cat confdefs.h >>conftest.$ac_ext
18863 cat >>conftest.$ac_ext <<_ACEOF
18864 /* end confdefs.h. */
18874 rm -f conftest.$ac_objext
18875 if { (ac_try="$ac_compile"
18876 case "(($ac_try" in
18877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18878 *) ac_try_echo=$ac_try;;
18880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18881 (eval "$ac_compile") 2>conftest.er1
18883 grep -v '^ *+' conftest.er1 >conftest.err
18885 cat conftest.err >&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } && {
18888 test -z "$ac_c_werror_flag" ||
18889 test ! -s conftest.err
18890 } && test -s conftest.$ac_objext; then
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.$ac_ext >&5
18896 ac_c_werror_flag=$ac_save_c_werror_flag
18898 cat >conftest.$ac_ext <<_ACEOF
18901 cat confdefs.h >>conftest.$ac_ext
18902 cat >>conftest.$ac_ext <<_ACEOF
18903 /* end confdefs.h. */
18913 rm -f conftest.$ac_objext
18914 if { (ac_try="$ac_compile"
18915 case "(($ac_try" in
18916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18917 *) ac_try_echo=$ac_try;;
18919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18920 (eval "$ac_compile") 2>conftest.er1
18922 grep -v '^ *+' conftest.er1 >conftest.err
18924 cat conftest.err >&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); } && {
18927 test -z "$ac_c_werror_flag" ||
18928 test ! -s conftest.err
18929 } && test -s conftest.$ac_objext; then
18930 ac_cv_prog_cc_g=yes
18932 echo "$as_me: failed program was:" >&5
18933 sed 's/^/| /' conftest.$ac_ext >&5
18938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18945 ac_c_werror_flag=$ac_save_c_werror_flag
18947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18948 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18949 if test "$ac_test_CFLAGS" = set; then
18950 CFLAGS=$ac_save_CFLAGS
18951 elif test $ac_cv_prog_cc_g = yes; then
18952 if test "$GCC" = yes; then
18958 if test "$GCC" = yes; then
18972 ac_cpp='$CXXCPP $CPPFLAGS'
18973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18977 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18978 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18979 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 cat >conftest.$ac_ext <<_ACEOF
18985 cat confdefs.h >>conftest.$ac_ext
18986 cat >>conftest.$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
19001 rm -f conftest.$ac_objext
19002 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19010 grep -v '^ *+' conftest.er1 >conftest.err
19012 cat conftest.err >&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } && {
19015 test -z "$ac_cxx_werror_flag" ||
19016 test ! -s conftest.err
19017 } && test -s conftest.$ac_objext; then
19018 bakefile_cv_cxx_compiler___xlC__=yes
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19023 bakefile_cv_cxx_compiler___xlC__=no
19027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19031 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19032 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19033 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19039 ac_cpp='$CPP $CPPFLAGS'
19040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19052 ac_cpp='$CXXCPP $CPPFLAGS'
19053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19057 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19058 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19059 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19062 cat >conftest.$ac_ext <<_ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19081 rm -f conftest.$ac_objext
19082 if { (ac_try="$ac_compile"
19083 case "(($ac_try" in
19084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19085 *) ac_try_echo=$ac_try;;
19087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19088 (eval "$ac_compile") 2>conftest.er1
19090 grep -v '^ *+' conftest.er1 >conftest.err
19092 cat conftest.err >&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } && {
19095 test -z "$ac_cxx_werror_flag" ||
19096 test ! -s conftest.err
19097 } && test -s conftest.$ac_objext; then
19098 bakefile_cv_cxx_compiler___MWERKS__=yes
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19103 bakefile_cv_cxx_compiler___MWERKS__=no
19107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19111 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19112 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19113 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19119 ac_cpp='$CPP $CPPFLAGS'
19120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19129 ac_cpp='$CXXCPP $CPPFLAGS'
19130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19134 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19135 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19136 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19137 echo $ECHO_N "(cached) $ECHO_C" >&6
19139 cat >conftest.$ac_ext <<_ACEOF
19142 cat confdefs.h >>conftest.$ac_ext
19143 cat >>conftest.$ac_ext <<_ACEOF
19144 /* end confdefs.h. */
19158 rm -f conftest.$ac_objext
19159 if { (ac_try="$ac_compile"
19160 case "(($ac_try" in
19161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19162 *) ac_try_echo=$ac_try;;
19164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19165 (eval "$ac_compile") 2>conftest.er1
19167 grep -v '^ *+' conftest.er1 >conftest.err
19169 cat conftest.err >&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } && {
19172 test -z "$ac_cxx_werror_flag" ||
19173 test ! -s conftest.err
19174 } && test -s conftest.$ac_objext; then
19175 bakefile_cv_cxx_compiler___xlC__=yes
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19180 bakefile_cv_cxx_compiler___xlC__=no
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19188 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19189 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19190 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19196 ac_cpp='$CPP $CPPFLAGS'
19197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19209 ac_cpp='$CXXCPP $CPPFLAGS'
19210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19214 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19215 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19216 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19217 echo $ECHO_N "(cached) $ECHO_C" >&6
19219 cat >conftest.$ac_ext <<_ACEOF
19222 cat confdefs.h >>conftest.$ac_ext
19223 cat >>conftest.$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19230 #ifndef _SGI_COMPILER_VERSION
19238 rm -f conftest.$ac_objext
19239 if { (ac_try="$ac_compile"
19240 case "(($ac_try" in
19241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19242 *) ac_try_echo=$ac_try;;
19244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19245 (eval "$ac_compile") 2>conftest.er1
19247 grep -v '^ *+' conftest.er1 >conftest.err
19249 cat conftest.err >&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); } && {
19252 test -z "$ac_cxx_werror_flag" ||
19253 test ! -s conftest.err
19254 } && test -s conftest.$ac_objext; then
19255 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19260 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19269 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19270 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19276 ac_cpp='$CPP $CPPFLAGS'
19277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19289 ac_cpp='$CXXCPP $CPPFLAGS'
19290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19294 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19295 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19296 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19297 echo $ECHO_N "(cached) $ECHO_C" >&6
19299 cat >conftest.$ac_ext <<_ACEOF
19302 cat confdefs.h >>conftest.$ac_ext
19303 cat >>conftest.$ac_ext <<_ACEOF
19304 /* end confdefs.h. */
19310 #ifndef __SUNPRO_CC
19318 rm -f conftest.$ac_objext
19319 if { (ac_try="$ac_compile"
19320 case "(($ac_try" in
19321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19322 *) ac_try_echo=$ac_try;;
19324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19325 (eval "$ac_compile") 2>conftest.er1
19327 grep -v '^ *+' conftest.er1 >conftest.err
19329 cat conftest.err >&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); } && {
19332 test -z "$ac_cxx_werror_flag" ||
19333 test ! -s conftest.err
19334 } && test -s conftest.$ac_objext; then
19335 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19340 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19349 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19350 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19356 ac_cpp='$CPP $CPPFLAGS'
19357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19369 ac_cpp='$CXXCPP $CPPFLAGS'
19370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19374 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19375 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19376 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19377 echo $ECHO_N "(cached) $ECHO_C" >&6
19379 cat >conftest.$ac_ext <<_ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19398 rm -f conftest.$ac_objext
19399 if { (ac_try="$ac_compile"
19400 case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_compile") 2>conftest.er1
19407 grep -v '^ *+' conftest.er1 >conftest.err
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_cxx_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest.$ac_objext; then
19415 bakefile_cv_cxx_compiler___HP_aCC=yes
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19420 bakefile_cv_cxx_compiler___HP_aCC=no
19424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19428 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19429 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19430 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19436 ac_cpp='$CPP $CPPFLAGS'
19437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19449 ac_cpp='$CXXCPP $CPPFLAGS'
19450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19454 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19455 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19456 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19457 echo $ECHO_N "(cached) $ECHO_C" >&6
19459 cat >conftest.$ac_ext <<_ACEOF
19462 cat confdefs.h >>conftest.$ac_ext
19463 cat >>conftest.$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19478 rm -f conftest.$ac_objext
19479 if { (ac_try="$ac_compile"
19480 case "(($ac_try" in
19481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19482 *) ac_try_echo=$ac_try;;
19484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19485 (eval "$ac_compile") 2>conftest.er1
19487 grep -v '^ *+' conftest.er1 >conftest.err
19489 cat conftest.err >&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } && {
19492 test -z "$ac_cxx_werror_flag" ||
19493 test ! -s conftest.err
19494 } && test -s conftest.$ac_objext; then
19495 bakefile_cv_cxx_compiler___DECCXX=yes
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.$ac_ext >&5
19500 bakefile_cv_cxx_compiler___DECCXX=no
19504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19508 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19509 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19510 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19516 ac_cpp='$CPP $CPPFLAGS'
19517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19529 ac_cpp='$CXXCPP $CPPFLAGS'
19530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19534 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19535 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19536 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19537 echo $ECHO_N "(cached) $ECHO_C" >&6
19539 cat >conftest.$ac_ext <<_ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19550 #ifndef __SUNPRO_CC
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19567 grep -v '^ *+' conftest.er1 >conftest.err
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_cxx_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19575 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19580 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19588 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19589 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19590 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19596 ac_cpp='$CPP $CPPFLAGS'
19597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19609 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19610 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19611 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19612 { (exit 1); exit 1; }; }
19615 if test -n "$ac_tool_prefix"; then
19616 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19617 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19620 if test "${ac_cv_prog_RANLIB+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19623 if test -n "$RANLIB"; then
19624 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19627 for as_dir in $PATH
19630 test -z "$as_dir" && as_dir=.
19631 for ac_exec_ext in '' $ac_executable_extensions; do
19632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19633 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19643 RANLIB=$ac_cv_prog_RANLIB
19644 if test -n "$RANLIB"; then
19645 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19646 echo "${ECHO_T}$RANLIB" >&6; }
19648 { echo "$as_me:$LINENO: result: no" >&5
19649 echo "${ECHO_T}no" >&6; }
19654 if test -z "$ac_cv_prog_RANLIB"; then
19655 ac_ct_RANLIB=$RANLIB
19656 # Extract the first word of "ranlib", so it can be a program name with args.
19657 set dummy ranlib; ac_word=$2
19658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19660 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19663 if test -n "$ac_ct_RANLIB"; then
19664 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19667 for as_dir in $PATH
19670 test -z "$as_dir" && as_dir=.
19671 for ac_exec_ext in '' $ac_executable_extensions; do
19672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19673 ac_cv_prog_ac_ct_RANLIB="ranlib"
19674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19683 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19684 if test -n "$ac_ct_RANLIB"; then
19685 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19686 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19688 { echo "$as_me:$LINENO: result: no" >&5
19689 echo "${ECHO_T}no" >&6; }
19692 if test "x$ac_ct_RANLIB" = x; then
19695 case $cross_compiling:$ac_tool_warned in
19697 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19698 whose name does not start with the host triplet. If you think this
19699 configuration is useful to you, please write to autoconf@gnu.org." >&5
19700 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19701 whose name does not start with the host triplet. If you think this
19702 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19703 ac_tool_warned=yes ;;
19705 RANLIB=$ac_ct_RANLIB
19708 RANLIB="$ac_cv_prog_RANLIB"
19712 if test "x$SUNCXX" != xyes; then
19713 if test -n "$ac_tool_prefix"; then
19714 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19715 set dummy ${ac_tool_prefix}ar; ac_word=$2
19716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19718 if test "${ac_cv_prog_AR+set}" = set; then
19719 echo $ECHO_N "(cached) $ECHO_C" >&6
19721 if test -n "$AR"; then
19722 ac_cv_prog_AR="$AR" # Let the user override the test.
19724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19725 for as_dir in $PATH
19728 test -z "$as_dir" && as_dir=.
19729 for ac_exec_ext in '' $ac_executable_extensions; do
19730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19731 ac_cv_prog_AR="${ac_tool_prefix}ar"
19732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19742 if test -n "$AR"; then
19743 { echo "$as_me:$LINENO: result: $AR" >&5
19744 echo "${ECHO_T}$AR" >&6; }
19746 { echo "$as_me:$LINENO: result: no" >&5
19747 echo "${ECHO_T}no" >&6; }
19752 if test -z "$ac_cv_prog_AR"; then
19754 # Extract the first word of "ar", so it can be a program name with args.
19755 set dummy ar; ac_word=$2
19756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19758 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19759 echo $ECHO_N "(cached) $ECHO_C" >&6
19761 if test -n "$ac_ct_AR"; then
19762 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19765 for as_dir in $PATH
19768 test -z "$as_dir" && as_dir=.
19769 for ac_exec_ext in '' $ac_executable_extensions; do
19770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19771 ac_cv_prog_ac_ct_AR="ar"
19772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19781 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19782 if test -n "$ac_ct_AR"; then
19783 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19784 echo "${ECHO_T}$ac_ct_AR" >&6; }
19786 { echo "$as_me:$LINENO: result: no" >&5
19787 echo "${ECHO_T}no" >&6; }
19790 if test "x$ac_ct_AR" = x; then
19793 case $cross_compiling:$ac_tool_warned in
19795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19796 whose name does not start with the host triplet. If you think this
19797 configuration is useful to you, please write to autoconf@gnu.org." >&5
19798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19799 whose name does not start with the host triplet. If you think this
19800 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19801 ac_tool_warned=yes ;;
19806 AR="$ac_cv_prog_AR"
19809 if test "x$AR" = "x" ; then
19810 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19811 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19812 { (exit 1); exit 1; }; }
19816 # Find a good install program. We prefer a C program (faster),
19817 # so one script is as good as another. But avoid the broken or
19818 # incompatible versions:
19819 # SysV /etc/install, /usr/sbin/install
19820 # SunOS /usr/etc/install
19821 # IRIX /sbin/install
19823 # AmigaOS /C/install, which installs bootblocks on floppy discs
19824 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19825 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19826 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19827 # OS/2's system install, which has a completely different semantic
19828 # ./install, which can be erroneously created by make from ./install.sh.
19829 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19830 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19831 if test -z "$INSTALL"; then
19832 if test "${ac_cv_path_install+set}" = set; then
19833 echo $ECHO_N "(cached) $ECHO_C" >&6
19835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19836 for as_dir in $PATH
19839 test -z "$as_dir" && as_dir=.
19840 # Account for people who put trailing slashes in PATH elements.
19842 ./ | .// | /cC/* | \
19843 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19844 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19847 # OSF1 and SCO ODT 3.0 have their own names for install.
19848 # Don't use installbsd from OSF since it installs stuff as root
19850 for ac_prog in ginstall scoinst install; do
19851 for ac_exec_ext in '' $ac_executable_extensions; do
19852 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19853 if test $ac_prog = install &&
19854 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19855 # AIX install. It has an incompatible calling convention.
19857 elif test $ac_prog = install &&
19858 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19859 # program-specific install script used by HP pwplus--don't use.
19862 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19875 if test "${ac_cv_path_install+set}" = set; then
19876 INSTALL=$ac_cv_path_install
19878 # As a last resort, use the slow shell script. Don't cache a
19879 # value for INSTALL within a source directory, because that will
19880 # break other packages using the cache if that directory is
19881 # removed, or if the value is a relative name.
19882 INSTALL=$ac_install_sh
19885 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19886 echo "${ECHO_T}$INSTALL" >&6; }
19888 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19889 # It thinks the first close brace ends the variable substitution.
19890 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19892 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19894 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19900 ?:* ) # Drive letter, considered as absolute.
19903 INSTALL=`pwd`/${INSTALL} ;;
19910 INSTALL_PROGRAM="cp -fp"
19911 INSTALL_DATA="cp -fp"
19917 if test -n "$ac_tool_prefix"; then
19918 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19919 set dummy ${ac_tool_prefix}strip; ac_word=$2
19920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19922 if test "${ac_cv_prog_STRIP+set}" = set; then
19923 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 if test -n "$STRIP"; then
19926 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19929 for as_dir in $PATH
19932 test -z "$as_dir" && as_dir=.
19933 for ac_exec_ext in '' $ac_executable_extensions; do
19934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19935 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19945 STRIP=$ac_cv_prog_STRIP
19946 if test -n "$STRIP"; then
19947 { echo "$as_me:$LINENO: result: $STRIP" >&5
19948 echo "${ECHO_T}$STRIP" >&6; }
19950 { echo "$as_me:$LINENO: result: no" >&5
19951 echo "${ECHO_T}no" >&6; }
19956 if test -z "$ac_cv_prog_STRIP"; then
19958 # Extract the first word of "strip", so it can be a program name with args.
19959 set dummy strip; ac_word=$2
19960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19962 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19963 echo $ECHO_N "(cached) $ECHO_C" >&6
19965 if test -n "$ac_ct_STRIP"; then
19966 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19969 for as_dir in $PATH
19972 test -z "$as_dir" && as_dir=.
19973 for ac_exec_ext in '' $ac_executable_extensions; do
19974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19975 ac_cv_prog_ac_ct_STRIP="strip"
19976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19985 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19986 if test -n "$ac_ct_STRIP"; then
19987 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19988 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19990 { echo "$as_me:$LINENO: result: no" >&5
19991 echo "${ECHO_T}no" >&6; }
19994 if test "x$ac_ct_STRIP" = x; then
19997 case $cross_compiling:$ac_tool_warned in
19999 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20000 whose name does not start with the host triplet. If you think this
20001 configuration is useful to you, please write to autoconf@gnu.org." >&5
20002 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20003 whose name does not start with the host triplet. If you think this
20004 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20005 ac_tool_warned=yes ;;
20010 STRIP="$ac_cv_prog_STRIP"
20014 if test "$wxUSE_WINE" = "yes"; then
20015 if test -n "$ac_tool_prefix"; then
20016 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
20017 set dummy ${ac_tool_prefix}wrc; ac_word=$2
20018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20020 if test "${ac_cv_prog_WINDRES+set}" = set; then
20021 echo $ECHO_N "(cached) $ECHO_C" >&6
20023 if test -n "$WINDRES"; then
20024 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20027 for as_dir in $PATH
20030 test -z "$as_dir" && as_dir=.
20031 for ac_exec_ext in '' $ac_executable_extensions; do
20032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20033 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
20034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20043 WINDRES=$ac_cv_prog_WINDRES
20044 if test -n "$WINDRES"; then
20045 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20046 echo "${ECHO_T}$WINDRES" >&6; }
20048 { echo "$as_me:$LINENO: result: no" >&5
20049 echo "${ECHO_T}no" >&6; }
20054 if test -z "$ac_cv_prog_WINDRES"; then
20055 ac_ct_WINDRES=$WINDRES
20056 # Extract the first word of "wrc", so it can be a program name with args.
20057 set dummy wrc; ac_word=$2
20058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20060 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20061 echo $ECHO_N "(cached) $ECHO_C" >&6
20063 if test -n "$ac_ct_WINDRES"; then
20064 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20067 for as_dir in $PATH
20070 test -z "$as_dir" && as_dir=.
20071 for ac_exec_ext in '' $ac_executable_extensions; do
20072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20073 ac_cv_prog_ac_ct_WINDRES="wrc"
20074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20083 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20084 if test -n "$ac_ct_WINDRES"; then
20085 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20086 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20088 { echo "$as_me:$LINENO: result: no" >&5
20089 echo "${ECHO_T}no" >&6; }
20092 if test "x$ac_ct_WINDRES" = x; then
20095 case $cross_compiling:$ac_tool_warned in
20097 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20098 whose name does not start with the host triplet. If you think this
20099 configuration is useful to you, please write to autoconf@gnu.org." >&5
20100 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20101 whose name does not start with the host triplet. If you think this
20102 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20103 ac_tool_warned=yes ;;
20105 WINDRES=$ac_ct_WINDRES
20108 WINDRES="$ac_cv_prog_WINDRES"
20114 *-*-cygwin* | *-*-mingw32* )
20115 if test -n "$ac_tool_prefix"; then
20116 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20117 set dummy ${ac_tool_prefix}windres; ac_word=$2
20118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20120 if test "${ac_cv_prog_WINDRES+set}" = set; then
20121 echo $ECHO_N "(cached) $ECHO_C" >&6
20123 if test -n "$WINDRES"; then
20124 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20127 for as_dir in $PATH
20130 test -z "$as_dir" && as_dir=.
20131 for ac_exec_ext in '' $ac_executable_extensions; do
20132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20133 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20143 WINDRES=$ac_cv_prog_WINDRES
20144 if test -n "$WINDRES"; then
20145 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20146 echo "${ECHO_T}$WINDRES" >&6; }
20148 { echo "$as_me:$LINENO: result: no" >&5
20149 echo "${ECHO_T}no" >&6; }
20154 if test -z "$ac_cv_prog_WINDRES"; then
20155 ac_ct_WINDRES=$WINDRES
20156 # Extract the first word of "windres", so it can be a program name with args.
20157 set dummy windres; ac_word=$2
20158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20160 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 if test -n "$ac_ct_WINDRES"; then
20164 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20167 for as_dir in $PATH
20170 test -z "$as_dir" && as_dir=.
20171 for ac_exec_ext in '' $ac_executable_extensions; do
20172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20173 ac_cv_prog_ac_ct_WINDRES="windres"
20174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20183 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20184 if test -n "$ac_ct_WINDRES"; then
20185 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20186 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20188 { echo "$as_me:$LINENO: result: no" >&5
20189 echo "${ECHO_T}no" >&6; }
20192 if test "x$ac_ct_WINDRES" = x; then
20195 case $cross_compiling:$ac_tool_warned in
20197 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20198 whose name does not start with the host triplet. If you think this
20199 configuration is useful to you, please write to autoconf@gnu.org." >&5
20200 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20201 whose name does not start with the host triplet. If you think this
20202 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20203 ac_tool_warned=yes ;;
20205 WINDRES=$ac_ct_WINDRES
20208 WINDRES="$ac_cv_prog_WINDRES"
20212 if test -n "$ac_tool_prefix"; then
20213 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20214 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20217 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20218 echo $ECHO_N "(cached) $ECHO_C" >&6
20220 if test -n "$DLLTOOL"; then
20221 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20224 for as_dir in $PATH
20227 test -z "$as_dir" && as_dir=.
20228 for ac_exec_ext in '' $ac_executable_extensions; do
20229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20230 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20240 DLLTOOL=$ac_cv_prog_DLLTOOL
20241 if test -n "$DLLTOOL"; then
20242 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20243 echo "${ECHO_T}$DLLTOOL" >&6; }
20245 { echo "$as_me:$LINENO: result: no" >&5
20246 echo "${ECHO_T}no" >&6; }
20251 if test -z "$ac_cv_prog_DLLTOOL"; then
20252 ac_ct_DLLTOOL=$DLLTOOL
20253 # Extract the first word of "dlltool", so it can be a program name with args.
20254 set dummy dlltool; ac_word=$2
20255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20257 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20258 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 if test -n "$ac_ct_DLLTOOL"; then
20261 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20264 for as_dir in $PATH
20267 test -z "$as_dir" && as_dir=.
20268 for ac_exec_ext in '' $ac_executable_extensions; do
20269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20270 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20280 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20281 if test -n "$ac_ct_DLLTOOL"; then
20282 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20283 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20285 { echo "$as_me:$LINENO: result: no" >&5
20286 echo "${ECHO_T}no" >&6; }
20289 if test "x$ac_ct_DLLTOOL" = x; then
20292 case $cross_compiling:$ac_tool_warned in
20294 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20295 whose name does not start with the host triplet. If you think this
20296 configuration is useful to you, please write to autoconf@gnu.org." >&5
20297 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20298 whose name does not start with the host triplet. If you think this
20299 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20300 ac_tool_warned=yes ;;
20302 DLLTOOL=$ac_ct_DLLTOOL
20305 DLLTOOL="$ac_cv_prog_DLLTOOL"
20312 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20313 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20314 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20315 echo $ECHO_N "(cached) $ECHO_C" >&6
20318 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20319 $EGREP -s GNU > /dev/null); then
20320 wx_cv_prog_makeisgnu="yes"
20322 wx_cv_prog_makeisgnu="no"
20326 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20327 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20329 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20337 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20338 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20339 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20340 if test "${wx_cv_prog_makevpath+set}" = set; then
20341 echo $ECHO_N "(cached) $ECHO_C" >&6
20344 cat - << EOF > confMake
20350 if test ! -d sub ; then
20353 echo dummy > sub/file
20354 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20356 rm -f sub/file check final_file confMake
20358 if test "$RESULT" = 0; then
20359 wx_cv_prog_makevpath="yes"
20361 wx_cv_prog_makevpath="no"
20365 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20366 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20368 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20369 { { echo "$as_me:$LINENO: error:
20370 You need a make-utility that is able to use the variable
20372 If your version of make does not support VPATH correctly,
20373 please install GNU-make (possibly as gmake), and start
20374 configure with the following command:
20375 export MAKE=gmake; ./configure for sh-type shells
20376 setenv MAKE gmake; ./configure for csh-type shells
20377 Also please do remember to use gmake in this case every time
20378 you are trying to compile.
20380 echo "$as_me: error:
20381 You need a make-utility that is able to use the variable
20383 If your version of make does not support VPATH correctly,
20384 please install GNU-make (possibly as gmake), and start
20385 configure with the following command:
20386 export MAKE=gmake; ./configure for sh-type shells
20387 setenv MAKE gmake; ./configure for csh-type shells
20388 Also please do remember to use gmake in this case every time
20389 you are trying to compile.
20391 { (exit 1); exit 1; }; }
20393 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20394 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20396 if test "$LN_S" = "ln -s"; then
20397 { echo "$as_me:$LINENO: result: yes" >&5
20398 echo "${ECHO_T}yes" >&6; }
20400 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20401 echo "${ECHO_T}no, using $LN_S" >&6; }
20407 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20408 CXXFLAGS="-qunique $CXXFLAGS"
20412 powerpc-*-darwin* )
20413 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20414 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20415 cat >conftest.$ac_ext <<_ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20425 #ifndef __POWERPC__
20426 choke me for lack of PowerPC
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20442 grep -v '^ *+' conftest.er1 >conftest.err
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.$ac_objext; then
20450 { echo "$as_me:$LINENO: result: yes" >&5
20451 echo "${ECHO_T}yes" >&6; }
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.$ac_ext >&5
20456 { echo "$as_me:$LINENO: result: no" >&5
20457 echo "${ECHO_T}no" >&6; }
20458 cat >>confdefs.h <<\_ACEOF
20459 #define __POWERPC__ 1
20465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20471 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20472 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20473 cat >conftest.$ac_ext <<_ACEOF
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20479 #include <CoreFoundation/CFBase.h>
20489 rm -f conftest.$ac_objext
20490 if { (ac_try="$ac_compile"
20491 case "(($ac_try" in
20492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20493 *) ac_try_echo=$ac_try;;
20495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20496 (eval "$ac_compile") 2>conftest.er1
20498 grep -v '^ *+' conftest.er1 >conftest.err
20500 cat conftest.err >&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); } && {
20503 test -z "$ac_c_werror_flag" ||
20504 test ! -s conftest.err
20505 } && test -s conftest.$ac_objext; then
20506 { echo "$as_me:$LINENO: result: yes" >&5
20507 echo "${ECHO_T}yes" >&6; }
20509 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.$ac_ext >&5
20512 { echo "$as_me:$LINENO: result: no" >&5
20513 echo "${ECHO_T}no" >&6; }
20514 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20515 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20516 cat >conftest.$ac_ext <<_ACEOF
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 #define __CF_USE_FRAMEWORK_INCLUDES__
20523 #include <CoreFoundation/CFBase.h>
20533 rm -f conftest.$ac_objext
20534 if { (ac_try="$ac_compile"
20535 case "(($ac_try" in
20536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_compile") 2>conftest.er1
20542 grep -v '^ *+' conftest.er1 >conftest.err
20544 cat conftest.err >&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); } && {
20547 test -z "$ac_c_werror_flag" ||
20548 test ! -s conftest.err
20549 } && test -s conftest.$ac_objext; then
20550 { echo "$as_me:$LINENO: result: yes" >&5
20551 echo "${ECHO_T}yes" >&6; }
20552 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20554 echo "$as_me: failed program was:" >&5
20555 sed 's/^/| /' conftest.$ac_ext >&5
20557 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20558 See \`config.log' for more details." >&5
20559 echo "$as_me: error: no. CoreFoundation not available.
20560 See \`config.log' for more details." >&2;}
20561 { (exit 1); exit 1; }; }
20565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20575 doesnt_want_win32=0
20578 if test "$wxUSE_MSW" = 1 ; then
20581 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20582 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20583 if test "${wx_cv_nocygwin+set}" = set; then
20584 echo $ECHO_N "(cached) $ECHO_C" >&6
20587 cat >conftest.$ac_ext <<_ACEOF
20590 cat confdefs.h >>conftest.$ac_ext
20591 cat >>conftest.$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20615 grep -v '^ *+' conftest.er1 >conftest.err
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20625 echo "$as_me: failed program was:" >&5
20626 sed 's/^/| /' conftest.$ac_ext >&5
20632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20636 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20637 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20639 if test "$wx_cv_nocygwin" = "yes"; then
20642 doesnt_want_win32=1
20645 if test "$wants_win32" = 1 ; then
20646 BAKEFILE_FORCE_PLATFORM=win32
20654 if test "$wxUSE_WINE" = "yes"; then
20656 LDFLAGS_GUI="-mwindows"
20659 if test "$wants_win32" = 1 ; then
20662 cat >>confdefs.h <<\_ACEOF
20663 #define __WIN32__ 1
20666 cat >>confdefs.h <<\_ACEOF
20667 #define __WIN95__ 1
20670 cat >>confdefs.h <<\_ACEOF
20671 #define __WINDOWS__ 1
20674 cat >>confdefs.h <<\_ACEOF
20675 #define __GNUWIN32__ 1
20678 cat >>confdefs.h <<\_ACEOF
20683 if test "$doesnt_want_win32" = 1 ; then
20688 if test "$USE_UNIX" = 1 ; then
20690 cat >>confdefs.h <<\_ACEOF
20697 *-pc-os2_emx | *-pc-os2-emx )
20698 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20699 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20700 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20701 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20702 echo $ECHO_N "(cached) $ECHO_C" >&6
20704 ac_check_lib_save_LIBS=$LIBS
20705 LIBS="-lcExt $LIBS"
20706 cat >conftest.$ac_ext <<_ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20713 /* Override any GCC internal prototype to avoid an error.
20714 Use char because int might match the return type of a GCC
20715 builtin and then its argument prototype would still apply. */
20728 rm -f conftest.$ac_objext conftest$ac_exeext
20729 if { (ac_try="$ac_link"
20730 case "(($ac_try" in
20731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20732 *) ac_try_echo=$ac_try;;
20734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20735 (eval "$ac_link") 2>conftest.er1
20737 grep -v '^ *+' conftest.er1 >conftest.err
20739 cat conftest.err >&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } && {
20742 test -z "$ac_c_werror_flag" ||
20743 test ! -s conftest.err
20744 } && test -s conftest$ac_exeext &&
20745 $as_test_x conftest$ac_exeext; then
20746 ac_cv_lib_cExt_drand48=yes
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.$ac_ext >&5
20751 ac_cv_lib_cExt_drand48=no
20754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20755 conftest$ac_exeext conftest.$ac_ext
20756 LIBS=$ac_check_lib_save_LIBS
20758 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20759 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20760 if test $ac_cv_lib_cExt_drand48 = yes; then
20761 LIBS="$LIBS -lcExt"
20765 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20767 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20768 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20769 if test "${wx_cv_gccversion+set}" = set; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20773 if test "$cross_compiling" = yes; then
20774 wx_cv_gccversion="EMX2"
20777 cat >conftest.$ac_ext <<_ACEOF
20780 cat confdefs.h >>conftest.$ac_ext
20781 cat >>conftest.$ac_ext <<_ACEOF
20782 /* end confdefs.h. */
20788 FILE *f=fopen("conftestval", "w");
20793 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20795 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20805 rm -f conftest$ac_exeext
20806 if { (ac_try="$ac_link"
20807 case "(($ac_try" in
20808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20809 *) ac_try_echo=$ac_try;;
20811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20812 (eval "$ac_link") 2>&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20816 { (case "(($ac_try" in
20817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20818 *) ac_try_echo=$ac_try;;
20820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20821 (eval "$ac_try") 2>&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); }; }; then
20825 wx_cv_gccversion=`cat conftestval`
20827 echo "$as_me: program exited with status $ac_status" >&5
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20831 ( exit $ac_status )
20832 wx_cv_gccversion="EMX2"
20834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20840 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20841 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20842 if test "$wx_cv_gccversion" = "EMX2"; then
20843 LIBS="$LIBS -lstdcpp"
20844 LDFLAGS="$LDFLAGS -Zsysv-signals"
20846 if test "$wx_cv_gccversion" = "EMX3"; then
20847 LIBS="$LIBS -lstdcxx -lgcc"
20848 LDFLAGS="$LDFLAGS -Zsysv-signals"
20850 LIBS="$LIBS -lstdc++"
20853 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20854 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20855 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20862 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20863 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20864 if test "${ac_cv_string_strcasecmp+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20868 cat >conftest.$ac_ext <<_ACEOF
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20875 #include <string.h>
20881 strcasecmp("foo", "bar");
20887 rm -f conftest.$ac_objext conftest$ac_exeext
20888 if { (ac_try="$ac_link"
20889 case "(($ac_try" in
20890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20891 *) ac_try_echo=$ac_try;;
20893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20894 (eval "$ac_link") 2>conftest.er1
20896 grep -v '^ *+' conftest.er1 >conftest.err
20898 cat conftest.err >&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } && {
20901 test -z "$ac_c_werror_flag" ||
20902 test ! -s conftest.err
20903 } && test -s conftest$ac_exeext &&
20904 $as_test_x conftest$ac_exeext; then
20905 ac_cv_string_strcasecmp=yes
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20910 ac_cv_string_strcasecmp=no
20914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20915 conftest$ac_exeext conftest.$ac_ext
20918 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20919 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20921 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20922 cat >>confdefs.h <<\_ACEOF
20923 #define HAVE_STRCASECMP_IN_STRING_H 1
20927 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20928 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20929 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20930 echo $ECHO_N "(cached) $ECHO_C" >&6
20933 cat >conftest.$ac_ext <<_ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20940 #include <strings.h>
20946 strcasecmp("foo", "bar");
20952 rm -f conftest.$ac_objext conftest$ac_exeext
20953 if { (ac_try="$ac_link"
20954 case "(($ac_try" in
20955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20956 *) ac_try_echo=$ac_try;;
20958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20959 (eval "$ac_link") 2>conftest.er1
20961 grep -v '^ *+' conftest.er1 >conftest.err
20963 cat conftest.err >&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); } && {
20966 test -z "$ac_c_werror_flag" ||
20967 test ! -s conftest.err
20968 } && test -s conftest$ac_exeext &&
20969 $as_test_x conftest$ac_exeext; then
20970 ac_cv_strings_strcasecmp=yes
20972 echo "$as_me: failed program was:" >&5
20973 sed 's/^/| /' conftest.$ac_ext >&5
20975 ac_cv_strings_strcasecmp=no
20979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20980 conftest$ac_exeext conftest.$ac_ext
20983 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20984 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20986 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20987 cat >>confdefs.h <<\_ACEOF
20988 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20992 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20993 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20994 { (exit 1); exit 1; }; }
21002 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21003 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21004 if test "${ac_cv_header_stdc+set}" = set; then
21005 echo $ECHO_N "(cached) $ECHO_C" >&6
21007 cat >conftest.$ac_ext <<_ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 #include <stdlib.h>
21014 #include <stdarg.h>
21015 #include <string.h>
21026 rm -f conftest.$ac_objext
21027 if { (ac_try="$ac_compile"
21028 case "(($ac_try" in
21029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21030 *) ac_try_echo=$ac_try;;
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033 (eval "$ac_compile") 2>conftest.er1
21035 grep -v '^ *+' conftest.er1 >conftest.err
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } && {
21040 test -z "$ac_c_werror_flag" ||
21041 test ! -s conftest.err
21042 } && test -s conftest.$ac_objext; then
21043 ac_cv_header_stdc=yes
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21048 ac_cv_header_stdc=no
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21053 if test $ac_cv_header_stdc = yes; then
21054 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21055 cat >conftest.$ac_ext <<_ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 #include <string.h>
21064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21065 $EGREP "memchr" >/dev/null 2>&1; then
21068 ac_cv_header_stdc=no
21074 if test $ac_cv_header_stdc = yes; then
21075 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21076 cat >conftest.$ac_ext <<_ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 #include <stdlib.h>
21085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21086 $EGREP "free" >/dev/null 2>&1; then
21089 ac_cv_header_stdc=no
21095 if test $ac_cv_header_stdc = yes; then
21096 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21097 if test "$cross_compiling" = yes; then
21100 cat >conftest.$ac_ext <<_ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21107 #include <stdlib.h>
21108 #if ((' ' & 0x0FF) == 0x020)
21109 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21110 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21112 # define ISLOWER(c) \
21113 (('a' <= (c) && (c) <= 'i') \
21114 || ('j' <= (c) && (c) <= 'r') \
21115 || ('s' <= (c) && (c) <= 'z'))
21116 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21119 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21124 for (i = 0; i < 256; i++)
21125 if (XOR (islower (i), ISLOWER (i))
21126 || toupper (i) != TOUPPER (i))
21131 rm -f conftest$ac_exeext
21132 if { (ac_try="$ac_link"
21133 case "(($ac_try" in
21134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21135 *) ac_try_echo=$ac_try;;
21137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21138 (eval "$ac_link") 2>&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21142 { (case "(($ac_try" in
21143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21144 *) ac_try_echo=$ac_try;;
21146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21147 (eval "$ac_try") 2>&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); }; }; then
21153 echo "$as_me: program exited with status $ac_status" >&5
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.$ac_ext >&5
21157 ( exit $ac_status )
21158 ac_cv_header_stdc=no
21160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21166 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21167 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21168 if test $ac_cv_header_stdc = yes; then
21170 cat >>confdefs.h <<\_ACEOF
21171 #define STDC_HEADERS 1
21176 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21186 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21187 inttypes.h stdint.h unistd.h
21189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21190 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21193 echo $ECHO_N "(cached) $ECHO_C" >&6
21195 cat >conftest.$ac_ext <<_ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21203 #include <$ac_header>
21205 rm -f conftest.$ac_objext
21206 if { (ac_try="$ac_compile"
21207 case "(($ac_try" in
21208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21209 *) ac_try_echo=$ac_try;;
21211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21212 (eval "$ac_compile") 2>conftest.er1
21214 grep -v '^ *+' conftest.er1 >conftest.err
21216 cat conftest.err >&5
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); } && {
21219 test -z "$ac_c_werror_flag" ||
21220 test ! -s conftest.err
21221 } && test -s conftest.$ac_objext; then
21222 eval "$as_ac_Header=yes"
21224 echo "$as_me: failed program was:" >&5
21225 sed 's/^/| /' conftest.$ac_ext >&5
21227 eval "$as_ac_Header=no"
21230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21232 ac_res=`eval echo '${'$as_ac_Header'}'`
21233 { echo "$as_me:$LINENO: result: $ac_res" >&5
21234 echo "${ECHO_T}$ac_res" >&6; }
21235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21236 cat >>confdefs.h <<_ACEOF
21237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21251 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21254 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21257 echo $ECHO_N "(cached) $ECHO_C" >&6
21259 cat >conftest.$ac_ext <<_ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 $ac_includes_default
21267 #include <$ac_header>
21269 rm -f conftest.$ac_objext
21270 if { (ac_try="$ac_compile"
21271 case "(($ac_try" in
21272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21273 *) ac_try_echo=$ac_try;;
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_compile") 2>conftest.er1
21278 grep -v '^ *+' conftest.er1 >conftest.err
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && {
21283 test -z "$ac_c_werror_flag" ||
21284 test ! -s conftest.err
21285 } && test -s conftest.$ac_objext; then
21286 eval "$as_ac_Header=yes"
21288 echo "$as_me: failed program was:" >&5
21289 sed 's/^/| /' conftest.$ac_ext >&5
21291 eval "$as_ac_Header=no"
21294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21296 ac_res=`eval echo '${'$as_ac_Header'}'`
21297 { echo "$as_me:$LINENO: result: $ac_res" >&5
21298 echo "${ECHO_T}$ac_res" >&6; }
21299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21300 cat >>confdefs.h <<_ACEOF
21301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21309 if test "$ac_cv_header_wchar_h" != "yes"; then
21311 for ac_header in wcstr.h
21313 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21314 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21316 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21317 echo $ECHO_N "(cached) $ECHO_C" >&6
21319 cat >conftest.$ac_ext <<_ACEOF
21322 cat confdefs.h >>conftest.$ac_ext
21323 cat >>conftest.$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 $ac_includes_default
21327 #include <$ac_header>
21329 rm -f conftest.$ac_objext
21330 if { (ac_try="$ac_compile"
21331 case "(($ac_try" in
21332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21333 *) ac_try_echo=$ac_try;;
21335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21336 (eval "$ac_compile") 2>conftest.er1
21338 grep -v '^ *+' conftest.er1 >conftest.err
21340 cat conftest.err >&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); } && {
21343 test -z "$ac_c_werror_flag" ||
21344 test ! -s conftest.err
21345 } && test -s conftest.$ac_objext; then
21346 eval "$as_ac_Header=yes"
21348 echo "$as_me: failed program was:" >&5
21349 sed 's/^/| /' conftest.$ac_ext >&5
21351 eval "$as_ac_Header=no"
21354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21356 ac_res=`eval echo '${'$as_ac_Header'}'`
21357 { echo "$as_me:$LINENO: result: $ac_res" >&5
21358 echo "${ECHO_T}$ac_res" >&6; }
21359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21360 cat >>confdefs.h <<_ACEOF
21361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21371 *-pc-os2_emx | *-pc-os2-emx )
21372 if test $ac_cv_header_langinfo_h = "yes" \
21373 -a \( "$wx_cv_gccversion" = "EMX2" \
21374 -o "$wx_cv_gccversion" = "EMX3" \
21375 -o "$wx_cv_gccversion" = "Innotek5" \); then
21376 LIBS="$LIBS -lintl"
21381 if test "$USE_UNIX" = 1 ; then
21383 for ac_header in sys/select.h
21385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21389 echo $ECHO_N "(cached) $ECHO_C" >&6
21391 cat >conftest.$ac_ext <<_ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 $ac_includes_default
21399 #include <$ac_header>
21401 rm -f conftest.$ac_objext
21402 if { (ac_try="$ac_compile"
21403 case "(($ac_try" in
21404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21405 *) ac_try_echo=$ac_try;;
21407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21408 (eval "$ac_compile") 2>conftest.er1
21410 grep -v '^ *+' conftest.er1 >conftest.err
21412 cat conftest.err >&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); } && {
21415 test -z "$ac_c_werror_flag" ||
21416 test ! -s conftest.err
21417 } && test -s conftest.$ac_objext; then
21418 eval "$as_ac_Header=yes"
21420 echo "$as_me: failed program was:" >&5
21421 sed 's/^/| /' conftest.$ac_ext >&5
21423 eval "$as_ac_Header=no"
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21428 ac_res=`eval echo '${'$as_ac_Header'}'`
21429 { echo "$as_me:$LINENO: result: $ac_res" >&5
21430 echo "${ECHO_T}$ac_res" >&6; }
21431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21432 cat >>confdefs.h <<_ACEOF
21433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21443 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21444 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21445 if test "${ac_cv_c_const+set}" = set; then
21446 echo $ECHO_N "(cached) $ECHO_C" >&6
21448 cat >conftest.$ac_ext <<_ACEOF
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21458 /* FIXME: Include the comments suggested by Paul. */
21459 #ifndef __cplusplus
21460 /* Ultrix mips cc rejects this. */
21461 typedef int charset[2];
21463 /* SunOS 4.1.1 cc rejects this. */
21464 char const *const *pcpcc;
21466 /* NEC SVR4.0.2 mips cc rejects this. */
21467 struct point {int x, y;};
21468 static struct point const zero = {0,0};
21469 /* AIX XL C 1.02.0.0 rejects this.
21470 It does not let you subtract one const X* pointer from another in
21471 an arm of an if-expression whose if-part is not a constant
21473 const char *g = "string";
21474 pcpcc = &g + (g ? g-g : 0);
21475 /* HPUX 7.0 cc rejects these. */
21477 ppc = (char**) pcpcc;
21478 pcpcc = (char const *const *) ppc;
21479 { /* SCO 3.2v4 cc rejects this. */
21481 char const *s = 0 ? (char *) 0 : (char const *) 0;
21486 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21487 int x[] = {25, 17};
21488 const int *foo = &x[0];
21491 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21492 typedef const int *iptr;
21496 { /* AIX XL C 1.02.0.0 rejects this saying
21497 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21498 struct s { int j; const int *ap[3]; };
21499 struct s *b; b->j = 5;
21501 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21502 const int foo = 10;
21503 if (!foo) return 0;
21505 return !cs[0] && !zero.x;
21512 rm -f conftest.$ac_objext
21513 if { (ac_try="$ac_compile"
21514 case "(($ac_try" in
21515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21516 *) ac_try_echo=$ac_try;;
21518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21519 (eval "$ac_compile") 2>conftest.er1
21521 grep -v '^ *+' conftest.er1 >conftest.err
21523 cat conftest.err >&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } && {
21526 test -z "$ac_c_werror_flag" ||
21527 test ! -s conftest.err
21528 } && test -s conftest.$ac_objext; then
21531 echo "$as_me: failed program was:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21540 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21541 if test $ac_cv_c_const = no; then
21543 cat >>confdefs.h <<\_ACEOF
21549 { echo "$as_me:$LINENO: checking for inline" >&5
21550 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21551 if test "${ac_cv_c_inline+set}" = set; then
21552 echo $ECHO_N "(cached) $ECHO_C" >&6
21555 for ac_kw in inline __inline__ __inline; do
21556 cat >conftest.$ac_ext <<_ACEOF
21559 cat confdefs.h >>conftest.$ac_ext
21560 cat >>conftest.$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562 #ifndef __cplusplus
21564 static $ac_kw foo_t static_foo () {return 0; }
21565 $ac_kw foo_t foo () {return 0; }
21569 rm -f conftest.$ac_objext
21570 if { (ac_try="$ac_compile"
21571 case "(($ac_try" in
21572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21573 *) ac_try_echo=$ac_try;;
21575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21576 (eval "$ac_compile") 2>conftest.er1
21578 grep -v '^ *+' conftest.er1 >conftest.err
21580 cat conftest.err >&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); } && {
21583 test -z "$ac_c_werror_flag" ||
21584 test ! -s conftest.err
21585 } && test -s conftest.$ac_objext; then
21586 ac_cv_c_inline=$ac_kw
21588 echo "$as_me: failed program was:" >&5
21589 sed 's/^/| /' conftest.$ac_ext >&5
21594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21595 test "$ac_cv_c_inline" != no && break
21599 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21600 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21603 case $ac_cv_c_inline in
21606 case $ac_cv_c_inline in
21608 *) ac_val=$ac_cv_c_inline;;
21610 cat >>confdefs.h <<_ACEOF
21611 #ifndef __cplusplus
21612 #define inline $ac_val
21619 { echo "$as_me:$LINENO: checking for short" >&5
21620 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21621 if test "${ac_cv_type_short+set}" = set; then
21622 echo $ECHO_N "(cached) $ECHO_C" >&6
21624 cat >conftest.$ac_ext <<_ACEOF
21627 cat confdefs.h >>conftest.$ac_ext
21628 cat >>conftest.$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21630 $ac_includes_default
21631 typedef short ac__type_new_;
21635 if ((ac__type_new_ *) 0)
21637 if (sizeof (ac__type_new_))
21643 rm -f conftest.$ac_objext
21644 if { (ac_try="$ac_compile"
21645 case "(($ac_try" in
21646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21647 *) ac_try_echo=$ac_try;;
21649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval "$ac_compile") 2>conftest.er1
21652 grep -v '^ *+' conftest.er1 >conftest.err
21654 cat conftest.err >&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } && {
21657 test -z "$ac_c_werror_flag" ||
21658 test ! -s conftest.err
21659 } && test -s conftest.$ac_objext; then
21660 ac_cv_type_short=yes
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21665 ac_cv_type_short=no
21668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21670 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21671 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21673 # The cast to long int works around a bug in the HP C Compiler
21674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21676 # This bug is HP SR number 8606223364.
21677 { echo "$as_me:$LINENO: checking size of short" >&5
21678 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21679 if test "${ac_cv_sizeof_short+set}" = set; then
21680 echo $ECHO_N "(cached) $ECHO_C" >&6
21682 if test "$cross_compiling" = yes; then
21683 # Depending upon the size, compute the lo and hi bounds.
21684 cat >conftest.$ac_ext <<_ACEOF
21687 cat confdefs.h >>conftest.$ac_ext
21688 cat >>conftest.$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21690 $ac_includes_default
21691 typedef short ac__type_sizeof_;
21695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21702 rm -f conftest.$ac_objext
21703 if { (ac_try="$ac_compile"
21704 case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706 *) ac_try_echo=$ac_try;;
21708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_compile") 2>conftest.er1
21711 grep -v '^ *+' conftest.er1 >conftest.err
21713 cat conftest.err >&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); } && {
21716 test -z "$ac_c_werror_flag" ||
21717 test ! -s conftest.err
21718 } && test -s conftest.$ac_objext; then
21721 cat >conftest.$ac_ext <<_ACEOF
21724 cat confdefs.h >>conftest.$ac_ext
21725 cat >>conftest.$ac_ext <<_ACEOF
21726 /* end confdefs.h. */
21727 $ac_includes_default
21728 typedef short ac__type_sizeof_;
21732 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21739 rm -f conftest.$ac_objext
21740 if { (ac_try="$ac_compile"
21741 case "(($ac_try" in
21742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21743 *) ac_try_echo=$ac_try;;
21745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21746 (eval "$ac_compile") 2>conftest.er1
21748 grep -v '^ *+' conftest.er1 >conftest.err
21750 cat conftest.err >&5
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); } && {
21753 test -z "$ac_c_werror_flag" ||
21754 test ! -s conftest.err
21755 } && test -s conftest.$ac_objext; then
21756 ac_hi=$ac_mid; break
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.$ac_ext >&5
21761 ac_lo=`expr $ac_mid + 1`
21762 if test $ac_lo -le $ac_mid; then
21766 ac_mid=`expr 2 '*' $ac_mid + 1`
21769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21772 echo "$as_me: failed program was:" >&5
21773 sed 's/^/| /' conftest.$ac_ext >&5
21775 cat >conftest.$ac_ext <<_ACEOF
21778 cat confdefs.h >>conftest.$ac_ext
21779 cat >>conftest.$ac_ext <<_ACEOF
21780 /* end confdefs.h. */
21781 $ac_includes_default
21782 typedef short ac__type_sizeof_;
21786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21793 rm -f conftest.$ac_objext
21794 if { (ac_try="$ac_compile"
21795 case "(($ac_try" in
21796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21797 *) ac_try_echo=$ac_try;;
21799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21800 (eval "$ac_compile") 2>conftest.er1
21802 grep -v '^ *+' conftest.er1 >conftest.err
21804 cat conftest.err >&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && {
21807 test -z "$ac_c_werror_flag" ||
21808 test ! -s conftest.err
21809 } && test -s conftest.$ac_objext; then
21812 cat >conftest.$ac_ext <<_ACEOF
21815 cat confdefs.h >>conftest.$ac_ext
21816 cat >>conftest.$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21818 $ac_includes_default
21819 typedef short ac__type_sizeof_;
21823 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21830 rm -f conftest.$ac_objext
21831 if { (ac_try="$ac_compile"
21832 case "(($ac_try" in
21833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21834 *) ac_try_echo=$ac_try;;
21836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21837 (eval "$ac_compile") 2>conftest.er1
21839 grep -v '^ *+' conftest.er1 >conftest.err
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } && {
21844 test -z "$ac_c_werror_flag" ||
21845 test ! -s conftest.err
21846 } && test -s conftest.$ac_objext; then
21847 ac_lo=$ac_mid; break
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21852 ac_hi=`expr '(' $ac_mid ')' - 1`
21853 if test $ac_mid -le $ac_hi; then
21857 ac_mid=`expr 2 '*' $ac_mid`
21860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21863 echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.$ac_ext >&5
21869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21873 # Binary search between lo and hi bounds.
21874 while test "x$ac_lo" != "x$ac_hi"; do
21875 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21876 cat >conftest.$ac_ext <<_ACEOF
21879 cat confdefs.h >>conftest.$ac_ext
21880 cat >>conftest.$ac_ext <<_ACEOF
21881 /* end confdefs.h. */
21882 $ac_includes_default
21883 typedef short ac__type_sizeof_;
21887 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21894 rm -f conftest.$ac_objext
21895 if { (ac_try="$ac_compile"
21896 case "(($ac_try" in
21897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21898 *) ac_try_echo=$ac_try;;
21900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21901 (eval "$ac_compile") 2>conftest.er1
21903 grep -v '^ *+' conftest.er1 >conftest.err
21905 cat conftest.err >&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); } && {
21908 test -z "$ac_c_werror_flag" ||
21909 test ! -s conftest.err
21910 } && test -s conftest.$ac_objext; then
21913 echo "$as_me: failed program was:" >&5
21914 sed 's/^/| /' conftest.$ac_ext >&5
21916 ac_lo=`expr '(' $ac_mid ')' + 1`
21919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21922 ?*) ac_cv_sizeof_short=$ac_lo;;
21923 '') if test "$ac_cv_type_short" = yes; then
21924 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21925 See \`config.log' for more details." >&5
21926 echo "$as_me: error: cannot compute sizeof (short)
21927 See \`config.log' for more details." >&2;}
21928 { (exit 77); exit 77; }; }
21930 ac_cv_sizeof_short=0
21934 cat >conftest.$ac_ext <<_ACEOF
21937 cat confdefs.h >>conftest.$ac_ext
21938 cat >>conftest.$ac_ext <<_ACEOF
21939 /* end confdefs.h. */
21940 $ac_includes_default
21941 typedef short ac__type_sizeof_;
21942 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21943 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21945 #include <stdlib.h>
21950 FILE *f = fopen ("conftest.val", "w");
21953 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21955 long int i = longval ();
21956 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21958 fprintf (f, "%ld\n", i);
21962 unsigned long int i = ulongval ();
21963 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21965 fprintf (f, "%lu\n", i);
21967 return ferror (f) || fclose (f) != 0;
21973 rm -f conftest$ac_exeext
21974 if { (ac_try="$ac_link"
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_link") 2>&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21984 { (case "(($ac_try" in
21985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21986 *) ac_try_echo=$ac_try;;
21988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21989 (eval "$ac_try") 2>&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); }; }; then
21993 ac_cv_sizeof_short=`cat conftest.val`
21995 echo "$as_me: program exited with status $ac_status" >&5
21996 echo "$as_me: failed program was:" >&5
21997 sed 's/^/| /' conftest.$ac_ext >&5
21999 ( exit $ac_status )
22000 if test "$ac_cv_type_short" = yes; then
22001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22002 See \`config.log' for more details." >&5
22003 echo "$as_me: error: cannot compute sizeof (short)
22004 See \`config.log' for more details." >&2;}
22005 { (exit 77); exit 77; }; }
22007 ac_cv_sizeof_short=0
22010 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22014 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22015 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22019 cat >>confdefs.h <<_ACEOF
22020 #define SIZEOF_SHORT $ac_cv_sizeof_short
22024 { echo "$as_me:$LINENO: checking for void *" >&5
22025 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22026 if test "${ac_cv_type_void_p+set}" = set; then
22027 echo $ECHO_N "(cached) $ECHO_C" >&6
22029 cat >conftest.$ac_ext <<_ACEOF
22032 cat confdefs.h >>conftest.$ac_ext
22033 cat >>conftest.$ac_ext <<_ACEOF
22034 /* end confdefs.h. */
22035 $ac_includes_default
22036 typedef void * ac__type_new_;
22040 if ((ac__type_new_ *) 0)
22042 if (sizeof (ac__type_new_))
22048 rm -f conftest.$ac_objext
22049 if { (ac_try="$ac_compile"
22050 case "(($ac_try" in
22051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22052 *) ac_try_echo=$ac_try;;
22054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22055 (eval "$ac_compile") 2>conftest.er1
22057 grep -v '^ *+' conftest.er1 >conftest.err
22059 cat conftest.err >&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); } && {
22062 test -z "$ac_c_werror_flag" ||
22063 test ! -s conftest.err
22064 } && test -s conftest.$ac_objext; then
22065 ac_cv_type_void_p=yes
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22070 ac_cv_type_void_p=no
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22075 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22076 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22078 # The cast to long int works around a bug in the HP C Compiler
22079 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22080 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22081 # This bug is HP SR number 8606223364.
22082 { echo "$as_me:$LINENO: checking size of void *" >&5
22083 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22084 if test "${ac_cv_sizeof_void_p+set}" = set; then
22085 echo $ECHO_N "(cached) $ECHO_C" >&6
22087 if test "$cross_compiling" = yes; then
22088 # Depending upon the size, compute the lo and hi bounds.
22089 cat >conftest.$ac_ext <<_ACEOF
22092 cat confdefs.h >>conftest.$ac_ext
22093 cat >>conftest.$ac_ext <<_ACEOF
22094 /* end confdefs.h. */
22095 $ac_includes_default
22096 typedef void * ac__type_sizeof_;
22100 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22107 rm -f conftest.$ac_objext
22108 if { (ac_try="$ac_compile"
22109 case "(($ac_try" in
22110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22111 *) ac_try_echo=$ac_try;;
22113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22114 (eval "$ac_compile") 2>conftest.er1
22116 grep -v '^ *+' conftest.er1 >conftest.err
22118 cat conftest.err >&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); } && {
22121 test -z "$ac_c_werror_flag" ||
22122 test ! -s conftest.err
22123 } && test -s conftest.$ac_objext; then
22126 cat >conftest.$ac_ext <<_ACEOF
22129 cat confdefs.h >>conftest.$ac_ext
22130 cat >>conftest.$ac_ext <<_ACEOF
22131 /* end confdefs.h. */
22132 $ac_includes_default
22133 typedef void * ac__type_sizeof_;
22137 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22144 rm -f conftest.$ac_objext
22145 if { (ac_try="$ac_compile"
22146 case "(($ac_try" in
22147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22148 *) ac_try_echo=$ac_try;;
22150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22151 (eval "$ac_compile") 2>conftest.er1
22153 grep -v '^ *+' conftest.er1 >conftest.err
22155 cat conftest.err >&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } && {
22158 test -z "$ac_c_werror_flag" ||
22159 test ! -s conftest.err
22160 } && test -s conftest.$ac_objext; then
22161 ac_hi=$ac_mid; break
22163 echo "$as_me: failed program was:" >&5
22164 sed 's/^/| /' conftest.$ac_ext >&5
22166 ac_lo=`expr $ac_mid + 1`
22167 if test $ac_lo -le $ac_mid; then
22171 ac_mid=`expr 2 '*' $ac_mid + 1`
22174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22177 echo "$as_me: failed program was:" >&5
22178 sed 's/^/| /' conftest.$ac_ext >&5
22180 cat >conftest.$ac_ext <<_ACEOF
22183 cat confdefs.h >>conftest.$ac_ext
22184 cat >>conftest.$ac_ext <<_ACEOF
22185 /* end confdefs.h. */
22186 $ac_includes_default
22187 typedef void * ac__type_sizeof_;
22191 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22198 rm -f conftest.$ac_objext
22199 if { (ac_try="$ac_compile"
22200 case "(($ac_try" in
22201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22202 *) ac_try_echo=$ac_try;;
22204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22205 (eval "$ac_compile") 2>conftest.er1
22207 grep -v '^ *+' conftest.er1 >conftest.err
22209 cat conftest.err >&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); } && {
22212 test -z "$ac_c_werror_flag" ||
22213 test ! -s conftest.err
22214 } && test -s conftest.$ac_objext; then
22217 cat >conftest.$ac_ext <<_ACEOF
22220 cat confdefs.h >>conftest.$ac_ext
22221 cat >>conftest.$ac_ext <<_ACEOF
22222 /* end confdefs.h. */
22223 $ac_includes_default
22224 typedef void * ac__type_sizeof_;
22228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22235 rm -f conftest.$ac_objext
22236 if { (ac_try="$ac_compile"
22237 case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_compile") 2>conftest.er1
22244 grep -v '^ *+' conftest.er1 >conftest.err
22246 cat conftest.err >&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && {
22249 test -z "$ac_c_werror_flag" ||
22250 test ! -s conftest.err
22251 } && test -s conftest.$ac_objext; then
22252 ac_lo=$ac_mid; break
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22257 ac_hi=`expr '(' $ac_mid ')' - 1`
22258 if test $ac_mid -le $ac_hi; then
22262 ac_mid=`expr 2 '*' $ac_mid`
22265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22268 echo "$as_me: failed program was:" >&5
22269 sed 's/^/| /' conftest.$ac_ext >&5
22274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22278 # Binary search between lo and hi bounds.
22279 while test "x$ac_lo" != "x$ac_hi"; do
22280 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22281 cat >conftest.$ac_ext <<_ACEOF
22284 cat confdefs.h >>conftest.$ac_ext
22285 cat >>conftest.$ac_ext <<_ACEOF
22286 /* end confdefs.h. */
22287 $ac_includes_default
22288 typedef void * ac__type_sizeof_;
22292 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22299 rm -f conftest.$ac_objext
22300 if { (ac_try="$ac_compile"
22301 case "(($ac_try" in
22302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22303 *) ac_try_echo=$ac_try;;
22305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22306 (eval "$ac_compile") 2>conftest.er1
22308 grep -v '^ *+' conftest.er1 >conftest.err
22310 cat conftest.err >&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } && {
22313 test -z "$ac_c_werror_flag" ||
22314 test ! -s conftest.err
22315 } && test -s conftest.$ac_objext; then
22318 echo "$as_me: failed program was:" >&5
22319 sed 's/^/| /' conftest.$ac_ext >&5
22321 ac_lo=`expr '(' $ac_mid ')' + 1`
22324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22327 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22328 '') if test "$ac_cv_type_void_p" = yes; then
22329 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22330 See \`config.log' for more details." >&5
22331 echo "$as_me: error: cannot compute sizeof (void *)
22332 See \`config.log' for more details." >&2;}
22333 { (exit 77); exit 77; }; }
22335 ac_cv_sizeof_void_p=0
22339 cat >conftest.$ac_ext <<_ACEOF
22342 cat confdefs.h >>conftest.$ac_ext
22343 cat >>conftest.$ac_ext <<_ACEOF
22344 /* end confdefs.h. */
22345 $ac_includes_default
22346 typedef void * ac__type_sizeof_;
22347 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22348 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22350 #include <stdlib.h>
22355 FILE *f = fopen ("conftest.val", "w");
22358 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22360 long int i = longval ();
22361 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22363 fprintf (f, "%ld\n", i);
22367 unsigned long int i = ulongval ();
22368 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22370 fprintf (f, "%lu\n", i);
22372 return ferror (f) || fclose (f) != 0;
22378 rm -f conftest$ac_exeext
22379 if { (ac_try="$ac_link"
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_link") 2>&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22389 { (case "(($ac_try" in
22390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22391 *) ac_try_echo=$ac_try;;
22393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22394 (eval "$ac_try") 2>&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; }; then
22398 ac_cv_sizeof_void_p=`cat conftest.val`
22400 echo "$as_me: program exited with status $ac_status" >&5
22401 echo "$as_me: failed program was:" >&5
22402 sed 's/^/| /' conftest.$ac_ext >&5
22404 ( exit $ac_status )
22405 if test "$ac_cv_type_void_p" = yes; then
22406 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22407 See \`config.log' for more details." >&5
22408 echo "$as_me: error: cannot compute sizeof (void *)
22409 See \`config.log' for more details." >&2;}
22410 { (exit 77); exit 77; }; }
22412 ac_cv_sizeof_void_p=0
22415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22419 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22420 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22424 cat >>confdefs.h <<_ACEOF
22425 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22429 { echo "$as_me:$LINENO: checking for int" >&5
22430 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22431 if test "${ac_cv_type_int+set}" = set; then
22432 echo $ECHO_N "(cached) $ECHO_C" >&6
22434 cat >conftest.$ac_ext <<_ACEOF
22437 cat confdefs.h >>conftest.$ac_ext
22438 cat >>conftest.$ac_ext <<_ACEOF
22439 /* end confdefs.h. */
22440 $ac_includes_default
22441 typedef int ac__type_new_;
22445 if ((ac__type_new_ *) 0)
22447 if (sizeof (ac__type_new_))
22453 rm -f conftest.$ac_objext
22454 if { (ac_try="$ac_compile"
22455 case "(($ac_try" in
22456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22457 *) ac_try_echo=$ac_try;;
22459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22460 (eval "$ac_compile") 2>conftest.er1
22462 grep -v '^ *+' conftest.er1 >conftest.err
22464 cat conftest.err >&5
22465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466 (exit $ac_status); } && {
22467 test -z "$ac_c_werror_flag" ||
22468 test ! -s conftest.err
22469 } && test -s conftest.$ac_objext; then
22472 echo "$as_me: failed program was:" >&5
22473 sed 's/^/| /' conftest.$ac_ext >&5
22478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22480 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22481 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22483 # The cast to long int works around a bug in the HP C Compiler
22484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22486 # This bug is HP SR number 8606223364.
22487 { echo "$as_me:$LINENO: checking size of int" >&5
22488 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22489 if test "${ac_cv_sizeof_int+set}" = set; then
22490 echo $ECHO_N "(cached) $ECHO_C" >&6
22492 if test "$cross_compiling" = yes; then
22493 # Depending upon the size, compute the lo and hi bounds.
22494 cat >conftest.$ac_ext <<_ACEOF
22497 cat confdefs.h >>conftest.$ac_ext
22498 cat >>conftest.$ac_ext <<_ACEOF
22499 /* end confdefs.h. */
22500 $ac_includes_default
22501 typedef int ac__type_sizeof_;
22505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22512 rm -f conftest.$ac_objext
22513 if { (ac_try="$ac_compile"
22514 case "(($ac_try" in
22515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22516 *) ac_try_echo=$ac_try;;
22518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22519 (eval "$ac_compile") 2>conftest.er1
22521 grep -v '^ *+' conftest.er1 >conftest.err
22523 cat conftest.err >&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && {
22526 test -z "$ac_c_werror_flag" ||
22527 test ! -s conftest.err
22528 } && test -s conftest.$ac_objext; then
22531 cat >conftest.$ac_ext <<_ACEOF
22534 cat confdefs.h >>conftest.$ac_ext
22535 cat >>conftest.$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22537 $ac_includes_default
22538 typedef int ac__type_sizeof_;
22542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22549 rm -f conftest.$ac_objext
22550 if { (ac_try="$ac_compile"
22551 case "(($ac_try" in
22552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22553 *) ac_try_echo=$ac_try;;
22555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22556 (eval "$ac_compile") 2>conftest.er1
22558 grep -v '^ *+' conftest.er1 >conftest.err
22560 cat conftest.err >&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); } && {
22563 test -z "$ac_c_werror_flag" ||
22564 test ! -s conftest.err
22565 } && test -s conftest.$ac_objext; then
22566 ac_hi=$ac_mid; break
22568 echo "$as_me: failed program was:" >&5
22569 sed 's/^/| /' conftest.$ac_ext >&5
22571 ac_lo=`expr $ac_mid + 1`
22572 if test $ac_lo -le $ac_mid; then
22576 ac_mid=`expr 2 '*' $ac_mid + 1`
22579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22585 cat >conftest.$ac_ext <<_ACEOF
22588 cat confdefs.h >>conftest.$ac_ext
22589 cat >>conftest.$ac_ext <<_ACEOF
22590 /* end confdefs.h. */
22591 $ac_includes_default
22592 typedef int ac__type_sizeof_;
22596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22603 rm -f conftest.$ac_objext
22604 if { (ac_try="$ac_compile"
22605 case "(($ac_try" in
22606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22607 *) ac_try_echo=$ac_try;;
22609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22610 (eval "$ac_compile") 2>conftest.er1
22612 grep -v '^ *+' conftest.er1 >conftest.err
22614 cat conftest.err >&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); } && {
22617 test -z "$ac_c_werror_flag" ||
22618 test ! -s conftest.err
22619 } && test -s conftest.$ac_objext; then
22622 cat >conftest.$ac_ext <<_ACEOF
22625 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF
22627 /* end confdefs.h. */
22628 $ac_includes_default
22629 typedef int ac__type_sizeof_;
22633 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22640 rm -f conftest.$ac_objext
22641 if { (ac_try="$ac_compile"
22642 case "(($ac_try" in
22643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22644 *) ac_try_echo=$ac_try;;
22646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22647 (eval "$ac_compile") 2>conftest.er1
22649 grep -v '^ *+' conftest.er1 >conftest.err
22651 cat conftest.err >&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); } && {
22654 test -z "$ac_c_werror_flag" ||
22655 test ! -s conftest.err
22656 } && test -s conftest.$ac_objext; then
22657 ac_lo=$ac_mid; break
22659 echo "$as_me: failed program was:" >&5
22660 sed 's/^/| /' conftest.$ac_ext >&5
22662 ac_hi=`expr '(' $ac_mid ')' - 1`
22663 if test $ac_mid -le $ac_hi; then
22667 ac_mid=`expr 2 '*' $ac_mid`
22670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22673 echo "$as_me: failed program was:" >&5
22674 sed 's/^/| /' conftest.$ac_ext >&5
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22683 # Binary search between lo and hi bounds.
22684 while test "x$ac_lo" != "x$ac_hi"; do
22685 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22686 cat >conftest.$ac_ext <<_ACEOF
22689 cat confdefs.h >>conftest.$ac_ext
22690 cat >>conftest.$ac_ext <<_ACEOF
22691 /* end confdefs.h. */
22692 $ac_includes_default
22693 typedef int ac__type_sizeof_;
22697 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22704 rm -f conftest.$ac_objext
22705 if { (ac_try="$ac_compile"
22706 case "(($ac_try" in
22707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22708 *) ac_try_echo=$ac_try;;
22710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22711 (eval "$ac_compile") 2>conftest.er1
22713 grep -v '^ *+' conftest.er1 >conftest.err
22715 cat conftest.err >&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); } && {
22718 test -z "$ac_c_werror_flag" ||
22719 test ! -s conftest.err
22720 } && test -s conftest.$ac_objext; then
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22726 ac_lo=`expr '(' $ac_mid ')' + 1`
22729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22732 ?*) ac_cv_sizeof_int=$ac_lo;;
22733 '') if test "$ac_cv_type_int" = yes; then
22734 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22735 See \`config.log' for more details." >&5
22736 echo "$as_me: error: cannot compute sizeof (int)
22737 See \`config.log' for more details." >&2;}
22738 { (exit 77); exit 77; }; }
22744 cat >conftest.$ac_ext <<_ACEOF
22747 cat confdefs.h >>conftest.$ac_ext
22748 cat >>conftest.$ac_ext <<_ACEOF
22749 /* end confdefs.h. */
22750 $ac_includes_default
22751 typedef int ac__type_sizeof_;
22752 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22753 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22755 #include <stdlib.h>
22760 FILE *f = fopen ("conftest.val", "w");
22763 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22765 long int i = longval ();
22766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22768 fprintf (f, "%ld\n", i);
22772 unsigned long int i = ulongval ();
22773 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22775 fprintf (f, "%lu\n", i);
22777 return ferror (f) || fclose (f) != 0;
22783 rm -f conftest$ac_exeext
22784 if { (ac_try="$ac_link"
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_link") 2>&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22794 { (case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_try") 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22803 ac_cv_sizeof_int=`cat conftest.val`
22805 echo "$as_me: program exited with status $ac_status" >&5
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.$ac_ext >&5
22809 ( exit $ac_status )
22810 if test "$ac_cv_type_int" = yes; then
22811 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22812 See \`config.log' for more details." >&5
22813 echo "$as_me: error: cannot compute sizeof (int)
22814 See \`config.log' for more details." >&2;}
22815 { (exit 77); exit 77; }; }
22820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22824 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22825 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22829 cat >>confdefs.h <<_ACEOF
22830 #define SIZEOF_INT $ac_cv_sizeof_int
22834 { echo "$as_me:$LINENO: checking for long" >&5
22835 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22836 if test "${ac_cv_type_long+set}" = set; then
22837 echo $ECHO_N "(cached) $ECHO_C" >&6
22839 cat >conftest.$ac_ext <<_ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22845 $ac_includes_default
22846 typedef long ac__type_new_;
22850 if ((ac__type_new_ *) 0)
22852 if (sizeof (ac__type_new_))
22858 rm -f conftest.$ac_objext
22859 if { (ac_try="$ac_compile"
22860 case "(($ac_try" in
22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22862 *) ac_try_echo=$ac_try;;
22864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22865 (eval "$ac_compile") 2>conftest.er1
22867 grep -v '^ *+' conftest.er1 >conftest.err
22869 cat conftest.err >&5
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); } && {
22872 test -z "$ac_c_werror_flag" ||
22873 test ! -s conftest.err
22874 } && test -s conftest.$ac_objext; then
22875 ac_cv_type_long=yes
22877 echo "$as_me: failed program was:" >&5
22878 sed 's/^/| /' conftest.$ac_ext >&5
22883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22885 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22886 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22888 # The cast to long int works around a bug in the HP C Compiler
22889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22891 # This bug is HP SR number 8606223364.
22892 { echo "$as_me:$LINENO: checking size of long" >&5
22893 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22894 if test "${ac_cv_sizeof_long+set}" = set; then
22895 echo $ECHO_N "(cached) $ECHO_C" >&6
22897 if test "$cross_compiling" = yes; then
22898 # Depending upon the size, compute the lo and hi bounds.
22899 cat >conftest.$ac_ext <<_ACEOF
22902 cat confdefs.h >>conftest.$ac_ext
22903 cat >>conftest.$ac_ext <<_ACEOF
22904 /* end confdefs.h. */
22905 $ac_includes_default
22906 typedef long ac__type_sizeof_;
22910 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22917 rm -f conftest.$ac_objext
22918 if { (ac_try="$ac_compile"
22919 case "(($ac_try" in
22920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22921 *) ac_try_echo=$ac_try;;
22923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22924 (eval "$ac_compile") 2>conftest.er1
22926 grep -v '^ *+' conftest.er1 >conftest.err
22928 cat conftest.err >&5
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); } && {
22931 test -z "$ac_c_werror_flag" ||
22932 test ! -s conftest.err
22933 } && test -s conftest.$ac_objext; then
22936 cat >conftest.$ac_ext <<_ACEOF
22939 cat confdefs.h >>conftest.$ac_ext
22940 cat >>conftest.$ac_ext <<_ACEOF
22941 /* end confdefs.h. */
22942 $ac_includes_default
22943 typedef long ac__type_sizeof_;
22947 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22954 rm -f conftest.$ac_objext
22955 if { (ac_try="$ac_compile"
22956 case "(($ac_try" in
22957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22958 *) ac_try_echo=$ac_try;;
22960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22961 (eval "$ac_compile") 2>conftest.er1
22963 grep -v '^ *+' conftest.er1 >conftest.err
22965 cat conftest.err >&5
22966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22967 (exit $ac_status); } && {
22968 test -z "$ac_c_werror_flag" ||
22969 test ! -s conftest.err
22970 } && test -s conftest.$ac_objext; then
22971 ac_hi=$ac_mid; break
22973 echo "$as_me: failed program was:" >&5
22974 sed 's/^/| /' conftest.$ac_ext >&5
22976 ac_lo=`expr $ac_mid + 1`
22977 if test $ac_lo -le $ac_mid; then
22981 ac_mid=`expr 2 '*' $ac_mid + 1`
22984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22987 echo "$as_me: failed program was:" >&5
22988 sed 's/^/| /' conftest.$ac_ext >&5
22990 cat >conftest.$ac_ext <<_ACEOF
22993 cat confdefs.h >>conftest.$ac_ext
22994 cat >>conftest.$ac_ext <<_ACEOF
22995 /* end confdefs.h. */
22996 $ac_includes_default
22997 typedef long ac__type_sizeof_;
23001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23008 rm -f conftest.$ac_objext
23009 if { (ac_try="$ac_compile"
23010 case "(($ac_try" in
23011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23012 *) ac_try_echo=$ac_try;;
23014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23015 (eval "$ac_compile") 2>conftest.er1
23017 grep -v '^ *+' conftest.er1 >conftest.err
23019 cat conftest.err >&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } && {
23022 test -z "$ac_c_werror_flag" ||
23023 test ! -s conftest.err
23024 } && test -s conftest.$ac_objext; then
23027 cat >conftest.$ac_ext <<_ACEOF
23030 cat confdefs.h >>conftest.$ac_ext
23031 cat >>conftest.$ac_ext <<_ACEOF
23032 /* end confdefs.h. */
23033 $ac_includes_default
23034 typedef long ac__type_sizeof_;
23038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23045 rm -f conftest.$ac_objext
23046 if { (ac_try="$ac_compile"
23047 case "(($ac_try" in
23048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23049 *) ac_try_echo=$ac_try;;
23051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23052 (eval "$ac_compile") 2>conftest.er1
23054 grep -v '^ *+' conftest.er1 >conftest.err
23056 cat conftest.err >&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); } && {
23059 test -z "$ac_c_werror_flag" ||
23060 test ! -s conftest.err
23061 } && test -s conftest.$ac_objext; then
23062 ac_lo=$ac_mid; break
23064 echo "$as_me: failed program was:" >&5
23065 sed 's/^/| /' conftest.$ac_ext >&5
23067 ac_hi=`expr '(' $ac_mid ')' - 1`
23068 if test $ac_mid -le $ac_hi; then
23072 ac_mid=`expr 2 '*' $ac_mid`
23075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.$ac_ext >&5
23084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23088 # Binary search between lo and hi bounds.
23089 while test "x$ac_lo" != "x$ac_hi"; do
23090 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23091 cat >conftest.$ac_ext <<_ACEOF
23094 cat confdefs.h >>conftest.$ac_ext
23095 cat >>conftest.$ac_ext <<_ACEOF
23096 /* end confdefs.h. */
23097 $ac_includes_default
23098 typedef long ac__type_sizeof_;
23102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23109 rm -f conftest.$ac_objext
23110 if { (ac_try="$ac_compile"
23111 case "(($ac_try" in
23112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23113 *) ac_try_echo=$ac_try;;
23115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23116 (eval "$ac_compile") 2>conftest.er1
23118 grep -v '^ *+' conftest.er1 >conftest.err
23120 cat conftest.err >&5
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); } && {
23123 test -z "$ac_c_werror_flag" ||
23124 test ! -s conftest.err
23125 } && test -s conftest.$ac_objext; then
23128 echo "$as_me: failed program was:" >&5
23129 sed 's/^/| /' conftest.$ac_ext >&5
23131 ac_lo=`expr '(' $ac_mid ')' + 1`
23134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23137 ?*) ac_cv_sizeof_long=$ac_lo;;
23138 '') if test "$ac_cv_type_long" = yes; then
23139 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23140 See \`config.log' for more details." >&5
23141 echo "$as_me: error: cannot compute sizeof (long)
23142 See \`config.log' for more details." >&2;}
23143 { (exit 77); exit 77; }; }
23145 ac_cv_sizeof_long=0
23149 cat >conftest.$ac_ext <<_ACEOF
23152 cat confdefs.h >>conftest.$ac_ext
23153 cat >>conftest.$ac_ext <<_ACEOF
23154 /* end confdefs.h. */
23155 $ac_includes_default
23156 typedef long ac__type_sizeof_;
23157 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23158 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23160 #include <stdlib.h>
23165 FILE *f = fopen ("conftest.val", "w");
23168 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23170 long int i = longval ();
23171 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23173 fprintf (f, "%ld\n", i);
23177 unsigned long int i = ulongval ();
23178 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23180 fprintf (f, "%lu\n", i);
23182 return ferror (f) || fclose (f) != 0;
23188 rm -f conftest$ac_exeext
23189 if { (ac_try="$ac_link"
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_link") 2>&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23199 { (case "(($ac_try" in
23200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23201 *) ac_try_echo=$ac_try;;
23203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23204 (eval "$ac_try") 2>&5
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); }; }; then
23208 ac_cv_sizeof_long=`cat conftest.val`
23210 echo "$as_me: program exited with status $ac_status" >&5
23211 echo "$as_me: failed program was:" >&5
23212 sed 's/^/| /' conftest.$ac_ext >&5
23214 ( exit $ac_status )
23215 if test "$ac_cv_type_long" = yes; then
23216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23217 See \`config.log' for more details." >&5
23218 echo "$as_me: error: cannot compute sizeof (long)
23219 See \`config.log' for more details." >&2;}
23220 { (exit 77); exit 77; }; }
23222 ac_cv_sizeof_long=0
23225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23229 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23230 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23234 cat >>confdefs.h <<_ACEOF
23235 #define SIZEOF_LONG $ac_cv_sizeof_long
23239 { echo "$as_me:$LINENO: checking for size_t" >&5
23240 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23241 if test "${ac_cv_type_size_t+set}" = set; then
23242 echo $ECHO_N "(cached) $ECHO_C" >&6
23244 cat >conftest.$ac_ext <<_ACEOF
23247 cat confdefs.h >>conftest.$ac_ext
23248 cat >>conftest.$ac_ext <<_ACEOF
23249 /* end confdefs.h. */
23250 $ac_includes_default
23251 typedef size_t ac__type_new_;
23255 if ((ac__type_new_ *) 0)
23257 if (sizeof (ac__type_new_))
23263 rm -f conftest.$ac_objext
23264 if { (ac_try="$ac_compile"
23265 case "(($ac_try" in
23266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23267 *) ac_try_echo=$ac_try;;
23269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23270 (eval "$ac_compile") 2>conftest.er1
23272 grep -v '^ *+' conftest.er1 >conftest.err
23274 cat conftest.err >&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } && {
23277 test -z "$ac_c_werror_flag" ||
23278 test ! -s conftest.err
23279 } && test -s conftest.$ac_objext; then
23280 ac_cv_type_size_t=yes
23282 echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23285 ac_cv_type_size_t=no
23288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23290 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23291 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23293 # The cast to long int works around a bug in the HP C Compiler
23294 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23295 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23296 # This bug is HP SR number 8606223364.
23297 { echo "$as_me:$LINENO: checking size of size_t" >&5
23298 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23299 if test "${ac_cv_sizeof_size_t+set}" = set; then
23300 echo $ECHO_N "(cached) $ECHO_C" >&6
23302 if test "$cross_compiling" = yes; then
23303 # Depending upon the size, compute the lo and hi bounds.
23304 cat >conftest.$ac_ext <<_ACEOF
23307 cat confdefs.h >>conftest.$ac_ext
23308 cat >>conftest.$ac_ext <<_ACEOF
23309 /* end confdefs.h. */
23310 $ac_includes_default
23311 typedef size_t ac__type_sizeof_;
23315 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23322 rm -f conftest.$ac_objext
23323 if { (ac_try="$ac_compile"
23324 case "(($ac_try" in
23325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23326 *) ac_try_echo=$ac_try;;
23328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23329 (eval "$ac_compile") 2>conftest.er1
23331 grep -v '^ *+' conftest.er1 >conftest.err
23333 cat conftest.err >&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } && {
23336 test -z "$ac_c_werror_flag" ||
23337 test ! -s conftest.err
23338 } && test -s conftest.$ac_objext; then
23341 cat >conftest.$ac_ext <<_ACEOF
23344 cat confdefs.h >>conftest.$ac_ext
23345 cat >>conftest.$ac_ext <<_ACEOF
23346 /* end confdefs.h. */
23347 $ac_includes_default
23348 typedef size_t ac__type_sizeof_;
23352 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23359 rm -f conftest.$ac_objext
23360 if { (ac_try="$ac_compile"
23361 case "(($ac_try" in
23362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23363 *) ac_try_echo=$ac_try;;
23365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23366 (eval "$ac_compile") 2>conftest.er1
23368 grep -v '^ *+' conftest.er1 >conftest.err
23370 cat conftest.err >&5
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); } && {
23373 test -z "$ac_c_werror_flag" ||
23374 test ! -s conftest.err
23375 } && test -s conftest.$ac_objext; then
23376 ac_hi=$ac_mid; break
23378 echo "$as_me: failed program was:" >&5
23379 sed 's/^/| /' conftest.$ac_ext >&5
23381 ac_lo=`expr $ac_mid + 1`
23382 if test $ac_lo -le $ac_mid; then
23386 ac_mid=`expr 2 '*' $ac_mid + 1`
23389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.$ac_ext >&5
23395 cat >conftest.$ac_ext <<_ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 $ac_includes_default
23402 typedef size_t ac__type_sizeof_;
23406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23413 rm -f conftest.$ac_objext
23414 if { (ac_try="$ac_compile"
23415 case "(($ac_try" in
23416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23417 *) ac_try_echo=$ac_try;;
23419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23420 (eval "$ac_compile") 2>conftest.er1
23422 grep -v '^ *+' conftest.er1 >conftest.err
23424 cat conftest.err >&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); } && {
23427 test -z "$ac_c_werror_flag" ||
23428 test ! -s conftest.err
23429 } && test -s conftest.$ac_objext; then
23432 cat >conftest.$ac_ext <<_ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23438 $ac_includes_default
23439 typedef size_t ac__type_sizeof_;
23443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23450 rm -f conftest.$ac_objext
23451 if { (ac_try="$ac_compile"
23452 case "(($ac_try" in
23453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23454 *) ac_try_echo=$ac_try;;
23456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23457 (eval "$ac_compile") 2>conftest.er1
23459 grep -v '^ *+' conftest.er1 >conftest.err
23461 cat conftest.err >&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); } && {
23464 test -z "$ac_c_werror_flag" ||
23465 test ! -s conftest.err
23466 } && test -s conftest.$ac_objext; then
23467 ac_lo=$ac_mid; break
23469 echo "$as_me: failed program was:" >&5
23470 sed 's/^/| /' conftest.$ac_ext >&5
23472 ac_hi=`expr '(' $ac_mid ')' - 1`
23473 if test $ac_mid -le $ac_hi; then
23477 ac_mid=`expr 2 '*' $ac_mid`
23480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23483 echo "$as_me: failed program was:" >&5
23484 sed 's/^/| /' conftest.$ac_ext >&5
23489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23493 # Binary search between lo and hi bounds.
23494 while test "x$ac_lo" != "x$ac_hi"; do
23495 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23496 cat >conftest.$ac_ext <<_ACEOF
23499 cat confdefs.h >>conftest.$ac_ext
23500 cat >>conftest.$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23502 $ac_includes_default
23503 typedef size_t ac__type_sizeof_;
23507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23514 rm -f conftest.$ac_objext
23515 if { (ac_try="$ac_compile"
23516 case "(($ac_try" in
23517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23518 *) ac_try_echo=$ac_try;;
23520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23521 (eval "$ac_compile") 2>conftest.er1
23523 grep -v '^ *+' conftest.er1 >conftest.err
23525 cat conftest.err >&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } && {
23528 test -z "$ac_c_werror_flag" ||
23529 test ! -s conftest.err
23530 } && test -s conftest.$ac_objext; then
23533 echo "$as_me: failed program was:" >&5
23534 sed 's/^/| /' conftest.$ac_ext >&5
23536 ac_lo=`expr '(' $ac_mid ')' + 1`
23539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23542 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23543 '') if test "$ac_cv_type_size_t" = yes; then
23544 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23545 See \`config.log' for more details." >&5
23546 echo "$as_me: error: cannot compute sizeof (size_t)
23547 See \`config.log' for more details." >&2;}
23548 { (exit 77); exit 77; }; }
23550 ac_cv_sizeof_size_t=0
23554 cat >conftest.$ac_ext <<_ACEOF
23557 cat confdefs.h >>conftest.$ac_ext
23558 cat >>conftest.$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23560 $ac_includes_default
23561 typedef size_t ac__type_sizeof_;
23562 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23563 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23565 #include <stdlib.h>
23570 FILE *f = fopen ("conftest.val", "w");
23573 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23575 long int i = longval ();
23576 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23578 fprintf (f, "%ld\n", i);
23582 unsigned long int i = ulongval ();
23583 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23585 fprintf (f, "%lu\n", i);
23587 return ferror (f) || fclose (f) != 0;
23593 rm -f conftest$ac_exeext
23594 if { (ac_try="$ac_link"
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_link") 2>&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23604 { (case "(($ac_try" in
23605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23606 *) ac_try_echo=$ac_try;;
23608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23609 (eval "$ac_try") 2>&5
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); }; }; then
23613 ac_cv_sizeof_size_t=`cat conftest.val`
23615 echo "$as_me: program exited with status $ac_status" >&5
23616 echo "$as_me: failed program was:" >&5
23617 sed 's/^/| /' conftest.$ac_ext >&5
23619 ( exit $ac_status )
23620 if test "$ac_cv_type_size_t" = yes; then
23621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23622 See \`config.log' for more details." >&5
23623 echo "$as_me: error: cannot compute sizeof (size_t)
23624 See \`config.log' for more details." >&2;}
23625 { (exit 77); exit 77; }; }
23627 ac_cv_sizeof_size_t=0
23630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23634 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23635 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23639 cat >>confdefs.h <<_ACEOF
23640 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23647 { echo "$as_me:$LINENO: checking for long long" >&5
23648 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23649 if test "${ac_cv_type_long_long+set}" = set; then
23650 echo $ECHO_N "(cached) $ECHO_C" >&6
23652 cat >conftest.$ac_ext <<_ACEOF
23655 cat confdefs.h >>conftest.$ac_ext
23656 cat >>conftest.$ac_ext <<_ACEOF
23657 /* end confdefs.h. */
23658 $ac_includes_default
23659 typedef long long ac__type_new_;
23663 if ((ac__type_new_ *) 0)
23665 if (sizeof (ac__type_new_))
23671 rm -f conftest.$ac_objext
23672 if { (ac_try="$ac_compile"
23673 case "(($ac_try" in
23674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23675 *) ac_try_echo=$ac_try;;
23677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23678 (eval "$ac_compile") 2>conftest.er1
23680 grep -v '^ *+' conftest.er1 >conftest.err
23682 cat conftest.err >&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); } && {
23685 test -z "$ac_c_werror_flag" ||
23686 test ! -s conftest.err
23687 } && test -s conftest.$ac_objext; then
23688 ac_cv_type_long_long=yes
23690 echo "$as_me: failed program was:" >&5
23691 sed 's/^/| /' conftest.$ac_ext >&5
23693 ac_cv_type_long_long=no
23696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23698 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23699 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23701 # The cast to long int works around a bug in the HP C Compiler
23702 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23703 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23704 # This bug is HP SR number 8606223364.
23705 { echo "$as_me:$LINENO: checking size of long long" >&5
23706 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23707 if test "${ac_cv_sizeof_long_long+set}" = set; then
23708 echo $ECHO_N "(cached) $ECHO_C" >&6
23710 if test "$cross_compiling" = yes; then
23711 # Depending upon the size, compute the lo and hi bounds.
23712 cat >conftest.$ac_ext <<_ACEOF
23715 cat confdefs.h >>conftest.$ac_ext
23716 cat >>conftest.$ac_ext <<_ACEOF
23717 /* end confdefs.h. */
23718 $ac_includes_default
23719 typedef long long ac__type_sizeof_;
23723 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23730 rm -f conftest.$ac_objext
23731 if { (ac_try="$ac_compile"
23732 case "(($ac_try" in
23733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23734 *) ac_try_echo=$ac_try;;
23736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23737 (eval "$ac_compile") 2>conftest.er1
23739 grep -v '^ *+' conftest.er1 >conftest.err
23741 cat conftest.err >&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); } && {
23744 test -z "$ac_c_werror_flag" ||
23745 test ! -s conftest.err
23746 } && test -s conftest.$ac_objext; then
23749 cat >conftest.$ac_ext <<_ACEOF
23752 cat confdefs.h >>conftest.$ac_ext
23753 cat >>conftest.$ac_ext <<_ACEOF
23754 /* end confdefs.h. */
23755 $ac_includes_default
23756 typedef long long ac__type_sizeof_;
23760 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23767 rm -f conftest.$ac_objext
23768 if { (ac_try="$ac_compile"
23769 case "(($ac_try" in
23770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23771 *) ac_try_echo=$ac_try;;
23773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23774 (eval "$ac_compile") 2>conftest.er1
23776 grep -v '^ *+' conftest.er1 >conftest.err
23778 cat conftest.err >&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); } && {
23781 test -z "$ac_c_werror_flag" ||
23782 test ! -s conftest.err
23783 } && test -s conftest.$ac_objext; then
23784 ac_hi=$ac_mid; break
23786 echo "$as_me: failed program was:" >&5
23787 sed 's/^/| /' conftest.$ac_ext >&5
23789 ac_lo=`expr $ac_mid + 1`
23790 if test $ac_lo -le $ac_mid; then
23794 ac_mid=`expr 2 '*' $ac_mid + 1`
23797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23800 echo "$as_me: failed program was:" >&5
23801 sed 's/^/| /' conftest.$ac_ext >&5
23803 cat >conftest.$ac_ext <<_ACEOF
23806 cat confdefs.h >>conftest.$ac_ext
23807 cat >>conftest.$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23809 $ac_includes_default
23810 typedef long long ac__type_sizeof_;
23814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23821 rm -f conftest.$ac_objext
23822 if { (ac_try="$ac_compile"
23823 case "(($ac_try" in
23824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23825 *) ac_try_echo=$ac_try;;
23827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23828 (eval "$ac_compile") 2>conftest.er1
23830 grep -v '^ *+' conftest.er1 >conftest.err
23832 cat conftest.err >&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } && {
23835 test -z "$ac_c_werror_flag" ||
23836 test ! -s conftest.err
23837 } && test -s conftest.$ac_objext; then
23840 cat >conftest.$ac_ext <<_ACEOF
23843 cat confdefs.h >>conftest.$ac_ext
23844 cat >>conftest.$ac_ext <<_ACEOF
23845 /* end confdefs.h. */
23846 $ac_includes_default
23847 typedef long long ac__type_sizeof_;
23851 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23858 rm -f conftest.$ac_objext
23859 if { (ac_try="$ac_compile"
23860 case "(($ac_try" in
23861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_compile") 2>conftest.er1
23867 grep -v '^ *+' conftest.er1 >conftest.err
23869 cat conftest.err >&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } && {
23872 test -z "$ac_c_werror_flag" ||
23873 test ! -s conftest.err
23874 } && test -s conftest.$ac_objext; then
23875 ac_lo=$ac_mid; break
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.$ac_ext >&5
23880 ac_hi=`expr '(' $ac_mid ')' - 1`
23881 if test $ac_mid -le $ac_hi; then
23885 ac_mid=`expr 2 '*' $ac_mid`
23888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23891 echo "$as_me: failed program was:" >&5
23892 sed 's/^/| /' conftest.$ac_ext >&5
23897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23901 # Binary search between lo and hi bounds.
23902 while test "x$ac_lo" != "x$ac_hi"; do
23903 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23904 cat >conftest.$ac_ext <<_ACEOF
23907 cat confdefs.h >>conftest.$ac_ext
23908 cat >>conftest.$ac_ext <<_ACEOF
23909 /* end confdefs.h. */
23910 $ac_includes_default
23911 typedef long long ac__type_sizeof_;
23915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23922 rm -f conftest.$ac_objext
23923 if { (ac_try="$ac_compile"
23924 case "(($ac_try" in
23925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23926 *) ac_try_echo=$ac_try;;
23928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23929 (eval "$ac_compile") 2>conftest.er1
23931 grep -v '^ *+' conftest.er1 >conftest.err
23933 cat conftest.err >&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); } && {
23936 test -z "$ac_c_werror_flag" ||
23937 test ! -s conftest.err
23938 } && test -s conftest.$ac_objext; then
23941 echo "$as_me: failed program was:" >&5
23942 sed 's/^/| /' conftest.$ac_ext >&5
23944 ac_lo=`expr '(' $ac_mid ')' + 1`
23947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23950 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23951 '') if test "$ac_cv_type_long_long" = yes; then
23952 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23953 See \`config.log' for more details." >&5
23954 echo "$as_me: error: cannot compute sizeof (long long)
23955 See \`config.log' for more details." >&2;}
23956 { (exit 77); exit 77; }; }
23958 ac_cv_sizeof_long_long=0
23962 cat >conftest.$ac_ext <<_ACEOF
23965 cat confdefs.h >>conftest.$ac_ext
23966 cat >>conftest.$ac_ext <<_ACEOF
23967 /* end confdefs.h. */
23968 $ac_includes_default
23969 typedef long long ac__type_sizeof_;
23970 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23971 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23973 #include <stdlib.h>
23978 FILE *f = fopen ("conftest.val", "w");
23981 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23983 long int i = longval ();
23984 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23986 fprintf (f, "%ld\n", i);
23990 unsigned long int i = ulongval ();
23991 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23993 fprintf (f, "%lu\n", i);
23995 return ferror (f) || fclose (f) != 0;
24001 rm -f conftest$ac_exeext
24002 if { (ac_try="$ac_link"
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_link") 2>&5
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24012 { (case "(($ac_try" in
24013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24014 *) ac_try_echo=$ac_try;;
24016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24017 (eval "$ac_try") 2>&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); }; }; then
24021 ac_cv_sizeof_long_long=`cat conftest.val`
24023 echo "$as_me: program exited with status $ac_status" >&5
24024 echo "$as_me: failed program was:" >&5
24025 sed 's/^/| /' conftest.$ac_ext >&5
24027 ( exit $ac_status )
24028 if test "$ac_cv_type_long_long" = yes; then
24029 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24030 See \`config.log' for more details." >&5
24031 echo "$as_me: error: cannot compute sizeof (long long)
24032 See \`config.log' for more details." >&2;}
24033 { (exit 77); exit 77; }; }
24035 ac_cv_sizeof_long_long=0
24038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24042 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24043 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24047 cat >>confdefs.h <<_ACEOF
24048 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24054 { echo "$as_me:$LINENO: checking for long long" >&5
24055 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24056 if test "${ac_cv_type_long_long+set}" = set; then
24057 echo $ECHO_N "(cached) $ECHO_C" >&6
24059 cat >conftest.$ac_ext <<_ACEOF
24062 cat confdefs.h >>conftest.$ac_ext
24063 cat >>conftest.$ac_ext <<_ACEOF
24064 /* end confdefs.h. */
24065 $ac_includes_default
24066 typedef long long ac__type_new_;
24070 if ((ac__type_new_ *) 0)
24072 if (sizeof (ac__type_new_))
24078 rm -f conftest.$ac_objext
24079 if { (ac_try="$ac_compile"
24080 case "(($ac_try" in
24081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24082 *) ac_try_echo=$ac_try;;
24084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24085 (eval "$ac_compile") 2>conftest.er1
24087 grep -v '^ *+' conftest.er1 >conftest.err
24089 cat conftest.err >&5
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); } && {
24092 test -z "$ac_c_werror_flag" ||
24093 test ! -s conftest.err
24094 } && test -s conftest.$ac_objext; then
24095 ac_cv_type_long_long=yes
24097 echo "$as_me: failed program was:" >&5
24098 sed 's/^/| /' conftest.$ac_ext >&5
24100 ac_cv_type_long_long=no
24103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24105 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24106 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24108 # The cast to long int works around a bug in the HP C Compiler
24109 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24110 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24111 # This bug is HP SR number 8606223364.
24112 { echo "$as_me:$LINENO: checking size of long long" >&5
24113 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24114 if test "${ac_cv_sizeof_long_long+set}" = set; then
24115 echo $ECHO_N "(cached) $ECHO_C" >&6
24117 if test "$cross_compiling" = yes; then
24118 # Depending upon the size, compute the lo and hi bounds.
24119 cat >conftest.$ac_ext <<_ACEOF
24122 cat confdefs.h >>conftest.$ac_ext
24123 cat >>conftest.$ac_ext <<_ACEOF
24124 /* end confdefs.h. */
24125 $ac_includes_default
24126 typedef long long ac__type_sizeof_;
24130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24137 rm -f conftest.$ac_objext
24138 if { (ac_try="$ac_compile"
24139 case "(($ac_try" in
24140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24141 *) ac_try_echo=$ac_try;;
24143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24144 (eval "$ac_compile") 2>conftest.er1
24146 grep -v '^ *+' conftest.er1 >conftest.err
24148 cat conftest.err >&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); } && {
24151 test -z "$ac_c_werror_flag" ||
24152 test ! -s conftest.err
24153 } && test -s conftest.$ac_objext; then
24156 cat >conftest.$ac_ext <<_ACEOF
24159 cat confdefs.h >>conftest.$ac_ext
24160 cat >>conftest.$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24162 $ac_includes_default
24163 typedef long long ac__type_sizeof_;
24167 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24174 rm -f conftest.$ac_objext
24175 if { (ac_try="$ac_compile"
24176 case "(($ac_try" in
24177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24178 *) ac_try_echo=$ac_try;;
24180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24181 (eval "$ac_compile") 2>conftest.er1
24183 grep -v '^ *+' conftest.er1 >conftest.err
24185 cat conftest.err >&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); } && {
24188 test -z "$ac_c_werror_flag" ||
24189 test ! -s conftest.err
24190 } && test -s conftest.$ac_objext; then
24191 ac_hi=$ac_mid; break
24193 echo "$as_me: failed program was:" >&5
24194 sed 's/^/| /' conftest.$ac_ext >&5
24196 ac_lo=`expr $ac_mid + 1`
24197 if test $ac_lo -le $ac_mid; then
24201 ac_mid=`expr 2 '*' $ac_mid + 1`
24204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24207 echo "$as_me: failed program was:" >&5
24208 sed 's/^/| /' conftest.$ac_ext >&5
24210 cat >conftest.$ac_ext <<_ACEOF
24213 cat confdefs.h >>conftest.$ac_ext
24214 cat >>conftest.$ac_ext <<_ACEOF
24215 /* end confdefs.h. */
24216 $ac_includes_default
24217 typedef long long ac__type_sizeof_;
24221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24228 rm -f conftest.$ac_objext
24229 if { (ac_try="$ac_compile"
24230 case "(($ac_try" in
24231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24232 *) ac_try_echo=$ac_try;;
24234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24235 (eval "$ac_compile") 2>conftest.er1
24237 grep -v '^ *+' conftest.er1 >conftest.err
24239 cat conftest.err >&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } && {
24242 test -z "$ac_c_werror_flag" ||
24243 test ! -s conftest.err
24244 } && test -s conftest.$ac_objext; then
24247 cat >conftest.$ac_ext <<_ACEOF
24250 cat confdefs.h >>conftest.$ac_ext
24251 cat >>conftest.$ac_ext <<_ACEOF
24252 /* end confdefs.h. */
24253 $ac_includes_default
24254 typedef long long ac__type_sizeof_;
24258 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24265 rm -f conftest.$ac_objext
24266 if { (ac_try="$ac_compile"
24267 case "(($ac_try" in
24268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24269 *) ac_try_echo=$ac_try;;
24271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24272 (eval "$ac_compile") 2>conftest.er1
24274 grep -v '^ *+' conftest.er1 >conftest.err
24276 cat conftest.err >&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); } && {
24279 test -z "$ac_c_werror_flag" ||
24280 test ! -s conftest.err
24281 } && test -s conftest.$ac_objext; then
24282 ac_lo=$ac_mid; break
24284 echo "$as_me: failed program was:" >&5
24285 sed 's/^/| /' conftest.$ac_ext >&5
24287 ac_hi=`expr '(' $ac_mid ')' - 1`
24288 if test $ac_mid -le $ac_hi; then
24292 ac_mid=`expr 2 '*' $ac_mid`
24295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24298 echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24308 # Binary search between lo and hi bounds.
24309 while test "x$ac_lo" != "x$ac_hi"; do
24310 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24311 cat >conftest.$ac_ext <<_ACEOF
24314 cat confdefs.h >>conftest.$ac_ext
24315 cat >>conftest.$ac_ext <<_ACEOF
24316 /* end confdefs.h. */
24317 $ac_includes_default
24318 typedef long long ac__type_sizeof_;
24322 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24329 rm -f conftest.$ac_objext
24330 if { (ac_try="$ac_compile"
24331 case "(($ac_try" in
24332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24333 *) ac_try_echo=$ac_try;;
24335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24336 (eval "$ac_compile") 2>conftest.er1
24338 grep -v '^ *+' conftest.er1 >conftest.err
24340 cat conftest.err >&5
24341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24342 (exit $ac_status); } && {
24343 test -z "$ac_c_werror_flag" ||
24344 test ! -s conftest.err
24345 } && test -s conftest.$ac_objext; then
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.$ac_ext >&5
24351 ac_lo=`expr '(' $ac_mid ')' + 1`
24354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24357 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24358 '') if test "$ac_cv_type_long_long" = yes; then
24359 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24360 See \`config.log' for more details." >&5
24361 echo "$as_me: error: cannot compute sizeof (long long)
24362 See \`config.log' for more details." >&2;}
24363 { (exit 77); exit 77; }; }
24365 ac_cv_sizeof_long_long=0
24369 cat >conftest.$ac_ext <<_ACEOF
24372 cat confdefs.h >>conftest.$ac_ext
24373 cat >>conftest.$ac_ext <<_ACEOF
24374 /* end confdefs.h. */
24375 $ac_includes_default
24376 typedef long long ac__type_sizeof_;
24377 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24378 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24380 #include <stdlib.h>
24385 FILE *f = fopen ("conftest.val", "w");
24388 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24390 long int i = longval ();
24391 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24393 fprintf (f, "%ld\n", i);
24397 unsigned long int i = ulongval ();
24398 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24400 fprintf (f, "%lu\n", i);
24402 return ferror (f) || fclose (f) != 0;
24408 rm -f conftest$ac_exeext
24409 if { (ac_try="$ac_link"
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_link") 2>&5
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24419 { (case "(($ac_try" in
24420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24421 *) ac_try_echo=$ac_try;;
24423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24424 (eval "$ac_try") 2>&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); }; }; then
24428 ac_cv_sizeof_long_long=`cat conftest.val`
24430 echo "$as_me: program exited with status $ac_status" >&5
24431 echo "$as_me: failed program was:" >&5
24432 sed 's/^/| /' conftest.$ac_ext >&5
24434 ( exit $ac_status )
24435 if test "$ac_cv_type_long_long" = yes; then
24436 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24437 See \`config.log' for more details." >&5
24438 echo "$as_me: error: cannot compute sizeof (long long)
24439 See \`config.log' for more details." >&2;}
24440 { (exit 77); exit 77; }; }
24442 ac_cv_sizeof_long_long=0
24445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24449 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24450 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24454 cat >>confdefs.h <<_ACEOF
24455 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24459 if test "$ac_cv_sizeof_long_long" != "0"; then
24460 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24464 { echo "$as_me:$LINENO: checking for long long" >&5
24465 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24466 if test "${ac_cv_type_long_long+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24469 cat >conftest.$ac_ext <<_ACEOF
24472 cat confdefs.h >>conftest.$ac_ext
24473 cat >>conftest.$ac_ext <<_ACEOF
24474 /* end confdefs.h. */
24475 $ac_includes_default
24476 typedef long long ac__type_new_;
24480 if ((ac__type_new_ *) 0)
24482 if (sizeof (ac__type_new_))
24488 rm -f conftest.$ac_objext
24489 if { (ac_try="$ac_compile"
24490 case "(($ac_try" in
24491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24492 *) ac_try_echo=$ac_try;;
24494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24495 (eval "$ac_compile") 2>conftest.er1
24497 grep -v '^ *+' conftest.er1 >conftest.err
24499 cat conftest.err >&5
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); } && {
24502 test -z "$ac_c_werror_flag" ||
24503 test ! -s conftest.err
24504 } && test -s conftest.$ac_objext; then
24505 ac_cv_type_long_long=yes
24507 echo "$as_me: failed program was:" >&5
24508 sed 's/^/| /' conftest.$ac_ext >&5
24510 ac_cv_type_long_long=no
24513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24515 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24516 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24518 # The cast to long int works around a bug in the HP C Compiler
24519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24520 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24521 # This bug is HP SR number 8606223364.
24522 { echo "$as_me:$LINENO: checking size of long long" >&5
24523 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24524 if test "${ac_cv_sizeof_long_long+set}" = set; then
24525 echo $ECHO_N "(cached) $ECHO_C" >&6
24527 if test "$cross_compiling" = yes; then
24528 # Depending upon the size, compute the lo and hi bounds.
24529 cat >conftest.$ac_ext <<_ACEOF
24532 cat confdefs.h >>conftest.$ac_ext
24533 cat >>conftest.$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24535 $ac_includes_default
24536 typedef long long ac__type_sizeof_;
24540 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24547 rm -f conftest.$ac_objext
24548 if { (ac_try="$ac_compile"
24549 case "(($ac_try" in
24550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24551 *) ac_try_echo=$ac_try;;
24553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24554 (eval "$ac_compile") 2>conftest.er1
24556 grep -v '^ *+' conftest.er1 >conftest.err
24558 cat conftest.err >&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); } && {
24561 test -z "$ac_c_werror_flag" ||
24562 test ! -s conftest.err
24563 } && test -s conftest.$ac_objext; then
24566 cat >conftest.$ac_ext <<_ACEOF
24569 cat confdefs.h >>conftest.$ac_ext
24570 cat >>conftest.$ac_ext <<_ACEOF
24571 /* end confdefs.h. */
24572 $ac_includes_default
24573 typedef long long ac__type_sizeof_;
24577 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24584 rm -f conftest.$ac_objext
24585 if { (ac_try="$ac_compile"
24586 case "(($ac_try" in
24587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24588 *) ac_try_echo=$ac_try;;
24590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24591 (eval "$ac_compile") 2>conftest.er1
24593 grep -v '^ *+' conftest.er1 >conftest.err
24595 cat conftest.err >&5
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); } && {
24598 test -z "$ac_c_werror_flag" ||
24599 test ! -s conftest.err
24600 } && test -s conftest.$ac_objext; then
24601 ac_hi=$ac_mid; break
24603 echo "$as_me: failed program was:" >&5
24604 sed 's/^/| /' conftest.$ac_ext >&5
24606 ac_lo=`expr $ac_mid + 1`
24607 if test $ac_lo -le $ac_mid; then
24611 ac_mid=`expr 2 '*' $ac_mid + 1`
24614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24617 echo "$as_me: failed program was:" >&5
24618 sed 's/^/| /' conftest.$ac_ext >&5
24620 cat >conftest.$ac_ext <<_ACEOF
24623 cat confdefs.h >>conftest.$ac_ext
24624 cat >>conftest.$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24626 $ac_includes_default
24627 typedef long long ac__type_sizeof_;
24631 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24638 rm -f conftest.$ac_objext
24639 if { (ac_try="$ac_compile"
24640 case "(($ac_try" in
24641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24642 *) ac_try_echo=$ac_try;;
24644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24645 (eval "$ac_compile") 2>conftest.er1
24647 grep -v '^ *+' conftest.er1 >conftest.err
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } && {
24652 test -z "$ac_c_werror_flag" ||
24653 test ! -s conftest.err
24654 } && test -s conftest.$ac_objext; then
24657 cat >conftest.$ac_ext <<_ACEOF
24660 cat confdefs.h >>conftest.$ac_ext
24661 cat >>conftest.$ac_ext <<_ACEOF
24662 /* end confdefs.h. */
24663 $ac_includes_default
24664 typedef long long ac__type_sizeof_;
24668 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24675 rm -f conftest.$ac_objext
24676 if { (ac_try="$ac_compile"
24677 case "(($ac_try" in
24678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24679 *) ac_try_echo=$ac_try;;
24681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24682 (eval "$ac_compile") 2>conftest.er1
24684 grep -v '^ *+' conftest.er1 >conftest.err
24686 cat conftest.err >&5
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); } && {
24689 test -z "$ac_c_werror_flag" ||
24690 test ! -s conftest.err
24691 } && test -s conftest.$ac_objext; then
24692 ac_lo=$ac_mid; break
24694 echo "$as_me: failed program was:" >&5
24695 sed 's/^/| /' conftest.$ac_ext >&5
24697 ac_hi=`expr '(' $ac_mid ')' - 1`
24698 if test $ac_mid -le $ac_hi; then
24702 ac_mid=`expr 2 '*' $ac_mid`
24705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24708 echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.$ac_ext >&5
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24718 # Binary search between lo and hi bounds.
24719 while test "x$ac_lo" != "x$ac_hi"; do
24720 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24721 cat >conftest.$ac_ext <<_ACEOF
24724 cat confdefs.h >>conftest.$ac_ext
24725 cat >>conftest.$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24727 $ac_includes_default
24728 typedef long long ac__type_sizeof_;
24732 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24739 rm -f conftest.$ac_objext
24740 if { (ac_try="$ac_compile"
24741 case "(($ac_try" in
24742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24743 *) ac_try_echo=$ac_try;;
24745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24746 (eval "$ac_compile") 2>conftest.er1
24748 grep -v '^ *+' conftest.er1 >conftest.err
24750 cat conftest.err >&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); } && {
24753 test -z "$ac_c_werror_flag" ||
24754 test ! -s conftest.err
24755 } && test -s conftest.$ac_objext; then
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.$ac_ext >&5
24761 ac_lo=`expr '(' $ac_mid ')' + 1`
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24767 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24768 '') if test "$ac_cv_type_long_long" = yes; then
24769 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24770 See \`config.log' for more details." >&5
24771 echo "$as_me: error: cannot compute sizeof (long long)
24772 See \`config.log' for more details." >&2;}
24773 { (exit 77); exit 77; }; }
24775 ac_cv_sizeof_long_long=0
24779 cat >conftest.$ac_ext <<_ACEOF
24782 cat confdefs.h >>conftest.$ac_ext
24783 cat >>conftest.$ac_ext <<_ACEOF
24784 /* end confdefs.h. */
24785 $ac_includes_default
24786 typedef long long ac__type_sizeof_;
24787 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24788 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24790 #include <stdlib.h>
24795 FILE *f = fopen ("conftest.val", "w");
24798 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24800 long int i = longval ();
24801 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24803 fprintf (f, "%ld\n", i);
24807 unsigned long int i = ulongval ();
24808 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24810 fprintf (f, "%lu\n", i);
24812 return ferror (f) || fclose (f) != 0;
24818 rm -f conftest$ac_exeext
24819 if { (ac_try="$ac_link"
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_link") 2>&5
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24829 { (case "(($ac_try" in
24830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24831 *) ac_try_echo=$ac_try;;
24833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24834 (eval "$ac_try") 2>&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); }; }; then
24838 ac_cv_sizeof_long_long=`cat conftest.val`
24840 echo "$as_me: program exited with status $ac_status" >&5
24841 echo "$as_me: failed program was:" >&5
24842 sed 's/^/| /' conftest.$ac_ext >&5
24844 ( exit $ac_status )
24845 if test "$ac_cv_type_long_long" = yes; then
24846 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24847 See \`config.log' for more details." >&5
24848 echo "$as_me: error: cannot compute sizeof (long long)
24849 See \`config.log' for more details." >&2;}
24850 { (exit 77); exit 77; }; }
24852 ac_cv_sizeof_long_long=0
24855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24859 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24860 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24864 cat >>confdefs.h <<_ACEOF
24865 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24871 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24872 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24873 if test "${ac_cv_type_wchar_t+set}" = set; then
24874 echo $ECHO_N "(cached) $ECHO_C" >&6
24876 cat >conftest.$ac_ext <<_ACEOF
24879 cat confdefs.h >>conftest.$ac_ext
24880 cat >>conftest.$ac_ext <<_ACEOF
24881 /* end confdefs.h. */
24883 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24884 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24885 # error "fake wchar_t"
24887 #ifdef HAVE_WCHAR_H
24889 # include <stddef.h>
24891 # include <wchar.h>
24893 #ifdef HAVE_STDLIB_H
24894 # include <stdlib.h>
24900 typedef wchar_t ac__type_new_;
24904 if ((ac__type_new_ *) 0)
24906 if (sizeof (ac__type_new_))
24912 rm -f conftest.$ac_objext
24913 if { (ac_try="$ac_compile"
24914 case "(($ac_try" in
24915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24916 *) ac_try_echo=$ac_try;;
24918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24919 (eval "$ac_compile") 2>conftest.er1
24921 grep -v '^ *+' conftest.er1 >conftest.err
24923 cat conftest.err >&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); } && {
24926 test -z "$ac_c_werror_flag" ||
24927 test ! -s conftest.err
24928 } && test -s conftest.$ac_objext; then
24929 ac_cv_type_wchar_t=yes
24931 echo "$as_me: failed program was:" >&5
24932 sed 's/^/| /' conftest.$ac_ext >&5
24934 ac_cv_type_wchar_t=no
24937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24939 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24940 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24942 # The cast to long int works around a bug in the HP C Compiler
24943 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24944 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24945 # This bug is HP SR number 8606223364.
24946 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24947 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24948 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24949 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 if test "$cross_compiling" = yes; then
24952 # Depending upon the size, compute the lo and hi bounds.
24953 cat >conftest.$ac_ext <<_ACEOF
24956 cat confdefs.h >>conftest.$ac_ext
24957 cat >>conftest.$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24960 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24961 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24962 # error "fake wchar_t"
24964 #ifdef HAVE_WCHAR_H
24966 # include <stddef.h>
24968 # include <wchar.h>
24970 #ifdef HAVE_STDLIB_H
24971 # include <stdlib.h>
24977 typedef wchar_t ac__type_sizeof_;
24981 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24988 rm -f conftest.$ac_objext
24989 if { (ac_try="$ac_compile"
24990 case "(($ac_try" in
24991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24992 *) ac_try_echo=$ac_try;;
24994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24995 (eval "$ac_compile") 2>conftest.er1
24997 grep -v '^ *+' conftest.er1 >conftest.err
24999 cat conftest.err >&5
25000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001 (exit $ac_status); } && {
25002 test -z "$ac_c_werror_flag" ||
25003 test ! -s conftest.err
25004 } && test -s conftest.$ac_objext; then
25007 cat >conftest.$ac_ext <<_ACEOF
25010 cat confdefs.h >>conftest.$ac_ext
25011 cat >>conftest.$ac_ext <<_ACEOF
25012 /* end confdefs.h. */
25014 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25015 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25016 # error "fake wchar_t"
25018 #ifdef HAVE_WCHAR_H
25020 # include <stddef.h>
25022 # include <wchar.h>
25024 #ifdef HAVE_STDLIB_H
25025 # include <stdlib.h>
25031 typedef wchar_t ac__type_sizeof_;
25035 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25042 rm -f conftest.$ac_objext
25043 if { (ac_try="$ac_compile"
25044 case "(($ac_try" in
25045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25046 *) ac_try_echo=$ac_try;;
25048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25049 (eval "$ac_compile") 2>conftest.er1
25051 grep -v '^ *+' conftest.er1 >conftest.err
25053 cat conftest.err >&5
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); } && {
25056 test -z "$ac_c_werror_flag" ||
25057 test ! -s conftest.err
25058 } && test -s conftest.$ac_objext; then
25059 ac_hi=$ac_mid; break
25061 echo "$as_me: failed program was:" >&5
25062 sed 's/^/| /' conftest.$ac_ext >&5
25064 ac_lo=`expr $ac_mid + 1`
25065 if test $ac_lo -le $ac_mid; then
25069 ac_mid=`expr 2 '*' $ac_mid + 1`
25072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25075 echo "$as_me: failed program was:" >&5
25076 sed 's/^/| /' conftest.$ac_ext >&5
25078 cat >conftest.$ac_ext <<_ACEOF
25081 cat confdefs.h >>conftest.$ac_ext
25082 cat >>conftest.$ac_ext <<_ACEOF
25083 /* end confdefs.h. */
25085 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25086 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25087 # error "fake wchar_t"
25089 #ifdef HAVE_WCHAR_H
25091 # include <stddef.h>
25093 # include <wchar.h>
25095 #ifdef HAVE_STDLIB_H
25096 # include <stdlib.h>
25102 typedef wchar_t ac__type_sizeof_;
25106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25113 rm -f conftest.$ac_objext
25114 if { (ac_try="$ac_compile"
25115 case "(($ac_try" in
25116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25117 *) ac_try_echo=$ac_try;;
25119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25120 (eval "$ac_compile") 2>conftest.er1
25122 grep -v '^ *+' conftest.er1 >conftest.err
25124 cat conftest.err >&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } && {
25127 test -z "$ac_c_werror_flag" ||
25128 test ! -s conftest.err
25129 } && test -s conftest.$ac_objext; then
25132 cat >conftest.$ac_ext <<_ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25139 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25140 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25141 # error "fake wchar_t"
25143 #ifdef HAVE_WCHAR_H
25145 # include <stddef.h>
25147 # include <wchar.h>
25149 #ifdef HAVE_STDLIB_H
25150 # include <stdlib.h>
25156 typedef wchar_t ac__type_sizeof_;
25160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25167 rm -f conftest.$ac_objext
25168 if { (ac_try="$ac_compile"
25169 case "(($ac_try" in
25170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25171 *) ac_try_echo=$ac_try;;
25173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25174 (eval "$ac_compile") 2>conftest.er1
25176 grep -v '^ *+' conftest.er1 >conftest.err
25178 cat conftest.err >&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } && {
25181 test -z "$ac_c_werror_flag" ||
25182 test ! -s conftest.err
25183 } && test -s conftest.$ac_objext; then
25184 ac_lo=$ac_mid; break
25186 echo "$as_me: failed program was:" >&5
25187 sed 's/^/| /' conftest.$ac_ext >&5
25189 ac_hi=`expr '(' $ac_mid ')' - 1`
25190 if test $ac_mid -le $ac_hi; then
25194 ac_mid=`expr 2 '*' $ac_mid`
25197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25200 echo "$as_me: failed program was:" >&5
25201 sed 's/^/| /' conftest.$ac_ext >&5
25206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25210 # Binary search between lo and hi bounds.
25211 while test "x$ac_lo" != "x$ac_hi"; do
25212 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25213 cat >conftest.$ac_ext <<_ACEOF
25216 cat confdefs.h >>conftest.$ac_ext
25217 cat >>conftest.$ac_ext <<_ACEOF
25218 /* end confdefs.h. */
25220 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25221 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25222 # error "fake wchar_t"
25224 #ifdef HAVE_WCHAR_H
25226 # include <stddef.h>
25228 # include <wchar.h>
25230 #ifdef HAVE_STDLIB_H
25231 # include <stdlib.h>
25237 typedef wchar_t ac__type_sizeof_;
25241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25248 rm -f conftest.$ac_objext
25249 if { (ac_try="$ac_compile"
25250 case "(($ac_try" in
25251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25252 *) ac_try_echo=$ac_try;;
25254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25257 grep -v '^ *+' conftest.er1 >conftest.err
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_c_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.$ac_objext; then
25267 echo "$as_me: failed program was:" >&5
25268 sed 's/^/| /' conftest.$ac_ext >&5
25270 ac_lo=`expr '(' $ac_mid ')' + 1`
25273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25276 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25277 '') if test "$ac_cv_type_wchar_t" = yes; then
25278 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25279 See \`config.log' for more details." >&5
25280 echo "$as_me: error: cannot compute sizeof (wchar_t)
25281 See \`config.log' for more details." >&2;}
25282 { (exit 77); exit 77; }; }
25284 ac_cv_sizeof_wchar_t=0
25288 cat >conftest.$ac_ext <<_ACEOF
25291 cat confdefs.h >>conftest.$ac_ext
25292 cat >>conftest.$ac_ext <<_ACEOF
25293 /* end confdefs.h. */
25295 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25296 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25297 # error "fake wchar_t"
25299 #ifdef HAVE_WCHAR_H
25301 # include <stddef.h>
25303 # include <wchar.h>
25305 #ifdef HAVE_STDLIB_H
25306 # include <stdlib.h>
25312 typedef wchar_t ac__type_sizeof_;
25313 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25314 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25316 #include <stdlib.h>
25321 FILE *f = fopen ("conftest.val", "w");
25324 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25326 long int i = longval ();
25327 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25329 fprintf (f, "%ld\n", i);
25333 unsigned long int i = ulongval ();
25334 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25336 fprintf (f, "%lu\n", i);
25338 return ferror (f) || fclose (f) != 0;
25344 rm -f conftest$ac_exeext
25345 if { (ac_try="$ac_link"
25346 case "(($ac_try" in
25347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25348 *) ac_try_echo=$ac_try;;
25350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25351 (eval "$ac_link") 2>&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25355 { (case "(($ac_try" in
25356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25357 *) ac_try_echo=$ac_try;;
25359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25360 (eval "$ac_try") 2>&5
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); }; }; then
25364 ac_cv_sizeof_wchar_t=`cat conftest.val`
25366 echo "$as_me: program exited with status $ac_status" >&5
25367 echo "$as_me: failed program was:" >&5
25368 sed 's/^/| /' conftest.$ac_ext >&5
25370 ( exit $ac_status )
25371 if test "$ac_cv_type_wchar_t" = yes; then
25372 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25373 See \`config.log' for more details." >&5
25374 echo "$as_me: error: cannot compute sizeof (wchar_t)
25375 See \`config.log' for more details." >&2;}
25376 { (exit 77); exit 77; }; }
25378 ac_cv_sizeof_wchar_t=0
25381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25385 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25386 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25390 cat >>confdefs.h <<_ACEOF
25391 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25395 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25401 { echo "$as_me:$LINENO: checking for va_copy" >&5
25402 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25403 if test "${wx_cv_func_va_copy+set}" = set; then
25404 echo $ECHO_N "(cached) $ECHO_C" >&6
25408 ac_cpp='$CXXCPP $CPPFLAGS'
25409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25413 cat >conftest.$ac_ext <<_ACEOF
25415 #include <stdarg.h>
25416 void foo(char *f, ...)
25430 rm -f conftest.$ac_objext conftest$ac_exeext
25431 if { (ac_try="$ac_link"
25432 case "(($ac_try" in
25433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25434 *) ac_try_echo=$ac_try;;
25436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25437 (eval "$ac_link") 2>conftest.er1
25439 grep -v '^ *+' conftest.er1 >conftest.err
25441 cat conftest.err >&5
25442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25443 (exit $ac_status); } && {
25444 test -z "$ac_cxx_werror_flag" ||
25445 test ! -s conftest.err
25446 } && test -s conftest$ac_exeext &&
25447 $as_test_x conftest$ac_exeext; then
25448 wx_cv_func_va_copy=yes
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.$ac_ext >&5
25453 wx_cv_func_va_copy=no
25457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25458 conftest$ac_exeext conftest.$ac_ext
25460 ac_cpp='$CPP $CPPFLAGS'
25461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25468 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25469 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25471 if test $wx_cv_func_va_copy = "yes"; then
25472 cat >>confdefs.h <<\_ACEOF
25473 #define HAVE_VA_COPY 1
25477 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25478 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25479 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25483 if test "$cross_compiling" = yes; then
25484 wx_cv_type_va_list_lvalue=yes
25487 cat >conftest.$ac_ext <<_ACEOF
25489 #include <stdarg.h>
25490 int foo(char *f, ...)
25495 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25503 return foo("hi", 17);
25506 rm -f conftest$ac_exeext
25507 if { (ac_try="$ac_link"
25508 case "(($ac_try" in
25509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25510 *) ac_try_echo=$ac_try;;
25512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25513 (eval "$ac_link") 2>&5
25515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25517 { (case "(($ac_try" in
25518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25519 *) ac_try_echo=$ac_try;;
25521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25522 (eval "$ac_try") 2>&5
25524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 (exit $ac_status); }; }; then
25526 wx_cv_type_va_list_lvalue=yes
25528 echo "$as_me: program exited with status $ac_status" >&5
25529 echo "$as_me: failed program was:" >&5
25530 sed 's/^/| /' conftest.$ac_ext >&5
25532 ( exit $ac_status )
25533 wx_cv_type_va_list_lvalue=no
25535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25542 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25543 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25545 if test $wx_cv_type_va_list_lvalue != "yes"; then
25546 cat >>confdefs.h <<\_ACEOF
25547 #define VA_LIST_IS_ARRAY 1
25553 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25555 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25556 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25557 if test "${wx_cv_have_variadic_macros+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25562 ac_cpp='$CXXCPP $CPPFLAGS'
25563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25567 cat >conftest.$ac_ext <<_ACEOF
25570 cat confdefs.h >>conftest.$ac_ext
25571 cat >>conftest.$ac_ext <<_ACEOF
25572 /* end confdefs.h. */
25575 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25581 test("%s %d %p", "test", 1, 0);
25588 rm -f conftest.$ac_objext
25589 if { (ac_try="$ac_compile"
25590 case "(($ac_try" in
25591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25592 *) ac_try_echo=$ac_try;;
25594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25595 (eval "$ac_compile") 2>conftest.er1
25597 grep -v '^ *+' conftest.er1 >conftest.err
25599 cat conftest.err >&5
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); } && {
25602 test -z "$ac_cxx_werror_flag" ||
25603 test ! -s conftest.err
25604 } && test -s conftest.$ac_objext; then
25605 wx_cv_have_variadic_macros=yes
25607 echo "$as_me: failed program was:" >&5
25608 sed 's/^/| /' conftest.$ac_ext >&5
25610 wx_cv_have_variadic_macros=no
25614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25616 ac_cpp='$CPP $CPPFLAGS'
25617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25624 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25625 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25627 if test $wx_cv_have_variadic_macros = "yes"; then
25628 cat >>confdefs.h <<\_ACEOF
25629 #define HAVE_VARIADIC_MACROS 1
25635 # Check whether --enable-largefile was given.
25636 if test "${enable_largefile+set}" = set; then
25637 enableval=$enable_largefile;
25640 if test "$enable_largefile" != no; then
25643 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25644 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25645 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25646 echo $ECHO_N "(cached) $ECHO_C" >&6
25649 cat >conftest.$ac_ext <<_ACEOF
25652 cat confdefs.h >>conftest.$ac_ext
25653 cat >>conftest.$ac_ext <<_ACEOF
25654 /* end confdefs.h. */
25655 #define _FILE_OFFSET_BITS 64
25656 #include <sys/types.h>
25661 unsigned int field: sizeof(off_t) == 8;
25668 rm -f conftest.$ac_objext
25669 if { (ac_try="$ac_compile"
25670 case "(($ac_try" in
25671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25672 *) ac_try_echo=$ac_try;;
25674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25675 (eval "$ac_compile") 2>conftest.er1
25677 grep -v '^ *+' conftest.er1 >conftest.err
25679 cat conftest.err >&5
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); } && {
25682 test -z "$ac_c_werror_flag" ||
25683 test ! -s conftest.err
25684 } && test -s conftest.$ac_objext; then
25685 ac_cv_sys_file_offset_bits=64
25687 echo "$as_me: failed program was:" >&5
25688 sed 's/^/| /' conftest.$ac_ext >&5
25690 ac_cv_sys_file_offset_bits=no
25693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25697 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25698 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25700 if test "$ac_cv_sys_file_offset_bits" != no; then
25702 cat >>confdefs.h <<_ACEOF
25703 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25708 if test "x$wx_largefile" != "xyes"; then
25710 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25711 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25712 if test "${ac_cv_sys_large_files+set}" = set; then
25713 echo $ECHO_N "(cached) $ECHO_C" >&6
25716 cat >conftest.$ac_ext <<_ACEOF
25719 cat confdefs.h >>conftest.$ac_ext
25720 cat >>conftest.$ac_ext <<_ACEOF
25721 /* end confdefs.h. */
25722 #define _LARGE_FILES 1
25723 #include <sys/types.h>
25728 unsigned int field: sizeof(off_t) == 8;
25735 rm -f conftest.$ac_objext
25736 if { (ac_try="$ac_compile"
25737 case "(($ac_try" in
25738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25739 *) ac_try_echo=$ac_try;;
25741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25742 (eval "$ac_compile") 2>conftest.er1
25744 grep -v '^ *+' conftest.er1 >conftest.err
25746 cat conftest.err >&5
25747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748 (exit $ac_status); } && {
25749 test -z "$ac_c_werror_flag" ||
25750 test ! -s conftest.err
25751 } && test -s conftest.$ac_objext; then
25752 ac_cv_sys_large_files=1
25754 echo "$as_me: failed program was:" >&5
25755 sed 's/^/| /' conftest.$ac_ext >&5
25757 ac_cv_sys_large_files=no
25760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25764 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25765 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25767 if test "$ac_cv_sys_large_files" != no; then
25769 cat >>confdefs.h <<_ACEOF
25770 #define _LARGE_FILES $ac_cv_sys_large_files
25777 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25778 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25779 if test "x$wx_largefile" = "xyes"; then
25780 cat >>confdefs.h <<\_ACEOF
25781 #define HAVE_LARGEFILE_SUPPORT 1
25785 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25786 echo "${ECHO_T}$wx_largefile" >&6; }
25790 if test "x$wx_largefile" = "xyes"; then
25791 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25792 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25794 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25795 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25796 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25797 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25802 ac_cpp='$CXXCPP $CPPFLAGS'
25803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25807 cat >conftest.$ac_ext <<_ACEOF
25810 cat confdefs.h >>conftest.$ac_ext
25811 cat >>conftest.$ac_ext <<_ACEOF
25812 /* end confdefs.h. */
25818 #ifndef __STDC_EXT__
25826 rm -f conftest.$ac_objext
25827 if { (ac_try="$ac_compile"
25828 case "(($ac_try" in
25829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25830 *) ac_try_echo=$ac_try;;
25832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25833 (eval "$ac_compile") 2>conftest.er1
25835 grep -v '^ *+' conftest.er1 >conftest.err
25837 cat conftest.err >&5
25838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839 (exit $ac_status); } && {
25840 test -z "$ac_cxx_werror_flag" ||
25841 test ! -s conftest.err
25842 } && test -s conftest.$ac_objext; then
25843 wx_cv_STDC_EXT_required=no
25845 echo "$as_me: failed program was:" >&5
25846 sed 's/^/| /' conftest.$ac_ext >&5
25848 wx_cv_STDC_EXT_required=yes
25852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25854 ac_cpp='$CPP $CPPFLAGS'
25855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25862 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25863 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25864 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25865 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25869 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25871 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25872 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25873 if test "${ac_cv_sys_largefile_source+set}" = set; then
25874 echo $ECHO_N "(cached) $ECHO_C" >&6
25877 cat >conftest.$ac_ext <<_ACEOF
25880 cat confdefs.h >>conftest.$ac_ext
25881 cat >>conftest.$ac_ext <<_ACEOF
25882 /* end confdefs.h. */
25883 #include <sys/types.h> /* for off_t */
25888 int (*fp) (FILE *, off_t, int) = fseeko;
25889 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25894 rm -f conftest.$ac_objext conftest$ac_exeext
25895 if { (ac_try="$ac_link"
25896 case "(($ac_try" in
25897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25898 *) ac_try_echo=$ac_try;;
25900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25901 (eval "$ac_link") 2>conftest.er1
25903 grep -v '^ *+' conftest.er1 >conftest.err
25905 cat conftest.err >&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } && {
25908 test -z "$ac_c_werror_flag" ||
25909 test ! -s conftest.err
25910 } && test -s conftest$ac_exeext &&
25911 $as_test_x conftest$ac_exeext; then
25912 ac_cv_sys_largefile_source=no; break
25914 echo "$as_me: failed program was:" >&5
25915 sed 's/^/| /' conftest.$ac_ext >&5
25920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25921 conftest$ac_exeext conftest.$ac_ext
25922 cat >conftest.$ac_ext <<_ACEOF
25925 cat confdefs.h >>conftest.$ac_ext
25926 cat >>conftest.$ac_ext <<_ACEOF
25927 /* end confdefs.h. */
25928 #define _LARGEFILE_SOURCE 1
25929 #include <sys/types.h> /* for off_t */
25934 int (*fp) (FILE *, off_t, int) = fseeko;
25935 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25940 rm -f conftest.$ac_objext conftest$ac_exeext
25941 if { (ac_try="$ac_link"
25942 case "(($ac_try" in
25943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944 *) ac_try_echo=$ac_try;;
25946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947 (eval "$ac_link") 2>conftest.er1
25949 grep -v '^ *+' conftest.er1 >conftest.err
25951 cat conftest.err >&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } && {
25954 test -z "$ac_c_werror_flag" ||
25955 test ! -s conftest.err
25956 } && test -s conftest$ac_exeext &&
25957 $as_test_x conftest$ac_exeext; then
25958 ac_cv_sys_largefile_source=1; break
25960 echo "$as_me: failed program was:" >&5
25961 sed 's/^/| /' conftest.$ac_ext >&5
25966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25967 conftest$ac_exeext conftest.$ac_ext
25968 ac_cv_sys_largefile_source=unknown
25972 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25973 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25974 case $ac_cv_sys_largefile_source in #(
25977 cat >>confdefs.h <<_ACEOF
25978 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25984 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25985 # in glibc 2.1.3, but that breaks too many other things.
25986 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25987 if test $ac_cv_sys_largefile_source != unknown; then
25989 cat >>confdefs.h <<\_ACEOF
25990 #define HAVE_FSEEKO 1
25995 if test "$ac_cv_sys_largefile_source" != no; then
25996 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26000 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26001 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26002 if test "${ac_cv_c_bigendian+set}" = set; then
26003 echo $ECHO_N "(cached) $ECHO_C" >&6
26005 ac_cv_c_bigendian=unknown
26006 # See if sys/param.h defines the BYTE_ORDER macro.
26007 cat >conftest.$ac_ext <<_ACEOF
26010 cat confdefs.h >>conftest.$ac_ext
26011 cat >>conftest.$ac_ext <<_ACEOF
26012 /* end confdefs.h. */
26013 #include <sys/types.h>
26014 #include <sys/param.h>
26019 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26020 bogus endian macros
26026 rm -f conftest.$ac_objext
26027 if { (ac_try="$ac_compile"
26028 case "(($ac_try" in
26029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26030 *) ac_try_echo=$ac_try;;
26032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26033 (eval "$ac_compile") 2>conftest.er1
26035 grep -v '^ *+' conftest.er1 >conftest.err
26037 cat conftest.err >&5
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); } && {
26040 test -z "$ac_c_werror_flag" ||
26041 test ! -s conftest.err
26042 } && test -s conftest.$ac_objext; then
26043 # It does; now see whether it defined to BIG_ENDIAN or not.
26044 cat >conftest.$ac_ext <<_ACEOF
26047 cat confdefs.h >>conftest.$ac_ext
26048 cat >>conftest.$ac_ext <<_ACEOF
26049 /* end confdefs.h. */
26050 #include <sys/types.h>
26051 #include <sys/param.h>
26056 #if BYTE_ORDER != BIG_ENDIAN
26063 rm -f conftest.$ac_objext
26064 if { (ac_try="$ac_compile"
26065 case "(($ac_try" in
26066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26067 *) ac_try_echo=$ac_try;;
26069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26070 (eval "$ac_compile") 2>conftest.er1
26072 grep -v '^ *+' conftest.er1 >conftest.err
26074 cat conftest.err >&5
26075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26076 (exit $ac_status); } && {
26077 test -z "$ac_c_werror_flag" ||
26078 test ! -s conftest.err
26079 } && test -s conftest.$ac_objext; then
26080 ac_cv_c_bigendian=yes
26082 echo "$as_me: failed program was:" >&5
26083 sed 's/^/| /' conftest.$ac_ext >&5
26085 ac_cv_c_bigendian=no
26088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26090 echo "$as_me: failed program was:" >&5
26091 sed 's/^/| /' conftest.$ac_ext >&5
26096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26097 if test $ac_cv_c_bigendian = unknown; then
26098 if test "$cross_compiling" = yes; then
26099 ac_cv_c_bigendian=unknown
26101 cat >conftest.$ac_ext <<_ACEOF
26104 cat confdefs.h >>conftest.$ac_ext
26105 cat >>conftest.$ac_ext <<_ACEOF
26106 /* end confdefs.h. */
26108 /* Are we little or big endian? From Harbison&Steele. */
26112 char c[sizeof (long)];
26115 exit (u.c[sizeof (long) - 1] == 1);
26118 rm -f conftest$ac_exeext
26119 if { (ac_try="$ac_link"
26120 case "(($ac_try" in
26121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26122 *) ac_try_echo=$ac_try;;
26124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26125 (eval "$ac_link") 2>&5
26127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26129 { (case "(($ac_try" in
26130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26131 *) ac_try_echo=$ac_try;;
26133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26134 (eval "$ac_try") 2>&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); }; }; then
26138 ac_cv_c_bigendian=no
26140 echo "$as_me: program exited with status $ac_status" >&5
26141 echo "$as_me: failed program was:" >&5
26142 sed 's/^/| /' conftest.$ac_ext >&5
26144 ( exit $ac_status )
26145 ac_cv_c_bigendian=yes
26147 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26153 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26154 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26155 if test $ac_cv_c_bigendian = unknown; then
26156 { 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
26157 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;}
26159 if test $ac_cv_c_bigendian = yes; then
26160 cat >>confdefs.h <<\_ACEOF
26161 #define WORDS_BIGENDIAN 1
26170 ac_cpp='$CXXCPP $CPPFLAGS'
26171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26177 for ac_header in iostream
26179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26180 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26182 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26183 echo $ECHO_N "(cached) $ECHO_C" >&6
26185 cat >conftest.$ac_ext <<_ACEOF
26188 cat confdefs.h >>conftest.$ac_ext
26189 cat >>conftest.$ac_ext <<_ACEOF
26190 /* end confdefs.h. */
26193 #include <$ac_header>
26195 rm -f conftest.$ac_objext
26196 if { (ac_try="$ac_compile"
26197 case "(($ac_try" in
26198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26199 *) ac_try_echo=$ac_try;;
26201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26202 (eval "$ac_compile") 2>conftest.er1
26204 grep -v '^ *+' conftest.er1 >conftest.err
26206 cat conftest.err >&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } && {
26209 test -z "$ac_cxx_werror_flag" ||
26210 test ! -s conftest.err
26211 } && test -s conftest.$ac_objext; then
26212 eval "$as_ac_Header=yes"
26214 echo "$as_me: failed program was:" >&5
26215 sed 's/^/| /' conftest.$ac_ext >&5
26217 eval "$as_ac_Header=no"
26220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26222 ac_res=`eval echo '${'$as_ac_Header'}'`
26223 { echo "$as_me:$LINENO: result: $ac_res" >&5
26224 echo "${ECHO_T}$ac_res" >&6; }
26225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26226 cat >>confdefs.h <<_ACEOF
26227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26235 if test "$ac_cv_header_iostream" = "yes" ; then
26238 cat >>confdefs.h <<\_ACEOF
26239 #define wxUSE_IOSTREAMH 1
26245 ac_cpp='$CPP $CPPFLAGS'
26246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26253 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26254 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26255 if test "${wx_cv_cpp_bool+set}" = set; then
26256 echo $ECHO_N "(cached) $ECHO_C" >&6
26261 ac_cpp='$CXXCPP $CPPFLAGS'
26262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26267 cat >conftest.$ac_ext <<_ACEOF
26270 cat confdefs.h >>conftest.$ac_ext
26271 cat >>conftest.$ac_ext <<_ACEOF
26272 /* end confdefs.h. */
26287 rm -f conftest.$ac_objext
26288 if { (ac_try="$ac_compile"
26289 case "(($ac_try" in
26290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26291 *) ac_try_echo=$ac_try;;
26293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26294 (eval "$ac_compile") 2>conftest.er1
26296 grep -v '^ *+' conftest.er1 >conftest.err
26298 cat conftest.err >&5
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); } && {
26301 test -z "$ac_cxx_werror_flag" ||
26302 test ! -s conftest.err
26303 } && test -s conftest.$ac_objext; then
26308 echo "$as_me: failed program was:" >&5
26309 sed 's/^/| /' conftest.$ac_ext >&5
26317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26320 ac_cpp='$CPP $CPPFLAGS'
26321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26327 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26328 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26330 if test "$wx_cv_cpp_bool" = "yes"; then
26331 cat >>confdefs.h <<\_ACEOF
26332 #define HAVE_BOOL 1
26339 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26340 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26341 if test "${wx_cv_explicit+set}" = set; then
26342 echo $ECHO_N "(cached) $ECHO_C" >&6
26347 ac_cpp='$CXXCPP $CPPFLAGS'
26348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26353 cat >conftest.$ac_ext <<_ACEOF
26356 cat confdefs.h >>conftest.$ac_ext
26357 cat >>conftest.$ac_ext <<_ACEOF
26358 /* end confdefs.h. */
26360 class Foo { public: explicit Foo(int) {} };
26372 rm -f conftest.$ac_objext
26373 if { (ac_try="$ac_compile"
26374 case "(($ac_try" in
26375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26376 *) ac_try_echo=$ac_try;;
26378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26379 (eval "$ac_compile") 2>conftest.er1
26381 grep -v '^ *+' conftest.er1 >conftest.err
26383 cat conftest.err >&5
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); } && {
26386 test -z "$ac_cxx_werror_flag" ||
26387 test ! -s conftest.err
26388 } && test -s conftest.$ac_objext; then
26390 cat >conftest.$ac_ext <<_ACEOF
26393 cat confdefs.h >>conftest.$ac_ext
26394 cat >>conftest.$ac_ext <<_ACEOF
26395 /* end confdefs.h. */
26397 class Foo { public: explicit Foo(int) {} };
26398 static void TakeFoo(const Foo& foo) { }
26411 rm -f conftest.$ac_objext
26412 if { (ac_try="$ac_compile"
26413 case "(($ac_try" in
26414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26415 *) ac_try_echo=$ac_try;;
26417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26418 (eval "$ac_compile") 2>conftest.er1
26420 grep -v '^ *+' conftest.er1 >conftest.err
26422 cat conftest.err >&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } && {
26425 test -z "$ac_cxx_werror_flag" ||
26426 test ! -s conftest.err
26427 } && test -s conftest.$ac_objext; then
26430 echo "$as_me: failed program was:" >&5
26431 sed 's/^/| /' conftest.$ac_ext >&5
26437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.$ac_ext >&5
26447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26450 ac_cpp='$CPP $CPPFLAGS'
26451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26457 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26458 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26460 if test "$wx_cv_explicit" = "yes"; then
26461 cat >>confdefs.h <<\_ACEOF
26462 #define HAVE_EXPLICIT 1
26468 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26469 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26470 if test "${ac_cv_cxx_const_cast+set}" = set; then
26471 echo $ECHO_N "(cached) $ECHO_C" >&6
26475 ac_cpp='$CXXCPP $CPPFLAGS'
26476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26480 cat >conftest.$ac_ext <<_ACEOF
26483 cat confdefs.h >>conftest.$ac_ext
26484 cat >>conftest.$ac_ext <<_ACEOF
26485 /* end confdefs.h. */
26490 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26495 rm -f conftest.$ac_objext
26496 if { (ac_try="$ac_compile"
26497 case "(($ac_try" in
26498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26499 *) ac_try_echo=$ac_try;;
26501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26502 (eval "$ac_compile") 2>conftest.er1
26504 grep -v '^ *+' conftest.er1 >conftest.err
26506 cat conftest.err >&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } && {
26509 test -z "$ac_cxx_werror_flag" ||
26510 test ! -s conftest.err
26511 } && test -s conftest.$ac_objext; then
26512 ac_cv_cxx_const_cast=yes
26514 echo "$as_me: failed program was:" >&5
26515 sed 's/^/| /' conftest.$ac_ext >&5
26517 ac_cv_cxx_const_cast=no
26520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26522 ac_cpp='$CPP $CPPFLAGS'
26523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26529 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26530 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26531 if test "$ac_cv_cxx_const_cast" = yes; then
26533 cat >>confdefs.h <<\_ACEOF
26534 #define HAVE_CONST_CAST
26539 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26540 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26541 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26542 echo $ECHO_N "(cached) $ECHO_C" >&6
26546 ac_cpp='$CXXCPP $CPPFLAGS'
26547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26551 cat >conftest.$ac_ext <<_ACEOF
26554 cat confdefs.h >>conftest.$ac_ext
26555 cat >>conftest.$ac_ext <<_ACEOF
26556 /* end confdefs.h. */
26557 #include <typeinfo>
26558 class Base { public : Base () {} virtual void f () = 0;};
26559 class Derived : public Base { public : Derived () {} virtual void f () {} };
26560 class Unrelated { public : Unrelated () {} };
26561 int g (Unrelated&) { return 0; }
26566 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26571 rm -f conftest.$ac_objext
26572 if { (ac_try="$ac_compile"
26573 case "(($ac_try" in
26574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26575 *) ac_try_echo=$ac_try;;
26577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26578 (eval "$ac_compile") 2>conftest.er1
26580 grep -v '^ *+' conftest.er1 >conftest.err
26582 cat conftest.err >&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); } && {
26585 test -z "$ac_cxx_werror_flag" ||
26586 test ! -s conftest.err
26587 } && test -s conftest.$ac_objext; then
26588 ac_cv_cxx_reinterpret_cast=yes
26590 echo "$as_me: failed program was:" >&5
26591 sed 's/^/| /' conftest.$ac_ext >&5
26593 ac_cv_cxx_reinterpret_cast=no
26596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26598 ac_cpp='$CPP $CPPFLAGS'
26599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26605 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26606 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26607 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26609 cat >>confdefs.h <<\_ACEOF
26610 #define HAVE_REINTERPRET_CAST
26615 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26616 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26617 if test "${ac_cv_cxx_static_cast+set}" = set; then
26618 echo $ECHO_N "(cached) $ECHO_C" >&6
26622 ac_cpp='$CXXCPP $CPPFLAGS'
26623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26627 cat >conftest.$ac_ext <<_ACEOF
26630 cat confdefs.h >>conftest.$ac_ext
26631 cat >>conftest.$ac_ext <<_ACEOF
26632 /* end confdefs.h. */
26633 #include <typeinfo>
26634 class Base { public : Base () {} virtual void f () = 0; };
26635 class Derived : public Base { public : Derived () {} virtual void f () {} };
26636 int g (Derived&) { return 0; }
26641 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26646 rm -f conftest.$ac_objext
26647 if { (ac_try="$ac_compile"
26648 case "(($ac_try" in
26649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26650 *) ac_try_echo=$ac_try;;
26652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26653 (eval "$ac_compile") 2>conftest.er1
26655 grep -v '^ *+' conftest.er1 >conftest.err
26657 cat conftest.err >&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); } && {
26660 test -z "$ac_cxx_werror_flag" ||
26661 test ! -s conftest.err
26662 } && test -s conftest.$ac_objext; then
26663 ac_cv_cxx_static_cast=yes
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.$ac_ext >&5
26668 ac_cv_cxx_static_cast=no
26671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26673 ac_cpp='$CPP $CPPFLAGS'
26674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26680 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26681 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26682 if test "$ac_cv_cxx_static_cast" = yes; then
26684 cat >>confdefs.h <<\_ACEOF
26685 #define HAVE_STATIC_CAST
26691 if test "x$SUNCXX" = xyes; then
26692 CXXFLAGS="-features=tmplife $CXXFLAGS"
26695 if test "x$SUNCC" = xyes; then
26696 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26699 if test "x$SGICC" = "xyes"; then
26700 CFLAGS="-woff 3970 $CFLAGS"
26702 if test "x$SGICXX" = "xyes"; then
26703 CXXFLAGS="-woff 3970 $CXXFLAGS"
26706 if test "x$HPCC" = "xyes"; then
26707 CFLAGS="+W 2011,2450 $CFLAGS"
26709 if test "x$HPCXX" = "xyes"; then
26710 CXXFLAGS="+W 2340 $CXXFLAGS"
26713 if test "x$COMPAQCXX" = "xyes"; then
26714 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26718 ac_cpp='$CXXCPP $CPPFLAGS'
26719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26724 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26725 if test "$wxUSE_UNICODE" = "yes"; then
26726 std_string="std::wstring"
26727 char_type="wchar_t"
26729 std_string="std::string"
26733 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26734 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26735 if test "${wx_cv_class_stdstring+set}" = set; then
26736 echo $ECHO_N "(cached) $ECHO_C" >&6
26739 cat >conftest.$ac_ext <<_ACEOF
26742 cat confdefs.h >>conftest.$ac_ext
26743 cat >>conftest.$ac_ext <<_ACEOF
26744 /* end confdefs.h. */
26754 rm -f conftest.$ac_objext
26755 if { (ac_try="$ac_compile"
26756 case "(($ac_try" in
26757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26758 *) ac_try_echo=$ac_try;;
26760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26761 (eval "$ac_compile") 2>conftest.er1
26763 grep -v '^ *+' conftest.er1 >conftest.err
26765 cat conftest.err >&5
26766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767 (exit $ac_status); } && {
26768 test -z "$ac_cxx_werror_flag" ||
26769 test ! -s conftest.err
26770 } && test -s conftest.$ac_objext; then
26771 wx_cv_class_stdstring=yes
26773 echo "$as_me: failed program was:" >&5
26774 sed 's/^/| /' conftest.$ac_ext >&5
26776 wx_cv_class_stdstring=no
26780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26784 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26785 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26787 if test "$wx_cv_class_stdstring" = yes; then
26788 if test "$wxUSE_UNICODE" = "yes"; then
26789 cat >>confdefs.h <<\_ACEOF
26790 #define HAVE_STD_WSTRING 1
26795 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26796 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26797 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26798 echo $ECHO_N "(cached) $ECHO_C" >&6
26801 cat >conftest.$ac_ext <<_ACEOF
26804 cat confdefs.h >>conftest.$ac_ext
26805 cat >>conftest.$ac_ext <<_ACEOF
26806 /* end confdefs.h. */
26808 #ifdef HAVE_WCHAR_H
26810 # include <stddef.h>
26812 # include <wchar.h>
26814 #ifdef HAVE_STDLIB_H
26815 # include <stdlib.h>
26823 std::basic_string<$char_type> foo;
26824 const $char_type* dummy = foo.c_str();
26829 rm -f conftest.$ac_objext
26830 if { (ac_try="$ac_compile"
26831 case "(($ac_try" in
26832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26833 *) ac_try_echo=$ac_try;;
26835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26836 (eval "$ac_compile") 2>conftest.er1
26838 grep -v '^ *+' conftest.er1 >conftest.err
26840 cat conftest.err >&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } && {
26843 test -z "$ac_cxx_werror_flag" ||
26844 test ! -s conftest.err
26845 } && test -s conftest.$ac_objext; then
26846 wx_cv_class_stdbasicstring=yes
26848 echo "$as_me: failed program was:" >&5
26849 sed 's/^/| /' conftest.$ac_ext >&5
26851 wx_cv_class_stdbasicstring=no
26855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26859 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26860 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26862 if test "$wx_cv_class_stdbasicstring" != yes; then
26863 if test "$wxUSE_STL" = "yes"; then
26864 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26865 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26866 { (exit 1); exit 1; }; }
26867 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26868 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26869 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26870 { (exit 1); exit 1; }; }
26872 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26873 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26874 wxUSE_STD_STRING=no
26880 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26881 { echo "$as_me:$LINENO: checking for std::istream" >&5
26882 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26883 if test "${ac_cv_type_std__istream+set}" = set; then
26884 echo $ECHO_N "(cached) $ECHO_C" >&6
26886 cat >conftest.$ac_ext <<_ACEOF
26889 cat confdefs.h >>conftest.$ac_ext
26890 cat >>conftest.$ac_ext <<_ACEOF
26891 /* end confdefs.h. */
26892 #include <iostream>
26894 typedef std::istream ac__type_new_;
26898 if ((ac__type_new_ *) 0)
26900 if (sizeof (ac__type_new_))
26906 rm -f conftest.$ac_objext
26907 if { (ac_try="$ac_compile"
26908 case "(($ac_try" in
26909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26910 *) ac_try_echo=$ac_try;;
26912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26913 (eval "$ac_compile") 2>conftest.er1
26915 grep -v '^ *+' conftest.er1 >conftest.err
26917 cat conftest.err >&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); } && {
26920 test -z "$ac_cxx_werror_flag" ||
26921 test ! -s conftest.err
26922 } && test -s conftest.$ac_objext; then
26923 ac_cv_type_std__istream=yes
26925 echo "$as_me: failed program was:" >&5
26926 sed 's/^/| /' conftest.$ac_ext >&5
26928 ac_cv_type_std__istream=no
26931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26933 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26934 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26935 if test $ac_cv_type_std__istream = yes; then
26937 cat >>confdefs.h <<_ACEOF
26938 #define HAVE_STD__ISTREAM 1
26943 wxUSE_STD_IOSTREAM=no
26945 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26946 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26947 if test "${ac_cv_type_std__ostream+set}" = set; then
26948 echo $ECHO_N "(cached) $ECHO_C" >&6
26950 cat >conftest.$ac_ext <<_ACEOF
26953 cat confdefs.h >>conftest.$ac_ext
26954 cat >>conftest.$ac_ext <<_ACEOF
26955 /* end confdefs.h. */
26956 #include <iostream>
26958 typedef std::ostream ac__type_new_;
26962 if ((ac__type_new_ *) 0)
26964 if (sizeof (ac__type_new_))
26970 rm -f conftest.$ac_objext
26971 if { (ac_try="$ac_compile"
26972 case "(($ac_try" in
26973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26974 *) ac_try_echo=$ac_try;;
26976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26977 (eval "$ac_compile") 2>conftest.er1
26979 grep -v '^ *+' conftest.er1 >conftest.err
26981 cat conftest.err >&5
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); } && {
26984 test -z "$ac_cxx_werror_flag" ||
26985 test ! -s conftest.err
26986 } && test -s conftest.$ac_objext; then
26987 ac_cv_type_std__ostream=yes
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26992 ac_cv_type_std__ostream=no
26995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26997 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26998 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26999 if test $ac_cv_type_std__ostream = yes; then
27001 cat >>confdefs.h <<_ACEOF
27002 #define HAVE_STD__OSTREAM 1
27007 wxUSE_STD_IOSTREAM=no
27011 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27012 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27013 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27014 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27015 { (exit 1); exit 1; }; }
27017 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27018 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27023 if test "$wxUSE_STL" = "yes"; then
27024 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27025 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27026 if test "${wx_cv_lib_stl+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. */
27036 #include <functional>
27037 #include <algorithm>
27043 std::vector<int> moo;
27044 std::list<int> foo;
27045 std::vector<int>::iterator it =
27046 std::find_if(moo.begin(), moo.end(),
27047 std::bind2nd(std::less<int>(), 3));
27052 rm -f conftest.$ac_objext
27053 if { (ac_try="$ac_compile"
27054 case "(($ac_try" in
27055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27056 *) ac_try_echo=$ac_try;;
27058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27059 (eval "$ac_compile") 2>conftest.er1
27061 grep -v '^ *+' conftest.er1 >conftest.err
27063 cat conftest.err >&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); } && {
27066 test -z "$ac_cxx_werror_flag" ||
27067 test ! -s conftest.err
27068 } && test -s conftest.$ac_objext; then
27071 echo "$as_me: failed program was:" >&5
27072 sed 's/^/| /' conftest.$ac_ext >&5
27078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27081 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27082 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27084 if test "$wx_cv_lib_stl" != yes; then
27085 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27086 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27087 { (exit 1); exit 1; }; }
27090 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27091 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27092 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27093 echo $ECHO_N "(cached) $ECHO_C" >&6
27095 cat >conftest.$ac_ext <<_ACEOF
27098 cat confdefs.h >>conftest.$ac_ext
27099 cat >>conftest.$ac_ext <<_ACEOF
27100 /* end confdefs.h. */
27105 std::string foo, bar;
27107 foo.compare(1, 1, bar);
27108 foo.compare(1, 1, bar, 1, 1);
27110 foo.compare(1, 1, "");
27111 foo.compare(1, 1, "", 2);
27116 rm -f conftest.$ac_objext
27117 if { (ac_try="$ac_compile"
27118 case "(($ac_try" in
27119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27120 *) ac_try_echo=$ac_try;;
27122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27123 (eval "$ac_compile") 2>conftest.er1
27125 grep -v '^ *+' conftest.er1 >conftest.err
27127 cat conftest.err >&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); } && {
27130 test -z "$ac_cxx_werror_flag" ||
27131 test ! -s conftest.err
27132 } && test -s conftest.$ac_objext; then
27133 wx_cv_func_stdstring_compare=yes
27135 echo "$as_me: failed program was:" >&5
27136 sed 's/^/| /' conftest.$ac_ext >&5
27138 wx_cv_func_stdstring_compare=no
27142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27145 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27146 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27148 if test "$wx_cv_func_stdstring_compare" = yes; then
27149 cat >>confdefs.h <<\_ACEOF
27150 #define HAVE_STD_STRING_COMPARE 1
27155 { echo "$as_me:$LINENO: checking for hash_map" >&5
27156 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27157 if test "${ac_cv_header_hash_map+set}" = set; then
27158 echo $ECHO_N "(cached) $ECHO_C" >&6
27160 cat >conftest.$ac_ext <<_ACEOF
27163 cat confdefs.h >>conftest.$ac_ext
27164 cat >>conftest.$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27169 #include <hash_map>
27171 rm -f conftest.$ac_objext
27172 if { (ac_try="$ac_compile"
27173 case "(($ac_try" in
27174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27175 *) ac_try_echo=$ac_try;;
27177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27178 (eval "$ac_compile") 2>conftest.er1
27180 grep -v '^ *+' conftest.er1 >conftest.err
27182 cat conftest.err >&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); } && {
27185 test -z "$ac_cxx_werror_flag" ||
27186 test ! -s conftest.err
27187 } && test -s conftest.$ac_objext; then
27188 ac_cv_header_hash_map=yes
27190 echo "$as_me: failed program was:" >&5
27191 sed 's/^/| /' conftest.$ac_ext >&5
27193 ac_cv_header_hash_map=no
27196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27198 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27199 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27200 if test $ac_cv_header_hash_map = yes; then
27201 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27202 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27203 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27204 echo $ECHO_N "(cached) $ECHO_C" >&6
27206 cat >conftest.$ac_ext <<_ACEOF
27209 cat confdefs.h >>conftest.$ac_ext
27210 cat >>conftest.$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 #include <hash_map>
27213 #include <hash_set>
27217 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27218 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27223 rm -f conftest.$ac_objext
27224 if { (ac_try="$ac_compile"
27225 case "(($ac_try" in
27226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27227 *) ac_try_echo=$ac_try;;
27229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27230 (eval "$ac_compile") 2>conftest.er1
27232 grep -v '^ *+' conftest.er1 >conftest.err
27234 cat conftest.err >&5
27235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27236 (exit $ac_status); } && {
27237 test -z "$ac_cxx_werror_flag" ||
27238 test ! -s conftest.err
27239 } && test -s conftest.$ac_objext; then
27240 wx_cv_class_stdhashmapset=yes
27242 echo "$as_me: failed program was:" >&5
27243 sed 's/^/| /' conftest.$ac_ext >&5
27245 wx_cv_class_stdhashmapset=no
27248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27252 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27253 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27258 if test "$wx_cv_class_stdhashmapset" = yes; then
27259 cat >>confdefs.h <<\_ACEOF
27260 #define HAVE_HASH_MAP 1
27263 cat >>confdefs.h <<\_ACEOF
27264 #define HAVE_STD_HASH_MAP 1
27269 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27270 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27271 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27272 echo $ECHO_N "(cached) $ECHO_C" >&6
27274 cat >conftest.$ac_ext <<_ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27283 #include <ext/hash_map>
27285 rm -f conftest.$ac_objext
27286 if { (ac_try="$ac_compile"
27287 case "(($ac_try" in
27288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27289 *) ac_try_echo=$ac_try;;
27291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27292 (eval "$ac_compile") 2>conftest.er1
27294 grep -v '^ *+' conftest.er1 >conftest.err
27296 cat conftest.err >&5
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); } && {
27299 test -z "$ac_cxx_werror_flag" ||
27300 test ! -s conftest.err
27301 } && test -s conftest.$ac_objext; then
27302 ac_cv_header_ext_hash_map=yes
27304 echo "$as_me: failed program was:" >&5
27305 sed 's/^/| /' conftest.$ac_ext >&5
27307 ac_cv_header_ext_hash_map=no
27310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27312 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27313 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27314 if test $ac_cv_header_ext_hash_map = yes; then
27315 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27316 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27317 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27318 echo $ECHO_N "(cached) $ECHO_C" >&6
27320 cat >conftest.$ac_ext <<_ACEOF
27323 cat confdefs.h >>conftest.$ac_ext
27324 cat >>conftest.$ac_ext <<_ACEOF
27325 /* end confdefs.h. */
27326 #include <ext/hash_map>
27327 #include <ext/hash_set>
27331 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27332 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27337 rm -f conftest.$ac_objext
27338 if { (ac_try="$ac_compile"
27339 case "(($ac_try" in
27340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27341 *) ac_try_echo=$ac_try;;
27343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27344 (eval "$ac_compile") 2>conftest.er1
27346 grep -v '^ *+' conftest.er1 >conftest.err
27348 cat conftest.err >&5
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); } && {
27351 test -z "$ac_cxx_werror_flag" ||
27352 test ! -s conftest.err
27353 } && test -s conftest.$ac_objext; then
27354 wx_cv_class_gnuhashmapset=yes
27356 echo "$as_me: failed program was:" >&5
27357 sed 's/^/| /' conftest.$ac_ext >&5
27359 wx_cv_class_gnuhashmapset=no
27362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27366 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27367 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27372 if test "$wx_cv_class_gnuhashmapset" = yes; then
27373 cat >>confdefs.h <<\_ACEOF
27374 #define HAVE_EXT_HASH_MAP 1
27377 cat >>confdefs.h <<\_ACEOF
27378 #define HAVE_GNU_CXX_HASH_MAP 1
27385 ac_cpp='$CPP $CPPFLAGS'
27386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27393 /usr/local/include \
27395 /usr/Motif-2.1/include \
27396 /usr/Motif-1.2/include \
27397 /usr/include/Motif1.2 \
27400 /usr/openwin/include \
27404 /usr/X11R6/include \
27405 /usr/X11R6.4/include \
27406 /usr/X11R5/include \
27407 /usr/X11R4/include \
27409 /usr/include/X11R6 \
27410 /usr/include/X11R5 \
27411 /usr/include/X11R4 \
27413 /usr/local/X11R6/include \
27414 /usr/local/X11R5/include \
27415 /usr/local/X11R4/include \
27417 /usr/local/include/X11R6 \
27418 /usr/local/include/X11R5 \
27419 /usr/local/include/X11R4 \
27423 /usr/local/X11/include \
27424 /usr/local/include/X11 \
27426 /usr/XFree86/include/X11 \
27429 /usr/openwin/share/include"
27431 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27432 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27436 if test "${wx_cv_std_libpath+set}" = set; then
27437 echo $ECHO_N "(cached) $ECHO_C" >&6
27440 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27441 for e in a so sl dylib dll.a; do
27443 if test -f $libc; then
27446 cat >conftest.$ac_ext <<_ACEOF
27447 int main() { return 0; }
27449 rm -f conftest.$ac_objext conftest$ac_exeext
27450 if { (ac_try="$ac_link"
27451 case "(($ac_try" in
27452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27453 *) ac_try_echo=$ac_try;;
27455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27456 (eval "$ac_link") 2>conftest.er1
27458 grep -v '^ *+' conftest.er1 >conftest.err
27460 cat conftest.err >&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); } && {
27463 test -z "$ac_c_werror_flag" ||
27464 test ! -s conftest.err
27465 } && test -s conftest$ac_exeext &&
27466 $as_test_x conftest$ac_exeext; then
27467 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27469 echo "$as_me: failed program was:" >&5
27470 sed 's/^/| /' conftest.$ac_ext >&5
27475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27476 conftest$ac_exeext conftest.$ac_ext
27478 if test "x$wx_cv_std_libpath" != "x"; then
27484 if test "x$wx_cv_std_libpath" = "x"; then
27485 wx_cv_std_libpath="lib"
27494 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27495 wx_cv_std_libpath="lib/64"
27497 wx_cv_std_libpath="lib"
27502 if test "$ac_cv_sizeof_void_p" = 8 -a \
27503 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27504 wx_cv_std_libpath="lib64"
27506 wx_cv_std_libpath="lib"
27511 wx_cv_std_libpath="lib";
27515 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27516 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27518 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27520 if test "$build" != "$host" -a "$GCC" = yes; then
27521 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27522 cross_root=`dirname $cross_root`
27523 cross_root=`dirname $cross_root`
27525 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27526 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27527 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27529 if test -z "$PKG_CONFIG_PATH"; then
27530 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27531 export PKG_CONFIG_PATH
27534 if test -z "$x_includes" -o "$x_includes" = NONE; then
27537 for ac_dir in $SEARCH_INCLUDE /usr/include;
27539 if test -f "$ac_dir/X11/Intrinsic.h"; then
27540 ac_find_includes=$ac_dir
27545 x_includes=$ac_find_includes
27547 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27550 for ac_dir in $SEARCH_LIB;
27552 for ac_extension in a so sl dylib dll.a; do
27553 if test -f "$ac_dir/libXt.$ac_extension"; then
27554 ac_find_libraries=$ac_dir
27560 x_libraries=$ac_find_libraries
27566 cat >confcache <<\_ACEOF
27567 # This file is a shell script that caches the results of configure
27568 # tests run on this system so they can be shared between configure
27569 # scripts and configure runs, see configure's option --config-cache.
27570 # It is not useful on other systems. If it contains results you don't
27571 # want to keep, you may remove or edit it.
27573 # config.status only pays attention to the cache file if you give it
27574 # the --recheck option to rerun configure.
27576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27578 # following values.
27582 # The following way of writing the cache mishandles newlines in values,
27583 # but we know of no workaround that is simple, portable, and efficient.
27584 # So, we kill variables containing newlines.
27585 # Ultrix sh set writes to stderr and can't be redirected directly,
27586 # and sets the high bit in the cache file unless we assign to the vars.
27588 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27589 eval ac_val=\$$ac_var
27593 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27594 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27597 _ | IFS | as_nl) ;; #(
27598 *) $as_unset $ac_var ;;
27604 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27605 *${as_nl}ac_space=\ *)
27606 # `set' does not quote correctly, so add quotes (double-quote
27607 # substitution turns \\\\ into \\, and sed turns \\ into \).
27610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27613 # `set' quotes correctly as required by POSIX, so do not add quotes.
27614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27625 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27627 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27628 if test -w "$cache_file"; then
27629 test "x$cache_file" != "x/dev/null" &&
27630 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27631 echo "$as_me: updating cache $cache_file" >&6;}
27632 cat confcache >$cache_file
27634 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27635 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27640 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27641 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27642 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27643 if test "${wx_cv_lib_glibc21+set}" = set; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27647 cat >conftest.$ac_ext <<_ACEOF
27650 cat confdefs.h >>conftest.$ac_ext
27651 cat >>conftest.$ac_ext <<_ACEOF
27652 /* end confdefs.h. */
27653 #include <features.h>
27658 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27666 rm -f conftest.$ac_objext
27667 if { (ac_try="$ac_compile"
27668 case "(($ac_try" in
27669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27670 *) ac_try_echo=$ac_try;;
27672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27673 (eval "$ac_compile") 2>conftest.er1
27675 grep -v '^ *+' conftest.er1 >conftest.err
27677 cat conftest.err >&5
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); } && {
27680 test -z "$ac_c_werror_flag" ||
27681 test ! -s conftest.err
27682 } && test -s conftest.$ac_objext; then
27684 wx_cv_lib_glibc21=yes
27687 echo "$as_me: failed program was:" >&5
27688 sed 's/^/| /' conftest.$ac_ext >&5
27691 wx_cv_lib_glibc21=no
27696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27699 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27700 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27701 if test "$wx_cv_lib_glibc21" = "yes"; then
27702 cat >>confdefs.h <<\_ACEOF
27703 #define wxHAVE_GLIBC2 1
27709 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27710 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27711 cat >>confdefs.h <<\_ACEOF
27712 #define _GNU_SOURCE 1
27723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27727 echo $ECHO_N "(cached) $ECHO_C" >&6
27729 cat >conftest.$ac_ext <<_ACEOF
27732 cat confdefs.h >>conftest.$ac_ext
27733 cat >>conftest.$ac_ext <<_ACEOF
27734 /* end confdefs.h. */
27735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27737 #define $ac_func innocuous_$ac_func
27739 /* System header to define __stub macros and hopefully few prototypes,
27740 which can conflict with char $ac_func (); below.
27741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27742 <limits.h> exists even on freestanding compilers. */
27745 # include <limits.h>
27747 # include <assert.h>
27752 /* Override any GCC internal prototype to avoid an error.
27753 Use char because int might match the return type of a GCC
27754 builtin and then its argument prototype would still apply. */
27759 /* The GNU C library defines this for functions which it implements
27760 to always fail with ENOSYS. Some functions are actually named
27761 something starting with __ and the normal name is an alias. */
27762 #if defined __stub_$ac_func || defined __stub___$ac_func
27769 return $ac_func ();
27774 rm -f conftest.$ac_objext conftest$ac_exeext
27775 if { (ac_try="$ac_link"
27776 case "(($ac_try" in
27777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27778 *) ac_try_echo=$ac_try;;
27780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27781 (eval "$ac_link") 2>conftest.er1
27783 grep -v '^ *+' conftest.er1 >conftest.err
27785 cat conftest.err >&5
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); } && {
27788 test -z "$ac_c_werror_flag" ||
27789 test ! -s conftest.err
27790 } && test -s conftest$ac_exeext &&
27791 $as_test_x conftest$ac_exeext; then
27792 eval "$as_ac_var=yes"
27794 echo "$as_me: failed program was:" >&5
27795 sed 's/^/| /' conftest.$ac_ext >&5
27797 eval "$as_ac_var=no"
27800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27801 conftest$ac_exeext conftest.$ac_ext
27803 ac_res=`eval echo '${'$as_ac_var'}'`
27804 { echo "$as_me:$LINENO: result: $ac_res" >&5
27805 echo "${ECHO_T}$ac_res" >&6; }
27806 if test `eval echo '${'$as_ac_var'}'` = yes; then
27807 cat >>confdefs.h <<_ACEOF
27808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27815 for ac_func in floor
27817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27818 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27820 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27821 echo $ECHO_N "(cached) $ECHO_C" >&6
27823 cat >conftest.$ac_ext <<_ACEOF
27826 cat confdefs.h >>conftest.$ac_ext
27827 cat >>conftest.$ac_ext <<_ACEOF
27828 /* end confdefs.h. */
27829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27831 #define $ac_func innocuous_$ac_func
27833 /* System header to define __stub macros and hopefully few prototypes,
27834 which can conflict with char $ac_func (); below.
27835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27836 <limits.h> exists even on freestanding compilers. */
27839 # include <limits.h>
27841 # include <assert.h>
27846 /* Override any GCC internal prototype to avoid an error.
27847 Use char because int might match the return type of a GCC
27848 builtin and then its argument prototype would still apply. */
27853 /* The GNU C library defines this for functions which it implements
27854 to always fail with ENOSYS. Some functions are actually named
27855 something starting with __ and the normal name is an alias. */
27856 #if defined __stub_$ac_func || defined __stub___$ac_func
27863 return $ac_func ();
27868 rm -f conftest.$ac_objext conftest$ac_exeext
27869 if { (ac_try="$ac_link"
27870 case "(($ac_try" in
27871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27872 *) ac_try_echo=$ac_try;;
27874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27875 (eval "$ac_link") 2>conftest.er1
27877 grep -v '^ *+' conftest.er1 >conftest.err
27879 cat conftest.err >&5
27880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881 (exit $ac_status); } && {
27882 test -z "$ac_c_werror_flag" ||
27883 test ! -s conftest.err
27884 } && test -s conftest$ac_exeext &&
27885 $as_test_x conftest$ac_exeext; then
27886 eval "$as_ac_var=yes"
27888 echo "$as_me: failed program was:" >&5
27889 sed 's/^/| /' conftest.$ac_ext >&5
27891 eval "$as_ac_var=no"
27894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27895 conftest$ac_exeext conftest.$ac_ext
27897 ac_res=`eval echo '${'$as_ac_var'}'`
27898 { echo "$as_me:$LINENO: result: $ac_res" >&5
27899 echo "${ECHO_T}$ac_res" >&6; }
27900 if test `eval echo '${'$as_ac_var'}'` = yes; then
27901 cat >>confdefs.h <<_ACEOF
27902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27908 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27909 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27910 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27911 { echo "$as_me:$LINENO: result: yes" >&5
27912 echo "${ECHO_T}yes" >&6; }
27914 { echo "$as_me:$LINENO: result: no" >&5
27915 echo "${ECHO_T}no" >&6; }
27917 # use different functions to avoid configure caching
27923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27927 echo $ECHO_N "(cached) $ECHO_C" >&6
27929 cat >conftest.$ac_ext <<_ACEOF
27932 cat confdefs.h >>conftest.$ac_ext
27933 cat >>conftest.$ac_ext <<_ACEOF
27934 /* end confdefs.h. */
27935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27937 #define $ac_func innocuous_$ac_func
27939 /* System header to define __stub macros and hopefully few prototypes,
27940 which can conflict with char $ac_func (); below.
27941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27942 <limits.h> exists even on freestanding compilers. */
27945 # include <limits.h>
27947 # include <assert.h>
27952 /* Override any GCC internal prototype to avoid an error.
27953 Use char because int might match the return type of a GCC
27954 builtin and then its argument prototype would still apply. */
27959 /* The GNU C library defines this for functions which it implements
27960 to always fail with ENOSYS. Some functions are actually named
27961 something starting with __ and the normal name is an alias. */
27962 #if defined __stub_$ac_func || defined __stub___$ac_func
27969 return $ac_func ();
27974 rm -f conftest.$ac_objext conftest$ac_exeext
27975 if { (ac_try="$ac_link"
27976 case "(($ac_try" in
27977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27978 *) ac_try_echo=$ac_try;;
27980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27981 (eval "$ac_link") 2>conftest.er1
27983 grep -v '^ *+' conftest.er1 >conftest.err
27985 cat conftest.err >&5
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); } && {
27988 test -z "$ac_c_werror_flag" ||
27989 test ! -s conftest.err
27990 } && test -s conftest$ac_exeext &&
27991 $as_test_x conftest$ac_exeext; then
27992 eval "$as_ac_var=yes"
27994 echo "$as_me: failed program was:" >&5
27995 sed 's/^/| /' conftest.$ac_ext >&5
27997 eval "$as_ac_var=no"
28000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28001 conftest$ac_exeext conftest.$ac_ext
28003 ac_res=`eval echo '${'$as_ac_var'}'`
28004 { echo "$as_me:$LINENO: result: $ac_res" >&5
28005 echo "${ECHO_T}$ac_res" >&6; }
28006 if test `eval echo '${'$as_ac_var'}'` = yes; then
28007 cat >>confdefs.h <<_ACEOF
28008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28015 for ac_func in ceil
28017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28018 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28020 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28021 echo $ECHO_N "(cached) $ECHO_C" >&6
28023 cat >conftest.$ac_ext <<_ACEOF
28026 cat confdefs.h >>conftest.$ac_ext
28027 cat >>conftest.$ac_ext <<_ACEOF
28028 /* end confdefs.h. */
28029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28031 #define $ac_func innocuous_$ac_func
28033 /* System header to define __stub macros and hopefully few prototypes,
28034 which can conflict with char $ac_func (); below.
28035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28036 <limits.h> exists even on freestanding compilers. */
28039 # include <limits.h>
28041 # include <assert.h>
28046 /* Override any GCC internal prototype to avoid an error.
28047 Use char because int might match the return type of a GCC
28048 builtin and then its argument prototype would still apply. */
28053 /* The GNU C library defines this for functions which it implements
28054 to always fail with ENOSYS. Some functions are actually named
28055 something starting with __ and the normal name is an alias. */
28056 #if defined __stub_$ac_func || defined __stub___$ac_func
28063 return $ac_func ();
28068 rm -f conftest.$ac_objext conftest$ac_exeext
28069 if { (ac_try="$ac_link"
28070 case "(($ac_try" in
28071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28072 *) ac_try_echo=$ac_try;;
28074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28075 (eval "$ac_link") 2>conftest.er1
28077 grep -v '^ *+' conftest.er1 >conftest.err
28079 cat conftest.err >&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); } && {
28082 test -z "$ac_c_werror_flag" ||
28083 test ! -s conftest.err
28084 } && test -s conftest$ac_exeext &&
28085 $as_test_x conftest$ac_exeext; then
28086 eval "$as_ac_var=yes"
28088 echo "$as_me: failed program was:" >&5
28089 sed 's/^/| /' conftest.$ac_ext >&5
28091 eval "$as_ac_var=no"
28094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28095 conftest$ac_exeext conftest.$ac_ext
28097 ac_res=`eval echo '${'$as_ac_var'}'`
28098 { echo "$as_me:$LINENO: result: $ac_res" >&5
28099 echo "${ECHO_T}$ac_res" >&6; }
28100 if test `eval echo '${'$as_ac_var'}'` = yes; then
28101 cat >>confdefs.h <<_ACEOF
28102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28108 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28109 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28110 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28111 { echo "$as_me:$LINENO: result: yes" >&5
28112 echo "${ECHO_T}yes" >&6; }
28114 { echo "$as_me:$LINENO: result: no" >&5
28115 echo "${ECHO_T}no" >&6; }
28116 # not sure we should warn the user, crash, etc.
28121 ac_cpp='$CXXCPP $CPPFLAGS'
28122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28126 if test "wxUSE_UNICODE" = "yes"; then
28128 for wx_func in wcstoull
28130 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28131 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28132 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28133 echo $ECHO_N "(cached) $ECHO_C" >&6
28136 cat >conftest.$ac_ext <<_ACEOF
28140 cat confdefs.h >>conftest.$ac_ext
28141 cat >>conftest.$ac_ext <<_ACEOF
28142 /* end confdefs.h. */
28145 $ac_includes_default
28161 rm -f conftest.$ac_objext conftest$ac_exeext
28162 if { (ac_try="$ac_link"
28163 case "(($ac_try" in
28164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28165 *) ac_try_echo=$ac_try;;
28167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28168 (eval "$ac_link") 2>conftest.er1
28170 grep -v '^ *+' conftest.er1 >conftest.err
28172 cat conftest.err >&5
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); } && {
28175 test -z "$ac_cxx_werror_flag" ||
28176 test ! -s conftest.err
28177 } && test -s conftest$ac_exeext &&
28178 $as_test_x conftest$ac_exeext; then
28179 eval wx_cv_func_$wx_func=yes
28181 echo "$as_me: failed program was:" >&5
28182 sed 's/^/| /' conftest.$ac_ext >&5
28184 eval wx_cv_func_$wx_func=no
28187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28188 conftest$ac_exeext conftest.$ac_ext
28191 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28192 { echo "$as_me:$LINENO: result: $ac_res" >&5
28193 echo "${ECHO_T}$ac_res" >&6; }
28195 if eval test \$wx_cv_func_$wx_func = yes
28197 cat >>confdefs.h <<_ACEOF
28198 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28210 for wx_func in strtoull
28212 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28213 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28214 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28215 echo $ECHO_N "(cached) $ECHO_C" >&6
28218 cat >conftest.$ac_ext <<_ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28227 $ac_includes_default
28243 rm -f conftest.$ac_objext conftest$ac_exeext
28244 if { (ac_try="$ac_link"
28245 case "(($ac_try" in
28246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28247 *) ac_try_echo=$ac_try;;
28249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28250 (eval "$ac_link") 2>conftest.er1
28252 grep -v '^ *+' conftest.er1 >conftest.err
28254 cat conftest.err >&5
28255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28256 (exit $ac_status); } && {
28257 test -z "$ac_cxx_werror_flag" ||
28258 test ! -s conftest.err
28259 } && test -s conftest$ac_exeext &&
28260 $as_test_x conftest$ac_exeext; then
28261 eval wx_cv_func_$wx_func=yes
28263 echo "$as_me: failed program was:" >&5
28264 sed 's/^/| /' conftest.$ac_ext >&5
28266 eval wx_cv_func_$wx_func=no
28269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28270 conftest$ac_exeext conftest.$ac_ext
28273 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28274 { echo "$as_me:$LINENO: result: $ac_res" >&5
28275 echo "${ECHO_T}$ac_res" >&6; }
28277 if eval test \$wx_cv_func_$wx_func = yes
28279 cat >>confdefs.h <<_ACEOF
28280 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28292 ac_cpp='$CPP $CPPFLAGS'
28293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28300 if test "$wxUSE_REGEX" != "no"; then
28301 cat >>confdefs.h <<\_ACEOF
28302 #define wxUSE_REGEX 1
28306 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28307 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28308 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28309 wxUSE_REGEX=builtin
28312 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28313 { echo "$as_me:$LINENO: checking for regex.h" >&5
28314 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28315 if test "${ac_cv_header_regex_h+set}" = set; then
28316 echo $ECHO_N "(cached) $ECHO_C" >&6
28318 cat >conftest.$ac_ext <<_ACEOF
28321 cat confdefs.h >>conftest.$ac_ext
28322 cat >>conftest.$ac_ext <<_ACEOF
28323 /* end confdefs.h. */
28328 rm -f conftest.$ac_objext
28329 if { (ac_try="$ac_compile"
28330 case "(($ac_try" in
28331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28332 *) ac_try_echo=$ac_try;;
28334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28335 (eval "$ac_compile") 2>conftest.er1
28337 grep -v '^ *+' conftest.er1 >conftest.err
28339 cat conftest.err >&5
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); } && {
28342 test -z "$ac_c_werror_flag" ||
28343 test ! -s conftest.err
28344 } && test -s conftest.$ac_objext; then
28345 ac_cv_header_regex_h=yes
28347 echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.$ac_ext >&5
28350 ac_cv_header_regex_h=no
28353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28355 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28356 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28357 if test $ac_cv_header_regex_h = yes; then
28360 for ac_func in regcomp re_search
28362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28363 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28365 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28366 echo $ECHO_N "(cached) $ECHO_C" >&6
28368 cat >conftest.$ac_ext <<_ACEOF
28371 cat confdefs.h >>conftest.$ac_ext
28372 cat >>conftest.$ac_ext <<_ACEOF
28373 /* end confdefs.h. */
28374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28376 #define $ac_func innocuous_$ac_func
28378 /* System header to define __stub macros and hopefully few prototypes,
28379 which can conflict with char $ac_func (); below.
28380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28381 <limits.h> exists even on freestanding compilers. */
28384 # include <limits.h>
28386 # include <assert.h>
28391 /* Override any GCC internal prototype to avoid an error.
28392 Use char because int might match the return type of a GCC
28393 builtin and then its argument prototype would still apply. */
28398 /* The GNU C library defines this for functions which it implements
28399 to always fail with ENOSYS. Some functions are actually named
28400 something starting with __ and the normal name is an alias. */
28401 #if defined __stub_$ac_func || defined __stub___$ac_func
28408 return $ac_func ();
28413 rm -f conftest.$ac_objext conftest$ac_exeext
28414 if { (ac_try="$ac_link"
28415 case "(($ac_try" in
28416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28417 *) ac_try_echo=$ac_try;;
28419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28420 (eval "$ac_link") 2>conftest.er1
28422 grep -v '^ *+' conftest.er1 >conftest.err
28424 cat conftest.err >&5
28425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28426 (exit $ac_status); } && {
28427 test -z "$ac_c_werror_flag" ||
28428 test ! -s conftest.err
28429 } && test -s conftest$ac_exeext &&
28430 $as_test_x conftest$ac_exeext; then
28431 eval "$as_ac_var=yes"
28433 echo "$as_me: failed program was:" >&5
28434 sed 's/^/| /' conftest.$ac_ext >&5
28436 eval "$as_ac_var=no"
28439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28440 conftest$ac_exeext conftest.$ac_ext
28442 ac_res=`eval echo '${'$as_ac_var'}'`
28443 { echo "$as_me:$LINENO: result: $ac_res" >&5
28444 echo "${ECHO_T}$ac_res" >&6; }
28445 if test `eval echo '${'$as_ac_var'}'` = yes; then
28446 cat >>confdefs.h <<_ACEOF
28447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28457 if test "x$ac_cv_func_regcomp" != "xyes"; then
28458 if test "$wxUSE_REGEX" = "sys" ; then
28459 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28460 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28461 { (exit 1); exit 1; }; }
28463 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28464 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28465 wxUSE_REGEX=builtin
28469 cat >>confdefs.h <<\_ACEOF
28470 #define WX_NO_REGEX_ADVANCED 1
28479 if test "$wxUSE_ZLIB" != "no" ; then
28480 cat >>confdefs.h <<\_ACEOF
28481 #define wxUSE_ZLIB 1
28485 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28486 if test "$USE_DARWIN" = 1; then
28487 system_zlib_h_ok="yes"
28489 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28490 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28491 if test "${ac_cv_header_zlib_h+set}" = set; then
28492 echo $ECHO_N "(cached) $ECHO_C" >&6
28494 if test "$cross_compiling" = yes; then
28495 unset ac_cv_header_zlib_h
28498 cat >conftest.$ac_ext <<_ACEOF
28501 cat confdefs.h >>conftest.$ac_ext
28502 cat >>conftest.$ac_ext <<_ACEOF
28503 /* end confdefs.h. */
28510 FILE *f=fopen("conftestval", "w");
28513 ZLIB_VERSION[0] == '1' &&
28514 (ZLIB_VERSION[2] > '1' ||
28515 (ZLIB_VERSION[2] == '1' &&
28516 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28521 rm -f conftest$ac_exeext
28522 if { (ac_try="$ac_link"
28523 case "(($ac_try" in
28524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28525 *) ac_try_echo=$ac_try;;
28527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28528 (eval "$ac_link") 2>&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28532 { (case "(($ac_try" in
28533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28534 *) ac_try_echo=$ac_try;;
28536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28537 (eval "$ac_try") 2>&5
28539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540 (exit $ac_status); }; }; then
28541 ac_cv_header_zlib_h=`cat conftestval`
28543 echo "$as_me: program exited with status $ac_status" >&5
28544 echo "$as_me: failed program was:" >&5
28545 sed 's/^/| /' conftest.$ac_ext >&5
28547 ( exit $ac_status )
28548 ac_cv_header_zlib_h=no
28550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28556 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28557 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28558 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28559 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28560 if test "${ac_cv_header_zlib_h+set}" = set; then
28561 echo $ECHO_N "(cached) $ECHO_C" >&6
28563 cat >conftest.$ac_ext <<_ACEOF
28566 cat confdefs.h >>conftest.$ac_ext
28567 cat >>conftest.$ac_ext <<_ACEOF
28568 /* end confdefs.h. */
28573 rm -f conftest.$ac_objext
28574 if { (ac_try="$ac_compile"
28575 case "(($ac_try" in
28576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28577 *) ac_try_echo=$ac_try;;
28579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28580 (eval "$ac_compile") 2>conftest.er1
28582 grep -v '^ *+' conftest.er1 >conftest.err
28584 cat conftest.err >&5
28585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586 (exit $ac_status); } && {
28587 test -z "$ac_c_werror_flag" ||
28588 test ! -s conftest.err
28589 } && test -s conftest.$ac_objext; then
28590 ac_cv_header_zlib_h=yes
28592 echo "$as_me: failed program was:" >&5
28593 sed 's/^/| /' conftest.$ac_ext >&5
28595 ac_cv_header_zlib_h=no
28598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28600 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28601 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28605 system_zlib_h_ok=$ac_cv_header_zlib_h
28608 if test "$system_zlib_h_ok" = "yes"; then
28609 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28610 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28611 if test "${ac_cv_lib_z_deflate+set}" = set; then
28612 echo $ECHO_N "(cached) $ECHO_C" >&6
28614 ac_check_lib_save_LIBS=$LIBS
28616 cat >conftest.$ac_ext <<_ACEOF
28619 cat confdefs.h >>conftest.$ac_ext
28620 cat >>conftest.$ac_ext <<_ACEOF
28621 /* end confdefs.h. */
28623 /* Override any GCC internal prototype to avoid an error.
28624 Use char because int might match the return type of a GCC
28625 builtin and then its argument prototype would still apply. */
28638 rm -f conftest.$ac_objext conftest$ac_exeext
28639 if { (ac_try="$ac_link"
28640 case "(($ac_try" in
28641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28642 *) ac_try_echo=$ac_try;;
28644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28645 (eval "$ac_link") 2>conftest.er1
28647 grep -v '^ *+' conftest.er1 >conftest.err
28649 cat conftest.err >&5
28650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651 (exit $ac_status); } && {
28652 test -z "$ac_c_werror_flag" ||
28653 test ! -s conftest.err
28654 } && test -s conftest$ac_exeext &&
28655 $as_test_x conftest$ac_exeext; then
28656 ac_cv_lib_z_deflate=yes
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.$ac_ext >&5
28661 ac_cv_lib_z_deflate=no
28664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28665 conftest$ac_exeext conftest.$ac_ext
28666 LIBS=$ac_check_lib_save_LIBS
28668 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28669 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28670 if test $ac_cv_lib_z_deflate = yes; then
28676 if test "x$ZLIB_LINK" = "x" ; then
28677 if test "$wxUSE_ZLIB" = "sys" ; then
28678 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28679 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28680 { (exit 1); exit 1; }; }
28682 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28683 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28694 if test "$wxUSE_LIBPNG" != "no" ; then
28695 cat >>confdefs.h <<\_ACEOF
28696 #define wxUSE_LIBPNG 1
28700 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28701 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28702 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28706 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28707 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28708 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28709 wxUSE_LIBPNG=builtin
28712 if test "$wxUSE_MGL" != 1 ; then
28713 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28714 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28715 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28716 if test "${ac_cv_header_png_h+set}" = set; then
28717 echo $ECHO_N "(cached) $ECHO_C" >&6
28719 if test "$cross_compiling" = yes; then
28720 unset ac_cv_header_png_h
28723 cat >conftest.$ac_ext <<_ACEOF
28726 cat confdefs.h >>conftest.$ac_ext
28727 cat >>conftest.$ac_ext <<_ACEOF
28728 /* end confdefs.h. */
28735 FILE *f=fopen("conftestval", "w");
28738 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28743 rm -f conftest$ac_exeext
28744 if { (ac_try="$ac_link"
28745 case "(($ac_try" in
28746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28747 *) ac_try_echo=$ac_try;;
28749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28750 (eval "$ac_link") 2>&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28754 { (case "(($ac_try" in
28755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28756 *) ac_try_echo=$ac_try;;
28758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28759 (eval "$ac_try") 2>&5
28761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28762 (exit $ac_status); }; }; then
28763 ac_cv_header_png_h=`cat conftestval`
28765 echo "$as_me: program exited with status $ac_status" >&5
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.$ac_ext >&5
28769 ( exit $ac_status )
28770 ac_cv_header_png_h=no
28772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28778 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28779 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28780 { echo "$as_me:$LINENO: checking for png.h" >&5
28781 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28782 if test "${ac_cv_header_png_h+set}" = set; then
28783 echo $ECHO_N "(cached) $ECHO_C" >&6
28785 cat >conftest.$ac_ext <<_ACEOF
28788 cat confdefs.h >>conftest.$ac_ext
28789 cat >>conftest.$ac_ext <<_ACEOF
28790 /* end confdefs.h. */
28795 rm -f conftest.$ac_objext
28796 if { (ac_try="$ac_compile"
28797 case "(($ac_try" in
28798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28799 *) ac_try_echo=$ac_try;;
28801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28802 (eval "$ac_compile") 2>conftest.er1
28804 grep -v '^ *+' conftest.er1 >conftest.err
28806 cat conftest.err >&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); } && {
28809 test -z "$ac_c_werror_flag" ||
28810 test ! -s conftest.err
28811 } && test -s conftest.$ac_objext; then
28812 ac_cv_header_png_h=yes
28814 echo "$as_me: failed program was:" >&5
28815 sed 's/^/| /' conftest.$ac_ext >&5
28817 ac_cv_header_png_h=no
28820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28822 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28823 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28827 if test "$ac_cv_header_png_h" = "yes"; then
28828 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28829 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28830 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28831 echo $ECHO_N "(cached) $ECHO_C" >&6
28833 ac_check_lib_save_LIBS=$LIBS
28834 LIBS="-lpng -lz -lm $LIBS"
28835 cat >conftest.$ac_ext <<_ACEOF
28838 cat confdefs.h >>conftest.$ac_ext
28839 cat >>conftest.$ac_ext <<_ACEOF
28840 /* end confdefs.h. */
28842 /* Override any GCC internal prototype to avoid an error.
28843 Use char because int might match the return type of a GCC
28844 builtin and then its argument prototype would still apply. */
28848 char png_check_sig ();
28852 return png_check_sig ();
28857 rm -f conftest.$ac_objext conftest$ac_exeext
28858 if { (ac_try="$ac_link"
28859 case "(($ac_try" in
28860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28861 *) ac_try_echo=$ac_try;;
28863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28864 (eval "$ac_link") 2>conftest.er1
28866 grep -v '^ *+' conftest.er1 >conftest.err
28868 cat conftest.err >&5
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); } && {
28871 test -z "$ac_c_werror_flag" ||
28872 test ! -s conftest.err
28873 } && test -s conftest$ac_exeext &&
28874 $as_test_x conftest$ac_exeext; then
28875 ac_cv_lib_png_png_check_sig=yes
28877 echo "$as_me: failed program was:" >&5
28878 sed 's/^/| /' conftest.$ac_ext >&5
28880 ac_cv_lib_png_png_check_sig=no
28883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28884 conftest$ac_exeext conftest.$ac_ext
28885 LIBS=$ac_check_lib_save_LIBS
28887 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28888 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28889 if test $ac_cv_lib_png_png_check_sig = yes; then
28890 PNG_LINK=" -lpng -lz"
28895 if test "x$PNG_LINK" = "x" ; then
28896 if test "$wxUSE_LIBPNG" = "sys" ; then
28897 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28898 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28899 { (exit 1); exit 1; }; }
28901 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28902 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28903 wxUSE_LIBPNG=builtin
28911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28916 if test "$wxUSE_LIBJPEG" != "no" ; then
28917 cat >>confdefs.h <<\_ACEOF
28918 #define wxUSE_LIBJPEG 1
28922 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28923 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28924 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28928 if test "$wxUSE_MGL" != 1 ; then
28929 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28930 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28931 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28932 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28933 echo $ECHO_N "(cached) $ECHO_C" >&6
28935 cat >conftest.$ac_ext <<_ACEOF
28938 cat confdefs.h >>conftest.$ac_ext
28939 cat >>conftest.$ac_ext <<_ACEOF
28940 /* end confdefs.h. */
28942 #undef HAVE_STDLIB_H
28944 #include <jpeglib.h>
28955 rm -f conftest.$ac_objext
28956 if { (ac_try="$ac_compile"
28957 case "(($ac_try" in
28958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28959 *) ac_try_echo=$ac_try;;
28961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28962 (eval "$ac_compile") 2>conftest.er1
28964 grep -v '^ *+' conftest.er1 >conftest.err
28966 cat conftest.err >&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); } && {
28969 test -z "$ac_c_werror_flag" ||
28970 test ! -s conftest.err
28971 } && test -s conftest.$ac_objext; then
28972 ac_cv_header_jpeglib_h=yes
28974 echo "$as_me: failed program was:" >&5
28975 sed 's/^/| /' conftest.$ac_ext >&5
28977 ac_cv_header_jpeglib_h=no
28981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28985 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28986 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28988 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28989 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28990 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28991 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28992 echo $ECHO_N "(cached) $ECHO_C" >&6
28994 ac_check_lib_save_LIBS=$LIBS
28995 LIBS="-ljpeg $LIBS"
28996 cat >conftest.$ac_ext <<_ACEOF
28999 cat confdefs.h >>conftest.$ac_ext
29000 cat >>conftest.$ac_ext <<_ACEOF
29001 /* end confdefs.h. */
29003 /* Override any GCC internal prototype to avoid an error.
29004 Use char because int might match the return type of a GCC
29005 builtin and then its argument prototype would still apply. */
29009 char jpeg_read_header ();
29013 return jpeg_read_header ();
29018 rm -f conftest.$ac_objext conftest$ac_exeext
29019 if { (ac_try="$ac_link"
29020 case "(($ac_try" in
29021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29022 *) ac_try_echo=$ac_try;;
29024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29025 (eval "$ac_link") 2>conftest.er1
29027 grep -v '^ *+' conftest.er1 >conftest.err
29029 cat conftest.err >&5
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); } && {
29032 test -z "$ac_c_werror_flag" ||
29033 test ! -s conftest.err
29034 } && test -s conftest$ac_exeext &&
29035 $as_test_x conftest$ac_exeext; then
29036 ac_cv_lib_jpeg_jpeg_read_header=yes
29038 echo "$as_me: failed program was:" >&5
29039 sed 's/^/| /' conftest.$ac_ext >&5
29041 ac_cv_lib_jpeg_jpeg_read_header=no
29044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29045 conftest$ac_exeext conftest.$ac_ext
29046 LIBS=$ac_check_lib_save_LIBS
29048 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29049 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29050 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29051 JPEG_LINK=" -ljpeg"
29056 if test "x$JPEG_LINK" = "x" ; then
29057 if test "$wxUSE_LIBJPEG" = "sys" ; then
29058 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29059 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29060 { (exit 1); exit 1; }; }
29062 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29063 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29064 wxUSE_LIBJPEG=builtin
29069 if test "$wxUSE_MSW" = 1; then
29070 { echo "$as_me:$LINENO: checking for boolean" >&5
29071 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29072 if test "${ac_cv_type_boolean+set}" = set; then
29073 echo $ECHO_N "(cached) $ECHO_C" >&6
29075 cat >conftest.$ac_ext <<_ACEOF
29078 cat confdefs.h >>conftest.$ac_ext
29079 cat >>conftest.$ac_ext <<_ACEOF
29080 /* end confdefs.h. */
29081 #include <windows.h>
29083 typedef boolean ac__type_new_;
29087 if ((ac__type_new_ *) 0)
29089 if (sizeof (ac__type_new_))
29095 rm -f conftest.$ac_objext
29096 if { (ac_try="$ac_compile"
29097 case "(($ac_try" in
29098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29099 *) ac_try_echo=$ac_try;;
29101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29102 (eval "$ac_compile") 2>conftest.er1
29104 grep -v '^ *+' conftest.er1 >conftest.err
29106 cat conftest.err >&5
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); } && {
29109 test -z "$ac_c_werror_flag" ||
29110 test ! -s conftest.err
29111 } && test -s conftest.$ac_objext; then
29112 ac_cv_type_boolean=yes
29114 echo "$as_me: failed program was:" >&5
29115 sed 's/^/| /' conftest.$ac_ext >&5
29117 ac_cv_type_boolean=no
29120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29122 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29123 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29124 if test $ac_cv_type_boolean = yes; then
29126 cat >>confdefs.h <<_ACEOF
29127 #define HAVE_BOOLEAN 1
29131 { echo "$as_me:$LINENO: checking for boolean" >&5
29132 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29133 if test "${ac_cv_type_boolean+set}" = set; then
29134 echo $ECHO_N "(cached) $ECHO_C" >&6
29136 cat >conftest.$ac_ext <<_ACEOF
29139 cat confdefs.h >>conftest.$ac_ext
29140 cat >>conftest.$ac_ext <<_ACEOF
29141 /* end confdefs.h. */
29143 #undef HAVE_BOOLEAN
29145 #include <jpeglib.h>
29148 typedef boolean ac__type_new_;
29152 if ((ac__type_new_ *) 0)
29154 if (sizeof (ac__type_new_))
29160 rm -f conftest.$ac_objext
29161 if { (ac_try="$ac_compile"
29162 case "(($ac_try" in
29163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29164 *) ac_try_echo=$ac_try;;
29166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29167 (eval "$ac_compile") 2>conftest.er1
29169 grep -v '^ *+' conftest.er1 >conftest.err
29171 cat conftest.err >&5
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); } && {
29174 test -z "$ac_c_werror_flag" ||
29175 test ! -s conftest.err
29176 } && test -s conftest.$ac_objext; then
29177 ac_cv_type_boolean=yes
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29182 ac_cv_type_boolean=no
29185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29187 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29188 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29190 # The cast to long int works around a bug in the HP C Compiler
29191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29193 # This bug is HP SR number 8606223364.
29194 { echo "$as_me:$LINENO: checking size of boolean" >&5
29195 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29196 if test "${ac_cv_sizeof_boolean+set}" = set; then
29197 echo $ECHO_N "(cached) $ECHO_C" >&6
29199 if test "$cross_compiling" = yes; then
29200 # Depending upon the size, compute the lo and hi bounds.
29201 cat >conftest.$ac_ext <<_ACEOF
29204 cat confdefs.h >>conftest.$ac_ext
29205 cat >>conftest.$ac_ext <<_ACEOF
29206 /* end confdefs.h. */
29208 #undef HAVE_BOOLEAN
29210 #include <jpeglib.h>
29213 typedef boolean ac__type_sizeof_;
29217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29224 rm -f conftest.$ac_objext
29225 if { (ac_try="$ac_compile"
29226 case "(($ac_try" in
29227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29228 *) ac_try_echo=$ac_try;;
29230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29231 (eval "$ac_compile") 2>conftest.er1
29233 grep -v '^ *+' conftest.er1 >conftest.err
29235 cat conftest.err >&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); } && {
29238 test -z "$ac_c_werror_flag" ||
29239 test ! -s conftest.err
29240 } && test -s conftest.$ac_objext; then
29243 cat >conftest.$ac_ext <<_ACEOF
29246 cat confdefs.h >>conftest.$ac_ext
29247 cat >>conftest.$ac_ext <<_ACEOF
29248 /* end confdefs.h. */
29250 #undef HAVE_BOOLEAN
29252 #include <jpeglib.h>
29255 typedef boolean ac__type_sizeof_;
29259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29266 rm -f conftest.$ac_objext
29267 if { (ac_try="$ac_compile"
29268 case "(($ac_try" in
29269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29270 *) ac_try_echo=$ac_try;;
29272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29273 (eval "$ac_compile") 2>conftest.er1
29275 grep -v '^ *+' conftest.er1 >conftest.err
29277 cat conftest.err >&5
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); } && {
29280 test -z "$ac_c_werror_flag" ||
29281 test ! -s conftest.err
29282 } && test -s conftest.$ac_objext; then
29283 ac_hi=$ac_mid; break
29285 echo "$as_me: failed program was:" >&5
29286 sed 's/^/| /' conftest.$ac_ext >&5
29288 ac_lo=`expr $ac_mid + 1`
29289 if test $ac_lo -le $ac_mid; then
29293 ac_mid=`expr 2 '*' $ac_mid + 1`
29296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29299 echo "$as_me: failed program was:" >&5
29300 sed 's/^/| /' conftest.$ac_ext >&5
29302 cat >conftest.$ac_ext <<_ACEOF
29305 cat confdefs.h >>conftest.$ac_ext
29306 cat >>conftest.$ac_ext <<_ACEOF
29307 /* end confdefs.h. */
29309 #undef HAVE_BOOLEAN
29311 #include <jpeglib.h>
29314 typedef boolean ac__type_sizeof_;
29318 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29325 rm -f conftest.$ac_objext
29326 if { (ac_try="$ac_compile"
29327 case "(($ac_try" in
29328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29329 *) ac_try_echo=$ac_try;;
29331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29332 (eval "$ac_compile") 2>conftest.er1
29334 grep -v '^ *+' conftest.er1 >conftest.err
29336 cat conftest.err >&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); } && {
29339 test -z "$ac_c_werror_flag" ||
29340 test ! -s conftest.err
29341 } && test -s conftest.$ac_objext; then
29344 cat >conftest.$ac_ext <<_ACEOF
29347 cat confdefs.h >>conftest.$ac_ext
29348 cat >>conftest.$ac_ext <<_ACEOF
29349 /* end confdefs.h. */
29351 #undef HAVE_BOOLEAN
29353 #include <jpeglib.h>
29356 typedef boolean ac__type_sizeof_;
29360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29367 rm -f conftest.$ac_objext
29368 if { (ac_try="$ac_compile"
29369 case "(($ac_try" in
29370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29371 *) ac_try_echo=$ac_try;;
29373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29374 (eval "$ac_compile") 2>conftest.er1
29376 grep -v '^ *+' conftest.er1 >conftest.err
29378 cat conftest.err >&5
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); } && {
29381 test -z "$ac_c_werror_flag" ||
29382 test ! -s conftest.err
29383 } && test -s conftest.$ac_objext; then
29384 ac_lo=$ac_mid; break
29386 echo "$as_me: failed program was:" >&5
29387 sed 's/^/| /' conftest.$ac_ext >&5
29389 ac_hi=`expr '(' $ac_mid ')' - 1`
29390 if test $ac_mid -le $ac_hi; then
29394 ac_mid=`expr 2 '*' $ac_mid`
29397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29400 echo "$as_me: failed program was:" >&5
29401 sed 's/^/| /' conftest.$ac_ext >&5
29406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29410 # Binary search between lo and hi bounds.
29411 while test "x$ac_lo" != "x$ac_hi"; do
29412 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29413 cat >conftest.$ac_ext <<_ACEOF
29416 cat confdefs.h >>conftest.$ac_ext
29417 cat >>conftest.$ac_ext <<_ACEOF
29418 /* end confdefs.h. */
29420 #undef HAVE_BOOLEAN
29422 #include <jpeglib.h>
29425 typedef boolean ac__type_sizeof_;
29429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29436 rm -f conftest.$ac_objext
29437 if { (ac_try="$ac_compile"
29438 case "(($ac_try" in
29439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29440 *) ac_try_echo=$ac_try;;
29442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29443 (eval "$ac_compile") 2>conftest.er1
29445 grep -v '^ *+' conftest.er1 >conftest.err
29447 cat conftest.err >&5
29448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449 (exit $ac_status); } && {
29450 test -z "$ac_c_werror_flag" ||
29451 test ! -s conftest.err
29452 } && test -s conftest.$ac_objext; then
29455 echo "$as_me: failed program was:" >&5
29456 sed 's/^/| /' conftest.$ac_ext >&5
29458 ac_lo=`expr '(' $ac_mid ')' + 1`
29461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29464 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29465 '') if test "$ac_cv_type_boolean" = yes; then
29466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29467 See \`config.log' for more details." >&5
29468 echo "$as_me: error: cannot compute sizeof (boolean)
29469 See \`config.log' for more details." >&2;}
29470 { (exit 77); exit 77; }; }
29472 ac_cv_sizeof_boolean=0
29476 cat >conftest.$ac_ext <<_ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29483 #undef HAVE_BOOLEAN
29485 #include <jpeglib.h>
29488 typedef boolean ac__type_sizeof_;
29489 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29490 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29492 #include <stdlib.h>
29497 FILE *f = fopen ("conftest.val", "w");
29500 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29502 long int i = longval ();
29503 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29505 fprintf (f, "%ld\n", i);
29509 unsigned long int i = ulongval ();
29510 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29512 fprintf (f, "%lu\n", i);
29514 return ferror (f) || fclose (f) != 0;
29520 rm -f conftest$ac_exeext
29521 if { (ac_try="$ac_link"
29522 case "(($ac_try" in
29523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29524 *) ac_try_echo=$ac_try;;
29526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29527 (eval "$ac_link") 2>&5
29529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29531 { (case "(($ac_try" in
29532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29533 *) ac_try_echo=$ac_try;;
29535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29536 (eval "$ac_try") 2>&5
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); }; }; then
29540 ac_cv_sizeof_boolean=`cat conftest.val`
29542 echo "$as_me: program exited with status $ac_status" >&5
29543 echo "$as_me: failed program was:" >&5
29544 sed 's/^/| /' conftest.$ac_ext >&5
29546 ( exit $ac_status )
29547 if test "$ac_cv_type_boolean" = yes; then
29548 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29549 See \`config.log' for more details." >&5
29550 echo "$as_me: error: cannot compute sizeof (boolean)
29551 See \`config.log' for more details." >&2;}
29552 { (exit 77); exit 77; }; }
29554 ac_cv_sizeof_boolean=0
29557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29561 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29562 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29566 cat >>confdefs.h <<_ACEOF
29567 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29571 cat >>confdefs.h <<_ACEOF
29572 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29586 TIFF_PREREQ_LINKS=-lm
29587 if test "$wxUSE_LIBTIFF" != "no" ; then
29588 cat >>confdefs.h <<\_ACEOF
29589 #define wxUSE_LIBTIFF 1
29593 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29594 if test "$wxUSE_LIBJPEG" = "sys"; then
29595 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29597 if test "$wxUSE_ZLIB" = "sys"; then
29598 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29600 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29601 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29602 if test "${ac_cv_header_tiffio_h+set}" = set; then
29603 echo $ECHO_N "(cached) $ECHO_C" >&6
29605 cat >conftest.$ac_ext <<_ACEOF
29608 cat confdefs.h >>conftest.$ac_ext
29609 cat >>conftest.$ac_ext <<_ACEOF
29610 /* end confdefs.h. */
29614 #include <tiffio.h>
29616 rm -f conftest.$ac_objext
29617 if { (ac_try="$ac_compile"
29618 case "(($ac_try" in
29619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29620 *) ac_try_echo=$ac_try;;
29622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29623 (eval "$ac_compile") 2>conftest.er1
29625 grep -v '^ *+' conftest.er1 >conftest.err
29627 cat conftest.err >&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); } && {
29630 test -z "$ac_c_werror_flag" ||
29631 test ! -s conftest.err
29632 } && test -s conftest.$ac_objext; then
29633 ac_cv_header_tiffio_h=yes
29635 echo "$as_me: failed program was:" >&5
29636 sed 's/^/| /' conftest.$ac_ext >&5
29638 ac_cv_header_tiffio_h=no
29641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29643 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29644 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29645 if test $ac_cv_header_tiffio_h = yes; then
29647 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29648 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29649 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29650 echo $ECHO_N "(cached) $ECHO_C" >&6
29652 ac_check_lib_save_LIBS=$LIBS
29653 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29654 cat >conftest.$ac_ext <<_ACEOF
29657 cat confdefs.h >>conftest.$ac_ext
29658 cat >>conftest.$ac_ext <<_ACEOF
29659 /* end confdefs.h. */
29661 /* Override any GCC internal prototype to avoid an error.
29662 Use char because int might match the return type of a GCC
29663 builtin and then its argument prototype would still apply. */
29671 return TIFFError ();
29676 rm -f conftest.$ac_objext conftest$ac_exeext
29677 if { (ac_try="$ac_link"
29678 case "(($ac_try" in
29679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29680 *) ac_try_echo=$ac_try;;
29682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29683 (eval "$ac_link") 2>conftest.er1
29685 grep -v '^ *+' conftest.er1 >conftest.err
29687 cat conftest.err >&5
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); } && {
29690 test -z "$ac_c_werror_flag" ||
29691 test ! -s conftest.err
29692 } && test -s conftest$ac_exeext &&
29693 $as_test_x conftest$ac_exeext; then
29694 ac_cv_lib_tiff_TIFFError=yes
29696 echo "$as_me: failed program was:" >&5
29697 sed 's/^/| /' conftest.$ac_ext >&5
29699 ac_cv_lib_tiff_TIFFError=no
29702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29703 conftest$ac_exeext conftest.$ac_ext
29704 LIBS=$ac_check_lib_save_LIBS
29706 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29707 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29708 if test $ac_cv_lib_tiff_TIFFError = yes; then
29709 TIFF_LINK=" -ltiff"
29717 if test "x$TIFF_LINK" = "x" ; then
29718 if test "$wxUSE_LIBTIFF" = "sys" ; then
29719 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29720 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29721 { (exit 1); exit 1; }; }
29723 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29724 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29725 wxUSE_LIBTIFF=builtin
29734 if test "$wxUSE_WCHAR_T" != "yes"; then
29735 if test "$wxUSE_EXPAT" != "no"; then
29736 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29737 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29740 if test "$wxUSE_XML" != "no"; then
29741 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29742 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29747 if test "$wxUSE_EXPAT" != "no"; then
29749 cat >>confdefs.h <<\_ACEOF
29750 #define wxUSE_EXPAT 1
29753 cat >>confdefs.h <<\_ACEOF
29754 #define wxUSE_XML 1
29758 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29759 { echo "$as_me:$LINENO: checking for expat.h" >&5
29760 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29761 if test "${ac_cv_header_expat_h+set}" = set; then
29762 echo $ECHO_N "(cached) $ECHO_C" >&6
29764 cat >conftest.$ac_ext <<_ACEOF
29767 cat confdefs.h >>conftest.$ac_ext
29768 cat >>conftest.$ac_ext <<_ACEOF
29769 /* end confdefs.h. */
29774 rm -f conftest.$ac_objext
29775 if { (ac_try="$ac_compile"
29776 case "(($ac_try" in
29777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29778 *) ac_try_echo=$ac_try;;
29780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29781 (eval "$ac_compile") 2>conftest.er1
29783 grep -v '^ *+' conftest.er1 >conftest.err
29785 cat conftest.err >&5
29786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787 (exit $ac_status); } && {
29788 test -z "$ac_c_werror_flag" ||
29789 test ! -s conftest.err
29790 } && test -s conftest.$ac_objext; then
29791 ac_cv_header_expat_h=yes
29793 echo "$as_me: failed program was:" >&5
29794 sed 's/^/| /' conftest.$ac_ext >&5
29796 ac_cv_header_expat_h=no
29799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29801 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29802 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29803 if test $ac_cv_header_expat_h = yes; then
29808 if test "x$found_expat_h" = "x1"; then
29809 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29810 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29811 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29812 echo $ECHO_N "(cached) $ECHO_C" >&6
29816 ac_cpp='$CXXCPP $CPPFLAGS'
29817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29821 cat >conftest.$ac_ext <<_ACEOF
29824 cat confdefs.h >>conftest.$ac_ext
29825 cat >>conftest.$ac_ext <<_ACEOF
29826 /* end confdefs.h. */
29836 rm -f conftest.$ac_objext
29837 if { (ac_try="$ac_compile"
29838 case "(($ac_try" in
29839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29840 *) ac_try_echo=$ac_try;;
29842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29843 (eval "$ac_compile") 2>conftest.er1
29845 grep -v '^ *+' conftest.er1 >conftest.err
29847 cat conftest.err >&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); } && {
29850 test -z "$ac_cxx_werror_flag" ||
29851 test ! -s conftest.err
29852 } && test -s conftest.$ac_objext; then
29853 wx_cv_expat_is_not_broken=yes
29855 echo "$as_me: failed program was:" >&5
29856 sed 's/^/| /' conftest.$ac_ext >&5
29858 wx_cv_expat_is_not_broken=no
29862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29864 ac_cpp='$CPP $CPPFLAGS'
29865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29872 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29873 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29874 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29875 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29876 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29877 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29878 echo $ECHO_N "(cached) $ECHO_C" >&6
29880 ac_check_lib_save_LIBS=$LIBS
29881 LIBS="-lexpat $LIBS"
29882 cat >conftest.$ac_ext <<_ACEOF
29885 cat confdefs.h >>conftest.$ac_ext
29886 cat >>conftest.$ac_ext <<_ACEOF
29887 /* end confdefs.h. */
29889 /* Override any GCC internal prototype to avoid an error.
29890 Use char because int might match the return type of a GCC
29891 builtin and then its argument prototype would still apply. */
29895 char XML_ParserCreate ();
29899 return XML_ParserCreate ();
29904 rm -f conftest.$ac_objext conftest$ac_exeext
29905 if { (ac_try="$ac_link"
29906 case "(($ac_try" in
29907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29908 *) ac_try_echo=$ac_try;;
29910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29911 (eval "$ac_link") 2>conftest.er1
29913 grep -v '^ *+' conftest.er1 >conftest.err
29915 cat conftest.err >&5
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); } && {
29918 test -z "$ac_c_werror_flag" ||
29919 test ! -s conftest.err
29920 } && test -s conftest$ac_exeext &&
29921 $as_test_x conftest$ac_exeext; then
29922 ac_cv_lib_expat_XML_ParserCreate=yes
29924 echo "$as_me: failed program was:" >&5
29925 sed 's/^/| /' conftest.$ac_ext >&5
29927 ac_cv_lib_expat_XML_ParserCreate=no
29930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29931 conftest$ac_exeext conftest.$ac_ext
29932 LIBS=$ac_check_lib_save_LIBS
29934 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29935 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29936 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29937 EXPAT_LINK=" -lexpat"
29942 if test "x$EXPAT_LINK" = "x" ; then
29943 if test "$wxUSE_EXPAT" = "sys" ; then
29944 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29945 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29946 { (exit 1); exit 1; }; }
29948 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29949 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29950 wxUSE_EXPAT=builtin
29956 if test "$wxUSE_EXPAT" = "builtin" ; then
29957 subdirs="$subdirs src/expat"
29964 if test "$wxUSE_LIBMSPACK" != "no"; then
29965 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29966 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29967 if test "${ac_cv_header_mspack_h+set}" = set; then
29968 echo $ECHO_N "(cached) $ECHO_C" >&6
29970 cat >conftest.$ac_ext <<_ACEOF
29973 cat confdefs.h >>conftest.$ac_ext
29974 cat >>conftest.$ac_ext <<_ACEOF
29975 /* end confdefs.h. */
29978 #include <mspack.h>
29980 rm -f conftest.$ac_objext
29981 if { (ac_try="$ac_compile"
29982 case "(($ac_try" in
29983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29984 *) ac_try_echo=$ac_try;;
29986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29987 (eval "$ac_compile") 2>conftest.er1
29989 grep -v '^ *+' conftest.er1 >conftest.err
29991 cat conftest.err >&5
29992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993 (exit $ac_status); } && {
29994 test -z "$ac_c_werror_flag" ||
29995 test ! -s conftest.err
29996 } && test -s conftest.$ac_objext; then
29997 ac_cv_header_mspack_h=yes
29999 echo "$as_me: failed program was:" >&5
30000 sed 's/^/| /' conftest.$ac_ext >&5
30002 ac_cv_header_mspack_h=no
30005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30007 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30008 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30009 if test $ac_cv_header_mspack_h = yes; then
30014 if test "x$found_mspack_h" = "x1"; then
30015 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30016 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30017 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30018 echo $ECHO_N "(cached) $ECHO_C" >&6
30020 ac_check_lib_save_LIBS=$LIBS
30021 LIBS="-lmspack $LIBS"
30022 cat >conftest.$ac_ext <<_ACEOF
30025 cat confdefs.h >>conftest.$ac_ext
30026 cat >>conftest.$ac_ext <<_ACEOF
30027 /* end confdefs.h. */
30029 /* Override any GCC internal prototype to avoid an error.
30030 Use char because int might match the return type of a GCC
30031 builtin and then its argument prototype would still apply. */
30035 char mspack_create_chm_decompressor ();
30039 return mspack_create_chm_decompressor ();
30044 rm -f conftest.$ac_objext conftest$ac_exeext
30045 if { (ac_try="$ac_link"
30046 case "(($ac_try" in
30047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30048 *) ac_try_echo=$ac_try;;
30050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30051 (eval "$ac_link") 2>conftest.er1
30053 grep -v '^ *+' conftest.er1 >conftest.err
30055 cat conftest.err >&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); } && {
30058 test -z "$ac_c_werror_flag" ||
30059 test ! -s conftest.err
30060 } && test -s conftest$ac_exeext &&
30061 $as_test_x conftest$ac_exeext; then
30062 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30064 echo "$as_me: failed program was:" >&5
30065 sed 's/^/| /' conftest.$ac_ext >&5
30067 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30071 conftest$ac_exeext conftest.$ac_ext
30072 LIBS=$ac_check_lib_save_LIBS
30074 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30075 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30076 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30077 MSPACK_LINK=" -lmspack"
30081 if test "x$MSPACK_LINK" = "x" ; then
30086 if test "$wxUSE_LIBMSPACK" != "no"; then
30087 cat >>confdefs.h <<\_ACEOF
30088 #define wxUSE_LIBMSPACK 1
30102 if test "$USE_WIN32" = 1 ; then
30104 for ac_header in w32api.h
30106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30110 echo $ECHO_N "(cached) $ECHO_C" >&6
30112 cat >conftest.$ac_ext <<_ACEOF
30115 cat confdefs.h >>conftest.$ac_ext
30116 cat >>conftest.$ac_ext <<_ACEOF
30117 /* end confdefs.h. */
30120 #include <$ac_header>
30122 rm -f conftest.$ac_objext
30123 if { (ac_try="$ac_compile"
30124 case "(($ac_try" in
30125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30126 *) ac_try_echo=$ac_try;;
30128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30129 (eval "$ac_compile") 2>conftest.er1
30131 grep -v '^ *+' conftest.er1 >conftest.err
30133 cat conftest.err >&5
30134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 (exit $ac_status); } && {
30136 test -z "$ac_c_werror_flag" ||
30137 test ! -s conftest.err
30138 } && test -s conftest.$ac_objext; then
30139 eval "$as_ac_Header=yes"
30141 echo "$as_me: failed program was:" >&5
30142 sed 's/^/| /' conftest.$ac_ext >&5
30144 eval "$as_ac_Header=no"
30147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30149 ac_res=`eval echo '${'$as_ac_Header'}'`
30150 { echo "$as_me:$LINENO: result: $ac_res" >&5
30151 echo "${ECHO_T}$ac_res" >&6; }
30152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30153 cat >>confdefs.h <<_ACEOF
30154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30161 { echo "$as_me:$LINENO: checking for windows.h" >&5
30162 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30163 if test "${ac_cv_header_windows_h+set}" = set; then
30164 echo $ECHO_N "(cached) $ECHO_C" >&6
30166 cat >conftest.$ac_ext <<_ACEOF
30169 cat confdefs.h >>conftest.$ac_ext
30170 cat >>conftest.$ac_ext <<_ACEOF
30171 /* end confdefs.h. */
30174 #include <windows.h>
30176 rm -f conftest.$ac_objext
30177 if { (ac_try="$ac_compile"
30178 case "(($ac_try" in
30179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30180 *) ac_try_echo=$ac_try;;
30182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30183 (eval "$ac_compile") 2>conftest.er1
30185 grep -v '^ *+' conftest.er1 >conftest.err
30187 cat conftest.err >&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); } && {
30190 test -z "$ac_c_werror_flag" ||
30191 test ! -s conftest.err
30192 } && test -s conftest.$ac_objext; then
30193 ac_cv_header_windows_h=yes
30195 echo "$as_me: failed program was:" >&5
30196 sed 's/^/| /' conftest.$ac_ext >&5
30198 ac_cv_header_windows_h=no
30201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30203 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30204 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30205 if test $ac_cv_header_windows_h = yes; then
30209 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30210 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30211 { (exit 1); exit 1; }; }
30217 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30219 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30220 LIBS="$LIBS -loleacc"
30225 LIBS="$LIBS -lkernel32 -luser32"
30228 if test "$wxUSE_ODBC" = "sys" ; then
30231 if test "$wxUSE_ODBC" = "yes" ; then
30232 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30233 cat >>confdefs.h <<\_ACEOF
30234 #define wxUSE_ODBC 1
30239 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30240 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30242 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30244 WIN32INSTALL=win32install
30246 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30247 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30248 if test "${ac_cv_header_pbt_h+set}" = set; then
30249 echo $ECHO_N "(cached) $ECHO_C" >&6
30251 cat >conftest.$ac_ext <<_ACEOF
30254 cat confdefs.h >>conftest.$ac_ext
30255 cat >>conftest.$ac_ext <<_ACEOF
30256 /* end confdefs.h. */
30261 rm -f conftest.$ac_objext
30262 if { (ac_try="$ac_compile"
30263 case "(($ac_try" in
30264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30265 *) ac_try_echo=$ac_try;;
30267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30268 (eval "$ac_compile") 2>conftest.er1
30270 grep -v '^ *+' conftest.er1 >conftest.err
30272 cat conftest.err >&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); } && {
30275 test -z "$ac_c_werror_flag" ||
30276 test ! -s conftest.err
30277 } && test -s conftest.$ac_objext; then
30278 ac_cv_header_pbt_h=yes
30280 echo "$as_me: failed program was:" >&5
30281 sed 's/^/| /' conftest.$ac_ext >&5
30283 ac_cv_header_pbt_h=no
30286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30288 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30289 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30290 if test $ac_cv_header_pbt_h = yes; then
30293 cat >>confdefs.h <<\_ACEOF
30294 #define NEED_PBT_H 1
30302 if test "$wxUSE_GUI" = "yes"; then
30312 if test "$wxUSE_COCOA" = 1 ; then
30313 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30314 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30315 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30316 wxUSE_PRINTING_ARCHITECTURE=no
30318 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30319 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30320 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30321 wxUSE_DRAG_AND_DROP=no
30323 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30324 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30325 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30330 if test "$wxUSE_MSW" = 1 ; then
30336 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30340 if test "$wxUSE_GTK" = 1; then
30341 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30342 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30344 gtk_version_cached=1
30345 if test "${wx_cv_lib_gtk+set}" = set; then
30346 echo $ECHO_N "(cached) $ECHO_C" >&6
30349 gtk_version_cached=0
30350 { echo "$as_me:$LINENO: result: " >&5
30351 echo "${ECHO_T}" >&6; }
30354 if test "$wxUSE_THREADS" = "yes"; then
30355 GTK_MODULES=gthread
30359 if test "x$wxGTK_VERSION" != "x1"
30363 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30368 # Check whether --enable-gtktest was given.
30369 if test "${enable_gtktest+set}" = set; then
30370 enableval=$enable_gtktest;
30376 pkg_config_args=gtk+-2.0
30377 for module in . $GTK_MODULES
30381 pkg_config_args="$pkg_config_args gthread-2.0"
30388 # Extract the first word of "pkg-config", so it can be a program name with args.
30389 set dummy pkg-config; ac_word=$2
30390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30392 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30393 echo $ECHO_N "(cached) $ECHO_C" >&6
30395 case $PKG_CONFIG in
30397 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30401 for as_dir in $PATH
30404 test -z "$as_dir" && as_dir=.
30405 for ac_exec_ext in '' $ac_executable_extensions; do
30406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30407 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30415 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30419 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30420 if test -n "$PKG_CONFIG"; then
30421 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30422 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30424 { echo "$as_me:$LINENO: result: no" >&5
30425 echo "${ECHO_T}no" >&6; }
30430 if test x$PKG_CONFIG != xno ; then
30431 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30434 echo "*** pkg-config too old; version 0.7 or better required."
30442 min_gtk_version=2.0.0
30443 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30444 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30446 if test x$PKG_CONFIG != xno ; then
30447 ## don't try to run the test against uninstalled libtool libs
30448 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30449 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30453 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30460 if test x"$no_gtk" = x ; then
30461 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30462 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30463 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30464 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30465 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30466 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30467 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30468 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30469 if test "x$enable_gtktest" = "xyes" ; then
30470 ac_save_CFLAGS="$CFLAGS"
30471 ac_save_LIBS="$LIBS"
30472 CFLAGS="$CFLAGS $GTK_CFLAGS"
30473 LIBS="$GTK_LIBS $LIBS"
30475 if test "$cross_compiling" = yes; then
30476 echo $ac_n "cross compiling; assumed OK... $ac_c"
30478 cat >conftest.$ac_ext <<_ACEOF
30481 cat confdefs.h >>conftest.$ac_ext
30482 cat >>conftest.$ac_ext <<_ACEOF
30483 /* end confdefs.h. */
30485 #include <gtk/gtk.h>
30487 #include <stdlib.h>
30492 int major, minor, micro;
30495 system ("touch conf.gtktest");
30497 /* HP/UX 9 (%@#!) writes to sscanf strings */
30498 tmp_version = g_strdup("$min_gtk_version");
30499 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30500 printf("%s, bad version string\n", "$min_gtk_version");
30504 if ((gtk_major_version != $gtk_config_major_version) ||
30505 (gtk_minor_version != $gtk_config_minor_version) ||
30506 (gtk_micro_version != $gtk_config_micro_version))
30508 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30509 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30510 gtk_major_version, gtk_minor_version, gtk_micro_version);
30511 printf ("*** was found! If pkg-config was correct, then it is best\n");
30512 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30513 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30514 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30515 printf("*** required on your system.\n");
30516 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30517 printf("*** to point to the correct configuration files\n");
30519 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30520 (gtk_minor_version != GTK_MINOR_VERSION) ||
30521 (gtk_micro_version != GTK_MICRO_VERSION))
30523 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30524 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30525 printf("*** library (version %d.%d.%d)\n",
30526 gtk_major_version, gtk_minor_version, gtk_micro_version);
30530 if ((gtk_major_version > major) ||
30531 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30532 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30538 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30539 gtk_major_version, gtk_minor_version, gtk_micro_version);
30540 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30541 major, minor, micro);
30542 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30544 printf("*** If you have already installed a sufficiently new version, this error\n");
30545 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30546 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30547 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30548 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30549 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30550 printf("*** so that the correct libraries are found at run-time))\n");
30557 rm -f conftest$ac_exeext
30558 if { (ac_try="$ac_link"
30559 case "(($ac_try" in
30560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30561 *) ac_try_echo=$ac_try;;
30563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30564 (eval "$ac_link") 2>&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30568 { (case "(($ac_try" in
30569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30570 *) ac_try_echo=$ac_try;;
30572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30573 (eval "$ac_try") 2>&5
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); }; }; then
30579 echo "$as_me: program exited with status $ac_status" >&5
30580 echo "$as_me: failed program was:" >&5
30581 sed 's/^/| /' conftest.$ac_ext >&5
30583 ( exit $ac_status )
30586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30590 CFLAGS="$ac_save_CFLAGS"
30591 LIBS="$ac_save_LIBS"
30594 if test "x$no_gtk" = x ; then
30595 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30596 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30599 { echo "$as_me:$LINENO: result: no" >&5
30600 echo "${ECHO_T}no" >&6; }
30601 if test "$PKG_CONFIG" = "no" ; then
30602 echo "*** A new enough version of pkg-config was not found."
30603 echo "*** See http://pkgconfig.sourceforge.net"
30605 if test -f conf.gtktest ; then
30608 echo "*** Could not run GTK+ test program, checking why..."
30609 ac_save_CFLAGS="$CFLAGS"
30610 ac_save_LIBS="$LIBS"
30611 CFLAGS="$CFLAGS $GTK_CFLAGS"
30612 LIBS="$LIBS $GTK_LIBS"
30613 cat >conftest.$ac_ext <<_ACEOF
30616 cat confdefs.h >>conftest.$ac_ext
30617 cat >>conftest.$ac_ext <<_ACEOF
30618 /* end confdefs.h. */
30620 #include <gtk/gtk.h>
30626 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30631 rm -f conftest.$ac_objext conftest$ac_exeext
30632 if { (ac_try="$ac_link"
30633 case "(($ac_try" in
30634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30635 *) ac_try_echo=$ac_try;;
30637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30638 (eval "$ac_link") 2>conftest.er1
30640 grep -v '^ *+' conftest.er1 >conftest.err
30642 cat conftest.err >&5
30643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30644 (exit $ac_status); } && {
30645 test -z "$ac_c_werror_flag" ||
30646 test ! -s conftest.err
30647 } && test -s conftest$ac_exeext &&
30648 $as_test_x conftest$ac_exeext; then
30649 echo "*** The test program compiled, but did not run. This usually means"
30650 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30651 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30652 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30653 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30654 echo "*** is required on your system"
30656 echo "*** If you have an old version installed, it is best to remove it, although"
30657 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30659 echo "$as_me: failed program was:" >&5
30660 sed 's/^/| /' conftest.$ac_ext >&5
30662 echo "*** The test program failed to compile or link. See the file config.log for the"
30663 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30667 conftest$ac_exeext conftest.$ac_ext
30668 CFLAGS="$ac_save_CFLAGS"
30669 LIBS="$ac_save_LIBS"
30683 if test "$wxUSE_SHARED" != "yes"; then
30684 GTK_LIBS="$GTK_LIBS -lX11"
30689 if test -z "$wx_cv_lib_gtk"; then
30690 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30692 # Check whether --with-gtk-prefix was given.
30693 if test "${with_gtk_prefix+set}" = set; then
30694 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30696 gtk_config_prefix=""
30700 # Check whether --with-gtk-exec-prefix was given.
30701 if test "${with_gtk_exec_prefix+set}" = set; then
30702 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30704 gtk_config_exec_prefix=""
30707 # Check whether --enable-gtktest was given.
30708 if test "${enable_gtktest+set}" = set; then
30709 enableval=$enable_gtktest;
30715 for module in . $GTK_MODULES
30719 gtk_config_args="$gtk_config_args gthread"
30724 if test x$gtk_config_exec_prefix != x ; then
30725 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30726 if test x${GTK_CONFIG+set} != xset ; then
30727 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30730 if test x$gtk_config_prefix != x ; then
30731 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30732 if test x${GTK_CONFIG+set} != xset ; then
30733 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30737 # Extract the first word of "gtk-config", so it can be a program name with args.
30738 set dummy gtk-config; ac_word=$2
30739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30741 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30742 echo $ECHO_N "(cached) $ECHO_C" >&6
30744 case $GTK_CONFIG in
30746 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30750 for as_dir in $PATH
30753 test -z "$as_dir" && as_dir=.
30754 for ac_exec_ext in '' $ac_executable_extensions; do
30755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30756 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30764 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30768 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30769 if test -n "$GTK_CONFIG"; then
30770 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30771 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30773 { echo "$as_me:$LINENO: result: no" >&5
30774 echo "${ECHO_T}no" >&6; }
30778 min_gtk_version=1.2.7
30779 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30780 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30782 if test "$GTK_CONFIG" = "no" ; then
30785 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30786 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30787 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30788 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30789 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30790 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30791 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30792 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30793 if test "x$enable_gtktest" = "xyes" ; then
30794 ac_save_CFLAGS="$CFLAGS"
30795 ac_save_LIBS="$LIBS"
30796 CFLAGS="$CFLAGS $GTK_CFLAGS"
30797 LIBS="$GTK_LIBS $LIBS"
30799 if test "$cross_compiling" = yes; then
30800 echo $ac_n "cross compiling; assumed OK... $ac_c"
30802 cat >conftest.$ac_ext <<_ACEOF
30805 cat confdefs.h >>conftest.$ac_ext
30806 cat >>conftest.$ac_ext <<_ACEOF
30807 /* end confdefs.h. */
30809 #include <gtk/gtk.h>
30811 #include <stdlib.h>
30816 int major, minor, micro;
30819 system ("touch conf.gtktest");
30821 /* HP/UX 9 (%@#!) writes to sscanf strings */
30822 tmp_version = g_strdup("$min_gtk_version");
30823 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30824 printf("%s, bad version string\n", "$min_gtk_version");
30828 if ((gtk_major_version != $gtk_config_major_version) ||
30829 (gtk_minor_version != $gtk_config_minor_version) ||
30830 (gtk_micro_version != $gtk_config_micro_version))
30832 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30833 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30834 gtk_major_version, gtk_minor_version, gtk_micro_version);
30835 printf ("*** was found! If gtk-config was correct, then it is best\n");
30836 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30837 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30838 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30839 printf("*** required on your system.\n");
30840 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30841 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30842 printf("*** before re-running configure\n");
30844 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30845 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30846 (gtk_minor_version != GTK_MINOR_VERSION) ||
30847 (gtk_micro_version != GTK_MICRO_VERSION))
30849 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30850 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30851 printf("*** library (version %d.%d.%d)\n",
30852 gtk_major_version, gtk_minor_version, gtk_micro_version);
30854 #endif /* defined (GTK_MAJOR_VERSION) ... */
30857 if ((gtk_major_version > major) ||
30858 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30859 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30865 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30866 gtk_major_version, gtk_minor_version, gtk_micro_version);
30867 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30868 major, minor, micro);
30869 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30871 printf("*** If you have already installed a sufficiently new version, this error\n");
30872 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30873 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30874 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30875 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30876 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30877 printf("*** so that the correct libraries are found at run-time))\n");
30884 rm -f conftest$ac_exeext
30885 if { (ac_try="$ac_link"
30886 case "(($ac_try" in
30887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30888 *) ac_try_echo=$ac_try;;
30890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30891 (eval "$ac_link") 2>&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30895 { (case "(($ac_try" in
30896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30897 *) ac_try_echo=$ac_try;;
30899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30900 (eval "$ac_try") 2>&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; }; then
30906 echo "$as_me: program exited with status $ac_status" >&5
30907 echo "$as_me: failed program was:" >&5
30908 sed 's/^/| /' conftest.$ac_ext >&5
30910 ( exit $ac_status )
30913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30917 CFLAGS="$ac_save_CFLAGS"
30918 LIBS="$ac_save_LIBS"
30921 if test "x$no_gtk" = x ; then
30922 { echo "$as_me:$LINENO: result: yes" >&5
30923 echo "${ECHO_T}yes" >&6; }
30924 wx_cv_lib_gtk=1.2.7
30926 { echo "$as_me:$LINENO: result: no" >&5
30927 echo "${ECHO_T}no" >&6; }
30928 if test "$GTK_CONFIG" = "no" ; then
30929 echo "*** The gtk-config script installed by GTK could not be found"
30930 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30931 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30932 echo "*** full path to gtk-config."
30934 if test -f conf.gtktest ; then
30937 echo "*** Could not run GTK test program, checking why..."
30938 CFLAGS="$CFLAGS $GTK_CFLAGS"
30939 LIBS="$LIBS $GTK_LIBS"
30940 cat >conftest.$ac_ext <<_ACEOF
30943 cat confdefs.h >>conftest.$ac_ext
30944 cat >>conftest.$ac_ext <<_ACEOF
30945 /* end confdefs.h. */
30947 #include <gtk/gtk.h>
30953 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30958 rm -f conftest.$ac_objext conftest$ac_exeext
30959 if { (ac_try="$ac_link"
30960 case "(($ac_try" in
30961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30962 *) ac_try_echo=$ac_try;;
30964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30965 (eval "$ac_link") 2>conftest.er1
30967 grep -v '^ *+' conftest.er1 >conftest.err
30969 cat conftest.err >&5
30970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30971 (exit $ac_status); } && {
30972 test -z "$ac_c_werror_flag" ||
30973 test ! -s conftest.err
30974 } && test -s conftest$ac_exeext &&
30975 $as_test_x conftest$ac_exeext; then
30976 echo "*** The test program compiled, but did not run. This usually means"
30977 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30978 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30979 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30980 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30981 echo "*** is required on your system"
30983 echo "*** If you have an old version installed, it is best to remove it, although"
30984 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30986 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30987 echo "*** came with the system with the command"
30989 echo "*** rpm --erase --nodeps gtk gtk-devel"
30991 echo "$as_me: failed program was:" >&5
30992 sed 's/^/| /' conftest.$ac_ext >&5
30994 echo "*** The test program failed to compile or link. See the file config.log for the"
30995 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30996 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30997 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31001 conftest$ac_exeext conftest.$ac_ext
31002 CFLAGS="$ac_save_CFLAGS"
31003 LIBS="$ac_save_LIBS"
31015 if test -z "$wx_cv_lib_gtk"; then
31017 # Check whether --with-gtk-prefix was given.
31018 if test "${with_gtk_prefix+set}" = set; then
31019 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31021 gtk_config_prefix=""
31025 # Check whether --with-gtk-exec-prefix was given.
31026 if test "${with_gtk_exec_prefix+set}" = set; then
31027 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31029 gtk_config_exec_prefix=""
31032 # Check whether --enable-gtktest was given.
31033 if test "${enable_gtktest+set}" = set; then
31034 enableval=$enable_gtktest;
31040 for module in . $GTK_MODULES
31044 gtk_config_args="$gtk_config_args gthread"
31049 if test x$gtk_config_exec_prefix != x ; then
31050 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31051 if test x${GTK_CONFIG+set} != xset ; then
31052 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31055 if test x$gtk_config_prefix != x ; then
31056 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31057 if test x${GTK_CONFIG+set} != xset ; then
31058 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31062 # Extract the first word of "gtk-config", so it can be a program name with args.
31063 set dummy gtk-config; ac_word=$2
31064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31066 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31067 echo $ECHO_N "(cached) $ECHO_C" >&6
31069 case $GTK_CONFIG in
31071 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31075 for as_dir in $PATH
31078 test -z "$as_dir" && as_dir=.
31079 for ac_exec_ext in '' $ac_executable_extensions; do
31080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31081 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31089 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31093 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31094 if test -n "$GTK_CONFIG"; then
31095 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31096 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31098 { echo "$as_me:$LINENO: result: no" >&5
31099 echo "${ECHO_T}no" >&6; }
31103 min_gtk_version=1.2.3
31104 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31105 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31107 if test "$GTK_CONFIG" = "no" ; then
31110 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31111 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31112 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31113 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31114 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31115 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31116 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31117 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31118 if test "x$enable_gtktest" = "xyes" ; then
31119 ac_save_CFLAGS="$CFLAGS"
31120 ac_save_LIBS="$LIBS"
31121 CFLAGS="$CFLAGS $GTK_CFLAGS"
31122 LIBS="$GTK_LIBS $LIBS"
31124 if test "$cross_compiling" = yes; then
31125 echo $ac_n "cross compiling; assumed OK... $ac_c"
31127 cat >conftest.$ac_ext <<_ACEOF
31130 cat confdefs.h >>conftest.$ac_ext
31131 cat >>conftest.$ac_ext <<_ACEOF
31132 /* end confdefs.h. */
31134 #include <gtk/gtk.h>
31136 #include <stdlib.h>
31141 int major, minor, micro;
31144 system ("touch conf.gtktest");
31146 /* HP/UX 9 (%@#!) writes to sscanf strings */
31147 tmp_version = g_strdup("$min_gtk_version");
31148 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31149 printf("%s, bad version string\n", "$min_gtk_version");
31153 if ((gtk_major_version != $gtk_config_major_version) ||
31154 (gtk_minor_version != $gtk_config_minor_version) ||
31155 (gtk_micro_version != $gtk_config_micro_version))
31157 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31158 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31159 gtk_major_version, gtk_minor_version, gtk_micro_version);
31160 printf ("*** was found! If gtk-config was correct, then it is best\n");
31161 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31162 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31163 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31164 printf("*** required on your system.\n");
31165 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31166 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31167 printf("*** before re-running configure\n");
31169 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31170 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31171 (gtk_minor_version != GTK_MINOR_VERSION) ||
31172 (gtk_micro_version != GTK_MICRO_VERSION))
31174 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31175 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31176 printf("*** library (version %d.%d.%d)\n",
31177 gtk_major_version, gtk_minor_version, gtk_micro_version);
31179 #endif /* defined (GTK_MAJOR_VERSION) ... */
31182 if ((gtk_major_version > major) ||
31183 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31184 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31190 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31191 gtk_major_version, gtk_minor_version, gtk_micro_version);
31192 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31193 major, minor, micro);
31194 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31196 printf("*** If you have already installed a sufficiently new version, this error\n");
31197 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31198 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31199 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31200 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31201 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31202 printf("*** so that the correct libraries are found at run-time))\n");
31209 rm -f conftest$ac_exeext
31210 if { (ac_try="$ac_link"
31211 case "(($ac_try" in
31212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31213 *) ac_try_echo=$ac_try;;
31215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31216 (eval "$ac_link") 2>&5
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31220 { (case "(($ac_try" in
31221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31222 *) ac_try_echo=$ac_try;;
31224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31225 (eval "$ac_try") 2>&5
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); }; }; then
31231 echo "$as_me: program exited with status $ac_status" >&5
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.$ac_ext >&5
31235 ( exit $ac_status )
31238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31242 CFLAGS="$ac_save_CFLAGS"
31243 LIBS="$ac_save_LIBS"
31246 if test "x$no_gtk" = x ; then
31247 { echo "$as_me:$LINENO: result: yes" >&5
31248 echo "${ECHO_T}yes" >&6; }
31249 wx_cv_lib_gtk=1.2.3
31251 { echo "$as_me:$LINENO: result: no" >&5
31252 echo "${ECHO_T}no" >&6; }
31253 if test "$GTK_CONFIG" = "no" ; then
31254 echo "*** The gtk-config script installed by GTK could not be found"
31255 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31256 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31257 echo "*** full path to gtk-config."
31259 if test -f conf.gtktest ; then
31262 echo "*** Could not run GTK test program, checking why..."
31263 CFLAGS="$CFLAGS $GTK_CFLAGS"
31264 LIBS="$LIBS $GTK_LIBS"
31265 cat >conftest.$ac_ext <<_ACEOF
31268 cat confdefs.h >>conftest.$ac_ext
31269 cat >>conftest.$ac_ext <<_ACEOF
31270 /* end confdefs.h. */
31272 #include <gtk/gtk.h>
31278 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31283 rm -f conftest.$ac_objext conftest$ac_exeext
31284 if { (ac_try="$ac_link"
31285 case "(($ac_try" in
31286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31287 *) ac_try_echo=$ac_try;;
31289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31290 (eval "$ac_link") 2>conftest.er1
31292 grep -v '^ *+' conftest.er1 >conftest.err
31294 cat conftest.err >&5
31295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296 (exit $ac_status); } && {
31297 test -z "$ac_c_werror_flag" ||
31298 test ! -s conftest.err
31299 } && test -s conftest$ac_exeext &&
31300 $as_test_x conftest$ac_exeext; then
31301 echo "*** The test program compiled, but did not run. This usually means"
31302 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31303 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31304 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31305 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31306 echo "*** is required on your system"
31308 echo "*** If you have an old version installed, it is best to remove it, although"
31309 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31311 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31312 echo "*** came with the system with the command"
31314 echo "*** rpm --erase --nodeps gtk gtk-devel"
31316 echo "$as_me: failed program was:" >&5
31317 sed 's/^/| /' conftest.$ac_ext >&5
31319 echo "*** The test program failed to compile or link. See the file config.log for the"
31320 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31321 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31322 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31326 conftest$ac_exeext conftest.$ac_ext
31327 CFLAGS="$ac_save_CFLAGS"
31328 LIBS="$ac_save_LIBS"
31343 if test -z "$wx_cv_lib_gtk"; then
31346 wx_cv_cflags_gtk=$GTK_CFLAGS
31347 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31354 if test "$gtk_version_cached" = 1; then
31355 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31356 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31359 case "$wx_cv_lib_gtk" in
31368 *) { { echo "$as_me:$LINENO: error:
31369 The development files for GTK+ were not found. For GTK+ 2, please
31370 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31371 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31372 and that the version is 1.2.3 or above. Also check that the
31373 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31374 --libs' are in the LD_LIBRARY_PATH or equivalent.
31376 echo "$as_me: error:
31377 The development files for GTK+ were not found. For GTK+ 2, please
31378 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31379 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31380 and that the version is 1.2.3 or above. Also check that the
31381 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31382 --libs' are in the LD_LIBRARY_PATH or equivalent.
31384 { (exit 1); exit 1; }; }
31388 if test "$WXGTK20" = 1; then
31389 save_CFLAGS="$CFLAGS"
31391 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31392 LIBS="$LIBS $wx_cv_libs_gtk"
31394 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31395 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31396 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31399 cat >conftest.$ac_ext <<_ACEOF
31402 cat confdefs.h >>conftest.$ac_ext
31403 cat >>conftest.$ac_ext <<_ACEOF
31404 /* end confdefs.h. */
31405 #include <gtk/gtk.h>
31410 #ifndef gtk_icon_size_lookup
31411 (void) gtk_icon_size_lookup;
31418 rm -f conftest.$ac_objext
31419 if { (ac_try="$ac_compile"
31420 case "(($ac_try" in
31421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31422 *) ac_try_echo=$ac_try;;
31424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31425 (eval "$ac_compile") 2>conftest.er1
31427 grep -v '^ *+' conftest.er1 >conftest.err
31429 cat conftest.err >&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); } && {
31432 test -z "$ac_c_werror_flag" ||
31433 test ! -s conftest.err
31434 } && test -s conftest.$ac_objext; then
31435 ac_cv_have_decl_gtk_icon_size_lookup=yes
31437 echo "$as_me: failed program was:" >&5
31438 sed 's/^/| /' conftest.$ac_ext >&5
31440 ac_cv_have_decl_gtk_icon_size_lookup=no
31443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31445 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31446 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31447 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31449 cat >>confdefs.h <<_ACEOF
31450 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31455 cat >>confdefs.h <<_ACEOF
31456 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31459 cat >>confdefs.h <<\_ACEOF
31460 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31468 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31469 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31470 cat >conftest.$ac_ext <<_ACEOF
31473 cat confdefs.h >>conftest.$ac_ext
31474 cat >>conftest.$ac_ext <<_ACEOF
31475 /* end confdefs.h. */
31477 #include <gtk/gtk.h>
31483 #if !GTK_CHECK_VERSION(2,10,0)
31491 rm -f conftest.$ac_objext
31492 if { (ac_try="$ac_compile"
31493 case "(($ac_try" in
31494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31495 *) ac_try_echo=$ac_try;;
31497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31498 (eval "$ac_compile") 2>conftest.er1
31500 grep -v '^ *+' conftest.er1 >conftest.err
31502 cat conftest.err >&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); } && {
31505 test -z "$ac_c_werror_flag" ||
31506 test ! -s conftest.err
31507 } && test -s conftest.$ac_objext; then
31509 cat >>confdefs.h <<\_ACEOF
31510 #define __WXGTK210__ 1
31513 cat >>confdefs.h <<\_ACEOF
31514 #define __WXGTK26__ 1
31517 cat >>confdefs.h <<\_ACEOF
31518 #define __WXGTK24__ 1
31521 { echo "$as_me:$LINENO: result: yes" >&5
31522 echo "${ECHO_T}yes" >&6; }
31526 echo "$as_me: failed program was:" >&5
31527 sed 's/^/| /' conftest.$ac_ext >&5
31530 { echo "$as_me:$LINENO: result: no" >&5
31531 echo "${ECHO_T}no" >&6; }
31536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31538 if test "$ac_wxgtk210" = 0; then
31539 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31540 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31541 cat >conftest.$ac_ext <<_ACEOF
31544 cat confdefs.h >>conftest.$ac_ext
31545 cat >>conftest.$ac_ext <<_ACEOF
31546 /* end confdefs.h. */
31548 #include <gtk/gtk.h>
31554 #if !GTK_CHECK_VERSION(2,6,0)
31562 rm -f conftest.$ac_objext
31563 if { (ac_try="$ac_compile"
31564 case "(($ac_try" in
31565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31566 *) ac_try_echo=$ac_try;;
31568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31569 (eval "$ac_compile") 2>conftest.er1
31571 grep -v '^ *+' conftest.er1 >conftest.err
31573 cat conftest.err >&5
31574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31575 (exit $ac_status); } && {
31576 test -z "$ac_c_werror_flag" ||
31577 test ! -s conftest.err
31578 } && test -s conftest.$ac_objext; then
31580 cat >>confdefs.h <<\_ACEOF
31581 #define __WXGTK26__ 1
31584 cat >>confdefs.h <<\_ACEOF
31585 #define __WXGTK24__ 1
31588 { echo "$as_me:$LINENO: result: yes" >&5
31589 echo "${ECHO_T}yes" >&6; }
31593 echo "$as_me: failed program was:" >&5
31594 sed 's/^/| /' conftest.$ac_ext >&5
31597 { echo "$as_me:$LINENO: result: no" >&5
31598 echo "${ECHO_T}no" >&6; }
31603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31606 if test "$ac_wxgtk26" = 0; then
31607 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31608 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31609 cat >conftest.$ac_ext <<_ACEOF
31612 cat confdefs.h >>conftest.$ac_ext
31613 cat >>conftest.$ac_ext <<_ACEOF
31614 /* end confdefs.h. */
31616 #include <gtk/gtk.h>
31622 #if !GTK_CHECK_VERSION(2,4,0)
31630 rm -f conftest.$ac_objext
31631 if { (ac_try="$ac_compile"
31632 case "(($ac_try" in
31633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31634 *) ac_try_echo=$ac_try;;
31636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31637 (eval "$ac_compile") 2>conftest.er1
31639 grep -v '^ *+' conftest.er1 >conftest.err
31641 cat conftest.err >&5
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); } && {
31644 test -z "$ac_c_werror_flag" ||
31645 test ! -s conftest.err
31646 } && test -s conftest.$ac_objext; then
31648 cat >>confdefs.h <<\_ACEOF
31649 #define __WXGTK24__ 1
31652 { echo "$as_me:$LINENO: result: yes" >&5
31653 echo "${ECHO_T}yes" >&6; }
31656 echo "$as_me: failed program was:" >&5
31657 sed 's/^/| /' conftest.$ac_ext >&5
31660 { echo "$as_me:$LINENO: result: no" >&5
31661 echo "${ECHO_T}no" >&6; }
31665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31668 CFLAGS="$save_CFLAGS"
31671 if test "$wxUSE_UNICODE" = "yes"; then
31672 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31673 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31677 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31678 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31679 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31680 echo $ECHO_N "(cached) $ECHO_C" >&6
31682 ac_check_lib_save_LIBS=$LIBS
31684 cat >conftest.$ac_ext <<_ACEOF
31687 cat confdefs.h >>conftest.$ac_ext
31688 cat >>conftest.$ac_ext <<_ACEOF
31689 /* end confdefs.h. */
31691 /* Override any GCC internal prototype to avoid an error.
31692 Use char because int might match the return type of a GCC
31693 builtin and then its argument prototype would still apply. */
31697 char gdk_im_open ();
31701 return gdk_im_open ();
31706 rm -f conftest.$ac_objext conftest$ac_exeext
31707 if { (ac_try="$ac_link"
31708 case "(($ac_try" in
31709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31710 *) ac_try_echo=$ac_try;;
31712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31713 (eval "$ac_link") 2>conftest.er1
31715 grep -v '^ *+' conftest.er1 >conftest.err
31717 cat conftest.err >&5
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); } && {
31720 test -z "$ac_c_werror_flag" ||
31721 test ! -s conftest.err
31722 } && test -s conftest$ac_exeext &&
31723 $as_test_x conftest$ac_exeext; then
31724 ac_cv_lib_gdk_gdk_im_open=yes
31726 echo "$as_me: failed program was:" >&5
31727 sed 's/^/| /' conftest.$ac_ext >&5
31729 ac_cv_lib_gdk_gdk_im_open=no
31732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31733 conftest$ac_exeext conftest.$ac_ext
31734 LIBS=$ac_check_lib_save_LIBS
31736 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31737 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31738 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31739 cat >>confdefs.h <<\_ACEOF
31746 if test "$USE_DARWIN" != 1; then
31748 for ac_func in poll
31750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31753 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31754 echo $ECHO_N "(cached) $ECHO_C" >&6
31756 cat >conftest.$ac_ext <<_ACEOF
31759 cat confdefs.h >>conftest.$ac_ext
31760 cat >>conftest.$ac_ext <<_ACEOF
31761 /* end confdefs.h. */
31762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31764 #define $ac_func innocuous_$ac_func
31766 /* System header to define __stub macros and hopefully few prototypes,
31767 which can conflict with char $ac_func (); below.
31768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31769 <limits.h> exists even on freestanding compilers. */
31772 # include <limits.h>
31774 # include <assert.h>
31779 /* Override any GCC internal prototype to avoid an error.
31780 Use char because int might match the return type of a GCC
31781 builtin and then its argument prototype would still apply. */
31786 /* The GNU C library defines this for functions which it implements
31787 to always fail with ENOSYS. Some functions are actually named
31788 something starting with __ and the normal name is an alias. */
31789 #if defined __stub_$ac_func || defined __stub___$ac_func
31796 return $ac_func ();
31801 rm -f conftest.$ac_objext conftest$ac_exeext
31802 if { (ac_try="$ac_link"
31803 case "(($ac_try" in
31804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31805 *) ac_try_echo=$ac_try;;
31807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31808 (eval "$ac_link") 2>conftest.er1
31810 grep -v '^ *+' conftest.er1 >conftest.err
31812 cat conftest.err >&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } && {
31815 test -z "$ac_c_werror_flag" ||
31816 test ! -s conftest.err
31817 } && test -s conftest$ac_exeext &&
31818 $as_test_x conftest$ac_exeext; then
31819 eval "$as_ac_var=yes"
31821 echo "$as_me: failed program was:" >&5
31822 sed 's/^/| /' conftest.$ac_ext >&5
31824 eval "$as_ac_var=no"
31827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31828 conftest$ac_exeext conftest.$ac_ext
31830 ac_res=`eval echo '${'$as_ac_var'}'`
31831 { echo "$as_me:$LINENO: result: $ac_res" >&5
31832 echo "${ECHO_T}$ac_res" >&6; }
31833 if test `eval echo '${'$as_ac_var'}'` = yes; then
31834 cat >>confdefs.h <<_ACEOF
31835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31844 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31845 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31847 AFMINSTALL=afminstall
31851 if test "$wxUSE_GPE" = "yes"; then
31852 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31853 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31856 for ac_dir in $SEARCH_LIB;
31858 for ac_extension in a so sl dylib dll.a; do
31859 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31860 ac_find_libraries=$ac_dir
31866 if test "$ac_find_libraries" != "" ; then
31868 if test "$ac_find_libraries" = "default location"; then
31871 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31873 if test $result = 0; then
31876 ac_path_to_link=" -L$ac_find_libraries"
31880 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31882 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31883 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31885 { echo "$as_me:$LINENO: result: not found" >&5
31886 echo "${ECHO_T}not found" >&6; }
31892 if test "$wxUSE_MGL" = 1; then
31893 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31894 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31895 if test "x$MGL_ROOT" = x ; then
31896 { echo "$as_me:$LINENO: result: not found" >&5
31897 echo "${ECHO_T}not found" >&6; }
31898 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31899 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31900 { (exit 1); exit 1; }; }
31902 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31903 echo "${ECHO_T}$MGL_ROOT" >&6; }
31906 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31907 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31910 if test "x$wxUSE_SHARED" = xyes ; then
31911 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31913 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31917 mgl_os_candidates="dos32/dj2"
31920 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31921 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31922 { (exit 1); exit 1; }; }
31928 for mgl_os_i in $mgl_os_candidates ; do
31929 if test "x$mgl_os" = x ; then
31930 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31931 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31932 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31937 if test "x$mgl_lib_type" = x ; then
31938 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31939 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31940 mgl_lib_type=release
31947 if test "x$mgl_os" = x ; then
31948 { echo "$as_me:$LINENO: result: not found" >&5
31949 echo "${ECHO_T}not found" >&6; }
31950 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31951 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31952 { (exit 1); exit 1; }; }
31954 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31955 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31957 wxUSE_UNIVERSAL="yes"
31959 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31960 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31962 AFMINSTALL=afminstall
31967 if test "$wxUSE_DFB" = 1; then
31970 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31971 if test -n "$ac_tool_prefix"; then
31972 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31973 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31976 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31977 echo $ECHO_N "(cached) $ECHO_C" >&6
31979 case $PKG_CONFIG in
31981 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31985 for as_dir in $PATH
31988 test -z "$as_dir" && as_dir=.
31989 for ac_exec_ext in '' $ac_executable_extensions; do
31990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31991 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32002 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32003 if test -n "$PKG_CONFIG"; then
32004 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32005 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32007 { echo "$as_me:$LINENO: result: no" >&5
32008 echo "${ECHO_T}no" >&6; }
32013 if test -z "$ac_cv_path_PKG_CONFIG"; then
32014 ac_pt_PKG_CONFIG=$PKG_CONFIG
32015 # Extract the first word of "pkg-config", so it can be a program name with args.
32016 set dummy pkg-config; ac_word=$2
32017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32019 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32020 echo $ECHO_N "(cached) $ECHO_C" >&6
32022 case $ac_pt_PKG_CONFIG in
32024 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32028 for as_dir in $PATH
32031 test -z "$as_dir" && as_dir=.
32032 for ac_exec_ext in '' $ac_executable_extensions; do
32033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32034 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32045 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32046 if test -n "$ac_pt_PKG_CONFIG"; then
32047 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32048 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32050 { echo "$as_me:$LINENO: result: no" >&5
32051 echo "${ECHO_T}no" >&6; }
32054 if test "x$ac_pt_PKG_CONFIG" = x; then
32057 case $cross_compiling:$ac_tool_warned in
32059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32060 whose name does not start with the host triplet. If you think this
32061 configuration is useful to you, please write to autoconf@gnu.org." >&5
32062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32063 whose name does not start with the host triplet. If you think this
32064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32065 ac_tool_warned=yes ;;
32067 PKG_CONFIG=$ac_pt_PKG_CONFIG
32070 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32074 if test -n "$PKG_CONFIG"; then
32075 _pkg_min_version=0.9.0
32076 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32077 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32078 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32079 { echo "$as_me:$LINENO: result: yes" >&5
32080 echo "${ECHO_T}yes" >&6; }
32082 { echo "$as_me:$LINENO: result: no" >&5
32083 echo "${ECHO_T}no" >&6; }
32091 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32092 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32094 if test -n "$PKG_CONFIG"; then
32095 if test -n "$DIRECTFB_CFLAGS"; then
32096 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32098 if test -n "$PKG_CONFIG" && \
32099 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32100 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; then
32104 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32112 if test -n "$PKG_CONFIG"; then
32113 if test -n "$DIRECTFB_LIBS"; then
32114 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32116 if test -n "$PKG_CONFIG" && \
32117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32118 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121 (exit $ac_status); }; then
32122 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32133 if test $pkg_failed = yes; then
32135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32136 _pkg_short_errors_supported=yes
32138 _pkg_short_errors_supported=no
32140 if test $_pkg_short_errors_supported = yes; then
32141 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32143 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32145 # Put the nasty error message in config.log where it belongs
32146 echo "$DIRECTFB_PKG_ERRORS" >&5
32149 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32150 echo "$as_me: error: DirectFB not found." >&2;}
32151 { (exit 1); exit 1; }; }
32154 elif test $pkg_failed = untried; then
32156 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32157 echo "$as_me: error: DirectFB not found." >&2;}
32158 { (exit 1); exit 1; }; }
32162 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32163 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32164 { echo "$as_me:$LINENO: result: yes" >&5
32165 echo "${ECHO_T}yes" >&6; }
32167 wxUSE_UNIVERSAL="yes"
32168 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32169 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32176 if test "$wxUSE_MICROWIN" = 1; then
32177 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32178 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32179 if test "x$MICROWINDOWS" = x ; then
32180 { echo "$as_me:$LINENO: result: not found" >&5
32181 echo "${ECHO_T}not found" >&6; }
32182 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32183 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32184 { (exit 1); exit 1; }; }
32186 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32187 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32190 if test -f $MICROWINDOWS/lib/libmwin.a; then
32191 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32192 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32194 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32195 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32196 { (exit 1); exit 1; }; }
32199 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32200 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32202 wxUSE_UNIVERSAL="yes"
32204 AFMINSTALL=afminstall
32206 GUIDIST=MICROWIN_DIST
32208 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32211 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32212 { echo "$as_me:$LINENO: checking for X" >&5
32213 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32216 # Check whether --with-x was given.
32217 if test "${with_x+set}" = set; then
32221 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32222 if test "x$with_x" = xno; then
32223 # The user explicitly disabled X.
32226 case $x_includes,$x_libraries in #(
32227 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32228 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32229 { (exit 1); exit 1; }; };; #(
32230 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32231 echo $ECHO_N "(cached) $ECHO_C" >&6
32233 # One or both of the vars are not set, and there is no cached value.
32234 ac_x_includes=no ac_x_libraries=no
32235 rm -f -r conftest.dir
32236 if mkdir conftest.dir; then
32238 cat >Imakefile <<'_ACEOF'
32240 @echo incroot='${INCROOT}'
32242 @echo usrlibdir='${USRLIBDIR}'
32244 @echo libdir='${LIBDIR}'
32246 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32247 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32248 for ac_var in incroot usrlibdir libdir; do
32249 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32251 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32252 for ac_extension in a so sl; do
32253 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32254 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32255 ac_im_usrlibdir=$ac_im_libdir; break
32258 # Screen out bogus values from the imake configuration. They are
32259 # bogus both because they are the default anyway, and because
32260 # using them would break gcc on systems where it needs fixed includes.
32261 case $ac_im_incroot in
32262 /usr/include) ac_x_includes= ;;
32263 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32265 case $ac_im_usrlibdir in
32266 /usr/lib | /lib) ;;
32267 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32271 rm -f -r conftest.dir
32274 # Standard set of common directories for X headers.
32275 # Check X11 before X11Rn because it is often a symlink to the current release.
32287 /usr/local/X11/include
32288 /usr/local/X11R6/include
32289 /usr/local/X11R5/include
32290 /usr/local/X11R4/include
32292 /usr/local/include/X11
32293 /usr/local/include/X11R6
32294 /usr/local/include/X11R5
32295 /usr/local/include/X11R4
32299 /usr/XFree86/include/X11
32303 /usr/unsupported/include
32304 /usr/athena/include
32305 /usr/local/x11r5/include
32306 /usr/lpp/Xamples/include
32308 /usr/openwin/include
32309 /usr/openwin/share/include'
32311 if test "$ac_x_includes" = no; then
32312 # Guess where to find include files, by looking for Xlib.h.
32313 # First, try using that file with no special directory specified.
32314 cat >conftest.$ac_ext <<_ACEOF
32317 cat confdefs.h >>conftest.$ac_ext
32318 cat >>conftest.$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32320 #include <X11/Xlib.h>
32322 if { (ac_try="$ac_cpp conftest.$ac_ext"
32323 case "(($ac_try" in
32324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32325 *) ac_try_echo=$ac_try;;
32327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32328 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32330 grep -v '^ *+' conftest.er1 >conftest.err
32332 cat conftest.err >&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); } >/dev/null && {
32335 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32336 test ! -s conftest.err
32338 # We can compile using X headers with no special include directory.
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32344 for ac_dir in $ac_x_header_dirs; do
32345 if test -r "$ac_dir/X11/Xlib.h"; then
32346 ac_x_includes=$ac_dir
32352 rm -f conftest.err conftest.$ac_ext
32353 fi # $ac_x_includes = no
32355 if test "$ac_x_libraries" = no; then
32356 # Check for the libraries.
32357 # See if we find them without any special options.
32358 # Don't add to $LIBS permanently.
32361 cat >conftest.$ac_ext <<_ACEOF
32364 cat confdefs.h >>conftest.$ac_ext
32365 cat >>conftest.$ac_ext <<_ACEOF
32366 /* end confdefs.h. */
32367 #include <X11/Xlib.h>
32376 rm -f conftest.$ac_objext conftest$ac_exeext
32377 if { (ac_try="$ac_link"
32378 case "(($ac_try" in
32379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32380 *) ac_try_echo=$ac_try;;
32382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32383 (eval "$ac_link") 2>conftest.er1
32385 grep -v '^ *+' conftest.er1 >conftest.err
32387 cat conftest.err >&5
32388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 (exit $ac_status); } && {
32390 test -z "$ac_c_werror_flag" ||
32391 test ! -s conftest.err
32392 } && test -s conftest$ac_exeext &&
32393 $as_test_x conftest$ac_exeext; then
32395 # We can link X programs with no special library path.
32398 echo "$as_me: failed program was:" >&5
32399 sed 's/^/| /' conftest.$ac_ext >&5
32402 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32404 # Don't even attempt the hair of trying to link an X program!
32405 for ac_extension in a so sl; do
32406 if test -r "$ac_dir/libX11.$ac_extension"; then
32407 ac_x_libraries=$ac_dir
32414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32415 conftest$ac_exeext conftest.$ac_ext
32416 fi # $ac_x_libraries = no
32418 case $ac_x_includes,$ac_x_libraries in #(
32419 no,* | *,no | *\'*)
32420 # Didn't find X, or a directory has "'" in its name.
32421 ac_cv_have_x="have_x=no";; #(
32423 # Record where we found X for the cache.
32424 ac_cv_have_x="have_x=yes\
32425 ac_x_includes='$ac_x_includes'\
32426 ac_x_libraries='$ac_x_libraries'"
32432 eval "$ac_cv_have_x"
32435 if test "$have_x" != yes; then
32436 { echo "$as_me:$LINENO: result: $have_x" >&5
32437 echo "${ECHO_T}$have_x" >&6; }
32440 # If each of the values was on the command line, it overrides each guess.
32441 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32442 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32443 # Update the cache value to reflect the command line values.
32444 ac_cv_have_x="have_x=yes\
32445 ac_x_includes='$x_includes'\
32446 ac_x_libraries='$x_libraries'"
32447 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32448 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32451 if test "$no_x" = yes; then
32452 # Not all programs may use this symbol, but it does not hurt to define it.
32454 cat >>confdefs.h <<\_ACEOF
32455 #define X_DISPLAY_MISSING 1
32458 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32460 if test -n "$x_includes"; then
32461 X_CFLAGS="$X_CFLAGS -I$x_includes"
32464 # It would also be nice to do this for all -L options, not just this one.
32465 if test -n "$x_libraries"; then
32466 X_LIBS="$X_LIBS -L$x_libraries"
32467 # For Solaris; some versions of Sun CC require a space after -R and
32468 # others require no space. Words are not sufficient . . . .
32469 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32470 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32471 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32472 ac_xsave_c_werror_flag=$ac_c_werror_flag
32473 ac_c_werror_flag=yes
32474 cat >conftest.$ac_ext <<_ACEOF
32477 cat confdefs.h >>conftest.$ac_ext
32478 cat >>conftest.$ac_ext <<_ACEOF
32479 /* end confdefs.h. */
32489 rm -f conftest.$ac_objext conftest$ac_exeext
32490 if { (ac_try="$ac_link"
32491 case "(($ac_try" in
32492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32493 *) ac_try_echo=$ac_try;;
32495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32496 (eval "$ac_link") 2>conftest.er1
32498 grep -v '^ *+' conftest.er1 >conftest.err
32500 cat conftest.err >&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); } && {
32503 test -z "$ac_c_werror_flag" ||
32504 test ! -s conftest.err
32505 } && test -s conftest$ac_exeext &&
32506 $as_test_x conftest$ac_exeext; then
32507 { echo "$as_me:$LINENO: result: no" >&5
32508 echo "${ECHO_T}no" >&6; }
32509 X_LIBS="$X_LIBS -R$x_libraries"
32511 echo "$as_me: failed program was:" >&5
32512 sed 's/^/| /' conftest.$ac_ext >&5
32514 LIBS="$ac_xsave_LIBS -R $x_libraries"
32515 cat >conftest.$ac_ext <<_ACEOF
32518 cat confdefs.h >>conftest.$ac_ext
32519 cat >>conftest.$ac_ext <<_ACEOF
32520 /* end confdefs.h. */
32530 rm -f conftest.$ac_objext conftest$ac_exeext
32531 if { (ac_try="$ac_link"
32532 case "(($ac_try" in
32533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32534 *) ac_try_echo=$ac_try;;
32536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32537 (eval "$ac_link") 2>conftest.er1
32539 grep -v '^ *+' conftest.er1 >conftest.err
32541 cat conftest.err >&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); } && {
32544 test -z "$ac_c_werror_flag" ||
32545 test ! -s conftest.err
32546 } && test -s conftest$ac_exeext &&
32547 $as_test_x conftest$ac_exeext; then
32548 { echo "$as_me:$LINENO: result: yes" >&5
32549 echo "${ECHO_T}yes" >&6; }
32550 X_LIBS="$X_LIBS -R $x_libraries"
32552 echo "$as_me: failed program was:" >&5
32553 sed 's/^/| /' conftest.$ac_ext >&5
32555 { echo "$as_me:$LINENO: result: neither works" >&5
32556 echo "${ECHO_T}neither works" >&6; }
32559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32560 conftest$ac_exeext conftest.$ac_ext
32563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32564 conftest$ac_exeext conftest.$ac_ext
32565 ac_c_werror_flag=$ac_xsave_c_werror_flag
32566 LIBS=$ac_xsave_LIBS
32569 # Check for system-dependent libraries X programs must link with.
32570 # Do this before checking for the system-independent R6 libraries
32571 # (-lICE), since we may need -lsocket or whatever for X linking.
32573 if test "$ISC" = yes; then
32574 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32576 # Martyn Johnson says this is needed for Ultrix, if the X
32577 # libraries were built with DECnet support. And Karl Berry says
32578 # the Alpha needs dnet_stub (dnet does not exist).
32579 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32580 cat >conftest.$ac_ext <<_ACEOF
32583 cat confdefs.h >>conftest.$ac_ext
32584 cat >>conftest.$ac_ext <<_ACEOF
32585 /* end confdefs.h. */
32587 /* Override any GCC internal prototype to avoid an error.
32588 Use char because int might match the return type of a GCC
32589 builtin and then its argument prototype would still apply. */
32593 char XOpenDisplay ();
32597 return XOpenDisplay ();
32602 rm -f conftest.$ac_objext conftest$ac_exeext
32603 if { (ac_try="$ac_link"
32604 case "(($ac_try" in
32605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32606 *) ac_try_echo=$ac_try;;
32608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32609 (eval "$ac_link") 2>conftest.er1
32611 grep -v '^ *+' conftest.er1 >conftest.err
32613 cat conftest.err >&5
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); } && {
32616 test -z "$ac_c_werror_flag" ||
32617 test ! -s conftest.err
32618 } && test -s conftest$ac_exeext &&
32619 $as_test_x conftest$ac_exeext; then
32622 echo "$as_me: failed program was:" >&5
32623 sed 's/^/| /' conftest.$ac_ext >&5
32625 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32626 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32627 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32628 echo $ECHO_N "(cached) $ECHO_C" >&6
32630 ac_check_lib_save_LIBS=$LIBS
32631 LIBS="-ldnet $LIBS"
32632 cat >conftest.$ac_ext <<_ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32639 /* Override any GCC internal prototype to avoid an error.
32640 Use char because int might match the return type of a GCC
32641 builtin and then its argument prototype would still apply. */
32649 return dnet_ntoa ();
32654 rm -f conftest.$ac_objext conftest$ac_exeext
32655 if { (ac_try="$ac_link"
32656 case "(($ac_try" in
32657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32658 *) ac_try_echo=$ac_try;;
32660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32661 (eval "$ac_link") 2>conftest.er1
32663 grep -v '^ *+' conftest.er1 >conftest.err
32665 cat conftest.err >&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); } && {
32668 test -z "$ac_c_werror_flag" ||
32669 test ! -s conftest.err
32670 } && test -s conftest$ac_exeext &&
32671 $as_test_x conftest$ac_exeext; then
32672 ac_cv_lib_dnet_dnet_ntoa=yes
32674 echo "$as_me: failed program was:" >&5
32675 sed 's/^/| /' conftest.$ac_ext >&5
32677 ac_cv_lib_dnet_dnet_ntoa=no
32680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32681 conftest$ac_exeext conftest.$ac_ext
32682 LIBS=$ac_check_lib_save_LIBS
32684 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32685 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32686 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32687 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32690 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32691 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32692 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32693 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32694 echo $ECHO_N "(cached) $ECHO_C" >&6
32696 ac_check_lib_save_LIBS=$LIBS
32697 LIBS="-ldnet_stub $LIBS"
32698 cat >conftest.$ac_ext <<_ACEOF
32701 cat confdefs.h >>conftest.$ac_ext
32702 cat >>conftest.$ac_ext <<_ACEOF
32703 /* end confdefs.h. */
32705 /* Override any GCC internal prototype to avoid an error.
32706 Use char because int might match the return type of a GCC
32707 builtin and then its argument prototype would still apply. */
32715 return dnet_ntoa ();
32720 rm -f conftest.$ac_objext conftest$ac_exeext
32721 if { (ac_try="$ac_link"
32722 case "(($ac_try" in
32723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32724 *) ac_try_echo=$ac_try;;
32726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32727 (eval "$ac_link") 2>conftest.er1
32729 grep -v '^ *+' conftest.er1 >conftest.err
32731 cat conftest.err >&5
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); } && {
32734 test -z "$ac_c_werror_flag" ||
32735 test ! -s conftest.err
32736 } && test -s conftest$ac_exeext &&
32737 $as_test_x conftest$ac_exeext; then
32738 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32740 echo "$as_me: failed program was:" >&5
32741 sed 's/^/| /' conftest.$ac_ext >&5
32743 ac_cv_lib_dnet_stub_dnet_ntoa=no
32746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32747 conftest$ac_exeext conftest.$ac_ext
32748 LIBS=$ac_check_lib_save_LIBS
32750 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32751 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32752 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32753 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32760 conftest$ac_exeext conftest.$ac_ext
32761 LIBS="$ac_xsave_LIBS"
32763 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32764 # to get the SysV transport functions.
32765 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32767 # The nsl library prevents programs from opening the X display
32768 # on Irix 5.2, according to T.E. Dickey.
32769 # The functions gethostbyname, getservbyname, and inet_addr are
32770 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32771 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32772 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32773 if test "${ac_cv_func_gethostbyname+set}" = set; then
32774 echo $ECHO_N "(cached) $ECHO_C" >&6
32776 cat >conftest.$ac_ext <<_ACEOF
32779 cat confdefs.h >>conftest.$ac_ext
32780 cat >>conftest.$ac_ext <<_ACEOF
32781 /* end confdefs.h. */
32782 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32784 #define gethostbyname innocuous_gethostbyname
32786 /* System header to define __stub macros and hopefully few prototypes,
32787 which can conflict with char gethostbyname (); below.
32788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32789 <limits.h> exists even on freestanding compilers. */
32792 # include <limits.h>
32794 # include <assert.h>
32797 #undef gethostbyname
32799 /* Override any GCC internal prototype to avoid an error.
32800 Use char because int might match the return type of a GCC
32801 builtin and then its argument prototype would still apply. */
32805 char gethostbyname ();
32806 /* The GNU C library defines this for functions which it implements
32807 to always fail with ENOSYS. Some functions are actually named
32808 something starting with __ and the normal name is an alias. */
32809 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32816 return gethostbyname ();
32821 rm -f conftest.$ac_objext conftest$ac_exeext
32822 if { (ac_try="$ac_link"
32823 case "(($ac_try" in
32824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32825 *) ac_try_echo=$ac_try;;
32827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32828 (eval "$ac_link") 2>conftest.er1
32830 grep -v '^ *+' conftest.er1 >conftest.err
32832 cat conftest.err >&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); } && {
32835 test -z "$ac_c_werror_flag" ||
32836 test ! -s conftest.err
32837 } && test -s conftest$ac_exeext &&
32838 $as_test_x conftest$ac_exeext; then
32839 ac_cv_func_gethostbyname=yes
32841 echo "$as_me: failed program was:" >&5
32842 sed 's/^/| /' conftest.$ac_ext >&5
32844 ac_cv_func_gethostbyname=no
32847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32848 conftest$ac_exeext conftest.$ac_ext
32850 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32851 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32853 if test $ac_cv_func_gethostbyname = no; then
32854 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32855 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32856 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32857 echo $ECHO_N "(cached) $ECHO_C" >&6
32859 ac_check_lib_save_LIBS=$LIBS
32861 cat >conftest.$ac_ext <<_ACEOF
32864 cat confdefs.h >>conftest.$ac_ext
32865 cat >>conftest.$ac_ext <<_ACEOF
32866 /* end confdefs.h. */
32868 /* Override any GCC internal prototype to avoid an error.
32869 Use char because int might match the return type of a GCC
32870 builtin and then its argument prototype would still apply. */
32874 char gethostbyname ();
32878 return gethostbyname ();
32883 rm -f conftest.$ac_objext conftest$ac_exeext
32884 if { (ac_try="$ac_link"
32885 case "(($ac_try" in
32886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32887 *) ac_try_echo=$ac_try;;
32889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32890 (eval "$ac_link") 2>conftest.er1
32892 grep -v '^ *+' conftest.er1 >conftest.err
32894 cat conftest.err >&5
32895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32896 (exit $ac_status); } && {
32897 test -z "$ac_c_werror_flag" ||
32898 test ! -s conftest.err
32899 } && test -s conftest$ac_exeext &&
32900 $as_test_x conftest$ac_exeext; then
32901 ac_cv_lib_nsl_gethostbyname=yes
32903 echo "$as_me: failed program was:" >&5
32904 sed 's/^/| /' conftest.$ac_ext >&5
32906 ac_cv_lib_nsl_gethostbyname=no
32909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32910 conftest$ac_exeext conftest.$ac_ext
32911 LIBS=$ac_check_lib_save_LIBS
32913 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32914 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32915 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32916 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32919 if test $ac_cv_lib_nsl_gethostbyname = no; then
32920 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32921 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32922 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32923 echo $ECHO_N "(cached) $ECHO_C" >&6
32925 ac_check_lib_save_LIBS=$LIBS
32927 cat >conftest.$ac_ext <<_ACEOF
32930 cat confdefs.h >>conftest.$ac_ext
32931 cat >>conftest.$ac_ext <<_ACEOF
32932 /* end confdefs.h. */
32934 /* Override any GCC internal prototype to avoid an error.
32935 Use char because int might match the return type of a GCC
32936 builtin and then its argument prototype would still apply. */
32940 char gethostbyname ();
32944 return gethostbyname ();
32949 rm -f conftest.$ac_objext conftest$ac_exeext
32950 if { (ac_try="$ac_link"
32951 case "(($ac_try" in
32952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32953 *) ac_try_echo=$ac_try;;
32955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32956 (eval "$ac_link") 2>conftest.er1
32958 grep -v '^ *+' conftest.er1 >conftest.err
32960 cat conftest.err >&5
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); } && {
32963 test -z "$ac_c_werror_flag" ||
32964 test ! -s conftest.err
32965 } && test -s conftest$ac_exeext &&
32966 $as_test_x conftest$ac_exeext; then
32967 ac_cv_lib_bsd_gethostbyname=yes
32969 echo "$as_me: failed program was:" >&5
32970 sed 's/^/| /' conftest.$ac_ext >&5
32972 ac_cv_lib_bsd_gethostbyname=no
32975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32976 conftest$ac_exeext conftest.$ac_ext
32977 LIBS=$ac_check_lib_save_LIBS
32979 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32980 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32981 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32982 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32988 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32989 # socket/setsockopt and other routines are undefined under SCO ODT
32990 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32991 # on later versions), says Simon Leinen: it contains gethostby*
32992 # variants that don't use the name server (or something). -lsocket
32993 # must be given before -lnsl if both are needed. We assume that
32994 # if connect needs -lnsl, so does gethostbyname.
32995 { echo "$as_me:$LINENO: checking for connect" >&5
32996 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32997 if test "${ac_cv_func_connect+set}" = set; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 cat >conftest.$ac_ext <<_ACEOF
33003 cat confdefs.h >>conftest.$ac_ext
33004 cat >>conftest.$ac_ext <<_ACEOF
33005 /* end confdefs.h. */
33006 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33008 #define connect innocuous_connect
33010 /* System header to define __stub macros and hopefully few prototypes,
33011 which can conflict with char connect (); below.
33012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33013 <limits.h> exists even on freestanding compilers. */
33016 # include <limits.h>
33018 # include <assert.h>
33023 /* Override any GCC internal prototype to avoid an error.
33024 Use char because int might match the return type of a GCC
33025 builtin and then its argument prototype would still apply. */
33030 /* The GNU C library defines this for functions which it implements
33031 to always fail with ENOSYS. Some functions are actually named
33032 something starting with __ and the normal name is an alias. */
33033 #if defined __stub_connect || defined __stub___connect
33045 rm -f conftest.$ac_objext conftest$ac_exeext
33046 if { (ac_try="$ac_link"
33047 case "(($ac_try" in
33048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33049 *) ac_try_echo=$ac_try;;
33051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33052 (eval "$ac_link") 2>conftest.er1
33054 grep -v '^ *+' conftest.er1 >conftest.err
33056 cat conftest.err >&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); } && {
33059 test -z "$ac_c_werror_flag" ||
33060 test ! -s conftest.err
33061 } && test -s conftest$ac_exeext &&
33062 $as_test_x conftest$ac_exeext; then
33063 ac_cv_func_connect=yes
33065 echo "$as_me: failed program was:" >&5
33066 sed 's/^/| /' conftest.$ac_ext >&5
33068 ac_cv_func_connect=no
33071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33072 conftest$ac_exeext conftest.$ac_ext
33074 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33075 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33077 if test $ac_cv_func_connect = no; then
33078 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33079 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33080 if test "${ac_cv_lib_socket_connect+set}" = set; then
33081 echo $ECHO_N "(cached) $ECHO_C" >&6
33083 ac_check_lib_save_LIBS=$LIBS
33084 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33085 cat >conftest.$ac_ext <<_ACEOF
33088 cat confdefs.h >>conftest.$ac_ext
33089 cat >>conftest.$ac_ext <<_ACEOF
33090 /* end confdefs.h. */
33092 /* Override any GCC internal prototype to avoid an error.
33093 Use char because int might match the return type of a GCC
33094 builtin and then its argument prototype would still apply. */
33107 rm -f conftest.$ac_objext conftest$ac_exeext
33108 if { (ac_try="$ac_link"
33109 case "(($ac_try" in
33110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33111 *) ac_try_echo=$ac_try;;
33113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33114 (eval "$ac_link") 2>conftest.er1
33116 grep -v '^ *+' conftest.er1 >conftest.err
33118 cat conftest.err >&5
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); } && {
33121 test -z "$ac_c_werror_flag" ||
33122 test ! -s conftest.err
33123 } && test -s conftest$ac_exeext &&
33124 $as_test_x conftest$ac_exeext; then
33125 ac_cv_lib_socket_connect=yes
33127 echo "$as_me: failed program was:" >&5
33128 sed 's/^/| /' conftest.$ac_ext >&5
33130 ac_cv_lib_socket_connect=no
33133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33134 conftest$ac_exeext conftest.$ac_ext
33135 LIBS=$ac_check_lib_save_LIBS
33137 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33138 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33139 if test $ac_cv_lib_socket_connect = yes; then
33140 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33145 # Guillermo Gomez says -lposix is necessary on A/UX.
33146 { echo "$as_me:$LINENO: checking for remove" >&5
33147 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33148 if test "${ac_cv_func_remove+set}" = set; then
33149 echo $ECHO_N "(cached) $ECHO_C" >&6
33151 cat >conftest.$ac_ext <<_ACEOF
33154 cat confdefs.h >>conftest.$ac_ext
33155 cat >>conftest.$ac_ext <<_ACEOF
33156 /* end confdefs.h. */
33157 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33159 #define remove innocuous_remove
33161 /* System header to define __stub macros and hopefully few prototypes,
33162 which can conflict with char remove (); below.
33163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33164 <limits.h> exists even on freestanding compilers. */
33167 # include <limits.h>
33169 # include <assert.h>
33174 /* Override any GCC internal prototype to avoid an error.
33175 Use char because int might match the return type of a GCC
33176 builtin and then its argument prototype would still apply. */
33181 /* The GNU C library defines this for functions which it implements
33182 to always fail with ENOSYS. Some functions are actually named
33183 something starting with __ and the normal name is an alias. */
33184 #if defined __stub_remove || defined __stub___remove
33196 rm -f conftest.$ac_objext conftest$ac_exeext
33197 if { (ac_try="$ac_link"
33198 case "(($ac_try" in
33199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33200 *) ac_try_echo=$ac_try;;
33202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33203 (eval "$ac_link") 2>conftest.er1
33205 grep -v '^ *+' conftest.er1 >conftest.err
33207 cat conftest.err >&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); } && {
33210 test -z "$ac_c_werror_flag" ||
33211 test ! -s conftest.err
33212 } && test -s conftest$ac_exeext &&
33213 $as_test_x conftest$ac_exeext; then
33214 ac_cv_func_remove=yes
33216 echo "$as_me: failed program was:" >&5
33217 sed 's/^/| /' conftest.$ac_ext >&5
33219 ac_cv_func_remove=no
33222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33223 conftest$ac_exeext conftest.$ac_ext
33225 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33226 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33228 if test $ac_cv_func_remove = no; then
33229 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33230 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33231 if test "${ac_cv_lib_posix_remove+set}" = set; then
33232 echo $ECHO_N "(cached) $ECHO_C" >&6
33234 ac_check_lib_save_LIBS=$LIBS
33235 LIBS="-lposix $LIBS"
33236 cat >conftest.$ac_ext <<_ACEOF
33239 cat confdefs.h >>conftest.$ac_ext
33240 cat >>conftest.$ac_ext <<_ACEOF
33241 /* end confdefs.h. */
33243 /* Override any GCC internal prototype to avoid an error.
33244 Use char because int might match the return type of a GCC
33245 builtin and then its argument prototype would still apply. */
33258 rm -f conftest.$ac_objext conftest$ac_exeext
33259 if { (ac_try="$ac_link"
33260 case "(($ac_try" in
33261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33262 *) ac_try_echo=$ac_try;;
33264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33265 (eval "$ac_link") 2>conftest.er1
33267 grep -v '^ *+' conftest.er1 >conftest.err
33269 cat conftest.err >&5
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); } && {
33272 test -z "$ac_c_werror_flag" ||
33273 test ! -s conftest.err
33274 } && test -s conftest$ac_exeext &&
33275 $as_test_x conftest$ac_exeext; then
33276 ac_cv_lib_posix_remove=yes
33278 echo "$as_me: failed program was:" >&5
33279 sed 's/^/| /' conftest.$ac_ext >&5
33281 ac_cv_lib_posix_remove=no
33284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33285 conftest$ac_exeext conftest.$ac_ext
33286 LIBS=$ac_check_lib_save_LIBS
33288 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33289 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33290 if test $ac_cv_lib_posix_remove = yes; then
33291 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33296 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33297 { echo "$as_me:$LINENO: checking for shmat" >&5
33298 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33299 if test "${ac_cv_func_shmat+set}" = set; then
33300 echo $ECHO_N "(cached) $ECHO_C" >&6
33302 cat >conftest.$ac_ext <<_ACEOF
33305 cat confdefs.h >>conftest.$ac_ext
33306 cat >>conftest.$ac_ext <<_ACEOF
33307 /* end confdefs.h. */
33308 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33310 #define shmat innocuous_shmat
33312 /* System header to define __stub macros and hopefully few prototypes,
33313 which can conflict with char shmat (); below.
33314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33315 <limits.h> exists even on freestanding compilers. */
33318 # include <limits.h>
33320 # include <assert.h>
33325 /* Override any GCC internal prototype to avoid an error.
33326 Use char because int might match the return type of a GCC
33327 builtin and then its argument prototype would still apply. */
33332 /* The GNU C library defines this for functions which it implements
33333 to always fail with ENOSYS. Some functions are actually named
33334 something starting with __ and the normal name is an alias. */
33335 #if defined __stub_shmat || defined __stub___shmat
33347 rm -f conftest.$ac_objext conftest$ac_exeext
33348 if { (ac_try="$ac_link"
33349 case "(($ac_try" in
33350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33351 *) ac_try_echo=$ac_try;;
33353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33354 (eval "$ac_link") 2>conftest.er1
33356 grep -v '^ *+' conftest.er1 >conftest.err
33358 cat conftest.err >&5
33359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33360 (exit $ac_status); } && {
33361 test -z "$ac_c_werror_flag" ||
33362 test ! -s conftest.err
33363 } && test -s conftest$ac_exeext &&
33364 $as_test_x conftest$ac_exeext; then
33365 ac_cv_func_shmat=yes
33367 echo "$as_me: failed program was:" >&5
33368 sed 's/^/| /' conftest.$ac_ext >&5
33370 ac_cv_func_shmat=no
33373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33374 conftest$ac_exeext conftest.$ac_ext
33376 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33377 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33379 if test $ac_cv_func_shmat = no; then
33380 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33381 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33382 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33383 echo $ECHO_N "(cached) $ECHO_C" >&6
33385 ac_check_lib_save_LIBS=$LIBS
33387 cat >conftest.$ac_ext <<_ACEOF
33390 cat confdefs.h >>conftest.$ac_ext
33391 cat >>conftest.$ac_ext <<_ACEOF
33392 /* end confdefs.h. */
33394 /* Override any GCC internal prototype to avoid an error.
33395 Use char because int might match the return type of a GCC
33396 builtin and then its argument prototype would still apply. */
33409 rm -f conftest.$ac_objext conftest$ac_exeext
33410 if { (ac_try="$ac_link"
33411 case "(($ac_try" in
33412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33413 *) ac_try_echo=$ac_try;;
33415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33416 (eval "$ac_link") 2>conftest.er1
33418 grep -v '^ *+' conftest.er1 >conftest.err
33420 cat conftest.err >&5
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); } && {
33423 test -z "$ac_c_werror_flag" ||
33424 test ! -s conftest.err
33425 } && test -s conftest$ac_exeext &&
33426 $as_test_x conftest$ac_exeext; then
33427 ac_cv_lib_ipc_shmat=yes
33429 echo "$as_me: failed program was:" >&5
33430 sed 's/^/| /' conftest.$ac_ext >&5
33432 ac_cv_lib_ipc_shmat=no
33435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33436 conftest$ac_exeext conftest.$ac_ext
33437 LIBS=$ac_check_lib_save_LIBS
33439 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33440 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33441 if test $ac_cv_lib_ipc_shmat = yes; then
33442 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33448 # Check for libraries that X11R6 Xt/Xaw programs need.
33449 ac_save_LDFLAGS=$LDFLAGS
33450 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33451 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33452 # check for ICE first), but we must link in the order -lSM -lICE or
33453 # we get undefined symbols. So assume we have SM if we have ICE.
33454 # These have to be linked with before -lX11, unlike the other
33455 # libraries we check for below, so use a different variable.
33456 # John Interrante, Karl Berry
33457 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33458 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33459 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33460 echo $ECHO_N "(cached) $ECHO_C" >&6
33462 ac_check_lib_save_LIBS=$LIBS
33463 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33464 cat >conftest.$ac_ext <<_ACEOF
33467 cat confdefs.h >>conftest.$ac_ext
33468 cat >>conftest.$ac_ext <<_ACEOF
33469 /* end confdefs.h. */
33471 /* Override any GCC internal prototype to avoid an error.
33472 Use char because int might match the return type of a GCC
33473 builtin and then its argument prototype would still apply. */
33477 char IceConnectionNumber ();
33481 return IceConnectionNumber ();
33486 rm -f conftest.$ac_objext conftest$ac_exeext
33487 if { (ac_try="$ac_link"
33488 case "(($ac_try" in
33489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33490 *) ac_try_echo=$ac_try;;
33492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33493 (eval "$ac_link") 2>conftest.er1
33495 grep -v '^ *+' conftest.er1 >conftest.err
33497 cat conftest.err >&5
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); } && {
33500 test -z "$ac_c_werror_flag" ||
33501 test ! -s conftest.err
33502 } && test -s conftest$ac_exeext &&
33503 $as_test_x conftest$ac_exeext; then
33504 ac_cv_lib_ICE_IceConnectionNumber=yes
33506 echo "$as_me: failed program was:" >&5
33507 sed 's/^/| /' conftest.$ac_ext >&5
33509 ac_cv_lib_ICE_IceConnectionNumber=no
33512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33513 conftest$ac_exeext conftest.$ac_ext
33514 LIBS=$ac_check_lib_save_LIBS
33516 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33517 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33518 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33519 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33522 LDFLAGS=$ac_save_LDFLAGS
33527 if test "$no_x" = "yes"; then
33528 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33529 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33530 { (exit 1); exit 1; }; }
33533 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33534 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33535 AFMINSTALL=afminstall
33536 COMPILED_X_PROGRAM=0
33540 if test "$wxUSE_X11" = 1; then
33541 if test "$wxUSE_NANOX" = "yes"; then
33542 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33543 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33544 if test "x$MICROWIN" = x ; then
33545 { echo "$as_me:$LINENO: result: not found" >&5
33546 echo "${ECHO_T}not found" >&6; }
33547 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33548 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33549 { (exit 1); exit 1; }; }
33551 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33552 echo "${ECHO_T}$MICROWIN" >&6; }
33553 cat >>confdefs.h <<\_ACEOF
33554 #define wxUSE_NANOX 1
33560 if test "$wxUSE_UNICODE" = "yes"; then
33563 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33564 if test -n "$ac_tool_prefix"; then
33565 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33566 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33569 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33570 echo $ECHO_N "(cached) $ECHO_C" >&6
33572 case $PKG_CONFIG in
33574 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33578 for as_dir in $PATH
33581 test -z "$as_dir" && as_dir=.
33582 for ac_exec_ext in '' $ac_executable_extensions; do
33583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33584 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33595 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33596 if test -n "$PKG_CONFIG"; then
33597 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33598 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33600 { echo "$as_me:$LINENO: result: no" >&5
33601 echo "${ECHO_T}no" >&6; }
33606 if test -z "$ac_cv_path_PKG_CONFIG"; then
33607 ac_pt_PKG_CONFIG=$PKG_CONFIG
33608 # Extract the first word of "pkg-config", so it can be a program name with args.
33609 set dummy pkg-config; ac_word=$2
33610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33612 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33613 echo $ECHO_N "(cached) $ECHO_C" >&6
33615 case $ac_pt_PKG_CONFIG in
33617 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33621 for as_dir in $PATH
33624 test -z "$as_dir" && as_dir=.
33625 for ac_exec_ext in '' $ac_executable_extensions; do
33626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33627 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33638 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33639 if test -n "$ac_pt_PKG_CONFIG"; then
33640 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33641 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33643 { echo "$as_me:$LINENO: result: no" >&5
33644 echo "${ECHO_T}no" >&6; }
33647 if test "x$ac_pt_PKG_CONFIG" = x; then
33650 case $cross_compiling:$ac_tool_warned in
33652 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33653 whose name does not start with the host triplet. If you think this
33654 configuration is useful to you, please write to autoconf@gnu.org." >&5
33655 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33656 whose name does not start with the host triplet. If you think this
33657 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33658 ac_tool_warned=yes ;;
33660 PKG_CONFIG=$ac_pt_PKG_CONFIG
33663 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33667 if test -n "$PKG_CONFIG"; then
33668 _pkg_min_version=0.9.0
33669 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33670 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33671 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33672 { echo "$as_me:$LINENO: result: yes" >&5
33673 echo "${ECHO_T}yes" >&6; }
33675 { echo "$as_me:$LINENO: result: no" >&5
33676 echo "${ECHO_T}no" >&6; }
33684 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33685 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33687 if test -n "$PKG_CONFIG"; then
33688 if test -n "$PANGOX_CFLAGS"; then
33689 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33691 if test -n "$PKG_CONFIG" && \
33692 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33693 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); }; then
33697 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33705 if test -n "$PKG_CONFIG"; then
33706 if test -n "$PANGOX_LIBS"; then
33707 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33709 if test -n "$PKG_CONFIG" && \
33710 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33711 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714 (exit $ac_status); }; then
33715 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33726 if test $pkg_failed = yes; then
33728 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33729 _pkg_short_errors_supported=yes
33731 _pkg_short_errors_supported=no
33733 if test $_pkg_short_errors_supported = yes; then
33734 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33736 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33738 # Put the nasty error message in config.log where it belongs
33739 echo "$PANGOX_PKG_ERRORS" >&5
33742 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33743 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33744 { (exit 1); exit 1; }; }
33747 elif test $pkg_failed = untried; then
33749 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33750 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33751 { (exit 1); exit 1; }; }
33755 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33756 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33757 { echo "$as_me:$LINENO: result: yes" >&5
33758 echo "${ECHO_T}yes" >&6; }
33760 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33761 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33762 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33767 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33768 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33770 if test -n "$PKG_CONFIG"; then
33771 if test -n "$PANGOFT2_CFLAGS"; then
33772 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33774 if test -n "$PKG_CONFIG" && \
33775 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33776 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); }; then
33780 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33788 if test -n "$PKG_CONFIG"; then
33789 if test -n "$PANGOFT2_LIBS"; then
33790 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33792 if test -n "$PKG_CONFIG" && \
33793 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33794 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); }; then
33798 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33809 if test $pkg_failed = yes; then
33811 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33812 _pkg_short_errors_supported=yes
33814 _pkg_short_errors_supported=no
33816 if test $_pkg_short_errors_supported = yes; then
33817 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33819 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33821 # Put the nasty error message in config.log where it belongs
33822 echo "$PANGOFT2_PKG_ERRORS" >&5
33825 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33826 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33827 wxUSE_PRINTING_ARCHITECTURE="no"
33830 elif test $pkg_failed = untried; then
33832 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33833 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33834 wxUSE_PRINTING_ARCHITECTURE="no"
33838 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33839 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33840 { echo "$as_me:$LINENO: result: yes" >&5
33841 echo "${ECHO_T}yes" >&6; }
33843 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33844 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33845 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33850 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33851 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33853 if test -n "$PKG_CONFIG"; then
33854 if test -n "$PANGOXFT_CFLAGS"; then
33855 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33857 if test -n "$PKG_CONFIG" && \
33858 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33859 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862 (exit $ac_status); }; then
33863 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33871 if test -n "$PKG_CONFIG"; then
33872 if test -n "$PANGOXFT_LIBS"; then
33873 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33875 if test -n "$PKG_CONFIG" && \
33876 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33877 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); }; then
33881 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33892 if test $pkg_failed = yes; then
33894 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33895 _pkg_short_errors_supported=yes
33897 _pkg_short_errors_supported=no
33899 if test $_pkg_short_errors_supported = yes; then
33900 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33902 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33904 # Put the nasty error message in config.log where it belongs
33905 echo "$PANGOXFT_PKG_ERRORS" >&5
33908 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33909 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33912 elif test $pkg_failed = untried; then
33914 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33915 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33919 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33920 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33921 { echo "$as_me:$LINENO: result: yes" >&5
33922 echo "${ECHO_T}yes" >&6; }
33924 cat >>confdefs.h <<\_ACEOF
33925 #define HAVE_PANGO_XFT 1
33928 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33929 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33930 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33934 LIBS="$LIBS $PANGOX_LIBS"
33936 for ac_func in pango_font_family_is_monospace
33938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33942 echo $ECHO_N "(cached) $ECHO_C" >&6
33944 cat >conftest.$ac_ext <<_ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33952 #define $ac_func innocuous_$ac_func
33954 /* System header to define __stub macros and hopefully few prototypes,
33955 which can conflict with char $ac_func (); below.
33956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33957 <limits.h> exists even on freestanding compilers. */
33960 # include <limits.h>
33962 # include <assert.h>
33967 /* Override any GCC internal prototype to avoid an error.
33968 Use char because int might match the return type of a GCC
33969 builtin and then its argument prototype would still apply. */
33974 /* The GNU C library defines this for functions which it implements
33975 to always fail with ENOSYS. Some functions are actually named
33976 something starting with __ and the normal name is an alias. */
33977 #if defined __stub_$ac_func || defined __stub___$ac_func
33984 return $ac_func ();
33989 rm -f conftest.$ac_objext conftest$ac_exeext
33990 if { (ac_try="$ac_link"
33991 case "(($ac_try" in
33992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33993 *) ac_try_echo=$ac_try;;
33995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33996 (eval "$ac_link") 2>conftest.er1
33998 grep -v '^ *+' conftest.er1 >conftest.err
34000 cat conftest.err >&5
34001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34002 (exit $ac_status); } && {
34003 test -z "$ac_c_werror_flag" ||
34004 test ! -s conftest.err
34005 } && test -s conftest$ac_exeext &&
34006 $as_test_x conftest$ac_exeext; then
34007 eval "$as_ac_var=yes"
34009 echo "$as_me: failed program was:" >&5
34010 sed 's/^/| /' conftest.$ac_ext >&5
34012 eval "$as_ac_var=no"
34015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34016 conftest$ac_exeext conftest.$ac_ext
34018 ac_res=`eval echo '${'$as_ac_var'}'`
34019 { echo "$as_me:$LINENO: result: $ac_res" >&5
34020 echo "${ECHO_T}$ac_res" >&6; }
34021 if test `eval echo '${'$as_ac_var'}'` = yes; then
34022 cat >>confdefs.h <<_ACEOF
34023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34032 wxUSE_UNIVERSAL="yes"
34034 if test "$wxUSE_NANOX" = "yes"; then
34035 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34036 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"
34037 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34039 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34046 if test "$wxUSE_MOTIF" = 1; then
34047 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34048 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34051 for ac_dir in $SEARCH_INCLUDE /usr/include;
34053 if test -f "$ac_dir/Xm/Xm.h"; then
34054 ac_find_includes=$ac_dir
34059 if test "$ac_find_includes" != "" ; then
34060 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34061 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34063 if test "x$ac_find_includes" = "x/usr/include"; then
34064 ac_path_to_include=""
34066 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34068 if test $result = 0; then
34069 ac_path_to_include=""
34071 ac_path_to_include=" -I$ac_find_includes"
34075 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34077 save_CFLAGS=$CFLAGS
34078 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34080 cat >conftest.$ac_ext <<_ACEOF
34083 cat confdefs.h >>conftest.$ac_ext
34084 cat >>conftest.$ac_ext <<_ACEOF
34085 /* end confdefs.h. */
34094 version = xmUseVersion;
34100 rm -f conftest.$ac_objext
34101 if { (ac_try="$ac_compile"
34102 case "(($ac_try" in
34103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34104 *) ac_try_echo=$ac_try;;
34106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34107 (eval "$ac_compile") 2>conftest.er1
34109 grep -v '^ *+' conftest.er1 >conftest.err
34111 cat conftest.err >&5
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); } && {
34114 test -z "$ac_c_werror_flag" ||
34115 test ! -s conftest.err
34116 } && test -s conftest.$ac_objext; then
34118 { echo "$as_me:$LINENO: result: found in default search path" >&5
34119 echo "${ECHO_T}found in default search path" >&6; }
34120 COMPILED_X_PROGRAM=1
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34127 { echo "$as_me:$LINENO: result: no" >&5
34128 echo "${ECHO_T}no" >&6; }
34129 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34130 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34131 { (exit 1); exit 1; }; }
34136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34138 CFLAGS=$save_CFLAGS
34142 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34143 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34146 for ac_dir in $SEARCH_LIB;
34148 for ac_extension in a so sl dylib dll.a; do
34149 if test -f "$ac_dir/libXm.$ac_extension"; then
34150 ac_find_libraries=$ac_dir
34157 if test "x$ac_find_libraries" != "x" ; then
34158 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34159 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34162 if test "$ac_find_libraries" = "default location"; then
34165 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34167 if test $result = 0; then
34170 ac_path_to_link=" -L$ac_find_libraries"
34174 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34176 save_CFLAGS=$CFLAGS
34177 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34179 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34181 cat >conftest.$ac_ext <<_ACEOF
34184 cat confdefs.h >>conftest.$ac_ext
34185 cat >>conftest.$ac_ext <<_ACEOF
34186 /* end confdefs.h. */
34195 version = xmUseVersion;
34201 rm -f conftest.$ac_objext conftest$ac_exeext
34202 if { (ac_try="$ac_link"
34203 case "(($ac_try" in
34204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34205 *) ac_try_echo=$ac_try;;
34207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34208 (eval "$ac_link") 2>conftest.er1
34210 grep -v '^ *+' conftest.er1 >conftest.err
34212 cat conftest.err >&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); } && {
34215 test -z "$ac_c_werror_flag" ||
34216 test ! -s conftest.err
34217 } && test -s conftest$ac_exeext &&
34218 $as_test_x conftest$ac_exeext; then
34220 { echo "$as_me:$LINENO: result: found in default search path" >&5
34221 echo "${ECHO_T}found in default search path" >&6; }
34222 COMPILED_X_PROGRAM=1
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.$ac_ext >&5
34229 { echo "$as_me:$LINENO: result: no" >&5
34230 echo "${ECHO_T}no" >&6; }
34231 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34232 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34233 { (exit 1); exit 1; }; }
34238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34239 conftest$ac_exeext conftest.$ac_ext
34241 CFLAGS=$save_CFLAGS
34245 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34246 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34250 for libp in "" " -lXp"; do
34251 if test "$libs_found" = "0"; then
34252 for libsm_ice in "" " -lSM -lICE"; do
34253 if test "$libs_found" = "0"; then
34255 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34256 save_CFLAGS=$CFLAGS
34257 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34259 cat >conftest.$ac_ext <<_ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34267 #include <Xm/List.h>
34273 XmString string = NULL;
34276 XmListAddItem(w, string, position);
34282 rm -f conftest.$ac_objext conftest$ac_exeext
34283 if { (ac_try="$ac_link"
34284 case "(($ac_try" in
34285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34286 *) ac_try_echo=$ac_try;;
34288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34289 (eval "$ac_link") 2>conftest.er1
34291 grep -v '^ *+' conftest.er1 >conftest.err
34293 cat conftest.err >&5
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); } && {
34296 test -z "$ac_c_werror_flag" ||
34297 test ! -s conftest.err
34298 } && test -s conftest$ac_exeext &&
34299 $as_test_x conftest$ac_exeext; then
34302 libsm_ice_link="$libsm_ice"
34303 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34304 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34308 echo "$as_me: failed program was:" >&5
34309 sed 's/^/| /' conftest.$ac_ext >&5
34315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34316 conftest$ac_exeext conftest.$ac_ext
34319 CFLAGS=$save_CFLAGS
34325 if test "$libs_found" = "0"; then
34326 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34327 echo "${ECHO_T}can't find the right libraries" >&6; }
34328 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34329 echo "$as_me: error: can't link a simple motif program" >&2;}
34330 { (exit 1); exit 1; }; }
34333 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34334 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34335 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34338 ac_check_lib_save_LIBS=$LIBS
34340 cat >conftest.$ac_ext <<_ACEOF
34343 cat confdefs.h >>conftest.$ac_ext
34344 cat >>conftest.$ac_ext <<_ACEOF
34345 /* end confdefs.h. */
34347 /* Override any GCC internal prototype to avoid an error.
34348 Use char because int might match the return type of a GCC
34349 builtin and then its argument prototype would still apply. */
34353 char SgCreateList ();
34357 return SgCreateList ();
34362 rm -f conftest.$ac_objext conftest$ac_exeext
34363 if { (ac_try="$ac_link"
34364 case "(($ac_try" in
34365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34366 *) ac_try_echo=$ac_try;;
34368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34369 (eval "$ac_link") 2>conftest.er1
34371 grep -v '^ *+' conftest.er1 >conftest.err
34373 cat conftest.err >&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); } && {
34376 test -z "$ac_c_werror_flag" ||
34377 test ! -s conftest.err
34378 } && test -s conftest$ac_exeext &&
34379 $as_test_x conftest$ac_exeext; then
34380 ac_cv_lib_Sgm_SgCreateList=yes
34382 echo "$as_me: failed program was:" >&5
34383 sed 's/^/| /' conftest.$ac_ext >&5
34385 ac_cv_lib_Sgm_SgCreateList=no
34388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34389 conftest$ac_exeext conftest.$ac_ext
34390 LIBS=$ac_check_lib_save_LIBS
34392 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34393 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34394 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34395 libsgm_link=" -lSgm"
34399 save_CFLAGS=$CFLAGS
34400 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34402 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34403 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34404 if test "${wx_cv_lib_motif2+set}" = set; then
34405 echo $ECHO_N "(cached) $ECHO_C" >&6
34407 cat >conftest.$ac_ext <<_ACEOF
34410 cat confdefs.h >>conftest.$ac_ext
34411 cat >>conftest.$ac_ext <<_ACEOF
34412 /* end confdefs.h. */
34420 #if XmVersion < 2000
34428 rm -f conftest.$ac_objext
34429 if { (ac_try="$ac_compile"
34430 case "(($ac_try" in
34431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34432 *) ac_try_echo=$ac_try;;
34434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34435 (eval "$ac_compile") 2>conftest.er1
34437 grep -v '^ *+' conftest.er1 >conftest.err
34439 cat conftest.err >&5
34440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34441 (exit $ac_status); } && {
34442 test -z "$ac_c_werror_flag" ||
34443 test ! -s conftest.err
34444 } && test -s conftest.$ac_objext; then
34445 wx_cv_lib_motif2="yes"
34447 echo "$as_me: failed program was:" >&5
34448 sed 's/^/| /' conftest.$ac_ext >&5
34450 wx_cv_lib_motif2="no"
34453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34455 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34456 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34457 if test "$wx_cv_lib_motif2" = "yes"; then
34458 cat >>confdefs.h <<\_ACEOF
34459 #define __WXMOTIF20__ 1
34463 cat >>confdefs.h <<\_ACEOF
34464 #define __WXMOTIF20__ 0
34469 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34470 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34471 if test "${wx_cv_lib_lesstif+set}" = set; then
34472 echo $ECHO_N "(cached) $ECHO_C" >&6
34474 cat >conftest.$ac_ext <<_ACEOF
34477 cat confdefs.h >>conftest.$ac_ext
34478 cat >>conftest.$ac_ext <<_ACEOF
34479 /* end confdefs.h. */
34487 #if !defined(LesstifVersion) || LesstifVersion <= 0
34495 rm -f conftest.$ac_objext
34496 if { (ac_try="$ac_compile"
34497 case "(($ac_try" in
34498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34499 *) ac_try_echo=$ac_try;;
34501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34502 (eval "$ac_compile") 2>conftest.er1
34504 grep -v '^ *+' conftest.er1 >conftest.err
34506 cat conftest.err >&5
34507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34508 (exit $ac_status); } && {
34509 test -z "$ac_c_werror_flag" ||
34510 test ! -s conftest.err
34511 } && test -s conftest.$ac_objext; then
34512 wx_cv_lib_lesstif="yes"
34514 echo "$as_me: failed program was:" >&5
34515 sed 's/^/| /' conftest.$ac_ext >&5
34517 wx_cv_lib_lesstif="no"
34520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34523 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34524 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34525 if test "$wx_cv_lib_lesstif" = "yes"; then
34526 cat >>confdefs.h <<\_ACEOF
34527 #define __WXLESSTIF__ 1
34531 cat >>confdefs.h <<\_ACEOF
34532 #define __WXLESSTIF__ 0
34537 CFLAGS=$save_CFLAGS
34539 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34544 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34545 if test "$wxUSE_LIBXPM" = "sys"; then
34546 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34547 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34550 for ac_dir in $SEARCH_LIB;
34552 for ac_extension in a so sl dylib dll.a; do
34553 if test -f "$ac_dir/libXpm.$ac_extension"; then
34554 ac_find_libraries=$ac_dir
34560 if test "$ac_find_libraries" != "" ; then
34562 if test "$ac_find_libraries" = "default location"; then
34565 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34567 if test $result = 0; then
34570 ac_path_to_link=" -L$ac_find_libraries"
34574 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34575 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34576 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34578 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34579 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34580 if test "${wx_cv_x11_xpm_h+set}" = set; then
34581 echo $ECHO_N "(cached) $ECHO_C" >&6
34584 save_CFLAGS=$CFLAGS
34585 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34587 cat >conftest.$ac_ext <<_ACEOF
34590 cat confdefs.h >>conftest.$ac_ext
34591 cat >>conftest.$ac_ext <<_ACEOF
34592 /* end confdefs.h. */
34594 #include <X11/xpm.h>
34601 version = XpmLibraryVersion();
34607 rm -f conftest.$ac_objext
34608 if { (ac_try="$ac_compile"
34609 case "(($ac_try" in
34610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34611 *) ac_try_echo=$ac_try;;
34613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34614 (eval "$ac_compile") 2>conftest.er1
34616 grep -v '^ *+' conftest.er1 >conftest.err
34618 cat conftest.err >&5
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); } && {
34621 test -z "$ac_c_werror_flag" ||
34622 test ! -s conftest.err
34623 } && test -s conftest.$ac_objext; then
34624 wx_cv_x11_xpm_h=yes
34626 echo "$as_me: failed program was:" >&5
34627 sed 's/^/| /' conftest.$ac_ext >&5
34633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34635 CFLAGS=$save_CFLAGS
34639 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34640 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34642 if test $wx_cv_x11_xpm_h = "yes"; then
34643 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34644 cat >>confdefs.h <<\_ACEOF
34645 #define wxHAVE_LIB_XPM 1
34649 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34650 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34656 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34657 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34658 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34659 echo $ECHO_N "(cached) $ECHO_C" >&6
34661 ac_check_lib_save_LIBS=$LIBS
34662 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34663 cat >conftest.$ac_ext <<_ACEOF
34666 cat confdefs.h >>conftest.$ac_ext
34667 cat >>conftest.$ac_ext <<_ACEOF
34668 /* end confdefs.h. */
34670 /* Override any GCC internal prototype to avoid an error.
34671 Use char because int might match the return type of a GCC
34672 builtin and then its argument prototype would still apply. */
34676 char XShapeQueryExtension ();
34680 return XShapeQueryExtension ();
34685 rm -f conftest.$ac_objext conftest$ac_exeext
34686 if { (ac_try="$ac_link"
34687 case "(($ac_try" in
34688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34689 *) ac_try_echo=$ac_try;;
34691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34692 (eval "$ac_link") 2>conftest.er1
34694 grep -v '^ *+' conftest.er1 >conftest.err
34696 cat conftest.err >&5
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); } && {
34699 test -z "$ac_c_werror_flag" ||
34700 test ! -s conftest.err
34701 } && test -s conftest$ac_exeext &&
34702 $as_test_x conftest$ac_exeext; then
34703 ac_cv_lib_Xext_XShapeQueryExtension=yes
34705 echo "$as_me: failed program was:" >&5
34706 sed 's/^/| /' conftest.$ac_ext >&5
34708 ac_cv_lib_Xext_XShapeQueryExtension=no
34711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34712 conftest$ac_exeext conftest.$ac_ext
34713 LIBS=$ac_check_lib_save_LIBS
34715 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34716 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34717 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34719 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34725 if test "$wxHAVE_XEXT_LIB" = 1; then
34726 save_CFLAGS="$CFLAGS"
34727 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34729 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34730 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34731 cat >conftest.$ac_ext <<_ACEOF
34734 cat confdefs.h >>conftest.$ac_ext
34735 cat >>conftest.$ac_ext <<_ACEOF
34736 /* end confdefs.h. */
34738 #include <X11/Xlib.h>
34739 #include <X11/extensions/shape.h>
34745 int dummy1, dummy2;
34746 XShapeQueryExtension((Display*)NULL,
34747 (int*)NULL, (int*)NULL);
34753 rm -f conftest.$ac_objext
34754 if { (ac_try="$ac_compile"
34755 case "(($ac_try" in
34756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34757 *) ac_try_echo=$ac_try;;
34759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34760 (eval "$ac_compile") 2>conftest.er1
34762 grep -v '^ *+' conftest.er1 >conftest.err
34764 cat conftest.err >&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); } && {
34767 test -z "$ac_c_werror_flag" ||
34768 test ! -s conftest.err
34769 } && test -s conftest.$ac_objext; then
34771 cat >>confdefs.h <<\_ACEOF
34772 #define HAVE_XSHAPE 1
34775 { echo "$as_me:$LINENO: result: found" >&5
34776 echo "${ECHO_T}found" >&6; }
34779 echo "$as_me: failed program was:" >&5
34780 sed 's/^/| /' conftest.$ac_ext >&5
34783 { echo "$as_me:$LINENO: result: not found" >&5
34784 echo "${ECHO_T}not found" >&6; }
34788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34789 CFLAGS="$save_CFLAGS"
34794 if test "$wxUSE_MAC" = 1; then
34795 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34796 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34797 if test "$GCC" = yes; then
34798 { echo "$as_me:$LINENO: result: gcc" >&5
34799 echo "${ECHO_T}gcc" >&6; }
34800 CPPFLAGS_PASCAL="-fpascal-strings"
34801 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34802 { echo "$as_me:$LINENO: result: xlc" >&5
34803 echo "${ECHO_T}xlc" >&6; }
34804 CPPFLAGS_PASCAL="-qmacpstr"
34806 { echo "$as_me:$LINENO: result: none" >&5
34807 echo "${ECHO_T}none" >&6; }
34810 if test "x$wxUSE_UNIX" = "xyes"; then
34811 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34813 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34818 WXBASEPORT="_carbon"
34821 if test "$wxUSE_COCOA" = 1; then
34826 if test "$wxUSE_PM" = 1; then
34829 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34830 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34831 if test "${wx_cv_spbcdata+set}" = set; then
34832 echo $ECHO_N "(cached) $ECHO_C" >&6
34835 cat >conftest.$ac_ext <<_ACEOF
34838 cat confdefs.h >>conftest.$ac_ext
34839 cat >>conftest.$ac_ext <<_ACEOF
34840 /* end confdefs.h. */
34855 rm -f conftest.$ac_objext
34856 if { (ac_try="$ac_compile"
34857 case "(($ac_try" in
34858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34859 *) ac_try_echo=$ac_try;;
34861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34862 (eval "$ac_compile") 2>conftest.er1
34864 grep -v '^ *+' conftest.er1 >conftest.err
34866 cat conftest.err >&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); } && {
34869 test -z "$ac_c_werror_flag" ||
34870 test ! -s conftest.err
34871 } && test -s conftest.$ac_objext; then
34874 echo "$as_me: failed program was:" >&5
34875 sed 's/^/| /' conftest.$ac_ext >&5
34881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34885 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34886 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34888 if test $wx_cv_spbcdata = "yes"; then
34889 cat >>confdefs.h <<\_ACEOF
34890 #define HAVE_SPBCDATA 1
34896 if test "$TOOLKIT" = "PM" ; then
34899 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34902 if test "$wxUSE_UNIVERSAL" = "yes"; then
34903 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34907 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34908 DISTDIR="wx\$(TOOLKIT)"
34914 if test "$USE_WIN32" = 1 ; then
34918 GUIDIST="BASE_DIST"
34924 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34925 if test "$TOOLKIT" = "DFB" ; then
34926 wxUSE_UNICODE_UTF8=yes
34927 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34928 wxUSE_UNICODE_UTF8=yes
34929 elif test "$USE_OS2" = "1" ; then
34930 wxUSE_UNICODE_UTF8=yes
34932 wxUSE_UNICODE_UTF8=no
34937 if test "$wxUSE_GUI" = "yes"; then
34938 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34940 for ac_header in X11/Xlib.h
34942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34943 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34946 echo $ECHO_N "(cached) $ECHO_C" >&6
34948 cat >conftest.$ac_ext <<_ACEOF
34951 cat confdefs.h >>conftest.$ac_ext
34952 cat >>conftest.$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34956 #include <$ac_header>
34958 rm -f conftest.$ac_objext
34959 if { (ac_try="$ac_compile"
34960 case "(($ac_try" in
34961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34962 *) ac_try_echo=$ac_try;;
34964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34965 (eval "$ac_compile") 2>conftest.er1
34967 grep -v '^ *+' conftest.er1 >conftest.err
34969 cat conftest.err >&5
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); } && {
34972 test -z "$ac_c_werror_flag" ||
34973 test ! -s conftest.err
34974 } && test -s conftest.$ac_objext; then
34975 eval "$as_ac_Header=yes"
34977 echo "$as_me: failed program was:" >&5
34978 sed 's/^/| /' conftest.$ac_ext >&5
34980 eval "$as_ac_Header=no"
34983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34985 ac_res=`eval echo '${'$as_ac_Header'}'`
34986 { echo "$as_me:$LINENO: result: $ac_res" >&5
34987 echo "${ECHO_T}$ac_res" >&6; }
34988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34989 cat >>confdefs.h <<_ACEOF
34990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34998 for ac_header in X11/XKBlib.h
35000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35001 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35004 echo $ECHO_N "(cached) $ECHO_C" >&6
35006 cat >conftest.$ac_ext <<_ACEOF
35009 cat confdefs.h >>conftest.$ac_ext
35010 cat >>conftest.$ac_ext <<_ACEOF
35011 /* end confdefs.h. */
35013 #if HAVE_X11_XLIB_H
35014 #include <X11/Xlib.h>
35018 #include <$ac_header>
35020 rm -f conftest.$ac_objext
35021 if { (ac_try="$ac_compile"
35022 case "(($ac_try" in
35023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35024 *) ac_try_echo=$ac_try;;
35026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35027 (eval "$ac_compile") 2>conftest.er1
35029 grep -v '^ *+' conftest.er1 >conftest.err
35031 cat conftest.err >&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); } && {
35034 test -z "$ac_c_werror_flag" ||
35035 test ! -s conftest.err
35036 } && test -s conftest.$ac_objext; then
35037 eval "$as_ac_Header=yes"
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.$ac_ext >&5
35042 eval "$as_ac_Header=no"
35045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35047 ac_res=`eval echo '${'$as_ac_Header'}'`
35048 { echo "$as_me:$LINENO: result: $ac_res" >&5
35049 echo "${ECHO_T}$ac_res" >&6; }
35050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35051 cat >>confdefs.h <<_ACEOF
35052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35067 if test "$TOOLKIT" != "MSW" ; then
35069 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35071 { echo "$as_me:$LINENO: checking for sql.h" >&5
35072 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35073 if test "${ac_cv_header_sql_h+set}" = set; then
35074 echo $ECHO_N "(cached) $ECHO_C" >&6
35076 cat >conftest.$ac_ext <<_ACEOF
35079 cat confdefs.h >>conftest.$ac_ext
35080 cat >>conftest.$ac_ext <<_ACEOF
35081 /* end confdefs.h. */
35086 rm -f conftest.$ac_objext
35087 if { (ac_try="$ac_compile"
35088 case "(($ac_try" in
35089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35090 *) ac_try_echo=$ac_try;;
35092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35093 (eval "$ac_compile") 2>conftest.er1
35095 grep -v '^ *+' conftest.er1 >conftest.err
35097 cat conftest.err >&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } && {
35100 test -z "$ac_c_werror_flag" ||
35101 test ! -s conftest.err
35102 } && test -s conftest.$ac_objext; then
35103 ac_cv_header_sql_h=yes
35105 echo "$as_me: failed program was:" >&5
35106 sed 's/^/| /' conftest.$ac_ext >&5
35108 ac_cv_header_sql_h=no
35111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35113 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35114 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35115 if test $ac_cv_header_sql_h = yes; then
35120 if test "x$found_sql_h" = "x1" ; then
35121 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35122 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35123 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35124 echo $ECHO_N "(cached) $ECHO_C" >&6
35126 ac_check_lib_save_LIBS=$LIBS
35127 LIBS="-liodbc $LIBS"
35128 cat >conftest.$ac_ext <<_ACEOF
35131 cat confdefs.h >>conftest.$ac_ext
35132 cat >>conftest.$ac_ext <<_ACEOF
35133 /* end confdefs.h. */
35135 /* Override any GCC internal prototype to avoid an error.
35136 Use char because int might match the return type of a GCC
35137 builtin and then its argument prototype would still apply. */
35141 char SQLAllocEnv ();
35145 return SQLAllocEnv ();
35150 rm -f conftest.$ac_objext conftest$ac_exeext
35151 if { (ac_try="$ac_link"
35152 case "(($ac_try" in
35153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35154 *) ac_try_echo=$ac_try;;
35156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35157 (eval "$ac_link") 2>conftest.er1
35159 grep -v '^ *+' conftest.er1 >conftest.err
35161 cat conftest.err >&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); } && {
35164 test -z "$ac_c_werror_flag" ||
35165 test ! -s conftest.err
35166 } && test -s conftest$ac_exeext &&
35167 $as_test_x conftest$ac_exeext; then
35168 ac_cv_lib_iodbc_SQLAllocEnv=yes
35170 echo "$as_me: failed program was:" >&5
35171 sed 's/^/| /' conftest.$ac_ext >&5
35173 ac_cv_lib_iodbc_SQLAllocEnv=no
35176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35177 conftest$ac_exeext conftest.$ac_ext
35178 LIBS=$ac_check_lib_save_LIBS
35180 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35181 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35182 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35183 ODBC_LINK=" -liodbc"
35186 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35187 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35188 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35189 echo $ECHO_N "(cached) $ECHO_C" >&6
35191 ac_check_lib_save_LIBS=$LIBS
35192 LIBS="-lunixodbc $LIBS"
35193 cat >conftest.$ac_ext <<_ACEOF
35196 cat confdefs.h >>conftest.$ac_ext
35197 cat >>conftest.$ac_ext <<_ACEOF
35198 /* end confdefs.h. */
35200 /* Override any GCC internal prototype to avoid an error.
35201 Use char because int might match the return type of a GCC
35202 builtin and then its argument prototype would still apply. */
35206 char SQLAllocEnv ();
35210 return SQLAllocEnv ();
35215 rm -f conftest.$ac_objext conftest$ac_exeext
35216 if { (ac_try="$ac_link"
35217 case "(($ac_try" in
35218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35219 *) ac_try_echo=$ac_try;;
35221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35222 (eval "$ac_link") 2>conftest.er1
35224 grep -v '^ *+' conftest.er1 >conftest.err
35226 cat conftest.err >&5
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); } && {
35229 test -z "$ac_c_werror_flag" ||
35230 test ! -s conftest.err
35231 } && test -s conftest$ac_exeext &&
35232 $as_test_x conftest$ac_exeext; then
35233 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35235 echo "$as_me: failed program was:" >&5
35236 sed 's/^/| /' conftest.$ac_ext >&5
35238 ac_cv_lib_unixodbc_SQLAllocEnv=no
35241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35242 conftest$ac_exeext conftest.$ac_ext
35243 LIBS=$ac_check_lib_save_LIBS
35245 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35246 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35247 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35248 ODBC_LINK=" -lunixodbc"
35251 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35252 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35253 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35254 echo $ECHO_N "(cached) $ECHO_C" >&6
35256 ac_check_lib_save_LIBS=$LIBS
35257 LIBS="-lodbc $LIBS"
35258 cat >conftest.$ac_ext <<_ACEOF
35261 cat confdefs.h >>conftest.$ac_ext
35262 cat >>conftest.$ac_ext <<_ACEOF
35263 /* end confdefs.h. */
35265 /* Override any GCC internal prototype to avoid an error.
35266 Use char because int might match the return type of a GCC
35267 builtin and then its argument prototype would still apply. */
35271 char SQLAllocEnv ();
35275 return SQLAllocEnv ();
35280 rm -f conftest.$ac_objext conftest$ac_exeext
35281 if { (ac_try="$ac_link"
35282 case "(($ac_try" in
35283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35284 *) ac_try_echo=$ac_try;;
35286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35287 (eval "$ac_link") 2>conftest.er1
35289 grep -v '^ *+' conftest.er1 >conftest.err
35291 cat conftest.err >&5
35292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293 (exit $ac_status); } && {
35294 test -z "$ac_c_werror_flag" ||
35295 test ! -s conftest.err
35296 } && test -s conftest$ac_exeext &&
35297 $as_test_x conftest$ac_exeext; then
35298 ac_cv_lib_odbc_SQLAllocEnv=yes
35300 echo "$as_me: failed program was:" >&5
35301 sed 's/^/| /' conftest.$ac_ext >&5
35303 ac_cv_lib_odbc_SQLAllocEnv=no
35306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35307 conftest$ac_exeext conftest.$ac_ext
35308 LIBS=$ac_check_lib_save_LIBS
35310 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35311 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35312 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35313 ODBC_LINK=" -lodbc"
35323 if test "x$ODBC_LINK" = "x" ; then
35324 if test "$wxUSE_ODBC" = "sys" ; then
35325 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35326 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35327 { (exit 1); exit 1; }; }
35329 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35330 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35338 if test "$wxUSE_ODBC" = "builtin" ; then
35339 cat >>confdefs.h <<\_ACEOF
35340 #define wxUSE_BUILTIN_IODBC 1
35346 if test "$wxUSE_ODBC" != "no" ; then
35347 cat >>confdefs.h <<\_ACEOF
35348 #define wxUSE_ODBC 1
35351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35353 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35357 if test "$wxUSE_DISPLAY" = "yes"; then
35358 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35359 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35360 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35363 for ac_dir in $SEARCH_LIB;
35365 for ac_extension in a so sl dylib dll.a; do
35366 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35367 ac_find_libraries=$ac_dir
35373 if test "$ac_find_libraries" != "" ; then
35375 if test "$ac_find_libraries" = "default location"; then
35378 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35380 if test $result = 0; then
35383 ac_path_to_link=" -L$ac_find_libraries"
35387 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35388 LDFLAGS="$LDFLAGS $ac_path_to_link"
35390 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35391 { echo "$as_me:$LINENO: result: yes" >&5
35392 echo "${ECHO_T}yes" >&6; }
35394 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35395 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35398 for ac_dir in $SEARCH_LIB;
35400 for ac_extension in a so sl dylib dll.a; do
35401 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35402 ac_find_libraries=$ac_dir
35408 if test "$ac_find_libraries" != "" ; then
35409 { echo "$as_me:$LINENO: result: yes" >&5
35410 echo "${ECHO_T}yes" >&6; }
35412 for ac_header in X11/extensions/xf86vmode.h
35414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35415 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35418 echo $ECHO_N "(cached) $ECHO_C" >&6
35420 cat >conftest.$ac_ext <<_ACEOF
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35427 #if HAVE_X11_XLIB_H
35428 #include <X11/Xlib.h>
35432 #include <$ac_header>
35434 rm -f conftest.$ac_objext
35435 if { (ac_try="$ac_compile"
35436 case "(($ac_try" in
35437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35438 *) ac_try_echo=$ac_try;;
35440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35441 (eval "$ac_compile") 2>conftest.er1
35443 grep -v '^ *+' conftest.er1 >conftest.err
35445 cat conftest.err >&5
35446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35447 (exit $ac_status); } && {
35448 test -z "$ac_c_werror_flag" ||
35449 test ! -s conftest.err
35450 } && test -s conftest.$ac_objext; then
35451 eval "$as_ac_Header=yes"
35453 echo "$as_me: failed program was:" >&5
35454 sed 's/^/| /' conftest.$ac_ext >&5
35456 eval "$as_ac_Header=no"
35459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35461 ac_res=`eval echo '${'$as_ac_Header'}'`
35462 { echo "$as_me:$LINENO: result: $ac_res" >&5
35463 echo "${ECHO_T}$ac_res" >&6; }
35464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35465 cat >>confdefs.h <<_ACEOF
35466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35469 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35476 { echo "$as_me:$LINENO: result: no" >&5
35477 echo "${ECHO_T}no" >&6; }
35481 { echo "$as_me:$LINENO: result: no" >&5
35482 echo "${ECHO_T}no" >&6; }
35483 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35484 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35487 elif test "$wxUSE_MSW" = 1; then
35488 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35489 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35490 if test "${ac_cv_header_ddraw_h+set}" = set; then
35491 echo $ECHO_N "(cached) $ECHO_C" >&6
35493 cat >conftest.$ac_ext <<_ACEOF
35496 cat confdefs.h >>conftest.$ac_ext
35497 cat >>conftest.$ac_ext <<_ACEOF
35498 /* end confdefs.h. */
35499 #include <windows.h>
35503 rm -f conftest.$ac_objext
35504 if { (ac_try="$ac_compile"
35505 case "(($ac_try" in
35506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35507 *) ac_try_echo=$ac_try;;
35509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35510 (eval "$ac_compile") 2>conftest.er1
35512 grep -v '^ *+' conftest.er1 >conftest.err
35514 cat conftest.err >&5
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); } && {
35517 test -z "$ac_c_werror_flag" ||
35518 test ! -s conftest.err
35519 } && test -s conftest.$ac_objext; then
35520 ac_cv_header_ddraw_h=yes
35522 echo "$as_me: failed program was:" >&5
35523 sed 's/^/| /' conftest.$ac_ext >&5
35525 ac_cv_header_ddraw_h=no
35528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35530 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35531 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35537 if test "$wxUSE_DETECT_SM" = "yes"; then
35538 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35539 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35540 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35543 for ac_dir in $SEARCH_LIB;
35545 for ac_extension in a so sl dylib dll.a; do
35546 if test -f "$ac_dir/libSM.$ac_extension"; then
35547 ac_find_libraries=$ac_dir
35553 if test "$ac_find_libraries" != "" ; then
35555 if test "$ac_find_libraries" = "default location"; then
35558 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35560 if test $result = 0; then
35563 ac_path_to_link=" -L$ac_find_libraries"
35567 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35568 LDFLAGS="$LDFLAGS $ac_path_to_link"
35570 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35571 { echo "$as_me:$LINENO: result: yes" >&5
35572 echo "${ECHO_T}yes" >&6; }
35574 { echo "$as_me:$LINENO: result: no" >&5
35575 echo "${ECHO_T}no" >&6; }
35576 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35577 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35578 wxUSE_DETECT_SM="no"
35581 wxUSE_DETECT_SM="no"
35588 if test "$wxUSE_OPENGL" = "yes"; then
35589 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35590 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35591 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35593 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35594 OPENGL_LIBS="-framework OpenGL -framework AGL"
35595 elif test "$wxUSE_MSW" = 1; then
35596 OPENGL_LIBS="-lopengl32 -lglu32"
35598 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35599 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35602 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35604 if test -f "$ac_dir/GL/gl.h"; then
35605 ac_find_includes=$ac_dir
35610 if test "$ac_find_includes" != "" ; then
35611 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35612 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35614 if test "x$ac_find_includes" = "x/usr/include"; then
35615 ac_path_to_include=""
35617 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35619 if test $result = 0; then
35620 ac_path_to_include=""
35622 ac_path_to_include=" -I$ac_find_includes"
35626 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35628 { echo "$as_me:$LINENO: result: not found" >&5
35629 echo "${ECHO_T}not found" >&6; }
35632 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35633 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35634 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35635 echo $ECHO_N "(cached) $ECHO_C" >&6
35637 cat >conftest.$ac_ext <<_ACEOF
35640 cat confdefs.h >>conftest.$ac_ext
35641 cat >>conftest.$ac_ext <<_ACEOF
35642 /* end confdefs.h. */
35647 rm -f conftest.$ac_objext
35648 if { (ac_try="$ac_compile"
35649 case "(($ac_try" in
35650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35651 *) ac_try_echo=$ac_try;;
35653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35654 (eval "$ac_compile") 2>conftest.er1
35656 grep -v '^ *+' conftest.er1 >conftest.err
35658 cat conftest.err >&5
35659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35660 (exit $ac_status); } && {
35661 test -z "$ac_c_werror_flag" ||
35662 test ! -s conftest.err
35663 } && test -s conftest.$ac_objext; then
35664 ac_cv_header_GL_gl_h=yes
35666 echo "$as_me: failed program was:" >&5
35667 sed 's/^/| /' conftest.$ac_ext >&5
35669 ac_cv_header_GL_gl_h=no
35672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35674 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35675 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35676 if test $ac_cv_header_GL_gl_h = yes; then
35678 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35679 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35680 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35681 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35682 echo $ECHO_N "(cached) $ECHO_C" >&6
35684 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35685 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35687 # Is the header compilable?
35688 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35689 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35690 cat >conftest.$ac_ext <<_ACEOF
35693 cat confdefs.h >>conftest.$ac_ext
35694 cat >>conftest.$ac_ext <<_ACEOF
35695 /* end confdefs.h. */
35696 $ac_includes_default
35697 #include <GL/glu.h>
35699 rm -f conftest.$ac_objext
35700 if { (ac_try="$ac_compile"
35701 case "(($ac_try" in
35702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35703 *) ac_try_echo=$ac_try;;
35705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35706 (eval "$ac_compile") 2>conftest.er1
35708 grep -v '^ *+' conftest.er1 >conftest.err
35710 cat conftest.err >&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); } && {
35713 test -z "$ac_c_werror_flag" ||
35714 test ! -s conftest.err
35715 } && test -s conftest.$ac_objext; then
35716 ac_header_compiler=yes
35718 echo "$as_me: failed program was:" >&5
35719 sed 's/^/| /' conftest.$ac_ext >&5
35721 ac_header_compiler=no
35724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35725 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35726 echo "${ECHO_T}$ac_header_compiler" >&6; }
35728 # Is the header present?
35729 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35730 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35731 cat >conftest.$ac_ext <<_ACEOF
35734 cat confdefs.h >>conftest.$ac_ext
35735 cat >>conftest.$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35737 #include <GL/glu.h>
35739 if { (ac_try="$ac_cpp conftest.$ac_ext"
35740 case "(($ac_try" in
35741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35742 *) ac_try_echo=$ac_try;;
35744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35747 grep -v '^ *+' conftest.er1 >conftest.err
35749 cat conftest.err >&5
35750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751 (exit $ac_status); } >/dev/null && {
35752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35753 test ! -s conftest.err
35755 ac_header_preproc=yes
35757 echo "$as_me: failed program was:" >&5
35758 sed 's/^/| /' conftest.$ac_ext >&5
35760 ac_header_preproc=no
35763 rm -f conftest.err conftest.$ac_ext
35764 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35765 echo "${ECHO_T}$ac_header_preproc" >&6; }
35767 # So? What about this header?
35768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35770 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35771 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35772 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35773 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35774 ac_header_preproc=yes
35777 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35778 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35779 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35780 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35781 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35782 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35783 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35784 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35785 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35786 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35787 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35788 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35790 ## ----------------------------------------- ##
35791 ## Report this to wx-dev@lists.wxwidgets.org ##
35792 ## ----------------------------------------- ##
35794 ) | sed "s/^/$as_me: WARNING: /" >&2
35797 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35798 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35799 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35800 echo $ECHO_N "(cached) $ECHO_C" >&6
35802 ac_cv_header_GL_glu_h=$ac_header_preproc
35804 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35805 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35808 if test $ac_cv_header_GL_glu_h = yes; then
35812 { echo "$as_me:$LINENO: checking for -lGL" >&5
35813 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35816 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35818 for ac_extension in a so sl dylib dll.a; do
35819 if test -f "$ac_dir/libGL.$ac_extension"; then
35820 ac_find_libraries=$ac_dir
35826 if test "$ac_find_libraries" != "" ; then
35827 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35828 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35831 if test "$ac_find_libraries" = "default location"; then
35834 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35836 if test $result = 0; then
35839 ac_path_to_link=" -L$ac_find_libraries"
35843 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35844 LDFLAGS_GL="$ac_path_to_link"
35847 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35848 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35851 for ac_dir in $SEARCH_LIB;
35853 for ac_extension in a so sl dylib dll.a; do
35854 if test -f "$ac_dir/libGLU.$ac_extension"; then
35855 ac_find_libraries=$ac_dir
35861 if test "$ac_find_libraries" != "" ; then
35863 if test "$ac_find_libraries" = "default location"; then
35866 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35868 if test $result = 0; then
35871 ac_path_to_link=" -L$ac_find_libraries"
35875 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35876 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35877 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35881 OPENGL_LIBS="-lGL -lGLU"
35882 { echo "$as_me:$LINENO: result: yes" >&5
35883 echo "${ECHO_T}yes" >&6; }
35885 { echo "$as_me:$LINENO: result: no" >&5
35886 echo "${ECHO_T}no" >&6; }
35889 { echo "$as_me:$LINENO: result: no" >&5
35890 echo "${ECHO_T}no" >&6; }
35893 if test "$found_gl" != 1; then
35894 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35895 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35898 for ac_dir in $SEARCH_LIB;
35900 for ac_extension in a so sl dylib dll.a; do
35901 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35902 ac_find_libraries=$ac_dir
35908 if test "$ac_find_libraries" != "" ; then
35910 if test "$ac_find_libraries" = "default location"; then
35913 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35915 if test $result = 0; then
35918 ac_path_to_link=" -L$ac_find_libraries"
35922 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35923 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35924 { echo "$as_me:$LINENO: result: yes" >&5
35925 echo "${ECHO_T}yes" >&6; }
35927 { echo "$as_me:$LINENO: result: no" >&5
35928 echo "${ECHO_T}no" >&6; }
35940 if test "x$OPENGL_LIBS" = "x"; then
35941 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35942 echo "$as_me: error: OpenGL libraries not available" >&2;}
35943 { (exit 1); exit 1; }; }
35947 if test "$wxUSE_OPENGL" = "yes"; then
35949 cat >>confdefs.h <<\_ACEOF
35950 #define wxUSE_OPENGL 1
35953 cat >>confdefs.h <<\_ACEOF
35954 #define wxUSE_GLCANVAS 1
35957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35962 if test -n "$TOOLKIT" ; then
35963 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35968 if test "$wxUSE_SHARED" = "yes"; then
35972 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35973 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35978 if test "$wxUSE_SHARED" = "yes"; then
35982 *-*-cygwin* | *-*-mingw* )
35983 wx_cv_version_script=no
35987 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35988 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35989 if test "${wx_cv_version_script+set}" = set; then
35990 echo $ECHO_N "(cached) $ECHO_C" >&6
35993 echo "VER_1 { *; };" >conftest.sym
35994 echo "int main() { return 0; }" >conftest.cpp
35997 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35998 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36000 (eval $ac_try) 2>&5
36002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36003 (exit $ac_status); }; } ; then
36004 if test -s conftest.stderr ; then
36005 wx_cv_version_script=no
36007 wx_cv_version_script=yes
36010 wx_cv_version_script=no
36013 if test $wx_cv_version_script = yes
36015 echo "struct B { virtual ~B() { } }; \
36016 struct D : public B { }; \
36017 void F() { D d; }" > conftest.cpp
36020 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36021 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36023 (eval $ac_try) 2>&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); }; } &&
36028 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36029 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031 (eval $ac_try) 2>&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); }; }
36037 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36038 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36040 (eval $ac_try) 2>&5
36042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36043 (exit $ac_status); }; }
36045 wx_cv_version_script=yes
36047 wx_cv_version_script=no
36052 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36053 rm -f conftest1.output conftest2.output conftest3.output
36056 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36057 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36059 if test $wx_cv_version_script = yes ; then
36060 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36066 if test "$wxUSE_VISIBILITY" != "no"; then
36069 if test -n "$GCC"; then
36070 CFLAGS_VISIBILITY="-fvisibility=hidden"
36071 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36072 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36073 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36074 if test "${wx_cv_cc_visibility+set}" = set; then
36075 echo $ECHO_N "(cached) $ECHO_C" >&6
36078 wx_save_CXXFLAGS="$CXXFLAGS"
36079 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36081 ac_cpp='$CXXCPP $CPPFLAGS'
36082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36086 cat >conftest.$ac_ext <<_ACEOF
36089 cat confdefs.h >>conftest.$ac_ext
36090 cat >>conftest.$ac_ext <<_ACEOF
36091 /* end confdefs.h. */
36093 /* we need gcc >= 4.0, older versions with visibility support
36094 didn't have class visibility: */
36095 #if defined(__GNUC__) && __GNUC__ < 4
36096 error this gcc is too old;
36099 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36100 extern __attribute__((__visibility__("default"))) int exportedvar;
36101 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36102 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36103 class __attribute__((__visibility__("default"))) Foo {
36115 rm -f conftest.$ac_objext
36116 if { (ac_try="$ac_compile"
36117 case "(($ac_try" in
36118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36119 *) ac_try_echo=$ac_try;;
36121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36122 (eval "$ac_compile") 2>conftest.er1
36124 grep -v '^ *+' conftest.er1 >conftest.err
36126 cat conftest.err >&5
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); } && {
36129 test -z "$ac_cxx_werror_flag" ||
36130 test ! -s conftest.err
36131 } && test -s conftest.$ac_objext; then
36132 wx_cv_cc_visibility=yes
36134 echo "$as_me: failed program was:" >&5
36135 sed 's/^/| /' conftest.$ac_ext >&5
36137 wx_cv_cc_visibility=no
36140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36142 ac_cpp='$CPP $CPPFLAGS'
36143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36147 CXXFLAGS="$wx_save_CXXFLAGS"
36150 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36151 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36152 if test $wx_cv_cc_visibility = yes; then
36153 cat >>confdefs.h <<\_ACEOF
36154 #define HAVE_VISIBILITY 1
36158 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36159 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36160 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36161 echo $ECHO_N "(cached) $ECHO_C" >&6
36164 wx_save_CXXFLAGS="$CXXFLAGS"
36165 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36167 ac_cpp='$CXXCPP $CPPFLAGS'
36168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36172 cat >conftest.$ac_ext <<_ACEOF
36175 cat confdefs.h >>conftest.$ac_ext
36176 cat >>conftest.$ac_ext <<_ACEOF
36177 /* end confdefs.h. */
36191 rm -f conftest.$ac_objext conftest$ac_exeext
36192 if { (ac_try="$ac_link"
36193 case "(($ac_try" in
36194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36195 *) ac_try_echo=$ac_try;;
36197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36198 (eval "$ac_link") 2>conftest.er1
36200 grep -v '^ *+' conftest.er1 >conftest.err
36202 cat conftest.err >&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); } && {
36205 test -z "$ac_cxx_werror_flag" ||
36206 test ! -s conftest.err
36207 } && test -s conftest$ac_exeext &&
36208 $as_test_x conftest$ac_exeext; then
36209 wx_cv_cc_broken_libstdcxx_visibility=no
36211 echo "$as_me: failed program was:" >&5
36212 sed 's/^/| /' conftest.$ac_ext >&5
36214 wx_cv_cc_broken_libstdcxx_visibility=yes
36217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36218 conftest$ac_exeext conftest.$ac_ext
36220 ac_cpp='$CPP $CPPFLAGS'
36221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36225 CXXFLAGS="$wx_save_CXXFLAGS"
36228 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36229 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36230 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36231 cat >>confdefs.h <<\_ACEOF
36232 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36238 CFLAGS_VISIBILITY=""
36239 CXXFLAGS_VISIBILITY=""
36247 if test "x$SUNCXX" = xyes; then
36248 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36249 WXCONFIG_RPATH="-R\$libdir"
36252 *-*-linux* | *-*-gnu* )
36253 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36254 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36259 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36261 saveLdflags="$LDFLAGS"
36262 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36263 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36264 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36265 cat >conftest.$ac_ext <<_ACEOF
36268 cat confdefs.h >>conftest.$ac_ext
36269 cat >>conftest.$ac_ext <<_ACEOF
36270 /* end confdefs.h. */
36280 rm -f conftest.$ac_objext conftest$ac_exeext
36281 if { (ac_try="$ac_link"
36282 case "(($ac_try" in
36283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36284 *) ac_try_echo=$ac_try;;
36286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36287 (eval "$ac_link") 2>conftest.er1
36289 grep -v '^ *+' conftest.er1 >conftest.err
36291 cat conftest.err >&5
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); } && {
36294 test -z "$ac_c_werror_flag" ||
36295 test ! -s conftest.err
36296 } && test -s conftest$ac_exeext &&
36297 $as_test_x conftest$ac_exeext; then
36299 { echo "$as_me:$LINENO: result: yes" >&5
36300 echo "${ECHO_T}yes" >&6; }
36301 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36302 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36305 echo "$as_me: failed program was:" >&5
36306 sed 's/^/| /' conftest.$ac_ext >&5
36309 { echo "$as_me:$LINENO: result: no" >&5
36310 echo "${ECHO_T}no" >&6; }
36311 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36312 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36313 LDFLAGS="$saveLdflags -Wl,-R,/"
36314 cat >conftest.$ac_ext <<_ACEOF
36317 cat confdefs.h >>conftest.$ac_ext
36318 cat >>conftest.$ac_ext <<_ACEOF
36319 /* end confdefs.h. */
36329 rm -f conftest.$ac_objext conftest$ac_exeext
36330 if { (ac_try="$ac_link"
36331 case "(($ac_try" in
36332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36333 *) ac_try_echo=$ac_try;;
36335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36336 (eval "$ac_link") 2>conftest.er1
36338 grep -v '^ *+' conftest.er1 >conftest.err
36340 cat conftest.err >&5
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); } && {
36343 test -z "$ac_c_werror_flag" ||
36344 test ! -s conftest.err
36345 } && test -s conftest$ac_exeext &&
36346 $as_test_x conftest$ac_exeext; then
36348 { echo "$as_me:$LINENO: result: yes" >&5
36349 echo "${ECHO_T}yes" >&6; }
36350 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36351 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36354 echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.$ac_ext >&5
36358 { echo "$as_me:$LINENO: result: no" >&5
36359 echo "${ECHO_T}no" >&6; }
36363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36364 conftest$ac_exeext conftest.$ac_ext
36368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36369 conftest$ac_exeext conftest.$ac_ext
36370 LDFLAGS="$saveLdflags"
36374 install_name_tool=`which install_name_tool`
36375 if test "$install_name_tool" -a -x "$install_name_tool"; then
36376 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36377 cat <<EOF >change-install-names
36379 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36380 inst_cmd="install_name_tool "
36381 for i in \${libnames} ; do
36382 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36386 chmod +x change-install-names
36390 *-*-cygwin* | *-*-mingw32* )
36391 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36395 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36396 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36402 if test $wxUSE_RPATH = "no"; then
36403 SAMPLES_RPATH_FLAG=''
36404 SAMPLES_RPATH_POSTLINK=''
36412 config_linkage_component="-static"
36419 lib_unicode_suffix=
36421 if test "$wxUSE_UNICODE" = "yes"; then
36422 lib_unicode_suffix=u
36423 WX_CHARTYPE="unicode"
36428 WX_DEBUGTYPE="release"
36430 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36432 WX_DEBUGTYPE="debug"
36436 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36437 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36440 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36444 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36446 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36448 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36450 if test "$cross_compiling" = "yes"; then
36451 HOST_SUFFIX="-$host_alias"
36452 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36453 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36456 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36457 if test "${TOOLKIT_DIR}" = "os2"; then
36458 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36460 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36465 if test "$wxUSE_COCOA" = 1; then
36468 ac_cpp='$CPP $CPPFLAGS'
36469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36475 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36476 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36477 cat >conftest.$ac_ext <<_ACEOF
36480 cat confdefs.h >>conftest.$ac_ext
36481 cat >>conftest.$ac_ext <<_ACEOF
36482 /* end confdefs.h. */
36483 #include <AppKit/NSEvent.h>
36484 #include <CoreFoundation/CoreFoundation.h>
36494 rm -f conftest.$ac_objext
36495 if { (ac_try="$ac_compile"
36496 case "(($ac_try" in
36497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36498 *) ac_try_echo=$ac_try;;
36500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36501 (eval "$ac_compile") 2>conftest.er1
36503 grep -v '^ *+' conftest.er1 >conftest.err
36505 cat conftest.err >&5
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); } && {
36508 test -z "$ac_c_werror_flag" ||
36509 test ! -s conftest.err
36510 } && test -s conftest.$ac_objext; then
36511 { echo "$as_me:$LINENO: result: no" >&5
36512 echo "${ECHO_T}no" >&6; }
36514 echo "$as_me: failed program was:" >&5
36515 sed 's/^/| /' conftest.$ac_ext >&5
36517 { echo "$as_me:$LINENO: result: yes" >&5
36518 echo "${ECHO_T}yes" >&6; }
36519 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36520 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36521 cat >conftest.$ac_ext <<_ACEOF
36524 cat confdefs.h >>conftest.$ac_ext
36525 cat >>conftest.$ac_ext <<_ACEOF
36526 /* end confdefs.h. */
36527 #define __Point__ 1
36528 #include <AppKit/NSEvent.h>
36529 #include <CoreFoundation/CoreFoundation.h>
36539 rm -f conftest.$ac_objext
36540 if { (ac_try="$ac_compile"
36541 case "(($ac_try" in
36542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36543 *) ac_try_echo=$ac_try;;
36545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36546 (eval "$ac_compile") 2>conftest.er1
36548 grep -v '^ *+' conftest.er1 >conftest.err
36550 cat conftest.err >&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); } && {
36553 test -z "$ac_c_werror_flag" ||
36554 test ! -s conftest.err
36555 } && test -s conftest.$ac_objext; then
36556 { echo "$as_me:$LINENO: result: yes" >&5
36557 echo "${ECHO_T}yes" >&6; }
36558 cat >>confdefs.h <<\_ACEOF
36559 #define __Point__ 1
36564 echo "$as_me: failed program was:" >&5
36565 sed 's/^/| /' conftest.$ac_ext >&5
36567 { { echo "$as_me:$LINENO: error: no
36568 See \`config.log' for more details." >&5
36569 echo "$as_me: error: no
36570 See \`config.log' for more details." >&2;}
36571 { (exit 1); exit 1; }; }
36575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36581 ac_cpp='$CPP $CPPFLAGS'
36582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36588 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36589 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36590 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36592 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36594 # Extract the first word of "Rez", so it can be a program name with args.
36595 set dummy Rez; ac_word=$2
36596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36598 if test "${ac_cv_prog_REZ+set}" = set; then
36599 echo $ECHO_N "(cached) $ECHO_C" >&6
36601 if test -n "$REZ"; then
36602 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36605 for as_dir in $PATH
36608 test -z "$as_dir" && as_dir=.
36609 for ac_exec_ext in '' $ac_executable_extensions; do
36610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36611 ac_cv_prog_REZ="Rez"
36612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36619 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36622 REZ=$ac_cv_prog_REZ
36623 if test -n "$REZ"; then
36624 { echo "$as_me:$LINENO: result: $REZ" >&5
36625 echo "${ECHO_T}$REZ" >&6; }
36627 { echo "$as_me:$LINENO: result: no" >&5
36628 echo "${ECHO_T}no" >&6; }
36632 # Extract the first word of "DeRez", so it can be a program name with args.
36633 set dummy DeRez; ac_word=$2
36634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36636 if test "${ac_cv_prog_DEREZ+set}" = set; then
36637 echo $ECHO_N "(cached) $ECHO_C" >&6
36639 if test -n "$DEREZ"; then
36640 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36643 for as_dir in $PATH
36646 test -z "$as_dir" && as_dir=.
36647 for ac_exec_ext in '' $ac_executable_extensions; do
36648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36649 ac_cv_prog_DEREZ="DeRez"
36650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36657 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36660 DEREZ=$ac_cv_prog_DEREZ
36661 if test -n "$DEREZ"; then
36662 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36663 echo "${ECHO_T}$DEREZ" >&6; }
36665 { echo "$as_me:$LINENO: result: no" >&5
36666 echo "${ECHO_T}no" >&6; }
36670 # Extract the first word of "SetFile", so it can be a program name with args.
36671 set dummy SetFile; ac_word=$2
36672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36674 if test "${ac_cv_prog_SETFILE+set}" = set; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36677 if test -n "$SETFILE"; then
36678 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36681 for as_dir in $PATH
36684 test -z "$as_dir" && as_dir=.
36685 for ac_exec_ext in '' $ac_executable_extensions; do
36686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36687 ac_cv_prog_SETFILE="SetFile"
36688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36695 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36698 SETFILE=$ac_cv_prog_SETFILE
36699 if test -n "$SETFILE"; then
36700 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36701 echo "${ECHO_T}$SETFILE" >&6; }
36703 { echo "$as_me:$LINENO: result: no" >&5
36704 echo "${ECHO_T}no" >&6; }
36709 MACSETFILE="\$(SETFILE)"
36711 if test "$wxUSE_MAC" = 1; then
36712 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36714 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36716 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36717 RESCOMP="echo -n \| $REZ"
36718 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36724 if test "$wxUSE_PM" = 1; then
36726 WXCONFIG_RESFLAGS="-ep"
36728 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36730 POSTLINK_COMMAND="@true"
36737 { echo "$as_me:$LINENO: checking for mode_t" >&5
36738 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36739 if test "${ac_cv_type_mode_t+set}" = set; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36742 cat >conftest.$ac_ext <<_ACEOF
36745 cat confdefs.h >>conftest.$ac_ext
36746 cat >>conftest.$ac_ext <<_ACEOF
36747 /* end confdefs.h. */
36748 $ac_includes_default
36749 typedef mode_t ac__type_new_;
36753 if ((ac__type_new_ *) 0)
36755 if (sizeof (ac__type_new_))
36761 rm -f conftest.$ac_objext
36762 if { (ac_try="$ac_compile"
36763 case "(($ac_try" in
36764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36765 *) ac_try_echo=$ac_try;;
36767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36768 (eval "$ac_compile") 2>conftest.er1
36770 grep -v '^ *+' conftest.er1 >conftest.err
36772 cat conftest.err >&5
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); } && {
36775 test -z "$ac_c_werror_flag" ||
36776 test ! -s conftest.err
36777 } && test -s conftest.$ac_objext; then
36778 ac_cv_type_mode_t=yes
36780 echo "$as_me: failed program was:" >&5
36781 sed 's/^/| /' conftest.$ac_ext >&5
36783 ac_cv_type_mode_t=no
36786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36788 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36789 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36790 if test $ac_cv_type_mode_t = yes; then
36794 cat >>confdefs.h <<_ACEOF
36800 { echo "$as_me:$LINENO: checking for off_t" >&5
36801 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36802 if test "${ac_cv_type_off_t+set}" = set; then
36803 echo $ECHO_N "(cached) $ECHO_C" >&6
36805 cat >conftest.$ac_ext <<_ACEOF
36808 cat confdefs.h >>conftest.$ac_ext
36809 cat >>conftest.$ac_ext <<_ACEOF
36810 /* end confdefs.h. */
36811 $ac_includes_default
36812 typedef off_t ac__type_new_;
36816 if ((ac__type_new_ *) 0)
36818 if (sizeof (ac__type_new_))
36824 rm -f conftest.$ac_objext
36825 if { (ac_try="$ac_compile"
36826 case "(($ac_try" in
36827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36828 *) ac_try_echo=$ac_try;;
36830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36831 (eval "$ac_compile") 2>conftest.er1
36833 grep -v '^ *+' conftest.er1 >conftest.err
36835 cat conftest.err >&5
36836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837 (exit $ac_status); } && {
36838 test -z "$ac_c_werror_flag" ||
36839 test ! -s conftest.err
36840 } && test -s conftest.$ac_objext; then
36841 ac_cv_type_off_t=yes
36843 echo "$as_me: failed program was:" >&5
36844 sed 's/^/| /' conftest.$ac_ext >&5
36846 ac_cv_type_off_t=no
36849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36851 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36852 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36853 if test $ac_cv_type_off_t = yes; then
36857 cat >>confdefs.h <<_ACEOF
36858 #define off_t long int
36863 { echo "$as_me:$LINENO: checking for pid_t" >&5
36864 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36865 if test "${ac_cv_type_pid_t+set}" = set; then
36866 echo $ECHO_N "(cached) $ECHO_C" >&6
36868 cat >conftest.$ac_ext <<_ACEOF
36871 cat confdefs.h >>conftest.$ac_ext
36872 cat >>conftest.$ac_ext <<_ACEOF
36873 /* end confdefs.h. */
36874 $ac_includes_default
36875 typedef pid_t ac__type_new_;
36879 if ((ac__type_new_ *) 0)
36881 if (sizeof (ac__type_new_))
36887 rm -f conftest.$ac_objext
36888 if { (ac_try="$ac_compile"
36889 case "(($ac_try" in
36890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36891 *) ac_try_echo=$ac_try;;
36893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36894 (eval "$ac_compile") 2>conftest.er1
36896 grep -v '^ *+' conftest.er1 >conftest.err
36898 cat conftest.err >&5
36899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36900 (exit $ac_status); } && {
36901 test -z "$ac_c_werror_flag" ||
36902 test ! -s conftest.err
36903 } && test -s conftest.$ac_objext; then
36904 ac_cv_type_pid_t=yes
36906 echo "$as_me: failed program was:" >&5
36907 sed 's/^/| /' conftest.$ac_ext >&5
36909 ac_cv_type_pid_t=no
36912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36914 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36915 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36916 if test $ac_cv_type_pid_t = yes; then
36920 cat >>confdefs.h <<_ACEOF
36926 { echo "$as_me:$LINENO: checking for size_t" >&5
36927 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36928 if test "${ac_cv_type_size_t+set}" = set; then
36929 echo $ECHO_N "(cached) $ECHO_C" >&6
36931 cat >conftest.$ac_ext <<_ACEOF
36934 cat confdefs.h >>conftest.$ac_ext
36935 cat >>conftest.$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36937 $ac_includes_default
36938 typedef size_t ac__type_new_;
36942 if ((ac__type_new_ *) 0)
36944 if (sizeof (ac__type_new_))
36950 rm -f conftest.$ac_objext
36951 if { (ac_try="$ac_compile"
36952 case "(($ac_try" in
36953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36954 *) ac_try_echo=$ac_try;;
36956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36957 (eval "$ac_compile") 2>conftest.er1
36959 grep -v '^ *+' conftest.er1 >conftest.err
36961 cat conftest.err >&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); } && {
36964 test -z "$ac_c_werror_flag" ||
36965 test ! -s conftest.err
36966 } && test -s conftest.$ac_objext; then
36967 ac_cv_type_size_t=yes
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.$ac_ext >&5
36972 ac_cv_type_size_t=no
36975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36977 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36978 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36979 if test $ac_cv_type_size_t = yes; then
36983 cat >>confdefs.h <<_ACEOF
36984 #define size_t unsigned int
36989 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36990 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36991 if test "${ac_cv_type_uid_t+set}" = set; then
36992 echo $ECHO_N "(cached) $ECHO_C" >&6
36994 cat >conftest.$ac_ext <<_ACEOF
36997 cat confdefs.h >>conftest.$ac_ext
36998 cat >>conftest.$ac_ext <<_ACEOF
36999 /* end confdefs.h. */
37000 #include <sys/types.h>
37003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37004 $EGREP "uid_t" >/dev/null 2>&1; then
37005 ac_cv_type_uid_t=yes
37007 ac_cv_type_uid_t=no
37012 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37013 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37014 if test $ac_cv_type_uid_t = no; then
37016 cat >>confdefs.h <<\_ACEOF
37021 cat >>confdefs.h <<\_ACEOF
37028 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37029 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37030 if test "${ac_cv_type_ssize_t+set}" = set; then
37031 echo $ECHO_N "(cached) $ECHO_C" >&6
37033 cat >conftest.$ac_ext <<_ACEOF
37036 cat confdefs.h >>conftest.$ac_ext
37037 cat >>conftest.$ac_ext <<_ACEOF
37038 /* end confdefs.h. */
37039 $ac_includes_default
37040 typedef ssize_t ac__type_new_;
37044 if ((ac__type_new_ *) 0)
37046 if (sizeof (ac__type_new_))
37052 rm -f conftest.$ac_objext
37053 if { (ac_try="$ac_compile"
37054 case "(($ac_try" in
37055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37056 *) ac_try_echo=$ac_try;;
37058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37059 (eval "$ac_compile") 2>conftest.er1
37061 grep -v '^ *+' conftest.er1 >conftest.err
37063 cat conftest.err >&5
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); } && {
37066 test -z "$ac_c_werror_flag" ||
37067 test ! -s conftest.err
37068 } && test -s conftest.$ac_objext; then
37069 ac_cv_type_ssize_t=yes
37071 echo "$as_me: failed program was:" >&5
37072 sed 's/^/| /' conftest.$ac_ext >&5
37074 ac_cv_type_ssize_t=no
37077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37079 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37080 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37081 if test $ac_cv_type_ssize_t = yes; then
37083 cat >>confdefs.h <<_ACEOF
37084 #define HAVE_SSIZE_T 1
37092 ac_cpp='$CXXCPP $CPPFLAGS'
37093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37096 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37097 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37098 if test "${wx_cv_size_t_is_uint+set}" = set; then
37099 echo $ECHO_N "(cached) $ECHO_C" >&6
37102 cat >conftest.$ac_ext <<_ACEOF
37105 cat confdefs.h >>conftest.$ac_ext
37106 cat >>conftest.$ac_ext <<_ACEOF
37107 /* end confdefs.h. */
37108 #include <stddef.h>
37115 struct Foo { void foo(size_t); void foo(unsigned int); };
37123 rm -f conftest.$ac_objext
37124 if { (ac_try="$ac_compile"
37125 case "(($ac_try" in
37126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37127 *) ac_try_echo=$ac_try;;
37129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37130 (eval "$ac_compile") 2>conftest.er1
37132 grep -v '^ *+' conftest.er1 >conftest.err
37134 cat conftest.err >&5
37135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37136 (exit $ac_status); } && {
37137 test -z "$ac_cxx_werror_flag" ||
37138 test ! -s conftest.err
37139 } && test -s conftest.$ac_objext; then
37140 wx_cv_size_t_is_uint=no
37142 echo "$as_me: failed program was:" >&5
37143 sed 's/^/| /' conftest.$ac_ext >&5
37145 wx_cv_size_t_is_uint=yes
37149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37153 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37154 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37156 if test "$wx_cv_size_t_is_uint" = "yes"; then
37157 cat >>confdefs.h <<\_ACEOF
37158 #define wxSIZE_T_IS_UINT 1
37162 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37163 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37164 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37165 echo $ECHO_N "(cached) $ECHO_C" >&6
37167 cat >conftest.$ac_ext <<_ACEOF
37170 cat confdefs.h >>conftest.$ac_ext
37171 cat >>conftest.$ac_ext <<_ACEOF
37172 /* end confdefs.h. */
37173 #include <stddef.h>
37180 struct Foo { void foo(size_t); void foo(unsigned long); };
37188 rm -f conftest.$ac_objext
37189 if { (ac_try="$ac_compile"
37190 case "(($ac_try" in
37191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37192 *) ac_try_echo=$ac_try;;
37194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37195 (eval "$ac_compile") 2>conftest.er1
37197 grep -v '^ *+' conftest.er1 >conftest.err
37199 cat conftest.err >&5
37200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37201 (exit $ac_status); } && {
37202 test -z "$ac_cxx_werror_flag" ||
37203 test ! -s conftest.err
37204 } && test -s conftest.$ac_objext; then
37205 wx_cv_size_t_is_ulong=no
37207 echo "$as_me: failed program was:" >&5
37208 sed 's/^/| /' conftest.$ac_ext >&5
37210 wx_cv_size_t_is_ulong=yes
37214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37217 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37218 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37220 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37221 cat >>confdefs.h <<\_ACEOF
37222 #define wxSIZE_T_IS_ULONG 1
37228 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37229 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37230 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37231 echo $ECHO_N "(cached) $ECHO_C" >&6
37233 cat >conftest.$ac_ext <<_ACEOF
37236 cat confdefs.h >>conftest.$ac_ext
37237 cat >>conftest.$ac_ext <<_ACEOF
37238 /* end confdefs.h. */
37246 struct Foo { void foo(wchar_t);
37247 void foo(unsigned short);
37248 void foo(unsigned int);
37249 void foo(unsigned long); };
37257 rm -f conftest.$ac_objext
37258 if { (ac_try="$ac_compile"
37259 case "(($ac_try" in
37260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37261 *) ac_try_echo=$ac_try;;
37263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37264 (eval "$ac_compile") 2>conftest.er1
37266 grep -v '^ *+' conftest.er1 >conftest.err
37268 cat conftest.err >&5
37269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270 (exit $ac_status); } && {
37271 test -z "$ac_cxx_werror_flag" ||
37272 test ! -s conftest.err
37273 } && test -s conftest.$ac_objext; then
37274 wx_cv_wchar_t_is_separate_type=yes
37276 echo "$as_me: failed program was:" >&5
37277 sed 's/^/| /' conftest.$ac_ext >&5
37279 wx_cv_wchar_t_is_separate_type=no
37283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37286 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37287 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37289 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37290 cat >>confdefs.h <<\_ACEOF
37291 #define wxWCHAR_T_IS_REAL_TYPE 1
37295 cat >>confdefs.h <<\_ACEOF
37296 #define wxWCHAR_T_IS_REAL_TYPE 0
37302 ac_cpp='$CPP $CPPFLAGS'
37303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37308 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37309 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37310 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37311 echo $ECHO_N "(cached) $ECHO_C" >&6
37314 cat >conftest.$ac_ext <<_ACEOF
37317 cat confdefs.h >>conftest.$ac_ext
37318 cat >>conftest.$ac_ext <<_ACEOF
37319 /* end confdefs.h. */
37333 rm -f conftest.$ac_objext
37334 if { (ac_try="$ac_compile"
37335 case "(($ac_try" in
37336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37337 *) ac_try_echo=$ac_try;;
37339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37340 (eval "$ac_compile") 2>conftest.er1
37342 grep -v '^ *+' conftest.er1 >conftest.err
37344 cat conftest.err >&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } && {
37347 test -z "$ac_c_werror_flag" ||
37348 test ! -s conftest.err
37349 } && test -s conftest.$ac_objext; then
37351 wx_cv_struct_pw_gecos=yes
37354 echo "$as_me: failed program was:" >&5
37355 sed 's/^/| /' conftest.$ac_ext >&5
37358 wx_cv_struct_pw_gecos=no
37363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37367 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37368 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37370 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37371 cat >>confdefs.h <<\_ACEOF
37372 #define HAVE_PW_GECOS 1
37378 if test "$wxUSE_WCHAR_T" = "yes"; then
37379 cat >>confdefs.h <<\_ACEOF
37380 #define wxUSE_WCHAR_T 1
37387 for ac_func in wcslen
37389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37390 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37392 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37393 echo $ECHO_N "(cached) $ECHO_C" >&6
37395 cat >conftest.$ac_ext <<_ACEOF
37398 cat confdefs.h >>conftest.$ac_ext
37399 cat >>conftest.$ac_ext <<_ACEOF
37400 /* end confdefs.h. */
37401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37403 #define $ac_func innocuous_$ac_func
37405 /* System header to define __stub macros and hopefully few prototypes,
37406 which can conflict with char $ac_func (); below.
37407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37408 <limits.h> exists even on freestanding compilers. */
37411 # include <limits.h>
37413 # include <assert.h>
37418 /* Override any GCC internal prototype to avoid an error.
37419 Use char because int might match the return type of a GCC
37420 builtin and then its argument prototype would still apply. */
37425 /* The GNU C library defines this for functions which it implements
37426 to always fail with ENOSYS. Some functions are actually named
37427 something starting with __ and the normal name is an alias. */
37428 #if defined __stub_$ac_func || defined __stub___$ac_func
37435 return $ac_func ();
37440 rm -f conftest.$ac_objext conftest$ac_exeext
37441 if { (ac_try="$ac_link"
37442 case "(($ac_try" in
37443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37444 *) ac_try_echo=$ac_try;;
37446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37447 (eval "$ac_link") 2>conftest.er1
37449 grep -v '^ *+' conftest.er1 >conftest.err
37451 cat conftest.err >&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); } && {
37454 test -z "$ac_c_werror_flag" ||
37455 test ! -s conftest.err
37456 } && test -s conftest$ac_exeext &&
37457 $as_test_x conftest$ac_exeext; then
37458 eval "$as_ac_var=yes"
37460 echo "$as_me: failed program was:" >&5
37461 sed 's/^/| /' conftest.$ac_ext >&5
37463 eval "$as_ac_var=no"
37466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37467 conftest$ac_exeext conftest.$ac_ext
37469 ac_res=`eval echo '${'$as_ac_var'}'`
37470 { echo "$as_me:$LINENO: result: $ac_res" >&5
37471 echo "${ECHO_T}$ac_res" >&6; }
37472 if test `eval echo '${'$as_ac_var'}'` = yes; then
37473 cat >>confdefs.h <<_ACEOF
37474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37481 if test "$WCSLEN_FOUND" = 0; then
37482 if test "$TOOLKIT" = "MSW"; then
37483 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37484 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37485 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37486 echo $ECHO_N "(cached) $ECHO_C" >&6
37488 ac_check_lib_save_LIBS=$LIBS
37489 LIBS="-lmsvcrt $LIBS"
37490 cat >conftest.$ac_ext <<_ACEOF
37493 cat confdefs.h >>conftest.$ac_ext
37494 cat >>conftest.$ac_ext <<_ACEOF
37495 /* end confdefs.h. */
37497 /* Override any GCC internal prototype to avoid an error.
37498 Use char because int might match the return type of a GCC
37499 builtin and then its argument prototype would still apply. */
37512 rm -f conftest.$ac_objext conftest$ac_exeext
37513 if { (ac_try="$ac_link"
37514 case "(($ac_try" in
37515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37516 *) ac_try_echo=$ac_try;;
37518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37519 (eval "$ac_link") 2>conftest.er1
37521 grep -v '^ *+' conftest.er1 >conftest.err
37523 cat conftest.err >&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); } && {
37526 test -z "$ac_c_werror_flag" ||
37527 test ! -s conftest.err
37528 } && test -s conftest$ac_exeext &&
37529 $as_test_x conftest$ac_exeext; then
37530 ac_cv_lib_msvcrt_wcslen=yes
37532 echo "$as_me: failed program was:" >&5
37533 sed 's/^/| /' conftest.$ac_ext >&5
37535 ac_cv_lib_msvcrt_wcslen=no
37538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37539 conftest$ac_exeext conftest.$ac_ext
37540 LIBS=$ac_check_lib_save_LIBS
37542 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37543 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37544 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37549 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37550 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37551 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37552 echo $ECHO_N "(cached) $ECHO_C" >&6
37554 ac_check_lib_save_LIBS=$LIBS
37556 cat >conftest.$ac_ext <<_ACEOF
37559 cat confdefs.h >>conftest.$ac_ext
37560 cat >>conftest.$ac_ext <<_ACEOF
37561 /* end confdefs.h. */
37563 /* Override any GCC internal prototype to avoid an error.
37564 Use char because int might match the return type of a GCC
37565 builtin and then its argument prototype would still apply. */
37578 rm -f conftest.$ac_objext conftest$ac_exeext
37579 if { (ac_try="$ac_link"
37580 case "(($ac_try" in
37581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37582 *) ac_try_echo=$ac_try;;
37584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37585 (eval "$ac_link") 2>conftest.er1
37587 grep -v '^ *+' conftest.er1 >conftest.err
37589 cat conftest.err >&5
37590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37591 (exit $ac_status); } && {
37592 test -z "$ac_c_werror_flag" ||
37593 test ! -s conftest.err
37594 } && test -s conftest$ac_exeext &&
37595 $as_test_x conftest$ac_exeext; then
37596 ac_cv_lib_w_wcslen=yes
37598 echo "$as_me: failed program was:" >&5
37599 sed 's/^/| /' conftest.$ac_ext >&5
37601 ac_cv_lib_w_wcslen=no
37604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37605 conftest$ac_exeext conftest.$ac_ext
37606 LIBS=$ac_check_lib_save_LIBS
37608 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37609 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37610 if test $ac_cv_lib_w_wcslen = yes; then
37620 if test "$WCSLEN_FOUND" = 1; then
37621 cat >>confdefs.h <<\_ACEOF
37622 #define HAVE_WCSLEN 1
37628 for ac_func in wcsdup
37630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37633 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37634 echo $ECHO_N "(cached) $ECHO_C" >&6
37636 cat >conftest.$ac_ext <<_ACEOF
37639 cat confdefs.h >>conftest.$ac_ext
37640 cat >>conftest.$ac_ext <<_ACEOF
37641 /* end confdefs.h. */
37642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37644 #define $ac_func innocuous_$ac_func
37646 /* System header to define __stub macros and hopefully few prototypes,
37647 which can conflict with char $ac_func (); below.
37648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37649 <limits.h> exists even on freestanding compilers. */
37652 # include <limits.h>
37654 # include <assert.h>
37659 /* Override any GCC internal prototype to avoid an error.
37660 Use char because int might match the return type of a GCC
37661 builtin and then its argument prototype would still apply. */
37666 /* The GNU C library defines this for functions which it implements
37667 to always fail with ENOSYS. Some functions are actually named
37668 something starting with __ and the normal name is an alias. */
37669 #if defined __stub_$ac_func || defined __stub___$ac_func
37676 return $ac_func ();
37681 rm -f conftest.$ac_objext conftest$ac_exeext
37682 if { (ac_try="$ac_link"
37683 case "(($ac_try" in
37684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37685 *) ac_try_echo=$ac_try;;
37687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37688 (eval "$ac_link") 2>conftest.er1
37690 grep -v '^ *+' conftest.er1 >conftest.err
37692 cat conftest.err >&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } && {
37695 test -z "$ac_c_werror_flag" ||
37696 test ! -s conftest.err
37697 } && test -s conftest$ac_exeext &&
37698 $as_test_x conftest$ac_exeext; then
37699 eval "$as_ac_var=yes"
37701 echo "$as_me: failed program was:" >&5
37702 sed 's/^/| /' conftest.$ac_ext >&5
37704 eval "$as_ac_var=no"
37707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37708 conftest$ac_exeext conftest.$ac_ext
37710 ac_res=`eval echo '${'$as_ac_var'}'`
37711 { echo "$as_me:$LINENO: result: $ac_res" >&5
37712 echo "${ECHO_T}$ac_res" >&6; }
37713 if test `eval echo '${'$as_ac_var'}'` = yes; then
37714 cat >>confdefs.h <<_ACEOF
37715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37722 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37723 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37726 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37727 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37728 if test "${ac_cv_type_mbstate_t+set}" = set; then
37729 echo $ECHO_N "(cached) $ECHO_C" >&6
37731 cat >conftest.$ac_ext <<_ACEOF
37734 cat confdefs.h >>conftest.$ac_ext
37735 cat >>conftest.$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37739 typedef mbstate_t ac__type_new_;
37743 if ((ac__type_new_ *) 0)
37745 if (sizeof (ac__type_new_))
37751 rm -f conftest.$ac_objext
37752 if { (ac_try="$ac_compile"
37753 case "(($ac_try" in
37754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37755 *) ac_try_echo=$ac_try;;
37757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37758 (eval "$ac_compile") 2>conftest.er1
37760 grep -v '^ *+' conftest.er1 >conftest.err
37762 cat conftest.err >&5
37763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764 (exit $ac_status); } && {
37765 test -z "$ac_c_werror_flag" ||
37766 test ! -s conftest.err
37767 } && test -s conftest.$ac_objext; then
37768 ac_cv_type_mbstate_t=yes
37770 echo "$as_me: failed program was:" >&5
37771 sed 's/^/| /' conftest.$ac_ext >&5
37773 ac_cv_type_mbstate_t=no
37776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37778 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37779 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37780 if test $ac_cv_type_mbstate_t = yes; then
37782 cat >>confdefs.h <<_ACEOF
37783 #define HAVE_MBSTATE_T 1
37787 for ac_func in wcsrtombs
37789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37790 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37792 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37793 echo $ECHO_N "(cached) $ECHO_C" >&6
37795 cat >conftest.$ac_ext <<_ACEOF
37798 cat confdefs.h >>conftest.$ac_ext
37799 cat >>conftest.$ac_ext <<_ACEOF
37800 /* end confdefs.h. */
37801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37803 #define $ac_func innocuous_$ac_func
37805 /* System header to define __stub macros and hopefully few prototypes,
37806 which can conflict with char $ac_func (); below.
37807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37808 <limits.h> exists even on freestanding compilers. */
37811 # include <limits.h>
37813 # include <assert.h>
37818 /* Override any GCC internal prototype to avoid an error.
37819 Use char because int might match the return type of a GCC
37820 builtin and then its argument prototype would still apply. */
37825 /* The GNU C library defines this for functions which it implements
37826 to always fail with ENOSYS. Some functions are actually named
37827 something starting with __ and the normal name is an alias. */
37828 #if defined __stub_$ac_func || defined __stub___$ac_func
37835 return $ac_func ();
37840 rm -f conftest.$ac_objext conftest$ac_exeext
37841 if { (ac_try="$ac_link"
37842 case "(($ac_try" in
37843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37844 *) ac_try_echo=$ac_try;;
37846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37847 (eval "$ac_link") 2>conftest.er1
37849 grep -v '^ *+' conftest.er1 >conftest.err
37851 cat conftest.err >&5
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); } && {
37854 test -z "$ac_c_werror_flag" ||
37855 test ! -s conftest.err
37856 } && test -s conftest$ac_exeext &&
37857 $as_test_x conftest$ac_exeext; then
37858 eval "$as_ac_var=yes"
37860 echo "$as_me: failed program was:" >&5
37861 sed 's/^/| /' conftest.$ac_ext >&5
37863 eval "$as_ac_var=no"
37866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37867 conftest$ac_exeext conftest.$ac_ext
37869 ac_res=`eval echo '${'$as_ac_var'}'`
37870 { echo "$as_me:$LINENO: result: $ac_res" >&5
37871 echo "${ECHO_T}$ac_res" >&6; }
37872 if test `eval echo '${'$as_ac_var'}'` = yes; then
37873 cat >>confdefs.h <<_ACEOF
37874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37883 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37884 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37889 for ac_func in snprintf vsnprintf
37891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37895 echo $ECHO_N "(cached) $ECHO_C" >&6
37897 cat >conftest.$ac_ext <<_ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37905 #define $ac_func innocuous_$ac_func
37907 /* System header to define __stub macros and hopefully few prototypes,
37908 which can conflict with char $ac_func (); below.
37909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37910 <limits.h> exists even on freestanding compilers. */
37913 # include <limits.h>
37915 # include <assert.h>
37920 /* Override any GCC internal prototype to avoid an error.
37921 Use char because int might match the return type of a GCC
37922 builtin and then its argument prototype would still apply. */
37927 /* The GNU C library defines this for functions which it implements
37928 to always fail with ENOSYS. Some functions are actually named
37929 something starting with __ and the normal name is an alias. */
37930 #if defined __stub_$ac_func || defined __stub___$ac_func
37937 return $ac_func ();
37942 rm -f conftest.$ac_objext conftest$ac_exeext
37943 if { (ac_try="$ac_link"
37944 case "(($ac_try" in
37945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37946 *) ac_try_echo=$ac_try;;
37948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37949 (eval "$ac_link") 2>conftest.er1
37951 grep -v '^ *+' conftest.er1 >conftest.err
37953 cat conftest.err >&5
37954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37955 (exit $ac_status); } && {
37956 test -z "$ac_c_werror_flag" ||
37957 test ! -s conftest.err
37958 } && test -s conftest$ac_exeext &&
37959 $as_test_x conftest$ac_exeext; then
37960 eval "$as_ac_var=yes"
37962 echo "$as_me: failed program was:" >&5
37963 sed 's/^/| /' conftest.$ac_ext >&5
37965 eval "$as_ac_var=no"
37968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37969 conftest$ac_exeext conftest.$ac_ext
37971 ac_res=`eval echo '${'$as_ac_var'}'`
37972 { echo "$as_me:$LINENO: result: $ac_res" >&5
37973 echo "${ECHO_T}$ac_res" >&6; }
37974 if test `eval echo '${'$as_ac_var'}'` = yes; then
37975 cat >>confdefs.h <<_ACEOF
37976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37983 if test "$ac_cv_func_vsnprintf" = "yes"; then
37984 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37985 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37986 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37987 echo $ECHO_N "(cached) $ECHO_C" >&6
37990 cat >conftest.$ac_ext <<_ACEOF
37993 cat confdefs.h >>conftest.$ac_ext
37994 cat >>conftest.$ac_ext <<_ACEOF
37995 /* end confdefs.h. */
37998 #include <stdarg.h>
38000 #if __MSL__ >= 0x6000
38002 using namespace std;
38012 vsnprintf(buf, 10u, "%s", ap);
38018 rm -f conftest.$ac_objext
38019 if { (ac_try="$ac_compile"
38020 case "(($ac_try" in
38021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38022 *) ac_try_echo=$ac_try;;
38024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38025 (eval "$ac_compile") 2>conftest.er1
38027 grep -v '^ *+' conftest.er1 >conftest.err
38029 cat conftest.err >&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } && {
38032 test -z "$ac_c_werror_flag" ||
38033 test ! -s conftest.err
38034 } && test -s conftest.$ac_objext; then
38035 wx_cv_func_vsnprintf_decl=yes
38037 echo "$as_me: failed program was:" >&5
38038 sed 's/^/| /' conftest.$ac_ext >&5
38040 wx_cv_func_vsnprintf_decl=no
38044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38048 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38049 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38051 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38052 cat >>confdefs.h <<\_ACEOF
38053 #define HAVE_VSNPRINTF_DECL 1
38057 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38058 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38059 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38060 echo $ECHO_N "(cached) $ECHO_C" >&6
38063 cat >conftest.$ac_ext <<_ACEOF
38066 cat confdefs.h >>conftest.$ac_ext
38067 cat >>conftest.$ac_ext <<_ACEOF
38068 /* end confdefs.h. */
38071 #include <stdarg.h>
38073 #if __MSL__ >= 0x6000
38075 using namespace std;
38085 const char *fmt = "%s";
38086 vsnprintf(buf, 10u, fmt, ap);
38092 rm -f conftest.$ac_objext
38093 if { (ac_try="$ac_compile"
38094 case "(($ac_try" in
38095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38096 *) ac_try_echo=$ac_try;;
38098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38099 (eval "$ac_compile") 2>conftest.er1
38101 grep -v '^ *+' conftest.er1 >conftest.err
38103 cat conftest.err >&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); } && {
38106 test -z "$ac_c_werror_flag" ||
38107 test ! -s conftest.err
38108 } && test -s conftest.$ac_objext; then
38109 wx_cv_func_broken_vsnprintf_decl=no
38111 echo "$as_me: failed program was:" >&5
38112 sed 's/^/| /' conftest.$ac_ext >&5
38114 wx_cv_func_broken_vsnprintf_decl=yes
38118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38122 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38123 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38125 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38126 cat >>confdefs.h <<\_ACEOF
38127 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38134 if test "$ac_cv_func_snprintf" = "yes"; then
38135 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38136 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38137 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38138 echo $ECHO_N "(cached) $ECHO_C" >&6
38141 cat >conftest.$ac_ext <<_ACEOF
38144 cat confdefs.h >>conftest.$ac_ext
38145 cat >>conftest.$ac_ext <<_ACEOF
38146 /* end confdefs.h. */
38149 #include <stdarg.h>
38151 #if __MSL__ >= 0x6000
38153 using namespace std;
38162 snprintf(buf, 10u, "%s", "wx");
38168 rm -f conftest.$ac_objext
38169 if { (ac_try="$ac_compile"
38170 case "(($ac_try" in
38171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38172 *) ac_try_echo=$ac_try;;
38174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38175 (eval "$ac_compile") 2>conftest.er1
38177 grep -v '^ *+' conftest.er1 >conftest.err
38179 cat conftest.err >&5
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); } && {
38182 test -z "$ac_c_werror_flag" ||
38183 test ! -s conftest.err
38184 } && test -s conftest.$ac_objext; then
38185 wx_cv_func_snprintf_decl=yes
38187 echo "$as_me: failed program was:" >&5
38188 sed 's/^/| /' conftest.$ac_ext >&5
38190 wx_cv_func_snprintf_decl=no
38194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38198 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38199 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38201 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38202 cat >>confdefs.h <<\_ACEOF
38203 #define HAVE_SNPRINTF_DECL 1
38207 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38208 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38209 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38210 echo $ECHO_N "(cached) $ECHO_C" >&6
38213 cat >conftest.$ac_ext <<_ACEOF
38216 cat confdefs.h >>conftest.$ac_ext
38217 cat >>conftest.$ac_ext <<_ACEOF
38218 /* end confdefs.h. */
38221 #include <stdarg.h>
38223 #if __MSL__ >= 0x6000
38225 using namespace std;
38234 const char *fmt = "%s";
38235 snprintf(buf, 10u, fmt, "wx");
38241 rm -f conftest.$ac_objext
38242 if { (ac_try="$ac_compile"
38243 case "(($ac_try" in
38244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38245 *) ac_try_echo=$ac_try;;
38247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38248 (eval "$ac_compile") 2>conftest.er1
38250 grep -v '^ *+' conftest.er1 >conftest.err
38252 cat conftest.err >&5
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); } && {
38255 test -z "$ac_c_werror_flag" ||
38256 test ! -s conftest.err
38257 } && test -s conftest.$ac_objext; then
38258 wx_cv_func_broken_snprintf_decl=no
38260 echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.$ac_ext >&5
38263 wx_cv_func_broken_snprintf_decl=yes
38267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38271 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38272 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38274 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38275 cat >>confdefs.h <<\_ACEOF
38276 #define HAVE_BROKEN_SNPRINTF_DECL 1
38282 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38284 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38285 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38286 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38287 echo $ECHO_N "(cached) $ECHO_C" >&6
38290 if test "$cross_compiling" = yes; then
38292 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38293 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38294 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38295 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38296 wx_cv_func_snprintf_pos_params=no
38300 cat >conftest.$ac_ext <<_ACEOF
38303 cat confdefs.h >>conftest.$ac_ext
38304 cat >>conftest.$ac_ext <<_ACEOF
38305 /* end confdefs.h. */
38312 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38313 if (strcmp ("2 3 1", buffer) == 0)
38319 rm -f conftest$ac_exeext
38320 if { (ac_try="$ac_link"
38321 case "(($ac_try" in
38322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38323 *) ac_try_echo=$ac_try;;
38325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38326 (eval "$ac_link") 2>&5
38328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38330 { (case "(($ac_try" in
38331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38332 *) ac_try_echo=$ac_try;;
38334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38335 (eval "$ac_try") 2>&5
38337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338 (exit $ac_status); }; }; then
38339 wx_cv_func_snprintf_pos_params=no
38341 echo "$as_me: program exited with status $ac_status" >&5
38342 echo "$as_me: failed program was:" >&5
38343 sed 's/^/| /' conftest.$ac_ext >&5
38345 ( exit $ac_status )
38346 wx_cv_func_snprintf_pos_params=yes
38348 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38355 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38356 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38358 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38359 cat >>confdefs.h <<\_ACEOF
38360 #define HAVE_UNIX98_PRINTF 1
38367 if test "$wxUSE_UNICODE" = yes; then
38370 for ac_func in swprintf
38372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38373 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38375 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38376 echo $ECHO_N "(cached) $ECHO_C" >&6
38378 cat >conftest.$ac_ext <<_ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38386 #define $ac_func innocuous_$ac_func
38388 /* System header to define __stub macros and hopefully few prototypes,
38389 which can conflict with char $ac_func (); below.
38390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38391 <limits.h> exists even on freestanding compilers. */
38394 # include <limits.h>
38396 # include <assert.h>
38401 /* Override any GCC internal prototype to avoid an error.
38402 Use char because int might match the return type of a GCC
38403 builtin and then its argument prototype would still apply. */
38408 /* The GNU C library defines this for functions which it implements
38409 to always fail with ENOSYS. Some functions are actually named
38410 something starting with __ and the normal name is an alias. */
38411 #if defined __stub_$ac_func || defined __stub___$ac_func
38418 return $ac_func ();
38423 rm -f conftest.$ac_objext conftest$ac_exeext
38424 if { (ac_try="$ac_link"
38425 case "(($ac_try" in
38426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38427 *) ac_try_echo=$ac_try;;
38429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38430 (eval "$ac_link") 2>conftest.er1
38432 grep -v '^ *+' conftest.er1 >conftest.err
38434 cat conftest.err >&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); } && {
38437 test -z "$ac_c_werror_flag" ||
38438 test ! -s conftest.err
38439 } && test -s conftest$ac_exeext &&
38440 $as_test_x conftest$ac_exeext; then
38441 eval "$as_ac_var=yes"
38443 echo "$as_me: failed program was:" >&5
38444 sed 's/^/| /' conftest.$ac_ext >&5
38446 eval "$as_ac_var=no"
38449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38450 conftest$ac_exeext conftest.$ac_ext
38452 ac_res=`eval echo '${'$as_ac_var'}'`
38453 { echo "$as_me:$LINENO: result: $ac_res" >&5
38454 echo "${ECHO_T}$ac_res" >&6; }
38455 if test `eval echo '${'$as_ac_var'}'` = yes; then
38456 cat >>confdefs.h <<_ACEOF
38457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38464 if test "$ac_cv_func_swprintf" = "yes"; then
38465 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38466 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38467 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38468 echo $ECHO_N "(cached) $ECHO_C" >&6
38471 cat >conftest.$ac_ext <<_ACEOF
38474 cat confdefs.h >>conftest.$ac_ext
38475 cat >>conftest.$ac_ext <<_ACEOF
38476 /* end confdefs.h. */
38479 #include <stdarg.h>
38487 const wchar_t *fmt = L"test";
38488 swprintf(buf, 10u, fmt);
38494 rm -f conftest.$ac_objext
38495 if { (ac_try="$ac_compile"
38496 case "(($ac_try" in
38497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38498 *) ac_try_echo=$ac_try;;
38500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38501 (eval "$ac_compile") 2>conftest.er1
38503 grep -v '^ *+' conftest.er1 >conftest.err
38505 cat conftest.err >&5
38506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38507 (exit $ac_status); } && {
38508 test -z "$ac_c_werror_flag" ||
38509 test ! -s conftest.err
38510 } && test -s conftest.$ac_objext; then
38511 wx_cv_func_broken_swprintf_decl=no
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.$ac_ext >&5
38516 wx_cv_func_broken_swprintf_decl=yes
38520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38524 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38525 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38527 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38528 cat >>confdefs.h <<\_ACEOF
38529 #define HAVE_BROKEN_SWPRINTF_DECL 1
38535 wchar_headers="#include <stdio.h>
38536 #include <wchar.h>"
38540 for ac_header in widec.h
38542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38546 echo $ECHO_N "(cached) $ECHO_C" >&6
38548 cat >conftest.$ac_ext <<_ACEOF
38551 cat confdefs.h >>conftest.$ac_ext
38552 cat >>conftest.$ac_ext <<_ACEOF
38553 /* end confdefs.h. */
38554 $ac_includes_default
38556 #include <$ac_header>
38558 rm -f conftest.$ac_objext
38559 if { (ac_try="$ac_compile"
38560 case "(($ac_try" in
38561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38562 *) ac_try_echo=$ac_try;;
38564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38565 (eval "$ac_compile") 2>conftest.er1
38567 grep -v '^ *+' conftest.er1 >conftest.err
38569 cat conftest.err >&5
38570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38571 (exit $ac_status); } && {
38572 test -z "$ac_c_werror_flag" ||
38573 test ! -s conftest.err
38574 } && test -s conftest.$ac_objext; then
38575 eval "$as_ac_Header=yes"
38577 echo "$as_me: failed program was:" >&5
38578 sed 's/^/| /' conftest.$ac_ext >&5
38580 eval "$as_ac_Header=no"
38583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38585 ac_res=`eval echo '${'$as_ac_Header'}'`
38586 { echo "$as_me:$LINENO: result: $ac_res" >&5
38587 echo "${ECHO_T}$ac_res" >&6; }
38588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38589 cat >>confdefs.h <<_ACEOF
38590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38597 if test "$ac_cv_header_widec_h" = "yes"; then
38598 wchar_headers="$wchar_headers
38599 #include <widec.h>"
38604 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38606 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38607 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38608 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38609 echo $ECHO_N "(cached) $ECHO_C" >&6
38612 cat >conftest.$ac_ext <<_ACEOF
38616 cat confdefs.h >>conftest.$ac_ext
38617 cat >>conftest.$ac_ext <<_ACEOF
38618 /* end confdefs.h. */
38621 $ac_includes_default
38637 rm -f conftest.$ac_objext conftest$ac_exeext
38638 if { (ac_try="$ac_link"
38639 case "(($ac_try" in
38640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38641 *) ac_try_echo=$ac_try;;
38643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38644 (eval "$ac_link") 2>conftest.er1
38646 grep -v '^ *+' conftest.er1 >conftest.err
38648 cat conftest.err >&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); } && {
38651 test -z "$ac_c_werror_flag" ||
38652 test ! -s conftest.err
38653 } && test -s conftest$ac_exeext &&
38654 $as_test_x conftest$ac_exeext; then
38655 eval wx_cv_func_$wx_func=yes
38657 echo "$as_me: failed program was:" >&5
38658 sed 's/^/| /' conftest.$ac_ext >&5
38660 eval wx_cv_func_$wx_func=no
38663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38664 conftest$ac_exeext conftest.$ac_ext
38667 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38668 { echo "$as_me:$LINENO: result: $ac_res" >&5
38669 echo "${ECHO_T}$ac_res" >&6; }
38671 if eval test \$wx_cv_func_$wx_func = yes
38673 cat >>confdefs.h <<_ACEOF
38674 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38685 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38686 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38687 cat >conftest.$ac_ext <<_ACEOF
38690 cat confdefs.h >>conftest.$ac_ext
38691 cat >>conftest.$ac_ext <<_ACEOF
38692 /* end confdefs.h. */
38702 rm -f conftest.$ac_objext
38703 if { (ac_try="$ac_compile"
38704 case "(($ac_try" in
38705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38706 *) ac_try_echo=$ac_try;;
38708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38709 (eval "$ac_compile") 2>conftest.er1
38711 grep -v '^ *+' conftest.er1 >conftest.err
38713 cat conftest.err >&5
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); } && {
38716 test -z "$ac_c_werror_flag" ||
38717 test ! -s conftest.err
38718 } && test -s conftest.$ac_objext; then
38719 { echo "$as_me:$LINENO: result: yes" >&5
38720 echo "${ECHO_T}yes" >&6; }
38721 cat >>confdefs.h <<\_ACEOF
38722 #define HAVE__VSNWPRINTF 1
38726 echo "$as_me: failed program was:" >&5
38727 sed 's/^/| /' conftest.$ac_ext >&5
38729 { echo "$as_me:$LINENO: result: no" >&5
38730 echo "${ECHO_T}no" >&6; }
38733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38736 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38738 for wx_func in fnmatch
38740 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38741 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38742 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38743 echo $ECHO_N "(cached) $ECHO_C" >&6
38746 cat >conftest.$ac_ext <<_ACEOF
38750 cat confdefs.h >>conftest.$ac_ext
38751 cat >>conftest.$ac_ext <<_ACEOF
38752 /* end confdefs.h. */
38754 #include <fnmatch.h>
38755 $ac_includes_default
38771 rm -f conftest.$ac_objext conftest$ac_exeext
38772 if { (ac_try="$ac_link"
38773 case "(($ac_try" in
38774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38775 *) ac_try_echo=$ac_try;;
38777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38778 (eval "$ac_link") 2>conftest.er1
38780 grep -v '^ *+' conftest.er1 >conftest.err
38782 cat conftest.err >&5
38783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38784 (exit $ac_status); } && {
38785 test -z "$ac_c_werror_flag" ||
38786 test ! -s conftest.err
38787 } && test -s conftest$ac_exeext &&
38788 $as_test_x conftest$ac_exeext; then
38789 eval wx_cv_func_$wx_func=yes
38791 echo "$as_me: failed program was:" >&5
38792 sed 's/^/| /' conftest.$ac_ext >&5
38794 eval wx_cv_func_$wx_func=no
38797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38798 conftest$ac_exeext conftest.$ac_ext
38801 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38802 { echo "$as_me:$LINENO: result: $ac_res" >&5
38803 echo "${ECHO_T}$ac_res" >&6; }
38805 if eval test \$wx_cv_func_$wx_func = yes
38807 cat >>confdefs.h <<_ACEOF
38808 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38820 if test "$wxUSE_FILE" = "yes"; then
38822 for wx_func in fsync
38824 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38825 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38826 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38827 echo $ECHO_N "(cached) $ECHO_C" >&6
38830 cat >conftest.$ac_ext <<_ACEOF
38834 cat confdefs.h >>conftest.$ac_ext
38835 cat >>conftest.$ac_ext <<_ACEOF
38836 /* end confdefs.h. */
38839 $ac_includes_default
38855 rm -f conftest.$ac_objext conftest$ac_exeext
38856 if { (ac_try="$ac_link"
38857 case "(($ac_try" in
38858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38859 *) ac_try_echo=$ac_try;;
38861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38862 (eval "$ac_link") 2>conftest.er1
38864 grep -v '^ *+' conftest.er1 >conftest.err
38866 cat conftest.err >&5
38867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 (exit $ac_status); } && {
38869 test -z "$ac_c_werror_flag" ||
38870 test ! -s conftest.err
38871 } && test -s conftest$ac_exeext &&
38872 $as_test_x conftest$ac_exeext; then
38873 eval wx_cv_func_$wx_func=yes
38875 echo "$as_me: failed program was:" >&5
38876 sed 's/^/| /' conftest.$ac_ext >&5
38878 eval wx_cv_func_$wx_func=no
38881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38882 conftest$ac_exeext conftest.$ac_ext
38885 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38886 { echo "$as_me:$LINENO: result: $ac_res" >&5
38887 echo "${ECHO_T}$ac_res" >&6; }
38889 if eval test \$wx_cv_func_$wx_func = yes
38891 cat >>confdefs.h <<_ACEOF
38892 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38905 ac_cpp='$CXXCPP $CPPFLAGS'
38906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38911 for wx_func in round
38913 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38914 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38915 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38916 echo $ECHO_N "(cached) $ECHO_C" >&6
38919 cat >conftest.$ac_ext <<_ACEOF
38923 cat confdefs.h >>conftest.$ac_ext
38924 cat >>conftest.$ac_ext <<_ACEOF
38925 /* end confdefs.h. */
38928 $ac_includes_default
38944 rm -f conftest.$ac_objext conftest$ac_exeext
38945 if { (ac_try="$ac_link"
38946 case "(($ac_try" in
38947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38948 *) ac_try_echo=$ac_try;;
38950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38951 (eval "$ac_link") 2>conftest.er1
38953 grep -v '^ *+' conftest.er1 >conftest.err
38955 cat conftest.err >&5
38956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38957 (exit $ac_status); } && {
38958 test -z "$ac_cxx_werror_flag" ||
38959 test ! -s conftest.err
38960 } && test -s conftest$ac_exeext &&
38961 $as_test_x conftest$ac_exeext; then
38962 eval wx_cv_func_$wx_func=yes
38964 echo "$as_me: failed program was:" >&5
38965 sed 's/^/| /' conftest.$ac_ext >&5
38967 eval wx_cv_func_$wx_func=no
38970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38971 conftest$ac_exeext conftest.$ac_ext
38974 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38975 { echo "$as_me:$LINENO: result: $ac_res" >&5
38976 echo "${ECHO_T}$ac_res" >&6; }
38978 if eval test \$wx_cv_func_$wx_func = yes
38980 cat >>confdefs.h <<_ACEOF
38981 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38992 ac_cpp='$CPP $CPPFLAGS'
38993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38998 if test "$TOOLKIT" != "MSW"; then
39004 # Check whether --with-libiconv-prefix was given.
39005 if test "${with_libiconv_prefix+set}" = set; then
39006 withval=$with_libiconv_prefix;
39007 for dir in `echo "$withval" | tr : ' '`; do
39008 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39009 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
39015 { echo "$as_me:$LINENO: checking for iconv" >&5
39016 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39017 if test "${am_cv_func_iconv+set}" = set; then
39018 echo $ECHO_N "(cached) $ECHO_C" >&6
39021 am_cv_func_iconv="no, consider installing GNU libiconv"
39023 cat >conftest.$ac_ext <<_ACEOF
39026 cat confdefs.h >>conftest.$ac_ext
39027 cat >>conftest.$ac_ext <<_ACEOF
39028 /* end confdefs.h. */
39029 #include <stdlib.h>
39034 iconv_t cd = iconv_open("","");
39035 iconv(cd,NULL,NULL,NULL,NULL);
39041 rm -f conftest.$ac_objext conftest$ac_exeext
39042 if { (ac_try="$ac_link"
39043 case "(($ac_try" in
39044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39045 *) ac_try_echo=$ac_try;;
39047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39048 (eval "$ac_link") 2>conftest.er1
39050 grep -v '^ *+' conftest.er1 >conftest.err
39052 cat conftest.err >&5
39053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39054 (exit $ac_status); } && {
39055 test -z "$ac_c_werror_flag" ||
39056 test ! -s conftest.err
39057 } && test -s conftest$ac_exeext &&
39058 $as_test_x conftest$ac_exeext; then
39059 am_cv_func_iconv=yes
39061 echo "$as_me: failed program was:" >&5
39062 sed 's/^/| /' conftest.$ac_ext >&5
39067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39068 conftest$ac_exeext conftest.$ac_ext
39069 if test "$am_cv_func_iconv" != yes; then
39070 am_save_LIBS="$LIBS"
39071 LIBS="$LIBS -liconv"
39072 cat >conftest.$ac_ext <<_ACEOF
39075 cat confdefs.h >>conftest.$ac_ext
39076 cat >>conftest.$ac_ext <<_ACEOF
39077 /* end confdefs.h. */
39078 #include <stdlib.h>
39083 iconv_t cd = iconv_open("","");
39084 iconv(cd,NULL,NULL,NULL,NULL);
39090 rm -f conftest.$ac_objext conftest$ac_exeext
39091 if { (ac_try="$ac_link"
39092 case "(($ac_try" in
39093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39094 *) ac_try_echo=$ac_try;;
39096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39097 (eval "$ac_link") 2>conftest.er1
39099 grep -v '^ *+' conftest.er1 >conftest.err
39101 cat conftest.err >&5
39102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39103 (exit $ac_status); } && {
39104 test -z "$ac_c_werror_flag" ||
39105 test ! -s conftest.err
39106 } && test -s conftest$ac_exeext &&
39107 $as_test_x conftest$ac_exeext; then
39108 am_cv_lib_iconv=yes
39109 am_cv_func_iconv=yes
39111 echo "$as_me: failed program was:" >&5
39112 sed 's/^/| /' conftest.$ac_ext >&5
39117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39118 conftest$ac_exeext conftest.$ac_ext
39119 LIBS="$am_save_LIBS"
39123 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39124 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39125 if test "$am_cv_func_iconv" = yes; then
39127 cat >>confdefs.h <<\_ACEOF
39128 #define HAVE_ICONV 1
39131 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39132 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39133 if test "${wx_cv_func_iconv_const+set}" = set; then
39134 echo $ECHO_N "(cached) $ECHO_C" >&6
39136 cat >conftest.$ac_ext <<_ACEOF
39139 cat confdefs.h >>conftest.$ac_ext
39140 cat >>conftest.$ac_ext <<_ACEOF
39141 /* end confdefs.h. */
39143 #include <stdlib.h>
39149 #if defined(__STDC__) || defined(__cplusplus)
39150 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39163 rm -f conftest.$ac_objext
39164 if { (ac_try="$ac_compile"
39165 case "(($ac_try" in
39166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39167 *) ac_try_echo=$ac_try;;
39169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39170 (eval "$ac_compile") 2>conftest.er1
39172 grep -v '^ *+' conftest.er1 >conftest.err
39174 cat conftest.err >&5
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); } && {
39177 test -z "$ac_c_werror_flag" ||
39178 test ! -s conftest.err
39179 } && test -s conftest.$ac_objext; then
39180 wx_cv_func_iconv_const="no"
39182 echo "$as_me: failed program was:" >&5
39183 sed 's/^/| /' conftest.$ac_ext >&5
39185 wx_cv_func_iconv_const="yes"
39189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39192 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39193 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39196 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39197 iconv_const="const"
39201 cat >>confdefs.h <<_ACEOF
39202 #define ICONV_CONST $iconv_const
39207 if test "$am_cv_lib_iconv" = yes; then
39212 LIBS="$LIBICONV $LIBS"
39214 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39216 for ac_func in sigaction
39218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39221 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39222 echo $ECHO_N "(cached) $ECHO_C" >&6
39224 cat >conftest.$ac_ext <<_ACEOF
39227 cat confdefs.h >>conftest.$ac_ext
39228 cat >>conftest.$ac_ext <<_ACEOF
39229 /* end confdefs.h. */
39230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39232 #define $ac_func innocuous_$ac_func
39234 /* System header to define __stub macros and hopefully few prototypes,
39235 which can conflict with char $ac_func (); below.
39236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39237 <limits.h> exists even on freestanding compilers. */
39240 # include <limits.h>
39242 # include <assert.h>
39247 /* Override any GCC internal prototype to avoid an error.
39248 Use char because int might match the return type of a GCC
39249 builtin and then its argument prototype would still apply. */
39254 /* The GNU C library defines this for functions which it implements
39255 to always fail with ENOSYS. Some functions are actually named
39256 something starting with __ and the normal name is an alias. */
39257 #if defined __stub_$ac_func || defined __stub___$ac_func
39264 return $ac_func ();
39269 rm -f conftest.$ac_objext conftest$ac_exeext
39270 if { (ac_try="$ac_link"
39271 case "(($ac_try" in
39272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39273 *) ac_try_echo=$ac_try;;
39275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39276 (eval "$ac_link") 2>conftest.er1
39278 grep -v '^ *+' conftest.er1 >conftest.err
39280 cat conftest.err >&5
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); } && {
39283 test -z "$ac_c_werror_flag" ||
39284 test ! -s conftest.err
39285 } && test -s conftest$ac_exeext &&
39286 $as_test_x conftest$ac_exeext; then
39287 eval "$as_ac_var=yes"
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.$ac_ext >&5
39292 eval "$as_ac_var=no"
39295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39296 conftest$ac_exeext conftest.$ac_ext
39298 ac_res=`eval echo '${'$as_ac_var'}'`
39299 { echo "$as_me:$LINENO: result: $ac_res" >&5
39300 echo "${ECHO_T}$ac_res" >&6; }
39301 if test `eval echo '${'$as_ac_var'}'` = yes; then
39302 cat >>confdefs.h <<_ACEOF
39303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39310 if test "$ac_cv_func_sigaction" = "no"; then
39311 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39312 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39313 wxUSE_ON_FATAL_EXCEPTION=no
39316 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39317 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39318 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39319 if test "${wx_cv_type_sa_handler+set}" = set; then
39320 echo $ECHO_N "(cached) $ECHO_C" >&6
39324 ac_cpp='$CXXCPP $CPPFLAGS'
39325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39329 cat >conftest.$ac_ext <<_ACEOF
39332 cat confdefs.h >>conftest.$ac_ext
39333 cat >>conftest.$ac_ext <<_ACEOF
39334 /* end confdefs.h. */
39335 #include <signal.h>
39340 extern void testSigHandler(int);
39342 struct sigaction sa;
39343 sa.sa_handler = testSigHandler;
39349 rm -f conftest.$ac_objext
39350 if { (ac_try="$ac_compile"
39351 case "(($ac_try" in
39352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39353 *) ac_try_echo=$ac_try;;
39355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39356 (eval "$ac_compile") 2>conftest.er1
39358 grep -v '^ *+' conftest.er1 >conftest.err
39360 cat conftest.err >&5
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); } && {
39363 test -z "$ac_cxx_werror_flag" ||
39364 test ! -s conftest.err
39365 } && test -s conftest.$ac_objext; then
39367 wx_cv_type_sa_handler=int
39370 echo "$as_me: failed program was:" >&5
39371 sed 's/^/| /' conftest.$ac_ext >&5
39374 wx_cv_type_sa_handler=void
39378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39380 ac_cpp='$CPP $CPPFLAGS'
39381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39387 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39388 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39390 cat >>confdefs.h <<_ACEOF
39391 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39397 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39398 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39399 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39400 if test "${wx_cv_func_backtrace+set}" = set; then
39401 echo $ECHO_N "(cached) $ECHO_C" >&6
39405 ac_cpp='$CXXCPP $CPPFLAGS'
39406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39410 cat >conftest.$ac_ext <<_ACEOF
39413 cat confdefs.h >>conftest.$ac_ext
39414 cat >>conftest.$ac_ext <<_ACEOF
39415 /* end confdefs.h. */
39416 #include <execinfo.h>
39424 backtrace(trace, 1);
39425 messages = backtrace_symbols(trace, 1);
39431 rm -f conftest.$ac_objext
39432 if { (ac_try="$ac_compile"
39433 case "(($ac_try" in
39434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39435 *) ac_try_echo=$ac_try;;
39437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39438 (eval "$ac_compile") 2>conftest.er1
39440 grep -v '^ *+' conftest.er1 >conftest.err
39442 cat conftest.err >&5
39443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39444 (exit $ac_status); } && {
39445 test -z "$ac_cxx_werror_flag" ||
39446 test ! -s conftest.err
39447 } && test -s conftest.$ac_objext; then
39448 wx_cv_func_backtrace=yes
39450 echo "$as_me: failed program was:" >&5
39451 sed 's/^/| /' conftest.$ac_ext >&5
39453 wx_cv_func_backtrace=no
39457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39459 ac_cpp='$CPP $CPPFLAGS'
39460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39467 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39468 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39471 if test "$wx_cv_func_backtrace" = "no"; then
39472 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39473 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39474 wxUSE_STACKWALKER=no
39476 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39477 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39478 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39479 echo $ECHO_N "(cached) $ECHO_C" >&6
39483 ac_cpp='$CXXCPP $CPPFLAGS'
39484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39488 cat >conftest.$ac_ext <<_ACEOF
39491 cat confdefs.h >>conftest.$ac_ext
39492 cat >>conftest.$ac_ext <<_ACEOF
39493 /* end confdefs.h. */
39494 #include <cxxabi.h>
39500 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39506 rm -f conftest.$ac_objext conftest$ac_exeext
39507 if { (ac_try="$ac_link"
39508 case "(($ac_try" in
39509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39510 *) ac_try_echo=$ac_try;;
39512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39513 (eval "$ac_link") 2>conftest.er1
39515 grep -v '^ *+' conftest.er1 >conftest.err
39517 cat conftest.err >&5
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); } && {
39520 test -z "$ac_cxx_werror_flag" ||
39521 test ! -s conftest.err
39522 } && test -s conftest$ac_exeext &&
39523 $as_test_x conftest$ac_exeext; then
39524 wx_cv_func_cxa_demangle=yes
39526 echo "$as_me: failed program was:" >&5
39527 sed 's/^/| /' conftest.$ac_ext >&5
39529 wx_cv_func_cxa_demangle=no
39533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39534 conftest$ac_exeext conftest.$ac_ext
39536 ac_cpp='$CPP $CPPFLAGS'
39537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39544 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39545 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39547 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39548 cat >>confdefs.h <<\_ACEOF
39549 #define HAVE_CXA_DEMANGLE 1
39556 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39557 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39558 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39559 wxUSE_STACKWALKER=no
39565 for ac_func in mkstemp mktemp
39567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39568 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39570 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39571 echo $ECHO_N "(cached) $ECHO_C" >&6
39573 cat >conftest.$ac_ext <<_ACEOF
39576 cat confdefs.h >>conftest.$ac_ext
39577 cat >>conftest.$ac_ext <<_ACEOF
39578 /* end confdefs.h. */
39579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39581 #define $ac_func innocuous_$ac_func
39583 /* System header to define __stub macros and hopefully few prototypes,
39584 which can conflict with char $ac_func (); below.
39585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39586 <limits.h> exists even on freestanding compilers. */
39589 # include <limits.h>
39591 # include <assert.h>
39596 /* Override any GCC internal prototype to avoid an error.
39597 Use char because int might match the return type of a GCC
39598 builtin and then its argument prototype would still apply. */
39603 /* The GNU C library defines this for functions which it implements
39604 to always fail with ENOSYS. Some functions are actually named
39605 something starting with __ and the normal name is an alias. */
39606 #if defined __stub_$ac_func || defined __stub___$ac_func
39613 return $ac_func ();
39618 rm -f conftest.$ac_objext conftest$ac_exeext
39619 if { (ac_try="$ac_link"
39620 case "(($ac_try" in
39621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39622 *) ac_try_echo=$ac_try;;
39624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39625 (eval "$ac_link") 2>conftest.er1
39627 grep -v '^ *+' conftest.er1 >conftest.err
39629 cat conftest.err >&5
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); } && {
39632 test -z "$ac_c_werror_flag" ||
39633 test ! -s conftest.err
39634 } && test -s conftest$ac_exeext &&
39635 $as_test_x conftest$ac_exeext; then
39636 eval "$as_ac_var=yes"
39638 echo "$as_me: failed program was:" >&5
39639 sed 's/^/| /' conftest.$ac_ext >&5
39641 eval "$as_ac_var=no"
39644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39645 conftest$ac_exeext conftest.$ac_ext
39647 ac_res=`eval echo '${'$as_ac_var'}'`
39648 { echo "$as_me:$LINENO: result: $ac_res" >&5
39649 echo "${ECHO_T}$ac_res" >&6; }
39650 if test `eval echo '${'$as_ac_var'}'` = yes; then
39651 cat >>confdefs.h <<_ACEOF
39652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39659 { echo "$as_me:$LINENO: checking for statfs" >&5
39660 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39661 if test "${wx_cv_func_statfs+set}" = set; then
39662 echo $ECHO_N "(cached) $ECHO_C" >&6
39664 cat >conftest.$ac_ext <<_ACEOF
39667 cat confdefs.h >>conftest.$ac_ext
39668 cat >>conftest.$ac_ext <<_ACEOF
39669 /* end confdefs.h. */
39671 #if defined(__BSD__)
39672 #include <sys/param.h>
39673 #include <sys/mount.h>
39675 #include <sys/vfs.h>
39693 rm -f conftest.$ac_objext
39694 if { (ac_try="$ac_compile"
39695 case "(($ac_try" in
39696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39697 *) ac_try_echo=$ac_try;;
39699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39700 (eval "$ac_compile") 2>conftest.er1
39702 grep -v '^ *+' conftest.er1 >conftest.err
39704 cat conftest.err >&5
39705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39706 (exit $ac_status); } && {
39707 test -z "$ac_c_werror_flag" ||
39708 test ! -s conftest.err
39709 } && test -s conftest.$ac_objext; then
39710 wx_cv_func_statfs=yes
39712 echo "$as_me: failed program was:" >&5
39713 sed 's/^/| /' conftest.$ac_ext >&5
39715 wx_cv_func_statfs=no
39719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39722 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39723 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39725 if test "$wx_cv_func_statfs" = "yes"; then
39726 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39727 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39728 if test "${wx_cv_func_statfs_decl+set}" = set; then
39729 echo $ECHO_N "(cached) $ECHO_C" >&6
39732 ac_cpp='$CXXCPP $CPPFLAGS'
39733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39737 cat >conftest.$ac_ext <<_ACEOF
39740 cat confdefs.h >>conftest.$ac_ext
39741 cat >>conftest.$ac_ext <<_ACEOF
39742 /* end confdefs.h. */
39744 #if defined(__BSD__)
39745 #include <sys/param.h>
39746 #include <sys/mount.h>
39748 #include <sys/vfs.h>
39762 rm -f conftest.$ac_objext
39763 if { (ac_try="$ac_compile"
39764 case "(($ac_try" in
39765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39766 *) ac_try_echo=$ac_try;;
39768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39769 (eval "$ac_compile") 2>conftest.er1
39771 grep -v '^ *+' conftest.er1 >conftest.err
39773 cat conftest.err >&5
39774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39775 (exit $ac_status); } && {
39776 test -z "$ac_cxx_werror_flag" ||
39777 test ! -s conftest.err
39778 } && test -s conftest.$ac_objext; then
39779 wx_cv_func_statfs_decl=yes
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.$ac_ext >&5
39784 wx_cv_func_statfs_decl=no
39788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39790 ac_cpp='$CPP $CPPFLAGS'
39791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39797 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39798 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39800 if test "$wx_cv_func_statfs_decl" = "yes"; then
39801 cat >>confdefs.h <<\_ACEOF
39802 #define HAVE_STATFS_DECL 1
39807 wx_cv_type_statvfs_t="struct statfs"
39808 cat >>confdefs.h <<\_ACEOF
39809 #define HAVE_STATFS 1
39813 { echo "$as_me:$LINENO: checking for statvfs" >&5
39814 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39815 if test "${wx_cv_func_statvfs+set}" = set; then
39816 echo $ECHO_N "(cached) $ECHO_C" >&6
39818 cat >conftest.$ac_ext <<_ACEOF
39821 cat confdefs.h >>conftest.$ac_ext
39822 cat >>conftest.$ac_ext <<_ACEOF
39823 /* end confdefs.h. */
39825 #include <stddef.h>
39826 #include <sys/statvfs.h>
39832 statvfs("/", NULL);
39838 rm -f conftest.$ac_objext
39839 if { (ac_try="$ac_compile"
39840 case "(($ac_try" in
39841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39842 *) ac_try_echo=$ac_try;;
39844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39845 (eval "$ac_compile") 2>conftest.er1
39847 grep -v '^ *+' conftest.er1 >conftest.err
39849 cat conftest.err >&5
39850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39851 (exit $ac_status); } && {
39852 test -z "$ac_c_werror_flag" ||
39853 test ! -s conftest.err
39854 } && test -s conftest.$ac_objext; then
39855 wx_cv_func_statvfs=yes
39857 echo "$as_me: failed program was:" >&5
39858 sed 's/^/| /' conftest.$ac_ext >&5
39860 wx_cv_func_statvfs=no
39864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39867 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39868 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39870 if test "$wx_cv_func_statvfs" = "yes"; then
39871 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39872 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39873 if test "${wx_cv_type_statvfs_t+set}" = set; then
39874 echo $ECHO_N "(cached) $ECHO_C" >&6
39877 ac_cpp='$CXXCPP $CPPFLAGS'
39878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39882 cat >conftest.$ac_ext <<_ACEOF
39885 cat confdefs.h >>conftest.$ac_ext
39886 cat >>conftest.$ac_ext <<_ACEOF
39887 /* end confdefs.h. */
39889 #include <sys/statvfs.h>
39906 rm -f conftest.$ac_objext
39907 if { (ac_try="$ac_compile"
39908 case "(($ac_try" in
39909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39910 *) ac_try_echo=$ac_try;;
39912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39913 (eval "$ac_compile") 2>conftest.er1
39915 grep -v '^ *+' conftest.er1 >conftest.err
39917 cat conftest.err >&5
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); } && {
39920 test -z "$ac_cxx_werror_flag" ||
39921 test ! -s conftest.err
39922 } && test -s conftest.$ac_objext; then
39923 wx_cv_type_statvfs_t=statvfs_t
39925 echo "$as_me: failed program was:" >&5
39926 sed 's/^/| /' conftest.$ac_ext >&5
39929 cat >conftest.$ac_ext <<_ACEOF
39932 cat confdefs.h >>conftest.$ac_ext
39933 cat >>conftest.$ac_ext <<_ACEOF
39934 /* end confdefs.h. */
39936 #include <sys/statvfs.h>
39953 rm -f conftest.$ac_objext
39954 if { (ac_try="$ac_compile"
39955 case "(($ac_try" in
39956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39957 *) ac_try_echo=$ac_try;;
39959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39960 (eval "$ac_compile") 2>conftest.er1
39962 grep -v '^ *+' conftest.er1 >conftest.err
39964 cat conftest.err >&5
39965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39966 (exit $ac_status); } && {
39967 test -z "$ac_cxx_werror_flag" ||
39968 test ! -s conftest.err
39969 } && test -s conftest.$ac_objext; then
39970 wx_cv_type_statvfs_t="struct statvfs"
39972 echo "$as_me: failed program was:" >&5
39973 sed 's/^/| /' conftest.$ac_ext >&5
39975 wx_cv_type_statvfs_t="unknown"
39979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39986 ac_cpp='$CPP $CPPFLAGS'
39987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39993 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39994 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39996 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39997 cat >>confdefs.h <<\_ACEOF
39998 #define HAVE_STATVFS 1
40003 wx_cv_type_statvfs_t="unknown"
40007 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40008 cat >>confdefs.h <<_ACEOF
40009 #define WX_STATFS_T $wx_cv_type_statvfs_t
40013 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40014 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40017 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40020 for ac_func in fcntl flock
40022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40023 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40028 cat >conftest.$ac_ext <<_ACEOF
40031 cat confdefs.h >>conftest.$ac_ext
40032 cat >>conftest.$ac_ext <<_ACEOF
40033 /* end confdefs.h. */
40034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40036 #define $ac_func innocuous_$ac_func
40038 /* System header to define __stub macros and hopefully few prototypes,
40039 which can conflict with char $ac_func (); below.
40040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40041 <limits.h> exists even on freestanding compilers. */
40044 # include <limits.h>
40046 # include <assert.h>
40051 /* Override any GCC internal prototype to avoid an error.
40052 Use char because int might match the return type of a GCC
40053 builtin and then its argument prototype would still apply. */
40058 /* The GNU C library defines this for functions which it implements
40059 to always fail with ENOSYS. Some functions are actually named
40060 something starting with __ and the normal name is an alias. */
40061 #if defined __stub_$ac_func || defined __stub___$ac_func
40068 return $ac_func ();
40073 rm -f conftest.$ac_objext conftest$ac_exeext
40074 if { (ac_try="$ac_link"
40075 case "(($ac_try" in
40076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40077 *) ac_try_echo=$ac_try;;
40079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40080 (eval "$ac_link") 2>conftest.er1
40082 grep -v '^ *+' conftest.er1 >conftest.err
40084 cat conftest.err >&5
40085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40086 (exit $ac_status); } && {
40087 test -z "$ac_c_werror_flag" ||
40088 test ! -s conftest.err
40089 } && test -s conftest$ac_exeext &&
40090 $as_test_x conftest$ac_exeext; then
40091 eval "$as_ac_var=yes"
40093 echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.$ac_ext >&5
40096 eval "$as_ac_var=no"
40099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40100 conftest$ac_exeext conftest.$ac_ext
40102 ac_res=`eval echo '${'$as_ac_var'}'`
40103 { echo "$as_me:$LINENO: result: $ac_res" >&5
40104 echo "${ECHO_T}$ac_res" >&6; }
40105 if test `eval echo '${'$as_ac_var'}'` = yes; then
40106 cat >>confdefs.h <<_ACEOF
40107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40114 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40115 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40116 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40117 wxUSE_SNGLINST_CHECKER=no
40122 for ac_func in timegm
40124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40127 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40128 echo $ECHO_N "(cached) $ECHO_C" >&6
40130 cat >conftest.$ac_ext <<_ACEOF
40133 cat confdefs.h >>conftest.$ac_ext
40134 cat >>conftest.$ac_ext <<_ACEOF
40135 /* end confdefs.h. */
40136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40138 #define $ac_func innocuous_$ac_func
40140 /* System header to define __stub macros and hopefully few prototypes,
40141 which can conflict with char $ac_func (); below.
40142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40143 <limits.h> exists even on freestanding compilers. */
40146 # include <limits.h>
40148 # include <assert.h>
40153 /* Override any GCC internal prototype to avoid an error.
40154 Use char because int might match the return type of a GCC
40155 builtin and then its argument prototype would still apply. */
40160 /* The GNU C library defines this for functions which it implements
40161 to always fail with ENOSYS. Some functions are actually named
40162 something starting with __ and the normal name is an alias. */
40163 #if defined __stub_$ac_func || defined __stub___$ac_func
40170 return $ac_func ();
40175 rm -f conftest.$ac_objext conftest$ac_exeext
40176 if { (ac_try="$ac_link"
40177 case "(($ac_try" in
40178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40179 *) ac_try_echo=$ac_try;;
40181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40182 (eval "$ac_link") 2>conftest.er1
40184 grep -v '^ *+' conftest.er1 >conftest.err
40186 cat conftest.err >&5
40187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40188 (exit $ac_status); } && {
40189 test -z "$ac_c_werror_flag" ||
40190 test ! -s conftest.err
40191 } && test -s conftest$ac_exeext &&
40192 $as_test_x conftest$ac_exeext; then
40193 eval "$as_ac_var=yes"
40195 echo "$as_me: failed program was:" >&5
40196 sed 's/^/| /' conftest.$ac_ext >&5
40198 eval "$as_ac_var=no"
40201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40202 conftest$ac_exeext conftest.$ac_ext
40204 ac_res=`eval echo '${'$as_ac_var'}'`
40205 { echo "$as_me:$LINENO: result: $ac_res" >&5
40206 echo "${ECHO_T}$ac_res" >&6; }
40207 if test `eval echo '${'$as_ac_var'}'` = yes; then
40208 cat >>confdefs.h <<_ACEOF
40209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40218 for ac_func in setenv putenv
40220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40221 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40224 echo $ECHO_N "(cached) $ECHO_C" >&6
40226 cat >conftest.$ac_ext <<_ACEOF
40229 cat confdefs.h >>conftest.$ac_ext
40230 cat >>conftest.$ac_ext <<_ACEOF
40231 /* end confdefs.h. */
40232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40234 #define $ac_func innocuous_$ac_func
40236 /* System header to define __stub macros and hopefully few prototypes,
40237 which can conflict with char $ac_func (); below.
40238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40239 <limits.h> exists even on freestanding compilers. */
40242 # include <limits.h>
40244 # include <assert.h>
40249 /* Override any GCC internal prototype to avoid an error.
40250 Use char because int might match the return type of a GCC
40251 builtin and then its argument prototype would still apply. */
40256 /* The GNU C library defines this for functions which it implements
40257 to always fail with ENOSYS. Some functions are actually named
40258 something starting with __ and the normal name is an alias. */
40259 #if defined __stub_$ac_func || defined __stub___$ac_func
40266 return $ac_func ();
40271 rm -f conftest.$ac_objext conftest$ac_exeext
40272 if { (ac_try="$ac_link"
40273 case "(($ac_try" in
40274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40275 *) ac_try_echo=$ac_try;;
40277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40278 (eval "$ac_link") 2>conftest.er1
40280 grep -v '^ *+' conftest.er1 >conftest.err
40282 cat conftest.err >&5
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); } && {
40285 test -z "$ac_c_werror_flag" ||
40286 test ! -s conftest.err
40287 } && test -s conftest$ac_exeext &&
40288 $as_test_x conftest$ac_exeext; then
40289 eval "$as_ac_var=yes"
40291 echo "$as_me: failed program was:" >&5
40292 sed 's/^/| /' conftest.$ac_ext >&5
40294 eval "$as_ac_var=no"
40297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40298 conftest$ac_exeext conftest.$ac_ext
40300 ac_res=`eval echo '${'$as_ac_var'}'`
40301 { echo "$as_me:$LINENO: result: $ac_res" >&5
40302 echo "${ECHO_T}$ac_res" >&6; }
40303 if test `eval echo '${'$as_ac_var'}'` = yes; then
40304 cat >>confdefs.h <<_ACEOF
40305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40312 HAVE_SOME_SLEEP_FUNC=0
40313 if test "$USE_BEOS" = 1; then
40314 cat >>confdefs.h <<\_ACEOF
40315 #define HAVE_SLEEP 1
40318 HAVE_SOME_SLEEP_FUNC=1
40321 if test "$USE_DARWIN" = 1; then
40322 cat >>confdefs.h <<\_ACEOF
40323 #define HAVE_USLEEP 1
40326 HAVE_SOME_SLEEP_FUNC=1
40329 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40332 for ac_func in nanosleep
40334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40338 echo $ECHO_N "(cached) $ECHO_C" >&6
40340 cat >conftest.$ac_ext <<_ACEOF
40343 cat confdefs.h >>conftest.$ac_ext
40344 cat >>conftest.$ac_ext <<_ACEOF
40345 /* end confdefs.h. */
40346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40348 #define $ac_func innocuous_$ac_func
40350 /* System header to define __stub macros and hopefully few prototypes,
40351 which can conflict with char $ac_func (); below.
40352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40353 <limits.h> exists even on freestanding compilers. */
40356 # include <limits.h>
40358 # include <assert.h>
40363 /* Override any GCC internal prototype to avoid an error.
40364 Use char because int might match the return type of a GCC
40365 builtin and then its argument prototype would still apply. */
40370 /* The GNU C library defines this for functions which it implements
40371 to always fail with ENOSYS. Some functions are actually named
40372 something starting with __ and the normal name is an alias. */
40373 #if defined __stub_$ac_func || defined __stub___$ac_func
40380 return $ac_func ();
40385 rm -f conftest.$ac_objext conftest$ac_exeext
40386 if { (ac_try="$ac_link"
40387 case "(($ac_try" in
40388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40389 *) ac_try_echo=$ac_try;;
40391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40392 (eval "$ac_link") 2>conftest.er1
40394 grep -v '^ *+' conftest.er1 >conftest.err
40396 cat conftest.err >&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); } && {
40399 test -z "$ac_c_werror_flag" ||
40400 test ! -s conftest.err
40401 } && test -s conftest$ac_exeext &&
40402 $as_test_x conftest$ac_exeext; then
40403 eval "$as_ac_var=yes"
40405 echo "$as_me: failed program was:" >&5
40406 sed 's/^/| /' conftest.$ac_ext >&5
40408 eval "$as_ac_var=no"
40411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40412 conftest$ac_exeext conftest.$ac_ext
40414 ac_res=`eval echo '${'$as_ac_var'}'`
40415 { echo "$as_me:$LINENO: result: $ac_res" >&5
40416 echo "${ECHO_T}$ac_res" >&6; }
40417 if test `eval echo '${'$as_ac_var'}'` = yes; then
40418 cat >>confdefs.h <<_ACEOF
40419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40421 cat >>confdefs.h <<\_ACEOF
40422 #define HAVE_NANOSLEEP 1
40427 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40428 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40429 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40430 echo $ECHO_N "(cached) $ECHO_C" >&6
40432 ac_check_lib_save_LIBS=$LIBS
40433 LIBS="-lposix4 $LIBS"
40434 cat >conftest.$ac_ext <<_ACEOF
40437 cat confdefs.h >>conftest.$ac_ext
40438 cat >>conftest.$ac_ext <<_ACEOF
40439 /* end confdefs.h. */
40441 /* Override any GCC internal prototype to avoid an error.
40442 Use char because int might match the return type of a GCC
40443 builtin and then its argument prototype would still apply. */
40451 return nanosleep ();
40456 rm -f conftest.$ac_objext conftest$ac_exeext
40457 if { (ac_try="$ac_link"
40458 case "(($ac_try" in
40459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40460 *) ac_try_echo=$ac_try;;
40462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40463 (eval "$ac_link") 2>conftest.er1
40465 grep -v '^ *+' conftest.er1 >conftest.err
40467 cat conftest.err >&5
40468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469 (exit $ac_status); } && {
40470 test -z "$ac_c_werror_flag" ||
40471 test ! -s conftest.err
40472 } && test -s conftest$ac_exeext &&
40473 $as_test_x conftest$ac_exeext; then
40474 ac_cv_lib_posix4_nanosleep=yes
40476 echo "$as_me: failed program was:" >&5
40477 sed 's/^/| /' conftest.$ac_ext >&5
40479 ac_cv_lib_posix4_nanosleep=no
40482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40483 conftest$ac_exeext conftest.$ac_ext
40484 LIBS=$ac_check_lib_save_LIBS
40486 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40487 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40488 if test $ac_cv_lib_posix4_nanosleep = yes; then
40490 cat >>confdefs.h <<\_ACEOF
40491 #define HAVE_NANOSLEEP 1
40494 POSIX4_LINK=" -lposix4"
40499 for wx_func in usleep
40501 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40502 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40503 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40504 echo $ECHO_N "(cached) $ECHO_C" >&6
40507 cat >conftest.$ac_ext <<_ACEOF
40511 cat confdefs.h >>conftest.$ac_ext
40512 cat >>conftest.$ac_ext <<_ACEOF
40513 /* end confdefs.h. */
40516 $ac_includes_default
40532 rm -f conftest.$ac_objext conftest$ac_exeext
40533 if { (ac_try="$ac_link"
40534 case "(($ac_try" in
40535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40536 *) ac_try_echo=$ac_try;;
40538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40539 (eval "$ac_link") 2>conftest.er1
40541 grep -v '^ *+' conftest.er1 >conftest.err
40543 cat conftest.err >&5
40544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40545 (exit $ac_status); } && {
40546 test -z "$ac_c_werror_flag" ||
40547 test ! -s conftest.err
40548 } && test -s conftest$ac_exeext &&
40549 $as_test_x conftest$ac_exeext; then
40550 eval wx_cv_func_$wx_func=yes
40552 echo "$as_me: failed program was:" >&5
40553 sed 's/^/| /' conftest.$ac_ext >&5
40555 eval wx_cv_func_$wx_func=no
40558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40559 conftest$ac_exeext conftest.$ac_ext
40562 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40563 { echo "$as_me:$LINENO: result: $ac_res" >&5
40564 echo "${ECHO_T}$ac_res" >&6; }
40566 if eval test \$wx_cv_func_$wx_func = yes
40568 cat >>confdefs.h <<_ACEOF
40569 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40575 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40576 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40593 for wx_func in uname
40595 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40596 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40597 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40598 echo $ECHO_N "(cached) $ECHO_C" >&6
40601 cat >conftest.$ac_ext <<_ACEOF
40605 cat confdefs.h >>conftest.$ac_ext
40606 cat >>conftest.$ac_ext <<_ACEOF
40607 /* end confdefs.h. */
40609 #include <sys/utsname.h>
40610 $ac_includes_default
40626 rm -f conftest.$ac_objext conftest$ac_exeext
40627 if { (ac_try="$ac_link"
40628 case "(($ac_try" in
40629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40630 *) ac_try_echo=$ac_try;;
40632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40633 (eval "$ac_link") 2>conftest.er1
40635 grep -v '^ *+' conftest.er1 >conftest.err
40637 cat conftest.err >&5
40638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40639 (exit $ac_status); } && {
40640 test -z "$ac_c_werror_flag" ||
40641 test ! -s conftest.err
40642 } && test -s conftest$ac_exeext &&
40643 $as_test_x conftest$ac_exeext; then
40644 eval wx_cv_func_$wx_func=yes
40646 echo "$as_me: failed program was:" >&5
40647 sed 's/^/| /' conftest.$ac_ext >&5
40649 eval wx_cv_func_$wx_func=no
40652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40653 conftest$ac_exeext conftest.$ac_ext
40656 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40657 { echo "$as_me:$LINENO: result: $ac_res" >&5
40658 echo "${ECHO_T}$ac_res" >&6; }
40660 if eval test \$wx_cv_func_$wx_func = yes
40662 cat >>confdefs.h <<_ACEOF
40663 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40673 if test "$wx_cv_func_uname" != yes; then
40675 for wx_func in gethostname
40677 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40678 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40679 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40680 echo $ECHO_N "(cached) $ECHO_C" >&6
40683 cat >conftest.$ac_ext <<_ACEOF
40687 cat confdefs.h >>conftest.$ac_ext
40688 cat >>conftest.$ac_ext <<_ACEOF
40689 /* end confdefs.h. */
40692 $ac_includes_default
40708 rm -f conftest.$ac_objext conftest$ac_exeext
40709 if { (ac_try="$ac_link"
40710 case "(($ac_try" in
40711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40712 *) ac_try_echo=$ac_try;;
40714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40715 (eval "$ac_link") 2>conftest.er1
40717 grep -v '^ *+' conftest.er1 >conftest.err
40719 cat conftest.err >&5
40720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40721 (exit $ac_status); } && {
40722 test -z "$ac_c_werror_flag" ||
40723 test ! -s conftest.err
40724 } && test -s conftest$ac_exeext &&
40725 $as_test_x conftest$ac_exeext; then
40726 eval wx_cv_func_$wx_func=yes
40728 echo "$as_me: failed program was:" >&5
40729 sed 's/^/| /' conftest.$ac_ext >&5
40731 eval wx_cv_func_$wx_func=no
40734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40735 conftest$ac_exeext conftest.$ac_ext
40738 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40739 { echo "$as_me:$LINENO: result: $ac_res" >&5
40740 echo "${ECHO_T}$ac_res" >&6; }
40742 if eval test \$wx_cv_func_$wx_func = yes
40744 cat >>confdefs.h <<_ACEOF
40745 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40758 for wx_func in strtok_r
40760 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40761 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40762 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40763 echo $ECHO_N "(cached) $ECHO_C" >&6
40766 cat >conftest.$ac_ext <<_ACEOF
40770 cat confdefs.h >>conftest.$ac_ext
40771 cat >>conftest.$ac_ext <<_ACEOF
40772 /* end confdefs.h. */
40775 $ac_includes_default
40791 rm -f conftest.$ac_objext conftest$ac_exeext
40792 if { (ac_try="$ac_link"
40793 case "(($ac_try" in
40794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40795 *) ac_try_echo=$ac_try;;
40797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40798 (eval "$ac_link") 2>conftest.er1
40800 grep -v '^ *+' conftest.er1 >conftest.err
40802 cat conftest.err >&5
40803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40804 (exit $ac_status); } && {
40805 test -z "$ac_c_werror_flag" ||
40806 test ! -s conftest.err
40807 } && test -s conftest$ac_exeext &&
40808 $as_test_x conftest$ac_exeext; then
40809 eval wx_cv_func_$wx_func=yes
40811 echo "$as_me: failed program was:" >&5
40812 sed 's/^/| /' conftest.$ac_ext >&5
40814 eval wx_cv_func_$wx_func=no
40817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40818 conftest$ac_exeext conftest.$ac_ext
40821 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40822 { echo "$as_me:$LINENO: result: $ac_res" >&5
40823 echo "${ECHO_T}$ac_res" >&6; }
40825 if eval test \$wx_cv_func_$wx_func = yes
40827 cat >>confdefs.h <<_ACEOF
40828 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40841 for ac_func in inet_addr
40843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40847 echo $ECHO_N "(cached) $ECHO_C" >&6
40849 cat >conftest.$ac_ext <<_ACEOF
40852 cat confdefs.h >>conftest.$ac_ext
40853 cat >>conftest.$ac_ext <<_ACEOF
40854 /* end confdefs.h. */
40855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40857 #define $ac_func innocuous_$ac_func
40859 /* System header to define __stub macros and hopefully few prototypes,
40860 which can conflict with char $ac_func (); below.
40861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40862 <limits.h> exists even on freestanding compilers. */
40865 # include <limits.h>
40867 # include <assert.h>
40872 /* Override any GCC internal prototype to avoid an error.
40873 Use char because int might match the return type of a GCC
40874 builtin and then its argument prototype would still apply. */
40879 /* The GNU C library defines this for functions which it implements
40880 to always fail with ENOSYS. Some functions are actually named
40881 something starting with __ and the normal name is an alias. */
40882 #if defined __stub_$ac_func || defined __stub___$ac_func
40889 return $ac_func ();
40894 rm -f conftest.$ac_objext conftest$ac_exeext
40895 if { (ac_try="$ac_link"
40896 case "(($ac_try" in
40897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40898 *) ac_try_echo=$ac_try;;
40900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40901 (eval "$ac_link") 2>conftest.er1
40903 grep -v '^ *+' conftest.er1 >conftest.err
40905 cat conftest.err >&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); } && {
40908 test -z "$ac_c_werror_flag" ||
40909 test ! -s conftest.err
40910 } && test -s conftest$ac_exeext &&
40911 $as_test_x conftest$ac_exeext; then
40912 eval "$as_ac_var=yes"
40914 echo "$as_me: failed program was:" >&5
40915 sed 's/^/| /' conftest.$ac_ext >&5
40917 eval "$as_ac_var=no"
40920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40921 conftest$ac_exeext conftest.$ac_ext
40923 ac_res=`eval echo '${'$as_ac_var'}'`
40924 { echo "$as_me:$LINENO: result: $ac_res" >&5
40925 echo "${ECHO_T}$ac_res" >&6; }
40926 if test `eval echo '${'$as_ac_var'}'` = yes; then
40927 cat >>confdefs.h <<_ACEOF
40928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40930 cat >>confdefs.h <<\_ACEOF
40931 #define HAVE_INET_ADDR 1
40936 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40937 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40938 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40939 echo $ECHO_N "(cached) $ECHO_C" >&6
40941 ac_check_lib_save_LIBS=$LIBS
40943 cat >conftest.$ac_ext <<_ACEOF
40946 cat confdefs.h >>conftest.$ac_ext
40947 cat >>conftest.$ac_ext <<_ACEOF
40948 /* end confdefs.h. */
40950 /* Override any GCC internal prototype to avoid an error.
40951 Use char because int might match the return type of a GCC
40952 builtin and then its argument prototype would still apply. */
40960 return inet_addr ();
40965 rm -f conftest.$ac_objext conftest$ac_exeext
40966 if { (ac_try="$ac_link"
40967 case "(($ac_try" in
40968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40969 *) ac_try_echo=$ac_try;;
40971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40972 (eval "$ac_link") 2>conftest.er1
40974 grep -v '^ *+' conftest.er1 >conftest.err
40976 cat conftest.err >&5
40977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40978 (exit $ac_status); } && {
40979 test -z "$ac_c_werror_flag" ||
40980 test ! -s conftest.err
40981 } && test -s conftest$ac_exeext &&
40982 $as_test_x conftest$ac_exeext; then
40983 ac_cv_lib_nsl_inet_addr=yes
40985 echo "$as_me: failed program was:" >&5
40986 sed 's/^/| /' conftest.$ac_ext >&5
40988 ac_cv_lib_nsl_inet_addr=no
40991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40992 conftest$ac_exeext conftest.$ac_ext
40993 LIBS=$ac_check_lib_save_LIBS
40995 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40996 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40997 if test $ac_cv_lib_nsl_inet_addr = yes; then
41001 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41002 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41003 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41004 echo $ECHO_N "(cached) $ECHO_C" >&6
41006 ac_check_lib_save_LIBS=$LIBS
41007 LIBS="-lresolv $LIBS"
41008 cat >conftest.$ac_ext <<_ACEOF
41011 cat confdefs.h >>conftest.$ac_ext
41012 cat >>conftest.$ac_ext <<_ACEOF
41013 /* end confdefs.h. */
41015 /* Override any GCC internal prototype to avoid an error.
41016 Use char because int might match the return type of a GCC
41017 builtin and then its argument prototype would still apply. */
41025 return inet_addr ();
41030 rm -f conftest.$ac_objext conftest$ac_exeext
41031 if { (ac_try="$ac_link"
41032 case "(($ac_try" in
41033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41034 *) ac_try_echo=$ac_try;;
41036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41037 (eval "$ac_link") 2>conftest.er1
41039 grep -v '^ *+' conftest.er1 >conftest.err
41041 cat conftest.err >&5
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); } && {
41044 test -z "$ac_c_werror_flag" ||
41045 test ! -s conftest.err
41046 } && test -s conftest$ac_exeext &&
41047 $as_test_x conftest$ac_exeext; then
41048 ac_cv_lib_resolv_inet_addr=yes
41050 echo "$as_me: failed program was:" >&5
41051 sed 's/^/| /' conftest.$ac_ext >&5
41053 ac_cv_lib_resolv_inet_addr=no
41056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41057 conftest$ac_exeext conftest.$ac_ext
41058 LIBS=$ac_check_lib_save_LIBS
41060 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41061 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41062 if test $ac_cv_lib_resolv_inet_addr = yes; then
41066 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41067 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41068 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41069 echo $ECHO_N "(cached) $ECHO_C" >&6
41071 ac_check_lib_save_LIBS=$LIBS
41072 LIBS="-lsocket $LIBS"
41073 cat >conftest.$ac_ext <<_ACEOF
41076 cat confdefs.h >>conftest.$ac_ext
41077 cat >>conftest.$ac_ext <<_ACEOF
41078 /* end confdefs.h. */
41080 /* Override any GCC internal prototype to avoid an error.
41081 Use char because int might match the return type of a GCC
41082 builtin and then its argument prototype would still apply. */
41090 return inet_addr ();
41095 rm -f conftest.$ac_objext conftest$ac_exeext
41096 if { (ac_try="$ac_link"
41097 case "(($ac_try" in
41098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41099 *) ac_try_echo=$ac_try;;
41101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41102 (eval "$ac_link") 2>conftest.er1
41104 grep -v '^ *+' conftest.er1 >conftest.err
41106 cat conftest.err >&5
41107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41108 (exit $ac_status); } && {
41109 test -z "$ac_c_werror_flag" ||
41110 test ! -s conftest.err
41111 } && test -s conftest$ac_exeext &&
41112 $as_test_x conftest$ac_exeext; then
41113 ac_cv_lib_socket_inet_addr=yes
41115 echo "$as_me: failed program was:" >&5
41116 sed 's/^/| /' conftest.$ac_ext >&5
41118 ac_cv_lib_socket_inet_addr=no
41121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41122 conftest$ac_exeext conftest.$ac_ext
41123 LIBS=$ac_check_lib_save_LIBS
41125 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41126 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41127 if test $ac_cv_lib_socket_inet_addr = yes; then
41147 for ac_func in inet_aton
41149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41153 echo $ECHO_N "(cached) $ECHO_C" >&6
41155 cat >conftest.$ac_ext <<_ACEOF
41158 cat confdefs.h >>conftest.$ac_ext
41159 cat >>conftest.$ac_ext <<_ACEOF
41160 /* end confdefs.h. */
41161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41163 #define $ac_func innocuous_$ac_func
41165 /* System header to define __stub macros and hopefully few prototypes,
41166 which can conflict with char $ac_func (); below.
41167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41168 <limits.h> exists even on freestanding compilers. */
41171 # include <limits.h>
41173 # include <assert.h>
41178 /* Override any GCC internal prototype to avoid an error.
41179 Use char because int might match the return type of a GCC
41180 builtin and then its argument prototype would still apply. */
41185 /* The GNU C library defines this for functions which it implements
41186 to always fail with ENOSYS. Some functions are actually named
41187 something starting with __ and the normal name is an alias. */
41188 #if defined __stub_$ac_func || defined __stub___$ac_func
41195 return $ac_func ();
41200 rm -f conftest.$ac_objext conftest$ac_exeext
41201 if { (ac_try="$ac_link"
41202 case "(($ac_try" in
41203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41204 *) ac_try_echo=$ac_try;;
41206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41207 (eval "$ac_link") 2>conftest.er1
41209 grep -v '^ *+' conftest.er1 >conftest.err
41211 cat conftest.err >&5
41212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41213 (exit $ac_status); } && {
41214 test -z "$ac_c_werror_flag" ||
41215 test ! -s conftest.err
41216 } && test -s conftest$ac_exeext &&
41217 $as_test_x conftest$ac_exeext; then
41218 eval "$as_ac_var=yes"
41220 echo "$as_me: failed program was:" >&5
41221 sed 's/^/| /' conftest.$ac_ext >&5
41223 eval "$as_ac_var=no"
41226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41227 conftest$ac_exeext conftest.$ac_ext
41229 ac_res=`eval echo '${'$as_ac_var'}'`
41230 { echo "$as_me:$LINENO: result: $ac_res" >&5
41231 echo "${ECHO_T}$ac_res" >&6; }
41232 if test `eval echo '${'$as_ac_var'}'` = yes; then
41233 cat >>confdefs.h <<_ACEOF
41234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41236 cat >>confdefs.h <<\_ACEOF
41237 #define HAVE_INET_ATON 1
41242 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41243 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41244 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41245 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41246 echo $ECHO_N "(cached) $ECHO_C" >&6
41248 ac_check_lib_save_LIBS=$LIBS
41249 LIBS="-l$INET_LINK $LIBS"
41250 cat >conftest.$ac_ext <<_ACEOF
41253 cat confdefs.h >>conftest.$ac_ext
41254 cat >>conftest.$ac_ext <<_ACEOF
41255 /* end confdefs.h. */
41257 /* Override any GCC internal prototype to avoid an error.
41258 Use char because int might match the return type of a GCC
41259 builtin and then its argument prototype would still apply. */
41267 return inet_aton ();
41272 rm -f conftest.$ac_objext conftest$ac_exeext
41273 if { (ac_try="$ac_link"
41274 case "(($ac_try" in
41275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41276 *) ac_try_echo=$ac_try;;
41278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41279 (eval "$ac_link") 2>conftest.er1
41281 grep -v '^ *+' conftest.er1 >conftest.err
41283 cat conftest.err >&5
41284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41285 (exit $ac_status); } && {
41286 test -z "$ac_c_werror_flag" ||
41287 test ! -s conftest.err
41288 } && test -s conftest$ac_exeext &&
41289 $as_test_x conftest$ac_exeext; then
41290 eval "$as_ac_Lib=yes"
41292 echo "$as_me: failed program was:" >&5
41293 sed 's/^/| /' conftest.$ac_ext >&5
41295 eval "$as_ac_Lib=no"
41298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41299 conftest$ac_exeext conftest.$ac_ext
41300 LIBS=$ac_check_lib_save_LIBS
41302 ac_res=`eval echo '${'$as_ac_Lib'}'`
41303 { echo "$as_me:$LINENO: result: $ac_res" >&5
41304 echo "${ECHO_T}$ac_res" >&6; }
41305 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41306 cat >>confdefs.h <<\_ACEOF
41307 #define HAVE_INET_ATON 1
41317 if test "x$INET_LINK" != "x"; then
41318 cat >>confdefs.h <<\_ACEOF
41319 #define HAVE_INET_ADDR 1
41322 INET_LINK=" -l$INET_LINK"
41326 for wx_func in fdopen
41328 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41329 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41330 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41331 echo $ECHO_N "(cached) $ECHO_C" >&6
41334 cat >conftest.$ac_ext <<_ACEOF
41338 cat confdefs.h >>conftest.$ac_ext
41339 cat >>conftest.$ac_ext <<_ACEOF
41340 /* end confdefs.h. */
41343 $ac_includes_default
41359 rm -f conftest.$ac_objext conftest$ac_exeext
41360 if { (ac_try="$ac_link"
41361 case "(($ac_try" in
41362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41363 *) ac_try_echo=$ac_try;;
41365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41366 (eval "$ac_link") 2>conftest.er1
41368 grep -v '^ *+' conftest.er1 >conftest.err
41370 cat conftest.err >&5
41371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41372 (exit $ac_status); } && {
41373 test -z "$ac_c_werror_flag" ||
41374 test ! -s conftest.err
41375 } && test -s conftest$ac_exeext &&
41376 $as_test_x conftest$ac_exeext; then
41377 eval wx_cv_func_$wx_func=yes
41379 echo "$as_me: failed program was:" >&5
41380 sed 's/^/| /' conftest.$ac_ext >&5
41382 eval wx_cv_func_$wx_func=no
41385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41386 conftest$ac_exeext conftest.$ac_ext
41389 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41390 { echo "$as_me:$LINENO: result: $ac_res" >&5
41391 echo "${ECHO_T}$ac_res" >&6; }
41393 if eval test \$wx_cv_func_$wx_func = yes
41395 cat >>confdefs.h <<_ACEOF
41396 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41411 cat >confcache <<\_ACEOF
41412 # This file is a shell script that caches the results of configure
41413 # tests run on this system so they can be shared between configure
41414 # scripts and configure runs, see configure's option --config-cache.
41415 # It is not useful on other systems. If it contains results you don't
41416 # want to keep, you may remove or edit it.
41418 # config.status only pays attention to the cache file if you give it
41419 # the --recheck option to rerun configure.
41421 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41422 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41423 # following values.
41427 # The following way of writing the cache mishandles newlines in values,
41428 # but we know of no workaround that is simple, portable, and efficient.
41429 # So, we kill variables containing newlines.
41430 # Ultrix sh set writes to stderr and can't be redirected directly,
41431 # and sets the high bit in the cache file unless we assign to the vars.
41433 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41434 eval ac_val=\$$ac_var
41438 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41439 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41442 _ | IFS | as_nl) ;; #(
41443 *) $as_unset $ac_var ;;
41449 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41450 *${as_nl}ac_space=\ *)
41451 # `set' does not quote correctly, so add quotes (double-quote
41452 # substitution turns \\\\ into \\, and sed turns \\ into \).
41455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41458 # `set' quotes correctly as required by POSIX, so do not add quotes.
41459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41468 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41470 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41472 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41473 if test -w "$cache_file"; then
41474 test "x$cache_file" != "x/dev/null" &&
41475 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41476 echo "$as_me: updating cache $cache_file" >&6;}
41477 cat confcache >$cache_file
41479 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41480 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41486 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41492 if test "$wxUSE_THREADS" = "yes" ; then
41493 if test "$USE_BEOS" = 1; then
41494 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41495 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41500 if test "$wxUSE_THREADS" = "yes" ; then
41503 THREAD_OPTS="-pthread"
41504 if test "x$SUNCXX" = xyes; then
41505 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41509 *-*-solaris2* | *-*-sunos4* )
41510 if test "x$GCC" = "xyes"; then
41511 THREAD_OPTS="-pthreads $THREAD_OPTS"
41515 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41517 *-*-darwin* | *-*-cygwin* )
41521 THREAD_OPTS="pthreads"
41524 if test "x$GCC" = "xyes"; then
41525 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41533 if test "x$GCC" = "xyes"; then
41539 if test "x$GCC" != "xyes"; then
41540 THREAD_OPTS="-Ethread"
41545 THREAD_OPTS="$THREAD_OPTS pthread none"
41548 for flag in $THREAD_OPTS; do
41551 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41552 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41556 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41557 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41558 THREADS_CFLAGS="$flag"
41562 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41563 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41564 THREADS_LINK="-l$flag"
41569 save_CFLAGS="$CFLAGS"
41570 LIBS="$THREADS_LINK $LIBS"
41571 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41573 cat >conftest.$ac_ext <<_ACEOF
41576 cat confdefs.h >>conftest.$ac_ext
41577 cat >>conftest.$ac_ext <<_ACEOF
41578 /* end confdefs.h. */
41579 #include <pthread.h>
41583 pthread_create(0,0,0,0);
41588 rm -f conftest.$ac_objext conftest$ac_exeext
41589 if { (ac_try="$ac_link"
41590 case "(($ac_try" in
41591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41592 *) ac_try_echo=$ac_try;;
41594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41595 (eval "$ac_link") 2>conftest.er1
41597 grep -v '^ *+' conftest.er1 >conftest.err
41599 cat conftest.err >&5
41600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41601 (exit $ac_status); } && {
41602 test -z "$ac_c_werror_flag" ||
41603 test ! -s conftest.err
41604 } && test -s conftest$ac_exeext &&
41605 $as_test_x conftest$ac_exeext; then
41608 echo "$as_me: failed program was:" >&5
41609 sed 's/^/| /' conftest.$ac_ext >&5
41614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41615 conftest$ac_exeext conftest.$ac_ext
41618 CFLAGS="$save_CFLAGS"
41620 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41621 echo "${ECHO_T}$THREADS_OK" >&6; }
41622 if test "x$THREADS_OK" = "xyes"; then
41630 if test "x$THREADS_OK" != "xyes"; then
41632 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41633 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41635 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41636 LIBS="$THREADS_LINK $LIBS"
41638 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41639 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41643 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41644 flag="-D_THREAD_SAFE"
41647 flag="-D_THREAD_SAFE"
41650 flag="-D_REENTRANT"
41651 if test "x$GCC" != "xyes"; then
41652 flag="$flag -D_RWSTD_MULTI_THREAD"
41655 *solaris* | alpha*-osf*)
41656 flag="-D_REENTRANT"
41659 { echo "$as_me:$LINENO: result: ${flag}" >&5
41660 echo "${ECHO_T}${flag}" >&6; }
41661 if test "x$flag" != xno; then
41662 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41665 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41669 if test "$wxUSE_THREADS" = "yes" ; then
41671 for ac_func in thr_setconcurrency
41673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41674 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41676 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41677 echo $ECHO_N "(cached) $ECHO_C" >&6
41679 cat >conftest.$ac_ext <<_ACEOF
41682 cat confdefs.h >>conftest.$ac_ext
41683 cat >>conftest.$ac_ext <<_ACEOF
41684 /* end confdefs.h. */
41685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41687 #define $ac_func innocuous_$ac_func
41689 /* System header to define __stub macros and hopefully few prototypes,
41690 which can conflict with char $ac_func (); below.
41691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41692 <limits.h> exists even on freestanding compilers. */
41695 # include <limits.h>
41697 # include <assert.h>
41702 /* Override any GCC internal prototype to avoid an error.
41703 Use char because int might match the return type of a GCC
41704 builtin and then its argument prototype would still apply. */
41709 /* The GNU C library defines this for functions which it implements
41710 to always fail with ENOSYS. Some functions are actually named
41711 something starting with __ and the normal name is an alias. */
41712 #if defined __stub_$ac_func || defined __stub___$ac_func
41719 return $ac_func ();
41724 rm -f conftest.$ac_objext conftest$ac_exeext
41725 if { (ac_try="$ac_link"
41726 case "(($ac_try" in
41727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41728 *) ac_try_echo=$ac_try;;
41730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41731 (eval "$ac_link") 2>conftest.er1
41733 grep -v '^ *+' conftest.er1 >conftest.err
41735 cat conftest.err >&5
41736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41737 (exit $ac_status); } && {
41738 test -z "$ac_c_werror_flag" ||
41739 test ! -s conftest.err
41740 } && test -s conftest$ac_exeext &&
41741 $as_test_x conftest$ac_exeext; then
41742 eval "$as_ac_var=yes"
41744 echo "$as_me: failed program was:" >&5
41745 sed 's/^/| /' conftest.$ac_ext >&5
41747 eval "$as_ac_var=no"
41750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41751 conftest$ac_exeext conftest.$ac_ext
41753 ac_res=`eval echo '${'$as_ac_var'}'`
41754 { echo "$as_me:$LINENO: result: $ac_res" >&5
41755 echo "${ECHO_T}$ac_res" >&6; }
41756 if test `eval echo '${'$as_ac_var'}'` = yes; then
41757 cat >>confdefs.h <<_ACEOF
41758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41765 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41766 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41767 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41768 echo $ECHO_N "(cached) $ECHO_C" >&6
41772 ac_cpp='$CXXCPP $CPPFLAGS'
41773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41777 cat >conftest.$ac_ext <<_ACEOF
41780 cat confdefs.h >>conftest.$ac_ext
41781 cat >>conftest.$ac_ext <<_ACEOF
41782 /* end confdefs.h. */
41783 #include <pthread.h>
41784 void ThreadCleanupFunc(void *p);
41791 pthread_cleanup_push(ThreadCleanupFunc, p);
41792 pthread_cleanup_pop(0);
41798 rm -f conftest.$ac_objext
41799 if { (ac_try="$ac_compile"
41800 case "(($ac_try" in
41801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41802 *) ac_try_echo=$ac_try;;
41804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41805 (eval "$ac_compile") 2>conftest.er1
41807 grep -v '^ *+' conftest.er1 >conftest.err
41809 cat conftest.err >&5
41810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41811 (exit $ac_status); } && {
41812 test -z "$ac_cxx_werror_flag" ||
41813 test ! -s conftest.err
41814 } && test -s conftest.$ac_objext; then
41816 wx_cv_func_pthread_cleanup=yes
41819 echo "$as_me: failed program was:" >&5
41820 sed 's/^/| /' conftest.$ac_ext >&5
41823 wx_cv_func_pthread_cleanup=no
41828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41830 ac_cpp='$CPP $CPPFLAGS'
41831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41837 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41838 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41839 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41840 cat >>confdefs.h <<\_ACEOF
41841 #define wxHAVE_PTHREAD_CLEANUP 1
41847 for ac_header in sched.h
41849 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41850 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41852 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41853 echo $ECHO_N "(cached) $ECHO_C" >&6
41855 cat >conftest.$ac_ext <<_ACEOF
41858 cat confdefs.h >>conftest.$ac_ext
41859 cat >>conftest.$ac_ext <<_ACEOF
41860 /* end confdefs.h. */
41861 $ac_includes_default
41863 #include <$ac_header>
41865 rm -f conftest.$ac_objext
41866 if { (ac_try="$ac_compile"
41867 case "(($ac_try" in
41868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41869 *) ac_try_echo=$ac_try;;
41871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41872 (eval "$ac_compile") 2>conftest.er1
41874 grep -v '^ *+' conftest.er1 >conftest.err
41876 cat conftest.err >&5
41877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41878 (exit $ac_status); } && {
41879 test -z "$ac_c_werror_flag" ||
41880 test ! -s conftest.err
41881 } && test -s conftest.$ac_objext; then
41882 eval "$as_ac_Header=yes"
41884 echo "$as_me: failed program was:" >&5
41885 sed 's/^/| /' conftest.$ac_ext >&5
41887 eval "$as_ac_Header=no"
41890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41892 ac_res=`eval echo '${'$as_ac_Header'}'`
41893 { echo "$as_me:$LINENO: result: $ac_res" >&5
41894 echo "${ECHO_T}$ac_res" >&6; }
41895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41896 cat >>confdefs.h <<_ACEOF
41897 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41904 if test "$ac_cv_header_sched_h" = "yes"; then
41905 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41906 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41907 if test "${ac_cv_func_sched_yield+set}" = set; then
41908 echo $ECHO_N "(cached) $ECHO_C" >&6
41910 cat >conftest.$ac_ext <<_ACEOF
41913 cat confdefs.h >>conftest.$ac_ext
41914 cat >>conftest.$ac_ext <<_ACEOF
41915 /* end confdefs.h. */
41916 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41918 #define sched_yield innocuous_sched_yield
41920 /* System header to define __stub macros and hopefully few prototypes,
41921 which can conflict with char sched_yield (); below.
41922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41923 <limits.h> exists even on freestanding compilers. */
41926 # include <limits.h>
41928 # include <assert.h>
41933 /* Override any GCC internal prototype to avoid an error.
41934 Use char because int might match the return type of a GCC
41935 builtin and then its argument prototype would still apply. */
41939 char sched_yield ();
41940 /* The GNU C library defines this for functions which it implements
41941 to always fail with ENOSYS. Some functions are actually named
41942 something starting with __ and the normal name is an alias. */
41943 #if defined __stub_sched_yield || defined __stub___sched_yield
41950 return sched_yield ();
41955 rm -f conftest.$ac_objext conftest$ac_exeext
41956 if { (ac_try="$ac_link"
41957 case "(($ac_try" in
41958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41959 *) ac_try_echo=$ac_try;;
41961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41962 (eval "$ac_link") 2>conftest.er1
41964 grep -v '^ *+' conftest.er1 >conftest.err
41966 cat conftest.err >&5
41967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41968 (exit $ac_status); } && {
41969 test -z "$ac_c_werror_flag" ||
41970 test ! -s conftest.err
41971 } && test -s conftest$ac_exeext &&
41972 $as_test_x conftest$ac_exeext; then
41973 ac_cv_func_sched_yield=yes
41975 echo "$as_me: failed program was:" >&5
41976 sed 's/^/| /' conftest.$ac_ext >&5
41978 ac_cv_func_sched_yield=no
41981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41982 conftest$ac_exeext conftest.$ac_ext
41984 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41985 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41986 if test $ac_cv_func_sched_yield = yes; then
41987 cat >>confdefs.h <<\_ACEOF
41988 #define HAVE_SCHED_YIELD 1
41993 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41994 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41995 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41996 echo $ECHO_N "(cached) $ECHO_C" >&6
41998 ac_check_lib_save_LIBS=$LIBS
41999 LIBS="-lposix4 $LIBS"
42000 cat >conftest.$ac_ext <<_ACEOF
42003 cat confdefs.h >>conftest.$ac_ext
42004 cat >>conftest.$ac_ext <<_ACEOF
42005 /* end confdefs.h. */
42007 /* Override any GCC internal prototype to avoid an error.
42008 Use char because int might match the return type of a GCC
42009 builtin and then its argument prototype would still apply. */
42013 char sched_yield ();
42017 return sched_yield ();
42022 rm -f conftest.$ac_objext conftest$ac_exeext
42023 if { (ac_try="$ac_link"
42024 case "(($ac_try" in
42025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42026 *) ac_try_echo=$ac_try;;
42028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42029 (eval "$ac_link") 2>conftest.er1
42031 grep -v '^ *+' conftest.er1 >conftest.err
42033 cat conftest.err >&5
42034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42035 (exit $ac_status); } && {
42036 test -z "$ac_c_werror_flag" ||
42037 test ! -s conftest.err
42038 } && test -s conftest$ac_exeext &&
42039 $as_test_x conftest$ac_exeext; then
42040 ac_cv_lib_posix4_sched_yield=yes
42042 echo "$as_me: failed program was:" >&5
42043 sed 's/^/| /' conftest.$ac_ext >&5
42045 ac_cv_lib_posix4_sched_yield=no
42048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42049 conftest$ac_exeext conftest.$ac_ext
42050 LIBS=$ac_check_lib_save_LIBS
42052 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42053 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42054 if test $ac_cv_lib_posix4_sched_yield = yes; then
42055 cat >>confdefs.h <<\_ACEOF
42056 #define HAVE_SCHED_YIELD 1
42058 POSIX4_LINK=" -lposix4"
42060 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42061 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42072 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42073 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42074 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42075 echo $ECHO_N "(cached) $ECHO_C" >&6
42077 cat >conftest.$ac_ext <<_ACEOF
42080 cat confdefs.h >>conftest.$ac_ext
42081 cat >>conftest.$ac_ext <<_ACEOF
42082 /* end confdefs.h. */
42083 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42085 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42087 /* System header to define __stub macros and hopefully few prototypes,
42088 which can conflict with char pthread_attr_getschedpolicy (); below.
42089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42090 <limits.h> exists even on freestanding compilers. */
42093 # include <limits.h>
42095 # include <assert.h>
42098 #undef pthread_attr_getschedpolicy
42100 /* Override any GCC internal prototype to avoid an error.
42101 Use char because int might match the return type of a GCC
42102 builtin and then its argument prototype would still apply. */
42106 char pthread_attr_getschedpolicy ();
42107 /* The GNU C library defines this for functions which it implements
42108 to always fail with ENOSYS. Some functions are actually named
42109 something starting with __ and the normal name is an alias. */
42110 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42117 return pthread_attr_getschedpolicy ();
42122 rm -f conftest.$ac_objext conftest$ac_exeext
42123 if { (ac_try="$ac_link"
42124 case "(($ac_try" in
42125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42126 *) ac_try_echo=$ac_try;;
42128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42129 (eval "$ac_link") 2>conftest.er1
42131 grep -v '^ *+' conftest.er1 >conftest.err
42133 cat conftest.err >&5
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); } && {
42136 test -z "$ac_c_werror_flag" ||
42137 test ! -s conftest.err
42138 } && test -s conftest$ac_exeext &&
42139 $as_test_x conftest$ac_exeext; then
42140 ac_cv_func_pthread_attr_getschedpolicy=yes
42142 echo "$as_me: failed program was:" >&5
42143 sed 's/^/| /' conftest.$ac_ext >&5
42145 ac_cv_func_pthread_attr_getschedpolicy=no
42148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42149 conftest$ac_exeext conftest.$ac_ext
42151 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42152 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42153 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42154 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42155 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42156 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42157 echo $ECHO_N "(cached) $ECHO_C" >&6
42159 cat >conftest.$ac_ext <<_ACEOF
42162 cat confdefs.h >>conftest.$ac_ext
42163 cat >>conftest.$ac_ext <<_ACEOF
42164 /* end confdefs.h. */
42165 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42167 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42169 /* System header to define __stub macros and hopefully few prototypes,
42170 which can conflict with char pthread_attr_setschedparam (); below.
42171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42172 <limits.h> exists even on freestanding compilers. */
42175 # include <limits.h>
42177 # include <assert.h>
42180 #undef pthread_attr_setschedparam
42182 /* Override any GCC internal prototype to avoid an error.
42183 Use char because int might match the return type of a GCC
42184 builtin and then its argument prototype would still apply. */
42188 char pthread_attr_setschedparam ();
42189 /* The GNU C library defines this for functions which it implements
42190 to always fail with ENOSYS. Some functions are actually named
42191 something starting with __ and the normal name is an alias. */
42192 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42199 return pthread_attr_setschedparam ();
42204 rm -f conftest.$ac_objext conftest$ac_exeext
42205 if { (ac_try="$ac_link"
42206 case "(($ac_try" in
42207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42208 *) ac_try_echo=$ac_try;;
42210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42211 (eval "$ac_link") 2>conftest.er1
42213 grep -v '^ *+' conftest.er1 >conftest.err
42215 cat conftest.err >&5
42216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42217 (exit $ac_status); } && {
42218 test -z "$ac_c_werror_flag" ||
42219 test ! -s conftest.err
42220 } && test -s conftest$ac_exeext &&
42221 $as_test_x conftest$ac_exeext; then
42222 ac_cv_func_pthread_attr_setschedparam=yes
42224 echo "$as_me: failed program was:" >&5
42225 sed 's/^/| /' conftest.$ac_ext >&5
42227 ac_cv_func_pthread_attr_setschedparam=no
42230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42231 conftest$ac_exeext conftest.$ac_ext
42233 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42234 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42235 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42236 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42237 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42238 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42239 echo $ECHO_N "(cached) $ECHO_C" >&6
42241 cat >conftest.$ac_ext <<_ACEOF
42244 cat confdefs.h >>conftest.$ac_ext
42245 cat >>conftest.$ac_ext <<_ACEOF
42246 /* end confdefs.h. */
42247 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42249 #define sched_get_priority_max innocuous_sched_get_priority_max
42251 /* System header to define __stub macros and hopefully few prototypes,
42252 which can conflict with char sched_get_priority_max (); below.
42253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42254 <limits.h> exists even on freestanding compilers. */
42257 # include <limits.h>
42259 # include <assert.h>
42262 #undef sched_get_priority_max
42264 /* Override any GCC internal prototype to avoid an error.
42265 Use char because int might match the return type of a GCC
42266 builtin and then its argument prototype would still apply. */
42270 char sched_get_priority_max ();
42271 /* The GNU C library defines this for functions which it implements
42272 to always fail with ENOSYS. Some functions are actually named
42273 something starting with __ and the normal name is an alias. */
42274 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42281 return sched_get_priority_max ();
42286 rm -f conftest.$ac_objext conftest$ac_exeext
42287 if { (ac_try="$ac_link"
42288 case "(($ac_try" in
42289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42290 *) ac_try_echo=$ac_try;;
42292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42293 (eval "$ac_link") 2>conftest.er1
42295 grep -v '^ *+' conftest.er1 >conftest.err
42297 cat conftest.err >&5
42298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42299 (exit $ac_status); } && {
42300 test -z "$ac_c_werror_flag" ||
42301 test ! -s conftest.err
42302 } && test -s conftest$ac_exeext &&
42303 $as_test_x conftest$ac_exeext; then
42304 ac_cv_func_sched_get_priority_max=yes
42306 echo "$as_me: failed program was:" >&5
42307 sed 's/^/| /' conftest.$ac_ext >&5
42309 ac_cv_func_sched_get_priority_max=no
42312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42313 conftest$ac_exeext conftest.$ac_ext
42315 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42316 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42317 if test $ac_cv_func_sched_get_priority_max = yes; then
42320 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42321 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42322 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42323 echo $ECHO_N "(cached) $ECHO_C" >&6
42325 ac_check_lib_save_LIBS=$LIBS
42326 LIBS="-lposix4 $LIBS"
42327 cat >conftest.$ac_ext <<_ACEOF
42330 cat confdefs.h >>conftest.$ac_ext
42331 cat >>conftest.$ac_ext <<_ACEOF
42332 /* end confdefs.h. */
42334 /* Override any GCC internal prototype to avoid an error.
42335 Use char because int might match the return type of a GCC
42336 builtin and then its argument prototype would still apply. */
42340 char sched_get_priority_max ();
42344 return sched_get_priority_max ();
42349 rm -f conftest.$ac_objext conftest$ac_exeext
42350 if { (ac_try="$ac_link"
42351 case "(($ac_try" in
42352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42353 *) ac_try_echo=$ac_try;;
42355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42356 (eval "$ac_link") 2>conftest.er1
42358 grep -v '^ *+' conftest.er1 >conftest.err
42360 cat conftest.err >&5
42361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42362 (exit $ac_status); } && {
42363 test -z "$ac_c_werror_flag" ||
42364 test ! -s conftest.err
42365 } && test -s conftest$ac_exeext &&
42366 $as_test_x conftest$ac_exeext; then
42367 ac_cv_lib_posix4_sched_get_priority_max=yes
42369 echo "$as_me: failed program was:" >&5
42370 sed 's/^/| /' conftest.$ac_ext >&5
42372 ac_cv_lib_posix4_sched_get_priority_max=no
42375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42376 conftest$ac_exeext conftest.$ac_ext
42377 LIBS=$ac_check_lib_save_LIBS
42379 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42380 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42381 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42384 POSIX4_LINK=" -lposix4"
42398 if test "$HAVE_PRIOR_FUNCS" = 1; then
42399 cat >>confdefs.h <<\_ACEOF
42400 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42404 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42405 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42408 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42409 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42410 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42411 echo $ECHO_N "(cached) $ECHO_C" >&6
42413 cat >conftest.$ac_ext <<_ACEOF
42416 cat confdefs.h >>conftest.$ac_ext
42417 cat >>conftest.$ac_ext <<_ACEOF
42418 /* end confdefs.h. */
42419 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42421 #define pthread_cancel innocuous_pthread_cancel
42423 /* System header to define __stub macros and hopefully few prototypes,
42424 which can conflict with char pthread_cancel (); below.
42425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42426 <limits.h> exists even on freestanding compilers. */
42429 # include <limits.h>
42431 # include <assert.h>
42434 #undef pthread_cancel
42436 /* Override any GCC internal prototype to avoid an error.
42437 Use char because int might match the return type of a GCC
42438 builtin and then its argument prototype would still apply. */
42442 char pthread_cancel ();
42443 /* The GNU C library defines this for functions which it implements
42444 to always fail with ENOSYS. Some functions are actually named
42445 something starting with __ and the normal name is an alias. */
42446 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42453 return pthread_cancel ();
42458 rm -f conftest.$ac_objext conftest$ac_exeext
42459 if { (ac_try="$ac_link"
42460 case "(($ac_try" in
42461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42462 *) ac_try_echo=$ac_try;;
42464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42465 (eval "$ac_link") 2>conftest.er1
42467 grep -v '^ *+' conftest.er1 >conftest.err
42469 cat conftest.err >&5
42470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471 (exit $ac_status); } && {
42472 test -z "$ac_c_werror_flag" ||
42473 test ! -s conftest.err
42474 } && test -s conftest$ac_exeext &&
42475 $as_test_x conftest$ac_exeext; then
42476 ac_cv_func_pthread_cancel=yes
42478 echo "$as_me: failed program was:" >&5
42479 sed 's/^/| /' conftest.$ac_ext >&5
42481 ac_cv_func_pthread_cancel=no
42484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42485 conftest$ac_exeext conftest.$ac_ext
42487 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42488 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42489 if test $ac_cv_func_pthread_cancel = yes; then
42490 cat >>confdefs.h <<\_ACEOF
42491 #define HAVE_PTHREAD_CANCEL 1
42495 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42496 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42500 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42501 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42502 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42503 echo $ECHO_N "(cached) $ECHO_C" >&6
42505 cat >conftest.$ac_ext <<_ACEOF
42508 cat confdefs.h >>conftest.$ac_ext
42509 cat >>conftest.$ac_ext <<_ACEOF
42510 /* end confdefs.h. */
42511 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42513 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42515 /* System header to define __stub macros and hopefully few prototypes,
42516 which can conflict with char pthread_mutex_timedlock (); below.
42517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42518 <limits.h> exists even on freestanding compilers. */
42521 # include <limits.h>
42523 # include <assert.h>
42526 #undef pthread_mutex_timedlock
42528 /* Override any GCC internal prototype to avoid an error.
42529 Use char because int might match the return type of a GCC
42530 builtin and then its argument prototype would still apply. */
42534 char pthread_mutex_timedlock ();
42535 /* The GNU C library defines this for functions which it implements
42536 to always fail with ENOSYS. Some functions are actually named
42537 something starting with __ and the normal name is an alias. */
42538 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42545 return pthread_mutex_timedlock ();
42550 rm -f conftest.$ac_objext conftest$ac_exeext
42551 if { (ac_try="$ac_link"
42552 case "(($ac_try" in
42553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42554 *) ac_try_echo=$ac_try;;
42556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42557 (eval "$ac_link") 2>conftest.er1
42559 grep -v '^ *+' conftest.er1 >conftest.err
42561 cat conftest.err >&5
42562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563 (exit $ac_status); } && {
42564 test -z "$ac_c_werror_flag" ||
42565 test ! -s conftest.err
42566 } && test -s conftest$ac_exeext &&
42567 $as_test_x conftest$ac_exeext; then
42568 ac_cv_func_pthread_mutex_timedlock=yes
42570 echo "$as_me: failed program was:" >&5
42571 sed 's/^/| /' conftest.$ac_ext >&5
42573 ac_cv_func_pthread_mutex_timedlock=no
42576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42577 conftest$ac_exeext conftest.$ac_ext
42579 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42580 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42581 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42582 cat >>confdefs.h <<\_ACEOF
42583 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42587 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42588 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42592 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42593 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42594 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42595 echo $ECHO_N "(cached) $ECHO_C" >&6
42597 cat >conftest.$ac_ext <<_ACEOF
42600 cat confdefs.h >>conftest.$ac_ext
42601 cat >>conftest.$ac_ext <<_ACEOF
42602 /* end confdefs.h. */
42603 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42605 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42607 /* System header to define __stub macros and hopefully few prototypes,
42608 which can conflict with char pthread_attr_setstacksize (); below.
42609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42610 <limits.h> exists even on freestanding compilers. */
42613 # include <limits.h>
42615 # include <assert.h>
42618 #undef pthread_attr_setstacksize
42620 /* Override any GCC internal prototype to avoid an error.
42621 Use char because int might match the return type of a GCC
42622 builtin and then its argument prototype would still apply. */
42626 char pthread_attr_setstacksize ();
42627 /* The GNU C library defines this for functions which it implements
42628 to always fail with ENOSYS. Some functions are actually named
42629 something starting with __ and the normal name is an alias. */
42630 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42637 return pthread_attr_setstacksize ();
42642 rm -f conftest.$ac_objext conftest$ac_exeext
42643 if { (ac_try="$ac_link"
42644 case "(($ac_try" in
42645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42646 *) ac_try_echo=$ac_try;;
42648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42649 (eval "$ac_link") 2>conftest.er1
42651 grep -v '^ *+' conftest.er1 >conftest.err
42653 cat conftest.err >&5
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); } && {
42656 test -z "$ac_c_werror_flag" ||
42657 test ! -s conftest.err
42658 } && test -s conftest$ac_exeext &&
42659 $as_test_x conftest$ac_exeext; then
42660 ac_cv_func_pthread_attr_setstacksize=yes
42662 echo "$as_me: failed program was:" >&5
42663 sed 's/^/| /' conftest.$ac_ext >&5
42665 ac_cv_func_pthread_attr_setstacksize=no
42668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42669 conftest$ac_exeext conftest.$ac_ext
42671 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42672 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42673 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42674 cat >>confdefs.h <<\_ACEOF
42675 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42682 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42683 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42684 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42685 echo $ECHO_N "(cached) $ECHO_C" >&6
42688 cat >conftest.$ac_ext <<_ACEOF
42691 cat confdefs.h >>conftest.$ac_ext
42692 cat >>conftest.$ac_ext <<_ACEOF
42693 /* end confdefs.h. */
42694 #include <pthread.h>
42699 pthread_mutexattr_t attr;
42700 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42706 rm -f conftest.$ac_objext
42707 if { (ac_try="$ac_compile"
42708 case "(($ac_try" in
42709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42710 *) ac_try_echo=$ac_try;;
42712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42713 (eval "$ac_compile") 2>conftest.er1
42715 grep -v '^ *+' conftest.er1 >conftest.err
42717 cat conftest.err >&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); } && {
42720 test -z "$ac_c_werror_flag" ||
42721 test ! -s conftest.err
42722 } && test -s conftest.$ac_objext; then
42723 wx_cv_type_pthread_mutexattr_t=yes
42725 echo "$as_me: failed program was:" >&5
42726 sed 's/^/| /' conftest.$ac_ext >&5
42728 wx_cv_type_pthread_mutexattr_t=no
42732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42735 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42736 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42738 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42739 cat >>confdefs.h <<\_ACEOF
42740 #define HAVE_PTHREAD_MUTEXATTR_T 1
42744 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42745 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42746 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42747 echo $ECHO_N "(cached) $ECHO_C" >&6
42750 cat >conftest.$ac_ext <<_ACEOF
42753 cat confdefs.h >>conftest.$ac_ext
42754 cat >>conftest.$ac_ext <<_ACEOF
42755 /* end confdefs.h. */
42756 #include <pthread.h>
42761 pthread_mutexattr_t attr;
42762 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42768 rm -f conftest.$ac_objext
42769 if { (ac_try="$ac_compile"
42770 case "(($ac_try" in
42771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42772 *) ac_try_echo=$ac_try;;
42774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42775 (eval "$ac_compile") 2>conftest.er1
42777 grep -v '^ *+' conftest.er1 >conftest.err
42779 cat conftest.err >&5
42780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42781 (exit $ac_status); } && {
42782 test -z "$ac_c_werror_flag" ||
42783 test ! -s conftest.err
42784 } && test -s conftest.$ac_objext; then
42785 wx_cv_func_pthread_mutexattr_settype_decl=yes
42787 echo "$as_me: failed program was:" >&5
42788 sed 's/^/| /' conftest.$ac_ext >&5
42790 wx_cv_func_pthread_mutexattr_settype_decl=no
42794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42797 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42798 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42799 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42800 cat >>confdefs.h <<\_ACEOF
42801 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42806 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42807 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42808 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42809 echo $ECHO_N "(cached) $ECHO_C" >&6
42812 cat >conftest.$ac_ext <<_ACEOF
42815 cat confdefs.h >>conftest.$ac_ext
42816 cat >>conftest.$ac_ext <<_ACEOF
42817 /* end confdefs.h. */
42818 #include <pthread.h>
42823 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42829 rm -f conftest.$ac_objext
42830 if { (ac_try="$ac_compile"
42831 case "(($ac_try" in
42832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42833 *) ac_try_echo=$ac_try;;
42835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42836 (eval "$ac_compile") 2>conftest.er1
42838 grep -v '^ *+' conftest.er1 >conftest.err
42840 cat conftest.err >&5
42841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42842 (exit $ac_status); } && {
42843 test -z "$ac_c_werror_flag" ||
42844 test ! -s conftest.err
42845 } && test -s conftest.$ac_objext; then
42847 wx_cv_type_pthread_rec_mutex_init=yes
42850 echo "$as_me: failed program was:" >&5
42851 sed 's/^/| /' conftest.$ac_ext >&5
42854 wx_cv_type_pthread_rec_mutex_init=no
42859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42862 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42863 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42864 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42865 cat >>confdefs.h <<\_ACEOF
42866 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42870 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42871 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42877 if test "$wxUSE_THREADS" = "yes" ; then
42880 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42881 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42882 if test "${wx_cv_cflags_mthread+set}" = set; then
42883 echo $ECHO_N "(cached) $ECHO_C" >&6
42886 CFLAGS_OLD="$CFLAGS"
42887 CFLAGS="-mthreads $CFLAGS"
42888 cat >conftest.$ac_ext <<_ACEOF
42891 cat confdefs.h >>conftest.$ac_ext
42892 cat >>conftest.$ac_ext <<_ACEOF
42893 /* end confdefs.h. */
42903 rm -f conftest.$ac_objext
42904 if { (ac_try="$ac_compile"
42905 case "(($ac_try" in
42906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42907 *) ac_try_echo=$ac_try;;
42909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42910 (eval "$ac_compile") 2>conftest.er1
42912 grep -v '^ *+' conftest.er1 >conftest.err
42914 cat conftest.err >&5
42915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42916 (exit $ac_status); } && {
42917 test -z "$ac_c_werror_flag" ||
42918 test ! -s conftest.err
42919 } && test -s conftest.$ac_objext; then
42920 wx_cv_cflags_mthread=yes
42922 echo "$as_me: failed program was:" >&5
42923 sed 's/^/| /' conftest.$ac_ext >&5
42925 wx_cv_cflags_mthread=no
42929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42933 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42934 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42936 if test "$wx_cv_cflags_mthread" = "yes"; then
42937 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42938 LDFLAGS="$LDFLAGS -mthreads"
42940 CFLAGS="$CFLAGS_OLD"
42944 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42945 LDFLAGS="$LDFLAGS -Zmt"
42951 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42952 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42953 if test "${ac_cv_func_localtime_r+set}" = set; then
42954 echo $ECHO_N "(cached) $ECHO_C" >&6
42956 cat >conftest.$ac_ext <<_ACEOF
42959 cat confdefs.h >>conftest.$ac_ext
42960 cat >>conftest.$ac_ext <<_ACEOF
42961 /* end confdefs.h. */
42962 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42964 #define localtime_r innocuous_localtime_r
42966 /* System header to define __stub macros and hopefully few prototypes,
42967 which can conflict with char localtime_r (); below.
42968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42969 <limits.h> exists even on freestanding compilers. */
42972 # include <limits.h>
42974 # include <assert.h>
42979 /* Override any GCC internal prototype to avoid an error.
42980 Use char because int might match the return type of a GCC
42981 builtin and then its argument prototype would still apply. */
42985 char localtime_r ();
42986 /* The GNU C library defines this for functions which it implements
42987 to always fail with ENOSYS. Some functions are actually named
42988 something starting with __ and the normal name is an alias. */
42989 #if defined __stub_localtime_r || defined __stub___localtime_r
42996 return localtime_r ();
43001 rm -f conftest.$ac_objext conftest$ac_exeext
43002 if { (ac_try="$ac_link"
43003 case "(($ac_try" in
43004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43005 *) ac_try_echo=$ac_try;;
43007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43008 (eval "$ac_link") 2>conftest.er1
43010 grep -v '^ *+' conftest.er1 >conftest.err
43012 cat conftest.err >&5
43013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43014 (exit $ac_status); } && {
43015 test -z "$ac_c_werror_flag" ||
43016 test ! -s conftest.err
43017 } && test -s conftest$ac_exeext &&
43018 $as_test_x conftest$ac_exeext; then
43019 ac_cv_func_localtime_r=yes
43021 echo "$as_me: failed program was:" >&5
43022 sed 's/^/| /' conftest.$ac_ext >&5
43024 ac_cv_func_localtime_r=no
43027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43028 conftest$ac_exeext conftest.$ac_ext
43030 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43031 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43032 if test $ac_cv_func_localtime_r = yes; then
43033 cat >>confdefs.h <<\_ACEOF
43034 #define HAVE_LOCALTIME_R 1
43039 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43040 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43041 if test "${ac_cv_func_gmtime_r+set}" = set; then
43042 echo $ECHO_N "(cached) $ECHO_C" >&6
43044 cat >conftest.$ac_ext <<_ACEOF
43047 cat confdefs.h >>conftest.$ac_ext
43048 cat >>conftest.$ac_ext <<_ACEOF
43049 /* end confdefs.h. */
43050 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43052 #define gmtime_r innocuous_gmtime_r
43054 /* System header to define __stub macros and hopefully few prototypes,
43055 which can conflict with char gmtime_r (); below.
43056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43057 <limits.h> exists even on freestanding compilers. */
43060 # include <limits.h>
43062 # include <assert.h>
43067 /* Override any GCC internal prototype to avoid an error.
43068 Use char because int might match the return type of a GCC
43069 builtin and then its argument prototype would still apply. */
43074 /* The GNU C library defines this for functions which it implements
43075 to always fail with ENOSYS. Some functions are actually named
43076 something starting with __ and the normal name is an alias. */
43077 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43084 return gmtime_r ();
43089 rm -f conftest.$ac_objext conftest$ac_exeext
43090 if { (ac_try="$ac_link"
43091 case "(($ac_try" in
43092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43093 *) ac_try_echo=$ac_try;;
43095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43096 (eval "$ac_link") 2>conftest.er1
43098 grep -v '^ *+' conftest.er1 >conftest.err
43100 cat conftest.err >&5
43101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43102 (exit $ac_status); } && {
43103 test -z "$ac_c_werror_flag" ||
43104 test ! -s conftest.err
43105 } && test -s conftest$ac_exeext &&
43106 $as_test_x conftest$ac_exeext; then
43107 ac_cv_func_gmtime_r=yes
43109 echo "$as_me: failed program was:" >&5
43110 sed 's/^/| /' conftest.$ac_ext >&5
43112 ac_cv_func_gmtime_r=no
43115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43116 conftest$ac_exeext conftest.$ac_ext
43118 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43119 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43120 if test $ac_cv_func_gmtime_r = yes; then
43121 cat >>confdefs.h <<\_ACEOF
43122 #define HAVE_GMTIME_R 1
43127 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43128 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43129 if test "${ac_cv_func_readdir_r+set}" = set; then
43130 echo $ECHO_N "(cached) $ECHO_C" >&6
43132 cat >conftest.$ac_ext <<_ACEOF
43135 cat confdefs.h >>conftest.$ac_ext
43136 cat >>conftest.$ac_ext <<_ACEOF
43137 /* end confdefs.h. */
43138 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43140 #define readdir_r innocuous_readdir_r
43142 /* System header to define __stub macros and hopefully few prototypes,
43143 which can conflict with char readdir_r (); below.
43144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43145 <limits.h> exists even on freestanding compilers. */
43148 # include <limits.h>
43150 # include <assert.h>
43155 /* Override any GCC internal prototype to avoid an error.
43156 Use char because int might match the return type of a GCC
43157 builtin and then its argument prototype would still apply. */
43162 /* The GNU C library defines this for functions which it implements
43163 to always fail with ENOSYS. Some functions are actually named
43164 something starting with __ and the normal name is an alias. */
43165 #if defined __stub_readdir_r || defined __stub___readdir_r
43172 return readdir_r ();
43177 rm -f conftest.$ac_objext conftest$ac_exeext
43178 if { (ac_try="$ac_link"
43179 case "(($ac_try" in
43180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43181 *) ac_try_echo=$ac_try;;
43183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43184 (eval "$ac_link") 2>conftest.er1
43186 grep -v '^ *+' conftest.er1 >conftest.err
43188 cat conftest.err >&5
43189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43190 (exit $ac_status); } && {
43191 test -z "$ac_c_werror_flag" ||
43192 test ! -s conftest.err
43193 } && test -s conftest$ac_exeext &&
43194 $as_test_x conftest$ac_exeext; then
43195 ac_cv_func_readdir_r=yes
43197 echo "$as_me: failed program was:" >&5
43198 sed 's/^/| /' conftest.$ac_ext >&5
43200 ac_cv_func_readdir_r=no
43203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43204 conftest$ac_exeext conftest.$ac_ext
43206 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43207 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43208 if test $ac_cv_func_readdir_r = yes; then
43209 cat >>confdefs.h <<\_ACEOF
43210 #define HAVE_READDIR_R 1
43219 ac_cpp='$CPP $CPPFLAGS'
43220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43224 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43225 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43227 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43228 echo $ECHO_N "(cached) $ECHO_C" >&6
43232 ################################################################
43234 ac_cv_func_which_gethostbyname_r=unknown
43237 # ONE ARGUMENT (sanity check)
43240 # This should fail, as there is no variant of gethostbyname_r() that takes
43241 # a single argument. If it actually compiles, then we can assume that
43242 # netdb.h is not declaring the function, and the compiler is thereby
43243 # assuming an implicit prototype. In which case, we're out of luck.
43245 cat >conftest.$ac_ext <<_ACEOF
43248 cat confdefs.h >>conftest.$ac_ext
43249 cat >>conftest.$ac_ext <<_ACEOF
43250 /* end confdefs.h. */
43256 char *name = "www.gnu.org";
43257 (void)gethostbyname_r(name) /* ; */
43263 rm -f conftest.$ac_objext
43264 if { (ac_try="$ac_compile"
43265 case "(($ac_try" in
43266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43267 *) ac_try_echo=$ac_try;;
43269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43270 (eval "$ac_compile") 2>conftest.er1
43272 grep -v '^ *+' conftest.er1 >conftest.err
43274 cat conftest.err >&5
43275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43276 (exit $ac_status); } && {
43277 test -z "$ac_c_werror_flag" ||
43278 test ! -s conftest.err
43279 } && test -s conftest.$ac_objext; then
43280 ac_cv_func_which_gethostbyname_r=no
43282 echo "$as_me: failed program was:" >&5
43283 sed 's/^/| /' conftest.$ac_ext >&5
43288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43295 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43297 cat >conftest.$ac_ext <<_ACEOF
43300 cat confdefs.h >>conftest.$ac_ext
43301 cat >>conftest.$ac_ext <<_ACEOF
43302 /* end confdefs.h. */
43308 char *name = "www.gnu.org";
43309 struct hostent ret, *retp;
43313 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43319 rm -f conftest.$ac_objext
43320 if { (ac_try="$ac_compile"
43321 case "(($ac_try" in
43322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43323 *) ac_try_echo=$ac_try;;
43325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43326 (eval "$ac_compile") 2>conftest.er1
43328 grep -v '^ *+' conftest.er1 >conftest.err
43330 cat conftest.err >&5
43331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43332 (exit $ac_status); } && {
43333 test -z "$ac_c_werror_flag" ||
43334 test ! -s conftest.err
43335 } && test -s conftest.$ac_objext; then
43336 ac_cv_func_which_gethostbyname_r=six
43338 echo "$as_me: failed program was:" >&5
43339 sed 's/^/| /' conftest.$ac_ext >&5
43344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43353 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43355 cat >conftest.$ac_ext <<_ACEOF
43358 cat confdefs.h >>conftest.$ac_ext
43359 cat >>conftest.$ac_ext <<_ACEOF
43360 /* end confdefs.h. */
43366 char *name = "www.gnu.org";
43367 struct hostent ret;
43371 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43377 rm -f conftest.$ac_objext
43378 if { (ac_try="$ac_compile"
43379 case "(($ac_try" in
43380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43381 *) ac_try_echo=$ac_try;;
43383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43384 (eval "$ac_compile") 2>conftest.er1
43386 grep -v '^ *+' conftest.er1 >conftest.err
43388 cat conftest.err >&5
43389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43390 (exit $ac_status); } && {
43391 test -z "$ac_c_werror_flag" ||
43392 test ! -s conftest.err
43393 } && test -s conftest.$ac_objext; then
43394 ac_cv_func_which_gethostbyname_r=five
43396 echo "$as_me: failed program was:" >&5
43397 sed 's/^/| /' conftest.$ac_ext >&5
43402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43408 # (e.g. AIX, HP-UX, Tru64)
43411 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43413 cat >conftest.$ac_ext <<_ACEOF
43416 cat confdefs.h >>conftest.$ac_ext
43417 cat >>conftest.$ac_ext <<_ACEOF
43418 /* end confdefs.h. */
43424 char *name = "www.gnu.org";
43425 struct hostent ret;
43426 struct hostent_data data;
43427 (void)gethostbyname_r(name, &ret, &data) /* ; */
43433 rm -f conftest.$ac_objext
43434 if { (ac_try="$ac_compile"
43435 case "(($ac_try" in
43436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43437 *) ac_try_echo=$ac_try;;
43439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43440 (eval "$ac_compile") 2>conftest.er1
43442 grep -v '^ *+' conftest.er1 >conftest.err
43444 cat conftest.err >&5
43445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43446 (exit $ac_status); } && {
43447 test -z "$ac_c_werror_flag" ||
43448 test ! -s conftest.err
43449 } && test -s conftest.$ac_objext; then
43450 ac_cv_func_which_gethostbyname_r=three
43452 echo "$as_me: failed program was:" >&5
43453 sed 's/^/| /' conftest.$ac_ext >&5
43458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43462 ################################################################
43467 case "$ac_cv_func_which_gethostbyname_r" in
43469 { echo "$as_me:$LINENO: result: three" >&5
43470 echo "${ECHO_T}three" >&6; }
43471 cat >>confdefs.h <<\_ACEOF
43472 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43478 { echo "$as_me:$LINENO: result: five" >&5
43479 echo "${ECHO_T}five" >&6; }
43480 cat >>confdefs.h <<\_ACEOF
43481 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43487 { echo "$as_me:$LINENO: result: six" >&5
43488 echo "${ECHO_T}six" >&6; }
43489 cat >>confdefs.h <<\_ACEOF
43490 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43496 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43497 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43501 { echo "$as_me:$LINENO: result: can't tell" >&5
43502 echo "${ECHO_T}can't tell" >&6; }
43506 { { echo "$as_me:$LINENO: error: internal error" >&5
43507 echo "$as_me: error: internal error" >&2;}
43508 { (exit 1); exit 1; }; }
43513 ac_cpp='$CPP $CPPFLAGS'
43514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43520 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43521 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43522 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43523 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43524 if test "${ac_cv_func_gethostbyname+set}" = set; then
43525 echo $ECHO_N "(cached) $ECHO_C" >&6
43527 cat >conftest.$ac_ext <<_ACEOF
43530 cat confdefs.h >>conftest.$ac_ext
43531 cat >>conftest.$ac_ext <<_ACEOF
43532 /* end confdefs.h. */
43533 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43535 #define gethostbyname innocuous_gethostbyname
43537 /* System header to define __stub macros and hopefully few prototypes,
43538 which can conflict with char gethostbyname (); below.
43539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43540 <limits.h> exists even on freestanding compilers. */
43543 # include <limits.h>
43545 # include <assert.h>
43548 #undef gethostbyname
43550 /* Override any GCC internal prototype to avoid an error.
43551 Use char because int might match the return type of a GCC
43552 builtin and then its argument prototype would still apply. */
43556 char gethostbyname ();
43557 /* The GNU C library defines this for functions which it implements
43558 to always fail with ENOSYS. Some functions are actually named
43559 something starting with __ and the normal name is an alias. */
43560 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43567 return gethostbyname ();
43572 rm -f conftest.$ac_objext conftest$ac_exeext
43573 if { (ac_try="$ac_link"
43574 case "(($ac_try" in
43575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43576 *) ac_try_echo=$ac_try;;
43578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43579 (eval "$ac_link") 2>conftest.er1
43581 grep -v '^ *+' conftest.er1 >conftest.err
43583 cat conftest.err >&5
43584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43585 (exit $ac_status); } && {
43586 test -z "$ac_c_werror_flag" ||
43587 test ! -s conftest.err
43588 } && test -s conftest$ac_exeext &&
43589 $as_test_x conftest$ac_exeext; then
43590 ac_cv_func_gethostbyname=yes
43592 echo "$as_me: failed program was:" >&5
43593 sed 's/^/| /' conftest.$ac_ext >&5
43595 ac_cv_func_gethostbyname=no
43598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43599 conftest$ac_exeext conftest.$ac_ext
43601 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43602 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43603 if test $ac_cv_func_gethostbyname = yes; then
43604 cat >>confdefs.h <<\_ACEOF
43605 #define HAVE_GETHOSTBYNAME 1
43612 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43613 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43614 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43615 echo $ECHO_N "(cached) $ECHO_C" >&6
43619 ac_cpp='$CXXCPP $CPPFLAGS'
43620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43625 cat >conftest.$ac_ext <<_ACEOF
43628 cat confdefs.h >>conftest.$ac_ext
43629 cat >>conftest.$ac_ext <<_ACEOF
43630 /* end confdefs.h. */
43638 struct servent *se, *res;
43641 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43647 rm -f conftest.$ac_objext
43648 if { (ac_try="$ac_compile"
43649 case "(($ac_try" in
43650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43651 *) ac_try_echo=$ac_try;;
43653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43654 (eval "$ac_compile") 2>conftest.er1
43656 grep -v '^ *+' conftest.er1 >conftest.err
43658 cat conftest.err >&5
43659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43660 (exit $ac_status); } && {
43661 test -z "$ac_cxx_werror_flag" ||
43662 test ! -s conftest.err
43663 } && test -s conftest.$ac_objext; then
43664 ac_cv_func_which_getservbyname_r=six
43666 echo "$as_me: failed program was:" >&5
43667 sed 's/^/| /' conftest.$ac_ext >&5
43670 cat >conftest.$ac_ext <<_ACEOF
43673 cat confdefs.h >>conftest.$ac_ext
43674 cat >>conftest.$ac_ext <<_ACEOF
43675 /* end confdefs.h. */
43683 struct servent *se;
43686 (void) getservbyname_r(name, proto, se, buffer, buflen)
43692 rm -f conftest.$ac_objext
43693 if { (ac_try="$ac_compile"
43694 case "(($ac_try" in
43695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43696 *) ac_try_echo=$ac_try;;
43698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43699 (eval "$ac_compile") 2>conftest.er1
43701 grep -v '^ *+' conftest.er1 >conftest.err
43703 cat conftest.err >&5
43704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43705 (exit $ac_status); } && {
43706 test -z "$ac_cxx_werror_flag" ||
43707 test ! -s conftest.err
43708 } && test -s conftest.$ac_objext; then
43709 ac_cv_func_which_getservbyname_r=five
43711 echo "$as_me: failed program was:" >&5
43712 sed 's/^/| /' conftest.$ac_ext >&5
43715 cat >conftest.$ac_ext <<_ACEOF
43718 cat confdefs.h >>conftest.$ac_ext
43719 cat >>conftest.$ac_ext <<_ACEOF
43720 /* end confdefs.h. */
43728 struct servent *se;
43729 struct servent_data data;
43730 (void) getservbyname_r(name, proto, se, &data);
43736 rm -f conftest.$ac_objext
43737 if { (ac_try="$ac_compile"
43738 case "(($ac_try" in
43739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43740 *) ac_try_echo=$ac_try;;
43742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43743 (eval "$ac_compile") 2>conftest.er1
43745 grep -v '^ *+' conftest.er1 >conftest.err
43747 cat conftest.err >&5
43748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43749 (exit $ac_status); } && {
43750 test -z "$ac_cxx_werror_flag" ||
43751 test ! -s conftest.err
43752 } && test -s conftest.$ac_objext; then
43753 ac_cv_func_which_getservbyname_r=four
43755 echo "$as_me: failed program was:" >&5
43756 sed 's/^/| /' conftest.$ac_ext >&5
43758 ac_cv_func_which_getservbyname_r=no
43762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43774 ac_cpp='$CPP $CPPFLAGS'
43775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43782 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43783 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43785 if test $ac_cv_func_which_getservbyname_r = six; then
43786 cat >>confdefs.h <<\_ACEOF
43787 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43790 elif test $ac_cv_func_which_getservbyname_r = five; then
43791 cat >>confdefs.h <<\_ACEOF
43792 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43795 elif test $ac_cv_func_which_getservbyname_r = four; then
43796 cat >>confdefs.h <<\_ACEOF
43797 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43803 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43804 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43806 for ac_func in getservbyname
43808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43809 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43811 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43812 echo $ECHO_N "(cached) $ECHO_C" >&6
43814 cat >conftest.$ac_ext <<_ACEOF
43817 cat confdefs.h >>conftest.$ac_ext
43818 cat >>conftest.$ac_ext <<_ACEOF
43819 /* end confdefs.h. */
43820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43822 #define $ac_func innocuous_$ac_func
43824 /* System header to define __stub macros and hopefully few prototypes,
43825 which can conflict with char $ac_func (); below.
43826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43827 <limits.h> exists even on freestanding compilers. */
43830 # include <limits.h>
43832 # include <assert.h>
43837 /* Override any GCC internal prototype to avoid an error.
43838 Use char because int might match the return type of a GCC
43839 builtin and then its argument prototype would still apply. */
43844 /* The GNU C library defines this for functions which it implements
43845 to always fail with ENOSYS. Some functions are actually named
43846 something starting with __ and the normal name is an alias. */
43847 #if defined __stub_$ac_func || defined __stub___$ac_func
43854 return $ac_func ();
43859 rm -f conftest.$ac_objext conftest$ac_exeext
43860 if { (ac_try="$ac_link"
43861 case "(($ac_try" in
43862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43863 *) ac_try_echo=$ac_try;;
43865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43866 (eval "$ac_link") 2>conftest.er1
43868 grep -v '^ *+' conftest.er1 >conftest.err
43870 cat conftest.err >&5
43871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43872 (exit $ac_status); } && {
43873 test -z "$ac_c_werror_flag" ||
43874 test ! -s conftest.err
43875 } && test -s conftest$ac_exeext &&
43876 $as_test_x conftest$ac_exeext; then
43877 eval "$as_ac_var=yes"
43879 echo "$as_me: failed program was:" >&5
43880 sed 's/^/| /' conftest.$ac_ext >&5
43882 eval "$as_ac_var=no"
43885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43886 conftest$ac_exeext conftest.$ac_ext
43888 ac_res=`eval echo '${'$as_ac_var'}'`
43889 { echo "$as_me:$LINENO: result: $ac_res" >&5
43890 echo "${ECHO_T}$ac_res" >&6; }
43891 if test `eval echo '${'$as_ac_var'}'` = yes; then
43892 cat >>confdefs.h <<_ACEOF
43893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43895 cat >>confdefs.h <<\_ACEOF
43896 #define HAVE_GETSERVBYNAME 1
43904 if test "$wxUSE_THREADS" = "yes"; then
43905 cat >>confdefs.h <<\_ACEOF
43906 #define wxUSE_THREADS 1
43910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43912 if test "$wx_cv_func_strtok_r" = "yes"; then
43913 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43914 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43915 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43916 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43917 { echo "$as_me:$LINENO: result: yes" >&5
43918 echo "${ECHO_T}yes" >&6; }
43920 { echo "$as_me:$LINENO: result: no" >&5
43921 echo "${ECHO_T}no" >&6; }
43926 if test "$WXGTK20" = 1 ; then
43927 cat >>confdefs.h <<_ACEOF
43928 #define __WXGTK20__ $WXGTK20
43934 if test "$WXGTK12" = 1 ; then
43935 cat >>confdefs.h <<_ACEOF
43936 #define __WXGTK12__ $WXGTK12
43941 if test "$WXGTK127" = 1 ; then
43942 cat >>confdefs.h <<_ACEOF
43943 #define __WXGTK127__ $WXGTK127
43948 if test "$WXGPE" = 1 ; then
43949 cat >>confdefs.h <<_ACEOF
43950 #define __WXGPE__ $WXGPE
43956 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43961 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43962 wxUSE_DEBUG_INFO=yes
43963 if test "$GCC" = yes; then
43964 DEBUG_CFLAGS="-ggdb"
43968 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43969 cat >>confdefs.h <<\_ACEOF
43973 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43975 if test "$wxUSE_GTK" = 1 ; then
43976 if test "x$wxGTK_VERSION" = "x1" ; then
43977 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43982 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43983 cat >>confdefs.h <<\_ACEOF
43984 #define wxUSE_MEMORY_TRACING 1
43987 cat >>confdefs.h <<\_ACEOF
43988 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43991 cat >>confdefs.h <<\_ACEOF
43992 #define wxUSE_DEBUG_NEW_ALWAYS 1
43995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43998 if test "$wxUSE_DMALLOC" = "yes" ; then
43999 DMALLOC_LIBS="-ldmallocthcxx"
44003 if test "$wxUSE_PROFILE" = "yes" ; then
44004 PROFILE_FLAGS=" -pg"
44007 if test "$GCC" = "yes" ; then
44008 if test "$wxUSE_NO_RTTI" = "yes" ; then
44009 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44011 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44012 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44014 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44015 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44020 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44023 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44029 if test "$wxUSE_OPTIMISE" = "no" ; then
44030 if test "$GCC" = yes ; then
44031 OPTIMISE_CFLAGS="-O0"
44034 if test "$GCC" = yes ; then
44036 *-pc-os2_emx | *-pc-os2-emx )
44037 OPTIMISE_CFLAGS="-O2"
44040 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44044 OPTIMISE_CFLAGS="-O"
44049 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44050 cat >>confdefs.h <<\_ACEOF
44051 #define WXWIN_COMPATIBILITY_2_6 1
44055 WXWIN_COMPATIBILITY_2_8="yes"
44058 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44059 cat >>confdefs.h <<\_ACEOF
44060 #define WXWIN_COMPATIBILITY_2_8 1
44066 if test "$wxUSE_GUI" = "yes"; then
44067 cat >>confdefs.h <<\_ACEOF
44068 #define wxUSE_GUI 1
44075 if test "$wxUSE_UNIX" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define wxUSE_UNIX 1
44083 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44087 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44088 if test "$USE_DARWIN" = 1; then
44090 elif test "$USE_DOS" = 1; then
44094 for ac_func in dlopen
44096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44097 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44099 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44100 echo $ECHO_N "(cached) $ECHO_C" >&6
44102 cat >conftest.$ac_ext <<_ACEOF
44105 cat confdefs.h >>conftest.$ac_ext
44106 cat >>conftest.$ac_ext <<_ACEOF
44107 /* end confdefs.h. */
44108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44110 #define $ac_func innocuous_$ac_func
44112 /* System header to define __stub macros and hopefully few prototypes,
44113 which can conflict with char $ac_func (); below.
44114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44115 <limits.h> exists even on freestanding compilers. */
44118 # include <limits.h>
44120 # include <assert.h>
44125 /* Override any GCC internal prototype to avoid an error.
44126 Use char because int might match the return type of a GCC
44127 builtin and then its argument prototype would still apply. */
44132 /* The GNU C library defines this for functions which it implements
44133 to always fail with ENOSYS. Some functions are actually named
44134 something starting with __ and the normal name is an alias. */
44135 #if defined __stub_$ac_func || defined __stub___$ac_func
44142 return $ac_func ();
44147 rm -f conftest.$ac_objext conftest$ac_exeext
44148 if { (ac_try="$ac_link"
44149 case "(($ac_try" in
44150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44151 *) ac_try_echo=$ac_try;;
44153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44154 (eval "$ac_link") 2>conftest.er1
44156 grep -v '^ *+' conftest.er1 >conftest.err
44158 cat conftest.err >&5
44159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160 (exit $ac_status); } && {
44161 test -z "$ac_c_werror_flag" ||
44162 test ! -s conftest.err
44163 } && test -s conftest$ac_exeext &&
44164 $as_test_x conftest$ac_exeext; then
44165 eval "$as_ac_var=yes"
44167 echo "$as_me: failed program was:" >&5
44168 sed 's/^/| /' conftest.$ac_ext >&5
44170 eval "$as_ac_var=no"
44173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44174 conftest$ac_exeext conftest.$ac_ext
44176 ac_res=`eval echo '${'$as_ac_var'}'`
44177 { echo "$as_me:$LINENO: result: $ac_res" >&5
44178 echo "${ECHO_T}$ac_res" >&6; }
44179 if test `eval echo '${'$as_ac_var'}'` = yes; then
44180 cat >>confdefs.h <<_ACEOF
44181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44184 cat >>confdefs.h <<\_ACEOF
44185 #define HAVE_DLOPEN 1
44192 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44193 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44194 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44195 echo $ECHO_N "(cached) $ECHO_C" >&6
44197 ac_check_lib_save_LIBS=$LIBS
44199 cat >conftest.$ac_ext <<_ACEOF
44202 cat confdefs.h >>conftest.$ac_ext
44203 cat >>conftest.$ac_ext <<_ACEOF
44204 /* end confdefs.h. */
44206 /* Override any GCC internal prototype to avoid an error.
44207 Use char because int might match the return type of a GCC
44208 builtin and then its argument prototype would still apply. */
44221 rm -f conftest.$ac_objext conftest$ac_exeext
44222 if { (ac_try="$ac_link"
44223 case "(($ac_try" in
44224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44225 *) ac_try_echo=$ac_try;;
44227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44228 (eval "$ac_link") 2>conftest.er1
44230 grep -v '^ *+' conftest.er1 >conftest.err
44232 cat conftest.err >&5
44233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44234 (exit $ac_status); } && {
44235 test -z "$ac_c_werror_flag" ||
44236 test ! -s conftest.err
44237 } && test -s conftest$ac_exeext &&
44238 $as_test_x conftest$ac_exeext; then
44239 ac_cv_lib_dl_dlopen=yes
44241 echo "$as_me: failed program was:" >&5
44242 sed 's/^/| /' conftest.$ac_ext >&5
44244 ac_cv_lib_dl_dlopen=no
44247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44248 conftest$ac_exeext conftest.$ac_ext
44249 LIBS=$ac_check_lib_save_LIBS
44251 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44252 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44253 if test $ac_cv_lib_dl_dlopen = yes; then
44255 cat >>confdefs.h <<\_ACEOF
44256 #define HAVE_DLOPEN 1
44260 DL_LINK=" -ldl$DL_LINK"
44265 for ac_func in shl_load
44267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44268 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44270 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44271 echo $ECHO_N "(cached) $ECHO_C" >&6
44273 cat >conftest.$ac_ext <<_ACEOF
44276 cat confdefs.h >>conftest.$ac_ext
44277 cat >>conftest.$ac_ext <<_ACEOF
44278 /* end confdefs.h. */
44279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44281 #define $ac_func innocuous_$ac_func
44283 /* System header to define __stub macros and hopefully few prototypes,
44284 which can conflict with char $ac_func (); below.
44285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44286 <limits.h> exists even on freestanding compilers. */
44289 # include <limits.h>
44291 # include <assert.h>
44296 /* Override any GCC internal prototype to avoid an error.
44297 Use char because int might match the return type of a GCC
44298 builtin and then its argument prototype would still apply. */
44303 /* The GNU C library defines this for functions which it implements
44304 to always fail with ENOSYS. Some functions are actually named
44305 something starting with __ and the normal name is an alias. */
44306 #if defined __stub_$ac_func || defined __stub___$ac_func
44313 return $ac_func ();
44318 rm -f conftest.$ac_objext conftest$ac_exeext
44319 if { (ac_try="$ac_link"
44320 case "(($ac_try" in
44321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44322 *) ac_try_echo=$ac_try;;
44324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44325 (eval "$ac_link") 2>conftest.er1
44327 grep -v '^ *+' conftest.er1 >conftest.err
44329 cat conftest.err >&5
44330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44331 (exit $ac_status); } && {
44332 test -z "$ac_c_werror_flag" ||
44333 test ! -s conftest.err
44334 } && test -s conftest$ac_exeext &&
44335 $as_test_x conftest$ac_exeext; then
44336 eval "$as_ac_var=yes"
44338 echo "$as_me: failed program was:" >&5
44339 sed 's/^/| /' conftest.$ac_ext >&5
44341 eval "$as_ac_var=no"
44344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44345 conftest$ac_exeext conftest.$ac_ext
44347 ac_res=`eval echo '${'$as_ac_var'}'`
44348 { echo "$as_me:$LINENO: result: $ac_res" >&5
44349 echo "${ECHO_T}$ac_res" >&6; }
44350 if test `eval echo '${'$as_ac_var'}'` = yes; then
44351 cat >>confdefs.h <<_ACEOF
44352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44355 cat >>confdefs.h <<\_ACEOF
44356 #define HAVE_SHL_LOAD 1
44363 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44364 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44365 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44366 echo $ECHO_N "(cached) $ECHO_C" >&6
44368 ac_check_lib_save_LIBS=$LIBS
44369 LIBS="-lshl_load $LIBS"
44370 cat >conftest.$ac_ext <<_ACEOF
44373 cat confdefs.h >>conftest.$ac_ext
44374 cat >>conftest.$ac_ext <<_ACEOF
44375 /* end confdefs.h. */
44377 /* Override any GCC internal prototype to avoid an error.
44378 Use char because int might match the return type of a GCC
44379 builtin and then its argument prototype would still apply. */
44392 rm -f conftest.$ac_objext conftest$ac_exeext
44393 if { (ac_try="$ac_link"
44394 case "(($ac_try" in
44395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44396 *) ac_try_echo=$ac_try;;
44398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44399 (eval "$ac_link") 2>conftest.er1
44401 grep -v '^ *+' conftest.er1 >conftest.err
44403 cat conftest.err >&5
44404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44405 (exit $ac_status); } && {
44406 test -z "$ac_c_werror_flag" ||
44407 test ! -s conftest.err
44408 } && test -s conftest$ac_exeext &&
44409 $as_test_x conftest$ac_exeext; then
44410 ac_cv_lib_shl_load_dld=yes
44412 echo "$as_me: failed program was:" >&5
44413 sed 's/^/| /' conftest.$ac_ext >&5
44415 ac_cv_lib_shl_load_dld=no
44418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44419 conftest$ac_exeext conftest.$ac_ext
44420 LIBS=$ac_check_lib_save_LIBS
44422 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44423 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44424 if test $ac_cv_lib_shl_load_dld = yes; then
44427 DL_LINK=" -ldld$DL_LINK"
44443 if test "$HAVE_DL_FUNCS" = 1; then
44445 for ac_func in dlerror
44447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44448 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44450 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44451 echo $ECHO_N "(cached) $ECHO_C" >&6
44453 cat >conftest.$ac_ext <<_ACEOF
44456 cat confdefs.h >>conftest.$ac_ext
44457 cat >>conftest.$ac_ext <<_ACEOF
44458 /* end confdefs.h. */
44459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44461 #define $ac_func innocuous_$ac_func
44463 /* System header to define __stub macros and hopefully few prototypes,
44464 which can conflict with char $ac_func (); below.
44465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44466 <limits.h> exists even on freestanding compilers. */
44469 # include <limits.h>
44471 # include <assert.h>
44476 /* Override any GCC internal prototype to avoid an error.
44477 Use char because int might match the return type of a GCC
44478 builtin and then its argument prototype would still apply. */
44483 /* The GNU C library defines this for functions which it implements
44484 to always fail with ENOSYS. Some functions are actually named
44485 something starting with __ and the normal name is an alias. */
44486 #if defined __stub_$ac_func || defined __stub___$ac_func
44493 return $ac_func ();
44498 rm -f conftest.$ac_objext conftest$ac_exeext
44499 if { (ac_try="$ac_link"
44500 case "(($ac_try" in
44501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44502 *) ac_try_echo=$ac_try;;
44504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44505 (eval "$ac_link") 2>conftest.er1
44507 grep -v '^ *+' conftest.er1 >conftest.err
44509 cat conftest.err >&5
44510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44511 (exit $ac_status); } && {
44512 test -z "$ac_c_werror_flag" ||
44513 test ! -s conftest.err
44514 } && test -s conftest$ac_exeext &&
44515 $as_test_x conftest$ac_exeext; then
44516 eval "$as_ac_var=yes"
44518 echo "$as_me: failed program was:" >&5
44519 sed 's/^/| /' conftest.$ac_ext >&5
44521 eval "$as_ac_var=no"
44524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44525 conftest$ac_exeext conftest.$ac_ext
44527 ac_res=`eval echo '${'$as_ac_var'}'`
44528 { echo "$as_me:$LINENO: result: $ac_res" >&5
44529 echo "${ECHO_T}$ac_res" >&6; }
44530 if test `eval echo '${'$as_ac_var'}'` = yes; then
44531 cat >>confdefs.h <<_ACEOF
44532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44534 cat >>confdefs.h <<\_ACEOF
44535 #define HAVE_DLERROR 1
44540 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44541 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44542 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44543 echo $ECHO_N "(cached) $ECHO_C" >&6
44545 ac_check_lib_save_LIBS=$LIBS
44547 cat >conftest.$ac_ext <<_ACEOF
44550 cat confdefs.h >>conftest.$ac_ext
44551 cat >>conftest.$ac_ext <<_ACEOF
44552 /* end confdefs.h. */
44554 /* Override any GCC internal prototype to avoid an error.
44555 Use char because int might match the return type of a GCC
44556 builtin and then its argument prototype would still apply. */
44569 rm -f conftest.$ac_objext conftest$ac_exeext
44570 if { (ac_try="$ac_link"
44571 case "(($ac_try" in
44572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44573 *) ac_try_echo=$ac_try;;
44575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44576 (eval "$ac_link") 2>conftest.er1
44578 grep -v '^ *+' conftest.er1 >conftest.err
44580 cat conftest.err >&5
44581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44582 (exit $ac_status); } && {
44583 test -z "$ac_c_werror_flag" ||
44584 test ! -s conftest.err
44585 } && test -s conftest$ac_exeext &&
44586 $as_test_x conftest$ac_exeext; then
44587 ac_cv_lib_dl_dlerror=yes
44589 echo "$as_me: failed program was:" >&5
44590 sed 's/^/| /' conftest.$ac_ext >&5
44592 ac_cv_lib_dl_dlerror=no
44595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44596 conftest$ac_exeext conftest.$ac_ext
44597 LIBS=$ac_check_lib_save_LIBS
44599 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44600 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44601 if test $ac_cv_lib_dl_dlerror = yes; then
44602 cat >>confdefs.h <<\_ACEOF
44603 #define HAVE_DLERROR 1
44616 if test "$HAVE_DL_FUNCS" = 0; then
44617 if test "$HAVE_SHL_FUNCS" = 0; then
44618 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44619 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44620 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44621 wxUSE_DYNAMIC_LOADER=no
44622 wxUSE_DYNLIB_CLASS=no
44624 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44625 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44632 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_DYNAMIC_LOADER 1
44638 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_DYNLIB_CLASS 1
44647 if test "$wxUSE_PLUGINS" = "yes" ; then
44648 if test "$wxUSE_SHARED" = "no" ; then
44649 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44650 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44653 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44654 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44655 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44658 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44659 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44660 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44663 if test "$wxUSE_PLUGINS" = "yes" ; then
44664 cat >>confdefs.h <<\_ACEOF
44665 #define wxUSE_PLUGINS 1
44672 if test "$wxUSE_STL" = "yes"; then
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_STL 1
44679 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44680 cat >>confdefs.h <<\_ACEOF
44681 #define wxUSE_EXTENDED_RTTI 1
44686 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44687 cat >>confdefs.h <<\_ACEOF
44688 #define wxUSE_APPLE_IEEE 1
44693 if test "$wxUSE_TIMER" = "yes"; then
44694 cat >>confdefs.h <<\_ACEOF
44695 #define wxUSE_TIMER 1
44700 if test "$USE_UNIX" = "1" ; then
44701 if test "$wxUSE_MGL" != 1; then
44702 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44703 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44704 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44705 echo $ECHO_N "(cached) $ECHO_C" >&6
44708 cat >conftest.$ac_ext <<_ACEOF
44711 cat confdefs.h >>conftest.$ac_ext
44712 cat >>conftest.$ac_ext <<_ACEOF
44713 /* end confdefs.h. */
44715 #include <sys/ioctl.h>
44716 #include <sys/soundcard.h>
44722 ioctl(0, SNDCTL_DSP_SPEED, 0);
44728 rm -f conftest.$ac_objext conftest$ac_exeext
44729 if { (ac_try="$ac_link"
44730 case "(($ac_try" in
44731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44732 *) ac_try_echo=$ac_try;;
44734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44735 (eval "$ac_link") 2>conftest.er1
44737 grep -v '^ *+' conftest.er1 >conftest.err
44739 cat conftest.err >&5
44740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44741 (exit $ac_status); } && {
44742 test -z "$ac_c_werror_flag" ||
44743 test ! -s conftest.err
44744 } && test -s conftest$ac_exeext &&
44745 $as_test_x conftest$ac_exeext; then
44746 ac_cv_header_sys_soundcard=yes
44748 echo "$as_me: failed program was:" >&5
44749 sed 's/^/| /' conftest.$ac_ext >&5
44753 LIBS="$saveLibs -lossaudio"
44754 cat >conftest.$ac_ext <<_ACEOF
44757 cat confdefs.h >>conftest.$ac_ext
44758 cat >>conftest.$ac_ext <<_ACEOF
44759 /* end confdefs.h. */
44761 #include <sys/ioctl.h>
44762 #include <sys/soundcard.h>
44768 ioctl(0, SNDCTL_DSP_SPEED, 0);
44774 rm -f conftest.$ac_objext conftest$ac_exeext
44775 if { (ac_try="$ac_link"
44776 case "(($ac_try" in
44777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44778 *) ac_try_echo=$ac_try;;
44780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44781 (eval "$ac_link") 2>conftest.er1
44783 grep -v '^ *+' conftest.er1 >conftest.err
44785 cat conftest.err >&5
44786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44787 (exit $ac_status); } && {
44788 test -z "$ac_c_werror_flag" ||
44789 test ! -s conftest.err
44790 } && test -s conftest$ac_exeext &&
44791 $as_test_x conftest$ac_exeext; then
44792 ac_cv_header_sys_soundcard=yes
44794 echo "$as_me: failed program was:" >&5
44795 sed 's/^/| /' conftest.$ac_ext >&5
44799 ac_cv_header_sys_soundcard=no
44804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44805 conftest$ac_exeext conftest.$ac_ext
44810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44811 conftest$ac_exeext conftest.$ac_ext
44814 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44815 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44818 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44819 cat >>confdefs.h <<\_ACEOF
44820 #define HAVE_SYS_SOUNDCARD_H 1
44827 if test "$wxUSE_SOUND" = "yes"; then
44828 if test "$USE_UNIX" = "1" ; then
44829 if test "$wxUSE_LIBSDL" != "no"; then
44831 # Check whether --with-sdl-prefix was given.
44832 if test "${with_sdl_prefix+set}" = set; then
44833 withval=$with_sdl_prefix; sdl_prefix="$withval"
44839 # Check whether --with-sdl-exec-prefix was given.
44840 if test "${with_sdl_exec_prefix+set}" = set; then
44841 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44846 # Check whether --enable-sdltest was given.
44847 if test "${enable_sdltest+set}" = set; then
44848 enableval=$enable_sdltest;
44854 if test x$sdl_exec_prefix != x ; then
44855 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44856 if test x${SDL_CONFIG+set} != xset ; then
44857 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44860 if test x$sdl_prefix != x ; then
44861 sdl_args="$sdl_args --prefix=$sdl_prefix"
44862 if test x${SDL_CONFIG+set} != xset ; then
44863 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44867 if test "x$prefix" != xNONE; then
44868 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44870 # Extract the first word of "sdl-config", so it can be a program name with args.
44871 set dummy sdl-config; ac_word=$2
44872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44874 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44875 echo $ECHO_N "(cached) $ECHO_C" >&6
44877 case $SDL_CONFIG in
44879 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44883 for as_dir in $PATH
44886 test -z "$as_dir" && as_dir=.
44887 for ac_exec_ext in '' $ac_executable_extensions; do
44888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44889 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44897 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44901 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44902 if test -n "$SDL_CONFIG"; then
44903 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44904 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44906 { echo "$as_me:$LINENO: result: no" >&5
44907 echo "${ECHO_T}no" >&6; }
44911 min_sdl_version=1.2.0
44912 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44913 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44915 if test "$SDL_CONFIG" = "no" ; then
44918 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44919 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44921 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44923 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44925 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44927 if test "x$enable_sdltest" = "xyes" ; then
44928 ac_save_CFLAGS="$CFLAGS"
44929 ac_save_CXXFLAGS="$CXXFLAGS"
44930 ac_save_LIBS="$LIBS"
44931 CFLAGS="$CFLAGS $SDL_CFLAGS"
44932 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44933 LIBS="$LIBS $SDL_LIBS"
44935 if test "$cross_compiling" = yes; then
44936 echo $ac_n "cross compiling; assumed OK... $ac_c"
44938 cat >conftest.$ac_ext <<_ACEOF
44941 cat confdefs.h >>conftest.$ac_ext
44942 cat >>conftest.$ac_ext <<_ACEOF
44943 /* end confdefs.h. */
44946 #include <stdlib.h>
44947 #include <string.h>
44951 my_strdup (char *str)
44957 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44958 strcpy (new_str, str);
44966 int main (int argc, char *argv[])
44968 int major, minor, micro;
44971 /* This hangs on some systems (?)
44972 system ("touch conf.sdltest");
44974 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44976 /* HP/UX 9 (%@#!) writes to sscanf strings */
44977 tmp_version = my_strdup("$min_sdl_version");
44978 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44979 printf("%s, bad version string\n", "$min_sdl_version");
44983 if (($sdl_major_version > major) ||
44984 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44985 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44991 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44992 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44993 printf("*** best to upgrade to the required version.\n");
44994 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44995 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44996 printf("*** config.cache before re-running configure\n");
45003 rm -f conftest$ac_exeext
45004 if { (ac_try="$ac_link"
45005 case "(($ac_try" in
45006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45007 *) ac_try_echo=$ac_try;;
45009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45010 (eval "$ac_link") 2>&5
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45014 { (case "(($ac_try" in
45015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45016 *) ac_try_echo=$ac_try;;
45018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45019 (eval "$ac_try") 2>&5
45021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45022 (exit $ac_status); }; }; then
45025 echo "$as_me: program exited with status $ac_status" >&5
45026 echo "$as_me: failed program was:" >&5
45027 sed 's/^/| /' conftest.$ac_ext >&5
45029 ( exit $ac_status )
45032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45036 CFLAGS="$ac_save_CFLAGS"
45037 CXXFLAGS="$ac_save_CXXFLAGS"
45038 LIBS="$ac_save_LIBS"
45041 if test "x$no_sdl" = x ; then
45042 { echo "$as_me:$LINENO: result: yes" >&5
45043 echo "${ECHO_T}yes" >&6; }
45045 EXTRALIBS_SDL="$SDL_LIBS"
45046 CFLAGS="$SDL_CFLAGS $CFLAGS"
45047 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_LIBSDL 1
45054 { echo "$as_me:$LINENO: result: no" >&5
45055 echo "${ECHO_T}no" >&6; }
45056 if test "$SDL_CONFIG" = "no" ; then
45057 echo "*** The sdl-config script installed by SDL could not be found"
45058 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45059 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45060 echo "*** full path to sdl-config."
45062 if test -f conf.sdltest ; then
45065 echo "*** Could not run SDL test program, checking why..."
45066 CFLAGS="$CFLAGS $SDL_CFLAGS"
45067 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45068 LIBS="$LIBS $SDL_LIBS"
45069 cat >conftest.$ac_ext <<_ACEOF
45072 cat confdefs.h >>conftest.$ac_ext
45073 cat >>conftest.$ac_ext <<_ACEOF
45074 /* end confdefs.h. */
45079 int main(int argc, char *argv[])
45082 #define main K_and_R_C_main
45092 rm -f conftest.$ac_objext conftest$ac_exeext
45093 if { (ac_try="$ac_link"
45094 case "(($ac_try" in
45095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45096 *) ac_try_echo=$ac_try;;
45098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45099 (eval "$ac_link") 2>conftest.er1
45101 grep -v '^ *+' conftest.er1 >conftest.err
45103 cat conftest.err >&5
45104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45105 (exit $ac_status); } && {
45106 test -z "$ac_c_werror_flag" ||
45107 test ! -s conftest.err
45108 } && test -s conftest$ac_exeext &&
45109 $as_test_x conftest$ac_exeext; then
45110 echo "*** The test program compiled, but did not run. This usually means"
45111 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45112 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45113 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45114 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45115 echo "*** is required on your system"
45117 echo "*** If you have an old version installed, it is best to remove it, although"
45118 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45120 echo "$as_me: failed program was:" >&5
45121 sed 's/^/| /' conftest.$ac_ext >&5
45123 echo "*** The test program failed to compile or link. See the file config.log for the"
45124 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45125 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45126 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45130 conftest$ac_exeext conftest.$ac_ext
45131 CFLAGS="$ac_save_CFLAGS"
45132 CXXFLAGS="$ac_save_CXXFLAGS"
45133 LIBS="$ac_save_LIBS"
45144 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45149 if test "$wxUSE_MGL" = 1; then
45150 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45151 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45157 if test "$wxUSE_SOUND" = "yes"; then
45158 cat >>confdefs.h <<\_ACEOF
45159 #define wxUSE_SOUND 1
45162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45165 if test "$WXGTK20" = 1; then
45168 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45169 if test -n "$ac_tool_prefix"; then
45170 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45171 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45174 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45175 echo $ECHO_N "(cached) $ECHO_C" >&6
45177 case $PKG_CONFIG in
45179 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45183 for as_dir in $PATH
45186 test -z "$as_dir" && as_dir=.
45187 for ac_exec_ext in '' $ac_executable_extensions; do
45188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45189 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45200 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45201 if test -n "$PKG_CONFIG"; then
45202 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45203 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45205 { echo "$as_me:$LINENO: result: no" >&5
45206 echo "${ECHO_T}no" >&6; }
45211 if test -z "$ac_cv_path_PKG_CONFIG"; then
45212 ac_pt_PKG_CONFIG=$PKG_CONFIG
45213 # Extract the first word of "pkg-config", so it can be a program name with args.
45214 set dummy pkg-config; ac_word=$2
45215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45217 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45218 echo $ECHO_N "(cached) $ECHO_C" >&6
45220 case $ac_pt_PKG_CONFIG in
45222 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45226 for as_dir in $PATH
45229 test -z "$as_dir" && as_dir=.
45230 for ac_exec_ext in '' $ac_executable_extensions; do
45231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45232 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45243 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45244 if test -n "$ac_pt_PKG_CONFIG"; then
45245 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45246 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45248 { echo "$as_me:$LINENO: result: no" >&5
45249 echo "${ECHO_T}no" >&6; }
45252 if test "x$ac_pt_PKG_CONFIG" = x; then
45255 case $cross_compiling:$ac_tool_warned in
45257 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45258 whose name does not start with the host triplet. If you think this
45259 configuration is useful to you, please write to autoconf@gnu.org." >&5
45260 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45261 whose name does not start with the host triplet. If you think this
45262 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45263 ac_tool_warned=yes ;;
45265 PKG_CONFIG=$ac_pt_PKG_CONFIG
45268 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45272 if test -n "$PKG_CONFIG"; then
45273 _pkg_min_version=0.9.0
45274 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45275 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45276 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45277 { echo "$as_me:$LINENO: result: yes" >&5
45278 echo "${ECHO_T}yes" >&6; }
45280 { echo "$as_me:$LINENO: result: no" >&5
45281 echo "${ECHO_T}no" >&6; }
45287 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45288 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45292 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45293 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45295 if test -n "$PKG_CONFIG"; then
45296 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45297 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45299 if test -n "$PKG_CONFIG" && \
45300 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45301 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45304 (exit $ac_status); }; then
45305 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45313 if test -n "$PKG_CONFIG"; then
45314 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45315 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45317 if test -n "$PKG_CONFIG" && \
45318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45319 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322 (exit $ac_status); }; then
45323 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45334 if test $pkg_failed = yes; then
45336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45337 _pkg_short_errors_supported=yes
45339 _pkg_short_errors_supported=no
45341 if test $_pkg_short_errors_supported = yes; then
45342 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45344 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45346 # Put the nasty error message in config.log where it belongs
45347 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45350 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45351 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45352 wxUSE_LIBGNOMEPRINT="no"
45355 elif test $pkg_failed = untried; then
45357 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45358 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45359 wxUSE_LIBGNOMEPRINT="no"
45363 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45364 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45365 { echo "$as_me:$LINENO: result: yes" >&5
45366 echo "${ECHO_T}yes" >&6; }
45368 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45369 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_LIBGNOMEPRINT 1
45379 if test "$wxUSE_MIMETYPE" = "yes" ; then
45380 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45384 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45385 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45387 if test -n "$PKG_CONFIG"; then
45388 if test -n "$GNOMEVFS_CFLAGS"; then
45389 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45391 if test -n "$PKG_CONFIG" && \
45392 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45393 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45396 (exit $ac_status); }; then
45397 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45405 if test -n "$PKG_CONFIG"; then
45406 if test -n "$GNOMEVFS_LIBS"; then
45407 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45409 if test -n "$PKG_CONFIG" && \
45410 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45411 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45414 (exit $ac_status); }; then
45415 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45426 if test $pkg_failed = yes; then
45428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45429 _pkg_short_errors_supported=yes
45431 _pkg_short_errors_supported=no
45433 if test $_pkg_short_errors_supported = yes; then
45434 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45436 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45438 # Put the nasty error message in config.log where it belongs
45439 echo "$GNOMEVFS_PKG_ERRORS" >&5
45442 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45443 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45444 wxUSE_LIBGNOMEVFS="no"
45447 elif test $pkg_failed = untried; then
45449 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45450 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45451 wxUSE_LIBGNOMEVFS="no"
45455 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45456 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45457 { echo "$as_me:$LINENO: result: yes" >&5
45458 echo "${ECHO_T}yes" >&6; }
45460 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45461 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_LIBGNOMEVFS 1
45471 if test "$wxUSE_LIBHILDON" = "yes" ; then
45474 { echo "$as_me:$LINENO: checking for HILDON" >&5
45475 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45477 if test -n "$PKG_CONFIG"; then
45478 if test -n "$HILDON_CFLAGS"; then
45479 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45481 if test -n "$PKG_CONFIG" && \
45482 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45483 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45486 (exit $ac_status); }; then
45487 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45495 if test -n "$PKG_CONFIG"; then
45496 if test -n "$HILDON_LIBS"; then
45497 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45499 if test -n "$PKG_CONFIG" && \
45500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45501 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45504 (exit $ac_status); }; then
45505 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45516 if test $pkg_failed = yes; then
45518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45519 _pkg_short_errors_supported=yes
45521 _pkg_short_errors_supported=no
45523 if test $_pkg_short_errors_supported = yes; then
45524 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45526 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45528 # Put the nasty error message in config.log where it belongs
45529 echo "$HILDON_PKG_ERRORS" >&5
45532 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45533 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45534 wxUSE_LIBHILDON="no"
45537 elif test $pkg_failed = untried; then
45539 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45540 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45541 wxUSE_LIBHILDON="no"
45545 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45546 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45547 { echo "$as_me:$LINENO: result: yes" >&5
45548 echo "${ECHO_T}yes" >&6; }
45550 EXTRALIBS_HILDON="$HILDON_LIBS"
45551 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45552 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45553 cat >>confdefs.h <<\_ACEOF
45554 #define wxUSE_LIBHILDON 1
45562 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_CMDLINE_PARSER 1
45569 if test "$wxUSE_STOPWATCH" = "yes"; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_STOPWATCH 1
45576 if test "$wxUSE_DATETIME" = "yes"; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_DATETIME 1
45583 if test "$wxUSE_FILE" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_FILE 1
45590 if test "$wxUSE_FFILE" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_FFILE 1
45597 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45598 if test "$wxUSE_STREAMS" != yes; then
45599 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45600 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45601 wxUSE_ARCHIVE_STREAMS=no
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_ARCHIVE_STREAMS 1
45610 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45611 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45612 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45613 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45614 elif test "$wxUSE_ZLIB" = "no"; then
45615 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45616 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_ZIPSTREAM 1
45625 if test "$wxUSE_TARSTREAM" = "yes"; then
45626 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45627 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45628 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45630 cat >>confdefs.h <<\_ACEOF
45631 #define wxUSE_TARSTREAM 1
45637 if test "$wxUSE_FILESYSTEM" = "yes"; then
45638 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45639 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45640 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45641 wxUSE_FILESYSTEM=no
45643 cat >>confdefs.h <<\_ACEOF
45644 #define wxUSE_FILESYSTEM 1
45650 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45651 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45652 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45653 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45655 cat >>confdefs.h <<\_ACEOF
45656 #define wxUSE_FS_ARCHIVE 1
45662 if test "$wxUSE_FS_ZIP" = "yes"; then
45663 if test "$wxUSE_FS_ARCHIVE" != yes; then
45664 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45665 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45667 cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_FS_ZIP 1
45674 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45675 if test "$USE_UNIX" != 1; then
45676 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45677 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45678 wxUSE_ON_FATAL_EXCEPTION=no
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_ON_FATAL_EXCEPTION 1
45687 if test "$wxUSE_STACKWALKER" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_STACKWALKER 1
45694 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45695 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45696 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45697 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45698 wxUSE_DEBUGREPORT=no
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_DEBUGREPORT 1
45704 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45710 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_SNGLINST_CHECKER 1
45717 if test "$wxUSE_BUSYINFO" = "yes"; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_BUSYINFO 1
45724 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_STD_IOSTREAM 1
45731 if test "$wxUSE_STD_STRING" = "yes"; then
45732 cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_STD_STRING 1
45738 if test "$wxUSE_STDPATHS" = "yes"; then
45739 cat >>confdefs.h <<\_ACEOF
45740 #define wxUSE_STDPATHS 1
45745 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_TEXTBUFFER 1
45752 if test "$wxUSE_TEXTFILE" = "yes"; then
45753 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45754 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45755 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_TEXTFILE 1
45764 if test "$wxUSE_CONFIG" = "yes" ; then
45765 if test "$wxUSE_TEXTFILE" != "yes"; then
45766 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45767 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_CONFIG 1
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_CONFIG_NATIVE 1
45777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45781 if test "$wxUSE_INTL" = "yes" ; then
45782 if test "$wxUSE_FILE" != "yes"; then
45783 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45784 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_INTL 1
45790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45791 GUIDIST="$GUIDIST INTL_DIST"
45795 if test "$wxUSE_LOG" = "yes"; then
45796 cat >>confdefs.h <<\_ACEOF
45797 #define wxUSE_LOG 1
45801 if test "$wxUSE_LOGGUI" = "yes"; then
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_LOGGUI 1
45808 if test "$wxUSE_LOGWINDOW" = "yes"; then
45809 cat >>confdefs.h <<\_ACEOF
45810 #define wxUSE_LOGWINDOW 1
45815 if test "$wxUSE_LOGDIALOG" = "yes"; then
45816 cat >>confdefs.h <<\_ACEOF
45817 #define wxUSE_LOG_DIALOG 1
45822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45825 if test "$wxUSE_LONGLONG" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_LONGLONG 1
45832 if test "$wxUSE_GEOMETRY" = "yes"; then
45833 cat >>confdefs.h <<\_ACEOF
45834 #define wxUSE_GEOMETRY 1
45839 if test "$wxUSE_BASE64" = "yes"; then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_BASE64 1
45846 if test "$wxUSE_STREAMS" = "yes" ; then
45847 cat >>confdefs.h <<\_ACEOF
45848 #define wxUSE_STREAMS 1
45853 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_PRINTF_POS_PARAMS 1
45860 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_OBJC_UNIQUIFYING 1
45868 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45869 cat >>confdefs.h <<\_ACEOF
45870 #define wxUSE_CONSOLE_EVENTLOOP 1
45874 if test "$wxUSE_UNIX" = "yes"; then
45875 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_SELECT_DISPATCHER 1
45882 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45884 for ac_header in sys/epoll.h
45886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45891 echo $ECHO_N "(cached) $ECHO_C" >&6
45893 ac_res=`eval echo '${'$as_ac_Header'}'`
45894 { echo "$as_me:$LINENO: result: $ac_res" >&5
45895 echo "${ECHO_T}$ac_res" >&6; }
45897 # Is the header compilable?
45898 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45900 cat >conftest.$ac_ext <<_ACEOF
45903 cat confdefs.h >>conftest.$ac_ext
45904 cat >>conftest.$ac_ext <<_ACEOF
45905 /* end confdefs.h. */
45906 $ac_includes_default
45907 #include <$ac_header>
45909 rm -f conftest.$ac_objext
45910 if { (ac_try="$ac_compile"
45911 case "(($ac_try" in
45912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45913 *) ac_try_echo=$ac_try;;
45915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45916 (eval "$ac_compile") 2>conftest.er1
45918 grep -v '^ *+' conftest.er1 >conftest.err
45920 cat conftest.err >&5
45921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45922 (exit $ac_status); } && {
45923 test -z "$ac_c_werror_flag" ||
45924 test ! -s conftest.err
45925 } && test -s conftest.$ac_objext; then
45926 ac_header_compiler=yes
45928 echo "$as_me: failed program was:" >&5
45929 sed 's/^/| /' conftest.$ac_ext >&5
45931 ac_header_compiler=no
45934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45935 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45936 echo "${ECHO_T}$ac_header_compiler" >&6; }
45938 # Is the header present?
45939 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45941 cat >conftest.$ac_ext <<_ACEOF
45944 cat confdefs.h >>conftest.$ac_ext
45945 cat >>conftest.$ac_ext <<_ACEOF
45946 /* end confdefs.h. */
45947 #include <$ac_header>
45949 if { (ac_try="$ac_cpp conftest.$ac_ext"
45950 case "(($ac_try" in
45951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45952 *) ac_try_echo=$ac_try;;
45954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45957 grep -v '^ *+' conftest.er1 >conftest.err
45959 cat conftest.err >&5
45960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45961 (exit $ac_status); } >/dev/null && {
45962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45963 test ! -s conftest.err
45965 ac_header_preproc=yes
45967 echo "$as_me: failed program was:" >&5
45968 sed 's/^/| /' conftest.$ac_ext >&5
45970 ac_header_preproc=no
45973 rm -f conftest.err conftest.$ac_ext
45974 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45975 echo "${ECHO_T}$ac_header_preproc" >&6; }
45977 # So? What about this header?
45978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45984 ac_header_preproc=yes
45987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
46000 ## ----------------------------------------- ##
46001 ## Report this to wx-dev@lists.wxwidgets.org ##
46002 ## ----------------------------------------- ##
46004 ) | sed "s/^/$as_me: WARNING: /" >&2
46007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46010 echo $ECHO_N "(cached) $ECHO_C" >&6
46012 eval "$as_ac_Header=\$ac_header_preproc"
46014 ac_res=`eval echo '${'$as_ac_Header'}'`
46015 { echo "$as_me:$LINENO: result: $ac_res" >&5
46016 echo "${ECHO_T}$ac_res" >&6; }
46019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46020 cat >>confdefs.h <<_ACEOF
46021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46028 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_EPOLL_DISPATCHER 1
46034 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
46035 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
46044 for ac_func in gettimeofday ftime
46046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46047 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46049 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46050 echo $ECHO_N "(cached) $ECHO_C" >&6
46052 cat >conftest.$ac_ext <<_ACEOF
46055 cat confdefs.h >>conftest.$ac_ext
46056 cat >>conftest.$ac_ext <<_ACEOF
46057 /* end confdefs.h. */
46058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46060 #define $ac_func innocuous_$ac_func
46062 /* System header to define __stub macros and hopefully few prototypes,
46063 which can conflict with char $ac_func (); below.
46064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46065 <limits.h> exists even on freestanding compilers. */
46068 # include <limits.h>
46070 # include <assert.h>
46075 /* Override any GCC internal prototype to avoid an error.
46076 Use char because int might match the return type of a GCC
46077 builtin and then its argument prototype would still apply. */
46082 /* The GNU C library defines this for functions which it implements
46083 to always fail with ENOSYS. Some functions are actually named
46084 something starting with __ and the normal name is an alias. */
46085 #if defined __stub_$ac_func || defined __stub___$ac_func
46092 return $ac_func ();
46097 rm -f conftest.$ac_objext conftest$ac_exeext
46098 if { (ac_try="$ac_link"
46099 case "(($ac_try" in
46100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46101 *) ac_try_echo=$ac_try;;
46103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46104 (eval "$ac_link") 2>conftest.er1
46106 grep -v '^ *+' conftest.er1 >conftest.err
46108 cat conftest.err >&5
46109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46110 (exit $ac_status); } && {
46111 test -z "$ac_c_werror_flag" ||
46112 test ! -s conftest.err
46113 } && test -s conftest$ac_exeext &&
46114 $as_test_x conftest$ac_exeext; then
46115 eval "$as_ac_var=yes"
46117 echo "$as_me: failed program was:" >&5
46118 sed 's/^/| /' conftest.$ac_ext >&5
46120 eval "$as_ac_var=no"
46123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46124 conftest$ac_exeext conftest.$ac_ext
46126 ac_res=`eval echo '${'$as_ac_var'}'`
46127 { echo "$as_me:$LINENO: result: $ac_res" >&5
46128 echo "${ECHO_T}$ac_res" >&6; }
46129 if test `eval echo '${'$as_ac_var'}'` = yes; then
46130 cat >>confdefs.h <<_ACEOF
46131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46138 if test "$ac_cv_func_gettimeofday" = "yes"; then
46139 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46140 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46141 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46142 echo $ECHO_N "(cached) $ECHO_C" >&6
46145 cat >conftest.$ac_ext <<_ACEOF
46148 cat confdefs.h >>conftest.$ac_ext
46149 cat >>conftest.$ac_ext <<_ACEOF
46150 /* end confdefs.h. */
46152 #include <sys/time.h>
46153 #include <unistd.h>
46160 gettimeofday(&tv, NULL);
46166 rm -f conftest.$ac_objext
46167 if { (ac_try="$ac_compile"
46168 case "(($ac_try" in
46169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46170 *) ac_try_echo=$ac_try;;
46172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46173 (eval "$ac_compile") 2>conftest.er1
46175 grep -v '^ *+' conftest.er1 >conftest.err
46177 cat conftest.err >&5
46178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46179 (exit $ac_status); } && {
46180 test -z "$ac_c_werror_flag" ||
46181 test ! -s conftest.err
46182 } && test -s conftest.$ac_objext; then
46183 wx_cv_func_gettimeofday_has_2_args=yes
46185 echo "$as_me: failed program was:" >&5
46186 sed 's/^/| /' conftest.$ac_ext >&5
46188 cat >conftest.$ac_ext <<_ACEOF
46191 cat confdefs.h >>conftest.$ac_ext
46192 cat >>conftest.$ac_ext <<_ACEOF
46193 /* end confdefs.h. */
46195 #include <sys/time.h>
46196 #include <unistd.h>
46209 rm -f conftest.$ac_objext
46210 if { (ac_try="$ac_compile"
46211 case "(($ac_try" in
46212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46213 *) ac_try_echo=$ac_try;;
46215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46216 (eval "$ac_compile") 2>conftest.er1
46218 grep -v '^ *+' conftest.er1 >conftest.err
46220 cat conftest.err >&5
46221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222 (exit $ac_status); } && {
46223 test -z "$ac_c_werror_flag" ||
46224 test ! -s conftest.err
46225 } && test -s conftest.$ac_objext; then
46226 wx_cv_func_gettimeofday_has_2_args=no
46228 echo "$as_me: failed program was:" >&5
46229 sed 's/^/| /' conftest.$ac_ext >&5
46232 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46233 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46234 wx_cv_func_gettimeofday_has_2_args=unknown
46239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46246 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46247 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46249 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46250 cat >>confdefs.h <<\_ACEOF
46251 #define WX_GETTIMEOFDAY_NO_TZ 1
46257 if test "$wxUSE_DATETIME" = "yes"; then
46258 { echo "$as_me:$LINENO: checking for strptime" >&5
46259 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46260 if test "${ac_cv_func_strptime+set}" = set; then
46261 echo $ECHO_N "(cached) $ECHO_C" >&6
46263 cat >conftest.$ac_ext <<_ACEOF
46266 cat confdefs.h >>conftest.$ac_ext
46267 cat >>conftest.$ac_ext <<_ACEOF
46268 /* end confdefs.h. */
46269 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46271 #define strptime innocuous_strptime
46273 /* System header to define __stub macros and hopefully few prototypes,
46274 which can conflict with char strptime (); below.
46275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46276 <limits.h> exists even on freestanding compilers. */
46279 # include <limits.h>
46281 # include <assert.h>
46286 /* Override any GCC internal prototype to avoid an error.
46287 Use char because int might match the return type of a GCC
46288 builtin and then its argument prototype would still apply. */
46293 /* The GNU C library defines this for functions which it implements
46294 to always fail with ENOSYS. Some functions are actually named
46295 something starting with __ and the normal name is an alias. */
46296 #if defined __stub_strptime || defined __stub___strptime
46303 return strptime ();
46308 rm -f conftest.$ac_objext conftest$ac_exeext
46309 if { (ac_try="$ac_link"
46310 case "(($ac_try" in
46311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46312 *) ac_try_echo=$ac_try;;
46314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46315 (eval "$ac_link") 2>conftest.er1
46317 grep -v '^ *+' conftest.er1 >conftest.err
46319 cat conftest.err >&5
46320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46321 (exit $ac_status); } && {
46322 test -z "$ac_c_werror_flag" ||
46323 test ! -s conftest.err
46324 } && test -s conftest$ac_exeext &&
46325 $as_test_x conftest$ac_exeext; then
46326 ac_cv_func_strptime=yes
46328 echo "$as_me: failed program was:" >&5
46329 sed 's/^/| /' conftest.$ac_ext >&5
46331 ac_cv_func_strptime=no
46334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46335 conftest$ac_exeext conftest.$ac_ext
46337 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46338 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46340 if test "$ac_cv_func_strptime" = "yes"; then
46341 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46342 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46343 if test "${wx_cv_func_strptime_decl+set}" = set; then
46344 echo $ECHO_N "(cached) $ECHO_C" >&6
46348 ac_cpp='$CXXCPP $CPPFLAGS'
46349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46353 cat >conftest.$ac_ext <<_ACEOF
46356 cat confdefs.h >>conftest.$ac_ext
46357 cat >>conftest.$ac_ext <<_ACEOF
46358 /* end confdefs.h. */
46367 strptime("foo", "bar", &t);
46373 rm -f conftest.$ac_objext
46374 if { (ac_try="$ac_compile"
46375 case "(($ac_try" in
46376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46377 *) ac_try_echo=$ac_try;;
46379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46380 (eval "$ac_compile") 2>conftest.er1
46382 grep -v '^ *+' conftest.er1 >conftest.err
46384 cat conftest.err >&5
46385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386 (exit $ac_status); } && {
46387 test -z "$ac_cxx_werror_flag" ||
46388 test ! -s conftest.err
46389 } && test -s conftest.$ac_objext; then
46390 wx_cv_func_strptime_decl=yes
46392 echo "$as_me: failed program was:" >&5
46393 sed 's/^/| /' conftest.$ac_ext >&5
46395 wx_cv_func_strptime_decl=no
46399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46401 ac_cpp='$CPP $CPPFLAGS'
46402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46409 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46410 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46412 if test "$wx_cv_func_strptime_decl" = "yes"; then
46413 cat >>confdefs.h <<\_ACEOF
46414 #define HAVE_STRPTIME_DECL 1
46418 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46420 if test "$ac_cv_func_strptime" = "yes"; then
46421 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46422 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46423 if test "${wx_cv_func_strptime_ok+set}" = set; then
46424 echo $ECHO_N "(cached) $ECHO_C" >&6
46426 if test "$cross_compiling" = yes; then
46427 wx_cv_func_strptime_ok=no
46430 cat >conftest.$ac_ext <<_ACEOF
46432 #include <stdlib.h>
46434 #include "confdefs.h"
46441 return !!strptime("", "%x", &t);
46445 rm -f conftest$ac_exeext
46446 if { (ac_try="$ac_link"
46447 case "(($ac_try" in
46448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46449 *) ac_try_echo=$ac_try;;
46451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46452 (eval "$ac_link") 2>&5
46454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46456 { (case "(($ac_try" in
46457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46458 *) ac_try_echo=$ac_try;;
46460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46461 (eval "$ac_try") 2>&5
46463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46464 (exit $ac_status); }; }; then
46465 wx_cv_func_strptime_ok=yes
46467 echo "$as_me: program exited with status $ac_status" >&5
46468 echo "$as_me: failed program was:" >&5
46469 sed 's/^/| /' conftest.$ac_ext >&5
46471 ( exit $ac_status )
46472 wx_cv_func_strptime_ok=no
46474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46480 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46481 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46483 if test "$wx_cv_func_strptime_ok" = "yes"; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define HAVE_STRPTIME 1
46491 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46492 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46493 if test "${wx_cv_var_timezone+set}" = set; then
46494 echo $ECHO_N "(cached) $ECHO_C" >&6
46498 ac_cpp='$CXXCPP $CPPFLAGS'
46499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46503 cat >conftest.$ac_ext <<_ACEOF
46506 cat confdefs.h >>conftest.$ac_ext
46507 cat >>conftest.$ac_ext <<_ACEOF
46508 /* end confdefs.h. */
46523 rm -f conftest.$ac_objext
46524 if { (ac_try="$ac_compile"
46525 case "(($ac_try" in
46526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46527 *) ac_try_echo=$ac_try;;
46529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46530 (eval "$ac_compile") 2>conftest.er1
46532 grep -v '^ *+' conftest.er1 >conftest.err
46534 cat conftest.err >&5
46535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46536 (exit $ac_status); } && {
46537 test -z "$ac_cxx_werror_flag" ||
46538 test ! -s conftest.err
46539 } && test -s conftest.$ac_objext; then
46541 wx_cv_var_timezone=timezone
46544 echo "$as_me: failed program was:" >&5
46545 sed 's/^/| /' conftest.$ac_ext >&5
46548 cat >conftest.$ac_ext <<_ACEOF
46551 cat confdefs.h >>conftest.$ac_ext
46552 cat >>conftest.$ac_ext <<_ACEOF
46553 /* end confdefs.h. */
46568 rm -f conftest.$ac_objext
46569 if { (ac_try="$ac_compile"
46570 case "(($ac_try" in
46571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46572 *) ac_try_echo=$ac_try;;
46574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46575 (eval "$ac_compile") 2>conftest.er1
46577 grep -v '^ *+' conftest.er1 >conftest.err
46579 cat conftest.err >&5
46580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46581 (exit $ac_status); } && {
46582 test -z "$ac_cxx_werror_flag" ||
46583 test ! -s conftest.err
46584 } && test -s conftest.$ac_objext; then
46586 wx_cv_var_timezone=_timezone
46589 echo "$as_me: failed program was:" >&5
46590 sed 's/^/| /' conftest.$ac_ext >&5
46593 cat >conftest.$ac_ext <<_ACEOF
46596 cat confdefs.h >>conftest.$ac_ext
46597 cat >>conftest.$ac_ext <<_ACEOF
46598 /* end confdefs.h. */
46613 rm -f conftest.$ac_objext
46614 if { (ac_try="$ac_compile"
46615 case "(($ac_try" in
46616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46617 *) ac_try_echo=$ac_try;;
46619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46620 (eval "$ac_compile") 2>conftest.er1
46622 grep -v '^ *+' conftest.er1 >conftest.err
46624 cat conftest.err >&5
46625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46626 (exit $ac_status); } && {
46627 test -z "$ac_cxx_werror_flag" ||
46628 test ! -s conftest.err
46629 } && test -s conftest.$ac_objext; then
46631 wx_cv_var_timezone=__timezone
46634 echo "$as_me: failed program was:" >&5
46635 sed 's/^/| /' conftest.$ac_ext >&5
46638 if test "$USE_DOS" = 0 ; then
46639 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46640 echo "$as_me: WARNING: no timezone variable" >&2;}
46646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46658 ac_cpp='$CPP $CPPFLAGS'
46659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46666 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46667 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46669 if test "x$wx_cv_var_timezone" != x ; then
46670 cat >>confdefs.h <<_ACEOF
46671 #define WX_TIMEZONE $wx_cv_var_timezone
46677 for ac_func in localtime
46679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46683 echo $ECHO_N "(cached) $ECHO_C" >&6
46685 cat >conftest.$ac_ext <<_ACEOF
46688 cat confdefs.h >>conftest.$ac_ext
46689 cat >>conftest.$ac_ext <<_ACEOF
46690 /* end confdefs.h. */
46691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46693 #define $ac_func innocuous_$ac_func
46695 /* System header to define __stub macros and hopefully few prototypes,
46696 which can conflict with char $ac_func (); below.
46697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46698 <limits.h> exists even on freestanding compilers. */
46701 # include <limits.h>
46703 # include <assert.h>
46708 /* Override any GCC internal prototype to avoid an error.
46709 Use char because int might match the return type of a GCC
46710 builtin and then its argument prototype would still apply. */
46715 /* The GNU C library defines this for functions which it implements
46716 to always fail with ENOSYS. Some functions are actually named
46717 something starting with __ and the normal name is an alias. */
46718 #if defined __stub_$ac_func || defined __stub___$ac_func
46725 return $ac_func ();
46730 rm -f conftest.$ac_objext conftest$ac_exeext
46731 if { (ac_try="$ac_link"
46732 case "(($ac_try" in
46733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46734 *) ac_try_echo=$ac_try;;
46736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46737 (eval "$ac_link") 2>conftest.er1
46739 grep -v '^ *+' conftest.er1 >conftest.err
46741 cat conftest.err >&5
46742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46743 (exit $ac_status); } && {
46744 test -z "$ac_c_werror_flag" ||
46745 test ! -s conftest.err
46746 } && test -s conftest$ac_exeext &&
46747 $as_test_x conftest$ac_exeext; then
46748 eval "$as_ac_var=yes"
46750 echo "$as_me: failed program was:" >&5
46751 sed 's/^/| /' conftest.$ac_ext >&5
46753 eval "$as_ac_var=no"
46756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46757 conftest$ac_exeext conftest.$ac_ext
46759 ac_res=`eval echo '${'$as_ac_var'}'`
46760 { echo "$as_me:$LINENO: result: $ac_res" >&5
46761 echo "${ECHO_T}$ac_res" >&6; }
46762 if test `eval echo '${'$as_ac_var'}'` = yes; then
46763 cat >>confdefs.h <<_ACEOF
46764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46771 if test "$ac_cv_func_localtime" = "yes"; then
46772 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46773 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46774 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46775 echo $ECHO_N "(cached) $ECHO_C" >&6
46778 cat >conftest.$ac_ext <<_ACEOF
46781 cat confdefs.h >>conftest.$ac_ext
46782 cat >>conftest.$ac_ext <<_ACEOF
46783 /* end confdefs.h. */
46798 rm -f conftest.$ac_objext
46799 if { (ac_try="$ac_compile"
46800 case "(($ac_try" in
46801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46802 *) ac_try_echo=$ac_try;;
46804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46805 (eval "$ac_compile") 2>conftest.er1
46807 grep -v '^ *+' conftest.er1 >conftest.err
46809 cat conftest.err >&5
46810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46811 (exit $ac_status); } && {
46812 test -z "$ac_c_werror_flag" ||
46813 test ! -s conftest.err
46814 } && test -s conftest.$ac_objext; then
46816 wx_cv_struct_tm_has_gmtoff=yes
46819 echo "$as_me: failed program was:" >&5
46820 sed 's/^/| /' conftest.$ac_ext >&5
46822 wx_cv_struct_tm_has_gmtoff=no
46826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46829 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46830 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46833 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46834 cat >>confdefs.h <<\_ACEOF
46835 #define WX_GMTOFF_IN_TM 1
46840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46844 if test "$wxUSE_SOCKETS" = "yes"; then
46845 if test "$wxUSE_MGL" = "1"; then
46846 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46847 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46852 if test "$wxUSE_SOCKETS" = "yes"; then
46853 if test "$TOOLKIT" != "MSW"; then
46854 { echo "$as_me:$LINENO: checking for socket" >&5
46855 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46856 if test "${ac_cv_func_socket+set}" = set; then
46857 echo $ECHO_N "(cached) $ECHO_C" >&6
46859 cat >conftest.$ac_ext <<_ACEOF
46862 cat confdefs.h >>conftest.$ac_ext
46863 cat >>conftest.$ac_ext <<_ACEOF
46864 /* end confdefs.h. */
46865 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46867 #define socket innocuous_socket
46869 /* System header to define __stub macros and hopefully few prototypes,
46870 which can conflict with char socket (); below.
46871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46872 <limits.h> exists even on freestanding compilers. */
46875 # include <limits.h>
46877 # include <assert.h>
46882 /* Override any GCC internal prototype to avoid an error.
46883 Use char because int might match the return type of a GCC
46884 builtin and then its argument prototype would still apply. */
46889 /* The GNU C library defines this for functions which it implements
46890 to always fail with ENOSYS. Some functions are actually named
46891 something starting with __ and the normal name is an alias. */
46892 #if defined __stub_socket || defined __stub___socket
46904 rm -f conftest.$ac_objext conftest$ac_exeext
46905 if { (ac_try="$ac_link"
46906 case "(($ac_try" in
46907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46908 *) ac_try_echo=$ac_try;;
46910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46911 (eval "$ac_link") 2>conftest.er1
46913 grep -v '^ *+' conftest.er1 >conftest.err
46915 cat conftest.err >&5
46916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46917 (exit $ac_status); } && {
46918 test -z "$ac_c_werror_flag" ||
46919 test ! -s conftest.err
46920 } && test -s conftest$ac_exeext &&
46921 $as_test_x conftest$ac_exeext; then
46922 ac_cv_func_socket=yes
46924 echo "$as_me: failed program was:" >&5
46925 sed 's/^/| /' conftest.$ac_ext >&5
46927 ac_cv_func_socket=no
46930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46931 conftest$ac_exeext conftest.$ac_ext
46933 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46934 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46935 if test $ac_cv_func_socket = yes; then
46939 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46940 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46941 if test "${ac_cv_lib_socket_socket+set}" = set; then
46942 echo $ECHO_N "(cached) $ECHO_C" >&6
46944 ac_check_lib_save_LIBS=$LIBS
46945 LIBS="-lsocket $LIBS"
46946 cat >conftest.$ac_ext <<_ACEOF
46949 cat confdefs.h >>conftest.$ac_ext
46950 cat >>conftest.$ac_ext <<_ACEOF
46951 /* end confdefs.h. */
46953 /* Override any GCC internal prototype to avoid an error.
46954 Use char because int might match the return type of a GCC
46955 builtin and then its argument prototype would still apply. */
46968 rm -f conftest.$ac_objext conftest$ac_exeext
46969 if { (ac_try="$ac_link"
46970 case "(($ac_try" in
46971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46972 *) ac_try_echo=$ac_try;;
46974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46975 (eval "$ac_link") 2>conftest.er1
46977 grep -v '^ *+' conftest.er1 >conftest.err
46979 cat conftest.err >&5
46980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46981 (exit $ac_status); } && {
46982 test -z "$ac_c_werror_flag" ||
46983 test ! -s conftest.err
46984 } && test -s conftest$ac_exeext &&
46985 $as_test_x conftest$ac_exeext; then
46986 ac_cv_lib_socket_socket=yes
46988 echo "$as_me: failed program was:" >&5
46989 sed 's/^/| /' conftest.$ac_ext >&5
46991 ac_cv_lib_socket_socket=no
46994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46995 conftest$ac_exeext conftest.$ac_ext
46996 LIBS=$ac_check_lib_save_LIBS
46998 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46999 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
47000 if test $ac_cv_lib_socket_socket = yes; then
47001 if test "$INET_LINK" != " -lsocket"; then
47002 INET_LINK="$INET_LINK -lsocket"
47006 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47007 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47020 if test "$wxUSE_SOCKETS" = "yes" ; then
47021 if test "$TOOLKIT" != "MSW"; then
47022 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47023 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
47024 if test "${wx_cv_type_getsockname3+set}" = set; then
47025 echo $ECHO_N "(cached) $ECHO_C" >&6
47029 ac_cpp='$CXXCPP $CPPFLAGS'
47030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47034 cat >conftest.$ac_ext <<_ACEOF
47037 cat confdefs.h >>conftest.$ac_ext
47038 cat >>conftest.$ac_ext <<_ACEOF
47039 /* end confdefs.h. */
47041 #include <sys/types.h>
47042 #include <sys/socket.h>
47049 getsockname(0, 0, &len);
47055 rm -f conftest.$ac_objext
47056 if { (ac_try="$ac_compile"
47057 case "(($ac_try" in
47058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47059 *) ac_try_echo=$ac_try;;
47061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47062 (eval "$ac_compile") 2>conftest.er1
47064 grep -v '^ *+' conftest.er1 >conftest.err
47066 cat conftest.err >&5
47067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47068 (exit $ac_status); } && {
47069 test -z "$ac_cxx_werror_flag" ||
47070 test ! -s conftest.err
47071 } && test -s conftest.$ac_objext; then
47072 wx_cv_type_getsockname3=socklen_t
47074 echo "$as_me: failed program was:" >&5
47075 sed 's/^/| /' conftest.$ac_ext >&5
47078 CFLAGS_OLD="$CFLAGS"
47079 if test "$GCC" = yes ; then
47080 CFLAGS="-Werror $CFLAGS"
47083 cat >conftest.$ac_ext <<_ACEOF
47086 cat confdefs.h >>conftest.$ac_ext
47087 cat >>conftest.$ac_ext <<_ACEOF
47088 /* end confdefs.h. */
47090 #include <sys/types.h>
47091 #include <sys/socket.h>
47098 getsockname(0, 0, &len);
47104 rm -f conftest.$ac_objext
47105 if { (ac_try="$ac_compile"
47106 case "(($ac_try" in
47107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47108 *) ac_try_echo=$ac_try;;
47110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47111 (eval "$ac_compile") 2>conftest.er1
47113 grep -v '^ *+' conftest.er1 >conftest.err
47115 cat conftest.err >&5
47116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47117 (exit $ac_status); } && {
47118 test -z "$ac_cxx_werror_flag" ||
47119 test ! -s conftest.err
47120 } && test -s conftest.$ac_objext; then
47121 wx_cv_type_getsockname3=size_t
47123 echo "$as_me: failed program was:" >&5
47124 sed 's/^/| /' conftest.$ac_ext >&5
47126 cat >conftest.$ac_ext <<_ACEOF
47129 cat confdefs.h >>conftest.$ac_ext
47130 cat >>conftest.$ac_ext <<_ACEOF
47131 /* end confdefs.h. */
47133 #include <sys/types.h>
47134 #include <sys/socket.h>
47141 getsockname(0, 0, &len);
47147 rm -f conftest.$ac_objext
47148 if { (ac_try="$ac_compile"
47149 case "(($ac_try" in
47150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47151 *) ac_try_echo=$ac_try;;
47153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47154 (eval "$ac_compile") 2>conftest.er1
47156 grep -v '^ *+' conftest.er1 >conftest.err
47158 cat conftest.err >&5
47159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47160 (exit $ac_status); } && {
47161 test -z "$ac_cxx_werror_flag" ||
47162 test ! -s conftest.err
47163 } && test -s conftest.$ac_objext; then
47164 wx_cv_type_getsockname3=int
47166 echo "$as_me: failed program was:" >&5
47167 sed 's/^/| /' conftest.$ac_ext >&5
47169 wx_cv_type_getsockname3=unknown
47173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47179 CFLAGS="$CFLAGS_OLD"
47184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47186 ac_cpp='$CPP $CPPFLAGS'
47187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47193 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47194 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47196 if test "$wx_cv_type_getsockname3" = "unknown"; then
47198 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47199 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47201 cat >>confdefs.h <<_ACEOF
47202 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47206 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47207 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47208 if test "${wx_cv_type_getsockopt5+set}" = set; then
47209 echo $ECHO_N "(cached) $ECHO_C" >&6
47213 ac_cpp='$CXXCPP $CPPFLAGS'
47214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47218 cat >conftest.$ac_ext <<_ACEOF
47221 cat confdefs.h >>conftest.$ac_ext
47222 cat >>conftest.$ac_ext <<_ACEOF
47223 /* end confdefs.h. */
47225 #include <sys/types.h>
47226 #include <sys/socket.h>
47233 getsockopt(0, 0, 0, 0, &len);
47239 rm -f conftest.$ac_objext
47240 if { (ac_try="$ac_compile"
47241 case "(($ac_try" in
47242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47243 *) ac_try_echo=$ac_try;;
47245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47246 (eval "$ac_compile") 2>conftest.er1
47248 grep -v '^ *+' conftest.er1 >conftest.err
47250 cat conftest.err >&5
47251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47252 (exit $ac_status); } && {
47253 test -z "$ac_cxx_werror_flag" ||
47254 test ! -s conftest.err
47255 } && test -s conftest.$ac_objext; then
47256 wx_cv_type_getsockopt5=socklen_t
47258 echo "$as_me: failed program was:" >&5
47259 sed 's/^/| /' conftest.$ac_ext >&5
47262 cat >conftest.$ac_ext <<_ACEOF
47265 cat confdefs.h >>conftest.$ac_ext
47266 cat >>conftest.$ac_ext <<_ACEOF
47267 /* end confdefs.h. */
47269 #include <sys/types.h>
47270 #include <sys/socket.h>
47277 getsockopt(0, 0, 0, 0, &len);
47283 rm -f conftest.$ac_objext
47284 if { (ac_try="$ac_compile"
47285 case "(($ac_try" in
47286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47287 *) ac_try_echo=$ac_try;;
47289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47290 (eval "$ac_compile") 2>conftest.er1
47292 grep -v '^ *+' conftest.er1 >conftest.err
47294 cat conftest.err >&5
47295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47296 (exit $ac_status); } && {
47297 test -z "$ac_cxx_werror_flag" ||
47298 test ! -s conftest.err
47299 } && test -s conftest.$ac_objext; then
47300 wx_cv_type_getsockopt5=size_t
47302 echo "$as_me: failed program was:" >&5
47303 sed 's/^/| /' conftest.$ac_ext >&5
47305 cat >conftest.$ac_ext <<_ACEOF
47308 cat confdefs.h >>conftest.$ac_ext
47309 cat >>conftest.$ac_ext <<_ACEOF
47310 /* end confdefs.h. */
47312 #include <sys/types.h>
47313 #include <sys/socket.h>
47320 getsockopt(0, 0, 0, 0, &len);
47326 rm -f conftest.$ac_objext
47327 if { (ac_try="$ac_compile"
47328 case "(($ac_try" in
47329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47330 *) ac_try_echo=$ac_try;;
47332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47333 (eval "$ac_compile") 2>conftest.er1
47335 grep -v '^ *+' conftest.er1 >conftest.err
47337 cat conftest.err >&5
47338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47339 (exit $ac_status); } && {
47340 test -z "$ac_cxx_werror_flag" ||
47341 test ! -s conftest.err
47342 } && test -s conftest.$ac_objext; then
47343 wx_cv_type_getsockopt5=int
47345 echo "$as_me: failed program was:" >&5
47346 sed 's/^/| /' conftest.$ac_ext >&5
47348 wx_cv_type_getsockopt5=unknown
47352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47363 ac_cpp='$CPP $CPPFLAGS'
47364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47370 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47371 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47373 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47375 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47376 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47378 cat >>confdefs.h <<_ACEOF
47379 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47386 if test "$wxUSE_SOCKETS" = "yes" ; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_SOCKETS 1
47391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47394 if test "$wxUSE_PROTOCOL" = "yes"; then
47395 if test "$wxUSE_SOCKETS" != "yes"; then
47396 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47397 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47402 if test "$wxUSE_PROTOCOL" = "yes"; then
47403 cat >>confdefs.h <<\_ACEOF
47404 #define wxUSE_PROTOCOL 1
47408 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47409 cat >>confdefs.h <<\_ACEOF
47410 #define wxUSE_PROTOCOL_HTTP 1
47414 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_PROTOCOL_FTP 1
47420 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47421 cat >>confdefs.h <<\_ACEOF
47422 #define wxUSE_PROTOCOL_FILE 1
47427 if test "$wxUSE_FS_INET" = "yes"; then
47428 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47429 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47434 if test "$wxUSE_URL" = "yes"; then
47435 if test "$wxUSE_PROTOCOL" != "yes"; then
47436 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47437 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47440 if test "$wxUSE_URL" = "yes"; then
47441 cat >>confdefs.h <<\_ACEOF
47442 #define wxUSE_URL 1
47448 if test "$wxUSE_VARIANT" = "yes"; then
47449 cat >>confdefs.h <<\_ACEOF
47450 #define wxUSE_VARIANT 1
47455 if test "$wxUSE_FS_INET" = "yes"; then
47456 cat >>confdefs.h <<\_ACEOF
47457 #define wxUSE_FS_INET 1
47463 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47466 if test "$TOOLKIT" = "MSW"; then
47469 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47470 if test "$USE_DARWIN" = 1; then
47471 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47472 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47474 ac_cpp='$CXXCPP $CPPFLAGS'
47475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47479 cat >conftest.$ac_ext <<_ACEOF
47482 cat confdefs.h >>conftest.$ac_ext
47483 cat >>conftest.$ac_ext <<_ACEOF
47484 /* end confdefs.h. */
47485 #include <IOKit/hid/IOHIDLib.h>
47489 IOHIDQueueInterface *qi = NULL;
47490 IOHIDCallbackFunction cb = NULL;
47491 qi->setEventCallout(NULL, cb, NULL, NULL);
47496 rm -f conftest.$ac_objext
47497 if { (ac_try="$ac_compile"
47498 case "(($ac_try" in
47499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47500 *) ac_try_echo=$ac_try;;
47502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47503 (eval "$ac_compile") 2>conftest.er1
47505 grep -v '^ *+' conftest.er1 >conftest.err
47507 cat conftest.err >&5
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); } && {
47510 test -z "$ac_cxx_werror_flag" ||
47511 test ! -s conftest.err
47512 } && test -s conftest.$ac_objext; then
47516 echo "$as_me: failed program was:" >&5
47517 sed 's/^/| /' conftest.$ac_ext >&5
47522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47524 ac_cpp='$CPP $CPPFLAGS'
47525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47529 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47530 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47534 if test "$wxUSE_MGL" != "1"; then
47536 for ac_header in linux/joystick.h
47538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47542 echo $ECHO_N "(cached) $ECHO_C" >&6
47544 cat >conftest.$ac_ext <<_ACEOF
47547 cat confdefs.h >>conftest.$ac_ext
47548 cat >>conftest.$ac_ext <<_ACEOF
47549 /* end confdefs.h. */
47550 $ac_includes_default
47552 #include <$ac_header>
47554 rm -f conftest.$ac_objext
47555 if { (ac_try="$ac_compile"
47556 case "(($ac_try" in
47557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47558 *) ac_try_echo=$ac_try;;
47560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47561 (eval "$ac_compile") 2>conftest.er1
47563 grep -v '^ *+' conftest.er1 >conftest.err
47565 cat conftest.err >&5
47566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47567 (exit $ac_status); } && {
47568 test -z "$ac_c_werror_flag" ||
47569 test ! -s conftest.err
47570 } && test -s conftest.$ac_objext; then
47571 eval "$as_ac_Header=yes"
47573 echo "$as_me: failed program was:" >&5
47574 sed 's/^/| /' conftest.$ac_ext >&5
47576 eval "$as_ac_Header=no"
47579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47581 ac_res=`eval echo '${'$as_ac_Header'}'`
47582 { echo "$as_me:$LINENO: result: $ac_res" >&5
47583 echo "${ECHO_T}$ac_res" >&6; }
47584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47585 cat >>confdefs.h <<_ACEOF
47586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47596 if test "$wxUSE_JOYSTICK" = "yes"; then
47597 cat >>confdefs.h <<\_ACEOF
47598 #define wxUSE_JOYSTICK 1
47601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47603 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47604 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47610 if test "$wxUSE_FONTENUM" = "yes" ; then
47611 cat >>confdefs.h <<\_ACEOF
47612 #define wxUSE_FONTENUM 1
47617 if test "$wxUSE_FONTMAP" = "yes" ; then
47618 cat >>confdefs.h <<\_ACEOF
47619 #define wxUSE_FONTMAP 1
47624 if test "$wxUSE_UNICODE" = "yes" ; then
47625 cat >>confdefs.h <<\_ACEOF
47626 #define wxUSE_UNICODE 1
47630 if test "$USE_WIN32" != 1; then
47631 wxUSE_UNICODE_MSLU=no
47634 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47635 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47636 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47637 if test "${ac_cv_lib_unicows_main+set}" = set; then
47638 echo $ECHO_N "(cached) $ECHO_C" >&6
47640 ac_check_lib_save_LIBS=$LIBS
47641 LIBS="-lunicows $LIBS"
47642 cat >conftest.$ac_ext <<_ACEOF
47645 cat confdefs.h >>conftest.$ac_ext
47646 cat >>conftest.$ac_ext <<_ACEOF
47647 /* end confdefs.h. */
47658 rm -f conftest.$ac_objext conftest$ac_exeext
47659 if { (ac_try="$ac_link"
47660 case "(($ac_try" in
47661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47662 *) ac_try_echo=$ac_try;;
47664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47665 (eval "$ac_link") 2>conftest.er1
47667 grep -v '^ *+' conftest.er1 >conftest.err
47669 cat conftest.err >&5
47670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47671 (exit $ac_status); } && {
47672 test -z "$ac_c_werror_flag" ||
47673 test ! -s conftest.err
47674 } && test -s conftest$ac_exeext &&
47675 $as_test_x conftest$ac_exeext; then
47676 ac_cv_lib_unicows_main=yes
47678 echo "$as_me: failed program was:" >&5
47679 sed 's/^/| /' conftest.$ac_ext >&5
47681 ac_cv_lib_unicows_main=no
47684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47685 conftest$ac_exeext conftest.$ac_ext
47686 LIBS=$ac_check_lib_save_LIBS
47688 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47689 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47690 if test $ac_cv_lib_unicows_main = yes; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_UNICODE_MSLU 1
47699 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47700 Applications will only run on Windows NT/2000/XP!" >&5
47701 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47702 Applications will only run on Windows NT/2000/XP!" >&2;}
47703 wxUSE_UNICODE_MSLU=no
47710 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47711 cat >>confdefs.h <<\_ACEOF
47712 #define wxUSE_UNICODE_UTF8 1
47716 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_UTF8_LOCALE_ONLY 1
47724 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_EXPERIMENTAL_PRINTF 1
47732 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_CONSTRAINTS 1
47737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47740 if test "$wxUSE_MDI" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_MDI 1
47746 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_MDI_ARCHITECTURE 1
47751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47755 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47756 cat >>confdefs.h <<\_ACEOF
47757 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47761 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47766 if test "$wxUSE_HELP" = "yes"; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_HELP 1
47771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47773 if test "$wxUSE_MSW" = 1; then
47774 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_MS_HTML_HELP 1
47782 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47783 if test "$wxUSE_HTML" = "yes"; then
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_WXHTML_HELP 1
47789 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47790 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47791 wxUSE_WXHTML_HELP=no
47796 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47797 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47798 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47799 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_PRINTING_ARCHITECTURE 1
47806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47809 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47810 cat >>confdefs.h <<\_ACEOF
47811 #define wxUSE_POSTSCRIPT 1
47816 cat >>confdefs.h <<\_ACEOF
47817 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_NORMALIZED_PS_FONTS 1
47826 if test "$wxUSE_SVG" = "yes"; then
47827 cat >>confdefs.h <<\_ACEOF
47828 #define wxUSE_SVG 1
47834 if test "$wxUSE_METAFILE" = "yes"; then
47835 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47836 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47837 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47843 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47844 -o "$wxUSE_CLIPBOARD" = "yes" \
47845 -o "$wxUSE_OLE" = "yes" \
47846 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47847 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47848 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47849 if test "${ac_cv_header_ole2_h+set}" = set; then
47850 echo $ECHO_N "(cached) $ECHO_C" >&6
47852 cat >conftest.$ac_ext <<_ACEOF
47855 cat confdefs.h >>conftest.$ac_ext
47856 cat >>conftest.$ac_ext <<_ACEOF
47857 /* end confdefs.h. */
47862 rm -f conftest.$ac_objext
47863 if { (ac_try="$ac_compile"
47864 case "(($ac_try" in
47865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47866 *) ac_try_echo=$ac_try;;
47868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47869 (eval "$ac_compile") 2>conftest.er1
47871 grep -v '^ *+' conftest.er1 >conftest.err
47873 cat conftest.err >&5
47874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47875 (exit $ac_status); } && {
47876 test -z "$ac_c_werror_flag" ||
47877 test ! -s conftest.err
47878 } && test -s conftest.$ac_objext; then
47879 ac_cv_header_ole2_h=yes
47881 echo "$as_me: failed program was:" >&5
47882 sed 's/^/| /' conftest.$ac_ext >&5
47884 ac_cv_header_ole2_h=no
47887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47889 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47890 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47894 if test "$ac_cv_header_ole2_h" = "yes" ; then
47895 if test "$GCC" = yes ; then
47896 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47897 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47898 cat >conftest.$ac_ext <<_ACEOF
47901 cat confdefs.h >>conftest.$ac_ext
47902 cat >>conftest.$ac_ext <<_ACEOF
47903 /* end confdefs.h. */
47904 #include <windows.h>
47914 rm -f conftest.$ac_objext
47915 if { (ac_try="$ac_compile"
47916 case "(($ac_try" in
47917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47918 *) ac_try_echo=$ac_try;;
47920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47921 (eval "$ac_compile") 2>conftest.er1
47923 grep -v '^ *+' conftest.er1 >conftest.err
47925 cat conftest.err >&5
47926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47927 (exit $ac_status); } && {
47928 test -z "$ac_c_werror_flag" ||
47929 test ! -s conftest.err
47930 } && test -s conftest.$ac_objext; then
47931 { echo "$as_me:$LINENO: result: no" >&5
47932 echo "${ECHO_T}no" >&6; }
47934 echo "$as_me: failed program was:" >&5
47935 sed 's/^/| /' conftest.$ac_ext >&5
47937 { echo "$as_me:$LINENO: result: yes" >&5
47938 echo "${ECHO_T}yes" >&6; }
47939 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47943 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47944 if test "$wxUSE_OLE" = "yes" ; then
47945 cat >>confdefs.h <<\_ACEOF
47946 #define wxUSE_OLE 1
47949 cat >>confdefs.h <<\_ACEOF
47950 #define wxUSE_OLE_AUTOMATION 1
47953 cat >>confdefs.h <<\_ACEOF
47954 #define wxUSE_ACTIVEX 1
47957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47961 if test "$wxUSE_DATAOBJ" = "yes" ; then
47962 cat >>confdefs.h <<\_ACEOF
47963 #define wxUSE_DATAOBJ 1
47968 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47969 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47972 wxUSE_DRAG_AND_DROP=no
47977 if test "$wxUSE_METAFILE" = "yes"; then
47978 cat >>confdefs.h <<\_ACEOF
47979 #define wxUSE_METAFILE 1
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_ENH_METAFILE 1
47990 if test "$wxUSE_IPC" = "yes"; then
47991 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47992 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47993 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47997 if test "$wxUSE_IPC" = "yes"; then
47998 cat >>confdefs.h <<\_ACEOF
47999 #define wxUSE_IPC 1
48002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48006 if test "$wxUSE_DATAOBJ" = "yes"; then
48007 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48008 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48009 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48012 cat >>confdefs.h <<\_ACEOF
48013 #define wxUSE_DATAOBJ 1
48018 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48019 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48021 wxUSE_DRAG_AND_DROP=no
48024 if test "$wxUSE_CLIPBOARD" = "yes"; then
48025 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48026 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48027 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48031 if test "$wxUSE_CLIPBOARD" = "yes"; then
48032 cat >>confdefs.h <<\_ACEOF
48033 #define wxUSE_CLIPBOARD 1
48039 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48040 if test "$wxUSE_GTK" = 1; then
48041 if test "$WXGTK12" != 1; then
48042 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48043 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48044 wxUSE_DRAG_AND_DROP=no
48048 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48049 "$wxUSE_DFB" = 1; then
48050 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48051 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48052 wxUSE_DRAG_AND_DROP=no
48055 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48056 cat >>confdefs.h <<\_ACEOF
48057 #define wxUSE_DRAG_AND_DROP 1
48064 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
48068 if test "$wxUSE_SPLINES" = "yes" ; then
48069 cat >>confdefs.h <<\_ACEOF
48070 #define wxUSE_SPLINES 1
48075 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_MOUSEWHEEL 1
48084 if test "$wxUSE_CONTROLS" = "yes"; then
48088 if test "$wxUSE_ACCEL" = "yes"; then
48089 cat >>confdefs.h <<\_ACEOF
48090 #define wxUSE_ACCEL 1
48096 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48097 cat >>confdefs.h <<\_ACEOF
48098 #define wxUSE_ANIMATIONCTRL 1
48102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48105 if test "$wxUSE_BUTTON" = "yes"; then
48106 cat >>confdefs.h <<\_ACEOF
48107 #define wxUSE_BUTTON 1
48113 if test "$wxUSE_BMPBUTTON" = "yes"; then
48114 cat >>confdefs.h <<\_ACEOF
48115 #define wxUSE_BMPBUTTON 1
48121 if test "$wxUSE_CALCTRL" = "yes"; then
48122 cat >>confdefs.h <<\_ACEOF
48123 #define wxUSE_CALENDARCTRL 1
48127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48130 if test "$wxUSE_CARET" = "yes"; then
48131 cat >>confdefs.h <<\_ACEOF
48132 #define wxUSE_CARET 1
48136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48139 if test "$wxUSE_COLLPANE" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_COLLPANE 1
48145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48148 if test "$wxUSE_COMBOBOX" = "yes"; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_COMBOBOX 1
48156 if test "$wxUSE_COMBOCTRL" = "yes"; then
48157 cat >>confdefs.h <<\_ACEOF
48158 #define wxUSE_COMBOCTRL 1
48164 if test "$wxUSE_CHOICE" = "yes"; then
48165 cat >>confdefs.h <<\_ACEOF
48166 #define wxUSE_CHOICE 1
48172 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48173 cat >>confdefs.h <<\_ACEOF
48174 #define wxUSE_CHOICEBOOK 1
48180 if test "$wxUSE_CHECKBOX" = "yes"; then
48181 cat >>confdefs.h <<\_ACEOF
48182 #define wxUSE_CHECKBOX 1
48188 if test "$wxUSE_CHECKLST" = "yes"; then
48189 cat >>confdefs.h <<\_ACEOF
48190 #define wxUSE_CHECKLISTBOX 1
48194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
48197 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48198 cat >>confdefs.h <<\_ACEOF
48199 #define wxUSE_COLOURPICKERCTRL 1
48205 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48206 cat >>confdefs.h <<\_ACEOF
48207 #define wxUSE_DATEPICKCTRL 1
48213 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48214 cat >>confdefs.h <<\_ACEOF
48215 #define wxUSE_DIRPICKERCTRL 1
48221 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48222 cat >>confdefs.h <<\_ACEOF
48223 #define wxUSE_FILEPICKERCTRL 1
48229 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48230 cat >>confdefs.h <<\_ACEOF
48231 #define wxUSE_FONTPICKERCTRL 1
48237 if test "$wxUSE_DISPLAY" = "yes"; then
48238 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48239 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48240 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48243 cat >>confdefs.h <<\_ACEOF
48244 #define wxUSE_DISPLAY 1
48247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
48251 if test "$wxUSE_DETECT_SM" = "yes"; then
48252 cat >>confdefs.h <<\_ACEOF
48253 #define wxUSE_DETECT_SM 1
48258 if test "$wxUSE_GAUGE" = "yes"; then
48259 cat >>confdefs.h <<\_ACEOF
48260 #define wxUSE_GAUGE 1
48266 if test "$wxUSE_GRID" = "yes"; then
48267 cat >>confdefs.h <<\_ACEOF
48268 #define wxUSE_GRID 1
48272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48275 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48276 cat >>confdefs.h <<\_ACEOF
48277 #define wxUSE_HYPERLINKCTRL 1
48283 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_BITMAPCOMBOBOX 1
48291 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48292 cat >>confdefs.h <<\_ACEOF
48293 #define wxUSE_DATAVIEWCTRL 1
48297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48300 if test "$wxUSE_IMAGLIST" = "yes"; then
48301 cat >>confdefs.h <<\_ACEOF
48302 #define wxUSE_IMAGLIST 1
48307 if test "$wxUSE_LISTBOOK" = "yes"; then
48308 cat >>confdefs.h <<\_ACEOF
48309 #define wxUSE_LISTBOOK 1
48315 if test "$wxUSE_LISTBOX" = "yes"; then
48316 cat >>confdefs.h <<\_ACEOF
48317 #define wxUSE_LISTBOX 1
48321 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48324 if test "$wxUSE_LISTCTRL" = "yes"; then
48325 if test "$wxUSE_IMAGLIST" = "yes"; then
48326 cat >>confdefs.h <<\_ACEOF
48327 #define wxUSE_LISTCTRL 1
48331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48333 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48334 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48338 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48339 cat >>confdefs.h <<\_ACEOF
48340 #define wxUSE_EDITABLELISTBOX 1
48344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48347 if test "$wxUSE_NOTEBOOK" = "yes"; then
48348 cat >>confdefs.h <<\_ACEOF
48349 #define wxUSE_NOTEBOOK 1
48353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48356 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48357 cat >>confdefs.h <<\_ACEOF
48358 #define wxUSE_ODCOMBOBOX 1
48362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48366 if test "$wxUSE_RADIOBOX" = "yes"; then
48367 cat >>confdefs.h <<\_ACEOF
48368 #define wxUSE_RADIOBOX 1
48374 if test "$wxUSE_RADIOBTN" = "yes"; then
48375 cat >>confdefs.h <<\_ACEOF
48376 #define wxUSE_RADIOBTN 1
48382 if test "$wxUSE_SASH" = "yes"; then
48383 cat >>confdefs.h <<\_ACEOF
48384 #define wxUSE_SASH 1
48387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48390 if test "$wxUSE_SCROLLBAR" = "yes"; then
48391 cat >>confdefs.h <<\_ACEOF
48392 #define wxUSE_SCROLLBAR 1
48396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48399 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_SEARCHCTRL 1
48407 if test "$wxUSE_SLIDER" = "yes"; then
48408 cat >>confdefs.h <<\_ACEOF
48409 #define wxUSE_SLIDER 1
48415 if test "$wxUSE_SPINBTN" = "yes"; then
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_SPINBTN 1
48423 if test "$wxUSE_SPINCTRL" = "yes"; then
48424 cat >>confdefs.h <<\_ACEOF
48425 #define wxUSE_SPINCTRL 1
48431 if test "$wxUSE_SPLITTER" = "yes"; then
48432 cat >>confdefs.h <<\_ACEOF
48433 #define wxUSE_SPLITTER 1
48436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48439 if test "$wxUSE_STATBMP" = "yes"; then
48440 cat >>confdefs.h <<\_ACEOF
48441 #define wxUSE_STATBMP 1
48447 if test "$wxUSE_STATBOX" = "yes"; then
48448 cat >>confdefs.h <<\_ACEOF
48449 #define wxUSE_STATBOX 1
48455 if test "$wxUSE_STATTEXT" = "yes"; then
48456 cat >>confdefs.h <<\_ACEOF
48457 #define wxUSE_STATTEXT 1
48463 if test "$wxUSE_STATLINE" = "yes"; then
48464 cat >>confdefs.h <<\_ACEOF
48465 #define wxUSE_STATLINE 1
48471 if test "$wxUSE_STATUSBAR" = "yes"; then
48472 cat >>confdefs.h <<\_ACEOF
48473 #define wxUSE_NATIVE_STATUSBAR 1
48476 cat >>confdefs.h <<\_ACEOF
48477 #define wxUSE_STATUSBAR 1
48482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48485 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48486 cat >>confdefs.h <<\_ACEOF
48487 #define wxUSE_TAB_DIALOG 1
48492 if test "$wxUSE_TEXTCTRL" = "yes"; then
48493 cat >>confdefs.h <<\_ACEOF
48494 #define wxUSE_TEXTCTRL 1
48498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48501 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48502 if test "$wxUSE_COCOA" = 1 ; then
48503 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48504 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48508 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48509 cat >>confdefs.h <<\_ACEOF
48510 #define wxUSE_TOGGLEBTN 1
48517 if test "$wxUSE_TOOLBAR" = "yes"; then
48518 cat >>confdefs.h <<\_ACEOF
48519 #define wxUSE_TOOLBAR 1
48524 if test "$wxUSE_UNIVERSAL" = "yes"; then
48525 wxUSE_TOOLBAR_NATIVE="no"
48527 wxUSE_TOOLBAR_NATIVE="yes"
48528 cat >>confdefs.h <<\_ACEOF
48529 #define wxUSE_TOOLBAR_NATIVE 1
48534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48537 if test "$wxUSE_TOOLTIPS" = "yes"; then
48538 if test "$wxUSE_MOTIF" = 1; then
48539 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48540 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48542 if test "$wxUSE_UNIVERSAL" = "yes"; then
48543 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48544 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48546 cat >>confdefs.h <<\_ACEOF
48547 #define wxUSE_TOOLTIPS 1
48554 if test "$wxUSE_TREEBOOK" = "yes"; then
48555 cat >>confdefs.h <<\_ACEOF
48556 #define wxUSE_TREEBOOK 1
48562 if test "$wxUSE_TOOLBOOK" = "yes"; then
48563 cat >>confdefs.h <<\_ACEOF
48564 #define wxUSE_TOOLBOOK 1
48570 if test "$wxUSE_TREECTRL" = "yes"; then
48571 if test "$wxUSE_IMAGLIST" = "yes"; then
48572 cat >>confdefs.h <<\_ACEOF
48573 #define wxUSE_TREECTRL 1
48577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48579 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48580 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48584 if test "$wxUSE_POPUPWIN" = "yes"; then
48585 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48586 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48587 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48589 if test "$wxUSE_PM" = 1; then
48590 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48591 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48593 cat >>confdefs.h <<\_ACEOF
48594 #define wxUSE_POPUPWIN 1
48597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48604 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48605 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48606 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48607 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48609 cat >>confdefs.h <<\_ACEOF
48610 #define wxUSE_DIALUP_MANAGER 1
48613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48617 if test "$wxUSE_TIPWINDOW" = "yes"; then
48618 if test "$wxUSE_PM" = 1; then
48619 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48620 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48622 cat >>confdefs.h <<\_ACEOF
48623 #define wxUSE_TIPWINDOW 1
48629 if test "$USES_CONTROLS" = 1; then
48630 cat >>confdefs.h <<\_ACEOF
48631 #define wxUSE_CONTROLS 1
48637 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48638 cat >>confdefs.h <<\_ACEOF
48639 #define wxUSE_ACCESSIBILITY 1
48642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48645 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48646 cat >>confdefs.h <<\_ACEOF
48647 #define wxUSE_DRAGIMAGE 1
48650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48653 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48654 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48655 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48656 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48658 cat >>confdefs.h <<\_ACEOF
48659 #define wxUSE_EXCEPTIONS 1
48662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48667 if test "$wxUSE_HTML" = "yes"; then
48668 cat >>confdefs.h <<\_ACEOF
48669 #define wxUSE_HTML 1
48673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48674 if test "$wxUSE_MAC" = 1; then
48675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48678 if test "$wxUSE_WEBKIT" = "yes"; then
48679 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48680 old_CPPFLAGS="$CPPFLAGS"
48681 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48682 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48683 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48684 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48685 echo $ECHO_N "(cached) $ECHO_C" >&6
48687 cat >conftest.$ac_ext <<_ACEOF
48690 cat confdefs.h >>conftest.$ac_ext
48691 cat >>conftest.$ac_ext <<_ACEOF
48692 /* end confdefs.h. */
48694 #include <Carbon/Carbon.h>
48695 #include <WebKit/WebKit.h>
48698 #include <WebKit/HIWebView.h>
48700 rm -f conftest.$ac_objext
48701 if { (ac_try="$ac_compile"
48702 case "(($ac_try" in
48703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48704 *) ac_try_echo=$ac_try;;
48706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48707 (eval "$ac_compile") 2>conftest.er1
48709 grep -v '^ *+' conftest.er1 >conftest.err
48711 cat conftest.err >&5
48712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48713 (exit $ac_status); } && {
48714 test -z "$ac_c_werror_flag" ||
48715 test ! -s conftest.err
48716 } && test -s conftest.$ac_objext; then
48717 ac_cv_header_WebKit_HIWebView_h=yes
48719 echo "$as_me: failed program was:" >&5
48720 sed 's/^/| /' conftest.$ac_ext >&5
48722 ac_cv_header_WebKit_HIWebView_h=no
48725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48727 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48728 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48729 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48731 cat >>confdefs.h <<\_ACEOF
48732 #define wxUSE_WEBKIT 1
48735 WEBKIT_LINK="-framework WebKit"
48739 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48740 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48746 CPPFLAGS="$old_CPPFLAGS"
48747 elif test "$wxUSE_COCOA" = 1; then
48748 cat >>confdefs.h <<\_ACEOF
48749 #define wxUSE_WEBKIT 1
48758 if test "$wxUSE_XRC" = "yes"; then
48759 if test "$wxUSE_XML" != "yes"; then
48760 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48761 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48764 cat >>confdefs.h <<\_ACEOF
48765 #define wxUSE_XRC 1
48769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48774 if test "$wxUSE_AUI" = "yes"; then
48775 cat >>confdefs.h <<\_ACEOF
48776 #define wxUSE_AUI 1
48780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48784 if test "$wxUSE_STC" = "yes"; then
48785 cat >>confdefs.h <<\_ACEOF
48786 #define wxUSE_STC 1
48790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48793 if test "$wxUSE_MENUS" = "yes"; then
48794 cat >>confdefs.h <<\_ACEOF
48795 #define wxUSE_MENUS 1
48798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48801 if test "$wxUSE_METAFILE" = "yes"; then
48802 cat >>confdefs.h <<\_ACEOF
48803 #define wxUSE_METAFILE 1
48808 if test "$wxUSE_MIMETYPE" = "yes"; then
48809 cat >>confdefs.h <<\_ACEOF
48810 #define wxUSE_MIMETYPE 1
48815 if test "$wxUSE_MINIFRAME" = "yes"; then
48816 cat >>confdefs.h <<\_ACEOF
48817 #define wxUSE_MINIFRAME 1
48820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48823 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48824 cat >>confdefs.h <<\_ACEOF
48825 #define wxUSE_SYSTEM_OPTIONS 1
48830 if test "$wxUSE_TASKBARICON" = "yes"; then
48831 cat >>confdefs.h <<\_ACEOF
48832 #define wxUSE_TASKBARICON 1
48835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48839 if test "$wxUSE_VALIDATORS" = "yes"; then
48840 cat >>confdefs.h <<\_ACEOF
48841 #define wxUSE_VALIDATORS 1
48844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48847 if test "$wxUSE_PALETTE" = "yes" ; then
48848 if test "$wxUSE_DFB" = 1; then
48849 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48850 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48853 cat >>confdefs.h <<\_ACEOF
48854 #define wxUSE_PALETTE 1
48860 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48861 LIBS=" -lunicows $LIBS"
48865 if test "$wxUSE_RICHTEXT" = "yes"; then
48866 cat >>confdefs.h <<\_ACEOF
48867 #define wxUSE_RICHTEXT 1
48871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48875 if test "$wxUSE_IMAGE" = "yes" ; then
48876 cat >>confdefs.h <<\_ACEOF
48877 #define wxUSE_IMAGE 1
48881 if test "$wxUSE_GIF" = "yes" ; then
48882 cat >>confdefs.h <<\_ACEOF
48883 #define wxUSE_GIF 1
48888 if test "$wxUSE_PCX" = "yes" ; then
48889 cat >>confdefs.h <<\_ACEOF
48890 #define wxUSE_PCX 1
48895 if test "$wxUSE_TGA" = "yes" ; then
48896 cat >>confdefs.h <<\_ACEOF
48897 #define wxUSE_TGA 1
48902 if test "$wxUSE_IFF" = "yes" ; then
48903 cat >>confdefs.h <<\_ACEOF
48904 #define wxUSE_IFF 1
48909 if test "$wxUSE_PNM" = "yes" ; then
48910 cat >>confdefs.h <<\_ACEOF
48911 #define wxUSE_PNM 1
48916 if test "$wxUSE_XPM" = "yes" ; then
48917 cat >>confdefs.h <<\_ACEOF
48918 #define wxUSE_XPM 1
48923 if test "$wxUSE_ICO_CUR" = "yes" ; then
48924 cat >>confdefs.h <<\_ACEOF
48925 #define wxUSE_ICO_CUR 1
48932 if test "$wxUSE_ABOUTDLG" = "yes"; then
48933 cat >>confdefs.h <<\_ACEOF
48934 #define wxUSE_ABOUTDLG 1
48939 if test "$wxUSE_CHOICEDLG" = "yes"; then
48940 cat >>confdefs.h <<\_ACEOF
48941 #define wxUSE_CHOICEDLG 1
48946 if test "$wxUSE_COLOURDLG" = "yes"; then
48947 cat >>confdefs.h <<\_ACEOF
48948 #define wxUSE_COLOURDLG 1
48953 if test "$wxUSE_FILEDLG" = "yes"; then
48954 cat >>confdefs.h <<\_ACEOF
48955 #define wxUSE_FILEDLG 1
48960 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48961 cat >>confdefs.h <<\_ACEOF
48962 #define wxUSE_FINDREPLDLG 1
48967 if test "$wxUSE_FONTDLG" = "yes"; then
48968 cat >>confdefs.h <<\_ACEOF
48969 #define wxUSE_FONTDLG 1
48974 if test "$wxUSE_DIRDLG" = "yes"; then
48975 if test "$wxUSE_TREECTRL" != "yes"; then
48976 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48977 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48979 cat >>confdefs.h <<\_ACEOF
48980 #define wxUSE_DIRDLG 1
48986 if test "$wxUSE_MSGDLG" = "yes"; then
48987 cat >>confdefs.h <<\_ACEOF
48988 #define wxUSE_MSGDLG 1
48993 if test "$wxUSE_NUMBERDLG" = "yes"; then
48994 cat >>confdefs.h <<\_ACEOF
48995 #define wxUSE_NUMBERDLG 1
49000 if test "$wxUSE_PROGRESSDLG" = "yes"; then
49001 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49002 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49003 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49005 cat >>confdefs.h <<\_ACEOF
49006 #define wxUSE_PROGRESSDLG 1
49012 if test "$wxUSE_SPLASH" = "yes"; then
49013 cat >>confdefs.h <<\_ACEOF
49014 #define wxUSE_SPLASH 1
49017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
49020 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49021 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49022 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49023 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49025 cat >>confdefs.h <<\_ACEOF
49026 #define wxUSE_STARTUP_TIPS 1
49032 if test "$wxUSE_TEXTDLG" = "yes"; then
49033 cat >>confdefs.h <<\_ACEOF
49034 #define wxUSE_TEXTDLG 1
49039 if test "$wxUSE_WIZARDDLG" = "yes"; then
49040 cat >>confdefs.h <<\_ACEOF
49041 #define wxUSE_WIZARDDLG 1
49044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
49048 if test "$wxUSE_MSW" = 1 ; then
49050 if test "$wxUSE_DC_CACHEING" = "yes"; then
49051 cat >>confdefs.h <<\_ACEOF
49052 #define wxUSE_DC_CACHEING 1
49057 if test "$wxUSE_DIB" = "yes"; then
49058 cat >>confdefs.h <<\_ACEOF
49059 #define wxUSE_WXDIB 1
49064 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49065 cat >>confdefs.h <<\_ACEOF
49066 #define wxUSE_OWNER_DRAWN 1
49071 if test "$wxUSE_REGKEY" = "yes"; then
49072 cat >>confdefs.h <<\_ACEOF
49073 #define wxUSE_REGKEY 1
49078 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49079 cat >>confdefs.h <<\_ACEOF
49080 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49085 if test "$wxUSE_UXTHEME" = "yes"; then
49086 cat >>confdefs.h <<\_ACEOF
49087 #define wxUSE_UXTHEME 1
49095 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49096 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49097 cat >>confdefs.h <<\_ACEOF
49098 #define wxUSE_GRAPHICS_CONTEXT 1
49101 elif test "$wxUSE_GTK" != 1; then
49102 cat >>confdefs.h <<\_ACEOF
49103 #define wxUSE_GRAPHICS_CONTEXT 1
49109 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49110 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49112 if test -n "$PKG_CONFIG"; then
49113 if test -n "$CAIRO_CFLAGS"; then
49114 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49116 if test -n "$PKG_CONFIG" && \
49117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49118 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49121 (exit $ac_status); }; then
49122 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49130 if test -n "$PKG_CONFIG"; then
49131 if test -n "$CAIRO_LIBS"; then
49132 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49134 if test -n "$PKG_CONFIG" && \
49135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49136 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49139 (exit $ac_status); }; then
49140 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49151 if test $pkg_failed = yes; then
49153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49154 _pkg_short_errors_supported=yes
49156 _pkg_short_errors_supported=no
49158 if test $_pkg_short_errors_supported = yes; then
49159 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49161 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49163 # Put the nasty error message in config.log where it belongs
49164 echo "$CAIRO_PKG_ERRORS" >&5
49166 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49167 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49169 elif test $pkg_failed = untried; then
49170 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49171 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49174 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49175 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49176 { echo "$as_me:$LINENO: result: yes" >&5
49177 echo "${ECHO_T}yes" >&6; }
49178 cat >>confdefs.h <<\_ACEOF
49179 #define wxUSE_GRAPHICS_CONTEXT 1
49189 if test "$wxUSE_MEDIACTRL" = "yes"; then
49192 if test "$wxUSE_GTK" = 1; then
49193 wxUSE_GSTREAMER="no"
49195 GST_VERSION_MAJOR=0
49196 GST_VERSION_MINOR=10
49197 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49199 if test "$wxUSE_GSTREAMER8" = "no"; then
49202 { echo "$as_me:$LINENO: checking for GST" >&5
49203 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49205 if test -n "$PKG_CONFIG"; then
49206 if test -n "$GST_CFLAGS"; then
49207 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49209 if test -n "$PKG_CONFIG" && \
49210 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49211 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49214 (exit $ac_status); }; then
49215 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49223 if test -n "$PKG_CONFIG"; then
49224 if test -n "$GST_LIBS"; then
49225 pkg_cv_GST_LIBS="$GST_LIBS"
49227 if test -n "$PKG_CONFIG" && \
49228 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49229 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49232 (exit $ac_status); }; then
49233 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49244 if test $pkg_failed = yes; then
49246 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49247 _pkg_short_errors_supported=yes
49249 _pkg_short_errors_supported=no
49251 if test $_pkg_short_errors_supported = yes; then
49252 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49254 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49256 # Put the nasty error message in config.log where it belongs
49257 echo "$GST_PKG_ERRORS" >&5
49260 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49261 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49262 GST_VERSION_MINOR=8
49265 elif test $pkg_failed = untried; then
49267 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49268 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49269 GST_VERSION_MINOR=8
49273 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49274 GST_LIBS=$pkg_cv_GST_LIBS
49275 { echo "$as_me:$LINENO: result: yes" >&5
49276 echo "${ECHO_T}yes" >&6; }
49278 wxUSE_GSTREAMER="yes"
49279 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49283 GST_VERSION_MINOR=8
49286 if test $GST_VERSION_MINOR = "8"; then
49287 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49290 { echo "$as_me:$LINENO: checking for GST" >&5
49291 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49293 if test -n "$PKG_CONFIG"; then
49294 if test -n "$GST_CFLAGS"; then
49295 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49297 if test -n "$PKG_CONFIG" && \
49298 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49299 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49302 (exit $ac_status); }; then
49303 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49311 if test -n "$PKG_CONFIG"; then
49312 if test -n "$GST_LIBS"; then
49313 pkg_cv_GST_LIBS="$GST_LIBS"
49315 if test -n "$PKG_CONFIG" && \
49316 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49317 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49320 (exit $ac_status); }; then
49321 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49332 if test $pkg_failed = yes; then
49334 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49335 _pkg_short_errors_supported=yes
49337 _pkg_short_errors_supported=no
49339 if test $_pkg_short_errors_supported = yes; then
49340 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49342 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49344 # Put the nasty error message in config.log where it belongs
49345 echo "$GST_PKG_ERRORS" >&5
49348 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49349 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49351 elif test $pkg_failed = untried; then
49353 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49354 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49357 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49358 GST_LIBS=$pkg_cv_GST_LIBS
49359 { echo "$as_me:$LINENO: result: yes" >&5
49360 echo "${ECHO_T}yes" >&6; }
49361 wxUSE_GSTREAMER="yes"
49366 if test "$wxUSE_GSTREAMER" = "yes"; then
49367 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49368 LIBS="$GST_LIBS $LIBS"
49370 cat >>confdefs.h <<\_ACEOF
49371 #define wxUSE_GSTREAMER 1
49379 if test $USE_MEDIA = 1; then
49380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49381 cat >>confdefs.h <<\_ACEOF
49382 #define wxUSE_MEDIACTRL 1
49389 if test "$cross_compiling" = "yes"; then
49392 OSINFO=`uname -s -r -m`
49393 OSINFO="\"$OSINFO\""
49396 cat >>confdefs.h <<_ACEOF
49397 #define WXWIN_OS_DESCRIPTION $OSINFO
49402 if test "x$prefix" != "xNONE"; then
49405 wxPREFIX=$ac_default_prefix
49408 cat >>confdefs.h <<_ACEOF
49409 #define wxINSTALL_PREFIX "$wxPREFIX"
49415 STD_BASE_LIBS="base"
49417 BUILT_WX_LIBS="base"
49418 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49420 if test "$wxUSE_SOCKETS" = "yes" ; then
49421 STD_BASE_LIBS="net $STD_BASE_LIBS"
49422 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49424 if test "$wxUSE_ODBC" != "no" ; then
49425 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49427 if test "$wxUSE_XML" = "yes" ; then
49428 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49429 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49432 if test "$wxUSE_GUI" = "yes"; then
49433 STD_GUI_LIBS="adv core"
49434 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49436 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49437 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49438 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49440 if test "$wxUSE_ODBC" != "no" ; then
49441 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49443 if test "$wxUSE_HTML" = "yes" ; then
49444 STD_GUI_LIBS="html $STD_GUI_LIBS"
49445 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49447 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49448 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49450 if test "$wxUSE_OPENGL" = "yes" ; then
49451 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49453 if test "$wxUSE_AUI" = "yes" ; then
49454 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49456 if test "$wxUSE_STC" = "yes" ; then
49457 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49459 if test "$wxUSE_XRC" = "yes" ; then
49460 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49461 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49472 if test "$wxUSE_MAC" = 1 ; then
49473 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49474 if test "$USE_DARWIN" = 1; then
49475 LDFLAGS="$LDFLAGS -framework QuickTime"
49477 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49480 if test "$USE_DARWIN" = 1; then
49481 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49483 LDFLAGS="$LDFLAGS -lCarbonLib"
49486 if test "$wxUSE_COCOA" = 1 ; then
49487 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49488 if test "$wxUSE_MEDIACTRL" = "yes"; then
49489 LDFLAGS="$LDFLAGS -framework QuickTime"
49492 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49493 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49496 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49498 if test "$wxUSE_GUI" = "yes"; then
49501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49502 dynamic erase event exec font image minimal mobile \
49503 mobile/wxedit mobile/styles propsize render \
49504 rotate shaped svg taborder vscroll widgets"
49506 if test "$wxUSE_MONOLITHIC" != "yes"; then
49507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49509 if test "$TOOLKIT" = "MSW"; then
49510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49511 if test "$wxUSE_UNIVERSAL" != "yes"; then
49512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49515 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49519 SAMPLES_SUBDIRS="console"
49523 if test "x$INTELCC" = "xyes" ; then
49524 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49525 elif test "$GCC" = yes ; then
49526 CWARNINGS="-Wall -Wundef"
49529 if test "x$INTELCXX" = "xyes" ; then
49530 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49531 elif test "$GXX" = yes ; then
49532 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49536 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49537 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49540 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49541 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49542 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49545 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49546 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49547 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49549 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49552 if test "x$MWCC" = "xyes"; then
49554 CC="$CC -cwd source -I-"
49555 CXX="$CXX -cwd source -I-"
49560 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49561 EXTRALIBS_XML="$EXPAT_LINK"
49562 EXTRALIBS_HTML="$MSPACK_LINK"
49563 EXTRALIBS_ODBC="$ODBC_LINK"
49564 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49565 if test "$wxUSE_GUI" = "yes"; then
49566 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49568 if test "$wxUSE_OPENGL" = "yes"; then
49569 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49572 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49574 WXCONFIG_LIBS="$LIBS"
49576 if test "$wxUSE_REGEX" = "builtin" ; then
49577 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49579 if test "$wxUSE_EXPAT" = "builtin" ; then
49580 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49582 if test "$wxUSE_ODBC" = "builtin" ; then
49583 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49585 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49586 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49588 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49589 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49591 if test "$wxUSE_LIBPNG" = "builtin" ; then
49592 wxconfig_3rdparty="png $wxconfig_3rdparty"
49594 if test "$wxUSE_ZLIB" = "builtin" ; then
49595 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49598 for i in $wxconfig_3rdparty ; do
49599 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49603 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49606 case "$wxUNIV_THEMES" in
49608 cat >>confdefs.h <<\_ACEOF
49609 #define wxUSE_ALL_THEMES 1
49615 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49616 cat >>confdefs.h <<_ACEOF
49617 #define wxUSE_THEME_$t 1
49634 if test $wxUSE_MONOLITHIC = "yes" ; then
49640 if test $wxUSE_PLUGINS = "yes" ; then
49646 if test $wxUSE_ODBC != "no" ; then
49652 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49658 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49689 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49700 TOOLKIT_DESC="GTK+"
49701 if test "$WXGTK20" = 1; then
49702 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49703 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49704 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49706 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49707 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49709 if test "$wxUSE_LIBHILDON" = "yes"; then
49710 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49713 if test "$TOOLKIT_EXTRA" != ""; then
49714 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49720 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49724 TOOLKIT_DESC="base only"
49728 if test "$wxUSE_WINE" = "yes"; then
49729 BAKEFILE_FORCE_PLATFORM=win32
49732 if test "$wxUSE_MAC" = 1 ; then
49733 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49734 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49735 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49737 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49739 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49740 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49741 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49742 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49745 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49746 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49749 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49751 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49752 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49753 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49754 echo $ECHO_N "(cached) $ECHO_C" >&6
49757 echo '#include <stdio.h>
49758 const wchar_t test_var[] = L"awidetest";' > conftest.h
49760 echo '#include "conftest.h"
49763 printf("%ls", test_var);
49767 wx_cv_gcc_pch_bug="pch not supported"
49769 if $CXX conftest.h >/dev/null 2>&1
49773 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49775 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49776 grep awidetest >/dev/null
49778 wx_cv_gcc_pch_bug=no
49780 wx_cv_gcc_pch_bug=yes
49785 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49788 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49789 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49791 if test "$wx_cv_gcc_pch_bug" = yes; then
49799 if test "x$BAKEFILE_HOST" = "x"; then
49800 if test "x${host}" = "x" ; then
49801 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49802 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49803 { (exit 1); exit 1; }; }
49806 BAKEFILE_HOST="${host}"
49809 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49811 if test -n "$ac_tool_prefix"; then
49812 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49813 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49816 if test "${ac_cv_prog_RANLIB+set}" = set; then
49817 echo $ECHO_N "(cached) $ECHO_C" >&6
49819 if test -n "$RANLIB"; then
49820 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49823 for as_dir in $PATH
49826 test -z "$as_dir" && as_dir=.
49827 for ac_exec_ext in '' $ac_executable_extensions; do
49828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49829 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49839 RANLIB=$ac_cv_prog_RANLIB
49840 if test -n "$RANLIB"; then
49841 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49842 echo "${ECHO_T}$RANLIB" >&6; }
49844 { echo "$as_me:$LINENO: result: no" >&5
49845 echo "${ECHO_T}no" >&6; }
49850 if test -z "$ac_cv_prog_RANLIB"; then
49851 ac_ct_RANLIB=$RANLIB
49852 # Extract the first word of "ranlib", so it can be a program name with args.
49853 set dummy ranlib; ac_word=$2
49854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49856 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49857 echo $ECHO_N "(cached) $ECHO_C" >&6
49859 if test -n "$ac_ct_RANLIB"; then
49860 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49863 for as_dir in $PATH
49866 test -z "$as_dir" && as_dir=.
49867 for ac_exec_ext in '' $ac_executable_extensions; do
49868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49869 ac_cv_prog_ac_ct_RANLIB="ranlib"
49870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49879 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49880 if test -n "$ac_ct_RANLIB"; then
49881 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49882 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49884 { echo "$as_me:$LINENO: result: no" >&5
49885 echo "${ECHO_T}no" >&6; }
49888 if test "x$ac_ct_RANLIB" = x; then
49891 case $cross_compiling:$ac_tool_warned in
49893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49894 whose name does not start with the host triplet. If you think this
49895 configuration is useful to you, please write to autoconf@gnu.org." >&5
49896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49897 whose name does not start with the host triplet. If you think this
49898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49899 ac_tool_warned=yes ;;
49901 RANLIB=$ac_ct_RANLIB
49904 RANLIB="$ac_cv_prog_RANLIB"
49907 # Find a good install program. We prefer a C program (faster),
49908 # so one script is as good as another. But avoid the broken or
49909 # incompatible versions:
49910 # SysV /etc/install, /usr/sbin/install
49911 # SunOS /usr/etc/install
49912 # IRIX /sbin/install
49914 # AmigaOS /C/install, which installs bootblocks on floppy discs
49915 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49916 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49917 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49918 # OS/2's system install, which has a completely different semantic
49919 # ./install, which can be erroneously created by make from ./install.sh.
49920 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49921 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49922 if test -z "$INSTALL"; then
49923 if test "${ac_cv_path_install+set}" = set; then
49924 echo $ECHO_N "(cached) $ECHO_C" >&6
49926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49927 for as_dir in $PATH
49930 test -z "$as_dir" && as_dir=.
49931 # Account for people who put trailing slashes in PATH elements.
49933 ./ | .// | /cC/* | \
49934 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49935 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49938 # OSF1 and SCO ODT 3.0 have their own names for install.
49939 # Don't use installbsd from OSF since it installs stuff as root
49941 for ac_prog in ginstall scoinst install; do
49942 for ac_exec_ext in '' $ac_executable_extensions; do
49943 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49944 if test $ac_prog = install &&
49945 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49946 # AIX install. It has an incompatible calling convention.
49948 elif test $ac_prog = install &&
49949 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49950 # program-specific install script used by HP pwplus--don't use.
49953 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49966 if test "${ac_cv_path_install+set}" = set; then
49967 INSTALL=$ac_cv_path_install
49969 # As a last resort, use the slow shell script. Don't cache a
49970 # value for INSTALL within a source directory, because that will
49971 # break other packages using the cache if that directory is
49972 # removed, or if the value is a relative name.
49973 INSTALL=$ac_install_sh
49976 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49977 echo "${ECHO_T}$INSTALL" >&6; }
49979 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49980 # It thinks the first close brace ends the variable substitution.
49981 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49983 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49985 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49987 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49988 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49990 if test "$LN_S" = "ln -s"; then
49991 { echo "$as_me:$LINENO: result: yes" >&5
49992 echo "${ECHO_T}yes" >&6; }
49994 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49995 echo "${ECHO_T}no, using $LN_S" >&6; }
49999 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50000 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50001 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50002 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50003 echo $ECHO_N "(cached) $ECHO_C" >&6
50005 cat >conftest.make <<\_ACEOF
50008 @echo '@@@%%%=$(MAKE)=@@@%%%'
50010 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50011 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50012 *@@@%%%=?*=@@@%%%*)
50013 eval ac_cv_prog_make_${ac_make}_set=yes;;
50015 eval ac_cv_prog_make_${ac_make}_set=no;;
50017 rm -f conftest.make
50019 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50020 { echo "$as_me:$LINENO: result: yes" >&5
50021 echo "${ECHO_T}yes" >&6; }
50024 { echo "$as_me:$LINENO: result: no" >&5
50025 echo "${ECHO_T}no" >&6; }
50026 SET_MAKE="MAKE=${MAKE-make}"
50031 if test "x$SUNCXX" = "xyes"; then
50033 AROPTIONS="-xar -o"
50035 elif test "x$SGICC" = "xyes"; then
50040 if test -n "$ac_tool_prefix"; then
50041 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50042 set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then
50046 echo $ECHO_N "(cached) $ECHO_C" >&6
50048 if test -n "$AR"; then
50049 ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar"
50059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50069 if test -n "$AR"; then
50070 { echo "$as_me:$LINENO: result: $AR" >&5
50071 echo "${ECHO_T}$AR" >&6; }
50073 { echo "$as_me:$LINENO: result: no" >&5
50074 echo "${ECHO_T}no" >&6; }
50079 if test -z "$ac_cv_prog_AR"; then
50081 # Extract the first word of "ar", so it can be a program name with args.
50082 set dummy ar; 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_AR+set}" = set; then
50086 echo $ECHO_N "(cached) $ECHO_C" >&6
50088 if test -n "$ac_ct_AR"; then
50089 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar"
50099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50108 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50109 if test -n "$ac_ct_AR"; then
50110 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50111 echo "${ECHO_T}$ac_ct_AR" >&6; }
50113 { echo "$as_me:$LINENO: result: no" >&5
50114 echo "${ECHO_T}no" >&6; }
50117 if test "x$ac_ct_AR" = 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 AR="$ac_cv_prog_AR"
50140 if test -n "$ac_tool_prefix"; then
50141 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50142 set dummy ${ac_tool_prefix}strip; ac_word=$2
50143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50145 if test "${ac_cv_prog_STRIP+set}" = set; then
50146 echo $ECHO_N "(cached) $ECHO_C" >&6
50148 if test -n "$STRIP"; then
50149 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50152 for as_dir in $PATH
50155 test -z "$as_dir" && as_dir=.
50156 for ac_exec_ext in '' $ac_executable_extensions; do
50157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50158 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50168 STRIP=$ac_cv_prog_STRIP
50169 if test -n "$STRIP"; then
50170 { echo "$as_me:$LINENO: result: $STRIP" >&5
50171 echo "${ECHO_T}$STRIP" >&6; }
50173 { echo "$as_me:$LINENO: result: no" >&5
50174 echo "${ECHO_T}no" >&6; }
50179 if test -z "$ac_cv_prog_STRIP"; then
50181 # Extract the first word of "strip", so it can be a program name with args.
50182 set dummy strip; ac_word=$2
50183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50185 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50186 echo $ECHO_N "(cached) $ECHO_C" >&6
50188 if test -n "$ac_ct_STRIP"; then
50189 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50192 for as_dir in $PATH
50195 test -z "$as_dir" && as_dir=.
50196 for ac_exec_ext in '' $ac_executable_extensions; do
50197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50198 ac_cv_prog_ac_ct_STRIP="strip"
50199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50208 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50209 if test -n "$ac_ct_STRIP"; then
50210 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50211 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50213 { echo "$as_me:$LINENO: result: no" >&5
50214 echo "${ECHO_T}no" >&6; }
50217 if test "x$ac_ct_STRIP" = x; then
50220 case $cross_compiling:$ac_tool_warned in
50222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50223 whose name does not start with the host triplet. If you think this
50224 configuration is useful to you, please write to autoconf@gnu.org." >&5
50225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50226 whose name does not start with the host triplet. If you think this
50227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50228 ac_tool_warned=yes ;;
50233 STRIP="$ac_cv_prog_STRIP"
50236 if test -n "$ac_tool_prefix"; then
50237 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50238 set dummy ${ac_tool_prefix}nm; ac_word=$2
50239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50241 if test "${ac_cv_prog_NM+set}" = set; then
50242 echo $ECHO_N "(cached) $ECHO_C" >&6
50244 if test -n "$NM"; then
50245 ac_cv_prog_NM="$NM" # Let the user override the test.
50247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50248 for as_dir in $PATH
50251 test -z "$as_dir" && as_dir=.
50252 for ac_exec_ext in '' $ac_executable_extensions; do
50253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50254 ac_cv_prog_NM="${ac_tool_prefix}nm"
50255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50265 if test -n "$NM"; then
50266 { echo "$as_me:$LINENO: result: $NM" >&5
50267 echo "${ECHO_T}$NM" >&6; }
50269 { echo "$as_me:$LINENO: result: no" >&5
50270 echo "${ECHO_T}no" >&6; }
50275 if test -z "$ac_cv_prog_NM"; then
50277 # Extract the first word of "nm", so it can be a program name with args.
50278 set dummy nm; ac_word=$2
50279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50281 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50282 echo $ECHO_N "(cached) $ECHO_C" >&6
50284 if test -n "$ac_ct_NM"; then
50285 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50288 for as_dir in $PATH
50291 test -z "$as_dir" && as_dir=.
50292 for ac_exec_ext in '' $ac_executable_extensions; do
50293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50294 ac_cv_prog_ac_ct_NM="nm"
50295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50304 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50305 if test -n "$ac_ct_NM"; then
50306 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50307 echo "${ECHO_T}$ac_ct_NM" >&6; }
50309 { echo "$as_me:$LINENO: result: no" >&5
50310 echo "${ECHO_T}no" >&6; }
50313 if test "x$ac_ct_NM" = x; then
50316 case $cross_compiling:$ac_tool_warned in
50318 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50319 whose name does not start with the host triplet. If you think this
50320 configuration is useful to you, please write to autoconf@gnu.org." >&5
50321 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50322 whose name does not start with the host triplet. If you think this
50323 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50324 ac_tool_warned=yes ;;
50329 NM="$ac_cv_prog_NM"
50333 case ${BAKEFILE_HOST} in
50335 INSTALL_DIR="mkdir -p"
50338 INSTALL_DIR='$(INSTALL) -d'
50344 case ${BAKEFILE_HOST} in
50345 *-*-cygwin* | *-*-mingw32* )
50346 LDFLAGS_GUI="-mwindows"
50352 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50353 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50354 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50355 echo $ECHO_N "(cached) $ECHO_C" >&6
50358 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50359 egrep -s GNU > /dev/null); then
50360 bakefile_cv_prog_makeisgnu="yes"
50362 bakefile_cv_prog_makeisgnu="no"
50366 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50367 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50369 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50386 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50387 case "${BAKEFILE_HOST}" in
50394 *-pc-os2_emx | *-pc-os2-emx )
50404 powerpc-apple-macos* )
50413 case "$BAKEFILE_FORCE_PLATFORM" in
50448 # Check whether --enable-omf was given.
50449 if test "${enable_omf+set}" = set; then
50450 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50454 case "${BAKEFILE_HOST}" in
50456 if test "x$GCC" = "xyes"; then
50457 CFLAGS="$CFLAGS -fno-common"
50458 CXXFLAGS="$CXXFLAGS -fno-common"
50460 if test "x$XLCC" = "xyes"; then
50461 CFLAGS="$CFLAGS -qnocommon"
50462 CXXFLAGS="$CXXFLAGS -qnocommon"
50466 *-pc-os2_emx | *-pc-os2-emx )
50467 if test "x$bk_os2_use_omf" = "xyes" ; then
50470 LDFLAGS="-Zomf $LDFLAGS"
50471 CFLAGS="-Zomf $CFLAGS"
50472 CXXFLAGS="-Zomf $CXXFLAGS"
50480 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50486 SO_SUFFIX_MODULE="so"
50491 DLLPREFIX_MODULE=""
50495 case "${BAKEFILE_HOST}" in
50498 SO_SUFFIX_MODULE="sl"
50502 SO_SUFFIX_MODULE="a"
50506 SO_SUFFIX_MODULE="dll"
50507 DLLIMP_SUFFIX="dll.a"
50514 SO_SUFFIX_MODULE="dll"
50515 DLLIMP_SUFFIX="dll.a"
50525 *-pc-os2_emx | *-pc-os2-emx )
50527 SO_SUFFIX_MODULE="dll"
50528 DLLIMP_SUFFIX=$OS2_LIBEXT
50532 LIBEXT=".$OS2_LIBEXT"
50537 SO_SUFFIX_MODULE="bundle"
50541 if test "x$DLLIMP_SUFFIX" = "x" ; then
50542 DLLIMP_SUFFIX="$SO_SUFFIX"
50557 if test "x$GCC" = "xyes"; then
50561 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50562 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50565 case "${BAKEFILE_HOST}" in
50567 if test "x$GCC" != "xyes"; then
50568 LDFLAGS="$LDFLAGS -L/usr/lib"
50570 SHARED_LD_CC="${CC} -b -o"
50571 SHARED_LD_CXX="${CXX} -b -o"
50577 if test "$INTELCC" = "yes"; then
50579 elif test "x$SUNCXX" = "xyes"; then
50580 SHARED_LD_CC="${CC} -G -o"
50581 SHARED_LD_CXX="${CXX} -G -o"
50587 if test "x$SUNCXX" = xyes ; then
50588 SHARED_LD_CC="${CC} -G -o"
50589 SHARED_LD_CXX="${CXX} -G -o"
50597 cat <<EOF >shared-ld-sh
50599 #-----------------------------------------------------------------------------
50600 #-- Name: distrib/mac/shared-ld-sh
50601 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50602 #-- Author: Gilles Depeyrot
50603 #-- Copyright: (c) 2002 Gilles Depeyrot
50604 #-- Licence: any use permitted
50605 #-----------------------------------------------------------------------------
50610 linking_flag="-dynamiclib"
50611 ldargs="-r -keep_private_externs -nostdlib"
50613 while test ${D}# -gt 0; do
50620 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50621 # collect these options and values
50622 args="${D}{args} ${D}1 ${D}2"
50627 # collect these load args
50628 ldargs="${D}{ldargs} ${D}1"
50631 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50632 # collect these options
50633 args="${D}{args} ${D}1"
50636 -dynamiclib|-bundle)
50637 linking_flag="${D}1"
50641 echo "shared-ld: unhandled option '${D}1'"
50645 *.o | *.a | *.dylib)
50646 # collect object files
50647 objects="${D}{objects} ${D}1"
50651 echo "shared-ld: unhandled argument '${D}1'"
50662 # Link one module containing all the others
50664 if test ${D}{verbose} = 1; then
50665 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50667 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50671 # Link the shared library from the single module created, but only if the
50672 # previous command didn't fail:
50674 if test ${D}{status} = 0; then
50675 if test ${D}{verbose} = 1; then
50676 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50678 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50683 # Remove intermediate module
50685 rm -f master.${D}${D}.o
50690 chmod +x shared-ld-sh
50692 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50693 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50696 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50697 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50698 if test "${bakefile_cv_gcc31+set}" = set; then
50699 echo $ECHO_N "(cached) $ECHO_C" >&6
50702 cat >conftest.$ac_ext <<_ACEOF
50705 cat confdefs.h >>conftest.$ac_ext
50706 cat >>conftest.$ac_ext <<_ACEOF
50707 /* end confdefs.h. */
50713 #if (__GNUC__ < 3) || \
50714 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50722 rm -f conftest.$ac_objext
50723 if { (ac_try="$ac_compile"
50724 case "(($ac_try" in
50725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50726 *) ac_try_echo=$ac_try;;
50728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50729 (eval "$ac_compile") 2>conftest.er1
50731 grep -v '^ *+' conftest.er1 >conftest.err
50733 cat conftest.err >&5
50734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50735 (exit $ac_status); } && {
50736 test -z "$ac_c_werror_flag" ||
50737 test ! -s conftest.err
50738 } && test -s conftest.$ac_objext; then
50740 bakefile_cv_gcc31=yes
50743 echo "$as_me: failed program was:" >&5
50744 sed 's/^/| /' conftest.$ac_ext >&5
50747 bakefile_cv_gcc31=no
50752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50755 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50756 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50757 if test "$bakefile_cv_gcc31" = "no"; then
50758 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50759 SHARED_LD_CXX="$SHARED_LD_CC"
50761 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50762 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50765 if test "x$GCC" == "xyes"; then
50766 PIC_FLAG="-dynamic -fPIC"
50768 if test "x$XLCC" = "xyes"; then
50769 PIC_FLAG="-dynamic -DPIC"
50774 if test "x$GCC" = "xyes"; then
50777 case "${BAKEFILE_HOST}" in
50779 LD_EXPFULL="-Wl,-bexpfull"
50783 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50784 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50786 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50787 set dummy makeC++SharedLib; ac_word=$2
50788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50790 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50791 echo $ECHO_N "(cached) $ECHO_C" >&6
50793 if test -n "$AIX_CXX_LD"; then
50794 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50797 for as_dir in $PATH
50800 test -z "$as_dir" && as_dir=.
50801 for ac_exec_ext in '' $ac_executable_extensions; do
50802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50803 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50811 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50814 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50815 if test -n "$AIX_CXX_LD"; then
50816 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50817 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50819 { echo "$as_me:$LINENO: result: no" >&5
50820 echo "${ECHO_T}no" >&6; }
50824 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50825 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50830 SHARED_LD_CC="${LD} -nostart -o"
50831 SHARED_LD_CXX="${LD} -nostart -o"
50835 if test "x$GCC" != "xyes"; then
50840 *-*-cygwin* | *-*-mingw32* )
50842 SHARED_LD_CC="\$(CC) -shared -o"
50843 SHARED_LD_CXX="\$(CXX) -shared -o"
50847 *-pc-os2_emx | *-pc-os2-emx )
50848 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50849 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50853 cat <<EOF >dllar.sh
50856 # dllar - a tool to build both a .dll and an .a file
50857 # from a set of object (.o) files for EMX/OS2.
50859 # Written by Andrew Zabolotny, bit@freya.etu.ru
50860 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50862 # This script will accept a set of files on the command line.
50863 # All the public symbols from the .o files will be exported into
50864 # a .DEF file, then linker will be run (through gcc) against them to
50865 # build a shared library consisting of all given .o files. All libraries
50866 # (.a) will be first decompressed into component .o files then act as
50867 # described above. You can optionally give a description (-d "description")
50868 # which will be put into .DLL. To see the list of accepted options (as well
50869 # as command-line format) simply run this program without options. The .DLL
50870 # is built to be imported by name (there is no guarantee that new versions
50871 # of the library you build will have same ordinals for same symbols).
50873 # dllar is free software; you can redistribute it and/or modify
50874 # it under the terms of the GNU General Public License as published by
50875 # the Free Software Foundation; either version 2, or (at your option)
50876 # any later version.
50878 # dllar is distributed in the hope that it will be useful,
50879 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50880 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50881 # GNU General Public License for more details.
50883 # You should have received a copy of the GNU General Public License
50884 # along with dllar; see the file COPYING. If not, write to the Free
50885 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50888 # To successfuly run this program you will need:
50889 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50890 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50892 # (used to build the .dll)
50894 # (used to create .def file from .o files)
50896 # (used to create .a file from .def file)
50897 # - GNU text utilites (cat, sort, uniq)
50898 # used to process emxexp output
50899 # - GNU file utilities (mv, rm)
50901 # - lxlite (optional, see flag below)
50902 # (used for general .dll cleanup)
50909 # basnam, variant of basename, which does _not_ remove the path, _iff_
50910 # second argument (suffix to remove) is given
50914 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50917 echo ${D}1 | sed 's/'${D}2'${D}//'
50920 echo "error in basnam ${D}*"
50926 # Cleanup temporary files and output
50929 for i in ${D}inputFiles ; do
50932 rm -rf \`basnam ${D}i !\`
50939 # Kill result in case of failure as there is just to many stupid make/nmake
50940 # things out there which doesn't do this.
50941 if [ ${D}# -eq 0 ]; then
50942 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50946 # Print usage and exit script with rc=1.
50948 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50949 echo ' [-name-mangler-script script.sh]'
50950 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50951 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50952 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50953 echo ' [*.o] [*.a]'
50954 echo '*> "output_file" should have no extension.'
50955 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50956 echo ' The import library name is derived from this and is set to "name".a,'
50957 echo ' unless overridden by -import'
50958 echo '*> "importlib_name" should have no extension.'
50959 echo ' If it has the .o, or .a extension, it is automatically removed.'
50960 echo ' This name is used as the import library name and may be longer and'
50961 echo ' more descriptive than the DLL name which has to follow the old '
50962 echo ' 8.3 convention of FAT.'
50963 echo '*> "script.sh may be given to override the output_file name by a'
50964 echo ' different name. It is mainly useful if the regular make process'
50965 echo ' of some package does not take into account OS/2 restriction of'
50966 echo ' DLL name lengths. It takes the importlib name as input and is'
50967 echo ' supposed to procude a shorter name as output. The script should'
50968 echo ' expect to get importlib_name without extension and should produce'
50969 echo ' a (max.) 8 letter name without extension.'
50970 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50971 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50972 echo ' These flags will be put at the start of GCC command line.'
50973 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50974 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50975 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50976 echo ' If the last character of a symbol is "*", all symbols beginning'
50977 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50978 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50979 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50980 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50981 echo ' C runtime DLLs.'
50982 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50983 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50984 echo ' unchanged to GCC at the end of command line.'
50985 echo '*> If you create a DLL from a library and you do not specify -o,'
50986 echo ' the basename for DLL and import library will be set to library name,'
50987 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50988 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50989 echo ' library will be renamed into gcc_s.a.'
50992 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50993 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50998 # Execute a command.
50999 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51000 # @Uses Whatever CleanUp() uses.
51006 if [ ${D}rcCmd -ne 0 ]; then
51007 echo "command failed, exit code="${D}rcCmd
51022 CFLAGS="-s -Zcrtdll"
51024 EXPORT_BY_ORDINALS=0
51029 case ${D}curDirS in
51033 curDirS=${D}{curDirS}"/"
51036 # Parse commandline
51039 while [ ${D}1 ]; do
51042 EXPORT_BY_ORDINALS=1;
51052 -name-mangler-script)
51073 exclude_symbols=${D}{exclude_symbols}${D}1" "
51077 library_flags=${D}{library_flags}${D}1" "
51096 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51099 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51100 if [ ${D}omfLinking -eq 1 ]; then
51101 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51103 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51108 if [ ${D}libsToLink -ne 0 ]; then
51109 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51111 for file in ${D}1 ; do
51112 if [ -f ${D}file ]; then
51113 inputFiles="${D}{inputFiles} ${D}file"
51117 if [ ${D}found -eq 0 ]; then
51118 echo "ERROR: No file(s) found: "${D}1
51125 done # iterate cmdline words
51128 if [ -z "${D}inputFiles" ]; then
51129 echo "dllar: no input files"
51133 # Now extract all .o files from .a files
51135 for file in ${D}inputFiles ; do
51146 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51151 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51153 if [ ${D}? -ne 0 ]; then
51154 echo "Failed to create subdirectory ./${D}dirname"
51158 # Append '!' to indicate archive
51159 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51160 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51163 for subfile in ${D}dirname/*.o* ; do
51164 if [ -f ${D}subfile ]; then
51166 if [ -s ${D}subfile ]; then
51167 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51168 newInputFiles="${D}newInputFiles ${D}subfile"
51172 if [ ${D}found -eq 0 ]; then
51173 echo "WARNING: there are no files in archive \\'${D}file\\'"
51177 newInputFiles="${D}{newInputFiles} ${D}file"
51181 inputFiles="${D}newInputFiles"
51183 # Output filename(s).
51185 if [ -z ${D}outFile ]; then
51187 set outFile ${D}inputFiles; outFile=${D}2
51190 # If it is an archive, remove the '!' and the '_%' suffixes
51191 case ${D}outFile in
51193 outFile=\`basnam ${D}outFile _%!\`
51198 case ${D}outFile in
51200 outFile=\`basnam ${D}outFile .dll\`
51203 outFile=\`basnam ${D}outFile .DLL\`
51206 outFile=\`basnam ${D}outFile .o\`
51209 outFile=\`basnam ${D}outFile .obj\`
51212 outFile=\`basnam ${D}outFile .a\`
51215 outFile=\`basnam ${D}outFile .lib\`
51220 case ${D}outimpFile in
51222 outimpFile=\`basnam ${D}outimpFile .a\`
51225 outimpFile=\`basnam ${D}outimpFile .lib\`
51230 if [ -z ${D}outimpFile ]; then
51231 outimpFile=${D}outFile
51233 defFile="${D}{outFile}.def"
51234 arcFile="${D}{outimpFile}.a"
51235 arcFile2="${D}{outimpFile}.lib"
51237 #create ${D}dllFile as something matching 8.3 restrictions,
51238 if [ -z ${D}renameScript ] ; then
51239 dllFile="${D}outFile"
51241 dllFile=\`${D}renameScript ${D}outimpFile\`
51244 if [ ${D}do_backup -ne 0 ] ; then
51245 if [ -f ${D}arcFile ] ; then
51246 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51248 if [ -f ${D}arcFile2 ] ; then
51249 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51253 # Extract public symbols from all the object files.
51254 tmpdefFile=${D}{defFile}_%
51255 rm -f ${D}tmpdefFile
51256 for file in ${D}inputFiles ; do
51261 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51266 # Create the def file.
51268 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51269 dllFile="${D}{dllFile}.dll"
51270 if [ ! -z ${D}description ]; then
51271 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51273 echo "EXPORTS" >> ${D}defFile
51275 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51276 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51278 # Checks if the export is ok or not.
51279 for word in ${D}exclude_symbols; do
51280 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51281 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51285 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51286 sed "=" < ${D}tmpdefFile | \\
51290 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51292 ' > ${D}{tmpdefFile}%
51293 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51295 rm -f ${D}{tmpdefFile}%
51297 cat ${D}tmpdefFile >> ${D}defFile
51298 rm -f ${D}tmpdefFile
51300 # Do linking, create implib, and apply lxlite.
51302 for file in ${D}inputFiles ; do
51307 gccCmdl="${D}gccCmdl ${D}file"
51311 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51312 touch "${D}{outFile}.dll"
51314 doCommand "emximp -o ${D}arcFile ${D}defFile"
51315 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51317 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51320 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51322 doCommand "emxomf -s -l ${D}arcFile"
51332 powerpc-apple-macos* | \
51333 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51343 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51344 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51345 { (exit 1); exit 1; }; }
51348 if test "x$PIC_FLAG" != "x" ; then
51349 PIC_FLAG="$PIC_FLAG -DPIC"
51352 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51353 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51355 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51356 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51375 case "${BAKEFILE_HOST}" in
51376 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51377 if test "x$SUNCXX" = "xyes"; then
51380 SONAME_FLAG="-Wl,-soname,"
51415 # Check whether --enable-dependency-tracking was given.
51416 if test "${enable_dependency_tracking+set}" = set; then
51417 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51421 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51422 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51425 if test "x$bk_use_trackdeps" = "xno" ; then
51427 { echo "$as_me:$LINENO: result: disabled" >&5
51428 echo "${ECHO_T}disabled" >&6; }
51432 if test "x$GCC" = "xyes"; then
51434 case "${BAKEFILE_HOST}" in
51436 DEPSFLAG="-no-cpp-precomp -MMD"
51442 { echo "$as_me:$LINENO: result: gcc" >&5
51443 echo "${ECHO_T}gcc" >&6; }
51444 elif test "x$MWCC" = "xyes"; then
51447 { echo "$as_me:$LINENO: result: mwcc" >&5
51448 echo "${ECHO_T}mwcc" >&6; }
51449 elif test "x$SUNCC" = "xyes"; then
51452 { echo "$as_me:$LINENO: result: Sun cc" >&5
51453 echo "${ECHO_T}Sun cc" >&6; }
51454 elif test "x$SGICC" = "xyes"; then
51457 { echo "$as_me:$LINENO: result: SGI cc" >&5
51458 echo "${ECHO_T}SGI cc" >&6; }
51459 elif test "x$HPCC" = "xyes"; then
51462 { echo "$as_me:$LINENO: result: HP cc" >&5
51463 echo "${ECHO_T}HP cc" >&6; }
51464 elif test "x$COMPAQCC" = "xyes"; then
51467 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51468 echo "${ECHO_T}Compaq cc" >&6; }
51471 { echo "$as_me:$LINENO: result: none" >&5
51472 echo "${ECHO_T}none" >&6; }
51475 if test $DEPS_TRACKING = 1 ; then
51481 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51482 # script. It is used to track C/C++ files dependencies in portable way.
51484 # Permission is given to use this file in any way.
51486 DEPSMODE=${DEPSMODE}
51488 DEPSFLAG="${DEPSFLAG}"
51490 mkdir -p ${D}DEPSDIR
51492 if test ${D}DEPSMODE = gcc ; then
51493 ${D}* ${D}{DEPSFLAG}
51495 if test ${D}{status} != 0 ; then
51498 # move created file to the location we want it in:
51499 while test ${D}# -gt 0; do
51513 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51514 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51515 if test -f ${D}depfile ; then
51516 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51519 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51520 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51521 if test ! -f ${D}depfile ; then
51522 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51523 depfile="${D}objfile.d"
51525 if test -f ${D}depfile ; then
51526 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51531 elif test ${D}DEPSMODE = mwcc ; then
51532 ${D}* || exit ${D}?
51533 # Run mwcc again with -MM and redirect into the dep file we want
51534 # NOTE: We can't use shift here because we need ${D}* to be valid
51536 for arg in ${D}* ; do
51537 if test "${D}prevarg" = "-o"; then
51550 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51552 elif test ${D}DEPSMODE = unixcc; then
51553 ${D}* || exit ${D}?
51554 # Run compiler again with deps flag and redirect into the dep file.
51555 # It doesn't work if the '-o FILE' option is used, but without it the
51556 # dependency file will contain the wrong name for the object. So it is
51557 # removed from the command line, and the dep file is fixed with sed.
51559 while test ${D}# -gt 0; do
51566 eval arg${D}#=\\${D}1
51567 cmd="${D}cmd \\${D}arg${D}#"
51572 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51581 BK_DEPS="`pwd`/bk-deps"
51589 case ${BAKEFILE_HOST} in
51590 *-*-cygwin* | *-*-mingw32* )
51591 if test -n "$ac_tool_prefix"; then
51592 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51593 set dummy ${ac_tool_prefix}windres; ac_word=$2
51594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51596 if test "${ac_cv_prog_WINDRES+set}" = set; then
51597 echo $ECHO_N "(cached) $ECHO_C" >&6
51599 if test -n "$WINDRES"; then
51600 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51603 for as_dir in $PATH
51606 test -z "$as_dir" && as_dir=.
51607 for ac_exec_ext in '' $ac_executable_extensions; do
51608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51609 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51619 WINDRES=$ac_cv_prog_WINDRES
51620 if test -n "$WINDRES"; then
51621 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51622 echo "${ECHO_T}$WINDRES" >&6; }
51624 { echo "$as_me:$LINENO: result: no" >&5
51625 echo "${ECHO_T}no" >&6; }
51630 if test -z "$ac_cv_prog_WINDRES"; then
51631 ac_ct_WINDRES=$WINDRES
51632 # Extract the first word of "windres", so it can be a program name with args.
51633 set dummy windres; ac_word=$2
51634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51636 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51637 echo $ECHO_N "(cached) $ECHO_C" >&6
51639 if test -n "$ac_ct_WINDRES"; then
51640 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51643 for as_dir in $PATH
51646 test -z "$as_dir" && as_dir=.
51647 for ac_exec_ext in '' $ac_executable_extensions; do
51648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51649 ac_cv_prog_ac_ct_WINDRES="windres"
51650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51659 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51660 if test -n "$ac_ct_WINDRES"; then
51661 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51662 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51664 { echo "$as_me:$LINENO: result: no" >&5
51665 echo "${ECHO_T}no" >&6; }
51668 if test "x$ac_ct_WINDRES" = x; then
51671 case $cross_compiling:$ac_tool_warned in
51673 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51674 whose name does not start with the host triplet. If you think this
51675 configuration is useful to you, please write to autoconf@gnu.org." >&5
51676 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51677 whose name does not start with the host triplet. If you think this
51678 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51679 ac_tool_warned=yes ;;
51681 WINDRES=$ac_ct_WINDRES
51684 WINDRES="$ac_cv_prog_WINDRES"
51689 *-*-darwin* | powerpc-apple-macos* )
51690 # Extract the first word of "Rez", so it can be a program name with args.
51691 set dummy Rez; ac_word=$2
51692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51694 if test "${ac_cv_prog_REZ+set}" = set; then
51695 echo $ECHO_N "(cached) $ECHO_C" >&6
51697 if test -n "$REZ"; then
51698 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51701 for as_dir in $PATH
51704 test -z "$as_dir" && as_dir=.
51705 for ac_exec_ext in '' $ac_executable_extensions; do
51706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51707 ac_cv_prog_REZ="Rez"
51708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51715 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51718 REZ=$ac_cv_prog_REZ
51719 if test -n "$REZ"; then
51720 { echo "$as_me:$LINENO: result: $REZ" >&5
51721 echo "${ECHO_T}$REZ" >&6; }
51723 { echo "$as_me:$LINENO: result: no" >&5
51724 echo "${ECHO_T}no" >&6; }
51728 # Extract the first word of "SetFile", so it can be a program name with args.
51729 set dummy SetFile; ac_word=$2
51730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51732 if test "${ac_cv_prog_SETFILE+set}" = set; then
51733 echo $ECHO_N "(cached) $ECHO_C" >&6
51735 if test -n "$SETFILE"; then
51736 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51739 for as_dir in $PATH
51742 test -z "$as_dir" && as_dir=.
51743 for ac_exec_ext in '' $ac_executable_extensions; do
51744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51745 ac_cv_prog_SETFILE="SetFile"
51746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51753 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51756 SETFILE=$ac_cv_prog_SETFILE
51757 if test -n "$SETFILE"; then
51758 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51759 echo "${ECHO_T}$SETFILE" >&6; }
51761 { echo "$as_me:$LINENO: result: no" >&5
51762 echo "${ECHO_T}no" >&6; }
51774 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51777 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51781 # Check whether --enable-precomp-headers was given.
51782 if test "${enable_precomp_headers+set}" = set; then
51783 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51792 case ${BAKEFILE_HOST} in
51798 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51799 if test "x$GCC" = "xyes"; then
51800 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51801 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51802 cat >conftest.$ac_ext <<_ACEOF
51805 cat confdefs.h >>conftest.$ac_ext
51806 cat >>conftest.$ac_ext <<_ACEOF
51807 /* end confdefs.h. */
51813 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51814 There is no PCH support
51817 There is no PCH support
51819 #if (__GNUC__ == 3) && \
51820 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51821 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51822 ( defined(__INTEL_COMPILER) )
51823 There is no PCH support
51830 rm -f conftest.$ac_objext
51831 if { (ac_try="$ac_compile"
51832 case "(($ac_try" in
51833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51834 *) ac_try_echo=$ac_try;;
51836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51837 (eval "$ac_compile") 2>conftest.er1
51839 grep -v '^ *+' conftest.er1 >conftest.err
51841 cat conftest.err >&5
51842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51843 (exit $ac_status); } && {
51844 test -z "$ac_c_werror_flag" ||
51845 test ! -s conftest.err
51846 } && test -s conftest.$ac_objext; then
51848 { echo "$as_me:$LINENO: result: yes" >&5
51849 echo "${ECHO_T}yes" >&6; }
51853 echo "$as_me: failed program was:" >&5
51854 sed 's/^/| /' conftest.$ac_ext >&5
51857 cat >conftest.$ac_ext <<_ACEOF
51860 cat confdefs.h >>conftest.$ac_ext
51861 cat >>conftest.$ac_ext <<_ACEOF
51862 /* end confdefs.h. */
51868 #if !defined(__INTEL_COMPILER) || \
51869 (__INTEL_COMPILER < 800)
51870 There is no PCH support
51877 rm -f conftest.$ac_objext
51878 if { (ac_try="$ac_compile"
51879 case "(($ac_try" in
51880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51881 *) ac_try_echo=$ac_try;;
51883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51884 (eval "$ac_compile") 2>conftest.er1
51886 grep -v '^ *+' conftest.er1 >conftest.err
51888 cat conftest.err >&5
51889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51890 (exit $ac_status); } && {
51891 test -z "$ac_c_werror_flag" ||
51892 test ! -s conftest.err
51893 } && test -s conftest.$ac_objext; then
51895 { echo "$as_me:$LINENO: result: yes" >&5
51896 echo "${ECHO_T}yes" >&6; }
51900 echo "$as_me: failed program was:" >&5
51901 sed 's/^/| /' conftest.$ac_ext >&5
51904 { echo "$as_me:$LINENO: result: no" >&5
51905 echo "${ECHO_T}no" >&6; }
51909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51914 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51918 cat <<EOF >bk-make-pch
51921 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51922 # script. It is used to generated precompiled headers.
51924 # Permission is given to use this file in any way.
51934 while test ${D}{#} -gt 0; do
51938 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51939 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51940 headerfile="${D}{incdir}/${D}{header}"
51943 -use-pch|-use_pch )
51948 if test ${D}add_to_cmdline = 1 ; then
51949 compiler="${D}{compiler} ${D}{1}"
51954 if test "x${D}{headerfile}" = "x" ; then
51955 echo "error: can't find header ${D}{header} in include paths" >&2
51957 if test -f ${D}{outfile} ; then
51958 rm -f ${D}{outfile}
51960 mkdir -p \`dirname ${D}{outfile}\`
51962 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51964 if test "x${GCC_PCH}" = "x1" ; then
51965 # can do this because gcc is >= 3.4:
51966 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51967 elif test "x${ICC_PCH}" = "x1" ; then
51968 filename=pch_gen-${D}${D}
51969 file=${D}{filename}.c
51970 dfile=${D}{filename}.d
51971 cat > ${D}file <<EOT
51972 #include "${D}header"
51974 # using -MF icc complains about differing command lines in creation/use
51975 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51976 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51977 rm -f ${D}file ${D}dfile ${D}{filename}.o
51983 chmod +x bk-make-pch
51984 BK_MAKE_PCH="`pwd`/bk-make-pch"
51993 COND_BUILD_DEBUG="#"
51994 if test "x$BUILD" = "xdebug" ; then
51995 COND_BUILD_DEBUG=""
51998 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51999 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52000 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52003 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52004 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52005 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52008 COND_BUILD_DEBUG_UNICODE_0="#"
52009 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52010 COND_BUILD_DEBUG_UNICODE_0=""
52013 COND_BUILD_DEBUG_UNICODE_1="#"
52014 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52015 COND_BUILD_DEBUG_UNICODE_1=""
52018 COND_BUILD_RELEASE="#"
52019 if test "x$BUILD" = "xrelease" ; then
52020 COND_BUILD_RELEASE=""
52023 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52024 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52025 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52028 COND_BUILD_RELEASE_UNICODE_0="#"
52029 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52030 COND_BUILD_RELEASE_UNICODE_0=""
52033 COND_BUILD_RELEASE_UNICODE_1="#"
52034 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52035 COND_BUILD_RELEASE_UNICODE_1=""
52038 COND_DEBUG_FLAG_1="#"
52039 if test "x$DEBUG_FLAG" = "x1" ; then
52040 COND_DEBUG_FLAG_1=""
52043 COND_DEBUG_INFO_0="#"
52044 if test "x$DEBUG_INFO" = "x0" ; then
52045 COND_DEBUG_INFO_0=""
52048 COND_DEBUG_INFO_1="#"
52049 if test "x$DEBUG_INFO" = "x1" ; then
52050 COND_DEBUG_INFO_1=""
52053 COND_DEPS_TRACKING_0="#"
52054 if test "x$DEPS_TRACKING" = "x0" ; then
52055 COND_DEPS_TRACKING_0=""
52058 COND_DEPS_TRACKING_1="#"
52059 if test "x$DEPS_TRACKING" = "x1" ; then
52060 COND_DEPS_TRACKING_1=""
52064 if test "x$GCC_PCH" = "x1" ; then
52069 if test "x$ICC_PCH" = "x1" ; then
52073 COND_MONOLITHIC_0="#"
52074 if test "x$MONOLITHIC" = "x0" ; then
52075 COND_MONOLITHIC_0=""
52078 COND_MONOLITHIC_0_SHARED_0="#"
52079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52080 COND_MONOLITHIC_0_SHARED_0=""
52083 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52085 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52088 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52089 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52090 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52093 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52095 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52098 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52100 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52104 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52105 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52108 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52110 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52113 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52114 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52115 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52118 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52119 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52120 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52123 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52124 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52125 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52128 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52130 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52133 COND_MONOLITHIC_0_SHARED_1="#"
52134 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52135 COND_MONOLITHIC_0_SHARED_1=""
52138 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52139 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52140 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52143 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52144 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52145 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52148 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52149 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52150 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52153 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52154 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52155 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52158 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52159 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52160 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52163 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52164 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52165 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52168 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52169 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52170 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52173 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52174 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52175 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52178 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52179 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52180 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52183 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52184 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52185 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52188 COND_MONOLITHIC_0_USE_AUI_1="#"
52189 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52190 COND_MONOLITHIC_0_USE_AUI_1=""
52193 COND_MONOLITHIC_0_USE_GUI_1="#"
52194 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52195 COND_MONOLITHIC_0_USE_GUI_1=""
52198 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52199 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52200 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52203 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52204 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52205 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52208 COND_MONOLITHIC_0_USE_HTML_1="#"
52209 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52210 COND_MONOLITHIC_0_USE_HTML_1=""
52213 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52214 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52215 COND_MONOLITHIC_0_USE_MEDIA_1=""
52218 COND_MONOLITHIC_0_USE_ODBC_1="#"
52219 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52220 COND_MONOLITHIC_0_USE_ODBC_1=""
52223 COND_MONOLITHIC_0_USE_QA_1="#"
52224 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52225 COND_MONOLITHIC_0_USE_QA_1=""
52228 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52229 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52230 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52233 COND_MONOLITHIC_0_USE_STC_1="#"
52234 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52235 COND_MONOLITHIC_0_USE_STC_1=""
52238 COND_MONOLITHIC_0_USE_XRC_1="#"
52239 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52240 COND_MONOLITHIC_0_USE_XRC_1=""
52243 COND_MONOLITHIC_1="#"
52244 if test "x$MONOLITHIC" = "x1" ; then
52245 COND_MONOLITHIC_1=""
52248 COND_MONOLITHIC_1_SHARED_0="#"
52249 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52250 COND_MONOLITHIC_1_SHARED_0=""
52253 COND_MONOLITHIC_1_SHARED_1="#"
52254 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52255 COND_MONOLITHIC_1_SHARED_1=""
52258 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52259 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52260 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52263 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52264 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52265 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52268 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52269 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52270 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52273 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52274 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52275 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52278 COND_PLATFORM_MACOSX_1="#"
52279 if test "x$PLATFORM_MACOSX" = "x1" ; then
52280 COND_PLATFORM_MACOSX_1=""
52283 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52284 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52285 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52288 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52289 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52290 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52293 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52294 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52295 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52298 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52299 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52300 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52303 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52304 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52305 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52308 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52309 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52310 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52313 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52314 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52315 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52318 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52319 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52320 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52323 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52324 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52325 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52328 COND_PLATFORM_MACOS_1="#"
52329 if test "x$PLATFORM_MACOS" = "x1" ; then
52330 COND_PLATFORM_MACOS_1=""
52333 COND_PLATFORM_MAC_1="#"
52334 if test "x$PLATFORM_MAC" = "x1" ; then
52335 COND_PLATFORM_MAC_1=""
52338 COND_PLATFORM_MSDOS_0="#"
52339 if test "x$PLATFORM_MSDOS" = "x0" ; then
52340 COND_PLATFORM_MSDOS_0=""
52343 COND_PLATFORM_MSDOS_1="#"
52344 if test "x$PLATFORM_MSDOS" = "x1" ; then
52345 COND_PLATFORM_MSDOS_1=""
52348 COND_PLATFORM_OS2_1="#"
52349 if test "x$PLATFORM_OS2" = "x1" ; then
52350 COND_PLATFORM_OS2_1=""
52353 COND_PLATFORM_UNIX_0="#"
52354 if test "x$PLATFORM_UNIX" = "x0" ; then
52355 COND_PLATFORM_UNIX_0=""
52358 COND_PLATFORM_UNIX_1="#"
52359 if test "x$PLATFORM_UNIX" = "x1" ; then
52360 COND_PLATFORM_UNIX_1=""
52363 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52364 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52365 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52368 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52369 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52370 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52373 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52374 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52375 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52378 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52379 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52380 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52383 COND_PLATFORM_WIN32_0="#"
52384 if test "x$PLATFORM_WIN32" = "x0" ; then
52385 COND_PLATFORM_WIN32_0=""
52388 COND_PLATFORM_WIN32_1="#"
52389 if test "x$PLATFORM_WIN32" = "x1" ; then
52390 COND_PLATFORM_WIN32_1=""
52394 if test "x$SHARED" = "x0" ; then
52398 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52399 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52400 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52403 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52404 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52405 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52408 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52409 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52410 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52413 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52414 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52415 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52418 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52419 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52420 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52423 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52424 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52425 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52428 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52429 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52430 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52433 COND_SHARED_0_USE_STC_1="#"
52434 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52435 COND_SHARED_0_USE_STC_1=""
52438 COND_SHARED_0_USE_XRC_1="#"
52439 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52440 COND_SHARED_0_USE_XRC_1=""
52443 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52444 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52445 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52448 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52449 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52450 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52453 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52454 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52455 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52458 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52459 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52460 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52464 if test "x$SHARED" = "x1" ; then
52468 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52469 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52470 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52473 COND_SHARED_1_USE_XRC_1="#"
52474 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52475 COND_SHARED_1_USE_XRC_1=""
52479 if test "x$TOOLKIT" = "x" ; then
52483 COND_TOOLKIT_COCOA="#"
52484 if test "x$TOOLKIT" = "xCOCOA" ; then
52485 COND_TOOLKIT_COCOA=""
52488 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52489 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52490 COND_TOOLKIT_COCOA_USE_GUI_1=""
52493 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52494 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52495 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52498 COND_TOOLKIT_DFB="#"
52499 if test "x$TOOLKIT" = "xDFB" ; then
52500 COND_TOOLKIT_DFB=""
52503 COND_TOOLKIT_DFB_USE_GUI_1="#"
52504 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52505 COND_TOOLKIT_DFB_USE_GUI_1=""
52508 COND_TOOLKIT_GTK="#"
52509 if test "x$TOOLKIT" = "xGTK" ; then
52510 COND_TOOLKIT_GTK=""
52513 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52514 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52515 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52518 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52519 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52520 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52523 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52524 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52525 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52528 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52529 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52530 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52533 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52534 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52535 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52538 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52539 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52540 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52543 COND_TOOLKIT_GTK_USE_GUI_1="#"
52544 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52545 COND_TOOLKIT_GTK_USE_GUI_1=""
52548 COND_TOOLKIT_MAC="#"
52549 if test "x$TOOLKIT" = "xMAC" ; then
52550 COND_TOOLKIT_MAC=""
52553 COND_TOOLKIT_MAC_USE_GUI_1="#"
52554 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52555 COND_TOOLKIT_MAC_USE_GUI_1=""
52558 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52559 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52560 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52563 COND_TOOLKIT_MGL="#"
52564 if test "x$TOOLKIT" = "xMGL" ; then
52565 COND_TOOLKIT_MGL=""
52568 COND_TOOLKIT_MGL_USE_GUI_1="#"
52569 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52570 COND_TOOLKIT_MGL_USE_GUI_1=""
52573 COND_TOOLKIT_MOTIF="#"
52574 if test "x$TOOLKIT" = "xMOTIF" ; then
52575 COND_TOOLKIT_MOTIF=""
52578 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52579 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52580 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52583 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52584 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52585 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52588 COND_TOOLKIT_MSW="#"
52589 if test "x$TOOLKIT" = "xMSW" ; then
52590 COND_TOOLKIT_MSW=""
52593 COND_TOOLKIT_MSW_USE_GUI_1="#"
52594 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52595 COND_TOOLKIT_MSW_USE_GUI_1=""
52598 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52599 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52600 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52603 COND_TOOLKIT_MSW_WXUNIV_0="#"
52604 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52605 COND_TOOLKIT_MSW_WXUNIV_0=""
52608 COND_TOOLKIT_PM="#"
52609 if test "x$TOOLKIT" = "xPM" ; then
52613 COND_TOOLKIT_PM_USE_GUI_1="#"
52614 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52615 COND_TOOLKIT_PM_USE_GUI_1=""
52618 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52619 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52620 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52623 COND_TOOLKIT_WINCE="#"
52624 if test "x$TOOLKIT" = "xWINCE" ; then
52625 COND_TOOLKIT_WINCE=""
52628 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52629 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52630 COND_TOOLKIT_WINCE_USE_GUI_1=""
52633 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52634 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52635 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52638 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52639 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52640 COND_TOOLKIT_WINCE_WXUNIV_0=""
52643 COND_TOOLKIT_X11="#"
52644 if test "x$TOOLKIT" = "xX11" ; then
52645 COND_TOOLKIT_X11=""
52648 COND_TOOLKIT_X11_USE_GUI_1="#"
52649 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52650 COND_TOOLKIT_X11_USE_GUI_1=""
52654 if test "x$UNICODE" = "x1" ; then
52658 COND_USE_EXCEPTIONS_0="#"
52659 if test "x$USE_EXCEPTIONS" = "x0" ; then
52660 COND_USE_EXCEPTIONS_0=""
52663 COND_USE_EXCEPTIONS_1="#"
52664 if test "x$USE_EXCEPTIONS" = "x1" ; then
52665 COND_USE_EXCEPTIONS_1=""
52669 if test "x$USE_GUI" = "x0" ; then
52674 if test "x$USE_GUI" = "x1" ; then
52678 COND_USE_GUI_1_USE_OPENGL_1="#"
52679 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52680 COND_USE_GUI_1_USE_OPENGL_1=""
52683 COND_USE_GUI_1_WXUNIV_0="#"
52684 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52685 COND_USE_GUI_1_WXUNIV_0=""
52688 COND_USE_GUI_1_WXUNIV_1="#"
52689 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52690 COND_USE_GUI_1_WXUNIV_1=""
52693 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52694 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52695 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52698 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52699 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52700 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52703 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52704 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52705 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52708 COND_USE_ODBC_1="#"
52709 if test "x$USE_ODBC" = "x1" ; then
52713 COND_USE_OPENGL_1="#"
52714 if test "x$USE_OPENGL" = "x1" ; then
52715 COND_USE_OPENGL_1=""
52719 if test "x$USE_PCH" = "x1" ; then
52723 COND_USE_PLUGINS_0="#"
52724 if test "x$USE_PLUGINS" = "x0" ; then
52725 COND_USE_PLUGINS_0=""
52728 COND_USE_RTTI_0="#"
52729 if test "x$USE_RTTI" = "x0" ; then
52733 COND_USE_RTTI_1="#"
52734 if test "x$USE_RTTI" = "x1" ; then
52738 COND_USE_SOSYMLINKS_1="#"
52739 if test "x$USE_SOSYMLINKS" = "x1" ; then
52740 COND_USE_SOSYMLINKS_1=""
52743 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52744 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52745 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52748 COND_USE_SOVERLINUX_1="#"
52749 if test "x$USE_SOVERLINUX" = "x1" ; then
52750 COND_USE_SOVERLINUX_1=""
52753 COND_USE_SOVERSION_0="#"
52754 if test "x$USE_SOVERSION" = "x0" ; then
52755 COND_USE_SOVERSION_0=""
52758 COND_USE_SOVERSOLARIS_1="#"
52759 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52760 COND_USE_SOVERSOLARIS_1=""
52764 if test "x$USE_STC" = "x1" ; then
52768 COND_USE_THREADS_0="#"
52769 if test "x$USE_THREADS" = "x0" ; then
52770 COND_USE_THREADS_0=""
52773 COND_USE_THREADS_1="#"
52774 if test "x$USE_THREADS" = "x1" ; then
52775 COND_USE_THREADS_1=""
52779 if test "x$USE_XRC" = "x1" ; then
52783 COND_WINDOWS_IMPLIB_1="#"
52784 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52785 COND_WINDOWS_IMPLIB_1=""
52788 COND_WITH_PLUGIN_SDL_1="#"
52789 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52790 COND_WITH_PLUGIN_SDL_1=""
52794 if test "x$WXUNIV" = "x0" ; then
52799 if test "x$WXUNIV" = "x1" ; then
52803 COND_WXUSE_EXPAT_BUILTIN="#"
52804 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52805 COND_WXUSE_EXPAT_BUILTIN=""
52808 COND_WXUSE_LIBJPEG_BUILTIN="#"
52809 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52810 COND_WXUSE_LIBJPEG_BUILTIN=""
52813 COND_WXUSE_LIBPNG_BUILTIN="#"
52814 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52815 COND_WXUSE_LIBPNG_BUILTIN=""
52818 COND_WXUSE_LIBTIFF_BUILTIN="#"
52819 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52820 COND_WXUSE_LIBTIFF_BUILTIN=""
52823 COND_WXUSE_ODBC_BUILTIN="#"
52824 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52825 COND_WXUSE_ODBC_BUILTIN=""
52828 COND_WXUSE_REGEX_BUILTIN="#"
52829 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52830 COND_WXUSE_REGEX_BUILTIN=""
52833 COND_WXUSE_ZLIB_BUILTIN="#"
52834 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52835 COND_WXUSE_ZLIB_BUILTIN=""
52840 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52841 { { 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
52842 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;}
52843 { (exit 1); exit 1; }; }
52846 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52847 { { 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
52848 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;}
52849 { (exit 1); exit 1; }; }
52853 if test $GCC_PCH = 1
52855 if test "$wx_cv_gcc_pch_bug" = yes; then
52856 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52857 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52858 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52859 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52860 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52861 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52864 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52868 if test "$wxUSE_MAC" = 1 ; then
52869 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52870 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52876 if test "$wxUSE_SHARED" = "yes"; then
52878 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52879 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52882 *-pc-os2_emx | *-pc-os2-emx )
52883 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52884 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52885 cp -p ${srcdir}/src/os2/dllnames.sh .
52886 cp -p ${srcdir}/src/os2/dllar.sh .
52891 EXE_LINKER="$CXX -o"
52894 if test "$wxUSE_OMF" = "yes"; then
52896 *-pc-os2_emx | *-pc-os2-emx )
52897 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52898 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52899 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52904 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52909 if "$GCC" = yes; then
52910 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52911 LIBS=`echo $LIBS | sed 's/-mt//'`
52912 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52917 if test "x$SUNCXX" = xyes; then
52918 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52919 LIBS=`echo $LIBS | sed 's/-pthread//'`
52920 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52925 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52926 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52928 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52990 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52991 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52992 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52993 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52994 echo $ECHO_N "(cached) $ECHO_C" >&6
52996 cat >conftest.make <<\_ACEOF
52999 @echo '@@@%%%=$(MAKE)=@@@%%%'
53001 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53002 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53003 *@@@%%%=?*=@@@%%%*)
53004 eval ac_cv_prog_make_${ac_make}_set=yes;;
53006 eval ac_cv_prog_make_${ac_make}_set=no;;
53008 rm -f conftest.make
53010 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53011 { echo "$as_me:$LINENO: result: yes" >&5
53012 echo "${ECHO_T}yes" >&6; }
53015 { echo "$as_me:$LINENO: result: no" >&5
53016 echo "${ECHO_T}no" >&6; }
53017 SET_MAKE="MAKE=${MAKE-make}"
53022 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53025 if test "$USE_WIN32" = 1; then
53026 ac_config_commands="$ac_config_commands
53032 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53035 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53038 if test "$wx_cv_version_script" = "yes"; then
53039 ac_config_files="$ac_config_files version-script"
53042 ac_config_files="$ac_config_files Makefile"
53045 ac_config_commands="$ac_config_commands wx-config"
53049 if test "$wxWITH_SUBDIRS" != "no"; then
53050 if test "$wxUSE_GUI" = "yes"; then
53051 SUBDIRS="samples demos utils"
53052 else SUBDIRS="samples utils"
53057 # Check whether --with-cppunit-prefix was given.
53058 if test "${with_cppunit_prefix+set}" = set; then
53059 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53061 cppunit_config_prefix=""
53065 # Check whether --with-cppunit-exec-prefix was given.
53066 if test "${with_cppunit_exec_prefix+set}" = set; then
53067 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53069 cppunit_config_exec_prefix=""
53073 if test x$cppunit_config_exec_prefix != x ; then
53074 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53075 if test x${CPPUNIT_CONFIG+set} != xset ; then
53076 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53079 if test x$cppunit_config_prefix != x ; then
53080 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53081 if test x${CPPUNIT_CONFIG+set} != xset ; then
53082 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53086 # Extract the first word of "cppunit-config", so it can be a program name with args.
53087 set dummy cppunit-config; ac_word=$2
53088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53090 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53091 echo $ECHO_N "(cached) $ECHO_C" >&6
53093 case $CPPUNIT_CONFIG in
53095 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53099 for as_dir in $PATH
53102 test -z "$as_dir" && as_dir=.
53103 for ac_exec_ext in '' $ac_executable_extensions; do
53104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53105 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53113 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53117 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53118 if test -n "$CPPUNIT_CONFIG"; then
53119 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53120 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53122 { echo "$as_me:$LINENO: result: no" >&5
53123 echo "${ECHO_T}no" >&6; }
53127 cppunit_version_min=1.8.0
53129 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53130 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53132 if test "$CPPUNIT_CONFIG" = "no" ; then
53133 { echo "$as_me:$LINENO: result: no" >&5
53134 echo "${ECHO_T}no" >&6; }
53137 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53138 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53139 cppunit_version=`$CPPUNIT_CONFIG --version`
53141 cppunit_major_version=`echo $cppunit_version | \
53142 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53143 cppunit_minor_version=`echo $cppunit_version | \
53144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53145 cppunit_micro_version=`echo $cppunit_version | \
53146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53148 cppunit_major_min=`echo $cppunit_version_min | \
53149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53150 cppunit_minor_min=`echo $cppunit_version_min | \
53151 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53152 cppunit_micro_min=`echo $cppunit_version_min | \
53153 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53155 cppunit_version_proper=`expr \
53156 $cppunit_major_version \> $cppunit_major_min \| \
53157 $cppunit_major_version \= $cppunit_major_min \& \
53158 $cppunit_minor_version \> $cppunit_minor_min \| \
53159 $cppunit_major_version \= $cppunit_major_min \& \
53160 $cppunit_minor_version \= $cppunit_minor_min \& \
53161 $cppunit_micro_version \>= $cppunit_micro_min `
53163 if test "$cppunit_version_proper" = "1" ; then
53164 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53165 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53167 { echo "$as_me:$LINENO: result: no" >&5
53168 echo "${ECHO_T}no" >&6; }
53173 if test "x$no_cppunit" = x ; then
53174 SUBDIRS="$SUBDIRS tests"
53185 for subdir in `echo $SUBDIRS`; do
53186 if test -d ${srcdir}/${subdir} ; then
53187 if test "$wxUSE_GUI" = "yes"; then
53188 if test ${subdir} = "samples"; then
53189 makefiles="samples/Makefile.in $makefiles"
53190 for sample in `echo $SAMPLES_SUBDIRS`; do
53191 if test -d $srcdir/samples/$sample; then
53192 makefiles="samples/$sample/Makefile.in $makefiles"
53196 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53197 eval "disabled=\$$disabled_var"
53198 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53199 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53201 else if test ${subdir} = "samples"; then
53202 makefiles="samples/Makefile.in samples/console/Makefile.in"
53203 elif test ${subdir} = "utils"; then
53205 for util in HelpGen tex2rtf ; do
53206 if test -d $srcdir/utils/$util ; then
53207 makefiles="utils/$util/Makefile.in \
53208 utils/$util/src/Makefile.in \
53212 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53216 for mkin in $makefiles ; do
53217 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53218 ac_config_files="$ac_config_files $mk"
53224 cat >confcache <<\_ACEOF
53225 # This file is a shell script that caches the results of configure
53226 # tests run on this system so they can be shared between configure
53227 # scripts and configure runs, see configure's option --config-cache.
53228 # It is not useful on other systems. If it contains results you don't
53229 # want to keep, you may remove or edit it.
53231 # config.status only pays attention to the cache file if you give it
53232 # the --recheck option to rerun configure.
53234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53236 # following values.
53240 # The following way of writing the cache mishandles newlines in values,
53241 # but we know of no workaround that is simple, portable, and efficient.
53242 # So, we kill variables containing newlines.
53243 # Ultrix sh set writes to stderr and can't be redirected directly,
53244 # and sets the high bit in the cache file unless we assign to the vars.
53246 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53247 eval ac_val=\$$ac_var
53251 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53252 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53255 _ | IFS | as_nl) ;; #(
53256 *) $as_unset $ac_var ;;
53262 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53263 *${as_nl}ac_space=\ *)
53264 # `set' does not quote correctly, so add quotes (double-quote
53265 # substitution turns \\\\ into \\, and sed turns \\ into \).
53268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53271 # `set' quotes correctly as required by POSIX, so do not add quotes.
53272 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53281 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53283 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53285 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53286 if test -w "$cache_file"; then
53287 test "x$cache_file" != "x/dev/null" &&
53288 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53289 echo "$as_me: updating cache $cache_file" >&6;}
53290 cat confcache >$cache_file
53292 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53293 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53298 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53299 # Let make expand exec_prefix.
53300 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53302 DEFS=-DHAVE_CONFIG_H
53306 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53307 # 1. Remove the extension, and $U if already installed.
53308 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53309 ac_i=`echo "$ac_i" | sed "$ac_script"`
53310 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53311 # will be set to the directory where LIBOBJS objects are built.
53312 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53313 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53315 LIBOBJS=$ac_libobjs
53317 LTLIBOBJS=$ac_ltlibobjs
53321 : ${CONFIG_STATUS=./config.status}
53322 ac_clean_files_save=$ac_clean_files
53323 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53324 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53325 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53326 cat >$CONFIG_STATUS <<_ACEOF
53328 # Generated by $as_me.
53329 # Run this file to recreate the current configuration.
53330 # Compiler output produced by configure, useful for debugging
53331 # configure, is in config.log if it exists.
53334 ac_cs_recheck=false
53336 SHELL=\${CONFIG_SHELL-$SHELL}
53339 cat >>$CONFIG_STATUS <<\_ACEOF
53340 ## --------------------- ##
53341 ## M4sh Initialization. ##
53342 ## --------------------- ##
53344 # Be more Bourne compatible
53345 DUALCASE=1; export DUALCASE # for MKS sh
53346 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53349 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53350 # is contrary to our usage. Disable this feature.
53351 alias -g '${1+"$@"}'='"$@"'
53352 setopt NO_GLOB_SUBST
53354 case `(set -o) 2>/dev/null` in
53355 *posix*) set -o posix ;;
53364 # Avoid depending upon Character Ranges.
53365 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53366 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53367 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53368 as_cr_digits='0123456789'
53369 as_cr_alnum=$as_cr_Letters$as_cr_digits
53371 # The user is always right.
53372 if test "${PATH_SEPARATOR+set}" != set; then
53373 echo "#! /bin/sh" >conf$$.sh
53374 echo "exit 0" >>conf$$.sh
53376 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53384 # Support unset when possible.
53385 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53393 # We need space, tab and new line, in precisely that order. Quoting is
53394 # there to prevent editors from complaining about space-tab.
53395 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53396 # splitting by setting IFS to empty value.)
53401 # Find who we are. Look in the path if we contain no directory separator.
53403 *[\\/]* ) as_myself=$0 ;;
53404 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53405 for as_dir in $PATH
53408 test -z "$as_dir" && as_dir=.
53409 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53415 # We did not find ourselves, most probably we were run as `sh COMMAND'
53416 # in which case we are not to be found in the path.
53417 if test "x$as_myself" = x; then
53420 if test ! -f "$as_myself"; then
53421 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53422 { (exit 1); exit 1; }
53425 # Work around bugs in pre-3.0 UWIN ksh.
53426 for as_var in ENV MAIL MAILPATH
53427 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53435 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53436 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53437 LC_TELEPHONE LC_TIME
53439 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53440 eval $as_var=C; export $as_var
53442 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53446 # Required to use basename.
53447 if expr a : '\(a\)' >/dev/null 2>&1 &&
53448 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53455 as_basename=basename
53461 # Name of the executable.
53462 as_me=`$as_basename -- "$0" ||
53463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53464 X"$0" : 'X\(//\)$' \| \
53465 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53467 sed '/^.*\/\([^/][^/]*\)\/*$/{
53486 as_lineno_1=$LINENO
53487 as_lineno_2=$LINENO
53488 test "x$as_lineno_1" != "x$as_lineno_2" &&
53489 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53491 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53492 # uniformly replaced by the line number. The first 'sed' inserts a
53493 # line-number line after each line using $LINENO; the second 'sed'
53494 # does the real work. The second script uses 'N' to pair each
53495 # line-number line with the line containing $LINENO, and appends
53496 # trailing '-' during substitution so that $LINENO is not a special
53497 # case at line end.
53498 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53499 # scripts with optimization help from Paolo Bonzini. Blame Lee
53500 # E. McMahon (1931-1989) for sed's syntax. :-)
53512 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53515 ' >$as_me.lineno &&
53516 chmod +x "$as_me.lineno" ||
53517 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53518 { (exit 1); exit 1; }; }
53520 # Don't try to exec as it changes $[0], causing all sort of problems
53521 # (the dirname of $[0] is not the place where we might find the
53522 # original and so on. Autoconf is especially sensitive to this).
53523 . "./$as_me.lineno"
53524 # Exit status is that of the last command.
53529 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53535 ECHO_C= ECHO_N= ECHO_T=
53536 case `echo -n x` in
53538 case `echo 'x\c'` in
53539 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53546 if expr a : '\(a\)' >/dev/null 2>&1 &&
53547 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53553 rm -f conf$$ conf$$.exe conf$$.file
53554 if test -d conf$$.dir; then
53555 rm -f conf$$.dir/conf$$.file
53561 if ln -s conf$$.file conf$$ 2>/dev/null; then
53563 # ... but there are two gotchas:
53564 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53565 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53566 # In both cases, we have to default to `cp -p'.
53567 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53569 elif ln conf$$.file conf$$ 2>/dev/null; then
53574 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53575 rmdir conf$$.dir 2>/dev/null
53577 if mkdir -p . 2>/dev/null; then
53580 test -d ./-p && rmdir ./-p
53584 if test -x / >/dev/null 2>&1; then
53585 as_test_x='test -x'
53587 if ls -dL / >/dev/null 2>&1; then
53594 if test -d "$1"; then
53600 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53601 ???[sx]*):;;*)false;;esac;fi
53605 as_executable_p=$as_test_x
53607 # Sed expression to map a string onto a valid CPP name.
53608 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53610 # Sed expression to map a string onto a valid variable name.
53611 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53616 # Save the log message, to keep $[0] and so on meaningful, and to
53617 # report actual input values of CONFIG_FILES etc. instead of their
53618 # values after options handling.
53620 This file was extended by wxWidgets $as_me 2.9.0, which was
53621 generated by GNU Autoconf 2.61. Invocation command line was
53623 CONFIG_FILES = $CONFIG_FILES
53624 CONFIG_HEADERS = $CONFIG_HEADERS
53625 CONFIG_LINKS = $CONFIG_LINKS
53626 CONFIG_COMMANDS = $CONFIG_COMMANDS
53629 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53634 cat >>$CONFIG_STATUS <<_ACEOF
53635 # Files that config.status was made for.
53636 config_files="$ac_config_files"
53637 config_headers="$ac_config_headers"
53638 config_commands="$ac_config_commands"
53642 cat >>$CONFIG_STATUS <<\_ACEOF
53644 \`$as_me' instantiates files from templates according to the
53645 current configuration.
53647 Usage: $0 [OPTIONS] [FILE]...
53649 -h, --help print this help, then exit
53650 -V, --version print version number and configuration settings, then exit
53651 -q, --quiet do not print progress messages
53652 -d, --debug don't remove temporary files
53653 --recheck update $as_me by reconfiguring in the same conditions
53654 --file=FILE[:TEMPLATE]
53655 instantiate the configuration file FILE
53656 --header=FILE[:TEMPLATE]
53657 instantiate the configuration header FILE
53659 Configuration files:
53662 Configuration headers:
53665 Configuration commands:
53668 Report bugs to <bug-autoconf@gnu.org>."
53671 cat >>$CONFIG_STATUS <<_ACEOF
53673 wxWidgets config.status 2.9.0
53674 configured by $0, generated by GNU Autoconf 2.61,
53675 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53677 Copyright (C) 2006 Free Software Foundation, Inc.
53678 This config.status script is free software; the Free Software Foundation
53679 gives unlimited permission to copy, distribute and modify it."
53686 cat >>$CONFIG_STATUS <<\_ACEOF
53687 # If no file are specified by the user, then we need to provide default
53688 # value. By we need to know if files were specified by the user.
53694 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53695 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53706 # Handling of the options.
53707 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53709 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53710 echo "$ac_cs_version"; exit ;;
53711 --debug | --debu | --deb | --de | --d | -d )
53713 --file | --fil | --fi | --f )
53715 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53716 ac_need_defaults=false;;
53717 --header | --heade | --head | --hea )
53719 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53720 ac_need_defaults=false;;
53722 # Conflict between --help and --header
53723 { echo "$as_me: error: ambiguous option: $1
53724 Try \`$0 --help' for more information." >&2
53725 { (exit 1); exit 1; }; };;
53726 --help | --hel | -h )
53727 echo "$ac_cs_usage"; exit ;;
53728 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53729 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53732 # This is an error.
53733 -*) { echo "$as_me: error: unrecognized option: $1
53734 Try \`$0 --help' for more information." >&2
53735 { (exit 1); exit 1; }; } ;;
53737 *) ac_config_targets="$ac_config_targets $1"
53738 ac_need_defaults=false ;;
53744 ac_configure_extra_args=
53746 if $ac_cs_silent; then
53748 ac_configure_extra_args="$ac_configure_extra_args --silent"
53752 cat >>$CONFIG_STATUS <<_ACEOF
53753 if \$ac_cs_recheck; then
53754 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53755 CONFIG_SHELL=$SHELL
53756 export CONFIG_SHELL
53757 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53761 cat >>$CONFIG_STATUS <<\_ACEOF
53765 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53766 ## Running $as_me. ##
53772 cat >>$CONFIG_STATUS <<_ACEOF
53778 infile="$srcdir/include/wx/msw/genrcdefs.h"
53779 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53782 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53783 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53784 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53790 cat >>$CONFIG_STATUS <<\_ACEOF
53792 # Handling of arguments.
53793 for ac_config_target in $ac_config_targets
53795 case $ac_config_target in
53796 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53797 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53798 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53799 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53800 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53801 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53802 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53803 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53805 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53806 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53807 { (exit 1); exit 1; }; };;
53812 # If the user did not use the arguments to specify the items to instantiate,
53813 # then the envvar interface is used. Set only those that are not.
53814 # We use the long form for the default assignment because of an extremely
53815 # bizarre bug on SunOS 4.1.3.
53816 if $ac_need_defaults; then
53817 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53818 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53819 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53822 # Have a temporary directory for convenience. Make it in the build tree
53823 # simply because there is no reason against having it here, and in addition,
53824 # creating and moving files from /tmp can sometimes cause problems.
53825 # Hook for its removal unless debugging.
53826 # Note that there is a small window in which the directory will not be cleaned:
53827 # after its creation but before its name has been assigned to `$tmp'.
53831 trap 'exit_status=$?
53832 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53834 trap '{ (exit 1); exit 1; }' 1 2 13 15
53836 # Create a (secure) tmp directory for tmp files.
53839 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53840 test -n "$tmp" && test -d "$tmp"
53843 tmp=./conf$$-$RANDOM
53844 (umask 077 && mkdir "$tmp")
53847 echo "$me: cannot create a temporary directory in ." >&2
53848 { (exit 1); exit 1; }
53852 # Set up the sed scripts for CONFIG_FILES section.
53855 # No need to generate the scripts if there are no CONFIG_FILES.
53856 # This happens for instance when ./config.status config.h
53857 if test -n "$CONFIG_FILES"; then
53864 for ac_last_try in false false false false false :; do
53865 cat >conf$$subs.sed <<_ACEOF
53866 SHELL!$SHELL$ac_delim
53867 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53868 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53869 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53870 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53871 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53872 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53873 exec_prefix!$exec_prefix$ac_delim
53874 prefix!$prefix$ac_delim
53875 program_transform_name!$program_transform_name$ac_delim
53876 bindir!$bindir$ac_delim
53877 sbindir!$sbindir$ac_delim
53878 libexecdir!$libexecdir$ac_delim
53879 datarootdir!$datarootdir$ac_delim
53880 datadir!$datadir$ac_delim
53881 sysconfdir!$sysconfdir$ac_delim
53882 sharedstatedir!$sharedstatedir$ac_delim
53883 localstatedir!$localstatedir$ac_delim
53884 includedir!$includedir$ac_delim
53885 oldincludedir!$oldincludedir$ac_delim
53886 docdir!$docdir$ac_delim
53887 infodir!$infodir$ac_delim
53888 htmldir!$htmldir$ac_delim
53889 dvidir!$dvidir$ac_delim
53890 pdfdir!$pdfdir$ac_delim
53891 psdir!$psdir$ac_delim
53892 libdir!$libdir$ac_delim
53893 localedir!$localedir$ac_delim
53894 mandir!$mandir$ac_delim
53895 DEFS!$DEFS$ac_delim
53896 ECHO_C!$ECHO_C$ac_delim
53897 ECHO_N!$ECHO_N$ac_delim
53898 ECHO_T!$ECHO_T$ac_delim
53899 LIBS!$LIBS$ac_delim
53900 build_alias!$build_alias$ac_delim
53901 host_alias!$host_alias$ac_delim
53902 target_alias!$target_alias$ac_delim
53903 build!$build$ac_delim
53904 build_cpu!$build_cpu$ac_delim
53905 build_vendor!$build_vendor$ac_delim
53906 build_os!$build_os$ac_delim
53907 host!$host$ac_delim
53908 host_cpu!$host_cpu$ac_delim
53909 host_vendor!$host_vendor$ac_delim
53910 host_os!$host_os$ac_delim
53911 target!$target$ac_delim
53912 target_cpu!$target_cpu$ac_delim
53913 target_vendor!$target_vendor$ac_delim
53914 target_os!$target_os$ac_delim
53915 wx_top_builddir!$wx_top_builddir$ac_delim
53917 CFLAGS!$CFLAGS$ac_delim
53918 LDFLAGS!$LDFLAGS$ac_delim
53919 CPPFLAGS!$CPPFLAGS$ac_delim
53920 ac_ct_CC!$ac_ct_CC$ac_delim
53921 EXEEXT!$EXEEXT$ac_delim
53922 OBJEXT!$OBJEXT$ac_delim
53924 GREP!$GREP$ac_delim
53925 EGREP!$EGREP$ac_delim
53927 CXXFLAGS!$CXXFLAGS$ac_delim
53928 ac_ct_CXX!$ac_ct_CXX$ac_delim
53929 RANLIB!$RANLIB$ac_delim
53931 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53932 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53933 INSTALL_DATA!$INSTALL_DATA$ac_delim
53934 STRIP!$STRIP$ac_delim
53935 WINDRES!$WINDRES$ac_delim
53936 DLLTOOL!$DLLTOOL$ac_delim
53937 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53938 LN_S!$LN_S$ac_delim
53939 subdirs!$subdirs$ac_delim
53940 PKG_CONFIG!$PKG_CONFIG$ac_delim
53941 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53942 GTK_LIBS!$GTK_LIBS$ac_delim
53943 GTK_CONFIG!$GTK_CONFIG$ac_delim
53944 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53945 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53946 XMKMF!$XMKMF$ac_delim
53947 X_CFLAGS!$X_CFLAGS$ac_delim
53948 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53949 X_LIBS!$X_LIBS$ac_delim
53950 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53951 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53952 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53953 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53954 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53955 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53956 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53957 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53958 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53960 DEREZ!$DEREZ$ac_delim
53961 SETFILE!$SETFILE$ac_delim
53962 LIBICONV!$LIBICONV$ac_delim
53965 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53967 elif $ac_last_try; then
53968 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53969 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53970 { (exit 1); exit 1; }; }
53972 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53976 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53977 if test -n "$ac_eof"; then
53978 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53979 ac_eof=`expr $ac_eof + 1`
53982 cat >>$CONFIG_STATUS <<_ACEOF
53983 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53987 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53988 s/^/s,@/; s/!/@,|#_!!_#|/
53991 s/'"$ac_delim"'$/,g/; t
53993 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53994 ' >>$CONFIG_STATUS <conf$$subs.sed
53995 rm -f conf$$subs.sed
53996 cat >>$CONFIG_STATUS <<_ACEOF
54002 for ac_last_try in false false false false false :; do
54003 cat >conf$$subs.sed <<_ACEOF
54004 SDL_CONFIG!$SDL_CONFIG$ac_delim
54005 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54006 SDL_LIBS!$SDL_LIBS$ac_delim
54007 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54008 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54009 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54010 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54011 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54012 HILDON_LIBS!$HILDON_LIBS$ac_delim
54013 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54014 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54015 GST_CFLAGS!$GST_CFLAGS$ac_delim
54016 GST_LIBS!$GST_LIBS$ac_delim
54017 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54018 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54019 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54020 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54021 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54022 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54023 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54024 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54025 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54026 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54027 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54028 VENDOR!$VENDOR$ac_delim
54029 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54030 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54031 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54032 WXUNIV!$WXUNIV$ac_delim
54033 MONOLITHIC!$MONOLITHIC$ac_delim
54034 USE_PLUGINS!$USE_PLUGINS$ac_delim
54035 CXXWARNINGS!$CXXWARNINGS$ac_delim
54036 EXTRALIBS!$EXTRALIBS$ac_delim
54037 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54038 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54039 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54040 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54041 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54042 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54043 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54044 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54045 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54046 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54047 UNICODE!$UNICODE$ac_delim
54048 BUILD!$BUILD$ac_delim
54049 DEBUG_INFO!$DEBUG_INFO$ac_delim
54050 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54051 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54052 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54053 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54054 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54055 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54056 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54057 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54058 SET_MAKE!$SET_MAKE$ac_delim
54059 MAKE_SET!$MAKE_SET$ac_delim
54060 AROPTIONS!$AROPTIONS$ac_delim
54062 INSTALL_DIR!$INSTALL_DIR$ac_delim
54063 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54064 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54065 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54066 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54067 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54068 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54069 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54070 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54071 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54072 SO_SUFFIX!$SO_SUFFIX$ac_delim
54073 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54074 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54075 LIBPREFIX!$LIBPREFIX$ac_delim
54076 LIBEXT!$LIBEXT$ac_delim
54077 DLLPREFIX!$DLLPREFIX$ac_delim
54078 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54079 dlldir!$dlldir$ac_delim
54080 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54081 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54082 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54083 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54084 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54085 PIC_FLAG!$PIC_FLAG$ac_delim
54086 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54087 USE_SOVERSION!$USE_SOVERSION$ac_delim
54088 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54089 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54090 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54091 USE_MACVERSION!$USE_MACVERSION$ac_delim
54092 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54093 SONAME_FLAG!$SONAME_FLAG$ac_delim
54094 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54095 BK_DEPS!$BK_DEPS$ac_delim
54096 GCC_PCH!$GCC_PCH$ac_delim
54097 ICC_PCH!$ICC_PCH$ac_delim
54098 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54099 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54100 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54103 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54105 elif $ac_last_try; then
54106 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54107 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54108 { (exit 1); exit 1; }; }
54110 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54114 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54115 if test -n "$ac_eof"; then
54116 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54117 ac_eof=`expr $ac_eof + 1`
54120 cat >>$CONFIG_STATUS <<_ACEOF
54121 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54125 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54126 s/^/s,@/; s/!/@,|#_!!_#|/
54129 s/'"$ac_delim"'$/,g/; t
54131 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54132 ' >>$CONFIG_STATUS <conf$$subs.sed
54133 rm -f conf$$subs.sed
54134 cat >>$CONFIG_STATUS <<_ACEOF
54140 for ac_last_try in false false false false false :; do
54141 cat >conf$$subs.sed <<_ACEOF
54142 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54143 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54144 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54145 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54146 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54147 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54148 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54149 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54150 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54151 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54152 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54153 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54154 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54155 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54156 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54157 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54158 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54159 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54160 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54161 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54162 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54163 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54164 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54165 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54166 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54167 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54168 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54169 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54170 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54171 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54172 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54173 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54174 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54175 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54176 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54177 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54178 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54179 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54180 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54181 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54182 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54183 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54184 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54185 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54186 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54187 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54188 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54189 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54190 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54191 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54192 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54193 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54194 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54195 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54196 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54197 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54198 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54199 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54200 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54201 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54202 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54203 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54204 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54205 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54206 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54207 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54208 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54209 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54210 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54211 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54212 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54213 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54214 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54215 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54216 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54217 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54218 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54219 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54220 COND_SHARED_0!$COND_SHARED_0$ac_delim
54221 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54222 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54223 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54224 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54225 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54226 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54227 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54228 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54229 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54230 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54231 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54232 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54233 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54234 COND_SHARED_1!$COND_SHARED_1$ac_delim
54235 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54236 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54237 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54238 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54241 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54243 elif $ac_last_try; then
54244 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54245 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54246 { (exit 1); exit 1; }; }
54248 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54252 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54253 if test -n "$ac_eof"; then
54254 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54255 ac_eof=`expr $ac_eof + 1`
54258 cat >>$CONFIG_STATUS <<_ACEOF
54259 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54260 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54263 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54264 s/^/s,@/; s/!/@,|#_!!_#|/
54267 s/'"$ac_delim"'$/,g/; t
54269 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54270 ' >>$CONFIG_STATUS <conf$$subs.sed
54271 rm -f conf$$subs.sed
54272 cat >>$CONFIG_STATUS <<_ACEOF
54278 for ac_last_try in false false false false false :; do
54279 cat >conf$$subs.sed <<_ACEOF
54280 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54281 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54282 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54283 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54284 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54285 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54287 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54288 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54289 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54290 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54291 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54292 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54293 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54294 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54295 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54296 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54297 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54298 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54299 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54300 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54301 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54302 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54303 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54304 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54305 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54306 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54307 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54308 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54309 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54310 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54311 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54312 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54313 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54314 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54315 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54316 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54317 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54318 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54319 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54320 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54321 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54322 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54323 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54324 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54325 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54326 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54327 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54328 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54329 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54330 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54331 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54332 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54333 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54334 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54335 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54336 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54337 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54338 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54339 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54340 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54341 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54342 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54343 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54344 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54345 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54346 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54347 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54348 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54349 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54350 SHARED!$SHARED$ac_delim
54351 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54352 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54353 USE_GUI!$USE_GUI$ac_delim
54354 AFMINSTALL!$AFMINSTALL$ac_delim
54355 WIN32INSTALL!$WIN32INSTALL$ac_delim
54356 TOOLKIT!$TOOLKIT$ac_delim
54357 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54358 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54359 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54360 cross_compiling!$cross_compiling$ac_delim
54361 WIDGET_SET!$WIDGET_SET$ac_delim
54362 WX_RELEASE!$WX_RELEASE$ac_delim
54363 WX_VERSION!$WX_VERSION$ac_delim
54364 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54365 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54366 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54367 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54368 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54369 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54370 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54371 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54372 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54373 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54374 EXE_LINKER!$EXE_LINKER$ac_delim
54375 GUIDIST!$GUIDIST$ac_delim
54376 DISTDIR!$DISTDIR$ac_delim
54379 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54381 elif $ac_last_try; then
54382 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54383 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54384 { (exit 1); exit 1; }; }
54386 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54390 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54391 if test -n "$ac_eof"; then
54392 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54393 ac_eof=`expr $ac_eof + 1`
54396 cat >>$CONFIG_STATUS <<_ACEOF
54397 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54398 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54401 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54402 s/^/s,@/; s/!/@,|#_!!_#|/
54405 s/'"$ac_delim"'$/,g/; t
54407 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54408 ' >>$CONFIG_STATUS <conf$$subs.sed
54409 rm -f conf$$subs.sed
54410 cat >>$CONFIG_STATUS <<_ACEOF
54416 for ac_last_try in false false false false false :; do
54417 cat >conf$$subs.sed <<_ACEOF
54418 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54419 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54420 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54421 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54422 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54423 RESCOMP!$RESCOMP$ac_delim
54424 RESFLAGS!$RESFLAGS$ac_delim
54425 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54426 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54427 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54428 LIBWXMACRES!$LIBWXMACRES$ac_delim
54429 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54430 MACSETFILE!$MACSETFILE$ac_delim
54432 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54433 LIBOBJS!$LIBOBJS$ac_delim
54434 LTLIBOBJS!$LTLIBOBJS$ac_delim
54437 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54439 elif $ac_last_try; then
54440 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54441 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54442 { (exit 1); exit 1; }; }
54444 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54448 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54449 if test -n "$ac_eof"; then
54450 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54451 ac_eof=`expr $ac_eof + 1`
54454 cat >>$CONFIG_STATUS <<_ACEOF
54455 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54456 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54459 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54460 s/^/s,@/; s/!/@,|#_!!_#|/
54463 s/'"$ac_delim"'$/,g/; t
54465 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54466 ' >>$CONFIG_STATUS <conf$$subs.sed
54467 rm -f conf$$subs.sed
54468 cat >>$CONFIG_STATUS <<_ACEOF
54475 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54476 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54477 # trailing colons and then remove the whole line if VPATH becomes empty
54478 # (actually we leave an empty line to preserve line numbers).
54479 if test "x$srcdir" = x.; then
54480 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54481 s/:*\$(srcdir):*/:/
54482 s/:*\${srcdir}:*/:/
54484 s/^\([^=]*=[ ]*\):*/\1/
54490 cat >>$CONFIG_STATUS <<\_ACEOF
54491 fi # test -n "$CONFIG_FILES"
54494 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54497 :[FHLC]) ac_mode=$ac_tag; continue;;
54499 case $ac_mode$ac_tag in
54501 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54502 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54503 { (exit 1); exit 1; }; };;
54504 :[FH]-) ac_tag=-:-;;
54505 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54522 -) ac_f="$tmp/stdin";;
54523 *) # Look for the file first in the build tree, then in the source tree
54524 # (if the path is not absolute). The absolute path cannot be DOS-style,
54525 # because $ac_f cannot contain `:'.
54529 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54531 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54532 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54533 { (exit 1); exit 1; }; };;
54535 ac_file_inputs="$ac_file_inputs $ac_f"
54538 # Let's still pretend it is `configure' which instantiates (i.e., don't
54539 # use $as_me), people would be surprised to read:
54540 # /* config.h. Generated by config.status. */
54541 configure_input="Generated from "`IFS=:
54542 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54543 if test x"$ac_file" != x-; then
54544 configure_input="$ac_file. $configure_input"
54545 { echo "$as_me:$LINENO: creating $ac_file" >&5
54546 echo "$as_me: creating $ac_file" >&6;}
54550 *:-:* | *:-) cat >"$tmp/stdin";;
54555 ac_dir=`$as_dirname -- "$ac_file" ||
54556 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54557 X"$ac_file" : 'X\(//\)[^/]' \| \
54558 X"$ac_file" : 'X\(//\)$' \| \
54559 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54565 /^X\(\/\/\)[^/].*/{
54580 -*) as_dir=./$as_dir;;
54582 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54586 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54587 *) as_qdir=$as_dir;;
54589 as_dirs="'$as_qdir' $as_dirs"
54590 as_dir=`$as_dirname -- "$as_dir" ||
54591 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54592 X"$as_dir" : 'X\(//\)[^/]' \| \
54593 X"$as_dir" : 'X\(//\)$' \| \
54594 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54600 /^X\(\/\/\)[^/].*/{
54613 test -d "$as_dir" && break
54615 test -z "$as_dirs" || eval "mkdir $as_dirs"
54616 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54617 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54618 { (exit 1); exit 1; }; }; }
54622 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54624 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54625 # A ".." for each directory in $ac_dir_suffix.
54626 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54627 case $ac_top_builddir_sub in
54628 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54629 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54632 ac_abs_top_builddir=$ac_pwd
54633 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54634 # for backward compatibility:
54635 ac_top_builddir=$ac_top_build_prefix
54638 .) # We are building in place.
54640 ac_top_srcdir=$ac_top_builddir_sub
54641 ac_abs_top_srcdir=$ac_pwd ;;
54642 [\\/]* | ?:[\\/]* ) # Absolute name.
54643 ac_srcdir=$srcdir$ac_dir_suffix;
54644 ac_top_srcdir=$srcdir
54645 ac_abs_top_srcdir=$srcdir ;;
54646 *) # Relative name.
54647 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54648 ac_top_srcdir=$ac_top_build_prefix$srcdir
54649 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54651 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54661 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54662 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54666 cat >>$CONFIG_STATUS <<\_ACEOF
54667 # If the template does not know about datarootdir, expand it.
54668 # FIXME: This hack should be removed a few years after 2.60.
54669 ac_datarootdir_hack=; ac_datarootdir_seen=
54671 case `sed -n '/datarootdir/ {
54680 ' $ac_file_inputs` in
54681 *datarootdir*) ac_datarootdir_seen=yes;;
54682 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54683 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54684 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54686 cat >>$CONFIG_STATUS <<_ACEOF
54687 ac_datarootdir_hack='
54688 s&@datadir@&$datadir&g
54689 s&@docdir@&$docdir&g
54690 s&@infodir@&$infodir&g
54691 s&@localedir@&$localedir&g
54692 s&@mandir@&$mandir&g
54693 s&\\\${datarootdir}&$datarootdir&g' ;;
54697 # Neutralize VPATH when `$srcdir' = `.'.
54698 # Shell code in configure.ac might set extrasub.
54699 # FIXME: do we really want to maintain this feature?
54700 cat >>$CONFIG_STATUS <<_ACEOF
54704 cat >>$CONFIG_STATUS <<\_ACEOF
54706 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54707 s&@configure_input@&$configure_input&;t t
54708 s&@top_builddir@&$ac_top_builddir_sub&;t t
54709 s&@srcdir@&$ac_srcdir&;t t
54710 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54711 s&@top_srcdir@&$ac_top_srcdir&;t t
54712 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54713 s&@builddir@&$ac_builddir&;t t
54714 s&@abs_builddir@&$ac_abs_builddir&;t t
54715 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54716 s&@INSTALL@&$ac_INSTALL&;t t
54717 $ac_datarootdir_hack
54718 " $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
54720 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54721 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54722 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54723 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54724 which seems to be undefined. Please make sure it is defined." >&5
54725 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54726 which seems to be undefined. Please make sure it is defined." >&2;}
54730 -) cat "$tmp/out"; rm -f "$tmp/out";;
54731 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54740 # Transform confdefs.h into a sed script `conftest.defines', that
54741 # substitutes the proper values into config.h.in to produce config.h.
54742 rm -f conftest.defines conftest.tail
54743 # First, append a space to every undef/define line, to ease matching.
54744 echo 's/$/ /' >conftest.defines
54745 # Then, protect against being on the right side of a sed subst, or in
54746 # an unquoted here document, in config.status. If some macros were
54747 # called several times there might be several #defines for the same
54748 # symbol, which is useless. But do not sort them, since the last
54749 # AC_DEFINE must be honored.
54750 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54751 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54752 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54753 # PARAMS is the parameter list in the macro definition--in most cases, it's
54754 # just an empty string.
54755 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54756 ac_dB='\\)[ (].*,\\1define\\2'
54764 s/^[ ]*#[ ]*define[ ][ ]*//
54769 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54770 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54771 ' >>conftest.defines
54773 # Remove the space that was appended to ease matching.
54774 # Then replace #undef with comments. This is necessary, for
54775 # example, in the case of _POSIX_SOURCE, which is predefined and required
54776 # on some systems where configure will not decide to define it.
54777 # (The regexp can be short, since the line contains either #define or #undef.)
54779 s,^[ #]*u.*,/* & */,' >>conftest.defines
54781 # Break up conftest.defines:
54782 ac_max_sed_lines=50
54784 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54785 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54786 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54788 ac_in='$ac_file_inputs'
54789 ac_out='"$tmp/out1"'
54790 ac_nxt='"$tmp/out2"'
54794 # Write a here document:
54795 cat >>$CONFIG_STATUS <<_ACEOF
54796 # First, check the format of the line:
54797 cat >"\$tmp/defines.sed" <<\\CEOF
54798 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54799 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54803 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54805 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54806 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54807 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54808 grep . conftest.tail >/dev/null || break
54809 rm -f conftest.defines
54810 mv conftest.tail conftest.defines
54812 rm -f conftest.defines conftest.tail
54814 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54815 cat >>$CONFIG_STATUS <<\_ACEOF
54816 if test x"$ac_file" != x-; then
54817 echo "/* $configure_input */" >"$tmp/config.h"
54818 cat "$ac_result" >>"$tmp/config.h"
54819 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54820 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54821 echo "$as_me: $ac_file is unchanged" >&6;}
54824 mv "$tmp/config.h" $ac_file
54827 echo "/* $configure_input */"
54833 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54834 echo "$as_me: executing $ac_file commands" >&6;}
54839 case $ac_file$ac_mode in
54841 mkdir -p $outdir &&
54842 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54844 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54845 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54846 "wx-config":C) rm -f wx-config
54847 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54854 { (exit 0); exit 0; }
54856 chmod +x $CONFIG_STATUS
54857 ac_clean_files=$ac_clean_files_save
54860 # configure is writing to config.log, and then calls config.status.
54861 # config.status does its own redirection, appending to config.log.
54862 # Unfortunately, on DOS this fails, as config.log is still kept open
54863 # by configure, so config.status won't be able to write to it; its
54864 # output is simply discarded. So we exec the FD to /dev/null,
54865 # effectively closing config.log, so it can be properly (re)opened and
54866 # appended to by config.status. When coming back to configure, we
54867 # need to make the FD available again.
54868 if test "$no_create" != yes; then
54870 ac_config_status_args=
54871 test "$silent" = yes &&
54872 ac_config_status_args="$ac_config_status_args --quiet"
54874 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54876 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54877 # would make configure fail if this is the last instruction.
54878 $ac_cs_success || { (exit 1); exit 1; }
54882 # CONFIG_SUBDIRS section.
54884 if test "$no_recursion" != yes; then
54886 # Remove --cache-file and --srcdir arguments so they do not pile up.
54887 ac_sub_configure_args=
54889 eval "set x $ac_configure_args"
54893 if test -n "$ac_prev"; then
54898 -cache-file | --cache-file | --cache-fil | --cache-fi \
54899 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54900 ac_prev=cache_file ;;
54901 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54902 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54905 --config-cache | -C)
54907 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54909 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54911 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54913 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54917 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54919 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54923 # Always prepend --prefix to ensure using the same prefix
54924 # in subdir configurations.
54925 ac_arg="--prefix=$prefix"
54927 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54929 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54932 if test "$silent" = yes; then
54933 ac_sub_configure_args="--silent $ac_sub_configure_args"
54937 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54939 # Do not complain, so a configure script can configure whichever
54940 # parts of a large source tree are present.
54941 test -d "$srcdir/$ac_dir" || continue
54943 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54944 echo "$as_me:$LINENO: $ac_msg" >&5
54948 -*) as_dir=./$as_dir;;
54950 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54954 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54955 *) as_qdir=$as_dir;;
54957 as_dirs="'$as_qdir' $as_dirs"
54958 as_dir=`$as_dirname -- "$as_dir" ||
54959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54960 X"$as_dir" : 'X\(//\)[^/]' \| \
54961 X"$as_dir" : 'X\(//\)$' \| \
54962 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54968 /^X\(\/\/\)[^/].*/{
54981 test -d "$as_dir" && break
54983 test -z "$as_dirs" || eval "mkdir $as_dirs"
54984 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54985 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54986 { (exit 1); exit 1; }; }; }
54990 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54992 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54993 # A ".." for each directory in $ac_dir_suffix.
54994 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54995 case $ac_top_builddir_sub in
54996 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54997 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55000 ac_abs_top_builddir=$ac_pwd
55001 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55002 # for backward compatibility:
55003 ac_top_builddir=$ac_top_build_prefix
55006 .) # We are building in place.
55008 ac_top_srcdir=$ac_top_builddir_sub
55009 ac_abs_top_srcdir=$ac_pwd ;;
55010 [\\/]* | ?:[\\/]* ) # Absolute name.
55011 ac_srcdir=$srcdir$ac_dir_suffix;
55012 ac_top_srcdir=$srcdir
55013 ac_abs_top_srcdir=$srcdir ;;
55014 *) # Relative name.
55015 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55016 ac_top_srcdir=$ac_top_build_prefix$srcdir
55017 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55019 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55024 # Check for guested configure; otherwise get Cygnus style configure.
55025 if test -f "$ac_srcdir/configure.gnu"; then
55026 ac_sub_configure=$ac_srcdir/configure.gnu
55027 elif test -f "$ac_srcdir/configure"; then
55028 ac_sub_configure=$ac_srcdir/configure
55029 elif test -f "$ac_srcdir/configure.in"; then
55030 # This should be Cygnus configure.
55031 ac_sub_configure=$ac_aux_dir/configure
55033 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55034 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55038 # The recursion is here.
55039 if test -n "$ac_sub_configure"; then
55040 # Make the cache file name correct relative to the subdirectory.
55041 case $cache_file in
55042 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55043 *) # Relative name.
55044 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55047 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55048 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55049 # The eval makes quoting arguments work.
55050 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55051 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55052 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55053 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55054 { (exit 1); exit 1; }; }
55063 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55065 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55066 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55068 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55069 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55070 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
55071 if test "$wxUSE_UNICODE" = "yes"; then
55072 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55073 echo " (using UTF-8)"
55075 echo " (using wchar_t)"
55081 echo " What level of wxWidgets compatibility should be enabled?"
55082 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55083 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55085 echo " Which libraries should wxWidgets use?"
55086 echo " jpeg ${wxUSE_LIBJPEG-none}"
55087 echo " png ${wxUSE_LIBPNG-none}"
55088 echo " regex ${wxUSE_REGEX}"
55089 echo " tiff ${wxUSE_LIBTIFF-none}"
55090 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55091 echo " xpm ${wxUSE_LIBXPM-none}"
55093 echo " zlib ${wxUSE_ZLIB}"
55094 echo " odbc ${wxUSE_ODBC}"
55095 echo " expat ${wxUSE_EXPAT}"
55096 echo " libmspack ${wxUSE_LIBMSPACK}"
55097 echo " sdl ${wxUSE_LIBSDL}"