2 # From configure.in Id: configure.in 47513 2007-07-16 21:20:54Z 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-fontmap use font encodings conversion classes
1704 --enable-fs_archive use virtual archive filesystems
1705 --enable-fs_inet use virtual HTTP/FTP filesystems
1706 --enable-fs_zip now replaced by fs_archive
1707 --enable-geometry use geometry class
1708 --enable-log use logging system
1709 --enable-longlong use wxLongLong class
1710 --enable-mimetype use wxMimeTypesManager
1711 --enable-snglinst use wxSingleInstanceChecker class
1712 --enable-stdpaths use wxStandardPaths class
1713 --enable-stopwatch use wxStopWatch class
1714 --enable-streams use wxStream etc classes
1715 --enable-sysoptions use wxSystemOptions
1716 --enable-tarstream use wxTar streams
1717 --enable-textbuf use wxTextBuffer class
1718 --enable-textfile use wxTextFile class
1719 --enable-timer use wxTimer class
1720 --enable-sound use wxSound class
1721 --enable-mediactrl use wxMediaCtrl class
1722 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1723 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1724 --enable-zipstream use wxZip streams
1725 --enable-url use wxURL class
1726 --enable-variant use wxVariant class
1727 --enable-protocol use wxProtocol class
1728 --enable-protocol-http HTTP support in wxProtocol
1729 --enable-protocol-ftp FTP support in wxProtocol
1730 --enable-protocol-file FILE support in wxProtocol
1731 --enable-threads use threads
1732 --enable-docview use document view architecture
1733 --enable-help use help subsystem
1734 --enable-mshtmlhelp use MS HTML Help (win32)
1735 --enable-html use wxHTML sub-library
1736 --enable-htmlhelp use wxHTML-based help
1737 --enable-xrc use XRC resources sub-library
1738 --enable-aui use AUI docking library
1739 --enable-stc use wxStyledTextCtrl library
1740 --enable-constraints use layout-constraints system
1741 --enable-printarch use printing architecture
1742 --enable-mdi use multiple document interface architecture
1743 --enable-mdidoc use docview architecture with MDI
1744 --enable-loggui use standard GUI logger
1745 --enable-logwin use wxLogWindow
1746 --enable-logdialog use wxLogDialog
1747 --enable-webkit use wxWebKitCtrl (Mac)
1748 --enable-richtext use wxRichTextCtrl
1749 --enable-graphics_ctx use graphics context 2D drawing API
1750 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1751 --enable-svg use wxSVGFileDC device context
1752 --enable-clipboard use wxClipboard class
1753 --enable-dnd use Drag'n'Drop classes
1754 --enable-metafile use win32 metafiles
1755 --disable-controls disable compilation of all standard controls
1756 --enable-accel use accelerators
1757 --enable-animatectrl use wxAnimationCtrl class
1758 --enable-button use wxButton class
1759 --enable-bmpbutton use wxBitmapButton class
1760 --enable-bmpcombobox use wxBitmapComboBox class
1761 --enable-calendar use wxCalendarCtrl class
1762 --enable-caret use wxCaret class
1763 --enable-checkbox use wxCheckBox class
1764 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1765 --enable-choice use wxChoice class
1766 --enable-choicebook use wxChoicebook class
1767 --enable-collpane use wxCollapsiblePane class
1768 --enable-colourpicker use wxColourPickerCtrl class
1769 --enable-combobox use wxComboBox class
1770 --enable-comboctrl use wxComboCtrl class
1771 --enable-datepick use wxDatePickerCtrl class
1772 --enable-dirpicker use wxDirPickerCtrl class
1773 --enable-display use wxDisplay class
1774 --enable-detect_sm use code to detect X11 session manager
1775 --enable-editablebox use wxEditableListBox class
1776 --enable-filepicker use wxFilePickerCtrl class
1777 --enable-fontpicker use wxFontPickerCtrl class
1778 --enable-gauge use wxGauge class
1779 --enable-grid use wxGrid class
1780 --enable-dataviewctrl use wxDataViewCtrl class
1781 --enable-hyperlink use wxHyperlinkCtrl class
1782 --enable-imaglist use wxImageList class
1783 --enable-listbook use wxListbook class
1784 --enable-listbox use wxListBox class
1785 --enable-listctrl use wxListCtrl class
1786 --enable-notebook use wxNotebook class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-textctrl use wxTextCtrl class
1804 --enable-togglebtn use wxToggleButton class
1805 --enable-toolbar use wxToolBar class
1806 --enable-tbarnative use native wxToolBar class
1807 --enable-treebook use wxTreebook class
1808 --enable-toolbook use wxToolbook class
1809 --enable-treectrl use wxTreeCtrl class
1810 --enable-tipwindow use wxTipWindow class
1811 --enable-popupwin use wxPopUpWindow class
1812 --enable-commondlg use all common dialogs
1813 --enable-aboutdlg use wxAboutBox
1814 --enable-choicedlg use wxChoiceDialog
1815 --enable-coldlg use wxColourDialog
1816 --enable-filedlg use wxFileDialog
1817 --enable-finddlg use wxFindReplaceDialog
1818 --enable-fontdlg use wxFontDialog
1819 --enable-dirdlg use wxDirDialog
1820 --enable-msgdlg use wxMessageDialog
1821 --enable-numberdlg use wxNumberEntryDialog
1822 --enable-splash use wxSplashScreen
1823 --enable-textdlg use wxTextDialog
1824 --enable-tipdlg use startup tips
1825 --enable-progressdlg use wxProgressDialog
1826 --enable-wizarddlg use wxWizard
1827 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1828 --enable-miniframe use wxMiniFrame class
1829 --enable-tooltips use wxToolTip class
1830 --enable-splines use spline drawing code
1831 --enable-mousewheel use mousewheel
1832 --enable-validators use wxValidator and derived classes
1833 --enable-busyinfo use wxBusyInfo
1834 --enable-joystick use wxJoystick
1835 --enable-metafiles use wxMetaFile (Win32 only)
1836 --enable-dragimage use wxDragImage
1837 --enable-accessibility enable accessibility support
1838 --enable-dccache cache temporary wxDC objects (Win32 only)
1839 --enable-palette use wxPalette class
1840 --enable-image use wxImage class
1841 --enable-gif use gif images (GIF file format)
1842 --enable-pcx use pcx images (PCX file format)
1843 --enable-tga use tga images (TGA file format)
1844 --enable-iff use iff images (IFF file format)
1845 --enable-pnm use pnm images (PNM file format)
1846 --enable-xpm use xpm images (XPM file format)
1847 --enable-icocur use Windows ICO and CUR formats
1848 --disable-largefile omit support for large files
1849 --disable-gtktest do not try to compile and run a test GTK+ program
1850 --disable-gtktest Do not try to compile and run a test GTK program
1851 --disable-sdltest Do not try to compile and run a test SDL program
1852 --enable-omf use OMF object format (OS/2)
1853 --disable-dependency-tracking
1854 don't use dependency tracking even if the compiler
1856 --disable-precomp-headers
1857 don't use precompiled headers even if compiler can
1860 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1861 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1862 --without-subdirs don't generate makefiles for samples/demos/...
1863 --with-flavour=NAME specify a name to identify this build
1864 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1865 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1866 --with-motif use Motif/Lesstif
1867 --with-mac use Mac OS X
1868 --with-cocoa use Cocoa
1869 --with-wine use Wine
1870 --with-msw use MS-Windows
1871 --with-pm use OS/2 Presentation Manager
1872 --with-mgl use SciTech MGL
1873 --with-directfb use DirectFB
1874 --with-microwin use MicroWindows
1876 --with-libpng use libpng (PNG image format)
1877 --with-libjpeg use libjpeg (JPEG file format)
1878 --with-libtiff use libtiff (TIFF file format)
1879 --with-libxpm use libxpm (XPM file format)
1880 --with-libmspack use libmspack (CHM help files loading)
1881 --without-gnomeprint don't use GNOME printing libraries
1882 --with-gnomevfs use GNOME VFS for associating MIME types
1883 --with-hildon use Hildon framework for Nokia 770
1884 --with-opengl use OpenGL (or Mesa)
1885 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1886 --with-sdl use SDL for audio on Unix
1887 --with-regex enable support for wxRegEx class
1888 --with-zlib use zlib for LZW compression
1889 --with-odbc use the IODBC and wxODBC classes
1890 --with-expat enable XML support using expat parser
1891 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1892 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1893 --with-x use the X Window System
1894 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1895 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1896 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1897 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1898 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1900 Some influential environment variables:
1901 CC C compiler command
1902 CFLAGS C compiler flags
1903 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1904 nonstandard directory <lib dir>
1905 LIBS libraries to pass to the linker, e.g. -l<library>
1906 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1907 you have headers in a nonstandard directory <include dir>
1909 CXX C++ compiler command
1910 CXXFLAGS C++ compiler flags
1911 PKG_CONFIG path to pkg-config utility
1913 C compiler flags for DIRECTFB, overriding pkg-config
1915 linker flags for DIRECTFB, overriding pkg-config
1916 XMKMF Path to xmkmf, Makefile generator for X Window System
1918 C compiler flags for PANGOX, overriding pkg-config
1919 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1921 C compiler flags for PANGOFT2, overriding pkg-config
1923 linker flags for PANGOFT2, overriding pkg-config
1925 C compiler flags for PANGOXFT, overriding pkg-config
1927 linker flags for PANGOXFT, overriding pkg-config
1928 LIBGNOMEPRINTUI_CFLAGS
1929 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1930 LIBGNOMEPRINTUI_LIBS
1931 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1933 C compiler flags for GNOMEVFS, overriding pkg-config
1935 linker flags for GNOMEVFS, overriding pkg-config
1937 C compiler flags for HILDON, overriding pkg-config
1938 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1940 C compiler flags for CAIRO, overriding pkg-config
1941 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1942 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1943 GST_LIBS linker flags for GST, overriding pkg-config
1945 Use these variables to override the choices made by `configure' or to help
1946 it to find libraries and programs with nonstandard names/locations.
1948 Report bugs to <wx-dev@lists.wxwidgets.org>.
1953 if test "$ac_init_help" = "recursive"; then
1954 # If there are subdirs, report their specific --help.
1955 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1956 test -d "$ac_dir" || continue
1960 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1962 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1963 # A ".." for each directory in $ac_dir_suffix.
1964 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1965 case $ac_top_builddir_sub in
1966 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1967 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1970 ac_abs_top_builddir=$ac_pwd
1971 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1972 # for backward compatibility:
1973 ac_top_builddir=$ac_top_build_prefix
1976 .) # We are building in place.
1978 ac_top_srcdir=$ac_top_builddir_sub
1979 ac_abs_top_srcdir=$ac_pwd ;;
1980 [\\/]* | ?:[\\/]* ) # Absolute name.
1981 ac_srcdir=$srcdir$ac_dir_suffix;
1982 ac_top_srcdir=$srcdir
1983 ac_abs_top_srcdir=$srcdir ;;
1985 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1986 ac_top_srcdir=$ac_top_build_prefix$srcdir
1987 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1989 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1991 cd "$ac_dir" || { ac_status=$?; continue; }
1992 # Check for guested configure.
1993 if test -f "$ac_srcdir/configure.gnu"; then
1995 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1996 elif test -f "$ac_srcdir/configure"; then
1998 $SHELL "$ac_srcdir/configure" --help=recursive
2000 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2002 cd "$ac_pwd" || { ac_status=$?; break; }
2006 test -n "$ac_init_help" && exit $ac_status
2007 if $ac_init_version; then
2009 wxWidgets configure 2.9.0
2010 generated by GNU Autoconf 2.61
2012 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2013 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2014 This configure script is free software; the Free Software Foundation
2015 gives unlimited permission to copy, distribute and modify it.
2019 cat >config.log <<_ACEOF
2020 This file contains any messages produced by compilers while
2021 running configure, to aid debugging if configure makes a mistake.
2023 It was created by wxWidgets $as_me 2.9.0, which was
2024 generated by GNU Autoconf 2.61. Invocation command line was
2036 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2037 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2038 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2039 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2040 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2042 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2043 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2045 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2046 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2047 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2048 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2049 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2050 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2051 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 test -z "$as_dir" && as_dir=.
2060 echo "PATH: $as_dir"
2076 # Keep a trace of the command line.
2077 # Strip out --no-create and --no-recursion so they do not pile up.
2078 # Strip out --silent because we don't want to record it for future runs.
2079 # Also quote any args containing shell meta-characters.
2080 # Make two passes to allow for proper duplicate-argument suppression.
2084 ac_must_keep_next=false
2090 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2092 | -silent | --silent | --silen | --sile | --sil)
2095 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2098 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2100 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2101 if test $ac_must_keep_next = true; then
2102 ac_must_keep_next=false # Got value, back to normal.
2105 *=* | --config-cache | -C | -disable-* | --disable-* \
2106 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2107 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2108 | -with-* | --with-* | -without-* | --without-* | --x)
2109 case "$ac_configure_args0 " in
2110 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2113 -* ) ac_must_keep_next=true ;;
2116 ac_configure_args="$ac_configure_args '$ac_arg'"
2121 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2122 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2124 # When interrupted or exit'd, cleanup temporary files, and complete
2125 # config.log. We remove comments because anyway the quotes in there
2126 # would cause problems or look ugly.
2127 # WARNING: Use '\'' to represent an apostrophe within the trap.
2128 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2129 trap 'exit_status=$?
2130 # Save into config.log some information that might help in debugging.
2135 ## ---------------- ##
2136 ## Cache variables. ##
2137 ## ---------------- ##
2140 # The following way of writing the cache mishandles newlines in values,
2142 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2143 eval ac_val=\$$ac_var
2147 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2148 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2151 _ | IFS | as_nl) ;; #(
2152 *) $as_unset $ac_var ;;
2157 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2158 *${as_nl}ac_space=\ *)
2160 "s/'\''/'\''\\\\'\'''\''/g;
2161 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2164 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2172 ## ----------------- ##
2173 ## Output variables. ##
2174 ## ----------------- ##
2177 for ac_var in $ac_subst_vars
2179 eval ac_val=\$$ac_var
2181 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2183 echo "$ac_var='\''$ac_val'\''"
2187 if test -n "$ac_subst_files"; then
2189 ## ------------------- ##
2190 ## File substitutions. ##
2191 ## ------------------- ##
2194 for ac_var in $ac_subst_files
2196 eval ac_val=\$$ac_var
2198 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2200 echo "$ac_var='\''$ac_val'\''"
2205 if test -s confdefs.h; then
2215 test "$ac_signal" != 0 &&
2216 echo "$as_me: caught signal $ac_signal"
2217 echo "$as_me: exit $exit_status"
2219 rm -f core *.core core.conftest.* &&
2220 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2223 for ac_signal in 1 2 13 15; do
2224 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2228 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2229 rm -f -r conftest* confdefs.h
2231 # Predefined preprocessor variables.
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_NAME "$PACKAGE_NAME"
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_STRING "$PACKAGE_STRING"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2258 # Let the site file select an alternate cache file if it wants to.
2259 # Prefer explicitly selected file to automatically selected ones.
2260 if test -n "$CONFIG_SITE"; then
2261 set x "$CONFIG_SITE"
2262 elif test "x$prefix" != xNONE; then
2263 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2265 set x "$ac_default_prefix/share/config.site" \
2266 "$ac_default_prefix/etc/config.site"
2271 if test -r "$ac_site_file"; then
2272 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2273 echo "$as_me: loading site script $ac_site_file" >&6;}
2274 sed 's/^/| /' "$ac_site_file" >&5
2279 if test -r "$cache_file"; then
2280 # Some versions of bash will fail to source /dev/null (special
2281 # files actually), so we avoid doing that.
2282 if test -f "$cache_file"; then
2283 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2284 echo "$as_me: loading cache $cache_file" >&6;}
2286 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2287 *) . "./$cache_file";;
2291 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2292 echo "$as_me: creating cache $cache_file" >&6;}
2296 # Check that the precious variables saved in the cache have kept the same
2298 ac_cache_corrupted=false
2299 for ac_var in $ac_precious_vars; do
2300 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2301 eval ac_new_set=\$ac_env_${ac_var}_set
2302 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2303 eval ac_new_val=\$ac_env_${ac_var}_value
2304 case $ac_old_set,$ac_new_set in
2306 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2307 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2308 ac_cache_corrupted=: ;;
2310 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2311 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2312 ac_cache_corrupted=: ;;
2315 if test "x$ac_old_val" != "x$ac_new_val"; then
2316 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2317 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2318 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2319 echo "$as_me: former value: $ac_old_val" >&2;}
2320 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2321 echo "$as_me: current value: $ac_new_val" >&2;}
2322 ac_cache_corrupted=:
2325 # Pass precious variables to config.status.
2326 if test "$ac_new_set" = set; then
2328 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2329 *) ac_arg=$ac_var=$ac_new_val ;;
2331 case " $ac_configure_args " in
2332 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2333 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2337 if $ac_cache_corrupted; then
2338 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2339 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2340 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2341 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2342 { (exit 1); exit 1; }; }
2370 ac_cpp='$CPP $CPPFLAGS'
2371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2380 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2381 if test -f "$ac_dir/install-sh"; then
2383 ac_install_sh="$ac_aux_dir/install-sh -c"
2385 elif test -f "$ac_dir/install.sh"; then
2387 ac_install_sh="$ac_aux_dir/install.sh -c"
2389 elif test -f "$ac_dir/shtool"; then
2391 ac_install_sh="$ac_aux_dir/shtool install -c"
2395 if test -z "$ac_aux_dir"; then
2396 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2397 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2398 { (exit 1); exit 1; }; }
2401 # These three variables are undocumented and unsupported,
2402 # and are intended to be withdrawn in a future Autoconf release.
2403 # They can cause serious problems if a builder's source tree is in a directory
2404 # whose full name contains unusual characters.
2405 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2406 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2407 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2410 # Make sure we can run config.sub.
2411 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2412 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2413 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2414 { (exit 1); exit 1; }; }
2416 { echo "$as_me:$LINENO: checking build system type" >&5
2417 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2418 if test "${ac_cv_build+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2421 ac_build_alias=$build_alias
2422 test "x$ac_build_alias" = x &&
2423 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2424 test "x$ac_build_alias" = x &&
2425 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2426 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2427 { (exit 1); exit 1; }; }
2428 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2429 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2430 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2431 { (exit 1); exit 1; }; }
2434 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2435 echo "${ECHO_T}$ac_cv_build" >&6; }
2436 case $ac_cv_build in
2438 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2439 echo "$as_me: error: invalid value of canonical build" >&2;}
2440 { (exit 1); exit 1; }; };;
2443 ac_save_IFS=$IFS; IFS='-'
2449 # Remember, the first character of IFS is used to create $*,
2450 # except with old shells:
2453 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2456 { echo "$as_me:$LINENO: checking host system type" >&5
2457 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2458 if test "${ac_cv_host+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2461 if test "x$host_alias" = x; then
2462 ac_cv_host=$ac_cv_build
2464 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2465 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2466 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2467 { (exit 1); exit 1; }; }
2471 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2472 echo "${ECHO_T}$ac_cv_host" >&6; }
2475 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2476 echo "$as_me: error: invalid value of canonical host" >&2;}
2477 { (exit 1); exit 1; }; };;
2480 ac_save_IFS=$IFS; IFS='-'
2486 # Remember, the first character of IFS is used to create $*,
2487 # except with old shells:
2490 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2493 { echo "$as_me:$LINENO: checking target system type" >&5
2494 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2495 if test "${ac_cv_target+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 if test "x$target_alias" = x; then
2499 ac_cv_target=$ac_cv_host
2501 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2502 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2503 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2504 { (exit 1); exit 1; }; }
2508 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2509 echo "${ECHO_T}$ac_cv_target" >&6; }
2510 case $ac_cv_target in
2512 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2513 echo "$as_me: error: invalid value of canonical target" >&2;}
2514 { (exit 1); exit 1; }; };;
2516 target=$ac_cv_target
2517 ac_save_IFS=$IFS; IFS='-'
2523 # Remember, the first character of IFS is used to create $*,
2524 # except with old shells:
2527 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2530 # The aliases save the names the user supplied, while $host etc.
2531 # will get canonicalized.
2532 test -n "$target_alias" &&
2533 test "$program_prefix$program_suffix$program_transform_name" = \
2535 program_prefix=${target_alias}-
2539 wx_major_version_number=2
2540 wx_minor_version_number=9
2542 wx_subrelease_number=0
2544 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2545 WX_VERSION=$WX_RELEASE.$wx_release_number
2546 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2548 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2551 wx_top_builddir="`pwd`"
2564 USE_BSD= USE_DARWIN= USE_FREEBSD=
2570 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2576 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2578 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2580 DEFAULT_wxUSE_COCOA=0
2584 DEFAULT_wxUSE_MICROWIN=0
2585 DEFAULT_wxUSE_MOTIF=0
2591 DEFAULT_DEFAULT_wxUSE_COCOA=0
2592 DEFAULT_DEFAULT_wxUSE_GTK=0
2593 DEFAULT_DEFAULT_wxUSE_MAC=0
2594 DEFAULT_DEFAULT_wxUSE_MGL=0
2595 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2596 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2597 DEFAULT_DEFAULT_wxUSE_MSW=0
2598 DEFAULT_DEFAULT_wxUSE_PM=0
2599 DEFAULT_DEFAULT_wxUSE_X11=0
2600 DEFAULT_DEFAULT_wxUSE_DFB=0
2605 SAMPLES_RPATH_POSTLINK=
2607 DEFAULT_STD_FLAG=yes
2612 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2613 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2615 cat >>confdefs.h <<\_ACEOF
2620 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2624 cat >>confdefs.h <<\_ACEOF
2629 if test "x$TMP" = "xalpha"; then
2631 cat >>confdefs.h <<\_ACEOF
2636 DEFAULT_DEFAULT_wxUSE_GTK=1
2638 *-*-gnu* | *-*-k*bsd*-gnu )
2641 if test "x$TMP" = "xalpha"; then
2643 cat >>confdefs.h <<\_ACEOF
2648 DEFAULT_DEFAULT_wxUSE_GTK=1
2650 *-*-irix5* | *-*-irix6* )
2653 cat >>confdefs.h <<\_ACEOF
2657 cat >>confdefs.h <<\_ACEOF
2661 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2667 cat >>confdefs.h <<\_ACEOF
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __SOLARIS__ 1
2675 cat >>confdefs.h <<\_ACEOF
2679 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2680 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2686 cat >>confdefs.h <<\_ACEOF
2690 cat >>confdefs.h <<\_ACEOF
2694 cat >>confdefs.h <<\_ACEOF
2698 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __FREEBSD__ 1
2707 cat >>confdefs.h <<\_ACEOF
2711 DEFAULT_DEFAULT_wxUSE_GTK=1
2713 *-*-openbsd*|*-*-mirbsd*)
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __OPENBSD__ 1
2720 cat >>confdefs.h <<\_ACEOF
2724 DEFAULT_DEFAULT_wxUSE_GTK=1
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __NETBSD__ 1
2733 cat >>confdefs.h <<\_ACEOF
2737 DEFAULT_DEFAULT_wxUSE_GTK=1
2738 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2740 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2745 cat >>confdefs.h <<\_ACEOF
2749 cat >>confdefs.h <<\_ACEOF
2753 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2754 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2759 cat >>confdefs.h <<\_ACEOF
2763 cat >>confdefs.h <<\_ACEOF
2767 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2772 cat >>confdefs.h <<\_ACEOF
2776 cat >>confdefs.h <<\_ACEOF
2780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2787 cat >>confdefs.h <<\_ACEOF
2791 cat >>confdefs.h <<\_ACEOF
2795 cat >>confdefs.h <<\_ACEOF
2799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __UNIXWARE__ 1
2812 *-*-cygwin* | *-*-mingw32* )
2815 DEFAULT_DEFAULT_wxUSE_MSW=1
2821 cat >>confdefs.h <<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_MGL=1
2829 *-pc-os2_emx | *-pc-os2-emx )
2830 cat >>confdefs.h <<\_ACEOF
2835 cat >>confdefs.h <<\_ACEOF
2840 DEFAULT_DEFAULT_wxUSE_PM=1
2842 LDFLAGS="$LDFLAGS -Zcrtdll"
2843 ac_executable_extensions=".exe"
2844 export ac_executable_extensions
2848 for ac_dir in $PATH; do
2850 if test -z "$ac_TEMP_PATH"; then
2851 ac_TEMP_PATH="$ac_dir"
2853 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2856 export PATH="$ac_TEMP_PATH"
2865 cat >>confdefs.h <<\_ACEOF
2869 cat >>confdefs.h <<\_ACEOF
2870 #define __DARWIN__ 1
2873 cat >>confdefs.h <<\_ACEOF
2874 #define TARGET_CARBON 1
2877 DEFAULT_DEFAULT_wxUSE_MAC=1
2880 powerpc-apple-macos* )
2882 ac_cv_c_bigendian=yes
2884 DEFAULT_DEFAULT_wxUSE_MAC=1
2890 cat >>confdefs.h <<\_ACEOF
2897 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2898 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2899 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2900 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2902 DEFAULT_DEFAULT_wxUSE_X11=1
2903 DEFAULT_wxUSE_SHARED=no
2909 wx_arg_cache_file="configarg.cache"
2910 echo "loading argument cache $wx_arg_cache_file"
2911 rm -f ${wx_arg_cache_file}.tmp
2912 touch ${wx_arg_cache_file}.tmp
2913 touch ${wx_arg_cache_file}
2916 DEFAULT_wxUSE_ALL_FEATURES=yes
2918 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2919 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2921 DEFAULT_wxUSE_DMALLOC=no
2922 DEFAULT_wxUSE_LIBGNOMEVFS=no
2923 DEFAULT_wxUSE_LIBHILDON=no
2924 DEFAULT_wxUSE_LIBMSPACK=no
2925 DEFAULT_wxUSE_LIBSDL=no
2926 DEFAULT_wxUSE_ODBC=no
2927 DEFAULT_wxUSE_OPENGL=no
2929 DEFAULT_wxUSE_ACCESSIBILITY=no
2930 DEFAULT_wxUSE_DATAVIEWCTRL=no
2931 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2932 DEFAULT_wxUSE_MEDIACTRL=no
2933 DEFAULT_wxUSE_TAB_DIALOG=no
2935 DEFAULT_wxUSE_UNICODE_UTF8=auto
2936 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2938 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2940 DEFAULT_wxUSE_GTK2=yes
2942 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2945 for toolkit in `echo $ALL_TOOLKITS`; do
2946 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2947 if test "x$LINE" != "x" ; then
2948 has_toolkit_in_cache=1
2949 eval "DEFAULT_$LINE"
2950 eval "CACHE_$toolkit=1"
2952 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2953 if test "x$LINE" != "x" ; then
2954 eval "DEFAULT_$LINE"
2963 enablestring=disable
2965 if test -z "$defaultval"; then
2966 if test x"$enablestring" = xdisable; then
2973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2974 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2976 # Check whether --enable-gui was given.
2977 if test "${enable_gui+set}" = set; then
2978 enableval=$enable_gui;
2979 if test "$enableval" = yes; then
2980 wx_cv_use_gui='wxUSE_GUI=yes'
2982 wx_cv_use_gui='wxUSE_GUI=no'
2987 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2988 if test "x$LINE" != x ; then
2989 eval "DEFAULT_$LINE"
2994 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2999 eval "$wx_cv_use_gui"
3000 if test "$no_cache" != 1; then
3001 echo $wx_cv_use_gui >> ${wx_arg_cache_file}.tmp
3004 if test x"$enablestring" = xdisable; then
3005 if test $wxUSE_GUI = yes; then
3014 { echo "$as_me:$LINENO: result: $result" >&5
3015 echo "${ECHO_T}$result" >&6; }
3020 if test -z "$defaultval"; then
3021 if test x"$enablestring" = xdisable; then
3028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3029 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3031 # Check whether --enable-monolithic was given.
3032 if test "${enable_monolithic+set}" = set; then
3033 enableval=$enable_monolithic;
3034 if test "$enableval" = yes; then
3035 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3037 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3042 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3043 if test "x$LINE" != x ; then
3044 eval "DEFAULT_$LINE"
3049 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3054 eval "$wx_cv_use_monolithic"
3055 if test "$no_cache" != 1; then
3056 echo $wx_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3059 if test x"$enablestring" = xdisable; then
3060 if test $wxUSE_MONOLITHIC = yes; then
3066 result=$wxUSE_MONOLITHIC
3069 { echo "$as_me:$LINENO: result: $result" >&5
3070 echo "${ECHO_T}$result" >&6; }
3075 if test -z "$defaultval"; then
3076 if test x"$enablestring" = xdisable; then
3083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3084 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3086 # Check whether --enable-plugins was given.
3087 if test "${enable_plugins+set}" = set; then
3088 enableval=$enable_plugins;
3089 if test "$enableval" = yes; then
3090 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3092 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3097 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x ; then
3099 eval "DEFAULT_$LINE"
3104 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3109 eval "$wx_cv_use_plugins"
3110 if test "$no_cache" != 1; then
3111 echo $wx_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3114 if test x"$enablestring" = xdisable; then
3115 if test $wxUSE_PLUGINS = yes; then
3121 result=$wxUSE_PLUGINS
3124 { echo "$as_me:$LINENO: result: $result" >&5
3125 echo "${ECHO_T}$result" >&6; }
3129 defaultval=$wxUSE_ALL_FEATURES
3130 if test -z "$defaultval"; then
3131 if test x"$withstring" = xwithout; then
3137 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3138 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3141 # Check whether --with-subdirs was given.
3142 if test "${with_subdirs+set}" = set; then
3143 withval=$with_subdirs;
3144 if test "$withval" = yes; then
3145 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3147 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3152 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x ; then
3154 eval "DEFAULT_$LINE"
3159 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3164 eval "$wx_cv_use_subdirs"
3165 if test "$no_cache" != 1; then
3166 echo $wx_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3169 if test x"$withstring" = xwithout; then
3170 if test $wxWITH_SUBDIRS = yes; then
3176 result=$wxWITH_SUBDIRS
3179 { echo "$as_me:$LINENO: result: $result" >&5
3180 echo "${ECHO_T}$result" >&6; }
3183 # Check whether --with-flavour was given.
3184 if test "${with_flavour+set}" = set; then
3185 withval=$with_flavour; WX_FLAVOUR="$withval"
3191 if test -z "$defaultval"; then
3192 if test x"$enablestring" = xdisable; then
3199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3200 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3202 # Check whether --enable-official_build was given.
3203 if test "${enable_official_build+set}" = set; then
3204 enableval=$enable_official_build;
3205 if test "$enableval" = yes; then
3206 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3208 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3213 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x ; then
3215 eval "DEFAULT_$LINE"
3220 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3225 eval "$wx_cv_use_official_build"
3226 if test "$no_cache" != 1; then
3227 echo $wx_cv_use_official_build >> ${wx_arg_cache_file}.tmp
3230 if test x"$enablestring" = xdisable; then
3231 if test $wxUSE_OFFICIAL_BUILD = yes; then
3237 result=$wxUSE_OFFICIAL_BUILD
3240 { echo "$as_me:$LINENO: result: $result" >&5
3241 echo "${ECHO_T}$result" >&6; }
3243 # Check whether --enable-vendor was given.
3244 if test "${enable_vendor+set}" = set; then
3245 enableval=$enable_vendor; VENDOR="$enableval"
3248 if test "x$VENDOR" = "x"; then
3253 enablestring=disable
3255 if test -z "$defaultval"; then
3256 if test x"$enablestring" = xdisable; then
3263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3264 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3266 # Check whether --enable-all-features was given.
3267 if test "${enable_all_features+set}" = set; then
3268 enableval=$enable_all_features;
3269 if test "$enableval" = yes; then
3270 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3272 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3277 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x ; then
3279 eval "DEFAULT_$LINE"
3284 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3289 eval "$wx_cv_use_all_features"
3290 if test "$no_cache" != 1; then
3291 echo $wx_cv_use_all_features >> ${wx_arg_cache_file}.tmp
3294 if test x"$enablestring" = xdisable; then
3295 if test $wxUSE_ALL_FEATURES = yes; then
3301 result=$wxUSE_ALL_FEATURES
3304 { echo "$as_me:$LINENO: result: $result" >&5
3305 echo "${ECHO_T}$result" >&6; }
3309 if test "$wxUSE_GUI" = "yes"; then
3314 if test -z "$defaultval"; then
3315 if test x"$enablestring" = xdisable; then
3322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3323 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3325 # Check whether --enable-universal was given.
3326 if test "${enable_universal+set}" = set; then
3327 enableval=$enable_universal;
3328 if test "$enableval" = yes; then
3329 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3331 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3336 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3337 if test "x$LINE" != x ; then
3338 eval "DEFAULT_$LINE"
3343 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3348 eval "$wx_cv_use_universal"
3349 if test "$no_cache" != 1; then
3350 echo $wx_cv_use_universal >> ${wx_arg_cache_file}.tmp
3353 if test x"$enablestring" = xdisable; then
3354 if test $wxUSE_UNIVERSAL = yes; then
3360 result=$wxUSE_UNIVERSAL
3363 { echo "$as_me:$LINENO: result: $result" >&5
3364 echo "${ECHO_T}$result" >&6; }
3366 if test "$wxUSE_UNIVERSAL" = "yes"; then
3368 # Check whether --with-themes was given.
3369 if test "${with_themes+set}" = set; then
3370 withval=$with_themes; wxUNIV_THEMES="$withval"
3376 # Check whether --with-gtk was given.
3377 if test "${with_gtk+set}" = set; then
3378 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3382 # Check whether --with-motif was given.
3383 if test "${with_motif+set}" = set; then
3384 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3388 # Check whether --with-mac was given.
3389 if test "${with_mac+set}" = set; then
3390 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3394 # Check whether --with-cocoa was given.
3395 if test "${with_cocoa+set}" = set; then
3396 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3400 # Check whether --with-wine was given.
3401 if test "${with_wine+set}" = set; then
3402 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3406 # Check whether --with-msw was given.
3407 if test "${with_msw+set}" = set; then
3408 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3412 # Check whether --with-pm was given.
3413 if test "${with_pm+set}" = set; then
3414 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3418 # Check whether --with-mgl was given.
3419 if test "${with_mgl+set}" = set; then
3420 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3424 # Check whether --with-directfb was given.
3425 if test "${with_directfb+set}" = set; then
3426 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3430 # Check whether --with-microwin was given.
3431 if test "${with_microwin+set}" = set; then
3432 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3436 # Check whether --with-x11 was given.
3437 if test "${with_x11+set}" = set; then
3438 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3444 if test -z "$defaultval"; then
3445 if test x"$enablestring" = xdisable; then
3452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3453 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3455 # Check whether --enable-nanox was given.
3456 if test "${enable_nanox+set}" = set; then
3457 enableval=$enable_nanox;
3458 if test "$enableval" = yes; then
3459 wx_cv_use_nanox='wxUSE_NANOX=yes'
3461 wx_cv_use_nanox='wxUSE_NANOX=no'
3466 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3467 if test "x$LINE" != x ; then
3468 eval "DEFAULT_$LINE"
3473 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3478 eval "$wx_cv_use_nanox"
3479 if test "$no_cache" != 1; then
3480 echo $wx_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3483 if test x"$enablestring" = xdisable; then
3484 if test $wxUSE_NANOX = yes; then
3493 { echo "$as_me:$LINENO: result: $result" >&5
3494 echo "${ECHO_T}$result" >&6; }
3497 # Check whether --enable-gtk2 was given.
3498 if test "${enable_gtk2+set}" = set; then
3499 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3505 if test -z "$defaultval"; then
3506 if test x"$enablestring" = xdisable; then
3513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3514 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'
3527 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x ; then
3529 eval "DEFAULT_$LINE"
3534 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3539 eval "$wx_cv_use_gpe"
3540 if test "$no_cache" != 1; then
3541 echo $wx_cv_use_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; }
3564 # Check whether --with-libpng was given.
3565 if test "${with_libpng+set}" = set; then
3566 withval=$with_libpng;
3567 if test "$withval" = yes; then
3568 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3569 elif test "$withval" = no; then
3570 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3571 elif test "$withval" = sys; then
3572 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3573 elif test "$withval" = builtin; then
3574 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3576 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3577 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3578 { (exit 1); exit 1; }; }
3583 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3584 if test "x$LINE" != x ; then
3585 eval "DEFAULT_$LINE"
3590 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3595 eval "$wx_cv_use_libpng"
3596 if test "$no_cache" != 1; then
3597 echo $wx_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3600 if test "$wxUSE_LIBPNG" = yes; then
3601 { echo "$as_me:$LINENO: result: yes" >&5
3602 echo "${ECHO_T}yes" >&6; }
3603 elif test "$wxUSE_LIBPNG" = no; then
3604 { echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6; }
3606 elif test "$wxUSE_LIBPNG" = sys; then
3607 { echo "$as_me:$LINENO: result: system version" >&5
3608 echo "${ECHO_T}system version" >&6; }
3609 elif test "$wxUSE_LIBPNG" = builtin; then
3610 { echo "$as_me:$LINENO: result: builtin version" >&5
3611 echo "${ECHO_T}builtin version" >&6; }
3613 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3614 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3615 { (exit 1); exit 1; }; }
3619 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3620 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3623 # Check whether --with-libjpeg was given.
3624 if test "${with_libjpeg+set}" = set; then
3625 withval=$with_libjpeg;
3626 if test "$withval" = yes; then
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3628 elif test "$withval" = no; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3630 elif test "$withval" = sys; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3632 elif test "$withval" = builtin; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3642 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x ; then
3644 eval "DEFAULT_$LINE"
3649 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3654 eval "$wx_cv_use_libjpeg"
3655 if test "$no_cache" != 1; then
3656 echo $wx_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_LIBJPEG" = yes; then
3660 { echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6; }
3662 elif test "$wxUSE_LIBJPEG" = no; then
3663 { echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6; }
3665 elif test "$wxUSE_LIBJPEG" = sys; then
3666 { echo "$as_me:$LINENO: result: system version" >&5
3667 echo "${ECHO_T}system version" >&6; }
3668 elif test "$wxUSE_LIBJPEG" = builtin; then
3669 { echo "$as_me:$LINENO: result: builtin version" >&5
3670 echo "${ECHO_T}builtin version" >&6; }
3672 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3673 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3674 { (exit 1); exit 1; }; }
3678 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3679 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3682 # Check whether --with-libtiff was given.
3683 if test "${with_libtiff+set}" = set; then
3684 withval=$with_libtiff;
3685 if test "$withval" = yes; then
3686 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3687 elif test "$withval" = no; then
3688 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3689 elif test "$withval" = sys; then
3690 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3691 elif test "$withval" = builtin; then
3692 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3694 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3695 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3696 { (exit 1); exit 1; }; }
3701 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x ; then
3703 eval "DEFAULT_$LINE"
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3713 eval "$wx_cv_use_libtiff"
3714 if test "$no_cache" != 1; then
3715 echo $wx_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3718 if test "$wxUSE_LIBTIFF" = yes; then
3719 { echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6; }
3721 elif test "$wxUSE_LIBTIFF" = no; then
3722 { echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6; }
3724 elif test "$wxUSE_LIBTIFF" = sys; then
3725 { echo "$as_me:$LINENO: result: system version" >&5
3726 echo "${ECHO_T}system version" >&6; }
3727 elif test "$wxUSE_LIBTIFF" = builtin; then
3728 { echo "$as_me:$LINENO: result: builtin version" >&5
3729 echo "${ECHO_T}builtin version" >&6; }
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3737 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3738 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3741 # Check whether --with-libxpm was given.
3742 if test "${with_libxpm+set}" = set; then
3743 withval=$with_libxpm;
3744 if test "$withval" = yes; then
3745 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3746 elif test "$withval" = no; then
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3748 elif test "$withval" = sys; then
3749 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3750 elif test "$withval" = builtin; then
3751 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3753 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3754 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3755 { (exit 1); exit 1; }; }
3760 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x ; then
3762 eval "DEFAULT_$LINE"
3767 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3772 eval "$wx_cv_use_libxpm"
3773 if test "$no_cache" != 1; then
3774 echo $wx_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_LIBXPM" = yes; then
3778 { echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6; }
3780 elif test "$wxUSE_LIBXPM" = no; then
3781 { echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6; }
3783 elif test "$wxUSE_LIBXPM" = sys; then
3784 { echo "$as_me:$LINENO: result: system version" >&5
3785 echo "${ECHO_T}system version" >&6; }
3786 elif test "$wxUSE_LIBXPM" = builtin; then
3787 { echo "$as_me:$LINENO: result: builtin version" >&5
3788 echo "${ECHO_T}builtin version" >&6; }
3790 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3791 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3792 { (exit 1); exit 1; }; }
3797 defaultval=$wxUSE_ALL_FEATURES
3798 if test -z "$defaultval"; then
3799 if test x"$withstring" = xwithout; then
3805 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3806 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3809 # Check whether --with-libmspack was given.
3810 if test "${with_libmspack+set}" = set; then
3811 withval=$with_libmspack;
3812 if test "$withval" = yes; then
3813 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3815 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3820 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x ; then
3822 eval "DEFAULT_$LINE"
3827 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3832 eval "$wx_cv_use_libmspack"
3833 if test "$no_cache" != 1; then
3834 echo $wx_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3837 if test x"$withstring" = xwithout; then
3838 if test $wxUSE_LIBMSPACK = yes; then
3844 result=$wxUSE_LIBMSPACK
3847 { echo "$as_me:$LINENO: result: $result" >&5
3848 echo "${ECHO_T}$result" >&6; }
3852 defaultval=$wxUSE_ALL_FEATURES
3853 if test -z "$defaultval"; then
3854 if test x"$withstring" = xwithout; then
3860 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3861 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3864 # Check whether --with-gnomeprint was given.
3865 if test "${with_gnomeprint+set}" = set; then
3866 withval=$with_gnomeprint;
3867 if test "$withval" = yes; then
3868 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3870 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3875 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x ; then
3877 eval "DEFAULT_$LINE"
3882 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3887 eval "$wx_cv_use_gnomeprint"
3888 if test "$no_cache" != 1; then
3889 echo $wx_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3892 if test x"$withstring" = xwithout; then
3893 if test $wxUSE_LIBGNOMEPRINT = yes; then
3899 result=$wxUSE_LIBGNOMEPRINT
3902 { echo "$as_me:$LINENO: result: $result" >&5
3903 echo "${ECHO_T}$result" >&6; }
3907 defaultval=$wxUSE_ALL_FEATURES
3908 if test -z "$defaultval"; then
3909 if test x"$withstring" = xwithout; then
3915 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3916 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3919 # Check whether --with-gnomevfs was given.
3920 if test "${with_gnomevfs+set}" = set; then
3921 withval=$with_gnomevfs;
3922 if test "$withval" = yes; then
3923 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3925 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3930 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3931 if test "x$LINE" != x ; then
3932 eval "DEFAULT_$LINE"
3937 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3942 eval "$wx_cv_use_gnomevfs"
3943 if test "$no_cache" != 1; then
3944 echo $wx_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3947 if test x"$withstring" = xwithout; then
3948 if test $wxUSE_LIBGNOMEVFS = yes; then
3954 result=$wxUSE_LIBGNOMEVFS
3957 { echo "$as_me:$LINENO: result: $result" >&5
3958 echo "${ECHO_T}$result" >&6; }
3962 defaultval=$wxUSE_ALL_FEATURES
3963 if test -z "$defaultval"; then
3964 if test x"$withstring" = xwithout; then
3970 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3971 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3974 # Check whether --with-hildon was given.
3975 if test "${with_hildon+set}" = set; then
3976 withval=$with_hildon;
3977 if test "$withval" = yes; then
3978 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3980 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3985 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3986 if test "x$LINE" != x ; then
3987 eval "DEFAULT_$LINE"
3992 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3997 eval "$wx_cv_use_hildon"
3998 if test "$no_cache" != 1; then
3999 echo $wx_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4002 if test x"$withstring" = xwithout; then
4003 if test $wxUSE_LIBHILDON = yes; then
4009 result=$wxUSE_LIBHILDON
4012 { echo "$as_me:$LINENO: result: $result" >&5
4013 echo "${ECHO_T}$result" >&6; }
4017 defaultval=$wxUSE_ALL_FEATURES
4018 if test -z "$defaultval"; then
4019 if test x"$withstring" = xwithout; then
4025 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4026 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4029 # Check whether --with-opengl was given.
4030 if test "${with_opengl+set}" = set; then
4031 withval=$with_opengl;
4032 if test "$withval" = yes; then
4033 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4035 wx_cv_use_opengl='wxUSE_OPENGL=no'
4040 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4041 if test "x$LINE" != x ; then
4042 eval "DEFAULT_$LINE"
4047 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4052 eval "$wx_cv_use_opengl"
4053 if test "$no_cache" != 1; then
4054 echo $wx_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4057 if test x"$withstring" = xwithout; then
4058 if test $wxUSE_OPENGL = yes; then
4064 result=$wxUSE_OPENGL
4067 { echo "$as_me:$LINENO: result: $result" >&5
4068 echo "${ECHO_T}$result" >&6; }
4075 defaultval=$wxUSE_ALL_FEATURES
4076 if test -z "$defaultval"; then
4077 if test x"$withstring" = xwithout; then
4083 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4084 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4087 # Check whether --with-dmalloc was given.
4088 if test "${with_dmalloc+set}" = set; then
4089 withval=$with_dmalloc;
4090 if test "$withval" = yes; then
4091 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4093 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4098 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4099 if test "x$LINE" != x ; then
4100 eval "DEFAULT_$LINE"
4105 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4110 eval "$wx_cv_use_dmalloc"
4111 if test "$no_cache" != 1; then
4112 echo $wx_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4115 if test x"$withstring" = xwithout; then
4116 if test $wxUSE_DMALLOC = yes; then
4122 result=$wxUSE_DMALLOC
4125 { echo "$as_me:$LINENO: result: $result" >&5
4126 echo "${ECHO_T}$result" >&6; }
4130 defaultval=$wxUSE_ALL_FEATURES
4131 if test -z "$defaultval"; then
4132 if test x"$withstring" = xwithout; then
4138 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4139 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4142 # Check whether --with-sdl was given.
4143 if test "${with_sdl+set}" = set; then
4145 if test "$withval" = yes; then
4146 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4148 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4153 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x ; then
4155 eval "DEFAULT_$LINE"
4160 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4165 eval "$wx_cv_use_sdl"
4166 if test "$no_cache" != 1; then
4167 echo $wx_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4170 if test x"$withstring" = xwithout; then
4171 if test $wxUSE_LIBSDL = yes; then
4177 result=$wxUSE_LIBSDL
4180 { echo "$as_me:$LINENO: result: $result" >&5
4181 echo "${ECHO_T}$result" >&6; }
4184 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4185 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4188 # Check whether --with-regex was given.
4189 if test "${with_regex+set}" = set; then
4190 withval=$with_regex;
4191 if test "$withval" = yes; then
4192 wx_cv_use_regex='wxUSE_REGEX=yes'
4193 elif test "$withval" = no; then
4194 wx_cv_use_regex='wxUSE_REGEX=no'
4195 elif test "$withval" = sys; then
4196 wx_cv_use_regex='wxUSE_REGEX=sys'
4197 elif test "$withval" = builtin; then
4198 wx_cv_use_regex='wxUSE_REGEX=builtin'
4200 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4201 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4202 { (exit 1); exit 1; }; }
4207 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4208 if test "x$LINE" != x ; then
4209 eval "DEFAULT_$LINE"
4214 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4219 eval "$wx_cv_use_regex"
4220 if test "$no_cache" != 1; then
4221 echo $wx_cv_use_regex >> ${wx_arg_cache_file}.tmp
4224 if test "$wxUSE_REGEX" = yes; then
4225 { echo "$as_me:$LINENO: result: yes" >&5
4226 echo "${ECHO_T}yes" >&6; }
4227 elif test "$wxUSE_REGEX" = no; then
4228 { echo "$as_me:$LINENO: result: no" >&5
4229 echo "${ECHO_T}no" >&6; }
4230 elif test "$wxUSE_REGEX" = sys; then
4231 { echo "$as_me:$LINENO: result: system version" >&5
4232 echo "${ECHO_T}system version" >&6; }
4233 elif test "$wxUSE_REGEX" = builtin; then
4234 { echo "$as_me:$LINENO: result: builtin version" >&5
4235 echo "${ECHO_T}builtin version" >&6; }
4237 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4238 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4239 { (exit 1); exit 1; }; }
4243 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4244 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4247 # Check whether --with-zlib was given.
4248 if test "${with_zlib+set}" = set; then
4250 if test "$withval" = yes; then
4251 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4252 elif test "$withval" = no; then
4253 wx_cv_use_zlib='wxUSE_ZLIB=no'
4254 elif test "$withval" = sys; then
4255 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4256 elif test "$withval" = builtin; then
4257 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4259 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4260 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4261 { (exit 1); exit 1; }; }
4266 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4267 if test "x$LINE" != x ; then
4268 eval "DEFAULT_$LINE"
4273 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4278 eval "$wx_cv_use_zlib"
4279 if test "$no_cache" != 1; then
4280 echo $wx_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4283 if test "$wxUSE_ZLIB" = yes; then
4284 { echo "$as_me:$LINENO: result: yes" >&5
4285 echo "${ECHO_T}yes" >&6; }
4286 elif test "$wxUSE_ZLIB" = no; then
4287 { echo "$as_me:$LINENO: result: no" >&5
4288 echo "${ECHO_T}no" >&6; }
4289 elif test "$wxUSE_ZLIB" = sys; then
4290 { echo "$as_me:$LINENO: result: system version" >&5
4291 echo "${ECHO_T}system version" >&6; }
4292 elif test "$wxUSE_ZLIB" = builtin; then
4293 { echo "$as_me:$LINENO: result: builtin version" >&5
4294 echo "${ECHO_T}builtin version" >&6; }
4296 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4297 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4298 { (exit 1); exit 1; }; }
4302 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4303 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4306 # Check whether --with-odbc was given.
4307 if test "${with_odbc+set}" = set; then
4309 if test "$withval" = yes; then
4310 wx_cv_use_odbc='wxUSE_ODBC=yes'
4311 elif test "$withval" = no; then
4312 wx_cv_use_odbc='wxUSE_ODBC=no'
4313 elif test "$withval" = sys; then
4314 wx_cv_use_odbc='wxUSE_ODBC=sys'
4315 elif test "$withval" = builtin; then
4316 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4318 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4319 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4320 { (exit 1); exit 1; }; }
4325 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4326 if test "x$LINE" != x ; then
4327 eval "DEFAULT_$LINE"
4332 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4337 eval "$wx_cv_use_odbc"
4338 if test "$no_cache" != 1; then
4339 echo $wx_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4342 if test "$wxUSE_ODBC" = yes; then
4343 { echo "$as_me:$LINENO: result: yes" >&5
4344 echo "${ECHO_T}yes" >&6; }
4345 elif test "$wxUSE_ODBC" = no; then
4346 { echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6; }
4348 elif test "$wxUSE_ODBC" = sys; then
4349 { echo "$as_me:$LINENO: result: system version" >&5
4350 echo "${ECHO_T}system version" >&6; }
4351 elif test "$wxUSE_ODBC" = builtin; then
4352 { echo "$as_me:$LINENO: result: builtin version" >&5
4353 echo "${ECHO_T}builtin version" >&6; }
4355 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4356 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4357 { (exit 1); exit 1; }; }
4361 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4362 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4365 # Check whether --with-expat was given.
4366 if test "${with_expat+set}" = set; then
4367 withval=$with_expat;
4368 if test "$withval" = yes; then
4369 wx_cv_use_expat='wxUSE_EXPAT=yes'
4370 elif test "$withval" = no; then
4371 wx_cv_use_expat='wxUSE_EXPAT=no'
4372 elif test "$withval" = sys; then
4373 wx_cv_use_expat='wxUSE_EXPAT=sys'
4374 elif test "$withval" = builtin; then
4375 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4377 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4378 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4379 { (exit 1); exit 1; }; }
4384 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x ; then
4386 eval "DEFAULT_$LINE"
4391 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4396 eval "$wx_cv_use_expat"
4397 if test "$no_cache" != 1; then
4398 echo $wx_cv_use_expat >> ${wx_arg_cache_file}.tmp
4401 if test "$wxUSE_EXPAT" = yes; then
4402 { echo "$as_me:$LINENO: result: yes" >&5
4403 echo "${ECHO_T}yes" >&6; }
4404 elif test "$wxUSE_EXPAT" = no; then
4405 { echo "$as_me:$LINENO: result: no" >&5
4406 echo "${ECHO_T}no" >&6; }
4407 elif test "$wxUSE_EXPAT" = sys; then
4408 { echo "$as_me:$LINENO: result: system version" >&5
4409 echo "${ECHO_T}system version" >&6; }
4410 elif test "$wxUSE_EXPAT" = builtin; then
4411 { echo "$as_me:$LINENO: result: builtin version" >&5
4412 echo "${ECHO_T}builtin version" >&6; }
4414 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4415 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4416 { (exit 1); exit 1; }; }
4422 enablestring=disable
4424 if test -z "$defaultval"; then
4425 if test x"$enablestring" = xdisable; then
4432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4433 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4435 # Check whether --enable-shared was given.
4436 if test "${enable_shared+set}" = set; then
4437 enableval=$enable_shared;
4438 if test "$enableval" = yes; then
4439 wx_cv_use_shared='wxUSE_SHARED=yes'
4441 wx_cv_use_shared='wxUSE_SHARED=no'
4446 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x ; then
4448 eval "DEFAULT_$LINE"
4453 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4458 eval "$wx_cv_use_shared"
4459 if test "$no_cache" != 1; then
4460 echo $wx_cv_use_shared >> ${wx_arg_cache_file}.tmp
4463 if test x"$enablestring" = xdisable; then
4464 if test $wxUSE_SHARED = yes; then
4470 result=$wxUSE_SHARED
4473 { echo "$as_me:$LINENO: result: $result" >&5
4474 echo "${ECHO_T}$result" >&6; }
4477 enablestring=disable
4479 if test -z "$defaultval"; then
4480 if test x"$enablestring" = xdisable; then
4487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4488 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4490 # Check whether --enable-optimise was given.
4491 if test "${enable_optimise+set}" = set; then
4492 enableval=$enable_optimise;
4493 if test "$enableval" = yes; then
4494 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4496 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4501 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x ; then
4503 eval "DEFAULT_$LINE"
4508 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4513 eval "$wx_cv_use_optimise"
4514 if test "$no_cache" != 1; then
4515 echo $wx_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4518 if test x"$enablestring" = xdisable; then
4519 if test $wxUSE_OPTIMISE = yes; then
4525 result=$wxUSE_OPTIMISE
4528 { echo "$as_me:$LINENO: result: $result" >&5
4529 echo "${ECHO_T}$result" >&6; }
4534 if test -z "$defaultval"; then
4535 if test x"$enablestring" = xdisable; then
4542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4543 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4545 # Check whether --enable-debug was given.
4546 if test "${enable_debug+set}" = set; then
4547 enableval=$enable_debug;
4548 if test "$enableval" = yes; then
4549 wx_cv_use_debug='wxUSE_DEBUG=yes'
4551 wx_cv_use_debug='wxUSE_DEBUG=no'
4556 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4557 if test "x$LINE" != x ; then
4558 eval "DEFAULT_$LINE"
4563 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4568 eval "$wx_cv_use_debug"
4569 if test "$no_cache" != 1; then
4570 echo $wx_cv_use_debug >> ${wx_arg_cache_file}.tmp
4573 if test x"$enablestring" = xdisable; then
4574 if test $wxUSE_DEBUG = yes; then
4583 { echo "$as_me:$LINENO: result: $result" >&5
4584 echo "${ECHO_T}$result" >&6; }
4589 if test -z "$defaultval"; then
4590 if test x"$enablestring" = xdisable; then
4597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4598 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4600 # Check whether --enable-stl was given.
4601 if test "${enable_stl+set}" = set; then
4602 enableval=$enable_stl;
4603 if test "$enableval" = yes; then
4604 wx_cv_use_stl='wxUSE_STL=yes'
4606 wx_cv_use_stl='wxUSE_STL=no'
4611 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x ; then
4613 eval "DEFAULT_$LINE"
4618 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4623 eval "$wx_cv_use_stl"
4624 if test "$no_cache" != 1; then
4625 echo $wx_cv_use_stl >> ${wx_arg_cache_file}.tmp
4628 if test x"$enablestring" = xdisable; then
4629 if test $wxUSE_STL = yes; then
4638 { echo "$as_me:$LINENO: result: $result" >&5
4639 echo "${ECHO_T}$result" >&6; }
4644 if test -z "$defaultval"; then
4645 if test x"$enablestring" = xdisable; then
4652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4655 # Check whether --enable-std_iostreams was given.
4656 if test "${enable_std_iostreams+set}" = set; then
4657 enableval=$enable_std_iostreams;
4658 if test "$enableval" = yes; then
4659 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4661 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4666 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4673 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4678 eval "$wx_cv_use_std_iostreams"
4679 if test "$no_cache" != 1; then
4680 echo $wx_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4683 if test x"$enablestring" = xdisable; then
4684 if test $wxUSE_STD_IOSTREAM = yes; then
4690 result=$wxUSE_STD_IOSTREAM
4693 { echo "$as_me:$LINENO: result: $result" >&5
4694 echo "${ECHO_T}$result" >&6; }
4699 if test -z "$defaultval"; then
4700 if test x"$enablestring" = xdisable; then
4707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4708 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4710 # Check whether --enable-std_string was given.
4711 if test "${enable_std_string+set}" = set; then
4712 enableval=$enable_std_string;
4713 if test "$enableval" = yes; then
4714 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4716 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4721 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x ; then
4723 eval "DEFAULT_$LINE"
4728 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4733 eval "$wx_cv_use_std_string"
4734 if test "$no_cache" != 1; then
4735 echo $wx_cv_use_std_string >> ${wx_arg_cache_file}.tmp
4738 if test x"$enablestring" = xdisable; then
4739 if test $wxUSE_STD_STRING = yes; then
4745 result=$wxUSE_STD_STRING
4748 { echo "$as_me:$LINENO: result: $result" >&5
4749 echo "${ECHO_T}$result" >&6; }
4752 enablestring=disable
4754 if test -z "$defaultval"; then
4755 if test x"$enablestring" = xdisable; then
4762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4763 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4765 # Check whether --enable-unicode was given.
4766 if test "${enable_unicode+set}" = set; then
4767 enableval=$enable_unicode;
4768 if test "$enableval" = yes; then
4769 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4771 wx_cv_use_unicode='wxUSE_UNICODE=no'
4776 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x ; then
4778 eval "DEFAULT_$LINE"
4783 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4788 eval "$wx_cv_use_unicode"
4789 if test "$no_cache" != 1; then
4790 echo $wx_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4793 if test x"$enablestring" = xdisable; then
4794 if test $wxUSE_UNICODE = yes; then
4800 result=$wxUSE_UNICODE
4803 { echo "$as_me:$LINENO: result: $result" >&5
4804 echo "${ECHO_T}$result" >&6; }
4809 if test -z "$defaultval"; then
4810 if test x"$enablestring" = xdisable; then
4817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4820 # Check whether --enable-mslu was given.
4821 if test "${enable_mslu+set}" = set; then
4822 enableval=$enable_mslu;
4823 if test "$enableval" = yes; then
4824 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4826 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4831 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4832 if test "x$LINE" != x ; then
4833 eval "DEFAULT_$LINE"
4838 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4843 eval "$wx_cv_use_mslu"
4844 if test "$no_cache" != 1; then
4845 echo $wx_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4848 if test x"$enablestring" = xdisable; then
4849 if test $wxUSE_UNICODE_MSLU = yes; then
4855 result=$wxUSE_UNICODE_MSLU
4858 { echo "$as_me:$LINENO: result: $result" >&5
4859 echo "${ECHO_T}$result" >&6; }
4863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4864 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4866 # Check whether --enable-utf8 was given.
4867 if test "${enable_utf8+set}" = set; then
4868 enableval=$enable_utf8;
4869 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4873 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x ; then
4875 eval "DEFAULT_$LINE"
4880 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4885 eval "$wx_cv_use_utf8"
4886 if test "$no_cache" != 1; then
4887 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4890 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4891 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4896 if test -z "$defaultval"; then
4897 if test x"$enablestring" = xdisable; then
4904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4907 # Check whether --enable-utf8only was given.
4908 if test "${enable_utf8only+set}" = set; then
4909 enableval=$enable_utf8only;
4910 if test "$enableval" = yes; then
4911 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4913 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4918 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4919 if test "x$LINE" != x ; then
4920 eval "DEFAULT_$LINE"
4925 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4930 eval "$wx_cv_use_utf8only"
4931 if test "$no_cache" != 1; then
4932 echo $wx_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4935 if test x"$enablestring" = xdisable; then
4936 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4942 result=$wxUSE_UNICODE_UTF8_LOCALE
4945 { echo "$as_me:$LINENO: result: $result" >&5
4946 echo "${ECHO_T}$result" >&6; }
4951 if test -z "$defaultval"; then
4952 if test x"$enablestring" = xdisable; then
4959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4960 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4962 # Check whether --enable-extended_rtti was given.
4963 if test "${enable_extended_rtti+set}" = set; then
4964 enableval=$enable_extended_rtti;
4965 if test "$enableval" = yes; then
4966 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4968 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4973 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4974 if test "x$LINE" != x ; then
4975 eval "DEFAULT_$LINE"
4980 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4985 eval "$wx_cv_use_extended_rtti"
4986 if test "$no_cache" != 1; then
4987 echo $wx_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4990 if test x"$enablestring" = xdisable; then
4991 if test $wxUSE_EXTENDED_RTTI = yes; then
4997 result=$wxUSE_EXTENDED_RTTI
5000 { echo "$as_me:$LINENO: result: $result" >&5
5001 echo "${ECHO_T}$result" >&6; }
5003 if test "$USE_OS2" = "1"; then
5004 DEFAULT_wxUSE_OMF=no
5008 if test -z "$defaultval"; then
5009 if test x"$enablestring" = xdisable; then
5016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5017 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5019 # Check whether --enable-omf was given.
5020 if test "${enable_omf+set}" = set; then
5021 enableval=$enable_omf;
5022 if test "$enableval" = yes; then
5023 wx_cv_use_omf='wxUSE_OMF=yes'
5025 wx_cv_use_omf='wxUSE_OMF=no'
5030 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5031 if test "x$LINE" != x ; then
5032 eval "DEFAULT_$LINE"
5037 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5042 eval "$wx_cv_use_omf"
5043 if test "$no_cache" != 1; then
5044 echo $wx_cv_use_omf >> ${wx_arg_cache_file}.tmp
5047 if test x"$enablestring" = xdisable; then
5048 if test $wxUSE_OMF = yes; then
5057 { echo "$as_me:$LINENO: result: $result" >&5
5058 echo "${ECHO_T}$result" >&6; }
5062 if test "$wxUSE_DEBUG" = "yes"; then
5063 DEFAULT_wxUSE_DEBUG_FLAG=yes
5064 DEFAULT_wxUSE_DEBUG_INFO=yes
5066 elif test "$wxUSE_DEBUG" = "no"; then
5067 DEFAULT_wxUSE_DEBUG_FLAG=no
5068 DEFAULT_wxUSE_DEBUG_INFO=no
5075 if test -z "$defaultval"; then
5076 if test x"$enablestring" = xdisable; then
5083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5084 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5086 # Check whether --enable-debug_flag was given.
5087 if test "${enable_debug_flag+set}" = set; then
5088 enableval=$enable_debug_flag;
5089 if test "$enableval" = yes; then
5090 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5092 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5097 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5098 if test "x$LINE" != x ; then
5099 eval "DEFAULT_$LINE"
5104 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5109 eval "$wx_cv_use_debug_flag"
5110 if test "$no_cache" != 1; then
5111 echo $wx_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
5114 if test x"$enablestring" = xdisable; then
5115 if test $wxUSE_DEBUG_FLAG = yes; then
5121 result=$wxUSE_DEBUG_FLAG
5124 { echo "$as_me:$LINENO: result: $result" >&5
5125 echo "${ECHO_T}$result" >&6; }
5130 if test -z "$defaultval"; then
5131 if test x"$enablestring" = xdisable; then
5138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5139 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5141 # Check whether --enable-debug_info was given.
5142 if test "${enable_debug_info+set}" = set; then
5143 enableval=$enable_debug_info;
5144 if test "$enableval" = yes; then
5145 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5147 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5152 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x ; then
5154 eval "DEFAULT_$LINE"
5159 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5164 eval "$wx_cv_use_debug_info"
5165 if test "$no_cache" != 1; then
5166 echo $wx_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
5169 if test x"$enablestring" = xdisable; then
5170 if test $wxUSE_DEBUG_INFO = yes; then
5176 result=$wxUSE_DEBUG_INFO
5179 { echo "$as_me:$LINENO: result: $result" >&5
5180 echo "${ECHO_T}$result" >&6; }
5185 if test -z "$defaultval"; then
5186 if test x"$enablestring" = xdisable; then
5193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5196 # Check whether --enable-debug_gdb was given.
5197 if test "${enable_debug_gdb+set}" = set; then
5198 enableval=$enable_debug_gdb;
5199 if test "$enableval" = yes; then
5200 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5202 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5207 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x ; then
5209 eval "DEFAULT_$LINE"
5214 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5219 eval "$wx_cv_use_debug_gdb"
5220 if test "$no_cache" != 1; then
5221 echo $wx_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
5224 if test x"$enablestring" = xdisable; then
5225 if test $wxUSE_DEBUG_GDB = yes; then
5231 result=$wxUSE_DEBUG_GDB
5234 { echo "$as_me:$LINENO: result: $result" >&5
5235 echo "${ECHO_T}$result" >&6; }
5240 if test -z "$defaultval"; then
5241 if test x"$enablestring" = xdisable; then
5248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5249 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5251 # Check whether --enable-debug_cntxt was given.
5252 if test "${enable_debug_cntxt+set}" = set; then
5253 enableval=$enable_debug_cntxt;
5254 if test "$enableval" = yes; then
5255 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5257 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5262 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x ; then
5264 eval "DEFAULT_$LINE"
5269 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5274 eval "$wx_cv_use_debug_cntxt"
5275 if test "$no_cache" != 1; then
5276 echo $wx_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
5279 if test x"$enablestring" = xdisable; then
5280 if test $wxUSE_DEBUG_CONTEXT = yes; then
5286 result=$wxUSE_DEBUG_CONTEXT
5289 { echo "$as_me:$LINENO: result: $result" >&5
5290 echo "${ECHO_T}$result" >&6; }
5295 if test -z "$defaultval"; then
5296 if test x"$enablestring" = xdisable; then
5303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5304 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5306 # Check whether --enable-mem_tracing was given.
5307 if test "${enable_mem_tracing+set}" = set; then
5308 enableval=$enable_mem_tracing;
5309 if test "$enableval" = yes; then
5310 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5312 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5317 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5318 if test "x$LINE" != x ; then
5319 eval "DEFAULT_$LINE"
5324 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5329 eval "$wx_cv_use_mem_tracing"
5330 if test "$no_cache" != 1; then
5331 echo $wx_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
5334 if test x"$enablestring" = xdisable; then
5335 if test $wxUSE_MEM_TRACING = yes; then
5341 result=$wxUSE_MEM_TRACING
5344 { echo "$as_me:$LINENO: result: $result" >&5
5345 echo "${ECHO_T}$result" >&6; }
5350 if test -z "$defaultval"; then
5351 if test x"$enablestring" = xdisable; then
5358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5359 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5361 # Check whether --enable-profile was given.
5362 if test "${enable_profile+set}" = set; then
5363 enableval=$enable_profile;
5364 if test "$enableval" = yes; then
5365 wx_cv_use_profile='wxUSE_PROFILE=yes'
5367 wx_cv_use_profile='wxUSE_PROFILE=no'
5372 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x ; then
5374 eval "DEFAULT_$LINE"
5379 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5384 eval "$wx_cv_use_profile"
5385 if test "$no_cache" != 1; then
5386 echo $wx_cv_use_profile >> ${wx_arg_cache_file}.tmp
5389 if test x"$enablestring" = xdisable; then
5390 if test $wxUSE_PROFILE = yes; then
5396 result=$wxUSE_PROFILE
5399 { echo "$as_me:$LINENO: result: $result" >&5
5400 echo "${ECHO_T}$result" >&6; }
5405 if test -z "$defaultval"; then
5406 if test x"$enablestring" = xdisable; then
5413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5414 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5416 # Check whether --enable-no_rtti was given.
5417 if test "${enable_no_rtti+set}" = set; then
5418 enableval=$enable_no_rtti;
5419 if test "$enableval" = yes; then
5420 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5422 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5427 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5428 if test "x$LINE" != x ; then
5429 eval "DEFAULT_$LINE"
5434 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5439 eval "$wx_cv_use_no_rtti"
5440 if test "$no_cache" != 1; then
5441 echo $wx_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5444 if test x"$enablestring" = xdisable; then
5445 if test $wxUSE_NO_RTTI = yes; then
5451 result=$wxUSE_NO_RTTI
5454 { echo "$as_me:$LINENO: result: $result" >&5
5455 echo "${ECHO_T}$result" >&6; }
5460 if test -z "$defaultval"; then
5461 if test x"$enablestring" = xdisable; then
5468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5469 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5471 # Check whether --enable-no_exceptions was given.
5472 if test "${enable_no_exceptions+set}" = set; then
5473 enableval=$enable_no_exceptions;
5474 if test "$enableval" = yes; then
5475 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5477 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5482 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5483 if test "x$LINE" != x ; then
5484 eval "DEFAULT_$LINE"
5489 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5494 eval "$wx_cv_use_no_exceptions"
5495 if test "$no_cache" != 1; then
5496 echo $wx_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5499 if test x"$enablestring" = xdisable; then
5500 if test $wxUSE_NO_EXCEPTIONS = yes; then
5506 result=$wxUSE_NO_EXCEPTIONS
5509 { echo "$as_me:$LINENO: result: $result" >&5
5510 echo "${ECHO_T}$result" >&6; }
5515 if test -z "$defaultval"; then
5516 if test x"$enablestring" = xdisable; then
5523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5526 # Check whether --enable-permissive was given.
5527 if test "${enable_permissive+set}" = set; then
5528 enableval=$enable_permissive;
5529 if test "$enableval" = yes; then
5530 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5532 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5537 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x ; then
5539 eval "DEFAULT_$LINE"
5544 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5549 eval "$wx_cv_use_permissive"
5550 if test "$no_cache" != 1; then
5551 echo $wx_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5554 if test x"$enablestring" = xdisable; then
5555 if test $wxUSE_PERMISSIVE = yes; then
5561 result=$wxUSE_PERMISSIVE
5564 { echo "$as_me:$LINENO: result: $result" >&5
5565 echo "${ECHO_T}$result" >&6; }
5570 if test -z "$defaultval"; then
5571 if test x"$enablestring" = xdisable; then
5578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5581 # Check whether --enable-no_deps was given.
5582 if test "${enable_no_deps+set}" = set; then
5583 enableval=$enable_no_deps;
5584 if test "$enableval" = yes; then
5585 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5587 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5592 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5593 if test "x$LINE" != x ; then
5594 eval "DEFAULT_$LINE"
5599 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5604 eval "$wx_cv_use_no_deps"
5605 if test "$no_cache" != 1; then
5606 echo $wx_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5609 if test x"$enablestring" = xdisable; then
5610 if test $wxUSE_NO_DEPS = yes; then
5616 result=$wxUSE_NO_DEPS
5619 { echo "$as_me:$LINENO: result: $result" >&5
5620 echo "${ECHO_T}$result" >&6; }
5623 enablestring=disable
5625 if test -z "$defaultval"; then
5626 if test x"$enablestring" = xdisable; then
5633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5634 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5636 # Check whether --enable-vararg_macros was given.
5637 if test "${enable_vararg_macros+set}" = set; then
5638 enableval=$enable_vararg_macros;
5639 if test "$enableval" = yes; then
5640 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5642 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5647 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5648 if test "x$LINE" != x ; then
5649 eval "DEFAULT_$LINE"
5654 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5659 eval "$wx_cv_use_vararg_macros"
5660 if test "$no_cache" != 1; then
5661 echo $wx_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5664 if test x"$enablestring" = xdisable; then
5665 if test $wxUSE_VARARG_MACROS = yes; then
5671 result=$wxUSE_VARARG_MACROS
5674 { echo "$as_me:$LINENO: result: $result" >&5
5675 echo "${ECHO_T}$result" >&6; }
5679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5680 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5682 # Check whether --enable-universal_binary was given.
5683 if test "${enable_universal_binary+set}" = set; then
5684 enableval=$enable_universal_binary;
5685 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5689 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5690 if test "x$LINE" != x ; then
5691 eval "DEFAULT_$LINE"
5696 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5701 eval "$wx_cv_use_universal_binary"
5702 if test "$no_cache" != 1; then
5703 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5706 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5707 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5713 if test -z "$defaultval"; then
5714 if test x"$enablestring" = xdisable; then
5721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5724 # Check whether --enable-compat26 was given.
5725 if test "${enable_compat26+set}" = set; then
5726 enableval=$enable_compat26;
5727 if test "$enableval" = yes; then
5728 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5730 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5735 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5736 if test "x$LINE" != x ; then
5737 eval "DEFAULT_$LINE"
5742 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5747 eval "$wx_cv_use_compat26"
5748 if test "$no_cache" != 1; then
5749 echo $wx_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5752 if test x"$enablestring" = xdisable; then
5753 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5759 result=$WXWIN_COMPATIBILITY_2_6
5762 { echo "$as_me:$LINENO: result: $result" >&5
5763 echo "${ECHO_T}$result" >&6; }
5766 enablestring=disable
5768 if test -z "$defaultval"; then
5769 if test x"$enablestring" = xdisable; then
5776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5777 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5779 # Check whether --enable-compat28 was given.
5780 if test "${enable_compat28+set}" = set; then
5781 enableval=$enable_compat28;
5782 if test "$enableval" = yes; then
5783 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5785 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5790 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5791 if test "x$LINE" != x ; then
5792 eval "DEFAULT_$LINE"
5797 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5802 eval "$wx_cv_use_compat28"
5803 if test "$no_cache" != 1; then
5804 echo $wx_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5807 if test x"$enablestring" = xdisable; then
5808 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5814 result=$WXWIN_COMPATIBILITY_2_8
5817 { echo "$as_me:$LINENO: result: $result" >&5
5818 echo "${ECHO_T}$result" >&6; }
5822 enablestring=disable
5824 if test -z "$defaultval"; then
5825 if test x"$enablestring" = xdisable; then
5832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5833 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5835 # Check whether --enable-rpath was given.
5836 if test "${enable_rpath+set}" = set; then
5837 enableval=$enable_rpath;
5838 if test "$enableval" = yes; then
5839 wx_cv_use_rpath='wxUSE_RPATH=yes'
5841 wx_cv_use_rpath='wxUSE_RPATH=no'
5846 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x ; then
5848 eval "DEFAULT_$LINE"
5853 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5858 eval "$wx_cv_use_rpath"
5859 if test "$no_cache" != 1; then
5860 echo $wx_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5863 if test x"$enablestring" = xdisable; then
5864 if test $wxUSE_RPATH = yes; then
5873 { echo "$as_me:$LINENO: result: $result" >&5
5874 echo "${ECHO_T}$result" >&6; }
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5891 # Check whether --enable-objc_uniquifying was given.
5892 if test "${enable_objc_uniquifying+set}" = set; then
5893 enableval=$enable_objc_uniquifying;
5894 if test "$enableval" = yes; then
5895 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5897 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5902 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5903 if test "x$LINE" != x ; then
5904 eval "DEFAULT_$LINE"
5909 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5914 eval "$wx_cv_use_objc_uniquifying"
5915 if test "$no_cache" != 1; then
5916 echo $wx_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5919 if test x"$enablestring" = xdisable; then
5920 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5926 result=$wxUSE_OBJC_UNIQUIFYING
5929 { echo "$as_me:$LINENO: result: $result" >&5
5930 echo "${ECHO_T}$result" >&6; }
5934 enablestring=disable
5936 if test -z "$defaultval"; then
5937 if test x"$enablestring" = xdisable; then
5944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5945 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5947 # Check whether --enable-visibility was given.
5948 if test "${enable_visibility+set}" = set; then
5949 enableval=$enable_visibility;
5950 if test "$enableval" = yes; then
5951 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5953 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5958 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5959 if test "x$LINE" != x ; then
5960 eval "DEFAULT_$LINE"
5965 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5970 eval "$wx_cv_use_visibility"
5971 if test "$no_cache" != 1; then
5972 echo $wx_cv_use_visibility >> ${wx_arg_cache_file}.tmp
5975 if test x"$enablestring" = xdisable; then
5976 if test $wxUSE_VISIBILITY = yes; then
5982 result=$wxUSE_VISIBILITY
5985 { echo "$as_me:$LINENO: result: $result" >&5
5986 echo "${ECHO_T}$result" >&6; }
5992 defaultval=$wxUSE_ALL_FEATURES
5993 if test -z "$defaultval"; then
5994 if test x"$enablestring" = xdisable; then
6001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6002 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6004 # Check whether --enable-intl was given.
6005 if test "${enable_intl+set}" = set; then
6006 enableval=$enable_intl;
6007 if test "$enableval" = yes; then
6008 wx_cv_use_intl='wxUSE_INTL=yes'
6010 wx_cv_use_intl='wxUSE_INTL=no'
6015 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6016 if test "x$LINE" != x ; then
6017 eval "DEFAULT_$LINE"
6022 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6027 eval "$wx_cv_use_intl"
6028 if test "$no_cache" != 1; then
6029 echo $wx_cv_use_intl >> ${wx_arg_cache_file}.tmp
6032 if test x"$enablestring" = xdisable; then
6033 if test $wxUSE_INTL = yes; then
6042 { echo "$as_me:$LINENO: result: $result" >&5
6043 echo "${ECHO_T}$result" >&6; }
6047 defaultval=$wxUSE_ALL_FEATURES
6048 if test -z "$defaultval"; then
6049 if test x"$enablestring" = xdisable; then
6056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6059 # Check whether --enable-config was given.
6060 if test "${enable_config+set}" = set; then
6061 enableval=$enable_config;
6062 if test "$enableval" = yes; then
6063 wx_cv_use_config='wxUSE_CONFIG=yes'
6065 wx_cv_use_config='wxUSE_CONFIG=no'
6070 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6071 if test "x$LINE" != x ; then
6072 eval "DEFAULT_$LINE"
6077 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6082 eval "$wx_cv_use_config"
6083 if test "$no_cache" != 1; then
6084 echo $wx_cv_use_config >> ${wx_arg_cache_file}.tmp
6087 if test x"$enablestring" = xdisable; then
6088 if test $wxUSE_CONFIG = yes; then
6094 result=$wxUSE_CONFIG
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6103 defaultval=$wxUSE_ALL_FEATURES
6104 if test -z "$defaultval"; then
6105 if test x"$enablestring" = xdisable; then
6112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6113 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6115 # Check whether --enable-protocols was given.
6116 if test "${enable_protocols+set}" = set; then
6117 enableval=$enable_protocols;
6118 if test "$enableval" = yes; then
6119 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6121 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6126 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6127 if test "x$LINE" != x ; then
6128 eval "DEFAULT_$LINE"
6133 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6138 eval "$wx_cv_use_protocols"
6139 if test "$no_cache" != 1; then
6140 echo $wx_cv_use_protocols >> ${wx_arg_cache_file}.tmp
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_PROTOCOL = yes; then
6150 result=$wxUSE_PROTOCOL
6153 { echo "$as_me:$LINENO: result: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6158 defaultval=$wxUSE_ALL_FEATURES
6159 if test -z "$defaultval"; then
6160 if test x"$enablestring" = xdisable; then
6167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6170 # Check whether --enable-ftp was given.
6171 if test "${enable_ftp+set}" = set; then
6172 enableval=$enable_ftp;
6173 if test "$enableval" = yes; then
6174 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6176 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6181 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6182 if test "x$LINE" != x ; then
6183 eval "DEFAULT_$LINE"
6188 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6193 eval "$wx_cv_use_ftp"
6194 if test "$no_cache" != 1; then
6195 echo $wx_cv_use_ftp >> ${wx_arg_cache_file}.tmp
6198 if test x"$enablestring" = xdisable; then
6199 if test $wxUSE_PROTOCOL_FTP = yes; then
6205 result=$wxUSE_PROTOCOL_FTP
6208 { echo "$as_me:$LINENO: result: $result" >&5
6209 echo "${ECHO_T}$result" >&6; }
6213 defaultval=$wxUSE_ALL_FEATURES
6214 if test -z "$defaultval"; then
6215 if test x"$enablestring" = xdisable; then
6222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6223 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6225 # Check whether --enable-http was given.
6226 if test "${enable_http+set}" = set; then
6227 enableval=$enable_http;
6228 if test "$enableval" = yes; then
6229 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6231 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6236 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x ; then
6238 eval "DEFAULT_$LINE"
6243 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6248 eval "$wx_cv_use_http"
6249 if test "$no_cache" != 1; then
6250 echo $wx_cv_use_http >> ${wx_arg_cache_file}.tmp
6253 if test x"$enablestring" = xdisable; then
6254 if test $wxUSE_PROTOCOL_HTTP = yes; then
6260 result=$wxUSE_PROTOCOL_HTTP
6263 { echo "$as_me:$LINENO: result: $result" >&5
6264 echo "${ECHO_T}$result" >&6; }
6268 defaultval=$wxUSE_ALL_FEATURES
6269 if test -z "$defaultval"; then
6270 if test x"$enablestring" = xdisable; then
6277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6280 # Check whether --enable-fileproto was given.
6281 if test "${enable_fileproto+set}" = set; then
6282 enableval=$enable_fileproto;
6283 if test "$enableval" = yes; then
6284 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6286 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6291 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6292 if test "x$LINE" != x ; then
6293 eval "DEFAULT_$LINE"
6298 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6303 eval "$wx_cv_use_fileproto"
6304 if test "$no_cache" != 1; then
6305 echo $wx_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
6308 if test x"$enablestring" = xdisable; then
6309 if test $wxUSE_PROTOCOL_FILE = yes; then
6315 result=$wxUSE_PROTOCOL_FILE
6318 { echo "$as_me:$LINENO: result: $result" >&5
6319 echo "${ECHO_T}$result" >&6; }
6323 defaultval=$wxUSE_ALL_FEATURES
6324 if test -z "$defaultval"; then
6325 if test x"$enablestring" = xdisable; then
6332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6335 # Check whether --enable-sockets was given.
6336 if test "${enable_sockets+set}" = set; then
6337 enableval=$enable_sockets;
6338 if test "$enableval" = yes; then
6339 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6341 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6346 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6347 if test "x$LINE" != x ; then
6348 eval "DEFAULT_$LINE"
6353 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6358 eval "$wx_cv_use_sockets"
6359 if test "$no_cache" != 1; then
6360 echo $wx_cv_use_sockets >> ${wx_arg_cache_file}.tmp
6363 if test x"$enablestring" = xdisable; then
6364 if test $wxUSE_SOCKETS = yes; then
6370 result=$wxUSE_SOCKETS
6373 { echo "$as_me:$LINENO: result: $result" >&5
6374 echo "${ECHO_T}$result" >&6; }
6378 defaultval=$wxUSE_ALL_FEATURES
6379 if test -z "$defaultval"; then
6380 if test x"$enablestring" = xdisable; then
6387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6390 # Check whether --enable-ole was given.
6391 if test "${enable_ole+set}" = set; then
6392 enableval=$enable_ole;
6393 if test "$enableval" = yes; then
6394 wx_cv_use_ole='wxUSE_OLE=yes'
6396 wx_cv_use_ole='wxUSE_OLE=no'
6401 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6408 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6413 eval "$wx_cv_use_ole"
6414 if test "$no_cache" != 1; then
6415 echo $wx_cv_use_ole >> ${wx_arg_cache_file}.tmp
6418 if test x"$enablestring" = xdisable; then
6419 if test $wxUSE_OLE = yes; then
6428 { echo "$as_me:$LINENO: result: $result" >&5
6429 echo "${ECHO_T}$result" >&6; }
6433 defaultval=$wxUSE_ALL_FEATURES
6434 if test -z "$defaultval"; then
6435 if test x"$enablestring" = xdisable; then
6442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6443 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6445 # Check whether --enable-dataobj was given.
6446 if test "${enable_dataobj+set}" = set; then
6447 enableval=$enable_dataobj;
6448 if test "$enableval" = yes; then
6449 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6451 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6456 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x ; then
6458 eval "DEFAULT_$LINE"
6463 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6468 eval "$wx_cv_use_dataobj"
6469 if test "$no_cache" != 1; then
6470 echo $wx_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
6473 if test x"$enablestring" = xdisable; then
6474 if test $wxUSE_DATAOBJ = yes; then
6480 result=$wxUSE_DATAOBJ
6483 { echo "$as_me:$LINENO: result: $result" >&5
6484 echo "${ECHO_T}$result" >&6; }
6489 defaultval=$wxUSE_ALL_FEATURES
6490 if test -z "$defaultval"; then
6491 if test x"$enablestring" = xdisable; then
6498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6501 # Check whether --enable-ipc was given.
6502 if test "${enable_ipc+set}" = set; then
6503 enableval=$enable_ipc;
6504 if test "$enableval" = yes; then
6505 wx_cv_use_ipc='wxUSE_IPC=yes'
6507 wx_cv_use_ipc='wxUSE_IPC=no'
6512 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x ; then
6514 eval "DEFAULT_$LINE"
6519 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6524 eval "$wx_cv_use_ipc"
6525 if test "$no_cache" != 1; then
6526 echo $wx_cv_use_ipc >> ${wx_arg_cache_file}.tmp
6529 if test x"$enablestring" = xdisable; then
6530 if test $wxUSE_IPC = yes; then
6539 { echo "$as_me:$LINENO: result: $result" >&5
6540 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}-baseevtloop" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6557 # Check whether --enable-baseevtloop was given.
6558 if test "${enable_baseevtloop+set}" = set; then
6559 enableval=$enable_baseevtloop;
6560 if test "$enableval" = yes; then
6561 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6563 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6568 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6575 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6580 eval "$wx_cv_use_baseevtloop"
6581 if test "$no_cache" != 1; then
6582 echo $wx_cv_use_baseevtloop >> ${wx_arg_cache_file}.tmp
6585 if test x"$enablestring" = xdisable; then
6586 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6592 result=$wxUSE_CONSOLE_EVENTLOOP
6595 { echo "$as_me:$LINENO: result: $result" >&5
6596 echo "${ECHO_T}$result" >&6; }
6600 defaultval=$wxUSE_ALL_FEATURES
6601 if test -z "$defaultval"; then
6602 if test x"$enablestring" = xdisable; then
6609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6612 # Check whether --enable-epoolloop was given.
6613 if test "${enable_epoolloop+set}" = set; then
6614 enableval=$enable_epoolloop;
6615 if test "$enableval" = yes; then
6616 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6618 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6623 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6624 if test "x$LINE" != x ; then
6625 eval "DEFAULT_$LINE"
6630 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6635 eval "$wx_cv_use_epoolloop"
6636 if test "$no_cache" != 1; then
6637 echo $wx_cv_use_epoolloop >> ${wx_arg_cache_file}.tmp
6640 if test x"$enablestring" = xdisable; then
6641 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6647 result=$wxUSE_EPOLL_DISPATCHER
6650 { echo "$as_me:$LINENO: result: $result" >&5
6651 echo "${ECHO_T}$result" >&6; }
6655 defaultval=$wxUSE_ALL_FEATURES
6656 if test -z "$defaultval"; then
6657 if test x"$enablestring" = xdisable; then
6664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6665 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6667 # Check whether --enable-selectloop was given.
6668 if test "${enable_selectloop+set}" = set; then
6669 enableval=$enable_selectloop;
6670 if test "$enableval" = yes; then
6671 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6673 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6678 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6679 if test "x$LINE" != x ; then
6680 eval "DEFAULT_$LINE"
6685 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6690 eval "$wx_cv_use_selectloop"
6691 if test "$no_cache" != 1; then
6692 echo $wx_cv_use_selectloop >> ${wx_arg_cache_file}.tmp
6695 if test x"$enablestring" = xdisable; then
6696 if test $wxUSE_SELECT_DISPATCHER = yes; then
6702 result=$wxUSE_SELECT_DISPATCHER
6705 { echo "$as_me:$LINENO: result: $result" >&5
6706 echo "${ECHO_T}$result" >&6; }
6711 defaultval=$wxUSE_ALL_FEATURES
6712 if test -z "$defaultval"; then
6713 if test x"$enablestring" = xdisable; then
6720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6723 # Check whether --enable-apple_ieee was given.
6724 if test "${enable_apple_ieee+set}" = set; then
6725 enableval=$enable_apple_ieee;
6726 if test "$enableval" = yes; then
6727 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6729 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6734 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6735 if test "x$LINE" != x ; then
6736 eval "DEFAULT_$LINE"
6741 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6746 eval "$wx_cv_use_apple_ieee"
6747 if test "$no_cache" != 1; then
6748 echo $wx_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
6751 if test x"$enablestring" = xdisable; then
6752 if test $wxUSE_APPLE_IEEE = yes; then
6758 result=$wxUSE_APPLE_IEEE
6761 { echo "$as_me:$LINENO: result: $result" >&5
6762 echo "${ECHO_T}$result" >&6; }
6766 defaultval=$wxUSE_ALL_FEATURES
6767 if test -z "$defaultval"; then
6768 if test x"$enablestring" = xdisable; then
6775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6778 # Check whether --enable-arcstream was given.
6779 if test "${enable_arcstream+set}" = set; then
6780 enableval=$enable_arcstream;
6781 if test "$enableval" = yes; then
6782 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6784 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6789 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6790 if test "x$LINE" != x ; then
6791 eval "DEFAULT_$LINE"
6796 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6801 eval "$wx_cv_use_arcstream"
6802 if test "$no_cache" != 1; then
6803 echo $wx_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
6806 if test x"$enablestring" = xdisable; then
6807 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6813 result=$wxUSE_ARCHIVE_STREAMS
6816 { echo "$as_me:$LINENO: result: $result" >&5
6817 echo "${ECHO_T}$result" >&6; }
6821 defaultval=$wxUSE_ALL_FEATURES
6822 if test -z "$defaultval"; then
6823 if test x"$enablestring" = xdisable; then
6830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6831 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6833 # Check whether --enable-base64 was given.
6834 if test "${enable_base64+set}" = set; then
6835 enableval=$enable_base64;
6836 if test "$enableval" = yes; then
6837 wx_cv_use_base64='wxUSE_BASE64=yes'
6839 wx_cv_use_base64='wxUSE_BASE64=no'
6844 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6845 if test "x$LINE" != x ; then
6846 eval "DEFAULT_$LINE"
6851 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6856 eval "$wx_cv_use_base64"
6857 if test "$no_cache" != 1; then
6858 echo $wx_cv_use_base64 >> ${wx_arg_cache_file}.tmp
6861 if test x"$enablestring" = xdisable; then
6862 if test $wxUSE_BASE64 = yes; then
6868 result=$wxUSE_BASE64
6871 { echo "$as_me:$LINENO: result: $result" >&5
6872 echo "${ECHO_T}$result" >&6; }
6876 defaultval=$wxUSE_ALL_FEATURES
6877 if test -z "$defaultval"; then
6878 if test x"$enablestring" = xdisable; then
6885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6888 # Check whether --enable-backtrace was given.
6889 if test "${enable_backtrace+set}" = set; then
6890 enableval=$enable_backtrace;
6891 if test "$enableval" = yes; then
6892 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6894 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6899 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6906 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6911 eval "$wx_cv_use_backtrace"
6912 if test "$no_cache" != 1; then
6913 echo $wx_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
6916 if test x"$enablestring" = xdisable; then
6917 if test $wxUSE_STACKWALKER = yes; then
6923 result=$wxUSE_STACKWALKER
6926 { echo "$as_me:$LINENO: result: $result" >&5
6927 echo "${ECHO_T}$result" >&6; }
6931 defaultval=$wxUSE_ALL_FEATURES
6932 if test -z "$defaultval"; then
6933 if test x"$enablestring" = xdisable; then
6940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6941 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6943 # Check whether --enable-catch_segvs was given.
6944 if test "${enable_catch_segvs+set}" = set; then
6945 enableval=$enable_catch_segvs;
6946 if test "$enableval" = yes; then
6947 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6949 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6954 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6961 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6966 eval "$wx_cv_use_catch_segvs"
6967 if test "$no_cache" != 1; then
6968 echo $wx_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6971 if test x"$enablestring" = xdisable; then
6972 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6978 result=$wxUSE_ON_FATAL_EXCEPTION
6981 { echo "$as_me:$LINENO: result: $result" >&5
6982 echo "${ECHO_T}$result" >&6; }
6986 defaultval=$wxUSE_ALL_FEATURES
6987 if test -z "$defaultval"; then
6988 if test x"$enablestring" = xdisable; then
6995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6996 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6998 # Check whether --enable-cmdline was given.
6999 if test "${enable_cmdline+set}" = set; then
7000 enableval=$enable_cmdline;
7001 if test "$enableval" = yes; then
7002 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7004 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7009 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7010 if test "x$LINE" != x ; then
7011 eval "DEFAULT_$LINE"
7016 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7021 eval "$wx_cv_use_cmdline"
7022 if test "$no_cache" != 1; then
7023 echo $wx_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
7026 if test x"$enablestring" = xdisable; then
7027 if test $wxUSE_CMDLINE_PARSER = yes; then
7033 result=$wxUSE_CMDLINE_PARSER
7036 { echo "$as_me:$LINENO: result: $result" >&5
7037 echo "${ECHO_T}$result" >&6; }
7041 defaultval=$wxUSE_ALL_FEATURES
7042 if test -z "$defaultval"; then
7043 if test x"$enablestring" = xdisable; then
7050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7053 # Check whether --enable-datetime was given.
7054 if test "${enable_datetime+set}" = set; then
7055 enableval=$enable_datetime;
7056 if test "$enableval" = yes; then
7057 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7059 wx_cv_use_datetime='wxUSE_DATETIME=no'
7064 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7065 if test "x$LINE" != x ; then
7066 eval "DEFAULT_$LINE"
7071 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7076 eval "$wx_cv_use_datetime"
7077 if test "$no_cache" != 1; then
7078 echo $wx_cv_use_datetime >> ${wx_arg_cache_file}.tmp
7081 if test x"$enablestring" = xdisable; then
7082 if test $wxUSE_DATETIME = yes; then
7088 result=$wxUSE_DATETIME
7091 { echo "$as_me:$LINENO: result: $result" >&5
7092 echo "${ECHO_T}$result" >&6; }
7096 defaultval=$wxUSE_ALL_FEATURES
7097 if test -z "$defaultval"; then
7098 if test x"$enablestring" = xdisable; then
7105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7108 # Check whether --enable-debugreport was given.
7109 if test "${enable_debugreport+set}" = set; then
7110 enableval=$enable_debugreport;
7111 if test "$enableval" = yes; then
7112 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7114 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7119 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7120 if test "x$LINE" != x ; then
7121 eval "DEFAULT_$LINE"
7126 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7131 eval "$wx_cv_use_debugreport"
7132 if test "$no_cache" != 1; then
7133 echo $wx_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
7136 if test x"$enablestring" = xdisable; then
7137 if test $wxUSE_DEBUGREPORT = yes; then
7143 result=$wxUSE_DEBUGREPORT
7146 { echo "$as_me:$LINENO: result: $result" >&5
7147 echo "${ECHO_T}$result" >&6; }
7151 defaultval=$wxUSE_ALL_FEATURES
7152 if test -z "$defaultval"; then
7153 if test x"$enablestring" = xdisable; then
7160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7163 # Check whether --enable-dialupman was given.
7164 if test "${enable_dialupman+set}" = set; then
7165 enableval=$enable_dialupman;
7166 if test "$enableval" = yes; then
7167 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7169 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7174 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x ; then
7176 eval "DEFAULT_$LINE"
7181 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7186 eval "$wx_cv_use_dialupman"
7187 if test "$no_cache" != 1; then
7188 echo $wx_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
7191 if test x"$enablestring" = xdisable; then
7192 if test $wxUSE_DIALUP_MANAGER = yes; then
7198 result=$wxUSE_DIALUP_MANAGER
7201 { echo "$as_me:$LINENO: result: $result" >&5
7202 echo "${ECHO_T}$result" >&6; }
7206 defaultval=$wxUSE_ALL_FEATURES
7207 if test -z "$defaultval"; then
7208 if test x"$enablestring" = xdisable; then
7215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7218 # Check whether --enable-dynlib was given.
7219 if test "${enable_dynlib+set}" = set; then
7220 enableval=$enable_dynlib;
7221 if test "$enableval" = yes; then
7222 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7224 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7229 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7236 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7241 eval "$wx_cv_use_dynlib"
7242 if test "$no_cache" != 1; then
7243 echo $wx_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
7246 if test x"$enablestring" = xdisable; then
7247 if test $wxUSE_DYNLIB_CLASS = yes; then
7253 result=$wxUSE_DYNLIB_CLASS
7256 { echo "$as_me:$LINENO: result: $result" >&5
7257 echo "${ECHO_T}$result" >&6; }
7261 defaultval=$wxUSE_ALL_FEATURES
7262 if test -z "$defaultval"; then
7263 if test x"$enablestring" = xdisable; then
7270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7271 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7273 # Check whether --enable-dynamicloader was given.
7274 if test "${enable_dynamicloader+set}" = set; then
7275 enableval=$enable_dynamicloader;
7276 if test "$enableval" = yes; then
7277 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7279 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7284 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x ; then
7286 eval "DEFAULT_$LINE"
7291 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7296 eval "$wx_cv_use_dynamicloader"
7297 if test "$no_cache" != 1; then
7298 echo $wx_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
7301 if test x"$enablestring" = xdisable; then
7302 if test $wxUSE_DYNAMIC_LOADER = yes; then
7308 result=$wxUSE_DYNAMIC_LOADER
7311 { echo "$as_me:$LINENO: result: $result" >&5
7312 echo "${ECHO_T}$result" >&6; }
7316 defaultval=$wxUSE_ALL_FEATURES
7317 if test -z "$defaultval"; then
7318 if test x"$enablestring" = xdisable; then
7325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7326 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7328 # Check whether --enable-exceptions was given.
7329 if test "${enable_exceptions+set}" = set; then
7330 enableval=$enable_exceptions;
7331 if test "$enableval" = yes; then
7332 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7334 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7339 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7340 if test "x$LINE" != x ; then
7341 eval "DEFAULT_$LINE"
7346 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7351 eval "$wx_cv_use_exceptions"
7352 if test "$no_cache" != 1; then
7353 echo $wx_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
7356 if test x"$enablestring" = xdisable; then
7357 if test $wxUSE_EXCEPTIONS = yes; then
7363 result=$wxUSE_EXCEPTIONS
7366 { echo "$as_me:$LINENO: result: $result" >&5
7367 echo "${ECHO_T}$result" >&6; }
7371 defaultval=$wxUSE_ALL_FEATURES
7372 if test -z "$defaultval"; then
7373 if test x"$enablestring" = xdisable; then
7380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7381 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7383 # Check whether --enable-ffile was given.
7384 if test "${enable_ffile+set}" = set; then
7385 enableval=$enable_ffile;
7386 if test "$enableval" = yes; then
7387 wx_cv_use_ffile='wxUSE_FFILE=yes'
7389 wx_cv_use_ffile='wxUSE_FFILE=no'
7394 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x ; then
7396 eval "DEFAULT_$LINE"
7401 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7406 eval "$wx_cv_use_ffile"
7407 if test "$no_cache" != 1; then
7408 echo $wx_cv_use_ffile >> ${wx_arg_cache_file}.tmp
7411 if test x"$enablestring" = xdisable; then
7412 if test $wxUSE_FFILE = yes; then
7421 { echo "$as_me:$LINENO: result: $result" >&5
7422 echo "${ECHO_T}$result" >&6; }
7426 defaultval=$wxUSE_ALL_FEATURES
7427 if test -z "$defaultval"; then
7428 if test x"$enablestring" = xdisable; then
7435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7436 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7438 # Check whether --enable-file was given.
7439 if test "${enable_file+set}" = set; then
7440 enableval=$enable_file;
7441 if test "$enableval" = yes; then
7442 wx_cv_use_file='wxUSE_FILE=yes'
7444 wx_cv_use_file='wxUSE_FILE=no'
7449 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7450 if test "x$LINE" != x ; then
7451 eval "DEFAULT_$LINE"
7456 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7461 eval "$wx_cv_use_file"
7462 if test "$no_cache" != 1; then
7463 echo $wx_cv_use_file >> ${wx_arg_cache_file}.tmp
7466 if test x"$enablestring" = xdisable; then
7467 if test $wxUSE_FILE = yes; then
7476 { echo "$as_me:$LINENO: result: $result" >&5
7477 echo "${ECHO_T}$result" >&6; }
7481 defaultval=$wxUSE_ALL_FEATURES
7482 if test -z "$defaultval"; then
7483 if test x"$enablestring" = xdisable; then
7490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7491 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7493 # Check whether --enable-filesystem was given.
7494 if test "${enable_filesystem+set}" = set; then
7495 enableval=$enable_filesystem;
7496 if test "$enableval" = yes; then
7497 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7499 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7504 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7505 if test "x$LINE" != x ; then
7506 eval "DEFAULT_$LINE"
7511 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7516 eval "$wx_cv_use_filesystem"
7517 if test "$no_cache" != 1; then
7518 echo $wx_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
7521 if test x"$enablestring" = xdisable; then
7522 if test $wxUSE_FILESYSTEM = yes; then
7528 result=$wxUSE_FILESYSTEM
7531 { echo "$as_me:$LINENO: result: $result" >&5
7532 echo "${ECHO_T}$result" >&6; }
7536 defaultval=$wxUSE_ALL_FEATURES
7537 if test -z "$defaultval"; then
7538 if test x"$enablestring" = xdisable; then
7545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7548 # Check whether --enable-fontmap was given.
7549 if test "${enable_fontmap+set}" = set; then
7550 enableval=$enable_fontmap;
7551 if test "$enableval" = yes; then
7552 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7554 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7559 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7560 if test "x$LINE" != x ; then
7561 eval "DEFAULT_$LINE"
7566 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7571 eval "$wx_cv_use_fontmap"
7572 if test "$no_cache" != 1; then
7573 echo $wx_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
7576 if test x"$enablestring" = xdisable; then
7577 if test $wxUSE_FONTMAP = yes; then
7583 result=$wxUSE_FONTMAP
7586 { echo "$as_me:$LINENO: result: $result" >&5
7587 echo "${ECHO_T}$result" >&6; }
7591 defaultval=$wxUSE_ALL_FEATURES
7592 if test -z "$defaultval"; then
7593 if test x"$enablestring" = xdisable; then
7600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7601 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7603 # Check whether --enable-fs_archive was given.
7604 if test "${enable_fs_archive+set}" = set; then
7605 enableval=$enable_fs_archive;
7606 if test "$enableval" = yes; then
7607 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7609 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7614 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7615 if test "x$LINE" != x ; then
7616 eval "DEFAULT_$LINE"
7621 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7626 eval "$wx_cv_use_fs_archive"
7627 if test "$no_cache" != 1; then
7628 echo $wx_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
7631 if test x"$enablestring" = xdisable; then
7632 if test $wxUSE_FS_ARCHIVE = yes; then
7638 result=$wxUSE_FS_ARCHIVE
7641 { echo "$as_me:$LINENO: result: $result" >&5
7642 echo "${ECHO_T}$result" >&6; }
7646 defaultval=$wxUSE_ALL_FEATURES
7647 if test -z "$defaultval"; then
7648 if test x"$enablestring" = xdisable; then
7655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7656 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7658 # Check whether --enable-fs_inet was given.
7659 if test "${enable_fs_inet+set}" = set; then
7660 enableval=$enable_fs_inet;
7661 if test "$enableval" = yes; then
7662 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7664 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7669 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7670 if test "x$LINE" != x ; then
7671 eval "DEFAULT_$LINE"
7676 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7681 eval "$wx_cv_use_fs_inet"
7682 if test "$no_cache" != 1; then
7683 echo $wx_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
7686 if test x"$enablestring" = xdisable; then
7687 if test $wxUSE_FS_INET = yes; then
7693 result=$wxUSE_FS_INET
7696 { echo "$as_me:$LINENO: result: $result" >&5
7697 echo "${ECHO_T}$result" >&6; }
7701 defaultval=$wxUSE_ALL_FEATURES
7702 if test -z "$defaultval"; then
7703 if test x"$enablestring" = xdisable; then
7710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7713 # Check whether --enable-fs_zip was given.
7714 if test "${enable_fs_zip+set}" = set; then
7715 enableval=$enable_fs_zip;
7716 if test "$enableval" = yes; then
7717 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7719 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7724 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x ; then
7726 eval "DEFAULT_$LINE"
7731 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7736 eval "$wx_cv_use_fs_zip"
7737 if test "$no_cache" != 1; then
7738 echo $wx_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
7741 if test x"$enablestring" = xdisable; then
7742 if test $wxUSE_FS_ZIP = yes; then
7748 result=$wxUSE_FS_ZIP
7751 { echo "$as_me:$LINENO: result: $result" >&5
7752 echo "${ECHO_T}$result" >&6; }
7756 defaultval=$wxUSE_ALL_FEATURES
7757 if test -z "$defaultval"; then
7758 if test x"$enablestring" = xdisable; then
7765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7766 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7768 # Check whether --enable-geometry was given.
7769 if test "${enable_geometry+set}" = set; then
7770 enableval=$enable_geometry;
7771 if test "$enableval" = yes; then
7772 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7774 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7779 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7780 if test "x$LINE" != x ; then
7781 eval "DEFAULT_$LINE"
7786 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7791 eval "$wx_cv_use_geometry"
7792 if test "$no_cache" != 1; then
7793 echo $wx_cv_use_geometry >> ${wx_arg_cache_file}.tmp
7796 if test x"$enablestring" = xdisable; then
7797 if test $wxUSE_GEOMETRY = yes; then
7803 result=$wxUSE_GEOMETRY
7806 { echo "$as_me:$LINENO: result: $result" >&5
7807 echo "${ECHO_T}$result" >&6; }
7811 defaultval=$wxUSE_ALL_FEATURES
7812 if test -z "$defaultval"; then
7813 if test x"$enablestring" = xdisable; then
7820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7821 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7823 # Check whether --enable-log was given.
7824 if test "${enable_log+set}" = set; then
7825 enableval=$enable_log;
7826 if test "$enableval" = yes; then
7827 wx_cv_use_log='wxUSE_LOG=yes'
7829 wx_cv_use_log='wxUSE_LOG=no'
7834 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7835 if test "x$LINE" != x ; then
7836 eval "DEFAULT_$LINE"
7841 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7846 eval "$wx_cv_use_log"
7847 if test "$no_cache" != 1; then
7848 echo $wx_cv_use_log >> ${wx_arg_cache_file}.tmp
7851 if test x"$enablestring" = xdisable; then
7852 if test $wxUSE_LOG = yes; then
7861 { echo "$as_me:$LINENO: result: $result" >&5
7862 echo "${ECHO_T}$result" >&6; }
7866 defaultval=$wxUSE_ALL_FEATURES
7867 if test -z "$defaultval"; then
7868 if test x"$enablestring" = xdisable; then
7875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7876 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7878 # Check whether --enable-longlong was given.
7879 if test "${enable_longlong+set}" = set; then
7880 enableval=$enable_longlong;
7881 if test "$enableval" = yes; then
7882 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7884 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7889 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x ; then
7891 eval "DEFAULT_$LINE"
7896 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7901 eval "$wx_cv_use_longlong"
7902 if test "$no_cache" != 1; then
7903 echo $wx_cv_use_longlong >> ${wx_arg_cache_file}.tmp
7906 if test x"$enablestring" = xdisable; then
7907 if test $wxUSE_LONGLONG = yes; then
7913 result=$wxUSE_LONGLONG
7916 { echo "$as_me:$LINENO: result: $result" >&5
7917 echo "${ECHO_T}$result" >&6; }
7921 defaultval=$wxUSE_ALL_FEATURES
7922 if test -z "$defaultval"; then
7923 if test x"$enablestring" = xdisable; then
7930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7933 # Check whether --enable-mimetype was given.
7934 if test "${enable_mimetype+set}" = set; then
7935 enableval=$enable_mimetype;
7936 if test "$enableval" = yes; then
7937 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7939 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7944 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7945 if test "x$LINE" != x ; then
7946 eval "DEFAULT_$LINE"
7951 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7956 eval "$wx_cv_use_mimetype"
7957 if test "$no_cache" != 1; then
7958 echo $wx_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
7961 if test x"$enablestring" = xdisable; then
7962 if test $wxUSE_MIMETYPE = yes; then
7968 result=$wxUSE_MIMETYPE
7971 { echo "$as_me:$LINENO: result: $result" >&5
7972 echo "${ECHO_T}$result" >&6; }
7976 defaultval=$wxUSE_ALL_FEATURES
7977 if test -z "$defaultval"; then
7978 if test x"$enablestring" = xdisable; then
7985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7988 # Check whether --enable-snglinst was given.
7989 if test "${enable_snglinst+set}" = set; then
7990 enableval=$enable_snglinst;
7991 if test "$enableval" = yes; then
7992 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7994 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7999 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x ; then
8001 eval "DEFAULT_$LINE"
8006 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8011 eval "$wx_cv_use_snglinst"
8012 if test "$no_cache" != 1; then
8013 echo $wx_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
8016 if test x"$enablestring" = xdisable; then
8017 if test $wxUSE_SNGLINST_CHECKER = yes; then
8023 result=$wxUSE_SNGLINST_CHECKER
8026 { echo "$as_me:$LINENO: result: $result" >&5
8027 echo "${ECHO_T}$result" >&6; }
8031 defaultval=$wxUSE_ALL_FEATURES
8032 if test -z "$defaultval"; then
8033 if test x"$enablestring" = xdisable; then
8040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8043 # Check whether --enable-stdpaths was given.
8044 if test "${enable_stdpaths+set}" = set; then
8045 enableval=$enable_stdpaths;
8046 if test "$enableval" = yes; then
8047 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8049 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8054 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8055 if test "x$LINE" != x ; then
8056 eval "DEFAULT_$LINE"
8061 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8066 eval "$wx_cv_use_stdpaths"
8067 if test "$no_cache" != 1; then
8068 echo $wx_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
8071 if test x"$enablestring" = xdisable; then
8072 if test $wxUSE_STDPATHS = yes; then
8078 result=$wxUSE_STDPATHS
8081 { echo "$as_me:$LINENO: result: $result" >&5
8082 echo "${ECHO_T}$result" >&6; }
8086 defaultval=$wxUSE_ALL_FEATURES
8087 if test -z "$defaultval"; then
8088 if test x"$enablestring" = xdisable; then
8095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8098 # Check whether --enable-stopwatch was given.
8099 if test "${enable_stopwatch+set}" = set; then
8100 enableval=$enable_stopwatch;
8101 if test "$enableval" = yes; then
8102 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8104 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8109 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x ; then
8111 eval "DEFAULT_$LINE"
8116 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8121 eval "$wx_cv_use_stopwatch"
8122 if test "$no_cache" != 1; then
8123 echo $wx_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_STOPWATCH = yes; then
8133 result=$wxUSE_STOPWATCH
8136 { echo "$as_me:$LINENO: result: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8141 defaultval=$wxUSE_ALL_FEATURES
8142 if test -z "$defaultval"; then
8143 if test x"$enablestring" = xdisable; then
8150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8153 # Check whether --enable-streams was given.
8154 if test "${enable_streams+set}" = set; then
8155 enableval=$enable_streams;
8156 if test "$enableval" = yes; then
8157 wx_cv_use_streams='wxUSE_STREAMS=yes'
8159 wx_cv_use_streams='wxUSE_STREAMS=no'
8164 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8165 if test "x$LINE" != x ; then
8166 eval "DEFAULT_$LINE"
8171 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8176 eval "$wx_cv_use_streams"
8177 if test "$no_cache" != 1; then
8178 echo $wx_cv_use_streams >> ${wx_arg_cache_file}.tmp
8181 if test x"$enablestring" = xdisable; then
8182 if test $wxUSE_STREAMS = yes; then
8188 result=$wxUSE_STREAMS
8191 { echo "$as_me:$LINENO: result: $result" >&5
8192 echo "${ECHO_T}$result" >&6; }
8196 defaultval=$wxUSE_ALL_FEATURES
8197 if test -z "$defaultval"; then
8198 if test x"$enablestring" = xdisable; then
8205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8208 # Check whether --enable-system_options was given.
8209 if test "${enable_system_options+set}" = set; then
8210 enableval=$enable_system_options;
8211 if test "$enableval" = yes; then
8212 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8214 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8219 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x ; then
8221 eval "DEFAULT_$LINE"
8226 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8231 eval "$wx_cv_use_system_options"
8232 if test "$no_cache" != 1; then
8233 echo $wx_cv_use_system_options >> ${wx_arg_cache_file}.tmp
8236 if test x"$enablestring" = xdisable; then
8237 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8243 result=$wxUSE_SYSTEM_OPTIONS
8246 { echo "$as_me:$LINENO: result: $result" >&5
8247 echo "${ECHO_T}$result" >&6; }
8251 defaultval=$wxUSE_ALL_FEATURES
8252 if test -z "$defaultval"; then
8253 if test x"$enablestring" = xdisable; then
8260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8261 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8263 # Check whether --enable-tarstream was given.
8264 if test "${enable_tarstream+set}" = set; then
8265 enableval=$enable_tarstream;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8269 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8274 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8275 if test "x$LINE" != x ; then
8276 eval "DEFAULT_$LINE"
8281 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8286 eval "$wx_cv_use_tarstream"
8287 if test "$no_cache" != 1; then
8288 echo $wx_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
8291 if test x"$enablestring" = xdisable; then
8292 if test $wxUSE_TARSTREAM = yes; then
8298 result=$wxUSE_TARSTREAM
8301 { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8306 defaultval=$wxUSE_ALL_FEATURES
8307 if test -z "$defaultval"; then
8308 if test x"$enablestring" = xdisable; then
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8318 # Check whether --enable-textbuf was given.
8319 if test "${enable_textbuf+set}" = set; then
8320 enableval=$enable_textbuf;
8321 if test "$enableval" = yes; then
8322 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8324 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8329 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8330 if test "x$LINE" != x ; then
8331 eval "DEFAULT_$LINE"
8336 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8341 eval "$wx_cv_use_textbuf"
8342 if test "$no_cache" != 1; then
8343 echo $wx_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
8346 if test x"$enablestring" = xdisable; then
8347 if test $wxUSE_TEXTBUFFER = yes; then
8353 result=$wxUSE_TEXTBUFFER
8356 { echo "$as_me:$LINENO: result: $result" >&5
8357 echo "${ECHO_T}$result" >&6; }
8361 defaultval=$wxUSE_ALL_FEATURES
8362 if test -z "$defaultval"; then
8363 if test x"$enablestring" = xdisable; then
8370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8373 # Check whether --enable-textfile was given.
8374 if test "${enable_textfile+set}" = set; then
8375 enableval=$enable_textfile;
8376 if test "$enableval" = yes; then
8377 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8379 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8384 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8385 if test "x$LINE" != x ; then
8386 eval "DEFAULT_$LINE"
8391 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8396 eval "$wx_cv_use_textfile"
8397 if test "$no_cache" != 1; then
8398 echo $wx_cv_use_textfile >> ${wx_arg_cache_file}.tmp
8401 if test x"$enablestring" = xdisable; then
8402 if test $wxUSE_TEXTFILE = yes; then
8408 result=$wxUSE_TEXTFILE
8411 { echo "$as_me:$LINENO: result: $result" >&5
8412 echo "${ECHO_T}$result" >&6; }
8416 defaultval=$wxUSE_ALL_FEATURES
8417 if test -z "$defaultval"; then
8418 if test x"$enablestring" = xdisable; then
8425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8426 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8428 # Check whether --enable-timer was given.
8429 if test "${enable_timer+set}" = set; then
8430 enableval=$enable_timer;
8431 if test "$enableval" = yes; then
8432 wx_cv_use_timer='wxUSE_TIMER=yes'
8434 wx_cv_use_timer='wxUSE_TIMER=no'
8439 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8440 if test "x$LINE" != x ; then
8441 eval "DEFAULT_$LINE"
8446 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8451 eval "$wx_cv_use_timer"
8452 if test "$no_cache" != 1; then
8453 echo $wx_cv_use_timer >> ${wx_arg_cache_file}.tmp
8456 if test x"$enablestring" = xdisable; then
8457 if test $wxUSE_TIMER = yes; then
8466 { echo "$as_me:$LINENO: result: $result" >&5
8467 echo "${ECHO_T}$result" >&6; }
8471 defaultval=$wxUSE_ALL_FEATURES
8472 if test -z "$defaultval"; then
8473 if test x"$enablestring" = xdisable; then
8480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8483 # Check whether --enable-sound was given.
8484 if test "${enable_sound+set}" = set; then
8485 enableval=$enable_sound;
8486 if test "$enableval" = yes; then
8487 wx_cv_use_sound='wxUSE_SOUND=yes'
8489 wx_cv_use_sound='wxUSE_SOUND=no'
8494 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8495 if test "x$LINE" != x ; then
8496 eval "DEFAULT_$LINE"
8501 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8506 eval "$wx_cv_use_sound"
8507 if test "$no_cache" != 1; then
8508 echo $wx_cv_use_sound >> ${wx_arg_cache_file}.tmp
8511 if test x"$enablestring" = xdisable; then
8512 if test $wxUSE_SOUND = yes; then
8521 { echo "$as_me:$LINENO: result: $result" >&5
8522 echo "${ECHO_T}$result" >&6; }
8526 defaultval=$wxUSE_ALL_FEATURES
8527 if test -z "$defaultval"; then
8528 if test x"$enablestring" = xdisable; then
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8538 # Check whether --enable-mediactrl was given.
8539 if test "${enable_mediactrl+set}" = set; then
8540 enableval=$enable_mediactrl;
8541 if test "$enableval" = yes; then
8542 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8544 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8549 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8556 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8561 eval "$wx_cv_use_mediactrl"
8562 if test "$no_cache" != 1; then
8563 echo $wx_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
8566 if test x"$enablestring" = xdisable; then
8567 if test $wxUSE_MEDIACTRL = yes; then
8573 result=$wxUSE_MEDIACTRL
8576 { echo "$as_me:$LINENO: result: $result" >&5
8577 echo "${ECHO_T}$result" >&6; }
8581 defaultval=$wxUSE_ALL_FEATURES
8582 if test -z "$defaultval"; then
8583 if test x"$enablestring" = xdisable; then
8590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8593 # Check whether --enable-gstreamer8 was given.
8594 if test "${enable_gstreamer8+set}" = set; then
8595 enableval=$enable_gstreamer8;
8596 if test "$enableval" = yes; then
8597 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8599 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8604 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x ; then
8606 eval "DEFAULT_$LINE"
8611 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8616 eval "$wx_cv_use_gstreamer8"
8617 if test "$no_cache" != 1; then
8618 echo $wx_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
8621 if test x"$enablestring" = xdisable; then
8622 if test $wxUSE_GSTREAMER8 = yes; then
8628 result=$wxUSE_GSTREAMER8
8631 { echo "$as_me:$LINENO: result: $result" >&5
8632 echo "${ECHO_T}$result" >&6; }
8636 defaultval=$wxUSE_ALL_FEATURES
8637 if test -z "$defaultval"; then
8638 if test x"$enablestring" = xdisable; then
8645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8648 # Check whether --enable-printfposparam was given.
8649 if test "${enable_printfposparam+set}" = set; then
8650 enableval=$enable_printfposparam;
8651 if test "$enableval" = yes; then
8652 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8654 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8659 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x ; then
8661 eval "DEFAULT_$LINE"
8666 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8671 eval "$wx_cv_use_printfposparam"
8672 if test "$no_cache" != 1; then
8673 echo $wx_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
8676 if test x"$enablestring" = xdisable; then
8677 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8683 result=$wxUSE_PRINTF_POS_PARAMS
8686 { echo "$as_me:$LINENO: result: $result" >&5
8687 echo "${ECHO_T}$result" >&6; }
8691 defaultval=$wxUSE_ALL_FEATURES
8692 if test -z "$defaultval"; then
8693 if test x"$enablestring" = xdisable; then
8700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8701 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8703 # Check whether --enable-zipstream was given.
8704 if test "${enable_zipstream+set}" = set; then
8705 enableval=$enable_zipstream;
8706 if test "$enableval" = yes; then
8707 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8709 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8714 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8715 if test "x$LINE" != x ; then
8716 eval "DEFAULT_$LINE"
8721 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8726 eval "$wx_cv_use_zipstream"
8727 if test "$no_cache" != 1; then
8728 echo $wx_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_ZIPSTREAM = yes; then
8738 result=$wxUSE_ZIPSTREAM
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8747 defaultval=$wxUSE_ALL_FEATURES
8748 if test -z "$defaultval"; then
8749 if test x"$enablestring" = xdisable; then
8756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8757 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8759 # Check whether --enable-url was given.
8760 if test "${enable_url+set}" = set; then
8761 enableval=$enable_url;
8762 if test "$enableval" = yes; then
8763 wx_cv_use_url='wxUSE_URL=yes'
8765 wx_cv_use_url='wxUSE_URL=no'
8770 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8771 if test "x$LINE" != x ; then
8772 eval "DEFAULT_$LINE"
8777 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8782 eval "$wx_cv_use_url"
8783 if test "$no_cache" != 1; then
8784 echo $wx_cv_use_url >> ${wx_arg_cache_file}.tmp
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_URL = yes; then
8797 { echo "$as_me:$LINENO: result: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8814 # Check whether --enable-variant was given.
8815 if test "${enable_variant+set}" = set; then
8816 enableval=$enable_variant;
8817 if test "$enableval" = yes; then
8818 wx_cv_use_variant='wxUSE_VARIANT=yes'
8820 wx_cv_use_variant='wxUSE_VARIANT=no'
8825 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8832 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8837 eval "$wx_cv_use_variant"
8838 if test "$no_cache" != 1; then
8839 echo $wx_cv_use_variant >> ${wx_arg_cache_file}.tmp
8842 if test x"$enablestring" = xdisable; then
8843 if test $wxUSE_VARIANT = yes; then
8849 result=$wxUSE_VARIANT
8852 { echo "$as_me:$LINENO: result: $result" >&5
8853 echo "${ECHO_T}$result" >&6; }
8857 defaultval=$wxUSE_ALL_FEATURES
8858 if test -z "$defaultval"; then
8859 if test x"$enablestring" = xdisable; then
8866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8867 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8869 # Check whether --enable-protocol was given.
8870 if test "${enable_protocol+set}" = set; then
8871 enableval=$enable_protocol;
8872 if test "$enableval" = yes; then
8873 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8875 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8880 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8881 if test "x$LINE" != x ; then
8882 eval "DEFAULT_$LINE"
8887 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8892 eval "$wx_cv_use_protocol"
8893 if test "$no_cache" != 1; then
8894 echo $wx_cv_use_protocol >> ${wx_arg_cache_file}.tmp
8897 if test x"$enablestring" = xdisable; then
8898 if test $wxUSE_PROTOCOL = yes; then
8904 result=$wxUSE_PROTOCOL
8907 { echo "$as_me:$LINENO: result: $result" >&5
8908 echo "${ECHO_T}$result" >&6; }
8912 defaultval=$wxUSE_ALL_FEATURES
8913 if test -z "$defaultval"; then
8914 if test x"$enablestring" = xdisable; then
8921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8924 # Check whether --enable-protocol_http was given.
8925 if test "${enable_protocol_http+set}" = set; then
8926 enableval=$enable_protocol_http;
8927 if test "$enableval" = yes; then
8928 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8930 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8935 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x ; then
8937 eval "DEFAULT_$LINE"
8942 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8947 eval "$wx_cv_use_protocol_http"
8948 if test "$no_cache" != 1; then
8949 echo $wx_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
8952 if test x"$enablestring" = xdisable; then
8953 if test $wxUSE_PROTOCOL_HTTP = yes; then
8959 result=$wxUSE_PROTOCOL_HTTP
8962 { echo "$as_me:$LINENO: result: $result" >&5
8963 echo "${ECHO_T}$result" >&6; }
8967 defaultval=$wxUSE_ALL_FEATURES
8968 if test -z "$defaultval"; then
8969 if test x"$enablestring" = xdisable; then
8976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8979 # Check whether --enable-protocol_ftp was given.
8980 if test "${enable_protocol_ftp+set}" = set; then
8981 enableval=$enable_protocol_ftp;
8982 if test "$enableval" = yes; then
8983 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8985 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8990 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8991 if test "x$LINE" != x ; then
8992 eval "DEFAULT_$LINE"
8997 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9002 eval "$wx_cv_use_protocol_ftp"
9003 if test "$no_cache" != 1; then
9004 echo $wx_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
9007 if test x"$enablestring" = xdisable; then
9008 if test $wxUSE_PROTOCOL_FTP = yes; then
9014 result=$wxUSE_PROTOCOL_FTP
9017 { echo "$as_me:$LINENO: result: $result" >&5
9018 echo "${ECHO_T}$result" >&6; }
9022 defaultval=$wxUSE_ALL_FEATURES
9023 if test -z "$defaultval"; then
9024 if test x"$enablestring" = xdisable; then
9031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9034 # Check whether --enable-protocol_file was given.
9035 if test "${enable_protocol_file+set}" = set; then
9036 enableval=$enable_protocol_file;
9037 if test "$enableval" = yes; then
9038 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9040 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9045 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9046 if test "x$LINE" != x ; then
9047 eval "DEFAULT_$LINE"
9052 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9057 eval "$wx_cv_use_protocol_file"
9058 if test "$no_cache" != 1; then
9059 echo $wx_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
9062 if test x"$enablestring" = xdisable; then
9063 if test $wxUSE_PROTOCOL_FILE = yes; then
9069 result=$wxUSE_PROTOCOL_FILE
9072 { echo "$as_me:$LINENO: result: $result" >&5
9073 echo "${ECHO_T}$result" >&6; }
9078 defaultval=$wxUSE_ALL_FEATURES
9079 if test -z "$defaultval"; then
9080 if test x"$enablestring" = xdisable; then
9087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9088 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9090 # Check whether --enable-threads was given.
9091 if test "${enable_threads+set}" = set; then
9092 enableval=$enable_threads;
9093 if test "$enableval" = yes; then
9094 wx_cv_use_threads='wxUSE_THREADS=yes'
9096 wx_cv_use_threads='wxUSE_THREADS=no'
9101 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x ; then
9103 eval "DEFAULT_$LINE"
9108 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9113 eval "$wx_cv_use_threads"
9114 if test "$no_cache" != 1; then
9115 echo $wx_cv_use_threads >> ${wx_arg_cache_file}.tmp
9118 if test x"$enablestring" = xdisable; then
9119 if test $wxUSE_THREADS = yes; then
9125 result=$wxUSE_THREADS
9128 { echo "$as_me:$LINENO: result: $result" >&5
9129 echo "${ECHO_T}$result" >&6; }
9132 if test "$wxUSE_GUI" = "yes"; then
9137 defaultval=$wxUSE_ALL_FEATURES
9138 if test -z "$defaultval"; then
9139 if test x"$enablestring" = xdisable; then
9146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9147 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9149 # Check whether --enable-docview was given.
9150 if test "${enable_docview+set}" = set; then
9151 enableval=$enable_docview;
9152 if test "$enableval" = yes; then
9153 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9155 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9160 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x ; then
9162 eval "DEFAULT_$LINE"
9167 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9172 eval "$wx_cv_use_docview"
9173 if test "$no_cache" != 1; then
9174 echo $wx_cv_use_docview >> ${wx_arg_cache_file}.tmp
9177 if test x"$enablestring" = xdisable; then
9178 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9184 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9187 { echo "$as_me:$LINENO: result: $result" >&5
9188 echo "${ECHO_T}$result" >&6; }
9192 defaultval=$wxUSE_ALL_FEATURES
9193 if test -z "$defaultval"; then
9194 if test x"$enablestring" = xdisable; then
9201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9202 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9204 # Check whether --enable-help was given.
9205 if test "${enable_help+set}" = set; then
9206 enableval=$enable_help;
9207 if test "$enableval" = yes; then
9208 wx_cv_use_help='wxUSE_HELP=yes'
9210 wx_cv_use_help='wxUSE_HELP=no'
9215 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x ; then
9217 eval "DEFAULT_$LINE"
9222 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9227 eval "$wx_cv_use_help"
9228 if test "$no_cache" != 1; then
9229 echo $wx_cv_use_help >> ${wx_arg_cache_file}.tmp
9232 if test x"$enablestring" = xdisable; then
9233 if test $wxUSE_HELP = yes; then
9242 { echo "$as_me:$LINENO: result: $result" >&5
9243 echo "${ECHO_T}$result" >&6; }
9247 defaultval=$wxUSE_ALL_FEATURES
9248 if test -z "$defaultval"; then
9249 if test x"$enablestring" = xdisable; then
9256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9259 # Check whether --enable-mshtmlhelp was given.
9260 if test "${enable_mshtmlhelp+set}" = set; then
9261 enableval=$enable_mshtmlhelp;
9262 if test "$enableval" = yes; then
9263 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9265 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9270 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9271 if test "x$LINE" != x ; then
9272 eval "DEFAULT_$LINE"
9277 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9282 eval "$wx_cv_use_mshtmlhelp"
9283 if test "$no_cache" != 1; then
9284 echo $wx_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
9287 if test x"$enablestring" = xdisable; then
9288 if test $wxUSE_MS_HTML_HELP = yes; then
9294 result=$wxUSE_MS_HTML_HELP
9297 { echo "$as_me:$LINENO: result: $result" >&5
9298 echo "${ECHO_T}$result" >&6; }
9302 defaultval=$wxUSE_ALL_FEATURES
9303 if test -z "$defaultval"; then
9304 if test x"$enablestring" = xdisable; then
9311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9314 # Check whether --enable-html was given.
9315 if test "${enable_html+set}" = set; then
9316 enableval=$enable_html;
9317 if test "$enableval" = yes; then
9318 wx_cv_use_html='wxUSE_HTML=yes'
9320 wx_cv_use_html='wxUSE_HTML=no'
9325 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9326 if test "x$LINE" != x ; then
9327 eval "DEFAULT_$LINE"
9332 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9337 eval "$wx_cv_use_html"
9338 if test "$no_cache" != 1; then
9339 echo $wx_cv_use_html >> ${wx_arg_cache_file}.tmp
9342 if test x"$enablestring" = xdisable; then
9343 if test $wxUSE_HTML = yes; then
9352 { echo "$as_me:$LINENO: result: $result" >&5
9353 echo "${ECHO_T}$result" >&6; }
9357 defaultval=$wxUSE_ALL_FEATURES
9358 if test -z "$defaultval"; then
9359 if test x"$enablestring" = xdisable; then
9366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9369 # Check whether --enable-htmlhelp was given.
9370 if test "${enable_htmlhelp+set}" = set; then
9371 enableval=$enable_htmlhelp;
9372 if test "$enableval" = yes; then
9373 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9375 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9380 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9381 if test "x$LINE" != x ; then
9382 eval "DEFAULT_$LINE"
9387 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9392 eval "$wx_cv_use_htmlhelp"
9393 if test "$no_cache" != 1; then
9394 echo $wx_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
9397 if test x"$enablestring" = xdisable; then
9398 if test $wxUSE_WXHTML_HELP = yes; then
9404 result=$wxUSE_WXHTML_HELP
9407 { echo "$as_me:$LINENO: result: $result" >&5
9408 echo "${ECHO_T}$result" >&6; }
9412 defaultval=$wxUSE_ALL_FEATURES
9413 if test -z "$defaultval"; then
9414 if test x"$enablestring" = xdisable; then
9421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9422 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9424 # Check whether --enable-xrc was given.
9425 if test "${enable_xrc+set}" = set; then
9426 enableval=$enable_xrc;
9427 if test "$enableval" = yes; then
9428 wx_cv_use_xrc='wxUSE_XRC=yes'
9430 wx_cv_use_xrc='wxUSE_XRC=no'
9435 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9436 if test "x$LINE" != x ; then
9437 eval "DEFAULT_$LINE"
9442 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9447 eval "$wx_cv_use_xrc"
9448 if test "$no_cache" != 1; then
9449 echo $wx_cv_use_xrc >> ${wx_arg_cache_file}.tmp
9452 if test x"$enablestring" = xdisable; then
9453 if test $wxUSE_XRC = yes; then
9462 { echo "$as_me:$LINENO: result: $result" >&5
9463 echo "${ECHO_T}$result" >&6; }
9467 defaultval=$wxUSE_ALL_FEATURES
9468 if test -z "$defaultval"; then
9469 if test x"$enablestring" = xdisable; then
9476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9477 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9479 # Check whether --enable-aui was given.
9480 if test "${enable_aui+set}" = set; then
9481 enableval=$enable_aui;
9482 if test "$enableval" = yes; then
9483 wx_cv_use_aui='wxUSE_AUI=yes'
9485 wx_cv_use_aui='wxUSE_AUI=no'
9490 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x ; then
9492 eval "DEFAULT_$LINE"
9497 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9502 eval "$wx_cv_use_aui"
9503 if test "$no_cache" != 1; then
9504 echo $wx_cv_use_aui >> ${wx_arg_cache_file}.tmp
9507 if test x"$enablestring" = xdisable; then
9508 if test $wxUSE_AUI = 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}-stc" >&5
9532 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9534 # Check whether --enable-stc was given.
9535 if test "${enable_stc+set}" = set; then
9536 enableval=$enable_stc;
9537 if test "$enableval" = yes; then
9538 wx_cv_use_stc='wxUSE_STC=yes'
9540 wx_cv_use_stc='wxUSE_STC=no'
9545 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x ; then
9547 eval "DEFAULT_$LINE"
9552 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9557 eval "$wx_cv_use_stc"
9558 if test "$no_cache" != 1; then
9559 echo $wx_cv_use_stc >> ${wx_arg_cache_file}.tmp
9562 if test x"$enablestring" = xdisable; then
9563 if test $wxUSE_STC = yes; then
9572 { echo "$as_me:$LINENO: result: $result" >&5
9573 echo "${ECHO_T}$result" >&6; }
9577 defaultval=$wxUSE_ALL_FEATURES
9578 if test -z "$defaultval"; then
9579 if test x"$enablestring" = xdisable; then
9586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9589 # Check whether --enable-constraints was given.
9590 if test "${enable_constraints+set}" = set; then
9591 enableval=$enable_constraints;
9592 if test "$enableval" = yes; then
9593 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9595 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9600 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9601 if test "x$LINE" != x ; then
9602 eval "DEFAULT_$LINE"
9607 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9612 eval "$wx_cv_use_constraints"
9613 if test "$no_cache" != 1; then
9614 echo $wx_cv_use_constraints >> ${wx_arg_cache_file}.tmp
9617 if test x"$enablestring" = xdisable; then
9618 if test $wxUSE_CONSTRAINTS = yes; then
9624 result=$wxUSE_CONSTRAINTS
9627 { echo "$as_me:$LINENO: result: $result" >&5
9628 echo "${ECHO_T}$result" >&6; }
9632 defaultval=$wxUSE_ALL_FEATURES
9633 if test -z "$defaultval"; then
9634 if test x"$enablestring" = xdisable; then
9641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9644 # Check whether --enable-printarch was given.
9645 if test "${enable_printarch+set}" = set; then
9646 enableval=$enable_printarch;
9647 if test "$enableval" = yes; then
9648 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9650 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9655 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9656 if test "x$LINE" != x ; then
9657 eval "DEFAULT_$LINE"
9662 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9667 eval "$wx_cv_use_printarch"
9668 if test "$no_cache" != 1; then
9669 echo $wx_cv_use_printarch >> ${wx_arg_cache_file}.tmp
9672 if test x"$enablestring" = xdisable; then
9673 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9679 result=$wxUSE_PRINTING_ARCHITECTURE
9682 { echo "$as_me:$LINENO: result: $result" >&5
9683 echo "${ECHO_T}$result" >&6; }
9687 defaultval=$wxUSE_ALL_FEATURES
9688 if test -z "$defaultval"; then
9689 if test x"$enablestring" = xdisable; then
9696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9697 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9699 # Check whether --enable-mdi was given.
9700 if test "${enable_mdi+set}" = set; then
9701 enableval=$enable_mdi;
9702 if test "$enableval" = yes; then
9703 wx_cv_use_mdi='wxUSE_MDI=yes'
9705 wx_cv_use_mdi='wxUSE_MDI=no'
9710 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9711 if test "x$LINE" != x ; then
9712 eval "DEFAULT_$LINE"
9717 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9722 eval "$wx_cv_use_mdi"
9723 if test "$no_cache" != 1; then
9724 echo $wx_cv_use_mdi >> ${wx_arg_cache_file}.tmp
9727 if test x"$enablestring" = xdisable; then
9728 if test $wxUSE_MDI = yes; then
9737 { echo "$as_me:$LINENO: result: $result" >&5
9738 echo "${ECHO_T}$result" >&6; }
9742 defaultval=$wxUSE_ALL_FEATURES
9743 if test -z "$defaultval"; then
9744 if test x"$enablestring" = xdisable; then
9751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9752 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9754 # Check whether --enable-mdidoc was given.
9755 if test "${enable_mdidoc+set}" = set; then
9756 enableval=$enable_mdidoc;
9757 if test "$enableval" = yes; then
9758 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9760 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9765 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9766 if test "x$LINE" != x ; then
9767 eval "DEFAULT_$LINE"
9772 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9777 eval "$wx_cv_use_mdidoc"
9778 if test "$no_cache" != 1; then
9779 echo $wx_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
9782 if test x"$enablestring" = xdisable; then
9783 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9789 result=$wxUSE_MDI_ARCHITECTURE
9792 { echo "$as_me:$LINENO: result: $result" >&5
9793 echo "${ECHO_T}$result" >&6; }
9797 defaultval=$wxUSE_ALL_FEATURES
9798 if test -z "$defaultval"; then
9799 if test x"$enablestring" = xdisable; then
9806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9809 # Check whether --enable-loggui was given.
9810 if test "${enable_loggui+set}" = set; then
9811 enableval=$enable_loggui;
9812 if test "$enableval" = yes; then
9813 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9815 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9820 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x ; then
9822 eval "DEFAULT_$LINE"
9827 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9832 eval "$wx_cv_use_loggui"
9833 if test "$no_cache" != 1; then
9834 echo $wx_cv_use_loggui >> ${wx_arg_cache_file}.tmp
9837 if test x"$enablestring" = xdisable; then
9838 if test $wxUSE_LOGGUI = yes; then
9844 result=$wxUSE_LOGGUI
9847 { echo "$as_me:$LINENO: result: $result" >&5
9848 echo "${ECHO_T}$result" >&6; }
9852 defaultval=$wxUSE_ALL_FEATURES
9853 if test -z "$defaultval"; then
9854 if test x"$enablestring" = xdisable; then
9861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9862 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9864 # Check whether --enable-logwin was given.
9865 if test "${enable_logwin+set}" = set; then
9866 enableval=$enable_logwin;
9867 if test "$enableval" = yes; then
9868 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9870 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9875 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x ; then
9877 eval "DEFAULT_$LINE"
9882 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9887 eval "$wx_cv_use_logwin"
9888 if test "$no_cache" != 1; then
9889 echo $wx_cv_use_logwin >> ${wx_arg_cache_file}.tmp
9892 if test x"$enablestring" = xdisable; then
9893 if test $wxUSE_LOGWINDOW = yes; then
9899 result=$wxUSE_LOGWINDOW
9902 { echo "$as_me:$LINENO: result: $result" >&5
9903 echo "${ECHO_T}$result" >&6; }
9907 defaultval=$wxUSE_ALL_FEATURES
9908 if test -z "$defaultval"; then
9909 if test x"$enablestring" = xdisable; then
9916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9919 # Check whether --enable-logdialog was given.
9920 if test "${enable_logdialog+set}" = set; then
9921 enableval=$enable_logdialog;
9922 if test "$enableval" = yes; then
9923 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9925 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9930 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9931 if test "x$LINE" != x ; then
9932 eval "DEFAULT_$LINE"
9937 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9942 eval "$wx_cv_use_logdialog"
9943 if test "$no_cache" != 1; then
9944 echo $wx_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
9947 if test x"$enablestring" = xdisable; then
9948 if test $wxUSE_LOGDIALOG = yes; then
9954 result=$wxUSE_LOGDIALOG
9957 { echo "$as_me:$LINENO: result: $result" >&5
9958 echo "${ECHO_T}$result" >&6; }
9962 defaultval=$wxUSE_ALL_FEATURES
9963 if test -z "$defaultval"; then
9964 if test x"$enablestring" = xdisable; then
9971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9972 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9974 # Check whether --enable-webkit was given.
9975 if test "${enable_webkit+set}" = set; then
9976 enableval=$enable_webkit;
9977 if test "$enableval" = yes; then
9978 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9980 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9985 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9986 if test "x$LINE" != x ; then
9987 eval "DEFAULT_$LINE"
9992 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9997 eval "$wx_cv_use_webkit"
9998 if test "$no_cache" != 1; then
9999 echo $wx_cv_use_webkit >> ${wx_arg_cache_file}.tmp
10002 if test x"$enablestring" = xdisable; then
10003 if test $wxUSE_WEBKIT = yes; then
10009 result=$wxUSE_WEBKIT
10012 { echo "$as_me:$LINENO: result: $result" >&5
10013 echo "${ECHO_T}$result" >&6; }
10017 defaultval=$wxUSE_ALL_FEATURES
10018 if test -z "$defaultval"; then
10019 if test x"$enablestring" = xdisable; then
10026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10029 # Check whether --enable-richtext was given.
10030 if test "${enable_richtext+set}" = set; then
10031 enableval=$enable_richtext;
10032 if test "$enableval" = yes; then
10033 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10035 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10040 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10041 if test "x$LINE" != x ; then
10042 eval "DEFAULT_$LINE"
10047 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10052 eval "$wx_cv_use_richtext"
10053 if test "$no_cache" != 1; then
10054 echo $wx_cv_use_richtext >> ${wx_arg_cache_file}.tmp
10057 if test x"$enablestring" = xdisable; then
10058 if test $wxUSE_RICHTEXT = yes; then
10064 result=$wxUSE_RICHTEXT
10067 { echo "$as_me:$LINENO: result: $result" >&5
10068 echo "${ECHO_T}$result" >&6; }
10072 defaultval=$wxUSE_ALL_FEATURES
10073 if test -z "$defaultval"; then
10074 if test x"$enablestring" = xdisable; then
10081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10082 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10084 # Check whether --enable-graphics_ctx was given.
10085 if test "${enable_graphics_ctx+set}" = set; then
10086 enableval=$enable_graphics_ctx;
10087 if test "$enableval" = yes; then
10088 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10090 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10095 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10096 if test "x$LINE" != x ; then
10097 eval "DEFAULT_$LINE"
10102 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10107 eval "$wx_cv_use_graphics_ctx"
10108 if test "$no_cache" != 1; then
10109 echo $wx_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
10112 if test x"$enablestring" = xdisable; then
10113 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10119 result=$wxUSE_GRAPHICS_CONTEXT
10122 { echo "$as_me:$LINENO: result: $result" >&5
10123 echo "${ECHO_T}$result" >&6; }
10127 defaultval=$wxUSE_ALL_FEATURES
10128 if test -z "$defaultval"; then
10129 if test x"$enablestring" = xdisable; then
10136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10139 # Check whether --enable-postscript was given.
10140 if test "${enable_postscript+set}" = set; then
10141 enableval=$enable_postscript;
10142 if test "$enableval" = yes; then
10143 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10145 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10150 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10151 if test "x$LINE" != x ; then
10152 eval "DEFAULT_$LINE"
10157 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10162 eval "$wx_cv_use_postscript"
10163 if test "$no_cache" != 1; then
10164 echo $wx_cv_use_postscript >> ${wx_arg_cache_file}.tmp
10167 if test x"$enablestring" = xdisable; then
10168 if test $wxUSE_POSTSCRIPT = yes; then
10174 result=$wxUSE_POSTSCRIPT
10177 { echo "$as_me:$LINENO: result: $result" >&5
10178 echo "${ECHO_T}$result" >&6; }
10182 defaultval=$wxUSE_ALL_FEATURES
10183 if test -z "$defaultval"; then
10184 if test x"$enablestring" = xdisable; then
10191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10192 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10194 # Check whether --enable-svg was given.
10195 if test "${enable_svg+set}" = set; then
10196 enableval=$enable_svg;
10197 if test "$enableval" = yes; then
10198 wx_cv_use_svg='wxUSE_SVG=yes'
10200 wx_cv_use_svg='wxUSE_SVG=no'
10205 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10206 if test "x$LINE" != x ; then
10207 eval "DEFAULT_$LINE"
10212 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10217 eval "$wx_cv_use_svg"
10218 if test "$no_cache" != 1; then
10219 echo $wx_cv_use_svg >> ${wx_arg_cache_file}.tmp
10222 if test x"$enablestring" = xdisable; then
10223 if test $wxUSE_SVG = yes; then
10232 { echo "$as_me:$LINENO: result: $result" >&5
10233 echo "${ECHO_T}$result" >&6; }
10239 defaultval=$wxUSE_ALL_FEATURES
10240 if test -z "$defaultval"; then
10241 if test x"$enablestring" = xdisable; then
10248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10249 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10251 # Check whether --enable-clipboard was given.
10252 if test "${enable_clipboard+set}" = set; then
10253 enableval=$enable_clipboard;
10254 if test "$enableval" = yes; then
10255 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10257 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10262 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10263 if test "x$LINE" != x ; then
10264 eval "DEFAULT_$LINE"
10269 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10274 eval "$wx_cv_use_clipboard"
10275 if test "$no_cache" != 1; then
10276 echo $wx_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
10279 if test x"$enablestring" = xdisable; then
10280 if test $wxUSE_CLIPBOARD = yes; then
10286 result=$wxUSE_CLIPBOARD
10289 { echo "$as_me:$LINENO: result: $result" >&5
10290 echo "${ECHO_T}$result" >&6; }
10294 defaultval=$wxUSE_ALL_FEATURES
10295 if test -z "$defaultval"; then
10296 if test x"$enablestring" = xdisable; then
10303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10304 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10306 # Check whether --enable-dnd was given.
10307 if test "${enable_dnd+set}" = set; then
10308 enableval=$enable_dnd;
10309 if test "$enableval" = yes; then
10310 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10312 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10317 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10318 if test "x$LINE" != x ; then
10319 eval "DEFAULT_$LINE"
10324 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10329 eval "$wx_cv_use_dnd"
10330 if test "$no_cache" != 1; then
10331 echo $wx_cv_use_dnd >> ${wx_arg_cache_file}.tmp
10334 if test x"$enablestring" = xdisable; then
10335 if test $wxUSE_DRAG_AND_DROP = yes; then
10341 result=$wxUSE_DRAG_AND_DROP
10344 { echo "$as_me:$LINENO: result: $result" >&5
10345 echo "${ECHO_T}$result" >&6; }
10349 defaultval=$wxUSE_ALL_FEATURES
10350 if test -z "$defaultval"; then
10351 if test x"$enablestring" = xdisable; then
10358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10359 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10361 # Check whether --enable-metafile was given.
10362 if test "${enable_metafile+set}" = set; then
10363 enableval=$enable_metafile;
10364 if test "$enableval" = yes; then
10365 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10367 wx_cv_use_metafile='wxUSE_METAFILE=no'
10372 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10373 if test "x$LINE" != x ; then
10374 eval "DEFAULT_$LINE"
10379 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10384 eval "$wx_cv_use_metafile"
10385 if test "$no_cache" != 1; then
10386 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10389 if test x"$enablestring" = xdisable; then
10390 if test $wxUSE_METAFILE = yes; then
10396 result=$wxUSE_METAFILE
10399 { echo "$as_me:$LINENO: result: $result" >&5
10400 echo "${ECHO_T}$result" >&6; }
10404 DEFAULT_wxUSE_CONTROLS=none
10406 enablestring=disable
10408 if test -z "$defaultval"; then
10409 if test x"$enablestring" = xdisable; then
10416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10417 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10419 # Check whether --enable-controls was given.
10420 if test "${enable_controls+set}" = set; then
10421 enableval=$enable_controls;
10422 if test "$enableval" = yes; then
10423 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10425 wx_cv_use_controls='wxUSE_CONTROLS=no'
10430 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10431 if test "x$LINE" != x ; then
10432 eval "DEFAULT_$LINE"
10437 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10442 eval "$wx_cv_use_controls"
10443 if test "$no_cache" != 1; then
10444 echo $wx_cv_use_controls >> ${wx_arg_cache_file}.tmp
10447 if test x"$enablestring" = xdisable; then
10448 if test $wxUSE_CONTROLS = yes; then
10454 result=$wxUSE_CONTROLS
10457 { echo "$as_me:$LINENO: result: $result" >&5
10458 echo "${ECHO_T}$result" >&6; }
10461 if test "$wxUSE_CONTROLS" = "yes"; then
10462 DEFAULT_wxUSE_ACCEL=yes
10463 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10464 DEFAULT_wxUSE_BMPBUTTON=yes
10465 DEFAULT_wxUSE_BUTTON=yes
10466 DEFAULT_wxUSE_CALCTRL=yes
10467 DEFAULT_wxUSE_CARET=yes
10468 DEFAULT_wxUSE_COMBOBOX=yes
10469 DEFAULT_wxUSE_CHECKBOX=yes
10470 DEFAULT_wxUSE_CHECKLISTBOX=yes
10471 DEFAULT_wxUSE_CHOICE=yes
10472 DEFAULT_wxUSE_CHOICEBOOK=yes
10473 DEFAULT_wxUSE_COLLPANE=yes
10474 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10475 DEFAULT_wxUSE_COMBOBOX=yes
10476 DEFAULT_wxUSE_DATEPICKCTRL=yes
10477 DEFAULT_wxUSE_DISPLAY=yes
10478 DEFAULT_wxUSE_DETECT_SM=yes
10479 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10480 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10481 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10482 DEFAULT_wxUSE_GAUGE=yes
10483 DEFAULT_wxUSE_GRID=yes
10484 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10485 DEFAULT_wxUSE_DATAVIEWCTRL=no
10486 DEFAULT_wxUSE_IMAGLIST=yes
10487 DEFAULT_wxUSE_LISTBOOK=yes
10488 DEFAULT_wxUSE_LISTBOX=yes
10489 DEFAULT_wxUSE_LISTCTRL=yes
10490 DEFAULT_wxUSE_NOTEBOOK=yes
10491 DEFAULT_wxUSE_RADIOBOX=yes
10492 DEFAULT_wxUSE_RADIOBTN=yes
10493 DEFAULT_wxUSE_SASH=yes
10494 DEFAULT_wxUSE_SCROLLBAR=yes
10495 DEFAULT_wxUSE_SEARCHCTRL=yes
10496 DEFAULT_wxUSE_SLIDER=yes
10497 DEFAULT_wxUSE_SPINBTN=yes
10498 DEFAULT_wxUSE_SPINCTRL=yes
10499 DEFAULT_wxUSE_SPLITTER=yes
10500 DEFAULT_wxUSE_STATBMP=yes
10501 DEFAULT_wxUSE_STATBOX=yes
10502 DEFAULT_wxUSE_STATLINE=yes
10503 DEFAULT_wxUSE_STATUSBAR=yes
10504 DEFAULT_wxUSE_TAB_DIALOG=yes
10505 DEFAULT_wxUSE_TOGGLEBTN=yes
10506 DEFAULT_wxUSE_TOOLBAR=yes
10507 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10508 DEFAULT_wxUSE_TOOLTIPS=yes
10509 DEFAULT_wxUSE_TREEBOOK=yes
10510 DEFAULT_wxUSE_TOOLBOOK=yes
10511 DEFAULT_wxUSE_TREECTRL=yes
10512 DEFAULT_wxUSE_POPUPWIN=yes
10513 DEFAULT_wxUSE_TIPWINDOW=yes
10514 elif test "$wxUSE_CONTROLS" = "no"; then
10515 DEFAULT_wxUSE_ACCEL=no
10516 DEFAULT_wxUSE_ANIMATIONCTRL=no
10517 DEFAULT_wxUSE_BMPBUTTON=no
10518 DEFAULT_wxUSE_BUTTON=no
10519 DEFAULT_wxUSE_CALCTRL=no
10520 DEFAULT_wxUSE_CARET=no
10521 DEFAULT_wxUSE_COLLPANE=no
10522 DEFAULT_wxUSE_COMBOBOX=no
10523 DEFAULT_wxUSE_CHECKBOX=no
10524 DEFAULT_wxUSE_CHECKLISTBOX=no
10525 DEFAULT_wxUSE_CHOICE=no
10526 DEFAULT_wxUSE_CHOICEBOOK=no
10527 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10528 DEFAULT_wxUSE_COMBOBOX=no
10529 DEFAULT_wxUSE_DATEPICKCTRL=no
10530 DEFAULT_wxUSE_DISPLAY=no
10531 DEFAULT_wxUSE_DETECT_SM=no
10532 DEFAULT_wxUSE_DIRPICKERCTRL=no
10533 DEFAULT_wxUSE_FILEPICKERCTRL=no
10534 DEFAULT_wxUSE_FONTPICKERCTRL=no
10535 DEFAULT_wxUSE_GAUGE=no
10536 DEFAULT_wxUSE_GRID=no
10537 DEFAULT_wxUSE_HYPERLINKCTRL=no
10538 DEFAULT_wxUSE_DATAVIEWCTRL=no
10539 DEFAULT_wxUSE_IMAGLIST=no
10540 DEFAULT_wxUSE_LISTBOOK=no
10541 DEFAULT_wxUSE_LISTBOX=no
10542 DEFAULT_wxUSE_LISTCTRL=no
10543 DEFAULT_wxUSE_NOTEBOOK=no
10544 DEFAULT_wxUSE_RADIOBOX=no
10545 DEFAULT_wxUSE_RADIOBTN=no
10546 DEFAULT_wxUSE_SASH=no
10547 DEFAULT_wxUSE_SCROLLBAR=no
10548 DEFAULT_wxUSE_SEARCHCTRL=no
10549 DEFAULT_wxUSE_SLIDER=no
10550 DEFAULT_wxUSE_SPINBTN=no
10551 DEFAULT_wxUSE_SPINCTRL=no
10552 DEFAULT_wxUSE_SPLITTER=no
10553 DEFAULT_wxUSE_STATBMP=no
10554 DEFAULT_wxUSE_STATBOX=no
10555 DEFAULT_wxUSE_STATLINE=no
10556 DEFAULT_wxUSE_STATUSBAR=no
10557 DEFAULT_wxUSE_TAB_DIALOG=no
10558 DEFAULT_wxUSE_TOGGLEBTN=no
10559 DEFAULT_wxUSE_TOOLBAR=no
10560 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10561 DEFAULT_wxUSE_TOOLTIPS=no
10562 DEFAULT_wxUSE_TREEBOOK=no
10563 DEFAULT_wxUSE_TOOLBOOK=no
10564 DEFAULT_wxUSE_TREECTRL=no
10565 DEFAULT_wxUSE_POPUPWIN=no
10566 DEFAULT_wxUSE_TIPWINDOW=no
10571 defaultval=$wxUSE_ALL_FEATURES
10572 if test -z "$defaultval"; then
10573 if test x"$enablestring" = xdisable; then
10580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10581 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10583 # Check whether --enable-accel was given.
10584 if test "${enable_accel+set}" = set; then
10585 enableval=$enable_accel;
10586 if test "$enableval" = yes; then
10587 wx_cv_use_accel='wxUSE_ACCEL=yes'
10589 wx_cv_use_accel='wxUSE_ACCEL=no'
10594 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10595 if test "x$LINE" != x ; then
10596 eval "DEFAULT_$LINE"
10601 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10606 eval "$wx_cv_use_accel"
10607 if test "$no_cache" != 1; then
10608 echo $wx_cv_use_accel >> ${wx_arg_cache_file}.tmp
10611 if test x"$enablestring" = xdisable; then
10612 if test $wxUSE_ACCEL = yes; then
10618 result=$wxUSE_ACCEL
10621 { echo "$as_me:$LINENO: result: $result" >&5
10622 echo "${ECHO_T}$result" >&6; }
10626 defaultval=$wxUSE_ALL_FEATURES
10627 if test -z "$defaultval"; then
10628 if test x"$enablestring" = xdisable; then
10635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10636 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10638 # Check whether --enable-animatectrl was given.
10639 if test "${enable_animatectrl+set}" = set; then
10640 enableval=$enable_animatectrl;
10641 if test "$enableval" = yes; then
10642 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10644 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10649 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10650 if test "x$LINE" != x ; then
10651 eval "DEFAULT_$LINE"
10656 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10661 eval "$wx_cv_use_animatectrl"
10662 if test "$no_cache" != 1; then
10663 echo $wx_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
10666 if test x"$enablestring" = xdisable; then
10667 if test $wxUSE_ANIMATIONCTRL = yes; then
10673 result=$wxUSE_ANIMATIONCTRL
10676 { echo "$as_me:$LINENO: result: $result" >&5
10677 echo "${ECHO_T}$result" >&6; }
10681 defaultval=$wxUSE_ALL_FEATURES
10682 if test -z "$defaultval"; then
10683 if test x"$enablestring" = xdisable; then
10690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10691 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10693 # Check whether --enable-button was given.
10694 if test "${enable_button+set}" = set; then
10695 enableval=$enable_button;
10696 if test "$enableval" = yes; then
10697 wx_cv_use_button='wxUSE_BUTTON=yes'
10699 wx_cv_use_button='wxUSE_BUTTON=no'
10704 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10705 if test "x$LINE" != x ; then
10706 eval "DEFAULT_$LINE"
10711 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10716 eval "$wx_cv_use_button"
10717 if test "$no_cache" != 1; then
10718 echo $wx_cv_use_button >> ${wx_arg_cache_file}.tmp
10721 if test x"$enablestring" = xdisable; then
10722 if test $wxUSE_BUTTON = yes; then
10728 result=$wxUSE_BUTTON
10731 { echo "$as_me:$LINENO: result: $result" >&5
10732 echo "${ECHO_T}$result" >&6; }
10736 defaultval=$wxUSE_ALL_FEATURES
10737 if test -z "$defaultval"; then
10738 if test x"$enablestring" = xdisable; then
10745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10746 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10748 # Check whether --enable-bmpbutton was given.
10749 if test "${enable_bmpbutton+set}" = set; then
10750 enableval=$enable_bmpbutton;
10751 if test "$enableval" = yes; then
10752 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10754 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10759 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10760 if test "x$LINE" != x ; then
10761 eval "DEFAULT_$LINE"
10766 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10771 eval "$wx_cv_use_bmpbutton"
10772 if test "$no_cache" != 1; then
10773 echo $wx_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
10776 if test x"$enablestring" = xdisable; then
10777 if test $wxUSE_BMPBUTTON = yes; then
10783 result=$wxUSE_BMPBUTTON
10786 { echo "$as_me:$LINENO: result: $result" >&5
10787 echo "${ECHO_T}$result" >&6; }
10791 defaultval=$wxUSE_ALL_FEATURES
10792 if test -z "$defaultval"; then
10793 if test x"$enablestring" = xdisable; then
10800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10801 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10803 # Check whether --enable-bmpcombobox was given.
10804 if test "${enable_bmpcombobox+set}" = set; then
10805 enableval=$enable_bmpcombobox;
10806 if test "$enableval" = yes; then
10807 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10809 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10814 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10815 if test "x$LINE" != x ; then
10816 eval "DEFAULT_$LINE"
10821 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10826 eval "$wx_cv_use_bmpcombobox"
10827 if test "$no_cache" != 1; then
10828 echo $wx_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
10831 if test x"$enablestring" = xdisable; then
10832 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10838 result=$wxUSE_BITMAPCOMBOBOX
10841 { echo "$as_me:$LINENO: result: $result" >&5
10842 echo "${ECHO_T}$result" >&6; }
10846 defaultval=$wxUSE_ALL_FEATURES
10847 if test -z "$defaultval"; then
10848 if test x"$enablestring" = xdisable; then
10855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10856 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10858 # Check whether --enable-calendar was given.
10859 if test "${enable_calendar+set}" = set; then
10860 enableval=$enable_calendar;
10861 if test "$enableval" = yes; then
10862 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10864 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10869 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10870 if test "x$LINE" != x ; then
10871 eval "DEFAULT_$LINE"
10876 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10881 eval "$wx_cv_use_calendar"
10882 if test "$no_cache" != 1; then
10883 echo $wx_cv_use_calendar >> ${wx_arg_cache_file}.tmp
10886 if test x"$enablestring" = xdisable; then
10887 if test $wxUSE_CALCTRL = yes; then
10893 result=$wxUSE_CALCTRL
10896 { echo "$as_me:$LINENO: result: $result" >&5
10897 echo "${ECHO_T}$result" >&6; }
10901 defaultval=$wxUSE_ALL_FEATURES
10902 if test -z "$defaultval"; then
10903 if test x"$enablestring" = xdisable; then
10910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10911 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10913 # Check whether --enable-caret was given.
10914 if test "${enable_caret+set}" = set; then
10915 enableval=$enable_caret;
10916 if test "$enableval" = yes; then
10917 wx_cv_use_caret='wxUSE_CARET=yes'
10919 wx_cv_use_caret='wxUSE_CARET=no'
10924 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10925 if test "x$LINE" != x ; then
10926 eval "DEFAULT_$LINE"
10931 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10936 eval "$wx_cv_use_caret"
10937 if test "$no_cache" != 1; then
10938 echo $wx_cv_use_caret >> ${wx_arg_cache_file}.tmp
10941 if test x"$enablestring" = xdisable; then
10942 if test $wxUSE_CARET = yes; then
10948 result=$wxUSE_CARET
10951 { echo "$as_me:$LINENO: result: $result" >&5
10952 echo "${ECHO_T}$result" >&6; }
10956 defaultval=$wxUSE_ALL_FEATURES
10957 if test -z "$defaultval"; then
10958 if test x"$enablestring" = xdisable; then
10965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10966 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10968 # Check whether --enable-checkbox was given.
10969 if test "${enable_checkbox+set}" = set; then
10970 enableval=$enable_checkbox;
10971 if test "$enableval" = yes; then
10972 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10974 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10979 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10980 if test "x$LINE" != x ; then
10981 eval "DEFAULT_$LINE"
10986 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10991 eval "$wx_cv_use_checkbox"
10992 if test "$no_cache" != 1; then
10993 echo $wx_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
10996 if test x"$enablestring" = xdisable; then
10997 if test $wxUSE_CHECKBOX = yes; then
11003 result=$wxUSE_CHECKBOX
11006 { echo "$as_me:$LINENO: result: $result" >&5
11007 echo "${ECHO_T}$result" >&6; }
11011 defaultval=$wxUSE_ALL_FEATURES
11012 if test -z "$defaultval"; then
11013 if test x"$enablestring" = xdisable; then
11020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11021 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11023 # Check whether --enable-checklst was given.
11024 if test "${enable_checklst+set}" = set; then
11025 enableval=$enable_checklst;
11026 if test "$enableval" = yes; then
11027 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11029 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11034 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11035 if test "x$LINE" != x ; then
11036 eval "DEFAULT_$LINE"
11041 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11046 eval "$wx_cv_use_checklst"
11047 if test "$no_cache" != 1; then
11048 echo $wx_cv_use_checklst >> ${wx_arg_cache_file}.tmp
11051 if test x"$enablestring" = xdisable; then
11052 if test $wxUSE_CHECKLST = yes; then
11058 result=$wxUSE_CHECKLST
11061 { echo "$as_me:$LINENO: result: $result" >&5
11062 echo "${ECHO_T}$result" >&6; }
11066 defaultval=$wxUSE_ALL_FEATURES
11067 if test -z "$defaultval"; then
11068 if test x"$enablestring" = xdisable; then
11075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11078 # Check whether --enable-choice was given.
11079 if test "${enable_choice+set}" = set; then
11080 enableval=$enable_choice;
11081 if test "$enableval" = yes; then
11082 wx_cv_use_choice='wxUSE_CHOICE=yes'
11084 wx_cv_use_choice='wxUSE_CHOICE=no'
11089 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11090 if test "x$LINE" != x ; then
11091 eval "DEFAULT_$LINE"
11096 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11101 eval "$wx_cv_use_choice"
11102 if test "$no_cache" != 1; then
11103 echo $wx_cv_use_choice >> ${wx_arg_cache_file}.tmp
11106 if test x"$enablestring" = xdisable; then
11107 if test $wxUSE_CHOICE = yes; then
11113 result=$wxUSE_CHOICE
11116 { echo "$as_me:$LINENO: result: $result" >&5
11117 echo "${ECHO_T}$result" >&6; }
11121 defaultval=$wxUSE_ALL_FEATURES
11122 if test -z "$defaultval"; then
11123 if test x"$enablestring" = xdisable; then
11130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11131 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11133 # Check whether --enable-choicebook was given.
11134 if test "${enable_choicebook+set}" = set; then
11135 enableval=$enable_choicebook;
11136 if test "$enableval" = yes; then
11137 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11139 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11144 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11145 if test "x$LINE" != x ; then
11146 eval "DEFAULT_$LINE"
11151 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11156 eval "$wx_cv_use_choicebook"
11157 if test "$no_cache" != 1; then
11158 echo $wx_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
11161 if test x"$enablestring" = xdisable; then
11162 if test $wxUSE_CHOICEBOOK = yes; then
11168 result=$wxUSE_CHOICEBOOK
11171 { echo "$as_me:$LINENO: result: $result" >&5
11172 echo "${ECHO_T}$result" >&6; }
11176 defaultval=$wxUSE_ALL_FEATURES
11177 if test -z "$defaultval"; then
11178 if test x"$enablestring" = xdisable; then
11185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11186 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11188 # Check whether --enable-collpane was given.
11189 if test "${enable_collpane+set}" = set; then
11190 enableval=$enable_collpane;
11191 if test "$enableval" = yes; then
11192 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11194 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11199 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11200 if test "x$LINE" != x ; then
11201 eval "DEFAULT_$LINE"
11206 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11211 eval "$wx_cv_use_collpane"
11212 if test "$no_cache" != 1; then
11213 echo $wx_cv_use_collpane >> ${wx_arg_cache_file}.tmp
11216 if test x"$enablestring" = xdisable; then
11217 if test $wxUSE_COLLPANE = yes; then
11223 result=$wxUSE_COLLPANE
11226 { echo "$as_me:$LINENO: result: $result" >&5
11227 echo "${ECHO_T}$result" >&6; }
11231 defaultval=$wxUSE_ALL_FEATURES
11232 if test -z "$defaultval"; then
11233 if test x"$enablestring" = xdisable; then
11240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11241 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11243 # Check whether --enable-colourpicker was given.
11244 if test "${enable_colourpicker+set}" = set; then
11245 enableval=$enable_colourpicker;
11246 if test "$enableval" = yes; then
11247 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11249 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11254 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11255 if test "x$LINE" != x ; then
11256 eval "DEFAULT_$LINE"
11261 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11266 eval "$wx_cv_use_colourpicker"
11267 if test "$no_cache" != 1; then
11268 echo $wx_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
11271 if test x"$enablestring" = xdisable; then
11272 if test $wxUSE_COLOURPICKERCTRL = yes; then
11278 result=$wxUSE_COLOURPICKERCTRL
11281 { echo "$as_me:$LINENO: result: $result" >&5
11282 echo "${ECHO_T}$result" >&6; }
11286 defaultval=$wxUSE_ALL_FEATURES
11287 if test -z "$defaultval"; then
11288 if test x"$enablestring" = xdisable; then
11295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11298 # Check whether --enable-combobox was given.
11299 if test "${enable_combobox+set}" = set; then
11300 enableval=$enable_combobox;
11301 if test "$enableval" = yes; then
11302 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11304 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11309 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11310 if test "x$LINE" != x ; then
11311 eval "DEFAULT_$LINE"
11316 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11321 eval "$wx_cv_use_combobox"
11322 if test "$no_cache" != 1; then
11323 echo $wx_cv_use_combobox >> ${wx_arg_cache_file}.tmp
11326 if test x"$enablestring" = xdisable; then
11327 if test $wxUSE_COMBOBOX = yes; then
11333 result=$wxUSE_COMBOBOX
11336 { echo "$as_me:$LINENO: result: $result" >&5
11337 echo "${ECHO_T}$result" >&6; }
11341 defaultval=$wxUSE_ALL_FEATURES
11342 if test -z "$defaultval"; then
11343 if test x"$enablestring" = xdisable; then
11350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11351 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11353 # Check whether --enable-comboctrl was given.
11354 if test "${enable_comboctrl+set}" = set; then
11355 enableval=$enable_comboctrl;
11356 if test "$enableval" = yes; then
11357 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11359 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11364 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11365 if test "x$LINE" != x ; then
11366 eval "DEFAULT_$LINE"
11371 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11376 eval "$wx_cv_use_comboctrl"
11377 if test "$no_cache" != 1; then
11378 echo $wx_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
11381 if test x"$enablestring" = xdisable; then
11382 if test $wxUSE_COMBOCTRL = yes; then
11388 result=$wxUSE_COMBOCTRL
11391 { echo "$as_me:$LINENO: result: $result" >&5
11392 echo "${ECHO_T}$result" >&6; }
11396 defaultval=$wxUSE_ALL_FEATURES
11397 if test -z "$defaultval"; then
11398 if test x"$enablestring" = xdisable; then
11405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11406 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11408 # Check whether --enable-datepick was given.
11409 if test "${enable_datepick+set}" = set; then
11410 enableval=$enable_datepick;
11411 if test "$enableval" = yes; then
11412 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11414 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11419 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11420 if test "x$LINE" != x ; then
11421 eval "DEFAULT_$LINE"
11426 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11431 eval "$wx_cv_use_datepick"
11432 if test "$no_cache" != 1; then
11433 echo $wx_cv_use_datepick >> ${wx_arg_cache_file}.tmp
11436 if test x"$enablestring" = xdisable; then
11437 if test $wxUSE_DATEPICKCTRL = yes; then
11443 result=$wxUSE_DATEPICKCTRL
11446 { echo "$as_me:$LINENO: result: $result" >&5
11447 echo "${ECHO_T}$result" >&6; }
11451 defaultval=$wxUSE_ALL_FEATURES
11452 if test -z "$defaultval"; then
11453 if test x"$enablestring" = xdisable; then
11460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11461 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11463 # Check whether --enable-dirpicker was given.
11464 if test "${enable_dirpicker+set}" = set; then
11465 enableval=$enable_dirpicker;
11466 if test "$enableval" = yes; then
11467 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11469 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11474 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11475 if test "x$LINE" != x ; then
11476 eval "DEFAULT_$LINE"
11481 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11486 eval "$wx_cv_use_dirpicker"
11487 if test "$no_cache" != 1; then
11488 echo $wx_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
11491 if test x"$enablestring" = xdisable; then
11492 if test $wxUSE_DIRPICKERCTRL = yes; then
11498 result=$wxUSE_DIRPICKERCTRL
11501 { echo "$as_me:$LINENO: result: $result" >&5
11502 echo "${ECHO_T}$result" >&6; }
11506 defaultval=$wxUSE_ALL_FEATURES
11507 if test -z "$defaultval"; then
11508 if test x"$enablestring" = xdisable; then
11515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11516 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11518 # Check whether --enable-display was given.
11519 if test "${enable_display+set}" = set; then
11520 enableval=$enable_display;
11521 if test "$enableval" = yes; then
11522 wx_cv_use_display='wxUSE_DISPLAY=yes'
11524 wx_cv_use_display='wxUSE_DISPLAY=no'
11529 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11530 if test "x$LINE" != x ; then
11531 eval "DEFAULT_$LINE"
11536 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11541 eval "$wx_cv_use_display"
11542 if test "$no_cache" != 1; then
11543 echo $wx_cv_use_display >> ${wx_arg_cache_file}.tmp
11546 if test x"$enablestring" = xdisable; then
11547 if test $wxUSE_DISPLAY = yes; then
11553 result=$wxUSE_DISPLAY
11556 { echo "$as_me:$LINENO: result: $result" >&5
11557 echo "${ECHO_T}$result" >&6; }
11561 defaultval=$wxUSE_ALL_FEATURES
11562 if test -z "$defaultval"; then
11563 if test x"$enablestring" = xdisable; then
11570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11571 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11573 # Check whether --enable-detect_sm was given.
11574 if test "${enable_detect_sm+set}" = set; then
11575 enableval=$enable_detect_sm;
11576 if test "$enableval" = yes; then
11577 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11579 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11584 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11585 if test "x$LINE" != x ; then
11586 eval "DEFAULT_$LINE"
11591 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11596 eval "$wx_cv_use_detect_sm"
11597 if test "$no_cache" != 1; then
11598 echo $wx_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
11601 if test x"$enablestring" = xdisable; then
11602 if test $wxUSE_DETECT_SM = yes; then
11608 result=$wxUSE_DETECT_SM
11611 { echo "$as_me:$LINENO: result: $result" >&5
11612 echo "${ECHO_T}$result" >&6; }
11616 defaultval=$wxUSE_ALL_FEATURES
11617 if test -z "$defaultval"; then
11618 if test x"$enablestring" = xdisable; then
11625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11626 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11628 # Check whether --enable-editablebox was given.
11629 if test "${enable_editablebox+set}" = set; then
11630 enableval=$enable_editablebox;
11631 if test "$enableval" = yes; then
11632 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11634 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11639 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11640 if test "x$LINE" != x ; then
11641 eval "DEFAULT_$LINE"
11646 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11651 eval "$wx_cv_use_editablebox"
11652 if test "$no_cache" != 1; then
11653 echo $wx_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
11656 if test x"$enablestring" = xdisable; then
11657 if test $wxUSE_EDITABLELISTBOX = yes; then
11663 result=$wxUSE_EDITABLELISTBOX
11666 { echo "$as_me:$LINENO: result: $result" >&5
11667 echo "${ECHO_T}$result" >&6; }
11671 defaultval=$wxUSE_ALL_FEATURES
11672 if test -z "$defaultval"; then
11673 if test x"$enablestring" = xdisable; then
11680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11681 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11683 # Check whether --enable-filepicker was given.
11684 if test "${enable_filepicker+set}" = set; then
11685 enableval=$enable_filepicker;
11686 if test "$enableval" = yes; then
11687 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11689 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11694 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11695 if test "x$LINE" != x ; then
11696 eval "DEFAULT_$LINE"
11701 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11706 eval "$wx_cv_use_filepicker"
11707 if test "$no_cache" != 1; then
11708 echo $wx_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
11711 if test x"$enablestring" = xdisable; then
11712 if test $wxUSE_FILEPICKERCTRL = yes; then
11718 result=$wxUSE_FILEPICKERCTRL
11721 { echo "$as_me:$LINENO: result: $result" >&5
11722 echo "${ECHO_T}$result" >&6; }
11726 defaultval=$wxUSE_ALL_FEATURES
11727 if test -z "$defaultval"; then
11728 if test x"$enablestring" = xdisable; then
11735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11736 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11738 # Check whether --enable-fontpicker was given.
11739 if test "${enable_fontpicker+set}" = set; then
11740 enableval=$enable_fontpicker;
11741 if test "$enableval" = yes; then
11742 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11744 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11749 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11750 if test "x$LINE" != x ; then
11751 eval "DEFAULT_$LINE"
11756 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11761 eval "$wx_cv_use_fontpicker"
11762 if test "$no_cache" != 1; then
11763 echo $wx_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
11766 if test x"$enablestring" = xdisable; then
11767 if test $wxUSE_FONTPICKERCTRL = yes; then
11773 result=$wxUSE_FONTPICKERCTRL
11776 { echo "$as_me:$LINENO: result: $result" >&5
11777 echo "${ECHO_T}$result" >&6; }
11781 defaultval=$wxUSE_ALL_FEATURES
11782 if test -z "$defaultval"; then
11783 if test x"$enablestring" = xdisable; then
11790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11791 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11793 # Check whether --enable-gauge was given.
11794 if test "${enable_gauge+set}" = set; then
11795 enableval=$enable_gauge;
11796 if test "$enableval" = yes; then
11797 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11799 wx_cv_use_gauge='wxUSE_GAUGE=no'
11804 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11805 if test "x$LINE" != x ; then
11806 eval "DEFAULT_$LINE"
11811 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11816 eval "$wx_cv_use_gauge"
11817 if test "$no_cache" != 1; then
11818 echo $wx_cv_use_gauge >> ${wx_arg_cache_file}.tmp
11821 if test x"$enablestring" = xdisable; then
11822 if test $wxUSE_GAUGE = yes; then
11828 result=$wxUSE_GAUGE
11831 { echo "$as_me:$LINENO: result: $result" >&5
11832 echo "${ECHO_T}$result" >&6; }
11836 defaultval=$wxUSE_ALL_FEATURES
11837 if test -z "$defaultval"; then
11838 if test x"$enablestring" = xdisable; then
11845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11846 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11848 # Check whether --enable-grid was given.
11849 if test "${enable_grid+set}" = set; then
11850 enableval=$enable_grid;
11851 if test "$enableval" = yes; then
11852 wx_cv_use_grid='wxUSE_GRID=yes'
11854 wx_cv_use_grid='wxUSE_GRID=no'
11859 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11860 if test "x$LINE" != x ; then
11861 eval "DEFAULT_$LINE"
11866 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11871 eval "$wx_cv_use_grid"
11872 if test "$no_cache" != 1; then
11873 echo $wx_cv_use_grid >> ${wx_arg_cache_file}.tmp
11876 if test x"$enablestring" = xdisable; then
11877 if test $wxUSE_GRID = yes; then
11886 { echo "$as_me:$LINENO: result: $result" >&5
11887 echo "${ECHO_T}$result" >&6; }
11891 defaultval=$wxUSE_ALL_FEATURES
11892 if test -z "$defaultval"; then
11893 if test x"$enablestring" = xdisable; then
11900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11901 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11903 # Check whether --enable-dataviewctrl was given.
11904 if test "${enable_dataviewctrl+set}" = set; then
11905 enableval=$enable_dataviewctrl;
11906 if test "$enableval" = yes; then
11907 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11909 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11914 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11915 if test "x$LINE" != x ; then
11916 eval "DEFAULT_$LINE"
11921 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11926 eval "$wx_cv_use_dataviewctrl"
11927 if test "$no_cache" != 1; then
11928 echo $wx_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_DATAVIEWCTRL = yes; then
11938 result=$wxUSE_DATAVIEWCTRL
11941 { echo "$as_me:$LINENO: result: $result" >&5
11942 echo "${ECHO_T}$result" >&6; }
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11958 # Check whether --enable-hyperlink was given.
11959 if test "${enable_hyperlink+set}" = set; then
11960 enableval=$enable_hyperlink;
11961 if test "$enableval" = yes; then
11962 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11964 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11969 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11970 if test "x$LINE" != x ; then
11971 eval "DEFAULT_$LINE"
11976 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11981 eval "$wx_cv_use_hyperlink"
11982 if test "$no_cache" != 1; then
11983 echo $wx_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
11986 if test x"$enablestring" = xdisable; then
11987 if test $wxUSE_HYPERLINKCTRL = yes; then
11993 result=$wxUSE_HYPERLINKCTRL
11996 { echo "$as_me:$LINENO: result: $result" >&5
11997 echo "${ECHO_T}$result" >&6; }
12001 defaultval=$wxUSE_ALL_FEATURES
12002 if test -z "$defaultval"; then
12003 if test x"$enablestring" = xdisable; then
12010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12011 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12013 # Check whether --enable-imaglist was given.
12014 if test "${enable_imaglist+set}" = set; then
12015 enableval=$enable_imaglist;
12016 if test "$enableval" = yes; then
12017 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12019 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12024 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12025 if test "x$LINE" != x ; then
12026 eval "DEFAULT_$LINE"
12031 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12036 eval "$wx_cv_use_imaglist"
12037 if test "$no_cache" != 1; then
12038 echo $wx_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
12041 if test x"$enablestring" = xdisable; then
12042 if test $wxUSE_IMAGLIST = yes; then
12048 result=$wxUSE_IMAGLIST
12051 { echo "$as_me:$LINENO: result: $result" >&5
12052 echo "${ECHO_T}$result" >&6; }
12056 defaultval=$wxUSE_ALL_FEATURES
12057 if test -z "$defaultval"; then
12058 if test x"$enablestring" = xdisable; then
12065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12066 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12068 # Check whether --enable-listbook was given.
12069 if test "${enable_listbook+set}" = set; then
12070 enableval=$enable_listbook;
12071 if test "$enableval" = yes; then
12072 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12074 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12079 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12080 if test "x$LINE" != x ; then
12081 eval "DEFAULT_$LINE"
12086 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12091 eval "$wx_cv_use_listbook"
12092 if test "$no_cache" != 1; then
12093 echo $wx_cv_use_listbook >> ${wx_arg_cache_file}.tmp
12096 if test x"$enablestring" = xdisable; then
12097 if test $wxUSE_LISTBOOK = yes; then
12103 result=$wxUSE_LISTBOOK
12106 { echo "$as_me:$LINENO: result: $result" >&5
12107 echo "${ECHO_T}$result" >&6; }
12111 defaultval=$wxUSE_ALL_FEATURES
12112 if test -z "$defaultval"; then
12113 if test x"$enablestring" = xdisable; then
12120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12121 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12123 # Check whether --enable-listbox was given.
12124 if test "${enable_listbox+set}" = set; then
12125 enableval=$enable_listbox;
12126 if test "$enableval" = yes; then
12127 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12129 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12134 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12135 if test "x$LINE" != x ; then
12136 eval "DEFAULT_$LINE"
12141 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12146 eval "$wx_cv_use_listbox"
12147 if test "$no_cache" != 1; then
12148 echo $wx_cv_use_listbox >> ${wx_arg_cache_file}.tmp
12151 if test x"$enablestring" = xdisable; then
12152 if test $wxUSE_LISTBOX = yes; then
12158 result=$wxUSE_LISTBOX
12161 { echo "$as_me:$LINENO: result: $result" >&5
12162 echo "${ECHO_T}$result" >&6; }
12166 defaultval=$wxUSE_ALL_FEATURES
12167 if test -z "$defaultval"; then
12168 if test x"$enablestring" = xdisable; then
12175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12176 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12178 # Check whether --enable-listctrl was given.
12179 if test "${enable_listctrl+set}" = set; then
12180 enableval=$enable_listctrl;
12181 if test "$enableval" = yes; then
12182 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12184 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12189 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12190 if test "x$LINE" != x ; then
12191 eval "DEFAULT_$LINE"
12196 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12201 eval "$wx_cv_use_listctrl"
12202 if test "$no_cache" != 1; then
12203 echo $wx_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
12206 if test x"$enablestring" = xdisable; then
12207 if test $wxUSE_LISTCTRL = yes; then
12213 result=$wxUSE_LISTCTRL
12216 { echo "$as_me:$LINENO: result: $result" >&5
12217 echo "${ECHO_T}$result" >&6; }
12221 defaultval=$wxUSE_ALL_FEATURES
12222 if test -z "$defaultval"; then
12223 if test x"$enablestring" = xdisable; then
12230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12231 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12233 # Check whether --enable-notebook was given.
12234 if test "${enable_notebook+set}" = set; then
12235 enableval=$enable_notebook;
12236 if test "$enableval" = yes; then
12237 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12239 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12244 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12245 if test "x$LINE" != x ; then
12246 eval "DEFAULT_$LINE"
12251 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12256 eval "$wx_cv_use_notebook"
12257 if test "$no_cache" != 1; then
12258 echo $wx_cv_use_notebook >> ${wx_arg_cache_file}.tmp
12261 if test x"$enablestring" = xdisable; then
12262 if test $wxUSE_NOTEBOOK = yes; then
12268 result=$wxUSE_NOTEBOOK
12271 { echo "$as_me:$LINENO: result: $result" >&5
12272 echo "${ECHO_T}$result" >&6; }
12276 defaultval=$wxUSE_ALL_FEATURES
12277 if test -z "$defaultval"; then
12278 if test x"$enablestring" = xdisable; then
12285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12286 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12288 # Check whether --enable-odcombobox was given.
12289 if test "${enable_odcombobox+set}" = set; then
12290 enableval=$enable_odcombobox;
12291 if test "$enableval" = yes; then
12292 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12294 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12299 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12300 if test "x$LINE" != x ; then
12301 eval "DEFAULT_$LINE"
12306 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12311 eval "$wx_cv_use_odcombobox"
12312 if test "$no_cache" != 1; then
12313 echo $wx_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
12316 if test x"$enablestring" = xdisable; then
12317 if test $wxUSE_ODCOMBOBOX = yes; then
12323 result=$wxUSE_ODCOMBOBOX
12326 { echo "$as_me:$LINENO: result: $result" >&5
12327 echo "${ECHO_T}$result" >&6; }
12331 defaultval=$wxUSE_ALL_FEATURES
12332 if test -z "$defaultval"; then
12333 if test x"$enablestring" = xdisable; then
12340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12341 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12343 # Check whether --enable-radiobox was given.
12344 if test "${enable_radiobox+set}" = set; then
12345 enableval=$enable_radiobox;
12346 if test "$enableval" = yes; then
12347 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12349 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12354 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12355 if test "x$LINE" != x ; then
12356 eval "DEFAULT_$LINE"
12361 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12366 eval "$wx_cv_use_radiobox"
12367 if test "$no_cache" != 1; then
12368 echo $wx_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
12371 if test x"$enablestring" = xdisable; then
12372 if test $wxUSE_RADIOBOX = yes; then
12378 result=$wxUSE_RADIOBOX
12381 { echo "$as_me:$LINENO: result: $result" >&5
12382 echo "${ECHO_T}$result" >&6; }
12386 defaultval=$wxUSE_ALL_FEATURES
12387 if test -z "$defaultval"; then
12388 if test x"$enablestring" = xdisable; then
12395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12396 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12398 # Check whether --enable-radiobtn was given.
12399 if test "${enable_radiobtn+set}" = set; then
12400 enableval=$enable_radiobtn;
12401 if test "$enableval" = yes; then
12402 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12404 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12409 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12410 if test "x$LINE" != x ; then
12411 eval "DEFAULT_$LINE"
12416 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12421 eval "$wx_cv_use_radiobtn"
12422 if test "$no_cache" != 1; then
12423 echo $wx_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
12426 if test x"$enablestring" = xdisable; then
12427 if test $wxUSE_RADIOBTN = yes; then
12433 result=$wxUSE_RADIOBTN
12436 { echo "$as_me:$LINENO: result: $result" >&5
12437 echo "${ECHO_T}$result" >&6; }
12441 defaultval=$wxUSE_ALL_FEATURES
12442 if test -z "$defaultval"; then
12443 if test x"$enablestring" = xdisable; then
12450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12451 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12453 # Check whether --enable-sash was given.
12454 if test "${enable_sash+set}" = set; then
12455 enableval=$enable_sash;
12456 if test "$enableval" = yes; then
12457 wx_cv_use_sash='wxUSE_SASH=yes'
12459 wx_cv_use_sash='wxUSE_SASH=no'
12464 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12465 if test "x$LINE" != x ; then
12466 eval "DEFAULT_$LINE"
12471 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12476 eval "$wx_cv_use_sash"
12477 if test "$no_cache" != 1; then
12478 echo $wx_cv_use_sash >> ${wx_arg_cache_file}.tmp
12481 if test x"$enablestring" = xdisable; then
12482 if test $wxUSE_SASH = yes; then
12491 { echo "$as_me:$LINENO: result: $result" >&5
12492 echo "${ECHO_T}$result" >&6; }
12496 defaultval=$wxUSE_ALL_FEATURES
12497 if test -z "$defaultval"; then
12498 if test x"$enablestring" = xdisable; then
12505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12506 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12508 # Check whether --enable-scrollbar was given.
12509 if test "${enable_scrollbar+set}" = set; then
12510 enableval=$enable_scrollbar;
12511 if test "$enableval" = yes; then
12512 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12514 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12519 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12520 if test "x$LINE" != x ; then
12521 eval "DEFAULT_$LINE"
12526 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12531 eval "$wx_cv_use_scrollbar"
12532 if test "$no_cache" != 1; then
12533 echo $wx_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
12536 if test x"$enablestring" = xdisable; then
12537 if test $wxUSE_SCROLLBAR = yes; then
12543 result=$wxUSE_SCROLLBAR
12546 { echo "$as_me:$LINENO: result: $result" >&5
12547 echo "${ECHO_T}$result" >&6; }
12551 defaultval=$wxUSE_ALL_FEATURES
12552 if test -z "$defaultval"; then
12553 if test x"$enablestring" = xdisable; then
12560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12561 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12563 # Check whether --enable-searchctrl was given.
12564 if test "${enable_searchctrl+set}" = set; then
12565 enableval=$enable_searchctrl;
12566 if test "$enableval" = yes; then
12567 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12569 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12574 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12575 if test "x$LINE" != x ; then
12576 eval "DEFAULT_$LINE"
12581 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12586 eval "$wx_cv_use_searchctrl"
12587 if test "$no_cache" != 1; then
12588 echo $wx_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_SEARCHCTRL = yes; then
12598 result=$wxUSE_SEARCHCTRL
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}-slider" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12618 # Check whether --enable-slider was given.
12619 if test "${enable_slider+set}" = set; then
12620 enableval=$enable_slider;
12621 if test "$enableval" = yes; then
12622 wx_cv_use_slider='wxUSE_SLIDER=yes'
12624 wx_cv_use_slider='wxUSE_SLIDER=no'
12629 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12630 if test "x$LINE" != x ; then
12631 eval "DEFAULT_$LINE"
12636 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12641 eval "$wx_cv_use_slider"
12642 if test "$no_cache" != 1; then
12643 echo $wx_cv_use_slider >> ${wx_arg_cache_file}.tmp
12646 if test x"$enablestring" = xdisable; then
12647 if test $wxUSE_SLIDER = yes; then
12653 result=$wxUSE_SLIDER
12656 { echo "$as_me:$LINENO: result: $result" >&5
12657 echo "${ECHO_T}$result" >&6; }
12661 defaultval=$wxUSE_ALL_FEATURES
12662 if test -z "$defaultval"; then
12663 if test x"$enablestring" = xdisable; then
12670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12671 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12673 # Check whether --enable-spinbtn was given.
12674 if test "${enable_spinbtn+set}" = set; then
12675 enableval=$enable_spinbtn;
12676 if test "$enableval" = yes; then
12677 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12679 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12684 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12685 if test "x$LINE" != x ; then
12686 eval "DEFAULT_$LINE"
12691 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12696 eval "$wx_cv_use_spinbtn"
12697 if test "$no_cache" != 1; then
12698 echo $wx_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
12701 if test x"$enablestring" = xdisable; then
12702 if test $wxUSE_SPINBTN = yes; then
12708 result=$wxUSE_SPINBTN
12711 { echo "$as_me:$LINENO: result: $result" >&5
12712 echo "${ECHO_T}$result" >&6; }
12716 defaultval=$wxUSE_ALL_FEATURES
12717 if test -z "$defaultval"; then
12718 if test x"$enablestring" = xdisable; then
12725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12726 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12728 # Check whether --enable-spinctrl was given.
12729 if test "${enable_spinctrl+set}" = set; then
12730 enableval=$enable_spinctrl;
12731 if test "$enableval" = yes; then
12732 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12734 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12739 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12740 if test "x$LINE" != x ; then
12741 eval "DEFAULT_$LINE"
12746 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12751 eval "$wx_cv_use_spinctrl"
12752 if test "$no_cache" != 1; then
12753 echo $wx_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
12756 if test x"$enablestring" = xdisable; then
12757 if test $wxUSE_SPINCTRL = yes; then
12763 result=$wxUSE_SPINCTRL
12766 { echo "$as_me:$LINENO: result: $result" >&5
12767 echo "${ECHO_T}$result" >&6; }
12771 defaultval=$wxUSE_ALL_FEATURES
12772 if test -z "$defaultval"; then
12773 if test x"$enablestring" = xdisable; then
12780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12781 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12783 # Check whether --enable-splitter was given.
12784 if test "${enable_splitter+set}" = set; then
12785 enableval=$enable_splitter;
12786 if test "$enableval" = yes; then
12787 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12789 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12794 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12795 if test "x$LINE" != x ; then
12796 eval "DEFAULT_$LINE"
12801 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12806 eval "$wx_cv_use_splitter"
12807 if test "$no_cache" != 1; then
12808 echo $wx_cv_use_splitter >> ${wx_arg_cache_file}.tmp
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_SPLITTER = yes; then
12818 result=$wxUSE_SPLITTER
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12838 # Check whether --enable-statbmp was given.
12839 if test "${enable_statbmp+set}" = set; then
12840 enableval=$enable_statbmp;
12841 if test "$enableval" = yes; then
12842 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12844 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12849 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12850 if test "x$LINE" != x ; then
12851 eval "DEFAULT_$LINE"
12856 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12861 eval "$wx_cv_use_statbmp"
12862 if test "$no_cache" != 1; then
12863 echo $wx_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
12866 if test x"$enablestring" = xdisable; then
12867 if test $wxUSE_STATBMP = yes; then
12873 result=$wxUSE_STATBMP
12876 { echo "$as_me:$LINENO: result: $result" >&5
12877 echo "${ECHO_T}$result" >&6; }
12881 defaultval=$wxUSE_ALL_FEATURES
12882 if test -z "$defaultval"; then
12883 if test x"$enablestring" = xdisable; then
12890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12891 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12893 # Check whether --enable-statbox was given.
12894 if test "${enable_statbox+set}" = set; then
12895 enableval=$enable_statbox;
12896 if test "$enableval" = yes; then
12897 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12899 wx_cv_use_statbox='wxUSE_STATBOX=no'
12904 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12905 if test "x$LINE" != x ; then
12906 eval "DEFAULT_$LINE"
12911 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12916 eval "$wx_cv_use_statbox"
12917 if test "$no_cache" != 1; then
12918 echo $wx_cv_use_statbox >> ${wx_arg_cache_file}.tmp
12921 if test x"$enablestring" = xdisable; then
12922 if test $wxUSE_STATBOX = yes; then
12928 result=$wxUSE_STATBOX
12931 { echo "$as_me:$LINENO: result: $result" >&5
12932 echo "${ECHO_T}$result" >&6; }
12936 defaultval=$wxUSE_ALL_FEATURES
12937 if test -z "$defaultval"; then
12938 if test x"$enablestring" = xdisable; then
12945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12946 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12948 # Check whether --enable-statline was given.
12949 if test "${enable_statline+set}" = set; then
12950 enableval=$enable_statline;
12951 if test "$enableval" = yes; then
12952 wx_cv_use_statline='wxUSE_STATLINE=yes'
12954 wx_cv_use_statline='wxUSE_STATLINE=no'
12959 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12960 if test "x$LINE" != x ; then
12961 eval "DEFAULT_$LINE"
12966 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12971 eval "$wx_cv_use_statline"
12972 if test "$no_cache" != 1; then
12973 echo $wx_cv_use_statline >> ${wx_arg_cache_file}.tmp
12976 if test x"$enablestring" = xdisable; then
12977 if test $wxUSE_STATLINE = yes; then
12983 result=$wxUSE_STATLINE
12986 { echo "$as_me:$LINENO: result: $result" >&5
12987 echo "${ECHO_T}$result" >&6; }
12991 defaultval=$wxUSE_ALL_FEATURES
12992 if test -z "$defaultval"; then
12993 if test x"$enablestring" = xdisable; then
13000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13001 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13003 # Check whether --enable-stattext was given.
13004 if test "${enable_stattext+set}" = set; then
13005 enableval=$enable_stattext;
13006 if test "$enableval" = yes; then
13007 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13009 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13014 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13015 if test "x$LINE" != x ; then
13016 eval "DEFAULT_$LINE"
13021 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13026 eval "$wx_cv_use_stattext"
13027 if test "$no_cache" != 1; then
13028 echo $wx_cv_use_stattext >> ${wx_arg_cache_file}.tmp
13031 if test x"$enablestring" = xdisable; then
13032 if test $wxUSE_STATTEXT = yes; then
13038 result=$wxUSE_STATTEXT
13041 { echo "$as_me:$LINENO: result: $result" >&5
13042 echo "${ECHO_T}$result" >&6; }
13046 defaultval=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x"$enablestring" = xdisable; then
13055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13056 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13058 # Check whether --enable-statusbar was given.
13059 if test "${enable_statusbar+set}" = set; then
13060 enableval=$enable_statusbar;
13061 if test "$enableval" = yes; then
13062 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13064 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13069 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13070 if test "x$LINE" != x ; then
13071 eval "DEFAULT_$LINE"
13076 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13081 eval "$wx_cv_use_statusbar"
13082 if test "$no_cache" != 1; then
13083 echo $wx_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
13086 if test x"$enablestring" = xdisable; then
13087 if test $wxUSE_STATUSBAR = yes; then
13093 result=$wxUSE_STATUSBAR
13096 { echo "$as_me:$LINENO: result: $result" >&5
13097 echo "${ECHO_T}$result" >&6; }
13101 defaultval=$wxUSE_ALL_FEATURES
13102 if test -z "$defaultval"; then
13103 if test x"$enablestring" = xdisable; then
13110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13111 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13113 # Check whether --enable-tabdialog was given.
13114 if test "${enable_tabdialog+set}" = set; then
13115 enableval=$enable_tabdialog;
13116 if test "$enableval" = yes; then
13117 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13119 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13124 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13125 if test "x$LINE" != x ; then
13126 eval "DEFAULT_$LINE"
13131 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13136 eval "$wx_cv_use_tabdialog"
13137 if test "$no_cache" != 1; then
13138 echo $wx_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
13141 if test x"$enablestring" = xdisable; then
13142 if test $wxUSE_TAB_DIALOG = yes; then
13148 result=$wxUSE_TAB_DIALOG
13151 { echo "$as_me:$LINENO: result: $result" >&5
13152 echo "${ECHO_T}$result" >&6; }
13156 defaultval=$wxUSE_ALL_FEATURES
13157 if test -z "$defaultval"; then
13158 if test x"$enablestring" = xdisable; then
13165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13166 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13168 # Check whether --enable-textctrl was given.
13169 if test "${enable_textctrl+set}" = set; then
13170 enableval=$enable_textctrl;
13171 if test "$enableval" = yes; then
13172 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13174 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13179 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13180 if test "x$LINE" != x ; then
13181 eval "DEFAULT_$LINE"
13186 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13191 eval "$wx_cv_use_textctrl"
13192 if test "$no_cache" != 1; then
13193 echo $wx_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
13196 if test x"$enablestring" = xdisable; then
13197 if test $wxUSE_TEXTCTRL = yes; then
13203 result=$wxUSE_TEXTCTRL
13206 { echo "$as_me:$LINENO: result: $result" >&5
13207 echo "${ECHO_T}$result" >&6; }
13211 defaultval=$wxUSE_ALL_FEATURES
13212 if test -z "$defaultval"; then
13213 if test x"$enablestring" = xdisable; then
13220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13221 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13223 # Check whether --enable-togglebtn was given.
13224 if test "${enable_togglebtn+set}" = set; then
13225 enableval=$enable_togglebtn;
13226 if test "$enableval" = yes; then
13227 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13229 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13234 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13235 if test "x$LINE" != x ; then
13236 eval "DEFAULT_$LINE"
13241 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13246 eval "$wx_cv_use_togglebtn"
13247 if test "$no_cache" != 1; then
13248 echo $wx_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
13251 if test x"$enablestring" = xdisable; then
13252 if test $wxUSE_TOGGLEBTN = yes; then
13258 result=$wxUSE_TOGGLEBTN
13261 { echo "$as_me:$LINENO: result: $result" >&5
13262 echo "${ECHO_T}$result" >&6; }
13266 defaultval=$wxUSE_ALL_FEATURES
13267 if test -z "$defaultval"; then
13268 if test x"$enablestring" = xdisable; then
13275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13276 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13278 # Check whether --enable-toolbar was given.
13279 if test "${enable_toolbar+set}" = set; then
13280 enableval=$enable_toolbar;
13281 if test "$enableval" = yes; then
13282 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13284 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13289 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13290 if test "x$LINE" != x ; then
13291 eval "DEFAULT_$LINE"
13296 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13301 eval "$wx_cv_use_toolbar"
13302 if test "$no_cache" != 1; then
13303 echo $wx_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
13306 if test x"$enablestring" = xdisable; then
13307 if test $wxUSE_TOOLBAR = yes; then
13313 result=$wxUSE_TOOLBAR
13316 { echo "$as_me:$LINENO: result: $result" >&5
13317 echo "${ECHO_T}$result" >&6; }
13321 defaultval=$wxUSE_ALL_FEATURES
13322 if test -z "$defaultval"; then
13323 if test x"$enablestring" = xdisable; then
13330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13331 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13333 # Check whether --enable-tbarnative was given.
13334 if test "${enable_tbarnative+set}" = set; then
13335 enableval=$enable_tbarnative;
13336 if test "$enableval" = yes; then
13337 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13339 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13344 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13345 if test "x$LINE" != x ; then
13346 eval "DEFAULT_$LINE"
13351 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13356 eval "$wx_cv_use_tbarnative"
13357 if test "$no_cache" != 1; then
13358 echo $wx_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
13361 if test x"$enablestring" = xdisable; then
13362 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13368 result=$wxUSE_TOOLBAR_NATIVE
13371 { echo "$as_me:$LINENO: result: $result" >&5
13372 echo "${ECHO_T}$result" >&6; }
13376 defaultval=$wxUSE_ALL_FEATURES
13377 if test -z "$defaultval"; then
13378 if test x"$enablestring" = xdisable; then
13385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13386 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13388 # Check whether --enable-treebook was given.
13389 if test "${enable_treebook+set}" = set; then
13390 enableval=$enable_treebook;
13391 if test "$enableval" = yes; then
13392 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13394 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13399 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13400 if test "x$LINE" != x ; then
13401 eval "DEFAULT_$LINE"
13406 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13411 eval "$wx_cv_use_treebook"
13412 if test "$no_cache" != 1; then
13413 echo $wx_cv_use_treebook >> ${wx_arg_cache_file}.tmp
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_TREEBOOK = yes; then
13423 result=$wxUSE_TREEBOOK
13426 { echo "$as_me:$LINENO: result: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13431 defaultval=$wxUSE_ALL_FEATURES
13432 if test -z "$defaultval"; then
13433 if test x"$enablestring" = xdisable; then
13440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13441 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13443 # Check whether --enable-toolbook was given.
13444 if test "${enable_toolbook+set}" = set; then
13445 enableval=$enable_toolbook;
13446 if test "$enableval" = yes; then
13447 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13449 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13454 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13455 if test "x$LINE" != x ; then
13456 eval "DEFAULT_$LINE"
13461 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13466 eval "$wx_cv_use_toolbook"
13467 if test "$no_cache" != 1; then
13468 echo $wx_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
13471 if test x"$enablestring" = xdisable; then
13472 if test $wxUSE_TOOLBOOK = yes; then
13478 result=$wxUSE_TOOLBOOK
13481 { echo "$as_me:$LINENO: result: $result" >&5
13482 echo "${ECHO_T}$result" >&6; }
13486 defaultval=$wxUSE_ALL_FEATURES
13487 if test -z "$defaultval"; then
13488 if test x"$enablestring" = xdisable; then
13495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13496 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13498 # Check whether --enable-treectrl was given.
13499 if test "${enable_treectrl+set}" = set; then
13500 enableval=$enable_treectrl;
13501 if test "$enableval" = yes; then
13502 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13504 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13509 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13510 if test "x$LINE" != x ; then
13511 eval "DEFAULT_$LINE"
13516 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13521 eval "$wx_cv_use_treectrl"
13522 if test "$no_cache" != 1; then
13523 echo $wx_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
13526 if test x"$enablestring" = xdisable; then
13527 if test $wxUSE_TREECTRL = yes; then
13533 result=$wxUSE_TREECTRL
13536 { echo "$as_me:$LINENO: result: $result" >&5
13537 echo "${ECHO_T}$result" >&6; }
13541 defaultval=$wxUSE_ALL_FEATURES
13542 if test -z "$defaultval"; then
13543 if test x"$enablestring" = xdisable; then
13550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13551 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13553 # Check whether --enable-tipwindow was given.
13554 if test "${enable_tipwindow+set}" = set; then
13555 enableval=$enable_tipwindow;
13556 if test "$enableval" = yes; then
13557 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13559 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13564 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13565 if test "x$LINE" != x ; then
13566 eval "DEFAULT_$LINE"
13571 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13576 eval "$wx_cv_use_tipwindow"
13577 if test "$no_cache" != 1; then
13578 echo $wx_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
13581 if test x"$enablestring" = xdisable; then
13582 if test $wxUSE_TIPWINDOW = yes; then
13588 result=$wxUSE_TIPWINDOW
13591 { echo "$as_me:$LINENO: result: $result" >&5
13592 echo "${ECHO_T}$result" >&6; }
13596 defaultval=$wxUSE_ALL_FEATURES
13597 if test -z "$defaultval"; then
13598 if test x"$enablestring" = xdisable; then
13605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13606 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13608 # Check whether --enable-popupwin was given.
13609 if test "${enable_popupwin+set}" = set; then
13610 enableval=$enable_popupwin;
13611 if test "$enableval" = yes; then
13612 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13614 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13619 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13620 if test "x$LINE" != x ; then
13621 eval "DEFAULT_$LINE"
13626 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13631 eval "$wx_cv_use_popupwin"
13632 if test "$no_cache" != 1; then
13633 echo $wx_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
13636 if test x"$enablestring" = xdisable; then
13637 if test $wxUSE_POPUPWIN = yes; then
13643 result=$wxUSE_POPUPWIN
13646 { echo "$as_me:$LINENO: result: $result" >&5
13647 echo "${ECHO_T}$result" >&6; }
13653 defaultval=$wxUSE_ALL_FEATURES
13654 if test -z "$defaultval"; then
13655 if test x"$enablestring" = xdisable; then
13662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13663 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13665 # Check whether --enable-commondlg was given.
13666 if test "${enable_commondlg+set}" = set; then
13667 enableval=$enable_commondlg;
13668 if test "$enableval" = yes; then
13669 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13671 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13676 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13677 if test "x$LINE" != x ; then
13678 eval "DEFAULT_$LINE"
13683 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13688 eval "$wx_cv_use_commondlg"
13689 if test "$no_cache" != 1; then
13690 echo $wx_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
13693 if test x"$enablestring" = xdisable; then
13694 if test $wxUSE_COMMONDLGS = yes; then
13700 result=$wxUSE_COMMONDLGS
13703 { echo "$as_me:$LINENO: result: $result" >&5
13704 echo "${ECHO_T}$result" >&6; }
13708 defaultval=$wxUSE_ALL_FEATURES
13709 if test -z "$defaultval"; then
13710 if test x"$enablestring" = xdisable; then
13717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13718 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13720 # Check whether --enable-aboutdlg was given.
13721 if test "${enable_aboutdlg+set}" = set; then
13722 enableval=$enable_aboutdlg;
13723 if test "$enableval" = yes; then
13724 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13726 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13731 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13732 if test "x$LINE" != x ; then
13733 eval "DEFAULT_$LINE"
13738 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13743 eval "$wx_cv_use_aboutdlg"
13744 if test "$no_cache" != 1; then
13745 echo $wx_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
13748 if test x"$enablestring" = xdisable; then
13749 if test $wxUSE_ABOUTDLG = yes; then
13755 result=$wxUSE_ABOUTDLG
13758 { echo "$as_me:$LINENO: result: $result" >&5
13759 echo "${ECHO_T}$result" >&6; }
13763 defaultval=$wxUSE_ALL_FEATURES
13764 if test -z "$defaultval"; then
13765 if test x"$enablestring" = xdisable; then
13772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13773 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13775 # Check whether --enable-choicedlg was given.
13776 if test "${enable_choicedlg+set}" = set; then
13777 enableval=$enable_choicedlg;
13778 if test "$enableval" = yes; then
13779 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13781 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13786 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13787 if test "x$LINE" != x ; then
13788 eval "DEFAULT_$LINE"
13793 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13798 eval "$wx_cv_use_choicedlg"
13799 if test "$no_cache" != 1; then
13800 echo $wx_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
13803 if test x"$enablestring" = xdisable; then
13804 if test $wxUSE_CHOICEDLG = yes; then
13810 result=$wxUSE_CHOICEDLG
13813 { echo "$as_me:$LINENO: result: $result" >&5
13814 echo "${ECHO_T}$result" >&6; }
13818 defaultval=$wxUSE_ALL_FEATURES
13819 if test -z "$defaultval"; then
13820 if test x"$enablestring" = xdisable; then
13827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13828 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13830 # Check whether --enable-coldlg was given.
13831 if test "${enable_coldlg+set}" = set; then
13832 enableval=$enable_coldlg;
13833 if test "$enableval" = yes; then
13834 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13836 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13841 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13842 if test "x$LINE" != x ; then
13843 eval "DEFAULT_$LINE"
13848 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13853 eval "$wx_cv_use_coldlg"
13854 if test "$no_cache" != 1; then
13855 echo $wx_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
13858 if test x"$enablestring" = xdisable; then
13859 if test $wxUSE_COLOURDLG = yes; then
13865 result=$wxUSE_COLOURDLG
13868 { echo "$as_me:$LINENO: result: $result" >&5
13869 echo "${ECHO_T}$result" >&6; }
13873 defaultval=$wxUSE_ALL_FEATURES
13874 if test -z "$defaultval"; then
13875 if test x"$enablestring" = xdisable; then
13882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13883 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13885 # Check whether --enable-filedlg was given.
13886 if test "${enable_filedlg+set}" = set; then
13887 enableval=$enable_filedlg;
13888 if test "$enableval" = yes; then
13889 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13891 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13896 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13897 if test "x$LINE" != x ; then
13898 eval "DEFAULT_$LINE"
13903 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13908 eval "$wx_cv_use_filedlg"
13909 if test "$no_cache" != 1; then
13910 echo $wx_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
13913 if test x"$enablestring" = xdisable; then
13914 if test $wxUSE_FILEDLG = yes; then
13920 result=$wxUSE_FILEDLG
13923 { echo "$as_me:$LINENO: result: $result" >&5
13924 echo "${ECHO_T}$result" >&6; }
13928 defaultval=$wxUSE_ALL_FEATURES
13929 if test -z "$defaultval"; then
13930 if test x"$enablestring" = xdisable; then
13937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13938 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13940 # Check whether --enable-finddlg was given.
13941 if test "${enable_finddlg+set}" = set; then
13942 enableval=$enable_finddlg;
13943 if test "$enableval" = yes; then
13944 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13946 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13951 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13952 if test "x$LINE" != x ; then
13953 eval "DEFAULT_$LINE"
13958 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13963 eval "$wx_cv_use_finddlg"
13964 if test "$no_cache" != 1; then
13965 echo $wx_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
13968 if test x"$enablestring" = xdisable; then
13969 if test $wxUSE_FINDREPLDLG = yes; then
13975 result=$wxUSE_FINDREPLDLG
13978 { echo "$as_me:$LINENO: result: $result" >&5
13979 echo "${ECHO_T}$result" >&6; }
13983 defaultval=$wxUSE_ALL_FEATURES
13984 if test -z "$defaultval"; then
13985 if test x"$enablestring" = xdisable; then
13992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13993 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13995 # Check whether --enable-fontdlg was given.
13996 if test "${enable_fontdlg+set}" = set; then
13997 enableval=$enable_fontdlg;
13998 if test "$enableval" = yes; then
13999 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14001 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14006 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14007 if test "x$LINE" != x ; then
14008 eval "DEFAULT_$LINE"
14013 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14018 eval "$wx_cv_use_fontdlg"
14019 if test "$no_cache" != 1; then
14020 echo $wx_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
14023 if test x"$enablestring" = xdisable; then
14024 if test $wxUSE_FONTDLG = yes; then
14030 result=$wxUSE_FONTDLG
14033 { echo "$as_me:$LINENO: result: $result" >&5
14034 echo "${ECHO_T}$result" >&6; }
14038 defaultval=$wxUSE_ALL_FEATURES
14039 if test -z "$defaultval"; then
14040 if test x"$enablestring" = xdisable; then
14047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14048 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14050 # Check whether --enable-dirdlg was given.
14051 if test "${enable_dirdlg+set}" = set; then
14052 enableval=$enable_dirdlg;
14053 if test "$enableval" = yes; then
14054 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14056 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14061 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14062 if test "x$LINE" != x ; then
14063 eval "DEFAULT_$LINE"
14068 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14073 eval "$wx_cv_use_dirdlg"
14074 if test "$no_cache" != 1; then
14075 echo $wx_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
14078 if test x"$enablestring" = xdisable; then
14079 if test $wxUSE_DIRDLG = yes; then
14085 result=$wxUSE_DIRDLG
14088 { echo "$as_me:$LINENO: result: $result" >&5
14089 echo "${ECHO_T}$result" >&6; }
14093 defaultval=$wxUSE_ALL_FEATURES
14094 if test -z "$defaultval"; then
14095 if test x"$enablestring" = xdisable; then
14102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14103 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14105 # Check whether --enable-msgdlg was given.
14106 if test "${enable_msgdlg+set}" = set; then
14107 enableval=$enable_msgdlg;
14108 if test "$enableval" = yes; then
14109 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14111 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14116 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14117 if test "x$LINE" != x ; then
14118 eval "DEFAULT_$LINE"
14123 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14128 eval "$wx_cv_use_msgdlg"
14129 if test "$no_cache" != 1; then
14130 echo $wx_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
14133 if test x"$enablestring" = xdisable; then
14134 if test $wxUSE_MSGDLG = yes; then
14140 result=$wxUSE_MSGDLG
14143 { echo "$as_me:$LINENO: result: $result" >&5
14144 echo "${ECHO_T}$result" >&6; }
14148 defaultval=$wxUSE_ALL_FEATURES
14149 if test -z "$defaultval"; then
14150 if test x"$enablestring" = xdisable; then
14157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14158 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14160 # Check whether --enable-numberdlg was given.
14161 if test "${enable_numberdlg+set}" = set; then
14162 enableval=$enable_numberdlg;
14163 if test "$enableval" = yes; then
14164 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14166 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14171 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14172 if test "x$LINE" != x ; then
14173 eval "DEFAULT_$LINE"
14178 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14183 eval "$wx_cv_use_numberdlg"
14184 if test "$no_cache" != 1; then
14185 echo $wx_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
14188 if test x"$enablestring" = xdisable; then
14189 if test $wxUSE_NUMBERDLG = yes; then
14195 result=$wxUSE_NUMBERDLG
14198 { echo "$as_me:$LINENO: result: $result" >&5
14199 echo "${ECHO_T}$result" >&6; }
14203 defaultval=$wxUSE_ALL_FEATURES
14204 if test -z "$defaultval"; then
14205 if test x"$enablestring" = xdisable; then
14212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14213 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14215 # Check whether --enable-splash was given.
14216 if test "${enable_splash+set}" = set; then
14217 enableval=$enable_splash;
14218 if test "$enableval" = yes; then
14219 wx_cv_use_splash='wxUSE_SPLASH=yes'
14221 wx_cv_use_splash='wxUSE_SPLASH=no'
14226 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14227 if test "x$LINE" != x ; then
14228 eval "DEFAULT_$LINE"
14233 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14238 eval "$wx_cv_use_splash"
14239 if test "$no_cache" != 1; then
14240 echo $wx_cv_use_splash >> ${wx_arg_cache_file}.tmp
14243 if test x"$enablestring" = xdisable; then
14244 if test $wxUSE_SPLASH = yes; then
14250 result=$wxUSE_SPLASH
14253 { echo "$as_me:$LINENO: result: $result" >&5
14254 echo "${ECHO_T}$result" >&6; }
14258 defaultval=$wxUSE_ALL_FEATURES
14259 if test -z "$defaultval"; then
14260 if test x"$enablestring" = xdisable; then
14267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14268 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14270 # Check whether --enable-textdlg was given.
14271 if test "${enable_textdlg+set}" = set; then
14272 enableval=$enable_textdlg;
14273 if test "$enableval" = yes; then
14274 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14276 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14281 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14282 if test "x$LINE" != x ; then
14283 eval "DEFAULT_$LINE"
14288 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14293 eval "$wx_cv_use_textdlg"
14294 if test "$no_cache" != 1; then
14295 echo $wx_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
14298 if test x"$enablestring" = xdisable; then
14299 if test $wxUSE_TEXTDLG = yes; then
14305 result=$wxUSE_TEXTDLG
14308 { echo "$as_me:$LINENO: result: $result" >&5
14309 echo "${ECHO_T}$result" >&6; }
14313 defaultval=$wxUSE_ALL_FEATURES
14314 if test -z "$defaultval"; then
14315 if test x"$enablestring" = xdisable; then
14322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14323 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14325 # Check whether --enable-tipdlg was given.
14326 if test "${enable_tipdlg+set}" = set; then
14327 enableval=$enable_tipdlg;
14328 if test "$enableval" = yes; then
14329 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14331 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14336 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14337 if test "x$LINE" != x ; then
14338 eval "DEFAULT_$LINE"
14343 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14348 eval "$wx_cv_use_tipdlg"
14349 if test "$no_cache" != 1; then
14350 echo $wx_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
14353 if test x"$enablestring" = xdisable; then
14354 if test $wxUSE_STARTUP_TIPS = yes; then
14360 result=$wxUSE_STARTUP_TIPS
14363 { echo "$as_me:$LINENO: result: $result" >&5
14364 echo "${ECHO_T}$result" >&6; }
14368 defaultval=$wxUSE_ALL_FEATURES
14369 if test -z "$defaultval"; then
14370 if test x"$enablestring" = xdisable; then
14377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14378 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14380 # Check whether --enable-progressdlg was given.
14381 if test "${enable_progressdlg+set}" = set; then
14382 enableval=$enable_progressdlg;
14383 if test "$enableval" = yes; then
14384 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14386 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14391 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14392 if test "x$LINE" != x ; then
14393 eval "DEFAULT_$LINE"
14398 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14403 eval "$wx_cv_use_progressdlg"
14404 if test "$no_cache" != 1; then
14405 echo $wx_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
14408 if test x"$enablestring" = xdisable; then
14409 if test $wxUSE_PROGRESSDLG = yes; then
14415 result=$wxUSE_PROGRESSDLG
14418 { echo "$as_me:$LINENO: result: $result" >&5
14419 echo "${ECHO_T}$result" >&6; }
14423 defaultval=$wxUSE_ALL_FEATURES
14424 if test -z "$defaultval"; then
14425 if test x"$enablestring" = xdisable; then
14432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14433 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14435 # Check whether --enable-wizarddlg was given.
14436 if test "${enable_wizarddlg+set}" = set; then
14437 enableval=$enable_wizarddlg;
14438 if test "$enableval" = yes; then
14439 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14441 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14446 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14447 if test "x$LINE" != x ; then
14448 eval "DEFAULT_$LINE"
14453 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14458 eval "$wx_cv_use_wizarddlg"
14459 if test "$no_cache" != 1; then
14460 echo $wx_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
14463 if test x"$enablestring" = xdisable; then
14464 if test $wxUSE_WIZARDDLG = yes; then
14470 result=$wxUSE_WIZARDDLG
14473 { echo "$as_me:$LINENO: result: $result" >&5
14474 echo "${ECHO_T}$result" >&6; }
14480 defaultval=$wxUSE_ALL_FEATURES
14481 if test -z "$defaultval"; then
14482 if test x"$enablestring" = xdisable; then
14489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14490 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14492 # Check whether --enable-menus was given.
14493 if test "${enable_menus+set}" = set; then
14494 enableval=$enable_menus;
14495 if test "$enableval" = yes; then
14496 wx_cv_use_menus='wxUSE_MENUS=yes'
14498 wx_cv_use_menus='wxUSE_MENUS=no'
14503 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14504 if test "x$LINE" != x ; then
14505 eval "DEFAULT_$LINE"
14510 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14515 eval "$wx_cv_use_menus"
14516 if test "$no_cache" != 1; then
14517 echo $wx_cv_use_menus >> ${wx_arg_cache_file}.tmp
14520 if test x"$enablestring" = xdisable; then
14521 if test $wxUSE_MENUS = yes; then
14527 result=$wxUSE_MENUS
14530 { echo "$as_me:$LINENO: result: $result" >&5
14531 echo "${ECHO_T}$result" >&6; }
14535 defaultval=$wxUSE_ALL_FEATURES
14536 if test -z "$defaultval"; then
14537 if test x"$enablestring" = xdisable; then
14544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14545 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14547 # Check whether --enable-miniframe was given.
14548 if test "${enable_miniframe+set}" = set; then
14549 enableval=$enable_miniframe;
14550 if test "$enableval" = yes; then
14551 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14553 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14558 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14559 if test "x$LINE" != x ; then
14560 eval "DEFAULT_$LINE"
14565 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14570 eval "$wx_cv_use_miniframe"
14571 if test "$no_cache" != 1; then
14572 echo $wx_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
14575 if test x"$enablestring" = xdisable; then
14576 if test $wxUSE_MINIFRAME = yes; then
14582 result=$wxUSE_MINIFRAME
14585 { echo "$as_me:$LINENO: result: $result" >&5
14586 echo "${ECHO_T}$result" >&6; }
14590 defaultval=$wxUSE_ALL_FEATURES
14591 if test -z "$defaultval"; then
14592 if test x"$enablestring" = xdisable; then
14599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14600 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14602 # Check whether --enable-tooltips was given.
14603 if test "${enable_tooltips+set}" = set; then
14604 enableval=$enable_tooltips;
14605 if test "$enableval" = yes; then
14606 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14608 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14613 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14614 if test "x$LINE" != x ; then
14615 eval "DEFAULT_$LINE"
14620 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14625 eval "$wx_cv_use_tooltips"
14626 if test "$no_cache" != 1; then
14627 echo $wx_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
14630 if test x"$enablestring" = xdisable; then
14631 if test $wxUSE_TOOLTIPS = yes; then
14637 result=$wxUSE_TOOLTIPS
14640 { echo "$as_me:$LINENO: result: $result" >&5
14641 echo "${ECHO_T}$result" >&6; }
14645 defaultval=$wxUSE_ALL_FEATURES
14646 if test -z "$defaultval"; then
14647 if test x"$enablestring" = xdisable; then
14654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14655 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14657 # Check whether --enable-splines was given.
14658 if test "${enable_splines+set}" = set; then
14659 enableval=$enable_splines;
14660 if test "$enableval" = yes; then
14661 wx_cv_use_splines='wxUSE_SPLINES=yes'
14663 wx_cv_use_splines='wxUSE_SPLINES=no'
14668 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14669 if test "x$LINE" != x ; then
14670 eval "DEFAULT_$LINE"
14675 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14680 eval "$wx_cv_use_splines"
14681 if test "$no_cache" != 1; then
14682 echo $wx_cv_use_splines >> ${wx_arg_cache_file}.tmp
14685 if test x"$enablestring" = xdisable; then
14686 if test $wxUSE_SPLINES = yes; then
14692 result=$wxUSE_SPLINES
14695 { echo "$as_me:$LINENO: result: $result" >&5
14696 echo "${ECHO_T}$result" >&6; }
14700 defaultval=$wxUSE_ALL_FEATURES
14701 if test -z "$defaultval"; then
14702 if test x"$enablestring" = xdisable; then
14709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14710 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14712 # Check whether --enable-mousewheel was given.
14713 if test "${enable_mousewheel+set}" = set; then
14714 enableval=$enable_mousewheel;
14715 if test "$enableval" = yes; then
14716 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14718 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14723 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14724 if test "x$LINE" != x ; then
14725 eval "DEFAULT_$LINE"
14730 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14735 eval "$wx_cv_use_mousewheel"
14736 if test "$no_cache" != 1; then
14737 echo $wx_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
14740 if test x"$enablestring" = xdisable; then
14741 if test $wxUSE_MOUSEWHEEL = yes; then
14747 result=$wxUSE_MOUSEWHEEL
14750 { echo "$as_me:$LINENO: result: $result" >&5
14751 echo "${ECHO_T}$result" >&6; }
14755 defaultval=$wxUSE_ALL_FEATURES
14756 if test -z "$defaultval"; then
14757 if test x"$enablestring" = xdisable; then
14764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14765 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14767 # Check whether --enable-validators was given.
14768 if test "${enable_validators+set}" = set; then
14769 enableval=$enable_validators;
14770 if test "$enableval" = yes; then
14771 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14773 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14778 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14779 if test "x$LINE" != x ; then
14780 eval "DEFAULT_$LINE"
14785 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14790 eval "$wx_cv_use_validators"
14791 if test "$no_cache" != 1; then
14792 echo $wx_cv_use_validators >> ${wx_arg_cache_file}.tmp
14795 if test x"$enablestring" = xdisable; then
14796 if test $wxUSE_VALIDATORS = yes; then
14802 result=$wxUSE_VALIDATORS
14805 { echo "$as_me:$LINENO: result: $result" >&5
14806 echo "${ECHO_T}$result" >&6; }
14810 defaultval=$wxUSE_ALL_FEATURES
14811 if test -z "$defaultval"; then
14812 if test x"$enablestring" = xdisable; then
14819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14820 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14822 # Check whether --enable-busyinfo was given.
14823 if test "${enable_busyinfo+set}" = set; then
14824 enableval=$enable_busyinfo;
14825 if test "$enableval" = yes; then
14826 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14828 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14833 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14834 if test "x$LINE" != x ; then
14835 eval "DEFAULT_$LINE"
14840 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14845 eval "$wx_cv_use_busyinfo"
14846 if test "$no_cache" != 1; then
14847 echo $wx_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
14850 if test x"$enablestring" = xdisable; then
14851 if test $wxUSE_BUSYINFO = yes; then
14857 result=$wxUSE_BUSYINFO
14860 { echo "$as_me:$LINENO: result: $result" >&5
14861 echo "${ECHO_T}$result" >&6; }
14865 defaultval=$wxUSE_ALL_FEATURES
14866 if test -z "$defaultval"; then
14867 if test x"$enablestring" = xdisable; then
14874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14875 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14877 # Check whether --enable-joystick was given.
14878 if test "${enable_joystick+set}" = set; then
14879 enableval=$enable_joystick;
14880 if test "$enableval" = yes; then
14881 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14883 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14888 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14889 if test "x$LINE" != x ; then
14890 eval "DEFAULT_$LINE"
14895 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14900 eval "$wx_cv_use_joystick"
14901 if test "$no_cache" != 1; then
14902 echo $wx_cv_use_joystick >> ${wx_arg_cache_file}.tmp
14905 if test x"$enablestring" = xdisable; then
14906 if test $wxUSE_JOYSTICK = yes; then
14912 result=$wxUSE_JOYSTICK
14915 { echo "$as_me:$LINENO: result: $result" >&5
14916 echo "${ECHO_T}$result" >&6; }
14920 defaultval=$wxUSE_ALL_FEATURES
14921 if test -z "$defaultval"; then
14922 if test x"$enablestring" = xdisable; then
14929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14930 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14932 # Check whether --enable-metafile was given.
14933 if test "${enable_metafile+set}" = set; then
14934 enableval=$enable_metafile;
14935 if test "$enableval" = yes; then
14936 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14938 wx_cv_use_metafile='wxUSE_METAFILE=no'
14943 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14944 if test "x$LINE" != x ; then
14945 eval "DEFAULT_$LINE"
14950 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14955 eval "$wx_cv_use_metafile"
14956 if test "$no_cache" != 1; then
14957 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
14960 if test x"$enablestring" = xdisable; then
14961 if test $wxUSE_METAFILE = yes; then
14967 result=$wxUSE_METAFILE
14970 { echo "$as_me:$LINENO: result: $result" >&5
14971 echo "${ECHO_T}$result" >&6; }
14975 defaultval=$wxUSE_ALL_FEATURES
14976 if test -z "$defaultval"; then
14977 if test x"$enablestring" = xdisable; then
14984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14985 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14987 # Check whether --enable-dragimage was given.
14988 if test "${enable_dragimage+set}" = set; then
14989 enableval=$enable_dragimage;
14990 if test "$enableval" = yes; then
14991 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14993 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14998 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14999 if test "x$LINE" != x ; then
15000 eval "DEFAULT_$LINE"
15005 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15010 eval "$wx_cv_use_dragimage"
15011 if test "$no_cache" != 1; then
15012 echo $wx_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
15015 if test x"$enablestring" = xdisable; then
15016 if test $wxUSE_DRAGIMAGE = yes; then
15022 result=$wxUSE_DRAGIMAGE
15025 { echo "$as_me:$LINENO: result: $result" >&5
15026 echo "${ECHO_T}$result" >&6; }
15030 defaultval=$wxUSE_ALL_FEATURES
15031 if test -z "$defaultval"; then
15032 if test x"$enablestring" = xdisable; then
15039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15040 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15042 # Check whether --enable-accessibility was given.
15043 if test "${enable_accessibility+set}" = set; then
15044 enableval=$enable_accessibility;
15045 if test "$enableval" = yes; then
15046 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15048 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15053 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15054 if test "x$LINE" != x ; then
15055 eval "DEFAULT_$LINE"
15060 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15065 eval "$wx_cv_use_accessibility"
15066 if test "$no_cache" != 1; then
15067 echo $wx_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
15070 if test x"$enablestring" = xdisable; then
15071 if test $wxUSE_ACCESSIBILITY = yes; then
15077 result=$wxUSE_ACCESSIBILITY
15080 { echo "$as_me:$LINENO: result: $result" >&5
15081 echo "${ECHO_T}$result" >&6; }
15084 if test "$wxUSE_MSW" = "1"; then
15087 defaultval=$wxUSE_ALL_FEATURES
15088 if test -z "$defaultval"; then
15089 if test x"$enablestring" = xdisable; then
15096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15097 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15099 # Check whether --enable-dccache was given.
15100 if test "${enable_dccache+set}" = set; then
15101 enableval=$enable_dccache;
15102 if test "$enableval" = yes; then
15103 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15105 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15110 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15111 if test "x$LINE" != x ; then
15112 eval "DEFAULT_$LINE"
15117 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15122 eval "$wx_cv_use_dccache"
15123 if test "$no_cache" != 1; then
15124 echo $wx_cv_use_dccache >> ${wx_arg_cache_file}.tmp
15127 if test x"$enablestring" = xdisable; then
15128 if test $wxUSE_DC_CACHEING = yes; then
15134 result=$wxUSE_DC_CACHEING
15137 { echo "$as_me:$LINENO: result: $result" >&5
15138 echo "${ECHO_T}$result" >&6; }
15145 defaultval=$wxUSE_ALL_FEATURES
15146 if test -z "$defaultval"; then
15147 if test x"$enablestring" = xdisable; then
15154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15155 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15157 # Check whether --enable-palette was given.
15158 if test "${enable_palette+set}" = set; then
15159 enableval=$enable_palette;
15160 if test "$enableval" = yes; then
15161 wx_cv_use_palette='wxUSE_PALETTE=yes'
15163 wx_cv_use_palette='wxUSE_PALETTE=no'
15168 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15169 if test "x$LINE" != x ; then
15170 eval "DEFAULT_$LINE"
15175 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15180 eval "$wx_cv_use_palette"
15181 if test "$no_cache" != 1; then
15182 echo $wx_cv_use_palette >> ${wx_arg_cache_file}.tmp
15185 if test x"$enablestring" = xdisable; then
15186 if test $wxUSE_PALETTE = yes; then
15192 result=$wxUSE_PALETTE
15195 { echo "$as_me:$LINENO: result: $result" >&5
15196 echo "${ECHO_T}$result" >&6; }
15200 defaultval=$wxUSE_ALL_FEATURES
15201 if test -z "$defaultval"; then
15202 if test x"$enablestring" = xdisable; then
15209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15210 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15212 # Check whether --enable-image was given.
15213 if test "${enable_image+set}" = set; then
15214 enableval=$enable_image;
15215 if test "$enableval" = yes; then
15216 wx_cv_use_image='wxUSE_IMAGE=yes'
15218 wx_cv_use_image='wxUSE_IMAGE=no'
15223 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15224 if test "x$LINE" != x ; then
15225 eval "DEFAULT_$LINE"
15230 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15235 eval "$wx_cv_use_image"
15236 if test "$no_cache" != 1; then
15237 echo $wx_cv_use_image >> ${wx_arg_cache_file}.tmp
15240 if test x"$enablestring" = xdisable; then
15241 if test $wxUSE_IMAGE = yes; then
15247 result=$wxUSE_IMAGE
15250 { echo "$as_me:$LINENO: result: $result" >&5
15251 echo "${ECHO_T}$result" >&6; }
15255 defaultval=$wxUSE_ALL_FEATURES
15256 if test -z "$defaultval"; then
15257 if test x"$enablestring" = xdisable; then
15264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15265 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15267 # Check whether --enable-gif was given.
15268 if test "${enable_gif+set}" = set; then
15269 enableval=$enable_gif;
15270 if test "$enableval" = yes; then
15271 wx_cv_use_gif='wxUSE_GIF=yes'
15273 wx_cv_use_gif='wxUSE_GIF=no'
15278 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15279 if test "x$LINE" != x ; then
15280 eval "DEFAULT_$LINE"
15285 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15290 eval "$wx_cv_use_gif"
15291 if test "$no_cache" != 1; then
15292 echo $wx_cv_use_gif >> ${wx_arg_cache_file}.tmp
15295 if test x"$enablestring" = xdisable; then
15296 if test $wxUSE_GIF = yes; then
15305 { echo "$as_me:$LINENO: result: $result" >&5
15306 echo "${ECHO_T}$result" >&6; }
15310 defaultval=$wxUSE_ALL_FEATURES
15311 if test -z "$defaultval"; then
15312 if test x"$enablestring" = xdisable; then
15319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15320 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15322 # Check whether --enable-pcx was given.
15323 if test "${enable_pcx+set}" = set; then
15324 enableval=$enable_pcx;
15325 if test "$enableval" = yes; then
15326 wx_cv_use_pcx='wxUSE_PCX=yes'
15328 wx_cv_use_pcx='wxUSE_PCX=no'
15333 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15334 if test "x$LINE" != x ; then
15335 eval "DEFAULT_$LINE"
15340 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15345 eval "$wx_cv_use_pcx"
15346 if test "$no_cache" != 1; then
15347 echo $wx_cv_use_pcx >> ${wx_arg_cache_file}.tmp
15350 if test x"$enablestring" = xdisable; then
15351 if test $wxUSE_PCX = yes; then
15360 { echo "$as_me:$LINENO: result: $result" >&5
15361 echo "${ECHO_T}$result" >&6; }
15365 defaultval=$wxUSE_ALL_FEATURES
15366 if test -z "$defaultval"; then
15367 if test x"$enablestring" = xdisable; then
15374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15375 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15377 # Check whether --enable-tga was given.
15378 if test "${enable_tga+set}" = set; then
15379 enableval=$enable_tga;
15380 if test "$enableval" = yes; then
15381 wx_cv_use_tga='wxUSE_TGA=yes'
15383 wx_cv_use_tga='wxUSE_TGA=no'
15388 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15389 if test "x$LINE" != x ; then
15390 eval "DEFAULT_$LINE"
15395 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15400 eval "$wx_cv_use_tga"
15401 if test "$no_cache" != 1; then
15402 echo $wx_cv_use_tga >> ${wx_arg_cache_file}.tmp
15405 if test x"$enablestring" = xdisable; then
15406 if test $wxUSE_TGA = 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}-iff" >&5
15430 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15432 # Check whether --enable-iff was given.
15433 if test "${enable_iff+set}" = set; then
15434 enableval=$enable_iff;
15435 if test "$enableval" = yes; then
15436 wx_cv_use_iff='wxUSE_IFF=yes'
15438 wx_cv_use_iff='wxUSE_IFF=no'
15443 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15444 if test "x$LINE" != x ; then
15445 eval "DEFAULT_$LINE"
15450 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15455 eval "$wx_cv_use_iff"
15456 if test "$no_cache" != 1; then
15457 echo $wx_cv_use_iff >> ${wx_arg_cache_file}.tmp
15460 if test x"$enablestring" = xdisable; then
15461 if test $wxUSE_IFF = yes; then
15470 { echo "$as_me:$LINENO: result: $result" >&5
15471 echo "${ECHO_T}$result" >&6; }
15475 defaultval=$wxUSE_ALL_FEATURES
15476 if test -z "$defaultval"; then
15477 if test x"$enablestring" = xdisable; then
15484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15485 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15487 # Check whether --enable-pnm was given.
15488 if test "${enable_pnm+set}" = set; then
15489 enableval=$enable_pnm;
15490 if test "$enableval" = yes; then
15491 wx_cv_use_pnm='wxUSE_PNM=yes'
15493 wx_cv_use_pnm='wxUSE_PNM=no'
15498 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15499 if test "x$LINE" != x ; then
15500 eval "DEFAULT_$LINE"
15505 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15510 eval "$wx_cv_use_pnm"
15511 if test "$no_cache" != 1; then
15512 echo $wx_cv_use_pnm >> ${wx_arg_cache_file}.tmp
15515 if test x"$enablestring" = xdisable; then
15516 if test $wxUSE_PNM = yes; then
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}-xpm" >&5
15540 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15542 # Check whether --enable-xpm was given.
15543 if test "${enable_xpm+set}" = set; then
15544 enableval=$enable_xpm;
15545 if test "$enableval" = yes; then
15546 wx_cv_use_xpm='wxUSE_XPM=yes'
15548 wx_cv_use_xpm='wxUSE_XPM=no'
15553 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15554 if test "x$LINE" != x ; then
15555 eval "DEFAULT_$LINE"
15560 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15565 eval "$wx_cv_use_xpm"
15566 if test "$no_cache" != 1; then
15567 echo $wx_cv_use_xpm >> ${wx_arg_cache_file}.tmp
15570 if test x"$enablestring" = xdisable; then
15571 if test $wxUSE_XPM = yes; then
15580 { echo "$as_me:$LINENO: result: $result" >&5
15581 echo "${ECHO_T}$result" >&6; }
15585 defaultval=$wxUSE_ALL_FEATURES
15586 if test -z "$defaultval"; then
15587 if test x"$enablestring" = xdisable; then
15594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15595 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15597 # Check whether --enable-ico_cur was given.
15598 if test "${enable_ico_cur+set}" = set; then
15599 enableval=$enable_ico_cur;
15600 if test "$enableval" = yes; then
15601 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15603 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15608 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15609 if test "x$LINE" != x ; then
15610 eval "DEFAULT_$LINE"
15615 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15620 eval "$wx_cv_use_ico_cur"
15621 if test "$no_cache" != 1; then
15622 echo $wx_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
15625 if test x"$enablestring" = xdisable; then
15626 if test $wxUSE_ICO_CUR = yes; then
15632 result=$wxUSE_ICO_CUR
15635 { echo "$as_me:$LINENO: result: $result" >&5
15636 echo "${ECHO_T}$result" >&6; }
15642 echo "saving argument cache $wx_arg_cache_file"
15643 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15647 { echo "$as_me:$LINENO: checking for toolkit" >&5
15648 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15650 # In Wine, we need to default to MSW, not GTK or MOTIF
15651 if test "$wxUSE_WINE" = "yes"; then
15652 DEFAULT_DEFAULT_wxUSE_GTK=0
15653 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15654 DEFAULT_DEFAULT_wxUSE_MSW=1
15657 CXX=${CXX:-wineg++}
15661 if test "$wxUSE_GUI" = "yes"; then
15663 if test "$USE_BEOS" = 1; then
15664 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15665 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15666 { (exit 1); exit 1; }; }
15669 if test "$TOOLKIT_GIVEN" = 1; then
15670 for toolkit in `echo $ALL_TOOLKITS`; do
15672 eval "value=\$${var}"
15673 if test "x$value" = "xno"; then
15675 elif test "x$value" != "x"; then
15679 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15680 eval "wx${toolkit}_VERSION=$value"
15684 for toolkit in `echo $ALL_TOOLKITS`; do
15685 if test "$has_toolkit_in_cache" != 1; then
15686 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15688 var=DEFAULT_wxUSE_$toolkit
15690 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15691 if test "x$version" != "x"; then
15692 eval "wx${toolkit}_VERSION=$version"
15695 eval "wxUSE_$toolkit=\$${var}"
15699 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15700 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15701 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15704 *-pc-os2_emx | *-pc-os2-emx )
15705 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15708 case "$NUM_TOOLKITS" in
15712 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15713 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15714 { (exit 1); exit 1; }; }
15717 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15718 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15719 { (exit 1); exit 1; }; }
15722 # to be removed when --disable-gtk2 isn't needed
15723 if test "x$wxUSE_GTK2" = "xyes"; then
15725 elif test "x$wxUSE_GTK2" = "xno"; then
15729 for toolkit in `echo $ALL_TOOLKITS`; do
15731 eval "value=\$${var}"
15732 if test "x$value" != x; then
15733 cache_var=CACHE_$toolkit
15734 eval "cache=\$${cache_var}"
15735 if test "$cache" = 1; then
15736 echo "$var=$value" >> ${wx_arg_cache_file}
15737 eval "version=\$wx${toolkit}_VERSION"
15738 if test "x$version" != "x"; then
15739 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15742 if test "$value" = 1; then
15743 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15744 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15745 echo "${ECHO_T}$toolkit_echo" >&6; }
15750 if test "x$host_alias" != "x"; then
15751 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15752 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15754 { echo "$as_me:$LINENO: result: base only" >&5
15755 echo "${ECHO_T}base only" >&6; }
15760 cat >confcache <<\_ACEOF
15761 # This file is a shell script that caches the results of configure
15762 # tests run on this system so they can be shared between configure
15763 # scripts and configure runs, see configure's option --config-cache.
15764 # It is not useful on other systems. If it contains results you don't
15765 # want to keep, you may remove or edit it.
15767 # config.status only pays attention to the cache file if you give it
15768 # the --recheck option to rerun configure.
15770 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15771 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15772 # following values.
15776 # The following way of writing the cache mishandles newlines in values,
15777 # but we know of no workaround that is simple, portable, and efficient.
15778 # So, we kill variables containing newlines.
15779 # Ultrix sh set writes to stderr and can't be redirected directly,
15780 # and sets the high bit in the cache file unless we assign to the vars.
15782 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15783 eval ac_val=\$$ac_var
15787 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15788 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15791 _ | IFS | as_nl) ;; #(
15792 *) $as_unset $ac_var ;;
15798 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15799 *${as_nl}ac_space=\ *)
15800 # `set' does not quote correctly, so add quotes (double-quote
15801 # substitution turns \\\\ into \\, and sed turns \\ into \).
15804 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15807 # `set' quotes correctly as required by POSIX, so do not add quotes.
15808 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15817 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15819 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15821 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15822 if test -w "$cache_file"; then
15823 test "x$cache_file" != "x/dev/null" &&
15824 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15825 echo "$as_me: updating cache $cache_file" >&6;}
15826 cat confcache >$cache_file
15828 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15829 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15839 ac_cpp='$CPP $CPPFLAGS'
15840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15843 if test -n "$ac_tool_prefix"; then
15844 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15845 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15848 if test "${ac_cv_prog_CC+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 if test -n "$CC"; then
15852 ac_cv_prog_CC="$CC" # Let the user override the test.
15854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15855 for as_dir in $PATH
15858 test -z "$as_dir" && as_dir=.
15859 for ac_exec_ext in '' $ac_executable_extensions; do
15860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15861 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15872 if test -n "$CC"; then
15873 { echo "$as_me:$LINENO: result: $CC" >&5
15874 echo "${ECHO_T}$CC" >&6; }
15876 { echo "$as_me:$LINENO: result: no" >&5
15877 echo "${ECHO_T}no" >&6; }
15882 if test -z "$ac_cv_prog_CC"; then
15884 # Extract the first word of "gcc", so it can be a program name with args.
15885 set dummy gcc; ac_word=$2
15886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15888 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15889 echo $ECHO_N "(cached) $ECHO_C" >&6
15891 if test -n "$ac_ct_CC"; then
15892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15895 for as_dir in $PATH
15898 test -z "$as_dir" && as_dir=.
15899 for ac_exec_ext in '' $ac_executable_extensions; do
15900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15901 ac_cv_prog_ac_ct_CC="gcc"
15902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15911 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15912 if test -n "$ac_ct_CC"; then
15913 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15914 echo "${ECHO_T}$ac_ct_CC" >&6; }
15916 { echo "$as_me:$LINENO: result: no" >&5
15917 echo "${ECHO_T}no" >&6; }
15920 if test "x$ac_ct_CC" = x; then
15923 case $cross_compiling:$ac_tool_warned in
15925 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15926 whose name does not start with the host triplet. If you think this
15927 configuration is useful to you, please write to autoconf@gnu.org." >&5
15928 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15929 whose name does not start with the host triplet. If you think this
15930 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15931 ac_tool_warned=yes ;;
15936 CC="$ac_cv_prog_CC"
15939 if test -z "$CC"; then
15940 if test -n "$ac_tool_prefix"; then
15941 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15942 set dummy ${ac_tool_prefix}cc; ac_word=$2
15943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15945 if test "${ac_cv_prog_CC+set}" = set; then
15946 echo $ECHO_N "(cached) $ECHO_C" >&6
15948 if test -n "$CC"; then
15949 ac_cv_prog_CC="$CC" # Let the user override the test.
15951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15952 for as_dir in $PATH
15955 test -z "$as_dir" && as_dir=.
15956 for ac_exec_ext in '' $ac_executable_extensions; do
15957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15958 ac_cv_prog_CC="${ac_tool_prefix}cc"
15959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15969 if test -n "$CC"; then
15970 { echo "$as_me:$LINENO: result: $CC" >&5
15971 echo "${ECHO_T}$CC" >&6; }
15973 { echo "$as_me:$LINENO: result: no" >&5
15974 echo "${ECHO_T}no" >&6; }
15980 if test -z "$CC"; then
15981 # Extract the first word of "cc", so it can be a program name with args.
15982 set dummy cc; ac_word=$2
15983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15985 if test "${ac_cv_prog_CC+set}" = set; then
15986 echo $ECHO_N "(cached) $ECHO_C" >&6
15988 if test -n "$CC"; then
15989 ac_cv_prog_CC="$CC" # Let the user override the test.
15991 ac_prog_rejected=no
15992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15993 for as_dir in $PATH
15996 test -z "$as_dir" && as_dir=.
15997 for ac_exec_ext in '' $ac_executable_extensions; do
15998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15999 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16000 ac_prog_rejected=yes
16004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16011 if test $ac_prog_rejected = yes; then
16012 # We found a bogon in the path, so make sure we never use it.
16013 set dummy $ac_cv_prog_CC
16015 if test $# != 0; then
16016 # We chose a different compiler from the bogus one.
16017 # However, it has the same basename, so the bogon will be chosen
16018 # first if we set CC to just the basename; use the full file name.
16020 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16026 if test -n "$CC"; then
16027 { echo "$as_me:$LINENO: result: $CC" >&5
16028 echo "${ECHO_T}$CC" >&6; }
16030 { echo "$as_me:$LINENO: result: no" >&5
16031 echo "${ECHO_T}no" >&6; }
16036 if test -z "$CC"; then
16037 if test -n "$ac_tool_prefix"; then
16038 for ac_prog in cl.exe
16040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16044 if test "${ac_cv_prog_CC+set}" = set; then
16045 echo $ECHO_N "(cached) $ECHO_C" >&6
16047 if test -n "$CC"; then
16048 ac_cv_prog_CC="$CC" # Let the user override the test.
16050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16051 for as_dir in $PATH
16054 test -z "$as_dir" && as_dir=.
16055 for ac_exec_ext in '' $ac_executable_extensions; do
16056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16057 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16068 if test -n "$CC"; then
16069 { echo "$as_me:$LINENO: result: $CC" >&5
16070 echo "${ECHO_T}$CC" >&6; }
16072 { echo "$as_me:$LINENO: result: no" >&5
16073 echo "${ECHO_T}no" >&6; }
16077 test -n "$CC" && break
16080 if test -z "$CC"; then
16082 for ac_prog in cl.exe
16084 # Extract the first word of "$ac_prog", so it can be a program name with args.
16085 set dummy $ac_prog; ac_word=$2
16086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16089 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 if test -n "$ac_ct_CC"; then
16092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16095 for as_dir in $PATH
16098 test -z "$as_dir" && as_dir=.
16099 for ac_exec_ext in '' $ac_executable_extensions; do
16100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16101 ac_cv_prog_ac_ct_CC="$ac_prog"
16102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16112 if test -n "$ac_ct_CC"; then
16113 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16114 echo "${ECHO_T}$ac_ct_CC" >&6; }
16116 { echo "$as_me:$LINENO: result: no" >&5
16117 echo "${ECHO_T}no" >&6; }
16121 test -n "$ac_ct_CC" && break
16124 if test "x$ac_ct_CC" = x; then
16127 case $cross_compiling:$ac_tool_warned in
16129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16130 whose name does not start with the host triplet. If you think this
16131 configuration is useful to you, please write to autoconf@gnu.org." >&5
16132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16133 whose name does not start with the host triplet. If you think this
16134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16135 ac_tool_warned=yes ;;
16144 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16145 See \`config.log' for more details." >&5
16146 echo "$as_me: error: no acceptable C compiler found in \$PATH
16147 See \`config.log' for more details." >&2;}
16148 { (exit 1); exit 1; }; }
16150 # Provide some information about the compiler.
16151 echo "$as_me:$LINENO: checking for C compiler version" >&5
16152 ac_compiler=`set X $ac_compile; echo $2`
16153 { (ac_try="$ac_compiler --version >&5"
16154 case "(($ac_try" in
16155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16156 *) ac_try_echo=$ac_try;;
16158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16159 (eval "$ac_compiler --version >&5") 2>&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); }
16163 { (ac_try="$ac_compiler -v >&5"
16164 case "(($ac_try" in
16165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16166 *) ac_try_echo=$ac_try;;
16168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16169 (eval "$ac_compiler -v >&5") 2>&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); }
16173 { (ac_try="$ac_compiler -V >&5"
16174 case "(($ac_try" in
16175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16176 *) ac_try_echo=$ac_try;;
16178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16179 (eval "$ac_compiler -V >&5") 2>&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); }
16184 cat >conftest.$ac_ext <<_ACEOF
16187 cat confdefs.h >>conftest.$ac_ext
16188 cat >>conftest.$ac_ext <<_ACEOF
16189 /* end confdefs.h. */
16199 ac_clean_files_save=$ac_clean_files
16200 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16201 # Try to create an executable without -o first, disregard a.out.
16202 # It will help us diagnose broken compilers, and finding out an intuition
16204 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16205 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16206 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16208 # List of possible output files, starting from the most likely.
16209 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16210 # only as a last resort. b.out is created by i960 compilers.
16211 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16213 # The IRIX 6 linker writes into existing files which may not be
16214 # executable, retaining their permissions. Remove them first so a
16215 # subsequent execution test works.
16217 for ac_file in $ac_files
16220 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16221 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16226 if { (ac_try="$ac_link_default"
16227 case "(($ac_try" in
16228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16229 *) ac_try_echo=$ac_try;;
16231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16232 (eval "$ac_link_default") 2>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; then
16236 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16237 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16238 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16239 # so that the user can short-circuit this test for compilers unknown to
16241 for ac_file in $ac_files ''
16243 test -f "$ac_file" || continue
16245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16248 # We found the default executable, but exeext='' is most
16252 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16254 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16256 # We set ac_cv_exeext here because the later test for it is not
16257 # safe: cross compilers may not add the suffix if given an `-o'
16258 # argument, so we may need to know it at that point already.
16259 # Even if this section looks crufty: it has the advantage of
16260 # actually working.
16266 test "$ac_cv_exeext" = no && ac_cv_exeext=
16272 { echo "$as_me:$LINENO: result: $ac_file" >&5
16273 echo "${ECHO_T}$ac_file" >&6; }
16274 if test -z "$ac_file"; then
16275 echo "$as_me: failed program was:" >&5
16276 sed 's/^/| /' conftest.$ac_ext >&5
16278 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16279 See \`config.log' for more details." >&5
16280 echo "$as_me: error: C compiler cannot create executables
16281 See \`config.log' for more details." >&2;}
16282 { (exit 77); exit 77; }; }
16285 ac_exeext=$ac_cv_exeext
16287 # Check that the compiler produces executables we can run. If not, either
16288 # the compiler is broken, or we cross compile.
16289 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16290 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16291 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16292 # If not cross compiling, check that we can run a simple program.
16293 if test "$cross_compiling" != yes; then
16294 if { ac_try='./$ac_file'
16295 { (case "(($ac_try" in
16296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16297 *) ac_try_echo=$ac_try;;
16299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16300 (eval "$ac_try") 2>&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); }; }; then
16306 if test "$cross_compiling" = maybe; then
16307 cross_compiling=yes
16309 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16310 If you meant to cross compile, use \`--host'.
16311 See \`config.log' for more details." >&5
16312 echo "$as_me: error: cannot run C compiled programs.
16313 If you meant to cross compile, use \`--host'.
16314 See \`config.log' for more details." >&2;}
16315 { (exit 1); exit 1; }; }
16319 { echo "$as_me:$LINENO: result: yes" >&5
16320 echo "${ECHO_T}yes" >&6; }
16322 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16323 ac_clean_files=$ac_clean_files_save
16324 # Check that the compiler produces executables we can run. If not, either
16325 # the compiler is broken, or we cross compile.
16326 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16327 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16328 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16329 echo "${ECHO_T}$cross_compiling" >&6; }
16331 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16332 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16333 if { (ac_try="$ac_link"
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_link") 2>&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); }; then
16343 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16344 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16345 # work properly (i.e., refer to `conftest.exe'), while it won't with
16347 for ac_file in conftest.exe conftest conftest.*; do
16348 test -f "$ac_file" || continue
16350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16351 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16357 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16358 See \`config.log' for more details." >&5
16359 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16360 See \`config.log' for more details." >&2;}
16361 { (exit 1); exit 1; }; }
16364 rm -f conftest$ac_cv_exeext
16365 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16366 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16368 rm -f conftest.$ac_ext
16369 EXEEXT=$ac_cv_exeext
16371 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16372 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16373 if test "${ac_cv_objext+set}" = set; then
16374 echo $ECHO_N "(cached) $ECHO_C" >&6
16376 cat >conftest.$ac_ext <<_ACEOF
16379 cat confdefs.h >>conftest.$ac_ext
16380 cat >>conftest.$ac_ext <<_ACEOF
16381 /* end confdefs.h. */
16391 rm -f conftest.o conftest.obj
16392 if { (ac_try="$ac_compile"
16393 case "(($ac_try" in
16394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16395 *) ac_try_echo=$ac_try;;
16397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16398 (eval "$ac_compile") 2>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; then
16402 for ac_file in conftest.o conftest.obj conftest.*; do
16403 test -f "$ac_file" || continue;
16405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16406 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16411 echo "$as_me: failed program was:" >&5
16412 sed 's/^/| /' conftest.$ac_ext >&5
16414 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16415 See \`config.log' for more details." >&5
16416 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16417 See \`config.log' for more details." >&2;}
16418 { (exit 1); exit 1; }; }
16421 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16423 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16424 echo "${ECHO_T}$ac_cv_objext" >&6; }
16425 OBJEXT=$ac_cv_objext
16427 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16428 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16429 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16432 cat >conftest.$ac_ext <<_ACEOF
16435 cat confdefs.h >>conftest.$ac_ext
16436 cat >>conftest.$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16450 rm -f conftest.$ac_objext
16451 if { (ac_try="$ac_compile"
16452 case "(($ac_try" in
16453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16454 *) ac_try_echo=$ac_try;;
16456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16457 (eval "$ac_compile") 2>conftest.er1
16459 grep -v '^ *+' conftest.er1 >conftest.err
16461 cat conftest.err >&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); } && {
16464 test -z "$ac_c_werror_flag" ||
16465 test ! -s conftest.err
16466 } && test -s conftest.$ac_objext; then
16467 ac_compiler_gnu=yes
16469 echo "$as_me: failed program was:" >&5
16470 sed 's/^/| /' conftest.$ac_ext >&5
16475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16476 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16479 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16480 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16481 GCC=`test $ac_compiler_gnu = yes && echo yes`
16482 ac_test_CFLAGS=${CFLAGS+set}
16483 ac_save_CFLAGS=$CFLAGS
16484 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16485 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16486 if test "${ac_cv_prog_cc_g+set}" = set; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 ac_save_c_werror_flag=$ac_c_werror_flag
16490 ac_c_werror_flag=yes
16493 cat >conftest.$ac_ext <<_ACEOF
16496 cat confdefs.h >>conftest.$ac_ext
16497 cat >>conftest.$ac_ext <<_ACEOF
16498 /* end confdefs.h. */
16508 rm -f conftest.$ac_objext
16509 if { (ac_try="$ac_compile"
16510 case "(($ac_try" in
16511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16512 *) ac_try_echo=$ac_try;;
16514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16515 (eval "$ac_compile") 2>conftest.er1
16517 grep -v '^ *+' conftest.er1 >conftest.err
16519 cat conftest.err >&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); } && {
16522 test -z "$ac_c_werror_flag" ||
16523 test ! -s conftest.err
16524 } && test -s conftest.$ac_objext; then
16525 ac_cv_prog_cc_g=yes
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.$ac_ext >&5
16531 cat >conftest.$ac_ext <<_ACEOF
16534 cat confdefs.h >>conftest.$ac_ext
16535 cat >>conftest.$ac_ext <<_ACEOF
16536 /* end confdefs.h. */
16546 rm -f conftest.$ac_objext
16547 if { (ac_try="$ac_compile"
16548 case "(($ac_try" in
16549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16550 *) ac_try_echo=$ac_try;;
16552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16553 (eval "$ac_compile") 2>conftest.er1
16555 grep -v '^ *+' conftest.er1 >conftest.err
16557 cat conftest.err >&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } && {
16560 test -z "$ac_c_werror_flag" ||
16561 test ! -s conftest.err
16562 } && test -s conftest.$ac_objext; then
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.$ac_ext >&5
16568 ac_c_werror_flag=$ac_save_c_werror_flag
16570 cat >conftest.$ac_ext <<_ACEOF
16573 cat confdefs.h >>conftest.$ac_ext
16574 cat >>conftest.$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16585 rm -f conftest.$ac_objext
16586 if { (ac_try="$ac_compile"
16587 case "(($ac_try" in
16588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16589 *) ac_try_echo=$ac_try;;
16591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16592 (eval "$ac_compile") 2>conftest.er1
16594 grep -v '^ *+' conftest.er1 >conftest.err
16596 cat conftest.err >&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); } && {
16599 test -z "$ac_c_werror_flag" ||
16600 test ! -s conftest.err
16601 } && test -s conftest.$ac_objext; then
16602 ac_cv_prog_cc_g=yes
16604 echo "$as_me: failed program was:" >&5
16605 sed 's/^/| /' conftest.$ac_ext >&5
16610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16617 ac_c_werror_flag=$ac_save_c_werror_flag
16619 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16620 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16621 if test "$ac_test_CFLAGS" = set; then
16622 CFLAGS=$ac_save_CFLAGS
16623 elif test $ac_cv_prog_cc_g = yes; then
16624 if test "$GCC" = yes; then
16630 if test "$GCC" = yes; then
16636 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16637 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16638 if test "${ac_cv_prog_cc_c89+set}" = set; then
16639 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 ac_cv_prog_cc_c89=no
16643 cat >conftest.$ac_ext <<_ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16649 #include <stdarg.h>
16651 #include <sys/types.h>
16652 #include <sys/stat.h>
16653 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16654 struct buf { int x; };
16655 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16656 static char *e (p, i)
16662 static char *f (char * (*g) (char **, int), char **p, ...)
16667 s = g (p, va_arg (v,int));
16672 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16673 function prototypes and stuff, but not '\xHH' hex character constants.
16674 These don't provoke an error unfortunately, instead are silently treated
16675 as 'x'. The following induces an error, until -std is added to get
16676 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16677 array size at least. It's necessary to write '\x00'==0 to get something
16678 that's true only with -std. */
16679 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16681 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16682 inside strings and character constants. */
16684 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16686 int test (int i, double x);
16687 struct s1 {int (*f) (int a);};
16688 struct s2 {int (*f) (double a);};
16689 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16695 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16700 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16701 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16703 CC="$ac_save_CC $ac_arg"
16704 rm -f conftest.$ac_objext
16705 if { (ac_try="$ac_compile"
16706 case "(($ac_try" in
16707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16708 *) ac_try_echo=$ac_try;;
16710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16711 (eval "$ac_compile") 2>conftest.er1
16713 grep -v '^ *+' conftest.er1 >conftest.err
16715 cat conftest.err >&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } && {
16718 test -z "$ac_c_werror_flag" ||
16719 test ! -s conftest.err
16720 } && test -s conftest.$ac_objext; then
16721 ac_cv_prog_cc_c89=$ac_arg
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16729 rm -f core conftest.err conftest.$ac_objext
16730 test "x$ac_cv_prog_cc_c89" != "xno" && break
16732 rm -f conftest.$ac_ext
16737 case "x$ac_cv_prog_cc_c89" in
16739 { echo "$as_me:$LINENO: result: none needed" >&5
16740 echo "${ECHO_T}none needed" >&6; } ;;
16742 { echo "$as_me:$LINENO: result: unsupported" >&5
16743 echo "${ECHO_T}unsupported" >&6; } ;;
16745 CC="$CC $ac_cv_prog_cc_c89"
16746 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16747 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16752 ac_cpp='$CPP $CPPFLAGS'
16753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16761 ac_cpp='$CPP $CPPFLAGS'
16762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16766 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16767 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16768 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16771 cat >conftest.$ac_ext <<_ACEOF
16774 cat confdefs.h >>conftest.$ac_ext
16775 cat >>conftest.$ac_ext <<_ACEOF
16776 /* end confdefs.h. */
16782 #ifndef __INTEL_COMPILER
16790 rm -f conftest.$ac_objext
16791 if { (ac_try="$ac_compile"
16792 case "(($ac_try" in
16793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16794 *) ac_try_echo=$ac_try;;
16796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16797 (eval "$ac_compile") 2>conftest.er1
16799 grep -v '^ *+' conftest.er1 >conftest.err
16801 cat conftest.err >&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); } && {
16804 test -z "$ac_c_werror_flag" ||
16805 test ! -s conftest.err
16806 } && test -s conftest.$ac_objext; then
16807 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16809 echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.$ac_ext >&5
16812 bakefile_cv_c_compiler___INTEL_COMPILER=no
16816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16820 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16821 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16822 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16828 ac_cpp='$CPP $CPPFLAGS'
16829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16836 if test "x$GCC" != "xyes"; then
16837 if test "xCC" = "xC"; then
16838 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16839 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16840 if test "${bakefile_cv_c_exto+set}" = set; then
16841 echo $ECHO_N "(cached) $ECHO_C" >&6
16843 cat >conftest.$ac_ext <<_ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16858 rm -f conftest.$ac_objext conftest.$ac_ext.o
16859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16860 (eval $ac_compile) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; then
16864 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16866 conftest.$ac_ext.o)
16867 bakefile_cv_c_exto="-ext o"
16874 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16875 See \`config.log' for more details." >&5
16876 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16877 See \`config.log' for more details." >&2;}
16878 { (exit 1); exit 1; }; }
16882 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16885 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16886 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16887 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16888 if test "c" = "c"; then
16889 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16891 if test "c" = "cxx"; then
16892 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16896 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16897 unset ac_cv_prog_cc_g
16898 ac_test_CFLAGS=${CFLAGS+set}
16899 ac_save_CFLAGS=$CFLAGS
16900 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16901 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16902 if test "${ac_cv_prog_cc_g+set}" = set; then
16903 echo $ECHO_N "(cached) $ECHO_C" >&6
16905 ac_save_c_werror_flag=$ac_c_werror_flag
16906 ac_c_werror_flag=yes
16909 cat >conftest.$ac_ext <<_ACEOF
16912 cat confdefs.h >>conftest.$ac_ext
16913 cat >>conftest.$ac_ext <<_ACEOF
16914 /* end confdefs.h. */
16924 rm -f conftest.$ac_objext
16925 if { (ac_try="$ac_compile"
16926 case "(($ac_try" in
16927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16928 *) ac_try_echo=$ac_try;;
16930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16931 (eval "$ac_compile") 2>conftest.er1
16933 grep -v '^ *+' conftest.er1 >conftest.err
16935 cat conftest.err >&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); } && {
16938 test -z "$ac_c_werror_flag" ||
16939 test ! -s conftest.err
16940 } && test -s conftest.$ac_objext; then
16941 ac_cv_prog_cc_g=yes
16943 echo "$as_me: failed program was:" >&5
16944 sed 's/^/| /' conftest.$ac_ext >&5
16947 cat >conftest.$ac_ext <<_ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16962 rm -f conftest.$ac_objext
16963 if { (ac_try="$ac_compile"
16964 case "(($ac_try" in
16965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16966 *) ac_try_echo=$ac_try;;
16968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16969 (eval "$ac_compile") 2>conftest.er1
16971 grep -v '^ *+' conftest.er1 >conftest.err
16973 cat conftest.err >&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); } && {
16976 test -z "$ac_c_werror_flag" ||
16977 test ! -s conftest.err
16978 } && test -s conftest.$ac_objext; then
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.$ac_ext >&5
16984 ac_c_werror_flag=$ac_save_c_werror_flag
16986 cat >conftest.$ac_ext <<_ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
17001 rm -f conftest.$ac_objext
17002 if { (ac_try="$ac_compile"
17003 case "(($ac_try" in
17004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17005 *) ac_try_echo=$ac_try;;
17007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17008 (eval "$ac_compile") 2>conftest.er1
17010 grep -v '^ *+' conftest.er1 >conftest.err
17012 cat conftest.err >&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } && {
17015 test -z "$ac_c_werror_flag" ||
17016 test ! -s conftest.err
17017 } && test -s conftest.$ac_objext; then
17018 ac_cv_prog_cc_g=yes
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17033 ac_c_werror_flag=$ac_save_c_werror_flag
17035 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17036 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17037 if test "$ac_test_CFLAGS" = set; then
17038 CFLAGS=$ac_save_CFLAGS
17039 elif test $ac_cv_prog_cc_g = yes; then
17040 if test "$GCC" = yes; then
17046 if test "$GCC" = yes; then
17060 ac_cpp='$CPP $CPPFLAGS'
17061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17065 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17066 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17067 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 cat >conftest.$ac_ext <<_ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17089 rm -f conftest.$ac_objext
17090 if { (ac_try="$ac_compile"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_compile") 2>conftest.er1
17098 grep -v '^ *+' conftest.er1 >conftest.err
17100 cat conftest.err >&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } && {
17103 test -z "$ac_c_werror_flag" ||
17104 test ! -s conftest.err
17105 } && test -s conftest.$ac_objext; then
17106 bakefile_cv_c_compiler___xlC__=yes
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17111 bakefile_cv_c_compiler___xlC__=no
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17119 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17120 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17121 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17127 ac_cpp='$CPP $CPPFLAGS'
17128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17140 ac_cpp='$CPP $CPPFLAGS'
17141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17145 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17146 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17147 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17148 echo $ECHO_N "(cached) $ECHO_C" >&6
17150 cat >conftest.$ac_ext <<_ACEOF
17153 cat confdefs.h >>conftest.$ac_ext
17154 cat >>conftest.$ac_ext <<_ACEOF
17155 /* end confdefs.h. */
17169 rm -f conftest.$ac_objext
17170 if { (ac_try="$ac_compile"
17171 case "(($ac_try" in
17172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17173 *) ac_try_echo=$ac_try;;
17175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17176 (eval "$ac_compile") 2>conftest.er1
17178 grep -v '^ *+' conftest.er1 >conftest.err
17180 cat conftest.err >&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); } && {
17183 test -z "$ac_c_werror_flag" ||
17184 test ! -s conftest.err
17185 } && test -s conftest.$ac_objext; then
17186 bakefile_cv_c_compiler___MWERKS__=yes
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.$ac_ext >&5
17191 bakefile_cv_c_compiler___MWERKS__=no
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17200 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17201 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17207 ac_cpp='$CPP $CPPFLAGS'
17208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17217 ac_cpp='$CPP $CPPFLAGS'
17218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17222 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17223 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17224 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 cat >conftest.$ac_ext <<_ACEOF
17230 cat confdefs.h >>conftest.$ac_ext
17231 cat >>conftest.$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17246 rm -f conftest.$ac_objext
17247 if { (ac_try="$ac_compile"
17248 case "(($ac_try" in
17249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17250 *) ac_try_echo=$ac_try;;
17252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17253 (eval "$ac_compile") 2>conftest.er1
17255 grep -v '^ *+' conftest.er1 >conftest.err
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } && {
17260 test -z "$ac_c_werror_flag" ||
17261 test ! -s conftest.err
17262 } && test -s conftest.$ac_objext; then
17263 bakefile_cv_c_compiler___xlC__=yes
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17268 bakefile_cv_c_compiler___xlC__=no
17272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17277 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17278 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17284 ac_cpp='$CPP $CPPFLAGS'
17285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17297 ac_cpp='$CPP $CPPFLAGS'
17298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17302 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17303 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17304 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17305 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 cat >conftest.$ac_ext <<_ACEOF
17310 cat confdefs.h >>conftest.$ac_ext
17311 cat >>conftest.$ac_ext <<_ACEOF
17312 /* end confdefs.h. */
17318 #ifndef _SGI_COMPILER_VERSION
17326 rm -f conftest.$ac_objext
17327 if { (ac_try="$ac_compile"
17328 case "(($ac_try" in
17329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17330 *) ac_try_echo=$ac_try;;
17332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17333 (eval "$ac_compile") 2>conftest.er1
17335 grep -v '^ *+' conftest.er1 >conftest.err
17337 cat conftest.err >&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); } && {
17340 test -z "$ac_c_werror_flag" ||
17341 test ! -s conftest.err
17342 } && test -s conftest.$ac_objext; then
17343 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17345 echo "$as_me: failed program was:" >&5
17346 sed 's/^/| /' conftest.$ac_ext >&5
17348 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17357 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17358 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17364 ac_cpp='$CPP $CPPFLAGS'
17365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17367 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 Sun C compiler" >&5
17383 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17384 if test "${bakefile_cv_c_compiler___SUNPRO_C+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___SUNPRO_C=yes
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.$ac_ext >&5
17428 bakefile_cv_c_compiler___SUNPRO_C=no
17432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17436 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17437 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17438 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "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 HP C compiler" >&5
17463 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17464 if test "${bakefile_cv_c_compiler___HP_cc+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. */
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___HP_cc=yes
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17508 bakefile_cv_c_compiler___HP_cc=no
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17516 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17517 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17518 if test "x$bakefile_cv_c_compiler___HP_cc" = "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 Compaq C compiler" >&5
17543 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17544 if test "${bakefile_cv_c_compiler___DECC+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___DECC=yes
17585 echo "$as_me: failed program was:" >&5
17586 sed 's/^/| /' conftest.$ac_ext >&5
17588 bakefile_cv_c_compiler___DECC=no
17592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17596 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17597 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17598 if test "x$bakefile_cv_c_compiler___DECC" = "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 Sun C compiler" >&5
17623 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17624 if test "${bakefile_cv_c_compiler___SUNPRO_C+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___SUNPRO_C=yes
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.$ac_ext >&5
17668 bakefile_cv_c_compiler___SUNPRO_C=no
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17677 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17678 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "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
17698 ac_cpp='$CPP $CPPFLAGS'
17699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17702 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17703 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17704 # On Suns, sometimes $CPP names a directory.
17705 if test -n "$CPP" && test -d "$CPP"; then
17708 if test -z "$CPP"; then
17709 if test "${ac_cv_prog_CPP+set}" = set; then
17710 echo $ECHO_N "(cached) $ECHO_C" >&6
17712 # Double quotes because CPP needs to be expanded
17713 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17715 ac_preproc_ok=false
17716 for ac_c_preproc_warn_flag in '' yes
17718 # Use a header file that comes with gcc, so configuring glibc
17719 # with a fresh cross-compiler works.
17720 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17721 # <limits.h> exists even on freestanding compilers.
17722 # On the NeXT, cc -E runs the code through the compiler's parser,
17723 # not just through cpp. "Syntax error" is here to catch this case.
17724 cat >conftest.$ac_ext <<_ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17731 # include <limits.h>
17733 # include <assert.h>
17737 if { (ac_try="$ac_cpp conftest.$ac_ext"
17738 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17745 grep -v '^ *+' conftest.er1 >conftest.err
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } >/dev/null && {
17750 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17758 # Broken: fails on valid input.
17762 rm -f conftest.err conftest.$ac_ext
17764 # OK, works on sane cases. Now check whether nonexistent headers
17765 # can be detected and how.
17766 cat >conftest.$ac_ext <<_ACEOF
17769 cat confdefs.h >>conftest.$ac_ext
17770 cat >>conftest.$ac_ext <<_ACEOF
17771 /* end confdefs.h. */
17772 #include <ac_nonexistent.h>
17774 if { (ac_try="$ac_cpp conftest.$ac_ext"
17775 case "(($ac_try" in
17776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17777 *) ac_try_echo=$ac_try;;
17779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17782 grep -v '^ *+' conftest.er1 >conftest.err
17784 cat conftest.err >&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } >/dev/null && {
17787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17788 test ! -s conftest.err
17790 # Broken: success on invalid input.
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.$ac_ext >&5
17796 # Passes both tests.
17801 rm -f conftest.err conftest.$ac_ext
17804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17805 rm -f conftest.err conftest.$ac_ext
17806 if $ac_preproc_ok; then
17811 ac_cv_prog_CPP=$CPP
17814 CPP=$ac_cv_prog_CPP
17816 ac_cv_prog_CPP=$CPP
17818 { echo "$as_me:$LINENO: result: $CPP" >&5
17819 echo "${ECHO_T}$CPP" >&6; }
17820 ac_preproc_ok=false
17821 for ac_c_preproc_warn_flag in '' yes
17823 # Use a header file that comes with gcc, so configuring glibc
17824 # with a fresh cross-compiler works.
17825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17826 # <limits.h> exists even on freestanding compilers.
17827 # On the NeXT, cc -E runs the code through the compiler's parser,
17828 # not just through cpp. "Syntax error" is here to catch this case.
17829 cat >conftest.$ac_ext <<_ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17836 # include <limits.h>
17838 # include <assert.h>
17842 if { (ac_try="$ac_cpp conftest.$ac_ext"
17843 case "(($ac_try" in
17844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17845 *) ac_try_echo=$ac_try;;
17847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17850 grep -v '^ *+' conftest.er1 >conftest.err
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } >/dev/null && {
17855 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17856 test ! -s conftest.err
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.$ac_ext >&5
17863 # Broken: fails on valid input.
17867 rm -f conftest.err conftest.$ac_ext
17869 # OK, works on sane cases. Now check whether nonexistent headers
17870 # can be detected and how.
17871 cat >conftest.$ac_ext <<_ACEOF
17874 cat confdefs.h >>conftest.$ac_ext
17875 cat >>conftest.$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 #include <ac_nonexistent.h>
17879 if { (ac_try="$ac_cpp conftest.$ac_ext"
17880 case "(($ac_try" in
17881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17882 *) ac_try_echo=$ac_try;;
17884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17885 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17887 grep -v '^ *+' conftest.er1 >conftest.err
17889 cat conftest.err >&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); } >/dev/null && {
17892 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17893 test ! -s conftest.err
17895 # Broken: success on invalid input.
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.$ac_ext >&5
17901 # Passes both tests.
17906 rm -f conftest.err conftest.$ac_ext
17909 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17910 rm -f conftest.err conftest.$ac_ext
17911 if $ac_preproc_ok; then
17914 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17915 See \`config.log' for more details." >&5
17916 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17917 See \`config.log' for more details." >&2;}
17918 { (exit 1); exit 1; }; }
17922 ac_cpp='$CPP $CPPFLAGS'
17923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17928 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17929 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17930 if test "${ac_cv_path_GREP+set}" = set; then
17931 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 # Extract the first word of "grep ggrep" to use in msg output
17934 if test -z "$GREP"; then
17935 set dummy grep ggrep; ac_prog_name=$2
17936 if test "${ac_cv_path_GREP+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17939 ac_path_GREP_found=false
17940 # Loop through the user's path and test for each of PROGNAME-LIST
17941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17942 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17945 test -z "$as_dir" && as_dir=.
17946 for ac_prog in grep ggrep; do
17947 for ac_exec_ext in '' $ac_executable_extensions; do
17948 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17949 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17950 # Check for GNU ac_path_GREP and select it if it is found.
17951 # Check for GNU $ac_path_GREP
17952 case `"$ac_path_GREP" --version 2>&1` in
17954 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17957 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17960 cat "conftest.in" "conftest.in" >"conftest.tmp"
17961 mv "conftest.tmp" "conftest.in"
17962 cp "conftest.in" "conftest.nl"
17963 echo 'GREP' >> "conftest.nl"
17964 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17965 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17966 ac_count=`expr $ac_count + 1`
17967 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17968 # Best one so far, save it but keep looking for a better one
17969 ac_cv_path_GREP="$ac_path_GREP"
17970 ac_path_GREP_max=$ac_count
17972 # 10*(2^10) chars as input seems more than enough
17973 test $ac_count -gt 10 && break
17975 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17979 $ac_path_GREP_found && break 3
17989 GREP="$ac_cv_path_GREP"
17990 if test -z "$GREP"; then
17991 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17992 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17993 { (exit 1); exit 1; }; }
17997 ac_cv_path_GREP=$GREP
18002 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18003 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18004 GREP="$ac_cv_path_GREP"
18007 { echo "$as_me:$LINENO: checking for egrep" >&5
18008 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18009 if test "${ac_cv_path_EGREP+set}" = set; then
18010 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18013 then ac_cv_path_EGREP="$GREP -E"
18015 # Extract the first word of "egrep" to use in msg output
18016 if test -z "$EGREP"; then
18017 set dummy egrep; ac_prog_name=$2
18018 if test "${ac_cv_path_EGREP+set}" = set; then
18019 echo $ECHO_N "(cached) $ECHO_C" >&6
18021 ac_path_EGREP_found=false
18022 # Loop through the user's path and test for each of PROGNAME-LIST
18023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18024 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18027 test -z "$as_dir" && as_dir=.
18028 for ac_prog in egrep; do
18029 for ac_exec_ext in '' $ac_executable_extensions; do
18030 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18031 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18032 # Check for GNU ac_path_EGREP and select it if it is found.
18033 # Check for GNU $ac_path_EGREP
18034 case `"$ac_path_EGREP" --version 2>&1` in
18036 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18039 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18042 cat "conftest.in" "conftest.in" >"conftest.tmp"
18043 mv "conftest.tmp" "conftest.in"
18044 cp "conftest.in" "conftest.nl"
18045 echo 'EGREP' >> "conftest.nl"
18046 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18047 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18048 ac_count=`expr $ac_count + 1`
18049 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18050 # Best one so far, save it but keep looking for a better one
18051 ac_cv_path_EGREP="$ac_path_EGREP"
18052 ac_path_EGREP_max=$ac_count
18054 # 10*(2^10) chars as input seems more than enough
18055 test $ac_count -gt 10 && break
18057 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18061 $ac_path_EGREP_found && break 3
18071 EGREP="$ac_cv_path_EGREP"
18072 if test -z "$EGREP"; then
18073 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18074 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18075 { (exit 1); exit 1; }; }
18079 ac_cv_path_EGREP=$EGREP
18085 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18086 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18087 EGREP="$ac_cv_path_EGREP"
18090 if test $ac_cv_c_compiler_gnu = yes; then
18091 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18092 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18093 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 ac_pattern="Autoconf.*'x'"
18097 cat >conftest.$ac_ext <<_ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18107 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18108 ac_cv_prog_gcc_traditional=yes
18110 ac_cv_prog_gcc_traditional=no
18115 if test $ac_cv_prog_gcc_traditional = no; then
18116 cat >conftest.$ac_ext <<_ACEOF
18119 cat confdefs.h >>conftest.$ac_ext
18120 cat >>conftest.$ac_ext <<_ACEOF
18121 /* end confdefs.h. */
18122 #include <termio.h>
18125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18126 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18127 ac_cv_prog_gcc_traditional=yes
18133 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18134 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18135 if test $ac_cv_prog_gcc_traditional = yes; then
18136 CC="$CC -traditional"
18141 CXXFLAGS=${CXXFLAGS:=}
18146 ac_cpp='$CXXCPP $CPPFLAGS'
18147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18150 if test -z "$CXX"; then
18151 if test -n "$CCC"; then
18154 if test -n "$ac_tool_prefix"; then
18155 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18157 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18158 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18161 if test "${ac_cv_prog_CXX+set}" = set; then
18162 echo $ECHO_N "(cached) $ECHO_C" >&6
18164 if test -n "$CXX"; then
18165 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18168 for as_dir in $PATH
18171 test -z "$as_dir" && as_dir=.
18172 for ac_exec_ext in '' $ac_executable_extensions; do
18173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18174 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18184 CXX=$ac_cv_prog_CXX
18185 if test -n "$CXX"; then
18186 { echo "$as_me:$LINENO: result: $CXX" >&5
18187 echo "${ECHO_T}$CXX" >&6; }
18189 { echo "$as_me:$LINENO: result: no" >&5
18190 echo "${ECHO_T}no" >&6; }
18194 test -n "$CXX" && break
18197 if test -z "$CXX"; then
18199 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18201 # Extract the first word of "$ac_prog", so it can be a program name with args.
18202 set dummy $ac_prog; ac_word=$2
18203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18205 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18206 echo $ECHO_N "(cached) $ECHO_C" >&6
18208 if test -n "$ac_ct_CXX"; then
18209 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18212 for as_dir in $PATH
18215 test -z "$as_dir" && as_dir=.
18216 for ac_exec_ext in '' $ac_executable_extensions; do
18217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18218 ac_cv_prog_ac_ct_CXX="$ac_prog"
18219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18228 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18229 if test -n "$ac_ct_CXX"; then
18230 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18231 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18233 { echo "$as_me:$LINENO: result: no" >&5
18234 echo "${ECHO_T}no" >&6; }
18238 test -n "$ac_ct_CXX" && break
18241 if test "x$ac_ct_CXX" = x; then
18244 case $cross_compiling:$ac_tool_warned in
18246 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18247 whose name does not start with the host triplet. If you think this
18248 configuration is useful to you, please write to autoconf@gnu.org." >&5
18249 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18250 whose name does not start with the host triplet. If you think this
18251 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18252 ac_tool_warned=yes ;;
18260 # Provide some information about the compiler.
18261 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18262 ac_compiler=`set X $ac_compile; echo $2`
18263 { (ac_try="$ac_compiler --version >&5"
18264 case "(($ac_try" in
18265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18266 *) ac_try_echo=$ac_try;;
18268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18269 (eval "$ac_compiler --version >&5") 2>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }
18273 { (ac_try="$ac_compiler -v >&5"
18274 case "(($ac_try" in
18275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18276 *) ac_try_echo=$ac_try;;
18278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18279 (eval "$ac_compiler -v >&5") 2>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }
18283 { (ac_try="$ac_compiler -V >&5"
18284 case "(($ac_try" in
18285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18286 *) ac_try_echo=$ac_try;;
18288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18289 (eval "$ac_compiler -V >&5") 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }
18294 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18295 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18296 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 cat >conftest.$ac_ext <<_ACEOF
18302 cat confdefs.h >>conftest.$ac_ext
18303 cat >>conftest.$ac_ext <<_ACEOF
18304 /* end confdefs.h. */
18317 rm -f conftest.$ac_objext
18318 if { (ac_try="$ac_compile"
18319 case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_compile") 2>conftest.er1
18326 grep -v '^ *+' conftest.er1 >conftest.err
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_cxx_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest.$ac_objext; then
18334 ac_compiler_gnu=yes
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.$ac_ext >&5
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18346 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18347 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18348 GXX=`test $ac_compiler_gnu = yes && echo yes`
18349 ac_test_CXXFLAGS=${CXXFLAGS+set}
18350 ac_save_CXXFLAGS=$CXXFLAGS
18351 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18352 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18353 if test "${ac_cv_prog_cxx_g+set}" = set; then
18354 echo $ECHO_N "(cached) $ECHO_C" >&6
18356 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18357 ac_cxx_werror_flag=yes
18358 ac_cv_prog_cxx_g=no
18360 cat >conftest.$ac_ext <<_ACEOF
18363 cat confdefs.h >>conftest.$ac_ext
18364 cat >>conftest.$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18375 rm -f conftest.$ac_objext
18376 if { (ac_try="$ac_compile"
18377 case "(($ac_try" in
18378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18379 *) ac_try_echo=$ac_try;;
18381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18382 (eval "$ac_compile") 2>conftest.er1
18384 grep -v '^ *+' conftest.er1 >conftest.err
18386 cat conftest.err >&5
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); } && {
18389 test -z "$ac_cxx_werror_flag" ||
18390 test ! -s conftest.err
18391 } && test -s conftest.$ac_objext; then
18392 ac_cv_prog_cxx_g=yes
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18398 cat >conftest.$ac_ext <<_ACEOF
18401 cat confdefs.h >>conftest.$ac_ext
18402 cat >>conftest.$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18413 rm -f conftest.$ac_objext
18414 if { (ac_try="$ac_compile"
18415 case "(($ac_try" in
18416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417 *) ac_try_echo=$ac_try;;
18419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18420 (eval "$ac_compile") 2>conftest.er1
18422 grep -v '^ *+' conftest.er1 >conftest.err
18424 cat conftest.err >&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } && {
18427 test -z "$ac_cxx_werror_flag" ||
18428 test ! -s conftest.err
18429 } && test -s conftest.$ac_objext; then
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18435 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18437 cat >conftest.$ac_ext <<_ACEOF
18440 cat confdefs.h >>conftest.$ac_ext
18441 cat >>conftest.$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18452 rm -f conftest.$ac_objext
18453 if { (ac_try="$ac_compile"
18454 case "(($ac_try" in
18455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_compile") 2>conftest.er1
18461 grep -v '^ *+' conftest.er1 >conftest.err
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } && {
18466 test -z "$ac_cxx_werror_flag" ||
18467 test ! -s conftest.err
18468 } && test -s conftest.$ac_objext; then
18469 ac_cv_prog_cxx_g=yes
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18484 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18486 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18487 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18488 if test "$ac_test_CXXFLAGS" = set; then
18489 CXXFLAGS=$ac_save_CXXFLAGS
18490 elif test $ac_cv_prog_cxx_g = yes; then
18491 if test "$GXX" = yes; then
18497 if test "$GXX" = yes; then
18504 ac_cpp='$CPP $CPPFLAGS'
18505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18513 ac_cpp='$CXXCPP $CPPFLAGS'
18514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18518 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18519 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18520 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18523 cat >conftest.$ac_ext <<_ACEOF
18526 cat confdefs.h >>conftest.$ac_ext
18527 cat >>conftest.$ac_ext <<_ACEOF
18528 /* end confdefs.h. */
18534 #ifndef __INTEL_COMPILER
18542 rm -f conftest.$ac_objext
18543 if { (ac_try="$ac_compile"
18544 case "(($ac_try" in
18545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18546 *) ac_try_echo=$ac_try;;
18548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18549 (eval "$ac_compile") 2>conftest.er1
18551 grep -v '^ *+' conftest.er1 >conftest.err
18553 cat conftest.err >&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); } && {
18556 test -z "$ac_cxx_werror_flag" ||
18557 test ! -s conftest.err
18558 } && test -s conftest.$ac_objext; then
18559 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.$ac_ext >&5
18564 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18572 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18573 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18574 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18580 ac_cpp='$CPP $CPPFLAGS'
18581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18588 if test "x$GCXX" != "xyes"; then
18589 if test "xCXX" = "xC"; then
18590 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18591 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18592 if test "${bakefile_cv_c_exto+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18595 cat >conftest.$ac_ext <<_ACEOF
18598 cat confdefs.h >>conftest.$ac_ext
18599 cat >>conftest.$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18610 rm -f conftest.$ac_objext conftest.$ac_ext.o
18611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18612 (eval $ac_compile) 2>&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); }; then
18616 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18618 conftest.$ac_ext.o)
18619 bakefile_cv_c_exto="-ext o"
18626 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18627 See \`config.log' for more details." >&5
18628 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18629 See \`config.log' for more details." >&2;}
18630 { (exit 1); exit 1; }; }
18634 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18637 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18638 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18639 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18640 if test "c" = "c"; then
18641 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18643 if test "c" = "cxx"; then
18644 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18648 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18649 unset ac_cv_prog_cc_g
18650 ac_test_CFLAGS=${CFLAGS+set}
18651 ac_save_CFLAGS=$CFLAGS
18652 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18653 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18654 if test "${ac_cv_prog_cc_g+set}" = set; then
18655 echo $ECHO_N "(cached) $ECHO_C" >&6
18657 ac_save_c_werror_flag=$ac_c_werror_flag
18658 ac_c_werror_flag=yes
18661 cat >conftest.$ac_ext <<_ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18676 rm -f conftest.$ac_objext
18677 if { (ac_try="$ac_compile"
18678 case "(($ac_try" in
18679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18680 *) ac_try_echo=$ac_try;;
18682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18683 (eval "$ac_compile") 2>conftest.er1
18685 grep -v '^ *+' conftest.er1 >conftest.err
18687 cat conftest.err >&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); } && {
18690 test -z "$ac_c_werror_flag" ||
18691 test ! -s conftest.err
18692 } && test -s conftest.$ac_objext; then
18693 ac_cv_prog_cc_g=yes
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.$ac_ext >&5
18699 cat >conftest.$ac_ext <<_ACEOF
18702 cat confdefs.h >>conftest.$ac_ext
18703 cat >>conftest.$ac_ext <<_ACEOF
18704 /* end confdefs.h. */
18714 rm -f conftest.$ac_objext
18715 if { (ac_try="$ac_compile"
18716 case "(($ac_try" in
18717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18718 *) ac_try_echo=$ac_try;;
18720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18721 (eval "$ac_compile") 2>conftest.er1
18723 grep -v '^ *+' conftest.er1 >conftest.err
18725 cat conftest.err >&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); } && {
18728 test -z "$ac_c_werror_flag" ||
18729 test ! -s conftest.err
18730 } && test -s conftest.$ac_objext; then
18733 echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18736 ac_c_werror_flag=$ac_save_c_werror_flag
18738 cat >conftest.$ac_ext <<_ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18753 rm -f conftest.$ac_objext
18754 if { (ac_try="$ac_compile"
18755 case "(($ac_try" in
18756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18757 *) ac_try_echo=$ac_try;;
18759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18760 (eval "$ac_compile") 2>conftest.er1
18762 grep -v '^ *+' conftest.er1 >conftest.err
18764 cat conftest.err >&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } && {
18767 test -z "$ac_c_werror_flag" ||
18768 test ! -s conftest.err
18769 } && test -s conftest.$ac_objext; then
18770 ac_cv_prog_cc_g=yes
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.$ac_ext >&5
18778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18785 ac_c_werror_flag=$ac_save_c_werror_flag
18787 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18788 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18789 if test "$ac_test_CFLAGS" = set; then
18790 CFLAGS=$ac_save_CFLAGS
18791 elif test $ac_cv_prog_cc_g = yes; then
18792 if test "$GCC" = yes; then
18798 if test "$GCC" = yes; then
18812 ac_cpp='$CXXCPP $CPPFLAGS'
18813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18817 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18818 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18819 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18820 echo $ECHO_N "(cached) $ECHO_C" >&6
18822 cat >conftest.$ac_ext <<_ACEOF
18825 cat confdefs.h >>conftest.$ac_ext
18826 cat >>conftest.$ac_ext <<_ACEOF
18827 /* end confdefs.h. */
18841 rm -f conftest.$ac_objext
18842 if { (ac_try="$ac_compile"
18843 case "(($ac_try" in
18844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18845 *) ac_try_echo=$ac_try;;
18847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18848 (eval "$ac_compile") 2>conftest.er1
18850 grep -v '^ *+' conftest.er1 >conftest.err
18852 cat conftest.err >&5
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); } && {
18855 test -z "$ac_cxx_werror_flag" ||
18856 test ! -s conftest.err
18857 } && test -s conftest.$ac_objext; then
18858 bakefile_cv_cxx_compiler___xlC__=yes
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.$ac_ext >&5
18863 bakefile_cv_cxx_compiler___xlC__=no
18867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18872 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18873 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18879 ac_cpp='$CPP $CPPFLAGS'
18880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18892 ac_cpp='$CXXCPP $CPPFLAGS'
18893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18897 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18898 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18899 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 cat >conftest.$ac_ext <<_ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18921 rm -f conftest.$ac_objext
18922 if { (ac_try="$ac_compile"
18923 case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_compile") 2>conftest.er1
18930 grep -v '^ *+' conftest.er1 >conftest.err
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } && {
18935 test -z "$ac_cxx_werror_flag" ||
18936 test ! -s conftest.err
18937 } && test -s conftest.$ac_objext; then
18938 bakefile_cv_cxx_compiler___MWERKS__=yes
18940 echo "$as_me: failed program was:" >&5
18941 sed 's/^/| /' conftest.$ac_ext >&5
18943 bakefile_cv_cxx_compiler___MWERKS__=no
18947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18951 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18952 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18953 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18959 ac_cpp='$CPP $CPPFLAGS'
18960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18969 ac_cpp='$CXXCPP $CPPFLAGS'
18970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18974 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18975 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18976 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18977 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 cat >conftest.$ac_ext <<_ACEOF
18982 cat confdefs.h >>conftest.$ac_ext
18983 cat >>conftest.$ac_ext <<_ACEOF
18984 /* end confdefs.h. */
18998 rm -f conftest.$ac_objext
18999 if { (ac_try="$ac_compile"
19000 case "(($ac_try" in
19001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19002 *) ac_try_echo=$ac_try;;
19004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19005 (eval "$ac_compile") 2>conftest.er1
19007 grep -v '^ *+' conftest.er1 >conftest.err
19009 cat conftest.err >&5
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); } && {
19012 test -z "$ac_cxx_werror_flag" ||
19013 test ! -s conftest.err
19014 } && test -s conftest.$ac_objext; then
19015 bakefile_cv_cxx_compiler___xlC__=yes
19017 echo "$as_me: failed program was:" >&5
19018 sed 's/^/| /' conftest.$ac_ext >&5
19020 bakefile_cv_cxx_compiler___xlC__=no
19024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19028 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19029 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19030 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19036 ac_cpp='$CPP $CPPFLAGS'
19037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19049 ac_cpp='$CXXCPP $CPPFLAGS'
19050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19054 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19055 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19056 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19057 echo $ECHO_N "(cached) $ECHO_C" >&6
19059 cat >conftest.$ac_ext <<_ACEOF
19062 cat confdefs.h >>conftest.$ac_ext
19063 cat >>conftest.$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19070 #ifndef _SGI_COMPILER_VERSION
19078 rm -f conftest.$ac_objext
19079 if { (ac_try="$ac_compile"
19080 case "(($ac_try" in
19081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19082 *) ac_try_echo=$ac_try;;
19084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19085 (eval "$ac_compile") 2>conftest.er1
19087 grep -v '^ *+' conftest.er1 >conftest.err
19089 cat conftest.err >&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } && {
19092 test -z "$ac_cxx_werror_flag" ||
19093 test ! -s conftest.err
19094 } && test -s conftest.$ac_objext; then
19095 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19100 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19108 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19109 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19110 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19116 ac_cpp='$CPP $CPPFLAGS'
19117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19119 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 Sun C++ compiler" >&5
19135 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19136 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+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. */
19150 #ifndef __SUNPRO_CC
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___SUNPRO_CC=yes
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19180 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19188 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19189 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19190 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "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 HP C++ compiler" >&5
19215 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19216 if test "${bakefile_cv_cxx_compiler___HP_aCC+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. */
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___HP_aCC=yes
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19260 bakefile_cv_cxx_compiler___HP_aCC=no
19264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19269 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19270 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "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 Compaq C++ compiler" >&5
19295 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19296 if test "${bakefile_cv_cxx_compiler___DECCXX+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. */
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___DECCXX=yes
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19340 bakefile_cv_cxx_compiler___DECCXX=no
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19349 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19350 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "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 Sun C++ compiler" >&5
19375 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19376 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+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. */
19390 #ifndef __SUNPRO_CC
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___SUNPRO_CC=yes
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19420 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19428 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19429 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19430 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "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 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19450 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19451 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19452 { (exit 1); exit 1; }; }
19455 if test -n "$ac_tool_prefix"; then
19456 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19457 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19460 if test "${ac_cv_prog_RANLIB+set}" = set; then
19461 echo $ECHO_N "(cached) $ECHO_C" >&6
19463 if test -n "$RANLIB"; then
19464 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19467 for as_dir in $PATH
19470 test -z "$as_dir" && as_dir=.
19471 for ac_exec_ext in '' $ac_executable_extensions; do
19472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19473 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19483 RANLIB=$ac_cv_prog_RANLIB
19484 if test -n "$RANLIB"; then
19485 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19486 echo "${ECHO_T}$RANLIB" >&6; }
19488 { echo "$as_me:$LINENO: result: no" >&5
19489 echo "${ECHO_T}no" >&6; }
19494 if test -z "$ac_cv_prog_RANLIB"; then
19495 ac_ct_RANLIB=$RANLIB
19496 # Extract the first word of "ranlib", so it can be a program name with args.
19497 set dummy ranlib; ac_word=$2
19498 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19500 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19501 echo $ECHO_N "(cached) $ECHO_C" >&6
19503 if test -n "$ac_ct_RANLIB"; then
19504 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19507 for as_dir in $PATH
19510 test -z "$as_dir" && as_dir=.
19511 for ac_exec_ext in '' $ac_executable_extensions; do
19512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19513 ac_cv_prog_ac_ct_RANLIB="ranlib"
19514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19523 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19524 if test -n "$ac_ct_RANLIB"; then
19525 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19526 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19528 { echo "$as_me:$LINENO: result: no" >&5
19529 echo "${ECHO_T}no" >&6; }
19532 if test "x$ac_ct_RANLIB" = x; then
19535 case $cross_compiling:$ac_tool_warned in
19537 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19538 whose name does not start with the host triplet. If you think this
19539 configuration is useful to you, please write to autoconf@gnu.org." >&5
19540 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19541 whose name does not start with the host triplet. If you think this
19542 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19543 ac_tool_warned=yes ;;
19545 RANLIB=$ac_ct_RANLIB
19548 RANLIB="$ac_cv_prog_RANLIB"
19552 if test "x$SUNCXX" != xyes; then
19553 if test -n "$ac_tool_prefix"; then
19554 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19555 set dummy ${ac_tool_prefix}ar; ac_word=$2
19556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19558 if test "${ac_cv_prog_AR+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 if test -n "$AR"; then
19562 ac_cv_prog_AR="$AR" # Let the user override the test.
19564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19565 for as_dir in $PATH
19568 test -z "$as_dir" && as_dir=.
19569 for ac_exec_ext in '' $ac_executable_extensions; do
19570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19571 ac_cv_prog_AR="${ac_tool_prefix}ar"
19572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19582 if test -n "$AR"; then
19583 { echo "$as_me:$LINENO: result: $AR" >&5
19584 echo "${ECHO_T}$AR" >&6; }
19586 { echo "$as_me:$LINENO: result: no" >&5
19587 echo "${ECHO_T}no" >&6; }
19592 if test -z "$ac_cv_prog_AR"; then
19594 # Extract the first word of "ar", so it can be a program name with args.
19595 set dummy ar; ac_word=$2
19596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19598 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19599 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 if test -n "$ac_ct_AR"; then
19602 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19605 for as_dir in $PATH
19608 test -z "$as_dir" && as_dir=.
19609 for ac_exec_ext in '' $ac_executable_extensions; do
19610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19611 ac_cv_prog_ac_ct_AR="ar"
19612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19621 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19622 if test -n "$ac_ct_AR"; then
19623 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19624 echo "${ECHO_T}$ac_ct_AR" >&6; }
19626 { echo "$as_me:$LINENO: result: no" >&5
19627 echo "${ECHO_T}no" >&6; }
19630 if test "x$ac_ct_AR" = x; then
19633 case $cross_compiling:$ac_tool_warned in
19635 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19636 whose name does not start with the host triplet. If you think this
19637 configuration is useful to you, please write to autoconf@gnu.org." >&5
19638 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19639 whose name does not start with the host triplet. If you think this
19640 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19641 ac_tool_warned=yes ;;
19646 AR="$ac_cv_prog_AR"
19649 if test "x$AR" = "x" ; then
19650 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19651 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19652 { (exit 1); exit 1; }; }
19656 # Find a good install program. We prefer a C program (faster),
19657 # so one script is as good as another. But avoid the broken or
19658 # incompatible versions:
19659 # SysV /etc/install, /usr/sbin/install
19660 # SunOS /usr/etc/install
19661 # IRIX /sbin/install
19663 # AmigaOS /C/install, which installs bootblocks on floppy discs
19664 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19665 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19666 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19667 # OS/2's system install, which has a completely different semantic
19668 # ./install, which can be erroneously created by make from ./install.sh.
19669 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19670 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19671 if test -z "$INSTALL"; then
19672 if test "${ac_cv_path_install+set}" = set; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19676 for as_dir in $PATH
19679 test -z "$as_dir" && as_dir=.
19680 # Account for people who put trailing slashes in PATH elements.
19682 ./ | .// | /cC/* | \
19683 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19684 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19687 # OSF1 and SCO ODT 3.0 have their own names for install.
19688 # Don't use installbsd from OSF since it installs stuff as root
19690 for ac_prog in ginstall scoinst install; do
19691 for ac_exec_ext in '' $ac_executable_extensions; do
19692 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19693 if test $ac_prog = install &&
19694 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19695 # AIX install. It has an incompatible calling convention.
19697 elif test $ac_prog = install &&
19698 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19699 # program-specific install script used by HP pwplus--don't use.
19702 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19715 if test "${ac_cv_path_install+set}" = set; then
19716 INSTALL=$ac_cv_path_install
19718 # As a last resort, use the slow shell script. Don't cache a
19719 # value for INSTALL within a source directory, because that will
19720 # break other packages using the cache if that directory is
19721 # removed, or if the value is a relative name.
19722 INSTALL=$ac_install_sh
19725 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19726 echo "${ECHO_T}$INSTALL" >&6; }
19728 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19729 # It thinks the first close brace ends the variable substitution.
19730 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19732 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19734 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19740 ?:* ) # Drive letter, considered as absolute.
19743 INSTALL=`pwd`/${INSTALL} ;;
19750 INSTALL_PROGRAM="cp -fp"
19751 INSTALL_DATA="cp -fp"
19757 if test -n "$ac_tool_prefix"; then
19758 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19759 set dummy ${ac_tool_prefix}strip; ac_word=$2
19760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19762 if test "${ac_cv_prog_STRIP+set}" = set; then
19763 echo $ECHO_N "(cached) $ECHO_C" >&6
19765 if test -n "$STRIP"; then
19766 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19769 for as_dir in $PATH
19772 test -z "$as_dir" && as_dir=.
19773 for ac_exec_ext in '' $ac_executable_extensions; do
19774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19775 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19785 STRIP=$ac_cv_prog_STRIP
19786 if test -n "$STRIP"; then
19787 { echo "$as_me:$LINENO: result: $STRIP" >&5
19788 echo "${ECHO_T}$STRIP" >&6; }
19790 { echo "$as_me:$LINENO: result: no" >&5
19791 echo "${ECHO_T}no" >&6; }
19796 if test -z "$ac_cv_prog_STRIP"; then
19798 # Extract the first word of "strip", so it can be a program name with args.
19799 set dummy strip; ac_word=$2
19800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19802 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19803 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 if test -n "$ac_ct_STRIP"; then
19806 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19809 for as_dir in $PATH
19812 test -z "$as_dir" && as_dir=.
19813 for ac_exec_ext in '' $ac_executable_extensions; do
19814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19815 ac_cv_prog_ac_ct_STRIP="strip"
19816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19825 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19826 if test -n "$ac_ct_STRIP"; then
19827 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19828 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19830 { echo "$as_me:$LINENO: result: no" >&5
19831 echo "${ECHO_T}no" >&6; }
19834 if test "x$ac_ct_STRIP" = x; then
19837 case $cross_compiling:$ac_tool_warned in
19839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19840 whose name does not start with the host triplet. If you think this
19841 configuration is useful to you, please write to autoconf@gnu.org." >&5
19842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19843 whose name does not start with the host triplet. If you think this
19844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19845 ac_tool_warned=yes ;;
19850 STRIP="$ac_cv_prog_STRIP"
19854 if test "$wxUSE_WINE" = "yes"; then
19855 if test -n "$ac_tool_prefix"; then
19856 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19857 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19860 if test "${ac_cv_prog_WINDRES+set}" = set; then
19861 echo $ECHO_N "(cached) $ECHO_C" >&6
19863 if test -n "$WINDRES"; then
19864 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19867 for as_dir in $PATH
19870 test -z "$as_dir" && as_dir=.
19871 for ac_exec_ext in '' $ac_executable_extensions; do
19872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19873 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19883 WINDRES=$ac_cv_prog_WINDRES
19884 if test -n "$WINDRES"; then
19885 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19886 echo "${ECHO_T}$WINDRES" >&6; }
19888 { echo "$as_me:$LINENO: result: no" >&5
19889 echo "${ECHO_T}no" >&6; }
19894 if test -z "$ac_cv_prog_WINDRES"; then
19895 ac_ct_WINDRES=$WINDRES
19896 # Extract the first word of "wrc", so it can be a program name with args.
19897 set dummy wrc; ac_word=$2
19898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19900 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19901 echo $ECHO_N "(cached) $ECHO_C" >&6
19903 if test -n "$ac_ct_WINDRES"; then
19904 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19907 for as_dir in $PATH
19910 test -z "$as_dir" && as_dir=.
19911 for ac_exec_ext in '' $ac_executable_extensions; do
19912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19913 ac_cv_prog_ac_ct_WINDRES="wrc"
19914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19923 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19924 if test -n "$ac_ct_WINDRES"; then
19925 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19926 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19928 { echo "$as_me:$LINENO: result: no" >&5
19929 echo "${ECHO_T}no" >&6; }
19932 if test "x$ac_ct_WINDRES" = x; then
19935 case $cross_compiling:$ac_tool_warned in
19937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19938 whose name does not start with the host triplet. If you think this
19939 configuration is useful to you, please write to autoconf@gnu.org." >&5
19940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19941 whose name does not start with the host triplet. If you think this
19942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19943 ac_tool_warned=yes ;;
19945 WINDRES=$ac_ct_WINDRES
19948 WINDRES="$ac_cv_prog_WINDRES"
19954 *-*-cygwin* | *-*-mingw32* )
19955 if test -n "$ac_tool_prefix"; then
19956 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19957 set dummy ${ac_tool_prefix}windres; ac_word=$2
19958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19960 if test "${ac_cv_prog_WINDRES+set}" = set; then
19961 echo $ECHO_N "(cached) $ECHO_C" >&6
19963 if test -n "$WINDRES"; then
19964 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19967 for as_dir in $PATH
19970 test -z "$as_dir" && as_dir=.
19971 for ac_exec_ext in '' $ac_executable_extensions; do
19972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19973 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19983 WINDRES=$ac_cv_prog_WINDRES
19984 if test -n "$WINDRES"; then
19985 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19986 echo "${ECHO_T}$WINDRES" >&6; }
19988 { echo "$as_me:$LINENO: result: no" >&5
19989 echo "${ECHO_T}no" >&6; }
19994 if test -z "$ac_cv_prog_WINDRES"; then
19995 ac_ct_WINDRES=$WINDRES
19996 # Extract the first word of "windres", so it can be a program name with args.
19997 set dummy windres; ac_word=$2
19998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20000 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 if test -n "$ac_ct_WINDRES"; then
20004 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20007 for as_dir in $PATH
20010 test -z "$as_dir" && as_dir=.
20011 for ac_exec_ext in '' $ac_executable_extensions; do
20012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20013 ac_cv_prog_ac_ct_WINDRES="windres"
20014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20023 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20024 if test -n "$ac_ct_WINDRES"; then
20025 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20026 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20028 { echo "$as_me:$LINENO: result: no" >&5
20029 echo "${ECHO_T}no" >&6; }
20032 if test "x$ac_ct_WINDRES" = x; then
20035 case $cross_compiling:$ac_tool_warned in
20037 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20038 whose name does not start with the host triplet. If you think this
20039 configuration is useful to you, please write to autoconf@gnu.org." >&5
20040 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20041 whose name does not start with the host triplet. If you think this
20042 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20043 ac_tool_warned=yes ;;
20045 WINDRES=$ac_ct_WINDRES
20048 WINDRES="$ac_cv_prog_WINDRES"
20052 if test -n "$ac_tool_prefix"; then
20053 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20054 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20057 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20058 echo $ECHO_N "(cached) $ECHO_C" >&6
20060 if test -n "$DLLTOOL"; then
20061 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20064 for as_dir in $PATH
20067 test -z "$as_dir" && as_dir=.
20068 for ac_exec_ext in '' $ac_executable_extensions; do
20069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20070 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20080 DLLTOOL=$ac_cv_prog_DLLTOOL
20081 if test -n "$DLLTOOL"; then
20082 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20083 echo "${ECHO_T}$DLLTOOL" >&6; }
20085 { echo "$as_me:$LINENO: result: no" >&5
20086 echo "${ECHO_T}no" >&6; }
20091 if test -z "$ac_cv_prog_DLLTOOL"; then
20092 ac_ct_DLLTOOL=$DLLTOOL
20093 # Extract the first word of "dlltool", so it can be a program name with args.
20094 set dummy dlltool; ac_word=$2
20095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20097 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20098 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 if test -n "$ac_ct_DLLTOOL"; then
20101 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20104 for as_dir in $PATH
20107 test -z "$as_dir" && as_dir=.
20108 for ac_exec_ext in '' $ac_executable_extensions; do
20109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20110 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20120 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20121 if test -n "$ac_ct_DLLTOOL"; then
20122 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20123 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20125 { echo "$as_me:$LINENO: result: no" >&5
20126 echo "${ECHO_T}no" >&6; }
20129 if test "x$ac_ct_DLLTOOL" = x; then
20132 case $cross_compiling:$ac_tool_warned in
20134 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20135 whose name does not start with the host triplet. If you think this
20136 configuration is useful to you, please write to autoconf@gnu.org." >&5
20137 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20138 whose name does not start with the host triplet. If you think this
20139 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20140 ac_tool_warned=yes ;;
20142 DLLTOOL=$ac_ct_DLLTOOL
20145 DLLTOOL="$ac_cv_prog_DLLTOOL"
20152 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20153 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20154 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20155 echo $ECHO_N "(cached) $ECHO_C" >&6
20158 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20159 $EGREP -s GNU > /dev/null); then
20160 wx_cv_prog_makeisgnu="yes"
20162 wx_cv_prog_makeisgnu="no"
20166 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20167 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20169 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20177 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20178 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20179 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20180 if test "${wx_cv_prog_makevpath+set}" = set; then
20181 echo $ECHO_N "(cached) $ECHO_C" >&6
20184 cat - << EOF > confMake
20190 if test ! -d sub ; then
20193 echo dummy > sub/file
20194 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20196 rm -f sub/file check final_file confMake
20198 if test "$RESULT" = 0; then
20199 wx_cv_prog_makevpath="yes"
20201 wx_cv_prog_makevpath="no"
20205 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20206 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20208 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20209 { { echo "$as_me:$LINENO: error:
20210 You need a make-utility that is able to use the variable
20212 If your version of make does not support VPATH correctly,
20213 please install GNU-make (possibly as gmake), and start
20214 configure with the following command:
20215 export MAKE=gmake; ./configure for sh-type shells
20216 setenv MAKE gmake; ./configure for csh-type shells
20217 Also please do remember to use gmake in this case every time
20218 you are trying to compile.
20220 echo "$as_me: error:
20221 You need a make-utility that is able to use the variable
20223 If your version of make does not support VPATH correctly,
20224 please install GNU-make (possibly as gmake), and start
20225 configure with the following command:
20226 export MAKE=gmake; ./configure for sh-type shells
20227 setenv MAKE gmake; ./configure for csh-type shells
20228 Also please do remember to use gmake in this case every time
20229 you are trying to compile.
20231 { (exit 1); exit 1; }; }
20233 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20234 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20236 if test "$LN_S" = "ln -s"; then
20237 { echo "$as_me:$LINENO: result: yes" >&5
20238 echo "${ECHO_T}yes" >&6; }
20240 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20241 echo "${ECHO_T}no, using $LN_S" >&6; }
20247 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20248 CXXFLAGS="-qunique $CXXFLAGS"
20252 powerpc-*-darwin* )
20253 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20254 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20255 cat >conftest.$ac_ext <<_ACEOF
20258 cat confdefs.h >>conftest.$ac_ext
20259 cat >>conftest.$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20265 #ifndef __POWERPC__
20266 choke me for lack of PowerPC
20273 rm -f conftest.$ac_objext
20274 if { (ac_try="$ac_compile"
20275 case "(($ac_try" in
20276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20277 *) ac_try_echo=$ac_try;;
20279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20280 (eval "$ac_compile") 2>conftest.er1
20282 grep -v '^ *+' conftest.er1 >conftest.err
20284 cat conftest.err >&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } && {
20287 test -z "$ac_c_werror_flag" ||
20288 test ! -s conftest.err
20289 } && test -s conftest.$ac_objext; then
20290 { echo "$as_me:$LINENO: result: yes" >&5
20291 echo "${ECHO_T}yes" >&6; }
20293 echo "$as_me: failed program was:" >&5
20294 sed 's/^/| /' conftest.$ac_ext >&5
20296 { echo "$as_me:$LINENO: result: no" >&5
20297 echo "${ECHO_T}no" >&6; }
20298 cat >>confdefs.h <<\_ACEOF
20299 #define __POWERPC__ 1
20305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20311 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20312 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20313 cat >conftest.$ac_ext <<_ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 #include <CoreFoundation/CFBase.h>
20329 rm -f conftest.$ac_objext
20330 if { (ac_try="$ac_compile"
20331 case "(($ac_try" in
20332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20333 *) ac_try_echo=$ac_try;;
20335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20336 (eval "$ac_compile") 2>conftest.er1
20338 grep -v '^ *+' conftest.er1 >conftest.err
20340 cat conftest.err >&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } && {
20343 test -z "$ac_c_werror_flag" ||
20344 test ! -s conftest.err
20345 } && test -s conftest.$ac_objext; then
20346 { echo "$as_me:$LINENO: result: yes" >&5
20347 echo "${ECHO_T}yes" >&6; }
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.$ac_ext >&5
20352 { echo "$as_me:$LINENO: result: no" >&5
20353 echo "${ECHO_T}no" >&6; }
20354 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20355 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20356 cat >conftest.$ac_ext <<_ACEOF
20359 cat confdefs.h >>conftest.$ac_ext
20360 cat >>conftest.$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20362 #define __CF_USE_FRAMEWORK_INCLUDES__
20363 #include <CoreFoundation/CFBase.h>
20373 rm -f conftest.$ac_objext
20374 if { (ac_try="$ac_compile"
20375 case "(($ac_try" in
20376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20377 *) ac_try_echo=$ac_try;;
20379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20380 (eval "$ac_compile") 2>conftest.er1
20382 grep -v '^ *+' conftest.er1 >conftest.err
20384 cat conftest.err >&5
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); } && {
20387 test -z "$ac_c_werror_flag" ||
20388 test ! -s conftest.err
20389 } && test -s conftest.$ac_objext; then
20390 { echo "$as_me:$LINENO: result: yes" >&5
20391 echo "${ECHO_T}yes" >&6; }
20392 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20397 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20398 See \`config.log' for more details." >&5
20399 echo "$as_me: error: no. CoreFoundation not available.
20400 See \`config.log' for more details." >&2;}
20401 { (exit 1); exit 1; }; }
20405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20415 doesnt_want_win32=0
20418 if test "$wxUSE_MSW" = 1 ; then
20421 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20422 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20423 if test "${wx_cv_nocygwin+set}" = set; then
20424 echo $ECHO_N "(cached) $ECHO_C" >&6
20427 cat >conftest.$ac_ext <<_ACEOF
20430 cat confdefs.h >>conftest.$ac_ext
20431 cat >>conftest.$ac_ext <<_ACEOF
20432 /* end confdefs.h. */
20446 rm -f conftest.$ac_objext
20447 if { (ac_try="$ac_compile"
20448 case "(($ac_try" in
20449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20450 *) ac_try_echo=$ac_try;;
20452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20453 (eval "$ac_compile") 2>conftest.er1
20455 grep -v '^ *+' conftest.er1 >conftest.err
20457 cat conftest.err >&5
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); } && {
20460 test -z "$ac_c_werror_flag" ||
20461 test ! -s conftest.err
20462 } && test -s conftest.$ac_objext; then
20465 echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.$ac_ext >&5
20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20476 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20477 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20479 if test "$wx_cv_nocygwin" = "yes"; then
20482 doesnt_want_win32=1
20485 if test "$wants_win32" = 1 ; then
20486 BAKEFILE_FORCE_PLATFORM=win32
20494 if test "$wxUSE_WINE" = "yes"; then
20496 LDFLAGS_GUI="-mwindows"
20499 if test "$wants_win32" = 1 ; then
20502 cat >>confdefs.h <<\_ACEOF
20503 #define __WIN32__ 1
20506 cat >>confdefs.h <<\_ACEOF
20507 #define __WIN95__ 1
20510 cat >>confdefs.h <<\_ACEOF
20511 #define __WINDOWS__ 1
20514 cat >>confdefs.h <<\_ACEOF
20515 #define __GNUWIN32__ 1
20518 cat >>confdefs.h <<\_ACEOF
20523 if test "$doesnt_want_win32" = 1 ; then
20528 if test "$USE_UNIX" = 1 ; then
20530 cat >>confdefs.h <<\_ACEOF
20537 *-pc-os2_emx | *-pc-os2-emx )
20538 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20539 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20540 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20541 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20542 echo $ECHO_N "(cached) $ECHO_C" >&6
20544 ac_check_lib_save_LIBS=$LIBS
20545 LIBS="-lcExt $LIBS"
20546 cat >conftest.$ac_ext <<_ACEOF
20549 cat confdefs.h >>conftest.$ac_ext
20550 cat >>conftest.$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20553 /* Override any GCC internal prototype to avoid an error.
20554 Use char because int might match the return type of a GCC
20555 builtin and then its argument prototype would still apply. */
20568 rm -f conftest.$ac_objext conftest$ac_exeext
20569 if { (ac_try="$ac_link"
20570 case "(($ac_try" in
20571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20572 *) ac_try_echo=$ac_try;;
20574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20575 (eval "$ac_link") 2>conftest.er1
20577 grep -v '^ *+' conftest.er1 >conftest.err
20579 cat conftest.err >&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } && {
20582 test -z "$ac_c_werror_flag" ||
20583 test ! -s conftest.err
20584 } && test -s conftest$ac_exeext &&
20585 $as_test_x conftest$ac_exeext; then
20586 ac_cv_lib_cExt_drand48=yes
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20591 ac_cv_lib_cExt_drand48=no
20594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20595 conftest$ac_exeext conftest.$ac_ext
20596 LIBS=$ac_check_lib_save_LIBS
20598 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20599 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20600 if test $ac_cv_lib_cExt_drand48 = yes; then
20601 LIBS="$LIBS -lcExt"
20605 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20607 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20608 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20609 if test "${wx_cv_gccversion+set}" = set; then
20610 echo $ECHO_N "(cached) $ECHO_C" >&6
20613 if test "$cross_compiling" = yes; then
20614 wx_cv_gccversion="EMX2"
20617 cat >conftest.$ac_ext <<_ACEOF
20620 cat confdefs.h >>conftest.$ac_ext
20621 cat >>conftest.$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20628 FILE *f=fopen("conftestval", "w");
20633 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20635 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20645 rm -f conftest$ac_exeext
20646 if { (ac_try="$ac_link"
20647 case "(($ac_try" in
20648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20649 *) ac_try_echo=$ac_try;;
20651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20652 (eval "$ac_link") 2>&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20656 { (case "(($ac_try" in
20657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20658 *) ac_try_echo=$ac_try;;
20660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20661 (eval "$ac_try") 2>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; }; then
20665 wx_cv_gccversion=`cat conftestval`
20667 echo "$as_me: program exited with status $ac_status" >&5
20668 echo "$as_me: failed program was:" >&5
20669 sed 's/^/| /' conftest.$ac_ext >&5
20671 ( exit $ac_status )
20672 wx_cv_gccversion="EMX2"
20674 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20680 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20681 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20682 if test "$wx_cv_gccversion" = "EMX2"; then
20683 LIBS="$LIBS -lstdcpp"
20684 LDFLAGS="$LDFLAGS -Zsysv-signals"
20686 if test "$wx_cv_gccversion" = "EMX3"; then
20687 LIBS="$LIBS -lstdcxx -lgcc"
20688 LDFLAGS="$LDFLAGS -Zsysv-signals"
20690 LIBS="$LIBS -lstdc++"
20693 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20694 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20695 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20702 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20703 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20704 if test "${ac_cv_string_strcasecmp+set}" = set; then
20705 echo $ECHO_N "(cached) $ECHO_C" >&6
20708 cat >conftest.$ac_ext <<_ACEOF
20711 cat confdefs.h >>conftest.$ac_ext
20712 cat >>conftest.$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20715 #include <string.h>
20721 strcasecmp("foo", "bar");
20727 rm -f conftest.$ac_objext conftest$ac_exeext
20728 if { (ac_try="$ac_link"
20729 case "(($ac_try" in
20730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20731 *) ac_try_echo=$ac_try;;
20733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20734 (eval "$ac_link") 2>conftest.er1
20736 grep -v '^ *+' conftest.er1 >conftest.err
20738 cat conftest.err >&5
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); } && {
20741 test -z "$ac_c_werror_flag" ||
20742 test ! -s conftest.err
20743 } && test -s conftest$ac_exeext &&
20744 $as_test_x conftest$ac_exeext; then
20745 ac_cv_string_strcasecmp=yes
20747 echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.$ac_ext >&5
20750 ac_cv_string_strcasecmp=no
20754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20755 conftest$ac_exeext conftest.$ac_ext
20758 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20759 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20761 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20762 cat >>confdefs.h <<\_ACEOF
20763 #define HAVE_STRCASECMP_IN_STRING_H 1
20767 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20768 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20769 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20770 echo $ECHO_N "(cached) $ECHO_C" >&6
20773 cat >conftest.$ac_ext <<_ACEOF
20776 cat confdefs.h >>conftest.$ac_ext
20777 cat >>conftest.$ac_ext <<_ACEOF
20778 /* end confdefs.h. */
20780 #include <strings.h>
20786 strcasecmp("foo", "bar");
20792 rm -f conftest.$ac_objext conftest$ac_exeext
20793 if { (ac_try="$ac_link"
20794 case "(($ac_try" in
20795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20796 *) ac_try_echo=$ac_try;;
20798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20799 (eval "$ac_link") 2>conftest.er1
20801 grep -v '^ *+' conftest.er1 >conftest.err
20803 cat conftest.err >&5
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); } && {
20806 test -z "$ac_c_werror_flag" ||
20807 test ! -s conftest.err
20808 } && test -s conftest$ac_exeext &&
20809 $as_test_x conftest$ac_exeext; then
20810 ac_cv_strings_strcasecmp=yes
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.$ac_ext >&5
20815 ac_cv_strings_strcasecmp=no
20819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20820 conftest$ac_exeext conftest.$ac_ext
20823 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20824 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20826 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20827 cat >>confdefs.h <<\_ACEOF
20828 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20832 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20833 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20834 { (exit 1); exit 1; }; }
20842 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20843 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20844 if test "${ac_cv_header_stdc+set}" = set; then
20845 echo $ECHO_N "(cached) $ECHO_C" >&6
20847 cat >conftest.$ac_ext <<_ACEOF
20850 cat confdefs.h >>conftest.$ac_ext
20851 cat >>conftest.$ac_ext <<_ACEOF
20852 /* end confdefs.h. */
20853 #include <stdlib.h>
20854 #include <stdarg.h>
20855 #include <string.h>
20866 rm -f conftest.$ac_objext
20867 if { (ac_try="$ac_compile"
20868 case "(($ac_try" in
20869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20870 *) ac_try_echo=$ac_try;;
20872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20873 (eval "$ac_compile") 2>conftest.er1
20875 grep -v '^ *+' conftest.er1 >conftest.err
20877 cat conftest.err >&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); } && {
20880 test -z "$ac_c_werror_flag" ||
20881 test ! -s conftest.err
20882 } && test -s conftest.$ac_objext; then
20883 ac_cv_header_stdc=yes
20885 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.$ac_ext >&5
20888 ac_cv_header_stdc=no
20891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20893 if test $ac_cv_header_stdc = yes; then
20894 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20895 cat >conftest.$ac_ext <<_ACEOF
20898 cat confdefs.h >>conftest.$ac_ext
20899 cat >>conftest.$ac_ext <<_ACEOF
20900 /* end confdefs.h. */
20901 #include <string.h>
20904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20905 $EGREP "memchr" >/dev/null 2>&1; then
20908 ac_cv_header_stdc=no
20914 if test $ac_cv_header_stdc = yes; then
20915 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20916 cat >conftest.$ac_ext <<_ACEOF
20919 cat confdefs.h >>conftest.$ac_ext
20920 cat >>conftest.$ac_ext <<_ACEOF
20921 /* end confdefs.h. */
20922 #include <stdlib.h>
20925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20926 $EGREP "free" >/dev/null 2>&1; then
20929 ac_cv_header_stdc=no
20935 if test $ac_cv_header_stdc = yes; then
20936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20937 if test "$cross_compiling" = yes; then
20940 cat >conftest.$ac_ext <<_ACEOF
20943 cat confdefs.h >>conftest.$ac_ext
20944 cat >>conftest.$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20947 #include <stdlib.h>
20948 #if ((' ' & 0x0FF) == 0x020)
20949 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20950 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20952 # define ISLOWER(c) \
20953 (('a' <= (c) && (c) <= 'i') \
20954 || ('j' <= (c) && (c) <= 'r') \
20955 || ('s' <= (c) && (c) <= 'z'))
20956 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20959 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20964 for (i = 0; i < 256; i++)
20965 if (XOR (islower (i), ISLOWER (i))
20966 || toupper (i) != TOUPPER (i))
20971 rm -f conftest$ac_exeext
20972 if { (ac_try="$ac_link"
20973 case "(($ac_try" in
20974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20975 *) ac_try_echo=$ac_try;;
20977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20978 (eval "$ac_link") 2>&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20982 { (case "(($ac_try" in
20983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20984 *) ac_try_echo=$ac_try;;
20986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20987 (eval "$ac_try") 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20993 echo "$as_me: program exited with status $ac_status" >&5
20994 echo "$as_me: failed program was:" >&5
20995 sed 's/^/| /' conftest.$ac_ext >&5
20997 ( exit $ac_status )
20998 ac_cv_header_stdc=no
21000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21006 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21007 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21008 if test $ac_cv_header_stdc = yes; then
21010 cat >>confdefs.h <<\_ACEOF
21011 #define STDC_HEADERS 1
21016 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21026 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21027 inttypes.h stdint.h unistd.h
21029 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21035 cat >conftest.$ac_ext <<_ACEOF
21038 cat confdefs.h >>conftest.$ac_ext
21039 cat >>conftest.$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21041 $ac_includes_default
21043 #include <$ac_header>
21045 rm -f conftest.$ac_objext
21046 if { (ac_try="$ac_compile"
21047 case "(($ac_try" in
21048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21049 *) ac_try_echo=$ac_try;;
21051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21052 (eval "$ac_compile") 2>conftest.er1
21054 grep -v '^ *+' conftest.er1 >conftest.err
21056 cat conftest.err >&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); } && {
21059 test -z "$ac_c_werror_flag" ||
21060 test ! -s conftest.err
21061 } && test -s conftest.$ac_objext; then
21062 eval "$as_ac_Header=yes"
21064 echo "$as_me: failed program was:" >&5
21065 sed 's/^/| /' conftest.$ac_ext >&5
21067 eval "$as_ac_Header=no"
21070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21072 ac_res=`eval echo '${'$as_ac_Header'}'`
21073 { echo "$as_me:$LINENO: result: $ac_res" >&5
21074 echo "${ECHO_T}$ac_res" >&6; }
21075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21076 cat >>confdefs.h <<_ACEOF
21077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21091 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21097 echo $ECHO_N "(cached) $ECHO_C" >&6
21099 cat >conftest.$ac_ext <<_ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 $ac_includes_default
21107 #include <$ac_header>
21109 rm -f conftest.$ac_objext
21110 if { (ac_try="$ac_compile"
21111 case "(($ac_try" in
21112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21113 *) ac_try_echo=$ac_try;;
21115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21116 (eval "$ac_compile") 2>conftest.er1
21118 grep -v '^ *+' conftest.er1 >conftest.err
21120 cat conftest.err >&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } && {
21123 test -z "$ac_c_werror_flag" ||
21124 test ! -s conftest.err
21125 } && test -s conftest.$ac_objext; then
21126 eval "$as_ac_Header=yes"
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21131 eval "$as_ac_Header=no"
21134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21136 ac_res=`eval echo '${'$as_ac_Header'}'`
21137 { echo "$as_me:$LINENO: result: $ac_res" >&5
21138 echo "${ECHO_T}$ac_res" >&6; }
21139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21140 cat >>confdefs.h <<_ACEOF
21141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21149 if test "$ac_cv_header_wchar_h" != "yes"; then
21150 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
21151 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
21152 if test "${ac_cv_header_wcstr_h+set}" = set; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21155 cat >conftest.$ac_ext <<_ACEOF
21158 cat confdefs.h >>conftest.$ac_ext
21159 cat >>conftest.$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21165 rm -f conftest.$ac_objext
21166 if { (ac_try="$ac_compile"
21167 case "(($ac_try" in
21168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21169 *) ac_try_echo=$ac_try;;
21171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21172 (eval "$ac_compile") 2>conftest.er1
21174 grep -v '^ *+' conftest.er1 >conftest.err
21176 cat conftest.err >&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); } && {
21179 test -z "$ac_c_werror_flag" ||
21180 test ! -s conftest.err
21181 } && test -s conftest.$ac_objext; then
21182 ac_cv_header_wcstr_h=yes
21184 echo "$as_me: failed program was:" >&5
21185 sed 's/^/| /' conftest.$ac_ext >&5
21187 ac_cv_header_wcstr_h=no
21190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21192 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
21193 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
21199 *-pc-os2_emx | *-pc-os2-emx )
21200 if test $ac_cv_header_langinfo_h = "yes" \
21201 -a \( "$wx_cv_gccversion" = "EMX2" \
21202 -o "$wx_cv_gccversion" = "EMX3" \
21203 -o "$wx_cv_gccversion" = "Innotek5" \); then
21204 LIBS="$LIBS -lintl"
21209 if test "$USE_UNIX" = 1 ; then
21210 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
21211 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
21212 if test "${ac_cv_header_sys_select_h+set}" = set; then
21213 echo $ECHO_N "(cached) $ECHO_C" >&6
21215 cat >conftest.$ac_ext <<_ACEOF
21218 cat confdefs.h >>conftest.$ac_ext
21219 cat >>conftest.$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21221 $ac_includes_default
21223 #include <sys/select.h>
21225 rm -f conftest.$ac_objext
21226 if { (ac_try="$ac_compile"
21227 case "(($ac_try" in
21228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_compile") 2>conftest.er1
21234 grep -v '^ *+' conftest.er1 >conftest.err
21236 cat conftest.err >&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } && {
21239 test -z "$ac_c_werror_flag" ||
21240 test ! -s conftest.err
21241 } && test -s conftest.$ac_objext; then
21242 ac_cv_header_sys_select_h=yes
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21247 ac_cv_header_sys_select_h=no
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21252 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
21253 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
21259 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21260 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21261 if test "${ac_cv_c_const+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21264 cat >conftest.$ac_ext <<_ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21274 /* FIXME: Include the comments suggested by Paul. */
21275 #ifndef __cplusplus
21276 /* Ultrix mips cc rejects this. */
21277 typedef int charset[2];
21279 /* SunOS 4.1.1 cc rejects this. */
21280 char const *const *pcpcc;
21282 /* NEC SVR4.0.2 mips cc rejects this. */
21283 struct point {int x, y;};
21284 static struct point const zero = {0,0};
21285 /* AIX XL C 1.02.0.0 rejects this.
21286 It does not let you subtract one const X* pointer from another in
21287 an arm of an if-expression whose if-part is not a constant
21289 const char *g = "string";
21290 pcpcc = &g + (g ? g-g : 0);
21291 /* HPUX 7.0 cc rejects these. */
21293 ppc = (char**) pcpcc;
21294 pcpcc = (char const *const *) ppc;
21295 { /* SCO 3.2v4 cc rejects this. */
21297 char const *s = 0 ? (char *) 0 : (char const *) 0;
21302 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21303 int x[] = {25, 17};
21304 const int *foo = &x[0];
21307 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21308 typedef const int *iptr;
21312 { /* AIX XL C 1.02.0.0 rejects this saying
21313 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21314 struct s { int j; const int *ap[3]; };
21315 struct s *b; b->j = 5;
21317 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21318 const int foo = 10;
21319 if (!foo) return 0;
21321 return !cs[0] && !zero.x;
21328 rm -f conftest.$ac_objext
21329 if { (ac_try="$ac_compile"
21330 case "(($ac_try" in
21331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21332 *) ac_try_echo=$ac_try;;
21334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21335 (eval "$ac_compile") 2>conftest.er1
21337 grep -v '^ *+' conftest.er1 >conftest.err
21339 cat conftest.err >&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); } && {
21342 test -z "$ac_c_werror_flag" ||
21343 test ! -s conftest.err
21344 } && test -s conftest.$ac_objext; then
21347 echo "$as_me: failed program was:" >&5
21348 sed 's/^/| /' conftest.$ac_ext >&5
21353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21355 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21356 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21357 if test $ac_cv_c_const = no; then
21359 cat >>confdefs.h <<\_ACEOF
21365 { echo "$as_me:$LINENO: checking for inline" >&5
21366 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21367 if test "${ac_cv_c_inline+set}" = set; then
21368 echo $ECHO_N "(cached) $ECHO_C" >&6
21371 for ac_kw in inline __inline__ __inline; do
21372 cat >conftest.$ac_ext <<_ACEOF
21375 cat confdefs.h >>conftest.$ac_ext
21376 cat >>conftest.$ac_ext <<_ACEOF
21377 /* end confdefs.h. */
21378 #ifndef __cplusplus
21380 static $ac_kw foo_t static_foo () {return 0; }
21381 $ac_kw foo_t foo () {return 0; }
21385 rm -f conftest.$ac_objext
21386 if { (ac_try="$ac_compile"
21387 case "(($ac_try" in
21388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21389 *) ac_try_echo=$ac_try;;
21391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21392 (eval "$ac_compile") 2>conftest.er1
21394 grep -v '^ *+' conftest.er1 >conftest.err
21396 cat conftest.err >&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } && {
21399 test -z "$ac_c_werror_flag" ||
21400 test ! -s conftest.err
21401 } && test -s conftest.$ac_objext; then
21402 ac_cv_c_inline=$ac_kw
21404 echo "$as_me: failed program was:" >&5
21405 sed 's/^/| /' conftest.$ac_ext >&5
21410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21411 test "$ac_cv_c_inline" != no && break
21415 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21416 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21419 case $ac_cv_c_inline in
21422 case $ac_cv_c_inline in
21424 *) ac_val=$ac_cv_c_inline;;
21426 cat >>confdefs.h <<_ACEOF
21427 #ifndef __cplusplus
21428 #define inline $ac_val
21435 { echo "$as_me:$LINENO: checking for short" >&5
21436 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21437 if test "${ac_cv_type_short+set}" = set; then
21438 echo $ECHO_N "(cached) $ECHO_C" >&6
21440 cat >conftest.$ac_ext <<_ACEOF
21443 cat confdefs.h >>conftest.$ac_ext
21444 cat >>conftest.$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21446 $ac_includes_default
21447 typedef short ac__type_new_;
21451 if ((ac__type_new_ *) 0)
21453 if (sizeof (ac__type_new_))
21459 rm -f conftest.$ac_objext
21460 if { (ac_try="$ac_compile"
21461 case "(($ac_try" in
21462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21463 *) ac_try_echo=$ac_try;;
21465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21466 (eval "$ac_compile") 2>conftest.er1
21468 grep -v '^ *+' conftest.er1 >conftest.err
21470 cat conftest.err >&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); } && {
21473 test -z "$ac_c_werror_flag" ||
21474 test ! -s conftest.err
21475 } && test -s conftest.$ac_objext; then
21476 ac_cv_type_short=yes
21478 echo "$as_me: failed program was:" >&5
21479 sed 's/^/| /' conftest.$ac_ext >&5
21481 ac_cv_type_short=no
21484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21486 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21487 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21489 # The cast to long int works around a bug in the HP C Compiler
21490 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21491 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21492 # This bug is HP SR number 8606223364.
21493 { echo "$as_me:$LINENO: checking size of short" >&5
21494 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21495 if test "${ac_cv_sizeof_short+set}" = set; then
21496 echo $ECHO_N "(cached) $ECHO_C" >&6
21498 if test "$cross_compiling" = yes; then
21499 # Depending upon the size, compute the lo and hi bounds.
21500 cat >conftest.$ac_ext <<_ACEOF
21503 cat confdefs.h >>conftest.$ac_ext
21504 cat >>conftest.$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21506 $ac_includes_default
21507 typedef short ac__type_sizeof_;
21511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21518 rm -f conftest.$ac_objext
21519 if { (ac_try="$ac_compile"
21520 case "(($ac_try" in
21521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21522 *) ac_try_echo=$ac_try;;
21524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21525 (eval "$ac_compile") 2>conftest.er1
21527 grep -v '^ *+' conftest.er1 >conftest.err
21529 cat conftest.err >&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); } && {
21532 test -z "$ac_c_werror_flag" ||
21533 test ! -s conftest.err
21534 } && test -s conftest.$ac_objext; then
21537 cat >conftest.$ac_ext <<_ACEOF
21540 cat confdefs.h >>conftest.$ac_ext
21541 cat >>conftest.$ac_ext <<_ACEOF
21542 /* end confdefs.h. */
21543 $ac_includes_default
21544 typedef short ac__type_sizeof_;
21548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21555 rm -f conftest.$ac_objext
21556 if { (ac_try="$ac_compile"
21557 case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21559 *) ac_try_echo=$ac_try;;
21561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_compile") 2>conftest.er1
21564 grep -v '^ *+' conftest.er1 >conftest.err
21566 cat conftest.err >&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); } && {
21569 test -z "$ac_c_werror_flag" ||
21570 test ! -s conftest.err
21571 } && test -s conftest.$ac_objext; then
21572 ac_hi=$ac_mid; break
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21577 ac_lo=`expr $ac_mid + 1`
21578 if test $ac_lo -le $ac_mid; then
21582 ac_mid=`expr 2 '*' $ac_mid + 1`
21585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21588 echo "$as_me: failed program was:" >&5
21589 sed 's/^/| /' conftest.$ac_ext >&5
21591 cat >conftest.$ac_ext <<_ACEOF
21594 cat confdefs.h >>conftest.$ac_ext
21595 cat >>conftest.$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21597 $ac_includes_default
21598 typedef short ac__type_sizeof_;
21602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21609 rm -f conftest.$ac_objext
21610 if { (ac_try="$ac_compile"
21611 case "(($ac_try" in
21612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21613 *) ac_try_echo=$ac_try;;
21615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21616 (eval "$ac_compile") 2>conftest.er1
21618 grep -v '^ *+' conftest.er1 >conftest.err
21620 cat conftest.err >&5
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); } && {
21623 test -z "$ac_c_werror_flag" ||
21624 test ! -s conftest.err
21625 } && test -s conftest.$ac_objext; then
21628 cat >conftest.$ac_ext <<_ACEOF
21631 cat confdefs.h >>conftest.$ac_ext
21632 cat >>conftest.$ac_ext <<_ACEOF
21633 /* end confdefs.h. */
21634 $ac_includes_default
21635 typedef short ac__type_sizeof_;
21639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21646 rm -f conftest.$ac_objext
21647 if { (ac_try="$ac_compile"
21648 case "(($ac_try" in
21649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21650 *) ac_try_echo=$ac_try;;
21652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21653 (eval "$ac_compile") 2>conftest.er1
21655 grep -v '^ *+' conftest.er1 >conftest.err
21657 cat conftest.err >&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } && {
21660 test -z "$ac_c_werror_flag" ||
21661 test ! -s conftest.err
21662 } && test -s conftest.$ac_objext; then
21663 ac_lo=$ac_mid; break
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.$ac_ext >&5
21668 ac_hi=`expr '(' $ac_mid ')' - 1`
21669 if test $ac_mid -le $ac_hi; then
21673 ac_mid=`expr 2 '*' $ac_mid`
21676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21679 echo "$as_me: failed program was:" >&5
21680 sed 's/^/| /' conftest.$ac_ext >&5
21685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21689 # Binary search between lo and hi bounds.
21690 while test "x$ac_lo" != "x$ac_hi"; do
21691 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21692 cat >conftest.$ac_ext <<_ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 $ac_includes_default
21699 typedef short ac__type_sizeof_;
21703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21710 rm -f conftest.$ac_objext
21711 if { (ac_try="$ac_compile"
21712 case "(($ac_try" in
21713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21714 *) ac_try_echo=$ac_try;;
21716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21717 (eval "$ac_compile") 2>conftest.er1
21719 grep -v '^ *+' conftest.er1 >conftest.err
21721 cat conftest.err >&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } && {
21724 test -z "$ac_c_werror_flag" ||
21725 test ! -s conftest.err
21726 } && test -s conftest.$ac_objext; then
21729 echo "$as_me: failed program was:" >&5
21730 sed 's/^/| /' conftest.$ac_ext >&5
21732 ac_lo=`expr '(' $ac_mid ')' + 1`
21735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21738 ?*) ac_cv_sizeof_short=$ac_lo;;
21739 '') if test "$ac_cv_type_short" = yes; then
21740 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21741 See \`config.log' for more details." >&5
21742 echo "$as_me: error: cannot compute sizeof (short)
21743 See \`config.log' for more details." >&2;}
21744 { (exit 77); exit 77; }; }
21746 ac_cv_sizeof_short=0
21750 cat >conftest.$ac_ext <<_ACEOF
21753 cat confdefs.h >>conftest.$ac_ext
21754 cat >>conftest.$ac_ext <<_ACEOF
21755 /* end confdefs.h. */
21756 $ac_includes_default
21757 typedef short ac__type_sizeof_;
21758 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21759 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21761 #include <stdlib.h>
21766 FILE *f = fopen ("conftest.val", "w");
21769 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21771 long int i = longval ();
21772 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21774 fprintf (f, "%ld\n", i);
21778 unsigned long int i = ulongval ();
21779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21781 fprintf (f, "%lu\n", i);
21783 return ferror (f) || fclose (f) != 0;
21789 rm -f conftest$ac_exeext
21790 if { (ac_try="$ac_link"
21791 case "(($ac_try" in
21792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21793 *) ac_try_echo=$ac_try;;
21795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21796 (eval "$ac_link") 2>&5
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21800 { (case "(($ac_try" in
21801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21802 *) ac_try_echo=$ac_try;;
21804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21805 (eval "$ac_try") 2>&5
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; }; then
21809 ac_cv_sizeof_short=`cat conftest.val`
21811 echo "$as_me: program exited with status $ac_status" >&5
21812 echo "$as_me: failed program was:" >&5
21813 sed 's/^/| /' conftest.$ac_ext >&5
21815 ( exit $ac_status )
21816 if test "$ac_cv_type_short" = yes; then
21817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21818 See \`config.log' for more details." >&5
21819 echo "$as_me: error: cannot compute sizeof (short)
21820 See \`config.log' for more details." >&2;}
21821 { (exit 77); exit 77; }; }
21823 ac_cv_sizeof_short=0
21826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21830 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21831 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21835 cat >>confdefs.h <<_ACEOF
21836 #define SIZEOF_SHORT $ac_cv_sizeof_short
21840 { echo "$as_me:$LINENO: checking for void *" >&5
21841 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21842 if test "${ac_cv_type_void_p+set}" = set; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21845 cat >conftest.$ac_ext <<_ACEOF
21848 cat confdefs.h >>conftest.$ac_ext
21849 cat >>conftest.$ac_ext <<_ACEOF
21850 /* end confdefs.h. */
21851 $ac_includes_default
21852 typedef void * ac__type_new_;
21856 if ((ac__type_new_ *) 0)
21858 if (sizeof (ac__type_new_))
21864 rm -f conftest.$ac_objext
21865 if { (ac_try="$ac_compile"
21866 case "(($ac_try" in
21867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_compile") 2>conftest.er1
21873 grep -v '^ *+' conftest.er1 >conftest.err
21875 cat conftest.err >&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } && {
21878 test -z "$ac_c_werror_flag" ||
21879 test ! -s conftest.err
21880 } && test -s conftest.$ac_objext; then
21881 ac_cv_type_void_p=yes
21883 echo "$as_me: failed program was:" >&5
21884 sed 's/^/| /' conftest.$ac_ext >&5
21886 ac_cv_type_void_p=no
21889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21891 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21892 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21894 # The cast to long int works around a bug in the HP C Compiler
21895 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21896 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21897 # This bug is HP SR number 8606223364.
21898 { echo "$as_me:$LINENO: checking size of void *" >&5
21899 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21900 if test "${ac_cv_sizeof_void_p+set}" = set; then
21901 echo $ECHO_N "(cached) $ECHO_C" >&6
21903 if test "$cross_compiling" = yes; then
21904 # Depending upon the size, compute the lo and hi bounds.
21905 cat >conftest.$ac_ext <<_ACEOF
21908 cat confdefs.h >>conftest.$ac_ext
21909 cat >>conftest.$ac_ext <<_ACEOF
21910 /* end confdefs.h. */
21911 $ac_includes_default
21912 typedef void * ac__type_sizeof_;
21916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21923 rm -f conftest.$ac_objext
21924 if { (ac_try="$ac_compile"
21925 case "(($ac_try" in
21926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21927 *) ac_try_echo=$ac_try;;
21929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21930 (eval "$ac_compile") 2>conftest.er1
21932 grep -v '^ *+' conftest.er1 >conftest.err
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } && {
21937 test -z "$ac_c_werror_flag" ||
21938 test ! -s conftest.err
21939 } && test -s conftest.$ac_objext; then
21942 cat >conftest.$ac_ext <<_ACEOF
21945 cat confdefs.h >>conftest.$ac_ext
21946 cat >>conftest.$ac_ext <<_ACEOF
21947 /* end confdefs.h. */
21948 $ac_includes_default
21949 typedef void * ac__type_sizeof_;
21953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21960 rm -f conftest.$ac_objext
21961 if { (ac_try="$ac_compile"
21962 case "(($ac_try" in
21963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21964 *) ac_try_echo=$ac_try;;
21966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21967 (eval "$ac_compile") 2>conftest.er1
21969 grep -v '^ *+' conftest.er1 >conftest.err
21971 cat conftest.err >&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); } && {
21974 test -z "$ac_c_werror_flag" ||
21975 test ! -s conftest.err
21976 } && test -s conftest.$ac_objext; then
21977 ac_hi=$ac_mid; break
21979 echo "$as_me: failed program was:" >&5
21980 sed 's/^/| /' conftest.$ac_ext >&5
21982 ac_lo=`expr $ac_mid + 1`
21983 if test $ac_lo -le $ac_mid; then
21987 ac_mid=`expr 2 '*' $ac_mid + 1`
21990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21993 echo "$as_me: failed program was:" >&5
21994 sed 's/^/| /' conftest.$ac_ext >&5
21996 cat >conftest.$ac_ext <<_ACEOF
21999 cat confdefs.h >>conftest.$ac_ext
22000 cat >>conftest.$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002 $ac_includes_default
22003 typedef void * ac__type_sizeof_;
22007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22014 rm -f conftest.$ac_objext
22015 if { (ac_try="$ac_compile"
22016 case "(($ac_try" in
22017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22018 *) ac_try_echo=$ac_try;;
22020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22021 (eval "$ac_compile") 2>conftest.er1
22023 grep -v '^ *+' conftest.er1 >conftest.err
22025 cat conftest.err >&5
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); } && {
22028 test -z "$ac_c_werror_flag" ||
22029 test ! -s conftest.err
22030 } && test -s conftest.$ac_objext; then
22033 cat >conftest.$ac_ext <<_ACEOF
22036 cat confdefs.h >>conftest.$ac_ext
22037 cat >>conftest.$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039 $ac_includes_default
22040 typedef void * ac__type_sizeof_;
22044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22051 rm -f conftest.$ac_objext
22052 if { (ac_try="$ac_compile"
22053 case "(($ac_try" in
22054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22055 *) ac_try_echo=$ac_try;;
22057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22058 (eval "$ac_compile") 2>conftest.er1
22060 grep -v '^ *+' conftest.er1 >conftest.err
22062 cat conftest.err >&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } && {
22065 test -z "$ac_c_werror_flag" ||
22066 test ! -s conftest.err
22067 } && test -s conftest.$ac_objext; then
22068 ac_lo=$ac_mid; break
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.$ac_ext >&5
22073 ac_hi=`expr '(' $ac_mid ')' - 1`
22074 if test $ac_mid -le $ac_hi; then
22078 ac_mid=`expr 2 '*' $ac_mid`
22081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22094 # Binary search between lo and hi bounds.
22095 while test "x$ac_lo" != "x$ac_hi"; do
22096 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22097 cat >conftest.$ac_ext <<_ACEOF
22100 cat confdefs.h >>conftest.$ac_ext
22101 cat >>conftest.$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 $ac_includes_default
22104 typedef void * ac__type_sizeof_;
22108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22115 rm -f conftest.$ac_objext
22116 if { (ac_try="$ac_compile"
22117 case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_compile") 2>conftest.er1
22124 grep -v '^ *+' conftest.er1 >conftest.err
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } && {
22129 test -z "$ac_c_werror_flag" ||
22130 test ! -s conftest.err
22131 } && test -s conftest.$ac_objext; then
22134 echo "$as_me: failed program was:" >&5
22135 sed 's/^/| /' conftest.$ac_ext >&5
22137 ac_lo=`expr '(' $ac_mid ')' + 1`
22140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22143 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22144 '') if test "$ac_cv_type_void_p" = yes; then
22145 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22146 See \`config.log' for more details." >&5
22147 echo "$as_me: error: cannot compute sizeof (void *)
22148 See \`config.log' for more details." >&2;}
22149 { (exit 77); exit 77; }; }
22151 ac_cv_sizeof_void_p=0
22155 cat >conftest.$ac_ext <<_ACEOF
22158 cat confdefs.h >>conftest.$ac_ext
22159 cat >>conftest.$ac_ext <<_ACEOF
22160 /* end confdefs.h. */
22161 $ac_includes_default
22162 typedef void * ac__type_sizeof_;
22163 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22164 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22166 #include <stdlib.h>
22171 FILE *f = fopen ("conftest.val", "w");
22174 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22176 long int i = longval ();
22177 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22179 fprintf (f, "%ld\n", i);
22183 unsigned long int i = ulongval ();
22184 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22186 fprintf (f, "%lu\n", i);
22188 return ferror (f) || fclose (f) != 0;
22194 rm -f conftest$ac_exeext
22195 if { (ac_try="$ac_link"
22196 case "(($ac_try" in
22197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22198 *) ac_try_echo=$ac_try;;
22200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22201 (eval "$ac_link") 2>&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22205 { (case "(($ac_try" in
22206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22207 *) ac_try_echo=$ac_try;;
22209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22210 (eval "$ac_try") 2>&5
22212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22213 (exit $ac_status); }; }; then
22214 ac_cv_sizeof_void_p=`cat conftest.val`
22216 echo "$as_me: program exited with status $ac_status" >&5
22217 echo "$as_me: failed program was:" >&5
22218 sed 's/^/| /' conftest.$ac_ext >&5
22220 ( exit $ac_status )
22221 if test "$ac_cv_type_void_p" = yes; then
22222 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22223 See \`config.log' for more details." >&5
22224 echo "$as_me: error: cannot compute sizeof (void *)
22225 See \`config.log' for more details." >&2;}
22226 { (exit 77); exit 77; }; }
22228 ac_cv_sizeof_void_p=0
22231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22235 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22236 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22240 cat >>confdefs.h <<_ACEOF
22241 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22245 { echo "$as_me:$LINENO: checking for int" >&5
22246 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22247 if test "${ac_cv_type_int+set}" = set; then
22248 echo $ECHO_N "(cached) $ECHO_C" >&6
22250 cat >conftest.$ac_ext <<_ACEOF
22253 cat confdefs.h >>conftest.$ac_ext
22254 cat >>conftest.$ac_ext <<_ACEOF
22255 /* end confdefs.h. */
22256 $ac_includes_default
22257 typedef int ac__type_new_;
22261 if ((ac__type_new_ *) 0)
22263 if (sizeof (ac__type_new_))
22269 rm -f conftest.$ac_objext
22270 if { (ac_try="$ac_compile"
22271 case "(($ac_try" in
22272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22273 *) ac_try_echo=$ac_try;;
22275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22276 (eval "$ac_compile") 2>conftest.er1
22278 grep -v '^ *+' conftest.er1 >conftest.err
22280 cat conftest.err >&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); } && {
22283 test -z "$ac_c_werror_flag" ||
22284 test ! -s conftest.err
22285 } && test -s conftest.$ac_objext; then
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.$ac_ext >&5
22294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22296 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22297 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22299 # The cast to long int works around a bug in the HP C Compiler
22300 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22301 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22302 # This bug is HP SR number 8606223364.
22303 { echo "$as_me:$LINENO: checking size of int" >&5
22304 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22305 if test "${ac_cv_sizeof_int+set}" = set; then
22306 echo $ECHO_N "(cached) $ECHO_C" >&6
22308 if test "$cross_compiling" = yes; then
22309 # Depending upon the size, compute the lo and hi bounds.
22310 cat >conftest.$ac_ext <<_ACEOF
22313 cat confdefs.h >>conftest.$ac_ext
22314 cat >>conftest.$ac_ext <<_ACEOF
22315 /* end confdefs.h. */
22316 $ac_includes_default
22317 typedef int ac__type_sizeof_;
22321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22328 rm -f conftest.$ac_objext
22329 if { (ac_try="$ac_compile"
22330 case "(($ac_try" in
22331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22332 *) ac_try_echo=$ac_try;;
22334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22335 (eval "$ac_compile") 2>conftest.er1
22337 grep -v '^ *+' conftest.er1 >conftest.err
22339 cat conftest.err >&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); } && {
22342 test -z "$ac_c_werror_flag" ||
22343 test ! -s conftest.err
22344 } && test -s conftest.$ac_objext; then
22347 cat >conftest.$ac_ext <<_ACEOF
22350 cat confdefs.h >>conftest.$ac_ext
22351 cat >>conftest.$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22353 $ac_includes_default
22354 typedef int ac__type_sizeof_;
22358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22365 rm -f conftest.$ac_objext
22366 if { (ac_try="$ac_compile"
22367 case "(($ac_try" in
22368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22369 *) ac_try_echo=$ac_try;;
22371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22372 (eval "$ac_compile") 2>conftest.er1
22374 grep -v '^ *+' conftest.er1 >conftest.err
22376 cat conftest.err >&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); } && {
22379 test -z "$ac_c_werror_flag" ||
22380 test ! -s conftest.err
22381 } && test -s conftest.$ac_objext; then
22382 ac_hi=$ac_mid; break
22384 echo "$as_me: failed program was:" >&5
22385 sed 's/^/| /' conftest.$ac_ext >&5
22387 ac_lo=`expr $ac_mid + 1`
22388 if test $ac_lo -le $ac_mid; then
22392 ac_mid=`expr 2 '*' $ac_mid + 1`
22395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22398 echo "$as_me: failed program was:" >&5
22399 sed 's/^/| /' conftest.$ac_ext >&5
22401 cat >conftest.$ac_ext <<_ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407 $ac_includes_default
22408 typedef int ac__type_sizeof_;
22412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22419 rm -f conftest.$ac_objext
22420 if { (ac_try="$ac_compile"
22421 case "(($ac_try" in
22422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22423 *) ac_try_echo=$ac_try;;
22425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22426 (eval "$ac_compile") 2>conftest.er1
22428 grep -v '^ *+' conftest.er1 >conftest.err
22430 cat conftest.err >&5
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); } && {
22433 test -z "$ac_c_werror_flag" ||
22434 test ! -s conftest.err
22435 } && test -s conftest.$ac_objext; then
22438 cat >conftest.$ac_ext <<_ACEOF
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 $ac_includes_default
22445 typedef int ac__type_sizeof_;
22449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22456 rm -f conftest.$ac_objext
22457 if { (ac_try="$ac_compile"
22458 case "(($ac_try" in
22459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22460 *) ac_try_echo=$ac_try;;
22462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22463 (eval "$ac_compile") 2>conftest.er1
22465 grep -v '^ *+' conftest.er1 >conftest.err
22467 cat conftest.err >&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } && {
22470 test -z "$ac_c_werror_flag" ||
22471 test ! -s conftest.err
22472 } && test -s conftest.$ac_objext; then
22473 ac_lo=$ac_mid; break
22475 echo "$as_me: failed program was:" >&5
22476 sed 's/^/| /' conftest.$ac_ext >&5
22478 ac_hi=`expr '(' $ac_mid ')' - 1`
22479 if test $ac_mid -le $ac_hi; then
22483 ac_mid=`expr 2 '*' $ac_mid`
22486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489 echo "$as_me: failed program was:" >&5
22490 sed 's/^/| /' conftest.$ac_ext >&5
22495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22499 # Binary search between lo and hi bounds.
22500 while test "x$ac_lo" != "x$ac_hi"; do
22501 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22502 cat >conftest.$ac_ext <<_ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 $ac_includes_default
22509 typedef int ac__type_sizeof_;
22513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22520 rm -f conftest.$ac_objext
22521 if { (ac_try="$ac_compile"
22522 case "(($ac_try" in
22523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22524 *) ac_try_echo=$ac_try;;
22526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22527 (eval "$ac_compile") 2>conftest.er1
22529 grep -v '^ *+' conftest.er1 >conftest.err
22531 cat conftest.err >&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } && {
22534 test -z "$ac_c_werror_flag" ||
22535 test ! -s conftest.err
22536 } && test -s conftest.$ac_objext; then
22539 echo "$as_me: failed program was:" >&5
22540 sed 's/^/| /' conftest.$ac_ext >&5
22542 ac_lo=`expr '(' $ac_mid ')' + 1`
22545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22548 ?*) ac_cv_sizeof_int=$ac_lo;;
22549 '') if test "$ac_cv_type_int" = yes; then
22550 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22551 See \`config.log' for more details." >&5
22552 echo "$as_me: error: cannot compute sizeof (int)
22553 See \`config.log' for more details." >&2;}
22554 { (exit 77); exit 77; }; }
22560 cat >conftest.$ac_ext <<_ACEOF
22563 cat confdefs.h >>conftest.$ac_ext
22564 cat >>conftest.$ac_ext <<_ACEOF
22565 /* end confdefs.h. */
22566 $ac_includes_default
22567 typedef int ac__type_sizeof_;
22568 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22569 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22571 #include <stdlib.h>
22576 FILE *f = fopen ("conftest.val", "w");
22579 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22581 long int i = longval ();
22582 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22584 fprintf (f, "%ld\n", i);
22588 unsigned long int i = ulongval ();
22589 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22591 fprintf (f, "%lu\n", i);
22593 return ferror (f) || fclose (f) != 0;
22599 rm -f conftest$ac_exeext
22600 if { (ac_try="$ac_link"
22601 case "(($ac_try" in
22602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22603 *) ac_try_echo=$ac_try;;
22605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22606 (eval "$ac_link") 2>&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22610 { (case "(($ac_try" in
22611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22612 *) ac_try_echo=$ac_try;;
22614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22615 (eval "$ac_try") 2>&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); }; }; then
22619 ac_cv_sizeof_int=`cat conftest.val`
22621 echo "$as_me: program exited with status $ac_status" >&5
22622 echo "$as_me: failed program was:" >&5
22623 sed 's/^/| /' conftest.$ac_ext >&5
22625 ( exit $ac_status )
22626 if test "$ac_cv_type_int" = yes; then
22627 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22628 See \`config.log' for more details." >&5
22629 echo "$as_me: error: cannot compute sizeof (int)
22630 See \`config.log' for more details." >&2;}
22631 { (exit 77); exit 77; }; }
22636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22640 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22641 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22645 cat >>confdefs.h <<_ACEOF
22646 #define SIZEOF_INT $ac_cv_sizeof_int
22650 { echo "$as_me:$LINENO: checking for long" >&5
22651 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22652 if test "${ac_cv_type_long+set}" = set; then
22653 echo $ECHO_N "(cached) $ECHO_C" >&6
22655 cat >conftest.$ac_ext <<_ACEOF
22658 cat confdefs.h >>conftest.$ac_ext
22659 cat >>conftest.$ac_ext <<_ACEOF
22660 /* end confdefs.h. */
22661 $ac_includes_default
22662 typedef long ac__type_new_;
22666 if ((ac__type_new_ *) 0)
22668 if (sizeof (ac__type_new_))
22674 rm -f conftest.$ac_objext
22675 if { (ac_try="$ac_compile"
22676 case "(($ac_try" in
22677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22678 *) ac_try_echo=$ac_try;;
22680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22681 (eval "$ac_compile") 2>conftest.er1
22683 grep -v '^ *+' conftest.er1 >conftest.err
22685 cat conftest.err >&5
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); } && {
22688 test -z "$ac_c_werror_flag" ||
22689 test ! -s conftest.err
22690 } && test -s conftest.$ac_objext; then
22691 ac_cv_type_long=yes
22693 echo "$as_me: failed program was:" >&5
22694 sed 's/^/| /' conftest.$ac_ext >&5
22699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22701 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22702 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22704 # The cast to long int works around a bug in the HP C Compiler
22705 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22706 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22707 # This bug is HP SR number 8606223364.
22708 { echo "$as_me:$LINENO: checking size of long" >&5
22709 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22710 if test "${ac_cv_sizeof_long+set}" = set; then
22711 echo $ECHO_N "(cached) $ECHO_C" >&6
22713 if test "$cross_compiling" = yes; then
22714 # Depending upon the size, compute the lo and hi bounds.
22715 cat >conftest.$ac_ext <<_ACEOF
22718 cat confdefs.h >>conftest.$ac_ext
22719 cat >>conftest.$ac_ext <<_ACEOF
22720 /* end confdefs.h. */
22721 $ac_includes_default
22722 typedef long ac__type_sizeof_;
22726 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22733 rm -f conftest.$ac_objext
22734 if { (ac_try="$ac_compile"
22735 case "(($ac_try" in
22736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22737 *) ac_try_echo=$ac_try;;
22739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22740 (eval "$ac_compile") 2>conftest.er1
22742 grep -v '^ *+' conftest.er1 >conftest.err
22744 cat conftest.err >&5
22745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 (exit $ac_status); } && {
22747 test -z "$ac_c_werror_flag" ||
22748 test ! -s conftest.err
22749 } && test -s conftest.$ac_objext; then
22752 cat >conftest.$ac_ext <<_ACEOF
22755 cat confdefs.h >>conftest.$ac_ext
22756 cat >>conftest.$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22758 $ac_includes_default
22759 typedef long ac__type_sizeof_;
22763 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22770 rm -f conftest.$ac_objext
22771 if { (ac_try="$ac_compile"
22772 case "(($ac_try" in
22773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22774 *) ac_try_echo=$ac_try;;
22776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22777 (eval "$ac_compile") 2>conftest.er1
22779 grep -v '^ *+' conftest.er1 >conftest.err
22781 cat conftest.err >&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); } && {
22784 test -z "$ac_c_werror_flag" ||
22785 test ! -s conftest.err
22786 } && test -s conftest.$ac_objext; then
22787 ac_hi=$ac_mid; break
22789 echo "$as_me: failed program was:" >&5
22790 sed 's/^/| /' conftest.$ac_ext >&5
22792 ac_lo=`expr $ac_mid + 1`
22793 if test $ac_lo -le $ac_mid; then
22797 ac_mid=`expr 2 '*' $ac_mid + 1`
22800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22803 echo "$as_me: failed program was:" >&5
22804 sed 's/^/| /' conftest.$ac_ext >&5
22806 cat >conftest.$ac_ext <<_ACEOF
22809 cat confdefs.h >>conftest.$ac_ext
22810 cat >>conftest.$ac_ext <<_ACEOF
22811 /* end confdefs.h. */
22812 $ac_includes_default
22813 typedef long ac__type_sizeof_;
22817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22824 rm -f conftest.$ac_objext
22825 if { (ac_try="$ac_compile"
22826 case "(($ac_try" in
22827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22828 *) ac_try_echo=$ac_try;;
22830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22831 (eval "$ac_compile") 2>conftest.er1
22833 grep -v '^ *+' conftest.er1 >conftest.err
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } && {
22838 test -z "$ac_c_werror_flag" ||
22839 test ! -s conftest.err
22840 } && test -s conftest.$ac_objext; then
22843 cat >conftest.$ac_ext <<_ACEOF
22846 cat confdefs.h >>conftest.$ac_ext
22847 cat >>conftest.$ac_ext <<_ACEOF
22848 /* end confdefs.h. */
22849 $ac_includes_default
22850 typedef long ac__type_sizeof_;
22854 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22861 rm -f conftest.$ac_objext
22862 if { (ac_try="$ac_compile"
22863 case "(($ac_try" in
22864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22865 *) ac_try_echo=$ac_try;;
22867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22868 (eval "$ac_compile") 2>conftest.er1
22870 grep -v '^ *+' conftest.er1 >conftest.err
22872 cat conftest.err >&5
22873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22874 (exit $ac_status); } && {
22875 test -z "$ac_c_werror_flag" ||
22876 test ! -s conftest.err
22877 } && test -s conftest.$ac_objext; then
22878 ac_lo=$ac_mid; break
22880 echo "$as_me: failed program was:" >&5
22881 sed 's/^/| /' conftest.$ac_ext >&5
22883 ac_hi=`expr '(' $ac_mid ')' - 1`
22884 if test $ac_mid -le $ac_hi; then
22888 ac_mid=`expr 2 '*' $ac_mid`
22891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22894 echo "$as_me: failed program was:" >&5
22895 sed 's/^/| /' conftest.$ac_ext >&5
22900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22904 # Binary search between lo and hi bounds.
22905 while test "x$ac_lo" != "x$ac_hi"; do
22906 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22907 cat >conftest.$ac_ext <<_ACEOF
22910 cat confdefs.h >>conftest.$ac_ext
22911 cat >>conftest.$ac_ext <<_ACEOF
22912 /* end confdefs.h. */
22913 $ac_includes_default
22914 typedef long ac__type_sizeof_;
22918 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22925 rm -f conftest.$ac_objext
22926 if { (ac_try="$ac_compile"
22927 case "(($ac_try" in
22928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22929 *) ac_try_echo=$ac_try;;
22931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22932 (eval "$ac_compile") 2>conftest.er1
22934 grep -v '^ *+' conftest.er1 >conftest.err
22936 cat conftest.err >&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); } && {
22939 test -z "$ac_c_werror_flag" ||
22940 test ! -s conftest.err
22941 } && test -s conftest.$ac_objext; then
22944 echo "$as_me: failed program was:" >&5
22945 sed 's/^/| /' conftest.$ac_ext >&5
22947 ac_lo=`expr '(' $ac_mid ')' + 1`
22950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22953 ?*) ac_cv_sizeof_long=$ac_lo;;
22954 '') if test "$ac_cv_type_long" = yes; then
22955 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22956 See \`config.log' for more details." >&5
22957 echo "$as_me: error: cannot compute sizeof (long)
22958 See \`config.log' for more details." >&2;}
22959 { (exit 77); exit 77; }; }
22961 ac_cv_sizeof_long=0
22965 cat >conftest.$ac_ext <<_ACEOF
22968 cat confdefs.h >>conftest.$ac_ext
22969 cat >>conftest.$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22971 $ac_includes_default
22972 typedef long ac__type_sizeof_;
22973 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22974 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22976 #include <stdlib.h>
22981 FILE *f = fopen ("conftest.val", "w");
22984 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22986 long int i = longval ();
22987 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22989 fprintf (f, "%ld\n", i);
22993 unsigned long int i = ulongval ();
22994 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22996 fprintf (f, "%lu\n", i);
22998 return ferror (f) || fclose (f) != 0;
23004 rm -f conftest$ac_exeext
23005 if { (ac_try="$ac_link"
23006 case "(($ac_try" in
23007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23008 *) ac_try_echo=$ac_try;;
23010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23011 (eval "$ac_link") 2>&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23015 { (case "(($ac_try" in
23016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23017 *) ac_try_echo=$ac_try;;
23019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23020 (eval "$ac_try") 2>&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); }; }; then
23024 ac_cv_sizeof_long=`cat conftest.val`
23026 echo "$as_me: program exited with status $ac_status" >&5
23027 echo "$as_me: failed program was:" >&5
23028 sed 's/^/| /' conftest.$ac_ext >&5
23030 ( exit $ac_status )
23031 if test "$ac_cv_type_long" = yes; then
23032 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23033 See \`config.log' for more details." >&5
23034 echo "$as_me: error: cannot compute sizeof (long)
23035 See \`config.log' for more details." >&2;}
23036 { (exit 77); exit 77; }; }
23038 ac_cv_sizeof_long=0
23041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23045 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23046 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23050 cat >>confdefs.h <<_ACEOF
23051 #define SIZEOF_LONG $ac_cv_sizeof_long
23055 { echo "$as_me:$LINENO: checking for size_t" >&5
23056 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23057 if test "${ac_cv_type_size_t+set}" = set; then
23058 echo $ECHO_N "(cached) $ECHO_C" >&6
23060 cat >conftest.$ac_ext <<_ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 $ac_includes_default
23067 typedef size_t ac__type_new_;
23071 if ((ac__type_new_ *) 0)
23073 if (sizeof (ac__type_new_))
23079 rm -f conftest.$ac_objext
23080 if { (ac_try="$ac_compile"
23081 case "(($ac_try" in
23082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23083 *) ac_try_echo=$ac_try;;
23085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23086 (eval "$ac_compile") 2>conftest.er1
23088 grep -v '^ *+' conftest.er1 >conftest.err
23090 cat conftest.err >&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); } && {
23093 test -z "$ac_c_werror_flag" ||
23094 test ! -s conftest.err
23095 } && test -s conftest.$ac_objext; then
23096 ac_cv_type_size_t=yes
23098 echo "$as_me: failed program was:" >&5
23099 sed 's/^/| /' conftest.$ac_ext >&5
23101 ac_cv_type_size_t=no
23104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23107 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23109 # The cast to long int works around a bug in the HP C Compiler
23110 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23111 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23112 # This bug is HP SR number 8606223364.
23113 { echo "$as_me:$LINENO: checking size of size_t" >&5
23114 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23115 if test "${ac_cv_sizeof_size_t+set}" = set; then
23116 echo $ECHO_N "(cached) $ECHO_C" >&6
23118 if test "$cross_compiling" = yes; then
23119 # Depending upon the size, compute the lo and hi bounds.
23120 cat >conftest.$ac_ext <<_ACEOF
23123 cat confdefs.h >>conftest.$ac_ext
23124 cat >>conftest.$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23126 $ac_includes_default
23127 typedef size_t ac__type_sizeof_;
23131 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23138 rm -f conftest.$ac_objext
23139 if { (ac_try="$ac_compile"
23140 case "(($ac_try" in
23141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23142 *) ac_try_echo=$ac_try;;
23144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23145 (eval "$ac_compile") 2>conftest.er1
23147 grep -v '^ *+' conftest.er1 >conftest.err
23149 cat conftest.err >&5
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); } && {
23152 test -z "$ac_c_werror_flag" ||
23153 test ! -s conftest.err
23154 } && test -s conftest.$ac_objext; then
23157 cat >conftest.$ac_ext <<_ACEOF
23160 cat confdefs.h >>conftest.$ac_ext
23161 cat >>conftest.$ac_ext <<_ACEOF
23162 /* end confdefs.h. */
23163 $ac_includes_default
23164 typedef size_t ac__type_sizeof_;
23168 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23175 rm -f conftest.$ac_objext
23176 if { (ac_try="$ac_compile"
23177 case "(($ac_try" in
23178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23179 *) ac_try_echo=$ac_try;;
23181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23182 (eval "$ac_compile") 2>conftest.er1
23184 grep -v '^ *+' conftest.er1 >conftest.err
23186 cat conftest.err >&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } && {
23189 test -z "$ac_c_werror_flag" ||
23190 test ! -s conftest.err
23191 } && test -s conftest.$ac_objext; then
23192 ac_hi=$ac_mid; break
23194 echo "$as_me: failed program was:" >&5
23195 sed 's/^/| /' conftest.$ac_ext >&5
23197 ac_lo=`expr $ac_mid + 1`
23198 if test $ac_lo -le $ac_mid; then
23202 ac_mid=`expr 2 '*' $ac_mid + 1`
23205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23208 echo "$as_me: failed program was:" >&5
23209 sed 's/^/| /' conftest.$ac_ext >&5
23211 cat >conftest.$ac_ext <<_ACEOF
23214 cat confdefs.h >>conftest.$ac_ext
23215 cat >>conftest.$ac_ext <<_ACEOF
23216 /* end confdefs.h. */
23217 $ac_includes_default
23218 typedef size_t ac__type_sizeof_;
23222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23229 rm -f conftest.$ac_objext
23230 if { (ac_try="$ac_compile"
23231 case "(($ac_try" in
23232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23233 *) ac_try_echo=$ac_try;;
23235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23236 (eval "$ac_compile") 2>conftest.er1
23238 grep -v '^ *+' conftest.er1 >conftest.err
23240 cat conftest.err >&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } && {
23243 test -z "$ac_c_werror_flag" ||
23244 test ! -s conftest.err
23245 } && test -s conftest.$ac_objext; then
23248 cat >conftest.$ac_ext <<_ACEOF
23251 cat confdefs.h >>conftest.$ac_ext
23252 cat >>conftest.$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23254 $ac_includes_default
23255 typedef size_t ac__type_sizeof_;
23259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23266 rm -f conftest.$ac_objext
23267 if { (ac_try="$ac_compile"
23268 case "(($ac_try" in
23269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23270 *) ac_try_echo=$ac_try;;
23272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23273 (eval "$ac_compile") 2>conftest.er1
23275 grep -v '^ *+' conftest.er1 >conftest.err
23277 cat conftest.err >&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); } && {
23280 test -z "$ac_c_werror_flag" ||
23281 test ! -s conftest.err
23282 } && test -s conftest.$ac_objext; then
23283 ac_lo=$ac_mid; break
23285 echo "$as_me: failed program was:" >&5
23286 sed 's/^/| /' conftest.$ac_ext >&5
23288 ac_hi=`expr '(' $ac_mid ')' - 1`
23289 if test $ac_mid -le $ac_hi; then
23293 ac_mid=`expr 2 '*' $ac_mid`
23296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23299 echo "$as_me: failed program was:" >&5
23300 sed 's/^/| /' conftest.$ac_ext >&5
23305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23309 # Binary search between lo and hi bounds.
23310 while test "x$ac_lo" != "x$ac_hi"; do
23311 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23312 cat >conftest.$ac_ext <<_ACEOF
23315 cat confdefs.h >>conftest.$ac_ext
23316 cat >>conftest.$ac_ext <<_ACEOF
23317 /* end confdefs.h. */
23318 $ac_includes_default
23319 typedef size_t ac__type_sizeof_;
23323 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23330 rm -f conftest.$ac_objext
23331 if { (ac_try="$ac_compile"
23332 case "(($ac_try" in
23333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23334 *) ac_try_echo=$ac_try;;
23336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23337 (eval "$ac_compile") 2>conftest.er1
23339 grep -v '^ *+' conftest.er1 >conftest.err
23341 cat conftest.err >&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); } && {
23344 test -z "$ac_c_werror_flag" ||
23345 test ! -s conftest.err
23346 } && test -s conftest.$ac_objext; then
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.$ac_ext >&5
23352 ac_lo=`expr '(' $ac_mid ')' + 1`
23355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23358 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23359 '') if test "$ac_cv_type_size_t" = yes; then
23360 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23361 See \`config.log' for more details." >&5
23362 echo "$as_me: error: cannot compute sizeof (size_t)
23363 See \`config.log' for more details." >&2;}
23364 { (exit 77); exit 77; }; }
23366 ac_cv_sizeof_size_t=0
23370 cat >conftest.$ac_ext <<_ACEOF
23373 cat confdefs.h >>conftest.$ac_ext
23374 cat >>conftest.$ac_ext <<_ACEOF
23375 /* end confdefs.h. */
23376 $ac_includes_default
23377 typedef size_t ac__type_sizeof_;
23378 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23379 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23381 #include <stdlib.h>
23386 FILE *f = fopen ("conftest.val", "w");
23389 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23391 long int i = longval ();
23392 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23394 fprintf (f, "%ld\n", i);
23398 unsigned long int i = ulongval ();
23399 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23401 fprintf (f, "%lu\n", i);
23403 return ferror (f) || fclose (f) != 0;
23409 rm -f conftest$ac_exeext
23410 if { (ac_try="$ac_link"
23411 case "(($ac_try" in
23412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23413 *) ac_try_echo=$ac_try;;
23415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23416 (eval "$ac_link") 2>&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23420 { (case "(($ac_try" in
23421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23422 *) ac_try_echo=$ac_try;;
23424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23425 (eval "$ac_try") 2>&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); }; }; then
23429 ac_cv_sizeof_size_t=`cat conftest.val`
23431 echo "$as_me: program exited with status $ac_status" >&5
23432 echo "$as_me: failed program was:" >&5
23433 sed 's/^/| /' conftest.$ac_ext >&5
23435 ( exit $ac_status )
23436 if test "$ac_cv_type_size_t" = yes; then
23437 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23438 See \`config.log' for more details." >&5
23439 echo "$as_me: error: cannot compute sizeof (size_t)
23440 See \`config.log' for more details." >&2;}
23441 { (exit 77); exit 77; }; }
23443 ac_cv_sizeof_size_t=0
23446 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23450 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23451 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23455 cat >>confdefs.h <<_ACEOF
23456 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23463 { echo "$as_me:$LINENO: checking for long long" >&5
23464 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23465 if test "${ac_cv_type_long_long+set}" = set; then
23466 echo $ECHO_N "(cached) $ECHO_C" >&6
23468 cat >conftest.$ac_ext <<_ACEOF
23471 cat confdefs.h >>conftest.$ac_ext
23472 cat >>conftest.$ac_ext <<_ACEOF
23473 /* end confdefs.h. */
23474 $ac_includes_default
23475 typedef long long ac__type_new_;
23479 if ((ac__type_new_ *) 0)
23481 if (sizeof (ac__type_new_))
23487 rm -f conftest.$ac_objext
23488 if { (ac_try="$ac_compile"
23489 case "(($ac_try" in
23490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23491 *) ac_try_echo=$ac_try;;
23493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23494 (eval "$ac_compile") 2>conftest.er1
23496 grep -v '^ *+' conftest.er1 >conftest.err
23498 cat conftest.err >&5
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); } && {
23501 test -z "$ac_c_werror_flag" ||
23502 test ! -s conftest.err
23503 } && test -s conftest.$ac_objext; then
23504 ac_cv_type_long_long=yes
23506 echo "$as_me: failed program was:" >&5
23507 sed 's/^/| /' conftest.$ac_ext >&5
23509 ac_cv_type_long_long=no
23512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23514 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23515 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23517 # The cast to long int works around a bug in the HP C Compiler
23518 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23519 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23520 # This bug is HP SR number 8606223364.
23521 { echo "$as_me:$LINENO: checking size of long long" >&5
23522 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23523 if test "${ac_cv_sizeof_long_long+set}" = set; then
23524 echo $ECHO_N "(cached) $ECHO_C" >&6
23526 if test "$cross_compiling" = yes; then
23527 # Depending upon the size, compute the lo and hi bounds.
23528 cat >conftest.$ac_ext <<_ACEOF
23531 cat confdefs.h >>conftest.$ac_ext
23532 cat >>conftest.$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23534 $ac_includes_default
23535 typedef long long ac__type_sizeof_;
23539 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23546 rm -f conftest.$ac_objext
23547 if { (ac_try="$ac_compile"
23548 case "(($ac_try" in
23549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23550 *) ac_try_echo=$ac_try;;
23552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23553 (eval "$ac_compile") 2>conftest.er1
23555 grep -v '^ *+' conftest.er1 >conftest.err
23557 cat conftest.err >&5
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); } && {
23560 test -z "$ac_c_werror_flag" ||
23561 test ! -s conftest.err
23562 } && test -s conftest.$ac_objext; then
23565 cat >conftest.$ac_ext <<_ACEOF
23568 cat confdefs.h >>conftest.$ac_ext
23569 cat >>conftest.$ac_ext <<_ACEOF
23570 /* end confdefs.h. */
23571 $ac_includes_default
23572 typedef long long ac__type_sizeof_;
23576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23583 rm -f conftest.$ac_objext
23584 if { (ac_try="$ac_compile"
23585 case "(($ac_try" in
23586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23587 *) ac_try_echo=$ac_try;;
23589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23590 (eval "$ac_compile") 2>conftest.er1
23592 grep -v '^ *+' conftest.er1 >conftest.err
23594 cat conftest.err >&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); } && {
23597 test -z "$ac_c_werror_flag" ||
23598 test ! -s conftest.err
23599 } && test -s conftest.$ac_objext; then
23600 ac_hi=$ac_mid; break
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23605 ac_lo=`expr $ac_mid + 1`
23606 if test $ac_lo -le $ac_mid; then
23610 ac_mid=`expr 2 '*' $ac_mid + 1`
23613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23616 echo "$as_me: failed program was:" >&5
23617 sed 's/^/| /' conftest.$ac_ext >&5
23619 cat >conftest.$ac_ext <<_ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23625 $ac_includes_default
23626 typedef long long ac__type_sizeof_;
23630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23637 rm -f conftest.$ac_objext
23638 if { (ac_try="$ac_compile"
23639 case "(($ac_try" in
23640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23641 *) ac_try_echo=$ac_try;;
23643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_compile") 2>conftest.er1
23646 grep -v '^ *+' conftest.er1 >conftest.err
23648 cat conftest.err >&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } && {
23651 test -z "$ac_c_werror_flag" ||
23652 test ! -s conftest.err
23653 } && test -s conftest.$ac_objext; then
23656 cat >conftest.$ac_ext <<_ACEOF
23659 cat confdefs.h >>conftest.$ac_ext
23660 cat >>conftest.$ac_ext <<_ACEOF
23661 /* end confdefs.h. */
23662 $ac_includes_default
23663 typedef long long ac__type_sizeof_;
23667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23674 rm -f conftest.$ac_objext
23675 if { (ac_try="$ac_compile"
23676 case "(($ac_try" in
23677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23678 *) ac_try_echo=$ac_try;;
23680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23681 (eval "$ac_compile") 2>conftest.er1
23683 grep -v '^ *+' conftest.er1 >conftest.err
23685 cat conftest.err >&5
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); } && {
23688 test -z "$ac_c_werror_flag" ||
23689 test ! -s conftest.err
23690 } && test -s conftest.$ac_objext; then
23691 ac_lo=$ac_mid; break
23693 echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.$ac_ext >&5
23696 ac_hi=`expr '(' $ac_mid ')' - 1`
23697 if test $ac_mid -le $ac_hi; then
23701 ac_mid=`expr 2 '*' $ac_mid`
23704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23707 echo "$as_me: failed program was:" >&5
23708 sed 's/^/| /' conftest.$ac_ext >&5
23713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23717 # Binary search between lo and hi bounds.
23718 while test "x$ac_lo" != "x$ac_hi"; do
23719 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23720 cat >conftest.$ac_ext <<_ACEOF
23723 cat confdefs.h >>conftest.$ac_ext
23724 cat >>conftest.$ac_ext <<_ACEOF
23725 /* end confdefs.h. */
23726 $ac_includes_default
23727 typedef long long ac__type_sizeof_;
23731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23738 rm -f conftest.$ac_objext
23739 if { (ac_try="$ac_compile"
23740 case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_compile") 2>conftest.er1
23747 grep -v '^ *+' conftest.er1 >conftest.err
23749 cat conftest.err >&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); } && {
23752 test -z "$ac_c_werror_flag" ||
23753 test ! -s conftest.err
23754 } && test -s conftest.$ac_objext; then
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.$ac_ext >&5
23760 ac_lo=`expr '(' $ac_mid ')' + 1`
23763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23766 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23767 '') if test "$ac_cv_type_long_long" = yes; then
23768 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23769 See \`config.log' for more details." >&5
23770 echo "$as_me: error: cannot compute sizeof (long long)
23771 See \`config.log' for more details." >&2;}
23772 { (exit 77); exit 77; }; }
23774 ac_cv_sizeof_long_long=0
23778 cat >conftest.$ac_ext <<_ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23784 $ac_includes_default
23785 typedef long long ac__type_sizeof_;
23786 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23787 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23789 #include <stdlib.h>
23794 FILE *f = fopen ("conftest.val", "w");
23797 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23799 long int i = longval ();
23800 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23802 fprintf (f, "%ld\n", i);
23806 unsigned long int i = ulongval ();
23807 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23809 fprintf (f, "%lu\n", i);
23811 return ferror (f) || fclose (f) != 0;
23817 rm -f conftest$ac_exeext
23818 if { (ac_try="$ac_link"
23819 case "(($ac_try" in
23820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23821 *) ac_try_echo=$ac_try;;
23823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23824 (eval "$ac_link") 2>&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23828 { (case "(($ac_try" in
23829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23830 *) ac_try_echo=$ac_try;;
23832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23833 (eval "$ac_try") 2>&5
23835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836 (exit $ac_status); }; }; then
23837 ac_cv_sizeof_long_long=`cat conftest.val`
23839 echo "$as_me: program exited with status $ac_status" >&5
23840 echo "$as_me: failed program was:" >&5
23841 sed 's/^/| /' conftest.$ac_ext >&5
23843 ( exit $ac_status )
23844 if test "$ac_cv_type_long_long" = yes; then
23845 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23846 See \`config.log' for more details." >&5
23847 echo "$as_me: error: cannot compute sizeof (long long)
23848 See \`config.log' for more details." >&2;}
23849 { (exit 77); exit 77; }; }
23851 ac_cv_sizeof_long_long=0
23854 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23858 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23859 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23863 cat >>confdefs.h <<_ACEOF
23864 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23870 { echo "$as_me:$LINENO: checking for long long" >&5
23871 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23872 if test "${ac_cv_type_long_long+set}" = set; then
23873 echo $ECHO_N "(cached) $ECHO_C" >&6
23875 cat >conftest.$ac_ext <<_ACEOF
23878 cat confdefs.h >>conftest.$ac_ext
23879 cat >>conftest.$ac_ext <<_ACEOF
23880 /* end confdefs.h. */
23881 $ac_includes_default
23882 typedef long long ac__type_new_;
23886 if ((ac__type_new_ *) 0)
23888 if (sizeof (ac__type_new_))
23894 rm -f conftest.$ac_objext
23895 if { (ac_try="$ac_compile"
23896 case "(($ac_try" in
23897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23898 *) ac_try_echo=$ac_try;;
23900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23901 (eval "$ac_compile") 2>conftest.er1
23903 grep -v '^ *+' conftest.er1 >conftest.err
23905 cat conftest.err >&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); } && {
23908 test -z "$ac_c_werror_flag" ||
23909 test ! -s conftest.err
23910 } && test -s conftest.$ac_objext; then
23911 ac_cv_type_long_long=yes
23913 echo "$as_me: failed program was:" >&5
23914 sed 's/^/| /' conftest.$ac_ext >&5
23916 ac_cv_type_long_long=no
23919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23921 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23922 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23924 # The cast to long int works around a bug in the HP C Compiler
23925 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23926 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23927 # This bug is HP SR number 8606223364.
23928 { echo "$as_me:$LINENO: checking size of long long" >&5
23929 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23930 if test "${ac_cv_sizeof_long_long+set}" = set; then
23931 echo $ECHO_N "(cached) $ECHO_C" >&6
23933 if test "$cross_compiling" = yes; then
23934 # Depending upon the size, compute the lo and hi bounds.
23935 cat >conftest.$ac_ext <<_ACEOF
23938 cat confdefs.h >>conftest.$ac_ext
23939 cat >>conftest.$ac_ext <<_ACEOF
23940 /* end confdefs.h. */
23941 $ac_includes_default
23942 typedef long long ac__type_sizeof_;
23946 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23953 rm -f conftest.$ac_objext
23954 if { (ac_try="$ac_compile"
23955 case "(($ac_try" in
23956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23957 *) ac_try_echo=$ac_try;;
23959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23960 (eval "$ac_compile") 2>conftest.er1
23962 grep -v '^ *+' conftest.er1 >conftest.err
23964 cat conftest.err >&5
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); } && {
23967 test -z "$ac_c_werror_flag" ||
23968 test ! -s conftest.err
23969 } && test -s conftest.$ac_objext; then
23972 cat >conftest.$ac_ext <<_ACEOF
23975 cat confdefs.h >>conftest.$ac_ext
23976 cat >>conftest.$ac_ext <<_ACEOF
23977 /* end confdefs.h. */
23978 $ac_includes_default
23979 typedef long long ac__type_sizeof_;
23983 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23990 rm -f conftest.$ac_objext
23991 if { (ac_try="$ac_compile"
23992 case "(($ac_try" in
23993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23994 *) ac_try_echo=$ac_try;;
23996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23997 (eval "$ac_compile") 2>conftest.er1
23999 grep -v '^ *+' conftest.er1 >conftest.err
24001 cat conftest.err >&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); } && {
24004 test -z "$ac_c_werror_flag" ||
24005 test ! -s conftest.err
24006 } && test -s conftest.$ac_objext; then
24007 ac_hi=$ac_mid; break
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24012 ac_lo=`expr $ac_mid + 1`
24013 if test $ac_lo -le $ac_mid; then
24017 ac_mid=`expr 2 '*' $ac_mid + 1`
24020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 echo "$as_me: failed program was:" >&5
24024 sed 's/^/| /' conftest.$ac_ext >&5
24026 cat >conftest.$ac_ext <<_ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24032 $ac_includes_default
24033 typedef long long ac__type_sizeof_;
24037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24044 rm -f conftest.$ac_objext
24045 if { (ac_try="$ac_compile"
24046 case "(($ac_try" in
24047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24048 *) ac_try_echo=$ac_try;;
24050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24051 (eval "$ac_compile") 2>conftest.er1
24053 grep -v '^ *+' conftest.er1 >conftest.err
24055 cat conftest.err >&5
24056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24057 (exit $ac_status); } && {
24058 test -z "$ac_c_werror_flag" ||
24059 test ! -s conftest.err
24060 } && test -s conftest.$ac_objext; then
24063 cat >conftest.$ac_ext <<_ACEOF
24066 cat confdefs.h >>conftest.$ac_ext
24067 cat >>conftest.$ac_ext <<_ACEOF
24068 /* end confdefs.h. */
24069 $ac_includes_default
24070 typedef long long ac__type_sizeof_;
24074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24081 rm -f conftest.$ac_objext
24082 if { (ac_try="$ac_compile"
24083 case "(($ac_try" in
24084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24085 *) ac_try_echo=$ac_try;;
24087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24088 (eval "$ac_compile") 2>conftest.er1
24090 grep -v '^ *+' conftest.er1 >conftest.err
24092 cat conftest.err >&5
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); } && {
24095 test -z "$ac_c_werror_flag" ||
24096 test ! -s conftest.err
24097 } && test -s conftest.$ac_objext; then
24098 ac_lo=$ac_mid; break
24100 echo "$as_me: failed program was:" >&5
24101 sed 's/^/| /' conftest.$ac_ext >&5
24103 ac_hi=`expr '(' $ac_mid ')' - 1`
24104 if test $ac_mid -le $ac_hi; then
24108 ac_mid=`expr 2 '*' $ac_mid`
24111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24114 echo "$as_me: failed program was:" >&5
24115 sed 's/^/| /' conftest.$ac_ext >&5
24120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24124 # Binary search between lo and hi bounds.
24125 while test "x$ac_lo" != "x$ac_hi"; do
24126 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24127 cat >conftest.$ac_ext <<_ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24133 $ac_includes_default
24134 typedef long long ac__type_sizeof_;
24138 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24145 rm -f conftest.$ac_objext
24146 if { (ac_try="$ac_compile"
24147 case "(($ac_try" in
24148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24149 *) ac_try_echo=$ac_try;;
24151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24152 (eval "$ac_compile") 2>conftest.er1
24154 grep -v '^ *+' conftest.er1 >conftest.err
24156 cat conftest.err >&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); } && {
24159 test -z "$ac_c_werror_flag" ||
24160 test ! -s conftest.err
24161 } && test -s conftest.$ac_objext; then
24164 echo "$as_me: failed program was:" >&5
24165 sed 's/^/| /' conftest.$ac_ext >&5
24167 ac_lo=`expr '(' $ac_mid ')' + 1`
24170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24174 '') if test "$ac_cv_type_long_long" = yes; then
24175 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24176 See \`config.log' for more details." >&5
24177 echo "$as_me: error: cannot compute sizeof (long long)
24178 See \`config.log' for more details." >&2;}
24179 { (exit 77); exit 77; }; }
24181 ac_cv_sizeof_long_long=0
24185 cat >conftest.$ac_ext <<_ACEOF
24188 cat confdefs.h >>conftest.$ac_ext
24189 cat >>conftest.$ac_ext <<_ACEOF
24190 /* end confdefs.h. */
24191 $ac_includes_default
24192 typedef long long ac__type_sizeof_;
24193 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24194 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24196 #include <stdlib.h>
24201 FILE *f = fopen ("conftest.val", "w");
24204 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24206 long int i = longval ();
24207 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24209 fprintf (f, "%ld\n", i);
24213 unsigned long int i = ulongval ();
24214 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24216 fprintf (f, "%lu\n", i);
24218 return ferror (f) || fclose (f) != 0;
24224 rm -f conftest$ac_exeext
24225 if { (ac_try="$ac_link"
24226 case "(($ac_try" in
24227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24228 *) ac_try_echo=$ac_try;;
24230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24231 (eval "$ac_link") 2>&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24235 { (case "(($ac_try" in
24236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24237 *) ac_try_echo=$ac_try;;
24239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24240 (eval "$ac_try") 2>&5
24242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24243 (exit $ac_status); }; }; then
24244 ac_cv_sizeof_long_long=`cat conftest.val`
24246 echo "$as_me: program exited with status $ac_status" >&5
24247 echo "$as_me: failed program was:" >&5
24248 sed 's/^/| /' conftest.$ac_ext >&5
24250 ( exit $ac_status )
24251 if test "$ac_cv_type_long_long" = yes; then
24252 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24253 See \`config.log' for more details." >&5
24254 echo "$as_me: error: cannot compute sizeof (long long)
24255 See \`config.log' for more details." >&2;}
24256 { (exit 77); exit 77; }; }
24258 ac_cv_sizeof_long_long=0
24261 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24265 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24266 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24270 cat >>confdefs.h <<_ACEOF
24271 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24275 if test "$ac_cv_sizeof_long_long" != "0"; then
24276 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24280 { echo "$as_me:$LINENO: checking for long long" >&5
24281 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24282 if test "${ac_cv_type_long_long+set}" = set; then
24283 echo $ECHO_N "(cached) $ECHO_C" >&6
24285 cat >conftest.$ac_ext <<_ACEOF
24288 cat confdefs.h >>conftest.$ac_ext
24289 cat >>conftest.$ac_ext <<_ACEOF
24290 /* end confdefs.h. */
24291 $ac_includes_default
24292 typedef long long ac__type_new_;
24296 if ((ac__type_new_ *) 0)
24298 if (sizeof (ac__type_new_))
24304 rm -f conftest.$ac_objext
24305 if { (ac_try="$ac_compile"
24306 case "(($ac_try" in
24307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24308 *) ac_try_echo=$ac_try;;
24310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24311 (eval "$ac_compile") 2>conftest.er1
24313 grep -v '^ *+' conftest.er1 >conftest.err
24315 cat conftest.err >&5
24316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 (exit $ac_status); } && {
24318 test -z "$ac_c_werror_flag" ||
24319 test ! -s conftest.err
24320 } && test -s conftest.$ac_objext; then
24321 ac_cv_type_long_long=yes
24323 echo "$as_me: failed program was:" >&5
24324 sed 's/^/| /' conftest.$ac_ext >&5
24326 ac_cv_type_long_long=no
24329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24331 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24332 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24334 # The cast to long int works around a bug in the HP C Compiler
24335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24337 # This bug is HP SR number 8606223364.
24338 { echo "$as_me:$LINENO: checking size of long long" >&5
24339 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24340 if test "${ac_cv_sizeof_long_long+set}" = set; then
24341 echo $ECHO_N "(cached) $ECHO_C" >&6
24343 if test "$cross_compiling" = yes; then
24344 # Depending upon the size, compute the lo and hi bounds.
24345 cat >conftest.$ac_ext <<_ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24351 $ac_includes_default
24352 typedef long long ac__type_sizeof_;
24356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24363 rm -f conftest.$ac_objext
24364 if { (ac_try="$ac_compile"
24365 case "(($ac_try" in
24366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24367 *) ac_try_echo=$ac_try;;
24369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24370 (eval "$ac_compile") 2>conftest.er1
24372 grep -v '^ *+' conftest.er1 >conftest.err
24374 cat conftest.err >&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } && {
24377 test -z "$ac_c_werror_flag" ||
24378 test ! -s conftest.err
24379 } && test -s conftest.$ac_objext; then
24382 cat >conftest.$ac_ext <<_ACEOF
24385 cat confdefs.h >>conftest.$ac_ext
24386 cat >>conftest.$ac_ext <<_ACEOF
24387 /* end confdefs.h. */
24388 $ac_includes_default
24389 typedef long long ac__type_sizeof_;
24393 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24400 rm -f conftest.$ac_objext
24401 if { (ac_try="$ac_compile"
24402 case "(($ac_try" in
24403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24404 *) ac_try_echo=$ac_try;;
24406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24407 (eval "$ac_compile") 2>conftest.er1
24409 grep -v '^ *+' conftest.er1 >conftest.err
24411 cat conftest.err >&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); } && {
24414 test -z "$ac_c_werror_flag" ||
24415 test ! -s conftest.err
24416 } && test -s conftest.$ac_objext; then
24417 ac_hi=$ac_mid; break
24419 echo "$as_me: failed program was:" >&5
24420 sed 's/^/| /' conftest.$ac_ext >&5
24422 ac_lo=`expr $ac_mid + 1`
24423 if test $ac_lo -le $ac_mid; then
24427 ac_mid=`expr 2 '*' $ac_mid + 1`
24430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.$ac_ext >&5
24436 cat >conftest.$ac_ext <<_ACEOF
24439 cat confdefs.h >>conftest.$ac_ext
24440 cat >>conftest.$ac_ext <<_ACEOF
24441 /* end confdefs.h. */
24442 $ac_includes_default
24443 typedef long long ac__type_sizeof_;
24447 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24454 rm -f conftest.$ac_objext
24455 if { (ac_try="$ac_compile"
24456 case "(($ac_try" in
24457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24458 *) ac_try_echo=$ac_try;;
24460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24461 (eval "$ac_compile") 2>conftest.er1
24463 grep -v '^ *+' conftest.er1 >conftest.err
24465 cat conftest.err >&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); } && {
24468 test -z "$ac_c_werror_flag" ||
24469 test ! -s conftest.err
24470 } && test -s conftest.$ac_objext; then
24473 cat >conftest.$ac_ext <<_ACEOF
24476 cat confdefs.h >>conftest.$ac_ext
24477 cat >>conftest.$ac_ext <<_ACEOF
24478 /* end confdefs.h. */
24479 $ac_includes_default
24480 typedef long long ac__type_sizeof_;
24484 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24491 rm -f conftest.$ac_objext
24492 if { (ac_try="$ac_compile"
24493 case "(($ac_try" in
24494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24495 *) ac_try_echo=$ac_try;;
24497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24498 (eval "$ac_compile") 2>conftest.er1
24500 grep -v '^ *+' conftest.er1 >conftest.err
24502 cat conftest.err >&5
24503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24504 (exit $ac_status); } && {
24505 test -z "$ac_c_werror_flag" ||
24506 test ! -s conftest.err
24507 } && test -s conftest.$ac_objext; then
24508 ac_lo=$ac_mid; break
24510 echo "$as_me: failed program was:" >&5
24511 sed 's/^/| /' conftest.$ac_ext >&5
24513 ac_hi=`expr '(' $ac_mid ')' - 1`
24514 if test $ac_mid -le $ac_hi; then
24518 ac_mid=`expr 2 '*' $ac_mid`
24521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524 echo "$as_me: failed program was:" >&5
24525 sed 's/^/| /' conftest.$ac_ext >&5
24530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24534 # Binary search between lo and hi bounds.
24535 while test "x$ac_lo" != "x$ac_hi"; do
24536 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24537 cat >conftest.$ac_ext <<_ACEOF
24540 cat confdefs.h >>conftest.$ac_ext
24541 cat >>conftest.$ac_ext <<_ACEOF
24542 /* end confdefs.h. */
24543 $ac_includes_default
24544 typedef long long ac__type_sizeof_;
24548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24555 rm -f conftest.$ac_objext
24556 if { (ac_try="$ac_compile"
24557 case "(($ac_try" in
24558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24559 *) ac_try_echo=$ac_try;;
24561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24562 (eval "$ac_compile") 2>conftest.er1
24564 grep -v '^ *+' conftest.er1 >conftest.err
24566 cat conftest.err >&5
24567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568 (exit $ac_status); } && {
24569 test -z "$ac_c_werror_flag" ||
24570 test ! -s conftest.err
24571 } && test -s conftest.$ac_objext; then
24574 echo "$as_me: failed program was:" >&5
24575 sed 's/^/| /' conftest.$ac_ext >&5
24577 ac_lo=`expr '(' $ac_mid ')' + 1`
24580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24583 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24584 '') if test "$ac_cv_type_long_long" = yes; then
24585 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24586 See \`config.log' for more details." >&5
24587 echo "$as_me: error: cannot compute sizeof (long long)
24588 See \`config.log' for more details." >&2;}
24589 { (exit 77); exit 77; }; }
24591 ac_cv_sizeof_long_long=0
24595 cat >conftest.$ac_ext <<_ACEOF
24598 cat confdefs.h >>conftest.$ac_ext
24599 cat >>conftest.$ac_ext <<_ACEOF
24600 /* end confdefs.h. */
24601 $ac_includes_default
24602 typedef long long ac__type_sizeof_;
24603 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24604 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24606 #include <stdlib.h>
24611 FILE *f = fopen ("conftest.val", "w");
24614 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24616 long int i = longval ();
24617 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24619 fprintf (f, "%ld\n", i);
24623 unsigned long int i = ulongval ();
24624 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24626 fprintf (f, "%lu\n", i);
24628 return ferror (f) || fclose (f) != 0;
24634 rm -f conftest$ac_exeext
24635 if { (ac_try="$ac_link"
24636 case "(($ac_try" in
24637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24638 *) ac_try_echo=$ac_try;;
24640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24641 (eval "$ac_link") 2>&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24645 { (case "(($ac_try" in
24646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24647 *) ac_try_echo=$ac_try;;
24649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24650 (eval "$ac_try") 2>&5
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); }; }; then
24654 ac_cv_sizeof_long_long=`cat conftest.val`
24656 echo "$as_me: program exited with status $ac_status" >&5
24657 echo "$as_me: failed program was:" >&5
24658 sed 's/^/| /' conftest.$ac_ext >&5
24660 ( exit $ac_status )
24661 if test "$ac_cv_type_long_long" = yes; then
24662 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24663 See \`config.log' for more details." >&5
24664 echo "$as_me: error: cannot compute sizeof (long long)
24665 See \`config.log' for more details." >&2;}
24666 { (exit 77); exit 77; }; }
24668 ac_cv_sizeof_long_long=0
24671 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24675 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24676 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24680 cat >>confdefs.h <<_ACEOF
24681 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24687 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24688 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24689 if test "${ac_cv_type_wchar_t+set}" = set; then
24690 echo $ECHO_N "(cached) $ECHO_C" >&6
24692 cat >conftest.$ac_ext <<_ACEOF
24695 cat confdefs.h >>conftest.$ac_ext
24696 cat >>conftest.$ac_ext <<_ACEOF
24697 /* end confdefs.h. */
24699 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24700 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24701 # error "fake wchar_t"
24703 #ifdef HAVE_WCHAR_H
24705 # include <stddef.h>
24707 # include <wchar.h>
24709 #ifdef HAVE_STDLIB_H
24710 # include <stdlib.h>
24716 typedef wchar_t ac__type_new_;
24720 if ((ac__type_new_ *) 0)
24722 if (sizeof (ac__type_new_))
24728 rm -f conftest.$ac_objext
24729 if { (ac_try="$ac_compile"
24730 case "(($ac_try" in
24731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24732 *) ac_try_echo=$ac_try;;
24734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24735 (eval "$ac_compile") 2>conftest.er1
24737 grep -v '^ *+' conftest.er1 >conftest.err
24739 cat conftest.err >&5
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); } && {
24742 test -z "$ac_c_werror_flag" ||
24743 test ! -s conftest.err
24744 } && test -s conftest.$ac_objext; then
24745 ac_cv_type_wchar_t=yes
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.$ac_ext >&5
24750 ac_cv_type_wchar_t=no
24753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24755 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24756 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24758 # The cast to long int works around a bug in the HP C Compiler
24759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24761 # This bug is HP SR number 8606223364.
24762 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24763 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24764 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24765 echo $ECHO_N "(cached) $ECHO_C" >&6
24767 if test "$cross_compiling" = yes; then
24768 # Depending upon the size, compute the lo and hi bounds.
24769 cat >conftest.$ac_ext <<_ACEOF
24772 cat confdefs.h >>conftest.$ac_ext
24773 cat >>conftest.$ac_ext <<_ACEOF
24774 /* end confdefs.h. */
24776 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24777 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24778 # error "fake wchar_t"
24780 #ifdef HAVE_WCHAR_H
24782 # include <stddef.h>
24784 # include <wchar.h>
24786 #ifdef HAVE_STDLIB_H
24787 # include <stdlib.h>
24793 typedef wchar_t ac__type_sizeof_;
24797 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24804 rm -f conftest.$ac_objext
24805 if { (ac_try="$ac_compile"
24806 case "(($ac_try" in
24807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24808 *) ac_try_echo=$ac_try;;
24810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24811 (eval "$ac_compile") 2>conftest.er1
24813 grep -v '^ *+' conftest.er1 >conftest.err
24815 cat conftest.err >&5
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); } && {
24818 test -z "$ac_c_werror_flag" ||
24819 test ! -s conftest.err
24820 } && test -s conftest.$ac_objext; then
24823 cat >conftest.$ac_ext <<_ACEOF
24826 cat confdefs.h >>conftest.$ac_ext
24827 cat >>conftest.$ac_ext <<_ACEOF
24828 /* end confdefs.h. */
24830 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24831 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24832 # error "fake wchar_t"
24834 #ifdef HAVE_WCHAR_H
24836 # include <stddef.h>
24838 # include <wchar.h>
24840 #ifdef HAVE_STDLIB_H
24841 # include <stdlib.h>
24847 typedef wchar_t ac__type_sizeof_;
24851 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24858 rm -f conftest.$ac_objext
24859 if { (ac_try="$ac_compile"
24860 case "(($ac_try" in
24861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24862 *) ac_try_echo=$ac_try;;
24864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24865 (eval "$ac_compile") 2>conftest.er1
24867 grep -v '^ *+' conftest.er1 >conftest.err
24869 cat conftest.err >&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); } && {
24872 test -z "$ac_c_werror_flag" ||
24873 test ! -s conftest.err
24874 } && test -s conftest.$ac_objext; then
24875 ac_hi=$ac_mid; break
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.$ac_ext >&5
24880 ac_lo=`expr $ac_mid + 1`
24881 if test $ac_lo -le $ac_mid; then
24885 ac_mid=`expr 2 '*' $ac_mid + 1`
24888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24891 echo "$as_me: failed program was:" >&5
24892 sed 's/^/| /' conftest.$ac_ext >&5
24894 cat >conftest.$ac_ext <<_ACEOF
24897 cat confdefs.h >>conftest.$ac_ext
24898 cat >>conftest.$ac_ext <<_ACEOF
24899 /* end confdefs.h. */
24901 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24902 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24903 # error "fake wchar_t"
24905 #ifdef HAVE_WCHAR_H
24907 # include <stddef.h>
24909 # include <wchar.h>
24911 #ifdef HAVE_STDLIB_H
24912 # include <stdlib.h>
24918 typedef wchar_t ac__type_sizeof_;
24922 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24929 rm -f conftest.$ac_objext
24930 if { (ac_try="$ac_compile"
24931 case "(($ac_try" in
24932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24933 *) ac_try_echo=$ac_try;;
24935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24936 (eval "$ac_compile") 2>conftest.er1
24938 grep -v '^ *+' conftest.er1 >conftest.err
24940 cat conftest.err >&5
24941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24942 (exit $ac_status); } && {
24943 test -z "$ac_c_werror_flag" ||
24944 test ! -s conftest.err
24945 } && test -s conftest.$ac_objext; then
24948 cat >conftest.$ac_ext <<_ACEOF
24951 cat confdefs.h >>conftest.$ac_ext
24952 cat >>conftest.$ac_ext <<_ACEOF
24953 /* end confdefs.h. */
24955 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24956 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24957 # error "fake wchar_t"
24959 #ifdef HAVE_WCHAR_H
24961 # include <stddef.h>
24963 # include <wchar.h>
24965 #ifdef HAVE_STDLIB_H
24966 # include <stdlib.h>
24972 typedef wchar_t ac__type_sizeof_;
24976 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24983 rm -f conftest.$ac_objext
24984 if { (ac_try="$ac_compile"
24985 case "(($ac_try" in
24986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24987 *) ac_try_echo=$ac_try;;
24989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24990 (eval "$ac_compile") 2>conftest.er1
24992 grep -v '^ *+' conftest.er1 >conftest.err
24994 cat conftest.err >&5
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); } && {
24997 test -z "$ac_c_werror_flag" ||
24998 test ! -s conftest.err
24999 } && test -s conftest.$ac_objext; then
25000 ac_lo=$ac_mid; break
25002 echo "$as_me: failed program was:" >&5
25003 sed 's/^/| /' conftest.$ac_ext >&5
25005 ac_hi=`expr '(' $ac_mid ')' - 1`
25006 if test $ac_mid -le $ac_hi; then
25010 ac_mid=`expr 2 '*' $ac_mid`
25013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25016 echo "$as_me: failed program was:" >&5
25017 sed 's/^/| /' conftest.$ac_ext >&5
25022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25026 # Binary search between lo and hi bounds.
25027 while test "x$ac_lo" != "x$ac_hi"; do
25028 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25029 cat >conftest.$ac_ext <<_ACEOF
25032 cat confdefs.h >>conftest.$ac_ext
25033 cat >>conftest.$ac_ext <<_ACEOF
25034 /* end confdefs.h. */
25036 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25037 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25038 # error "fake wchar_t"
25040 #ifdef HAVE_WCHAR_H
25042 # include <stddef.h>
25044 # include <wchar.h>
25046 #ifdef HAVE_STDLIB_H
25047 # include <stdlib.h>
25053 typedef wchar_t ac__type_sizeof_;
25057 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25064 rm -f conftest.$ac_objext
25065 if { (ac_try="$ac_compile"
25066 case "(($ac_try" in
25067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25068 *) ac_try_echo=$ac_try;;
25070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25071 (eval "$ac_compile") 2>conftest.er1
25073 grep -v '^ *+' conftest.er1 >conftest.err
25075 cat conftest.err >&5
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); } && {
25078 test -z "$ac_c_werror_flag" ||
25079 test ! -s conftest.err
25080 } && test -s conftest.$ac_objext; then
25083 echo "$as_me: failed program was:" >&5
25084 sed 's/^/| /' conftest.$ac_ext >&5
25086 ac_lo=`expr '(' $ac_mid ')' + 1`
25089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25092 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25093 '') if test "$ac_cv_type_wchar_t" = yes; then
25094 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25095 See \`config.log' for more details." >&5
25096 echo "$as_me: error: cannot compute sizeof (wchar_t)
25097 See \`config.log' for more details." >&2;}
25098 { (exit 77); exit 77; }; }
25100 ac_cv_sizeof_wchar_t=0
25104 cat >conftest.$ac_ext <<_ACEOF
25107 cat confdefs.h >>conftest.$ac_ext
25108 cat >>conftest.$ac_ext <<_ACEOF
25109 /* end confdefs.h. */
25111 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25112 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25113 # error "fake wchar_t"
25115 #ifdef HAVE_WCHAR_H
25117 # include <stddef.h>
25119 # include <wchar.h>
25121 #ifdef HAVE_STDLIB_H
25122 # include <stdlib.h>
25128 typedef wchar_t ac__type_sizeof_;
25129 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25130 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25132 #include <stdlib.h>
25137 FILE *f = fopen ("conftest.val", "w");
25140 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25142 long int i = longval ();
25143 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25145 fprintf (f, "%ld\n", i);
25149 unsigned long int i = ulongval ();
25150 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25152 fprintf (f, "%lu\n", i);
25154 return ferror (f) || fclose (f) != 0;
25160 rm -f conftest$ac_exeext
25161 if { (ac_try="$ac_link"
25162 case "(($ac_try" in
25163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25164 *) ac_try_echo=$ac_try;;
25166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25167 (eval "$ac_link") 2>&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25171 { (case "(($ac_try" in
25172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25173 *) ac_try_echo=$ac_try;;
25175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25176 (eval "$ac_try") 2>&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); }; }; then
25180 ac_cv_sizeof_wchar_t=`cat conftest.val`
25182 echo "$as_me: program exited with status $ac_status" >&5
25183 echo "$as_me: failed program was:" >&5
25184 sed 's/^/| /' conftest.$ac_ext >&5
25186 ( exit $ac_status )
25187 if test "$ac_cv_type_wchar_t" = yes; then
25188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25189 See \`config.log' for more details." >&5
25190 echo "$as_me: error: cannot compute sizeof (wchar_t)
25191 See \`config.log' for more details." >&2;}
25192 { (exit 77); exit 77; }; }
25194 ac_cv_sizeof_wchar_t=0
25197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25201 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25202 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25206 cat >>confdefs.h <<_ACEOF
25207 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25211 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25217 { echo "$as_me:$LINENO: checking for va_copy" >&5
25218 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25219 if test "${wx_cv_func_va_copy+set}" = set; then
25220 echo $ECHO_N "(cached) $ECHO_C" >&6
25224 ac_cpp='$CXXCPP $CPPFLAGS'
25225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25229 cat >conftest.$ac_ext <<_ACEOF
25231 #include <stdarg.h>
25232 void foo(char *f, ...)
25246 rm -f conftest.$ac_objext conftest$ac_exeext
25247 if { (ac_try="$ac_link"
25248 case "(($ac_try" in
25249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25250 *) ac_try_echo=$ac_try;;
25252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25253 (eval "$ac_link") 2>conftest.er1
25255 grep -v '^ *+' conftest.er1 >conftest.err
25257 cat conftest.err >&5
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); } && {
25260 test -z "$ac_cxx_werror_flag" ||
25261 test ! -s conftest.err
25262 } && test -s conftest$ac_exeext &&
25263 $as_test_x conftest$ac_exeext; then
25264 wx_cv_func_va_copy=yes
25266 echo "$as_me: failed program was:" >&5
25267 sed 's/^/| /' conftest.$ac_ext >&5
25269 wx_cv_func_va_copy=no
25273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25274 conftest$ac_exeext conftest.$ac_ext
25276 ac_cpp='$CPP $CPPFLAGS'
25277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25284 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25285 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25287 if test $wx_cv_func_va_copy = "yes"; then
25288 cat >>confdefs.h <<\_ACEOF
25289 #define HAVE_VA_COPY 1
25293 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25294 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25295 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25296 echo $ECHO_N "(cached) $ECHO_C" >&6
25299 if test "$cross_compiling" = yes; then
25300 wx_cv_type_va_list_lvalue=yes
25303 cat >conftest.$ac_ext <<_ACEOF
25305 #include <stdarg.h>
25306 int foo(char *f, ...)
25311 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25319 return foo("hi", 17);
25322 rm -f conftest$ac_exeext
25323 if { (ac_try="$ac_link"
25324 case "(($ac_try" in
25325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25326 *) ac_try_echo=$ac_try;;
25328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25329 (eval "$ac_link") 2>&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25333 { (case "(($ac_try" in
25334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25335 *) ac_try_echo=$ac_try;;
25337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25338 (eval "$ac_try") 2>&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); }; }; then
25342 wx_cv_type_va_list_lvalue=yes
25344 echo "$as_me: program exited with status $ac_status" >&5
25345 echo "$as_me: failed program was:" >&5
25346 sed 's/^/| /' conftest.$ac_ext >&5
25348 ( exit $ac_status )
25349 wx_cv_type_va_list_lvalue=no
25351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25358 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25359 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25361 if test $wx_cv_type_va_list_lvalue != "yes"; then
25362 cat >>confdefs.h <<\_ACEOF
25363 #define VA_LIST_IS_ARRAY 1
25369 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25371 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25372 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25373 if test "${wx_cv_have_variadic_macros+set}" = set; then
25374 echo $ECHO_N "(cached) $ECHO_C" >&6
25378 ac_cpp='$CXXCPP $CPPFLAGS'
25379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25383 cat >conftest.$ac_ext <<_ACEOF
25386 cat confdefs.h >>conftest.$ac_ext
25387 cat >>conftest.$ac_ext <<_ACEOF
25388 /* end confdefs.h. */
25391 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25397 test("%s %d %p", "test", 1, 0);
25404 rm -f conftest.$ac_objext
25405 if { (ac_try="$ac_compile"
25406 case "(($ac_try" in
25407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25408 *) ac_try_echo=$ac_try;;
25410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25411 (eval "$ac_compile") 2>conftest.er1
25413 grep -v '^ *+' conftest.er1 >conftest.err
25415 cat conftest.err >&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } && {
25418 test -z "$ac_cxx_werror_flag" ||
25419 test ! -s conftest.err
25420 } && test -s conftest.$ac_objext; then
25421 wx_cv_have_variadic_macros=yes
25423 echo "$as_me: failed program was:" >&5
25424 sed 's/^/| /' conftest.$ac_ext >&5
25426 wx_cv_have_variadic_macros=no
25430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25432 ac_cpp='$CPP $CPPFLAGS'
25433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25440 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25441 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25443 if test $wx_cv_have_variadic_macros = "yes"; then
25444 cat >>confdefs.h <<\_ACEOF
25445 #define HAVE_VARIADIC_MACROS 1
25451 # Check whether --enable-largefile was given.
25452 if test "${enable_largefile+set}" = set; then
25453 enableval=$enable_largefile;
25456 if test "$enable_largefile" != no; then
25459 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25460 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25461 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25465 cat >conftest.$ac_ext <<_ACEOF
25468 cat confdefs.h >>conftest.$ac_ext
25469 cat >>conftest.$ac_ext <<_ACEOF
25470 /* end confdefs.h. */
25471 #define _FILE_OFFSET_BITS 64
25472 #include <sys/types.h>
25477 unsigned int field: sizeof(off_t) == 8;
25484 rm -f conftest.$ac_objext
25485 if { (ac_try="$ac_compile"
25486 case "(($ac_try" in
25487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25488 *) ac_try_echo=$ac_try;;
25490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25491 (eval "$ac_compile") 2>conftest.er1
25493 grep -v '^ *+' conftest.er1 >conftest.err
25495 cat conftest.err >&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } && {
25498 test -z "$ac_c_werror_flag" ||
25499 test ! -s conftest.err
25500 } && test -s conftest.$ac_objext; then
25501 ac_cv_sys_file_offset_bits=64
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25506 ac_cv_sys_file_offset_bits=no
25509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25513 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25514 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25516 if test "$ac_cv_sys_file_offset_bits" != no; then
25518 cat >>confdefs.h <<_ACEOF
25519 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25524 if test "x$wx_largefile" != "xyes"; then
25526 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25527 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25528 if test "${ac_cv_sys_large_files+set}" = set; then
25529 echo $ECHO_N "(cached) $ECHO_C" >&6
25532 cat >conftest.$ac_ext <<_ACEOF
25535 cat confdefs.h >>conftest.$ac_ext
25536 cat >>conftest.$ac_ext <<_ACEOF
25537 /* end confdefs.h. */
25538 #define _LARGE_FILES 1
25539 #include <sys/types.h>
25544 unsigned int field: sizeof(off_t) == 8;
25551 rm -f conftest.$ac_objext
25552 if { (ac_try="$ac_compile"
25553 case "(($ac_try" in
25554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25555 *) ac_try_echo=$ac_try;;
25557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25558 (eval "$ac_compile") 2>conftest.er1
25560 grep -v '^ *+' conftest.er1 >conftest.err
25562 cat conftest.err >&5
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); } && {
25565 test -z "$ac_c_werror_flag" ||
25566 test ! -s conftest.err
25567 } && test -s conftest.$ac_objext; then
25568 ac_cv_sys_large_files=1
25570 echo "$as_me: failed program was:" >&5
25571 sed 's/^/| /' conftest.$ac_ext >&5
25573 ac_cv_sys_large_files=no
25576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25580 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25581 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25583 if test "$ac_cv_sys_large_files" != no; then
25585 cat >>confdefs.h <<_ACEOF
25586 #define _LARGE_FILES $ac_cv_sys_large_files
25593 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25594 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25595 if test "x$wx_largefile" = "xyes"; then
25596 cat >>confdefs.h <<\_ACEOF
25597 #define HAVE_LARGEFILE_SUPPORT 1
25601 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25602 echo "${ECHO_T}$wx_largefile" >&6; }
25606 if test "x$wx_largefile" = "xyes"; then
25607 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25608 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25610 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25611 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25612 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25613 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25614 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 ac_cpp='$CXXCPP $CPPFLAGS'
25619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25623 cat >conftest.$ac_ext <<_ACEOF
25626 cat confdefs.h >>conftest.$ac_ext
25627 cat >>conftest.$ac_ext <<_ACEOF
25628 /* end confdefs.h. */
25634 #ifndef __STDC_EXT__
25642 rm -f conftest.$ac_objext
25643 if { (ac_try="$ac_compile"
25644 case "(($ac_try" in
25645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25646 *) ac_try_echo=$ac_try;;
25648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25649 (eval "$ac_compile") 2>conftest.er1
25651 grep -v '^ *+' conftest.er1 >conftest.err
25653 cat conftest.err >&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); } && {
25656 test -z "$ac_cxx_werror_flag" ||
25657 test ! -s conftest.err
25658 } && test -s conftest.$ac_objext; then
25659 wx_cv_STDC_EXT_required=no
25661 echo "$as_me: failed program was:" >&5
25662 sed 's/^/| /' conftest.$ac_ext >&5
25664 wx_cv_STDC_EXT_required=yes
25668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25670 ac_cpp='$CPP $CPPFLAGS'
25671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25678 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25679 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25680 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25681 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25685 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25687 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25688 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25689 if test "${ac_cv_sys_largefile_source+set}" = set; then
25690 echo $ECHO_N "(cached) $ECHO_C" >&6
25693 cat >conftest.$ac_ext <<_ACEOF
25696 cat confdefs.h >>conftest.$ac_ext
25697 cat >>conftest.$ac_ext <<_ACEOF
25698 /* end confdefs.h. */
25699 #include <sys/types.h> /* for off_t */
25704 int (*fp) (FILE *, off_t, int) = fseeko;
25705 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25710 rm -f conftest.$ac_objext conftest$ac_exeext
25711 if { (ac_try="$ac_link"
25712 case "(($ac_try" in
25713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25714 *) ac_try_echo=$ac_try;;
25716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25717 (eval "$ac_link") 2>conftest.er1
25719 grep -v '^ *+' conftest.er1 >conftest.err
25721 cat conftest.err >&5
25722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723 (exit $ac_status); } && {
25724 test -z "$ac_c_werror_flag" ||
25725 test ! -s conftest.err
25726 } && test -s conftest$ac_exeext &&
25727 $as_test_x conftest$ac_exeext; then
25728 ac_cv_sys_largefile_source=no; break
25730 echo "$as_me: failed program was:" >&5
25731 sed 's/^/| /' conftest.$ac_ext >&5
25736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25737 conftest$ac_exeext conftest.$ac_ext
25738 cat >conftest.$ac_ext <<_ACEOF
25741 cat confdefs.h >>conftest.$ac_ext
25742 cat >>conftest.$ac_ext <<_ACEOF
25743 /* end confdefs.h. */
25744 #define _LARGEFILE_SOURCE 1
25745 #include <sys/types.h> /* for off_t */
25750 int (*fp) (FILE *, off_t, int) = fseeko;
25751 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25756 rm -f conftest.$ac_objext conftest$ac_exeext
25757 if { (ac_try="$ac_link"
25758 case "(($ac_try" in
25759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25760 *) ac_try_echo=$ac_try;;
25762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25763 (eval "$ac_link") 2>conftest.er1
25765 grep -v '^ *+' conftest.er1 >conftest.err
25767 cat conftest.err >&5
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); } && {
25770 test -z "$ac_c_werror_flag" ||
25771 test ! -s conftest.err
25772 } && test -s conftest$ac_exeext &&
25773 $as_test_x conftest$ac_exeext; then
25774 ac_cv_sys_largefile_source=1; break
25776 echo "$as_me: failed program was:" >&5
25777 sed 's/^/| /' conftest.$ac_ext >&5
25782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25783 conftest$ac_exeext conftest.$ac_ext
25784 ac_cv_sys_largefile_source=unknown
25788 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25789 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25790 case $ac_cv_sys_largefile_source in #(
25793 cat >>confdefs.h <<_ACEOF
25794 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25800 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25801 # in glibc 2.1.3, but that breaks too many other things.
25802 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25803 if test $ac_cv_sys_largefile_source != unknown; then
25805 cat >>confdefs.h <<\_ACEOF
25806 #define HAVE_FSEEKO 1
25811 if test "$ac_cv_sys_largefile_source" != no; then
25812 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25816 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25817 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25818 if test "${ac_cv_c_bigendian+set}" = set; then
25819 echo $ECHO_N "(cached) $ECHO_C" >&6
25821 ac_cv_c_bigendian=unknown
25822 # See if sys/param.h defines the BYTE_ORDER macro.
25823 cat >conftest.$ac_ext <<_ACEOF
25826 cat confdefs.h >>conftest.$ac_ext
25827 cat >>conftest.$ac_ext <<_ACEOF
25828 /* end confdefs.h. */
25829 #include <sys/types.h>
25830 #include <sys/param.h>
25835 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25836 bogus endian macros
25842 rm -f conftest.$ac_objext
25843 if { (ac_try="$ac_compile"
25844 case "(($ac_try" in
25845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25846 *) ac_try_echo=$ac_try;;
25848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25849 (eval "$ac_compile") 2>conftest.er1
25851 grep -v '^ *+' conftest.er1 >conftest.err
25853 cat conftest.err >&5
25854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855 (exit $ac_status); } && {
25856 test -z "$ac_c_werror_flag" ||
25857 test ! -s conftest.err
25858 } && test -s conftest.$ac_objext; then
25859 # It does; now see whether it defined to BIG_ENDIAN or not.
25860 cat >conftest.$ac_ext <<_ACEOF
25863 cat confdefs.h >>conftest.$ac_ext
25864 cat >>conftest.$ac_ext <<_ACEOF
25865 /* end confdefs.h. */
25866 #include <sys/types.h>
25867 #include <sys/param.h>
25872 #if BYTE_ORDER != BIG_ENDIAN
25879 rm -f conftest.$ac_objext
25880 if { (ac_try="$ac_compile"
25881 case "(($ac_try" in
25882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25883 *) ac_try_echo=$ac_try;;
25885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25886 (eval "$ac_compile") 2>conftest.er1
25888 grep -v '^ *+' conftest.er1 >conftest.err
25890 cat conftest.err >&5
25891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25892 (exit $ac_status); } && {
25893 test -z "$ac_c_werror_flag" ||
25894 test ! -s conftest.err
25895 } && test -s conftest.$ac_objext; then
25896 ac_cv_c_bigendian=yes
25898 echo "$as_me: failed program was:" >&5
25899 sed 's/^/| /' conftest.$ac_ext >&5
25901 ac_cv_c_bigendian=no
25904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25906 echo "$as_me: failed program was:" >&5
25907 sed 's/^/| /' conftest.$ac_ext >&5
25912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25913 if test $ac_cv_c_bigendian = unknown; then
25914 if test "$cross_compiling" = yes; then
25915 ac_cv_c_bigendian=unknown
25917 cat >conftest.$ac_ext <<_ACEOF
25920 cat confdefs.h >>conftest.$ac_ext
25921 cat >>conftest.$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25924 /* Are we little or big endian? From Harbison&Steele. */
25928 char c[sizeof (long)];
25931 exit (u.c[sizeof (long) - 1] == 1);
25934 rm -f conftest$ac_exeext
25935 if { (ac_try="$ac_link"
25936 case "(($ac_try" in
25937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25938 *) ac_try_echo=$ac_try;;
25940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25941 (eval "$ac_link") 2>&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25945 { (case "(($ac_try" in
25946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25947 *) ac_try_echo=$ac_try;;
25949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25950 (eval "$ac_try") 2>&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); }; }; then
25954 ac_cv_c_bigendian=no
25956 echo "$as_me: program exited with status $ac_status" >&5
25957 echo "$as_me: failed program was:" >&5
25958 sed 's/^/| /' conftest.$ac_ext >&5
25960 ( exit $ac_status )
25961 ac_cv_c_bigendian=yes
25963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25969 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25970 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25971 if test $ac_cv_c_bigendian = unknown; then
25972 { 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
25973 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;}
25975 if test $ac_cv_c_bigendian = yes; then
25976 cat >>confdefs.h <<\_ACEOF
25977 #define WORDS_BIGENDIAN 1
25986 ac_cpp='$CXXCPP $CPPFLAGS'
25987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25992 { echo "$as_me:$LINENO: checking for iostream" >&5
25993 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
25994 if test "${ac_cv_header_iostream+set}" = set; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25997 cat >conftest.$ac_ext <<_ACEOF
26000 cat confdefs.h >>conftest.$ac_ext
26001 cat >>conftest.$ac_ext <<_ACEOF
26002 /* end confdefs.h. */
26005 #include <iostream>
26007 rm -f conftest.$ac_objext
26008 if { (ac_try="$ac_compile"
26009 case "(($ac_try" in
26010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26011 *) ac_try_echo=$ac_try;;
26013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26014 (eval "$ac_compile") 2>conftest.er1
26016 grep -v '^ *+' conftest.er1 >conftest.err
26018 cat conftest.err >&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); } && {
26021 test -z "$ac_cxx_werror_flag" ||
26022 test ! -s conftest.err
26023 } && test -s conftest.$ac_objext; then
26024 ac_cv_header_iostream=yes
26026 echo "$as_me: failed program was:" >&5
26027 sed 's/^/| /' conftest.$ac_ext >&5
26029 ac_cv_header_iostream=no
26032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26034 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
26035 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
26039 if test "$ac_cv_header_iostream" = "yes" ; then
26042 cat >>confdefs.h <<\_ACEOF
26043 #define wxUSE_IOSTREAMH 1
26049 ac_cpp='$CPP $CPPFLAGS'
26050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26057 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26058 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26059 if test "${wx_cv_cpp_bool+set}" = set; then
26060 echo $ECHO_N "(cached) $ECHO_C" >&6
26065 ac_cpp='$CXXCPP $CPPFLAGS'
26066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071 cat >conftest.$ac_ext <<_ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26091 rm -f conftest.$ac_objext
26092 if { (ac_try="$ac_compile"
26093 case "(($ac_try" in
26094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26095 *) ac_try_echo=$ac_try;;
26097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26098 (eval "$ac_compile") 2>conftest.er1
26100 grep -v '^ *+' conftest.er1 >conftest.err
26102 cat conftest.err >&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); } && {
26105 test -z "$ac_cxx_werror_flag" ||
26106 test ! -s conftest.err
26107 } && test -s conftest.$ac_objext; then
26112 echo "$as_me: failed program was:" >&5
26113 sed 's/^/| /' conftest.$ac_ext >&5
26121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26124 ac_cpp='$CPP $CPPFLAGS'
26125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26131 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26132 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26134 if test "$wx_cv_cpp_bool" = "yes"; then
26135 cat >>confdefs.h <<\_ACEOF
26136 #define HAVE_BOOL 1
26143 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26144 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26145 if test "${wx_cv_explicit+set}" = set; then
26146 echo $ECHO_N "(cached) $ECHO_C" >&6
26151 ac_cpp='$CXXCPP $CPPFLAGS'
26152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26157 cat >conftest.$ac_ext <<_ACEOF
26160 cat confdefs.h >>conftest.$ac_ext
26161 cat >>conftest.$ac_ext <<_ACEOF
26162 /* end confdefs.h. */
26164 class Foo { public: explicit Foo(int) {} };
26176 rm -f conftest.$ac_objext
26177 if { (ac_try="$ac_compile"
26178 case "(($ac_try" in
26179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26180 *) ac_try_echo=$ac_try;;
26182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26183 (eval "$ac_compile") 2>conftest.er1
26185 grep -v '^ *+' conftest.er1 >conftest.err
26187 cat conftest.err >&5
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); } && {
26190 test -z "$ac_cxx_werror_flag" ||
26191 test ! -s conftest.err
26192 } && test -s conftest.$ac_objext; then
26194 cat >conftest.$ac_ext <<_ACEOF
26197 cat confdefs.h >>conftest.$ac_ext
26198 cat >>conftest.$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26201 class Foo { public: explicit Foo(int) {} };
26202 static void TakeFoo(const Foo& foo) { }
26215 rm -f conftest.$ac_objext
26216 if { (ac_try="$ac_compile"
26217 case "(($ac_try" in
26218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26219 *) ac_try_echo=$ac_try;;
26221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26222 (eval "$ac_compile") 2>conftest.er1
26224 grep -v '^ *+' conftest.er1 >conftest.err
26226 cat conftest.err >&5
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); } && {
26229 test -z "$ac_cxx_werror_flag" ||
26230 test ! -s conftest.err
26231 } && test -s conftest.$ac_objext; then
26234 echo "$as_me: failed program was:" >&5
26235 sed 's/^/| /' conftest.$ac_ext >&5
26241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244 echo "$as_me: failed program was:" >&5
26245 sed 's/^/| /' conftest.$ac_ext >&5
26251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26254 ac_cpp='$CPP $CPPFLAGS'
26255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26261 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26262 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26264 if test "$wx_cv_explicit" = "yes"; then
26265 cat >>confdefs.h <<\_ACEOF
26266 #define HAVE_EXPLICIT 1
26272 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26273 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26274 if test "${ac_cv_cxx_const_cast+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26279 ac_cpp='$CXXCPP $CPPFLAGS'
26280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26284 cat >conftest.$ac_ext <<_ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26294 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26299 rm -f conftest.$ac_objext
26300 if { (ac_try="$ac_compile"
26301 case "(($ac_try" in
26302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26303 *) ac_try_echo=$ac_try;;
26305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26306 (eval "$ac_compile") 2>conftest.er1
26308 grep -v '^ *+' conftest.er1 >conftest.err
26310 cat conftest.err >&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } && {
26313 test -z "$ac_cxx_werror_flag" ||
26314 test ! -s conftest.err
26315 } && test -s conftest.$ac_objext; then
26316 ac_cv_cxx_const_cast=yes
26318 echo "$as_me: failed program was:" >&5
26319 sed 's/^/| /' conftest.$ac_ext >&5
26321 ac_cv_cxx_const_cast=no
26324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26326 ac_cpp='$CPP $CPPFLAGS'
26327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26333 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26334 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26335 if test "$ac_cv_cxx_const_cast" = yes; then
26337 cat >>confdefs.h <<\_ACEOF
26338 #define HAVE_CONST_CAST
26343 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26344 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26345 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26346 echo $ECHO_N "(cached) $ECHO_C" >&6
26350 ac_cpp='$CXXCPP $CPPFLAGS'
26351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26355 cat >conftest.$ac_ext <<_ACEOF
26358 cat confdefs.h >>conftest.$ac_ext
26359 cat >>conftest.$ac_ext <<_ACEOF
26360 /* end confdefs.h. */
26361 #include <typeinfo>
26362 class Base { public : Base () {} virtual void f () = 0;};
26363 class Derived : public Base { public : Derived () {} virtual void f () {} };
26364 class Unrelated { public : Unrelated () {} };
26365 int g (Unrelated&) { return 0; }
26370 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26375 rm -f conftest.$ac_objext
26376 if { (ac_try="$ac_compile"
26377 case "(($ac_try" in
26378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26379 *) ac_try_echo=$ac_try;;
26381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26382 (eval "$ac_compile") 2>conftest.er1
26384 grep -v '^ *+' conftest.er1 >conftest.err
26386 cat conftest.err >&5
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); } && {
26389 test -z "$ac_cxx_werror_flag" ||
26390 test ! -s conftest.err
26391 } && test -s conftest.$ac_objext; then
26392 ac_cv_cxx_reinterpret_cast=yes
26394 echo "$as_me: failed program was:" >&5
26395 sed 's/^/| /' conftest.$ac_ext >&5
26397 ac_cv_cxx_reinterpret_cast=no
26400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26402 ac_cpp='$CPP $CPPFLAGS'
26403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26409 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26410 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26411 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26413 cat >>confdefs.h <<\_ACEOF
26414 #define HAVE_REINTERPRET_CAST
26419 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26420 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26421 if test "${ac_cv_cxx_static_cast+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26426 ac_cpp='$CXXCPP $CPPFLAGS'
26427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26431 cat >conftest.$ac_ext <<_ACEOF
26434 cat confdefs.h >>conftest.$ac_ext
26435 cat >>conftest.$ac_ext <<_ACEOF
26436 /* end confdefs.h. */
26437 #include <typeinfo>
26438 class Base { public : Base () {} virtual void f () = 0; };
26439 class Derived : public Base { public : Derived () {} virtual void f () {} };
26440 int g (Derived&) { return 0; }
26445 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26450 rm -f conftest.$ac_objext
26451 if { (ac_try="$ac_compile"
26452 case "(($ac_try" in
26453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26454 *) ac_try_echo=$ac_try;;
26456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26457 (eval "$ac_compile") 2>conftest.er1
26459 grep -v '^ *+' conftest.er1 >conftest.err
26461 cat conftest.err >&5
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); } && {
26464 test -z "$ac_cxx_werror_flag" ||
26465 test ! -s conftest.err
26466 } && test -s conftest.$ac_objext; then
26467 ac_cv_cxx_static_cast=yes
26469 echo "$as_me: failed program was:" >&5
26470 sed 's/^/| /' conftest.$ac_ext >&5
26472 ac_cv_cxx_static_cast=no
26475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26477 ac_cpp='$CPP $CPPFLAGS'
26478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26484 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26485 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26486 if test "$ac_cv_cxx_static_cast" = yes; then
26488 cat >>confdefs.h <<\_ACEOF
26489 #define HAVE_STATIC_CAST
26495 if test "x$SUNCXX" = xyes; then
26496 CXXFLAGS="-features=tmplife $CXXFLAGS"
26499 if test "x$SUNCC" = xyes; then
26500 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26503 if test "x$SGICC" = "xyes"; then
26504 CFLAGS="-woff 3970 $CFLAGS"
26506 if test "x$SGICXX" = "xyes"; then
26507 CXXFLAGS="-woff 3970 $CXXFLAGS"
26510 if test "x$HPCC" = "xyes"; then
26511 CFLAGS="+W 2011,2450 $CFLAGS"
26513 if test "x$HPCXX" = "xyes"; then
26514 CXXFLAGS="+W 2340 $CXXFLAGS"
26517 if test "x$COMPAQCXX" = "xyes"; then
26518 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26522 ac_cpp='$CXXCPP $CPPFLAGS'
26523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26528 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26529 if test "$wxUSE_UNICODE" = "yes"; then
26530 std_string="std::wstring"
26531 char_type="wchar_t"
26533 std_string="std::string"
26537 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26538 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26539 if test "${wx_cv_class_stdstring+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26543 cat >conftest.$ac_ext <<_ACEOF
26546 cat confdefs.h >>conftest.$ac_ext
26547 cat >>conftest.$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26558 rm -f conftest.$ac_objext
26559 if { (ac_try="$ac_compile"
26560 case "(($ac_try" in
26561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26562 *) ac_try_echo=$ac_try;;
26564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26565 (eval "$ac_compile") 2>conftest.er1
26567 grep -v '^ *+' conftest.er1 >conftest.err
26569 cat conftest.err >&5
26570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26571 (exit $ac_status); } && {
26572 test -z "$ac_cxx_werror_flag" ||
26573 test ! -s conftest.err
26574 } && test -s conftest.$ac_objext; then
26575 wx_cv_class_stdstring=yes
26577 echo "$as_me: failed program was:" >&5
26578 sed 's/^/| /' conftest.$ac_ext >&5
26580 wx_cv_class_stdstring=no
26584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26588 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26589 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26591 if test "$wx_cv_class_stdstring" = yes; then
26592 if test "$wxUSE_UNICODE" = "yes"; then
26593 cat >>confdefs.h <<\_ACEOF
26594 #define HAVE_STD_WSTRING 1
26599 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26600 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26601 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26602 echo $ECHO_N "(cached) $ECHO_C" >&6
26605 cat >conftest.$ac_ext <<_ACEOF
26608 cat confdefs.h >>conftest.$ac_ext
26609 cat >>conftest.$ac_ext <<_ACEOF
26610 /* end confdefs.h. */
26612 #ifdef HAVE_WCHAR_H
26614 # include <stddef.h>
26616 # include <wchar.h>
26618 #ifdef HAVE_STDLIB_H
26619 # include <stdlib.h>
26627 std::basic_string<$char_type> foo;
26628 const $char_type* dummy = foo.c_str();
26633 rm -f conftest.$ac_objext
26634 if { (ac_try="$ac_compile"
26635 case "(($ac_try" in
26636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26637 *) ac_try_echo=$ac_try;;
26639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26640 (eval "$ac_compile") 2>conftest.er1
26642 grep -v '^ *+' conftest.er1 >conftest.err
26644 cat conftest.err >&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } && {
26647 test -z "$ac_cxx_werror_flag" ||
26648 test ! -s conftest.err
26649 } && test -s conftest.$ac_objext; then
26650 wx_cv_class_stdbasicstring=yes
26652 echo "$as_me: failed program was:" >&5
26653 sed 's/^/| /' conftest.$ac_ext >&5
26655 wx_cv_class_stdbasicstring=no
26659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26663 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26664 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26666 if test "$wx_cv_class_stdbasicstring" != yes; then
26667 if test "$wxUSE_STL" = "yes"; then
26668 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26669 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26670 { (exit 1); exit 1; }; }
26671 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26672 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26673 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26674 { (exit 1); exit 1; }; }
26676 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26677 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26678 wxUSE_STD_STRING=no
26684 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26685 { echo "$as_me:$LINENO: checking for std::istream" >&5
26686 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26687 if test "${ac_cv_type_std__istream+set}" = set; then
26688 echo $ECHO_N "(cached) $ECHO_C" >&6
26690 cat >conftest.$ac_ext <<_ACEOF
26693 cat confdefs.h >>conftest.$ac_ext
26694 cat >>conftest.$ac_ext <<_ACEOF
26695 /* end confdefs.h. */
26696 #include <iostream>
26698 typedef std::istream ac__type_new_;
26702 if ((ac__type_new_ *) 0)
26704 if (sizeof (ac__type_new_))
26710 rm -f conftest.$ac_objext
26711 if { (ac_try="$ac_compile"
26712 case "(($ac_try" in
26713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26714 *) ac_try_echo=$ac_try;;
26716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26717 (eval "$ac_compile") 2>conftest.er1
26719 grep -v '^ *+' conftest.er1 >conftest.err
26721 cat conftest.err >&5
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); } && {
26724 test -z "$ac_cxx_werror_flag" ||
26725 test ! -s conftest.err
26726 } && test -s conftest.$ac_objext; then
26727 ac_cv_type_std__istream=yes
26729 echo "$as_me: failed program was:" >&5
26730 sed 's/^/| /' conftest.$ac_ext >&5
26732 ac_cv_type_std__istream=no
26735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26737 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26738 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26739 if test $ac_cv_type_std__istream = yes; then
26741 cat >>confdefs.h <<_ACEOF
26742 #define HAVE_STD__ISTREAM 1
26747 wxUSE_STD_IOSTREAM=no
26749 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26750 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26751 if test "${ac_cv_type_std__ostream+set}" = set; then
26752 echo $ECHO_N "(cached) $ECHO_C" >&6
26754 cat >conftest.$ac_ext <<_ACEOF
26757 cat confdefs.h >>conftest.$ac_ext
26758 cat >>conftest.$ac_ext <<_ACEOF
26759 /* end confdefs.h. */
26760 #include <iostream>
26762 typedef std::ostream ac__type_new_;
26766 if ((ac__type_new_ *) 0)
26768 if (sizeof (ac__type_new_))
26774 rm -f conftest.$ac_objext
26775 if { (ac_try="$ac_compile"
26776 case "(($ac_try" in
26777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26778 *) ac_try_echo=$ac_try;;
26780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26781 (eval "$ac_compile") 2>conftest.er1
26783 grep -v '^ *+' conftest.er1 >conftest.err
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } && {
26788 test -z "$ac_cxx_werror_flag" ||
26789 test ! -s conftest.err
26790 } && test -s conftest.$ac_objext; then
26791 ac_cv_type_std__ostream=yes
26793 echo "$as_me: failed program was:" >&5
26794 sed 's/^/| /' conftest.$ac_ext >&5
26796 ac_cv_type_std__ostream=no
26799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26801 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26802 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26803 if test $ac_cv_type_std__ostream = yes; then
26805 cat >>confdefs.h <<_ACEOF
26806 #define HAVE_STD__OSTREAM 1
26811 wxUSE_STD_IOSTREAM=no
26815 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26816 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26817 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26818 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26819 { (exit 1); exit 1; }; }
26821 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26822 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26827 if test "$wxUSE_STL" = "yes"; then
26828 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26829 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26830 if test "${wx_cv_lib_stl+set}" = set; then
26831 echo $ECHO_N "(cached) $ECHO_C" >&6
26833 cat >conftest.$ac_ext <<_ACEOF
26836 cat confdefs.h >>conftest.$ac_ext
26837 cat >>conftest.$ac_ext <<_ACEOF
26838 /* end confdefs.h. */
26840 #include <functional>
26841 #include <algorithm>
26847 std::vector<int> moo;
26848 std::list<int> foo;
26849 std::vector<int>::iterator it =
26850 std::find_if(moo.begin(), moo.end(),
26851 std::bind2nd(std::less<int>(), 3));
26856 rm -f conftest.$ac_objext
26857 if { (ac_try="$ac_compile"
26858 case "(($ac_try" in
26859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26860 *) ac_try_echo=$ac_try;;
26862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26863 (eval "$ac_compile") 2>conftest.er1
26865 grep -v '^ *+' conftest.er1 >conftest.err
26867 cat conftest.err >&5
26868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869 (exit $ac_status); } && {
26870 test -z "$ac_cxx_werror_flag" ||
26871 test ! -s conftest.err
26872 } && test -s conftest.$ac_objext; then
26875 echo "$as_me: failed program was:" >&5
26876 sed 's/^/| /' conftest.$ac_ext >&5
26882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26885 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26886 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26888 if test "$wx_cv_lib_stl" != yes; then
26889 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26890 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26891 { (exit 1); exit 1; }; }
26894 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26895 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26896 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26897 echo $ECHO_N "(cached) $ECHO_C" >&6
26899 cat >conftest.$ac_ext <<_ACEOF
26902 cat confdefs.h >>conftest.$ac_ext
26903 cat >>conftest.$ac_ext <<_ACEOF
26904 /* end confdefs.h. */
26909 std::string foo, bar;
26911 foo.compare(1, 1, bar);
26912 foo.compare(1, 1, bar, 1, 1);
26914 foo.compare(1, 1, "");
26915 foo.compare(1, 1, "", 2);
26920 rm -f conftest.$ac_objext
26921 if { (ac_try="$ac_compile"
26922 case "(($ac_try" in
26923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26924 *) ac_try_echo=$ac_try;;
26926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26927 (eval "$ac_compile") 2>conftest.er1
26929 grep -v '^ *+' conftest.er1 >conftest.err
26931 cat conftest.err >&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); } && {
26934 test -z "$ac_cxx_werror_flag" ||
26935 test ! -s conftest.err
26936 } && test -s conftest.$ac_objext; then
26937 wx_cv_func_stdstring_compare=yes
26939 echo "$as_me: failed program was:" >&5
26940 sed 's/^/| /' conftest.$ac_ext >&5
26942 wx_cv_func_stdstring_compare=no
26946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26949 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26950 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26952 if test "$wx_cv_func_stdstring_compare" = yes; then
26953 cat >>confdefs.h <<\_ACEOF
26954 #define HAVE_STD_STRING_COMPARE 1
26959 { echo "$as_me:$LINENO: checking for hash_map" >&5
26960 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26961 if test "${ac_cv_header_hash_map+set}" = set; then
26962 echo $ECHO_N "(cached) $ECHO_C" >&6
26964 cat >conftest.$ac_ext <<_ACEOF
26967 cat confdefs.h >>conftest.$ac_ext
26968 cat >>conftest.$ac_ext <<_ACEOF
26969 /* end confdefs.h. */
26973 #include <hash_map>
26975 rm -f conftest.$ac_objext
26976 if { (ac_try="$ac_compile"
26977 case "(($ac_try" in
26978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26979 *) ac_try_echo=$ac_try;;
26981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26982 (eval "$ac_compile") 2>conftest.er1
26984 grep -v '^ *+' conftest.er1 >conftest.err
26986 cat conftest.err >&5
26987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 (exit $ac_status); } && {
26989 test -z "$ac_cxx_werror_flag" ||
26990 test ! -s conftest.err
26991 } && test -s conftest.$ac_objext; then
26992 ac_cv_header_hash_map=yes
26994 echo "$as_me: failed program was:" >&5
26995 sed 's/^/| /' conftest.$ac_ext >&5
26997 ac_cv_header_hash_map=no
27000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27002 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27003 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27004 if test $ac_cv_header_hash_map = yes; then
27005 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27006 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27007 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27008 echo $ECHO_N "(cached) $ECHO_C" >&6
27010 cat >conftest.$ac_ext <<_ACEOF
27013 cat confdefs.h >>conftest.$ac_ext
27014 cat >>conftest.$ac_ext <<_ACEOF
27015 /* end confdefs.h. */
27016 #include <hash_map>
27017 #include <hash_set>
27021 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27022 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27027 rm -f conftest.$ac_objext
27028 if { (ac_try="$ac_compile"
27029 case "(($ac_try" in
27030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27031 *) ac_try_echo=$ac_try;;
27033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27034 (eval "$ac_compile") 2>conftest.er1
27036 grep -v '^ *+' conftest.er1 >conftest.err
27038 cat conftest.err >&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } && {
27041 test -z "$ac_cxx_werror_flag" ||
27042 test ! -s conftest.err
27043 } && test -s conftest.$ac_objext; then
27044 wx_cv_class_stdhashmapset=yes
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.$ac_ext >&5
27049 wx_cv_class_stdhashmapset=no
27052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27056 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27057 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27062 if test "$wx_cv_class_stdhashmapset" = yes; then
27063 cat >>confdefs.h <<\_ACEOF
27064 #define HAVE_HASH_MAP 1
27067 cat >>confdefs.h <<\_ACEOF
27068 #define HAVE_STD_HASH_MAP 1
27073 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27074 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27075 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27078 cat >conftest.$ac_ext <<_ACEOF
27081 cat confdefs.h >>conftest.$ac_ext
27082 cat >>conftest.$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27087 #include <ext/hash_map>
27089 rm -f conftest.$ac_objext
27090 if { (ac_try="$ac_compile"
27091 case "(($ac_try" in
27092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27093 *) ac_try_echo=$ac_try;;
27095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27096 (eval "$ac_compile") 2>conftest.er1
27098 grep -v '^ *+' conftest.er1 >conftest.err
27100 cat conftest.err >&5
27101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27102 (exit $ac_status); } && {
27103 test -z "$ac_cxx_werror_flag" ||
27104 test ! -s conftest.err
27105 } && test -s conftest.$ac_objext; then
27106 ac_cv_header_ext_hash_map=yes
27108 echo "$as_me: failed program was:" >&5
27109 sed 's/^/| /' conftest.$ac_ext >&5
27111 ac_cv_header_ext_hash_map=no
27114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27116 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27117 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27118 if test $ac_cv_header_ext_hash_map = yes; then
27119 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27120 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27121 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27122 echo $ECHO_N "(cached) $ECHO_C" >&6
27124 cat >conftest.$ac_ext <<_ACEOF
27127 cat confdefs.h >>conftest.$ac_ext
27128 cat >>conftest.$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27130 #include <ext/hash_map>
27131 #include <ext/hash_set>
27135 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27136 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27141 rm -f conftest.$ac_objext
27142 if { (ac_try="$ac_compile"
27143 case "(($ac_try" in
27144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27145 *) ac_try_echo=$ac_try;;
27147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27148 (eval "$ac_compile") 2>conftest.er1
27150 grep -v '^ *+' conftest.er1 >conftest.err
27152 cat conftest.err >&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } && {
27155 test -z "$ac_cxx_werror_flag" ||
27156 test ! -s conftest.err
27157 } && test -s conftest.$ac_objext; then
27158 wx_cv_class_gnuhashmapset=yes
27160 echo "$as_me: failed program was:" >&5
27161 sed 's/^/| /' conftest.$ac_ext >&5
27163 wx_cv_class_gnuhashmapset=no
27166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27170 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27171 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27176 if test "$wx_cv_class_gnuhashmapset" = yes; then
27177 cat >>confdefs.h <<\_ACEOF
27178 #define HAVE_EXT_HASH_MAP 1
27181 cat >>confdefs.h <<\_ACEOF
27182 #define HAVE_GNU_CXX_HASH_MAP 1
27189 ac_cpp='$CPP $CPPFLAGS'
27190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27197 /usr/local/include \
27199 /usr/Motif-2.1/include \
27200 /usr/Motif-1.2/include \
27201 /usr/include/Motif1.2 \
27204 /usr/openwin/include \
27208 /usr/X11R6/include \
27209 /usr/X11R6.4/include \
27210 /usr/X11R5/include \
27211 /usr/X11R4/include \
27213 /usr/include/X11R6 \
27214 /usr/include/X11R5 \
27215 /usr/include/X11R4 \
27217 /usr/local/X11R6/include \
27218 /usr/local/X11R5/include \
27219 /usr/local/X11R4/include \
27221 /usr/local/include/X11R6 \
27222 /usr/local/include/X11R5 \
27223 /usr/local/include/X11R4 \
27227 /usr/local/X11/include \
27228 /usr/local/include/X11 \
27230 /usr/XFree86/include/X11 \
27233 /usr/openwin/share/include"
27235 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27236 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27240 if test "${wx_cv_std_libpath+set}" = set; then
27241 echo $ECHO_N "(cached) $ECHO_C" >&6
27244 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27245 for e in a so sl dylib dll.a; do
27247 if test -f $libc; then
27250 cat >conftest.$ac_ext <<_ACEOF
27251 int main() { return 0; }
27253 rm -f conftest.$ac_objext conftest$ac_exeext
27254 if { (ac_try="$ac_link"
27255 case "(($ac_try" in
27256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27257 *) ac_try_echo=$ac_try;;
27259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27260 (eval "$ac_link") 2>conftest.er1
27262 grep -v '^ *+' conftest.er1 >conftest.err
27264 cat conftest.err >&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } && {
27267 test -z "$ac_c_werror_flag" ||
27268 test ! -s conftest.err
27269 } && test -s conftest$ac_exeext &&
27270 $as_test_x conftest$ac_exeext; then
27271 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27273 echo "$as_me: failed program was:" >&5
27274 sed 's/^/| /' conftest.$ac_ext >&5
27279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27280 conftest$ac_exeext conftest.$ac_ext
27282 if test "x$wx_cv_std_libpath" != "x"; then
27288 if test "x$wx_cv_std_libpath" = "x"; then
27289 wx_cv_std_libpath="lib"
27298 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27299 wx_cv_std_libpath="lib/64"
27301 wx_cv_std_libpath="lib"
27306 if test "$ac_cv_sizeof_void_p" = 8 -a \
27307 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27308 wx_cv_std_libpath="lib64"
27310 wx_cv_std_libpath="lib"
27315 wx_cv_std_libpath="lib";
27319 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27320 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27322 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27324 if test "$build" != "$host" -a "$GCC" = yes; then
27325 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27326 cross_root=`dirname $cross_root`
27327 cross_root=`dirname $cross_root`
27329 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27330 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27331 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27333 if test -z "$PKG_CONFIG_PATH"; then
27334 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27335 export PKG_CONFIG_PATH
27338 if test -z "$x_includes" -o "$x_includes" = NONE; then
27341 for ac_dir in $SEARCH_INCLUDE /usr/include;
27343 if test -f "$ac_dir/X11/Intrinsic.h"; then
27344 ac_find_includes=$ac_dir
27349 x_includes=$ac_find_includes
27351 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27354 for ac_dir in $SEARCH_LIB;
27356 for ac_extension in a so sl dylib dll.a; do
27357 if test -f "$ac_dir/libXt.$ac_extension"; then
27358 ac_find_libraries=$ac_dir
27364 x_libraries=$ac_find_libraries
27370 cat >confcache <<\_ACEOF
27371 # This file is a shell script that caches the results of configure
27372 # tests run on this system so they can be shared between configure
27373 # scripts and configure runs, see configure's option --config-cache.
27374 # It is not useful on other systems. If it contains results you don't
27375 # want to keep, you may remove or edit it.
27377 # config.status only pays attention to the cache file if you give it
27378 # the --recheck option to rerun configure.
27380 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27381 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27382 # following values.
27386 # The following way of writing the cache mishandles newlines in values,
27387 # but we know of no workaround that is simple, portable, and efficient.
27388 # So, we kill variables containing newlines.
27389 # Ultrix sh set writes to stderr and can't be redirected directly,
27390 # and sets the high bit in the cache file unless we assign to the vars.
27392 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27393 eval ac_val=\$$ac_var
27397 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27398 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27401 _ | IFS | as_nl) ;; #(
27402 *) $as_unset $ac_var ;;
27408 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27409 *${as_nl}ac_space=\ *)
27410 # `set' does not quote correctly, so add quotes (double-quote
27411 # substitution turns \\\\ into \\, and sed turns \\ into \).
27414 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27417 # `set' quotes correctly as required by POSIX, so do not add quotes.
27418 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27427 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27429 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27431 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27432 if test -w "$cache_file"; then
27433 test "x$cache_file" != "x/dev/null" &&
27434 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27435 echo "$as_me: updating cache $cache_file" >&6;}
27436 cat confcache >$cache_file
27438 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27439 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27444 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27445 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27446 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27447 if test "${wx_cv_lib_glibc21+set}" = set; then
27448 echo $ECHO_N "(cached) $ECHO_C" >&6
27451 cat >conftest.$ac_ext <<_ACEOF
27454 cat confdefs.h >>conftest.$ac_ext
27455 cat >>conftest.$ac_ext <<_ACEOF
27456 /* end confdefs.h. */
27457 #include <features.h>
27462 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27470 rm -f conftest.$ac_objext
27471 if { (ac_try="$ac_compile"
27472 case "(($ac_try" in
27473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27474 *) ac_try_echo=$ac_try;;
27476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27477 (eval "$ac_compile") 2>conftest.er1
27479 grep -v '^ *+' conftest.er1 >conftest.err
27481 cat conftest.err >&5
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); } && {
27484 test -z "$ac_c_werror_flag" ||
27485 test ! -s conftest.err
27486 } && test -s conftest.$ac_objext; then
27488 wx_cv_lib_glibc21=yes
27491 echo "$as_me: failed program was:" >&5
27492 sed 's/^/| /' conftest.$ac_ext >&5
27495 wx_cv_lib_glibc21=no
27500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27503 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27504 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27505 if test "$wx_cv_lib_glibc21" = "yes"; then
27506 cat >>confdefs.h <<\_ACEOF
27507 #define wxHAVE_GLIBC2 1
27513 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27514 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27515 cat >>confdefs.h <<\_ACEOF
27516 #define _GNU_SOURCE 1
27527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27531 echo $ECHO_N "(cached) $ECHO_C" >&6
27533 cat >conftest.$ac_ext <<_ACEOF
27536 cat confdefs.h >>conftest.$ac_ext
27537 cat >>conftest.$ac_ext <<_ACEOF
27538 /* end confdefs.h. */
27539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27541 #define $ac_func innocuous_$ac_func
27543 /* System header to define __stub macros and hopefully few prototypes,
27544 which can conflict with char $ac_func (); below.
27545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27546 <limits.h> exists even on freestanding compilers. */
27549 # include <limits.h>
27551 # include <assert.h>
27556 /* Override any GCC internal prototype to avoid an error.
27557 Use char because int might match the return type of a GCC
27558 builtin and then its argument prototype would still apply. */
27563 /* The GNU C library defines this for functions which it implements
27564 to always fail with ENOSYS. Some functions are actually named
27565 something starting with __ and the normal name is an alias. */
27566 #if defined __stub_$ac_func || defined __stub___$ac_func
27573 return $ac_func ();
27578 rm -f conftest.$ac_objext conftest$ac_exeext
27579 if { (ac_try="$ac_link"
27580 case "(($ac_try" in
27581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27582 *) ac_try_echo=$ac_try;;
27584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27585 (eval "$ac_link") 2>conftest.er1
27587 grep -v '^ *+' conftest.er1 >conftest.err
27589 cat conftest.err >&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); } && {
27592 test -z "$ac_c_werror_flag" ||
27593 test ! -s conftest.err
27594 } && test -s conftest$ac_exeext &&
27595 $as_test_x conftest$ac_exeext; then
27596 eval "$as_ac_var=yes"
27598 echo "$as_me: failed program was:" >&5
27599 sed 's/^/| /' conftest.$ac_ext >&5
27601 eval "$as_ac_var=no"
27604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27605 conftest$ac_exeext conftest.$ac_ext
27607 ac_res=`eval echo '${'$as_ac_var'}'`
27608 { echo "$as_me:$LINENO: result: $ac_res" >&5
27609 echo "${ECHO_T}$ac_res" >&6; }
27610 if test `eval echo '${'$as_ac_var'}'` = yes; then
27611 cat >>confdefs.h <<_ACEOF
27612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27619 for ac_func in floor
27621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27622 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27624 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27625 echo $ECHO_N "(cached) $ECHO_C" >&6
27627 cat >conftest.$ac_ext <<_ACEOF
27630 cat confdefs.h >>conftest.$ac_ext
27631 cat >>conftest.$ac_ext <<_ACEOF
27632 /* end confdefs.h. */
27633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27635 #define $ac_func innocuous_$ac_func
27637 /* System header to define __stub macros and hopefully few prototypes,
27638 which can conflict with char $ac_func (); below.
27639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27640 <limits.h> exists even on freestanding compilers. */
27643 # include <limits.h>
27645 # include <assert.h>
27650 /* Override any GCC internal prototype to avoid an error.
27651 Use char because int might match the return type of a GCC
27652 builtin and then its argument prototype would still apply. */
27657 /* The GNU C library defines this for functions which it implements
27658 to always fail with ENOSYS. Some functions are actually named
27659 something starting with __ and the normal name is an alias. */
27660 #if defined __stub_$ac_func || defined __stub___$ac_func
27667 return $ac_func ();
27672 rm -f conftest.$ac_objext conftest$ac_exeext
27673 if { (ac_try="$ac_link"
27674 case "(($ac_try" in
27675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27676 *) ac_try_echo=$ac_try;;
27678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27679 (eval "$ac_link") 2>conftest.er1
27681 grep -v '^ *+' conftest.er1 >conftest.err
27683 cat conftest.err >&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); } && {
27686 test -z "$ac_c_werror_flag" ||
27687 test ! -s conftest.err
27688 } && test -s conftest$ac_exeext &&
27689 $as_test_x conftest$ac_exeext; then
27690 eval "$as_ac_var=yes"
27692 echo "$as_me: failed program was:" >&5
27693 sed 's/^/| /' conftest.$ac_ext >&5
27695 eval "$as_ac_var=no"
27698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27699 conftest$ac_exeext conftest.$ac_ext
27701 ac_res=`eval echo '${'$as_ac_var'}'`
27702 { echo "$as_me:$LINENO: result: $ac_res" >&5
27703 echo "${ECHO_T}$ac_res" >&6; }
27704 if test `eval echo '${'$as_ac_var'}'` = yes; then
27705 cat >>confdefs.h <<_ACEOF
27706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27712 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27713 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27714 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27715 { echo "$as_me:$LINENO: result: yes" >&5
27716 echo "${ECHO_T}yes" >&6; }
27718 { echo "$as_me:$LINENO: result: no" >&5
27719 echo "${ECHO_T}no" >&6; }
27721 # use different functions to avoid configure caching
27727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27731 echo $ECHO_N "(cached) $ECHO_C" >&6
27733 cat >conftest.$ac_ext <<_ACEOF
27736 cat confdefs.h >>conftest.$ac_ext
27737 cat >>conftest.$ac_ext <<_ACEOF
27738 /* end confdefs.h. */
27739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27741 #define $ac_func innocuous_$ac_func
27743 /* System header to define __stub macros and hopefully few prototypes,
27744 which can conflict with char $ac_func (); below.
27745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27746 <limits.h> exists even on freestanding compilers. */
27749 # include <limits.h>
27751 # include <assert.h>
27756 /* Override any GCC internal prototype to avoid an error.
27757 Use char because int might match the return type of a GCC
27758 builtin and then its argument prototype would still apply. */
27763 /* The GNU C library defines this for functions which it implements
27764 to always fail with ENOSYS. Some functions are actually named
27765 something starting with __ and the normal name is an alias. */
27766 #if defined __stub_$ac_func || defined __stub___$ac_func
27773 return $ac_func ();
27778 rm -f conftest.$ac_objext conftest$ac_exeext
27779 if { (ac_try="$ac_link"
27780 case "(($ac_try" in
27781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27782 *) ac_try_echo=$ac_try;;
27784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27785 (eval "$ac_link") 2>conftest.er1
27787 grep -v '^ *+' conftest.er1 >conftest.err
27789 cat conftest.err >&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); } && {
27792 test -z "$ac_c_werror_flag" ||
27793 test ! -s conftest.err
27794 } && test -s conftest$ac_exeext &&
27795 $as_test_x conftest$ac_exeext; then
27796 eval "$as_ac_var=yes"
27798 echo "$as_me: failed program was:" >&5
27799 sed 's/^/| /' conftest.$ac_ext >&5
27801 eval "$as_ac_var=no"
27804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27805 conftest$ac_exeext conftest.$ac_ext
27807 ac_res=`eval echo '${'$as_ac_var'}'`
27808 { echo "$as_me:$LINENO: result: $ac_res" >&5
27809 echo "${ECHO_T}$ac_res" >&6; }
27810 if test `eval echo '${'$as_ac_var'}'` = yes; then
27811 cat >>confdefs.h <<_ACEOF
27812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27819 for ac_func in ceil
27821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27822 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27825 echo $ECHO_N "(cached) $ECHO_C" >&6
27827 cat >conftest.$ac_ext <<_ACEOF
27830 cat confdefs.h >>conftest.$ac_ext
27831 cat >>conftest.$ac_ext <<_ACEOF
27832 /* end confdefs.h. */
27833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27835 #define $ac_func innocuous_$ac_func
27837 /* System header to define __stub macros and hopefully few prototypes,
27838 which can conflict with char $ac_func (); below.
27839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27840 <limits.h> exists even on freestanding compilers. */
27843 # include <limits.h>
27845 # include <assert.h>
27850 /* Override any GCC internal prototype to avoid an error.
27851 Use char because int might match the return type of a GCC
27852 builtin and then its argument prototype would still apply. */
27857 /* The GNU C library defines this for functions which it implements
27858 to always fail with ENOSYS. Some functions are actually named
27859 something starting with __ and the normal name is an alias. */
27860 #if defined __stub_$ac_func || defined __stub___$ac_func
27867 return $ac_func ();
27872 rm -f conftest.$ac_objext conftest$ac_exeext
27873 if { (ac_try="$ac_link"
27874 case "(($ac_try" in
27875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27876 *) ac_try_echo=$ac_try;;
27878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27879 (eval "$ac_link") 2>conftest.er1
27881 grep -v '^ *+' conftest.er1 >conftest.err
27883 cat conftest.err >&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); } && {
27886 test -z "$ac_c_werror_flag" ||
27887 test ! -s conftest.err
27888 } && test -s conftest$ac_exeext &&
27889 $as_test_x conftest$ac_exeext; then
27890 eval "$as_ac_var=yes"
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.$ac_ext >&5
27895 eval "$as_ac_var=no"
27898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27899 conftest$ac_exeext conftest.$ac_ext
27901 ac_res=`eval echo '${'$as_ac_var'}'`
27902 { echo "$as_me:$LINENO: result: $ac_res" >&5
27903 echo "${ECHO_T}$ac_res" >&6; }
27904 if test `eval echo '${'$as_ac_var'}'` = yes; then
27905 cat >>confdefs.h <<_ACEOF
27906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27912 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27913 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27914 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27915 { echo "$as_me:$LINENO: result: yes" >&5
27916 echo "${ECHO_T}yes" >&6; }
27918 { echo "$as_me:$LINENO: result: no" >&5
27919 echo "${ECHO_T}no" >&6; }
27920 # not sure we should warn the user, crash, etc.
27925 ac_cpp='$CXXCPP $CPPFLAGS'
27926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27930 if test "wxUSE_UNICODE" = "yes"; then
27932 for wx_func in wcstoull
27934 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27935 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27936 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27940 cat >conftest.$ac_ext <<_ACEOF
27944 cat confdefs.h >>conftest.$ac_ext
27945 cat >>conftest.$ac_ext <<_ACEOF
27946 /* end confdefs.h. */
27949 $ac_includes_default
27965 rm -f conftest.$ac_objext conftest$ac_exeext
27966 if { (ac_try="$ac_link"
27967 case "(($ac_try" in
27968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27969 *) ac_try_echo=$ac_try;;
27971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27972 (eval "$ac_link") 2>conftest.er1
27974 grep -v '^ *+' conftest.er1 >conftest.err
27976 cat conftest.err >&5
27977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978 (exit $ac_status); } && {
27979 test -z "$ac_cxx_werror_flag" ||
27980 test ! -s conftest.err
27981 } && test -s conftest$ac_exeext &&
27982 $as_test_x conftest$ac_exeext; then
27983 eval wx_cv_func_$wx_func=yes
27985 echo "$as_me: failed program was:" >&5
27986 sed 's/^/| /' conftest.$ac_ext >&5
27988 eval wx_cv_func_$wx_func=no
27991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27992 conftest$ac_exeext conftest.$ac_ext
27995 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27996 { echo "$as_me:$LINENO: result: $ac_res" >&5
27997 echo "${ECHO_T}$ac_res" >&6; }
27999 if eval test \$wx_cv_func_$wx_func = yes
28001 cat >>confdefs.h <<_ACEOF
28002 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28014 for wx_func in strtoull
28016 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28017 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28018 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28019 echo $ECHO_N "(cached) $ECHO_C" >&6
28022 cat >conftest.$ac_ext <<_ACEOF
28026 cat confdefs.h >>conftest.$ac_ext
28027 cat >>conftest.$ac_ext <<_ACEOF
28028 /* end confdefs.h. */
28031 $ac_includes_default
28047 rm -f conftest.$ac_objext conftest$ac_exeext
28048 if { (ac_try="$ac_link"
28049 case "(($ac_try" in
28050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28051 *) ac_try_echo=$ac_try;;
28053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28054 (eval "$ac_link") 2>conftest.er1
28056 grep -v '^ *+' conftest.er1 >conftest.err
28058 cat conftest.err >&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); } && {
28061 test -z "$ac_cxx_werror_flag" ||
28062 test ! -s conftest.err
28063 } && test -s conftest$ac_exeext &&
28064 $as_test_x conftest$ac_exeext; then
28065 eval wx_cv_func_$wx_func=yes
28067 echo "$as_me: failed program was:" >&5
28068 sed 's/^/| /' conftest.$ac_ext >&5
28070 eval wx_cv_func_$wx_func=no
28073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28074 conftest$ac_exeext conftest.$ac_ext
28077 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28078 { echo "$as_me:$LINENO: result: $ac_res" >&5
28079 echo "${ECHO_T}$ac_res" >&6; }
28081 if eval test \$wx_cv_func_$wx_func = yes
28083 cat >>confdefs.h <<_ACEOF
28084 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28096 ac_cpp='$CPP $CPPFLAGS'
28097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28104 if test "$wxUSE_REGEX" != "no"; then
28105 cat >>confdefs.h <<\_ACEOF
28106 #define wxUSE_REGEX 1
28110 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28111 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28112 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28113 wxUSE_REGEX=builtin
28116 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28117 { echo "$as_me:$LINENO: checking for regex.h" >&5
28118 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28119 if test "${ac_cv_header_regex_h+set}" = set; then
28120 echo $ECHO_N "(cached) $ECHO_C" >&6
28122 cat >conftest.$ac_ext <<_ACEOF
28125 cat confdefs.h >>conftest.$ac_ext
28126 cat >>conftest.$ac_ext <<_ACEOF
28127 /* end confdefs.h. */
28132 rm -f conftest.$ac_objext
28133 if { (ac_try="$ac_compile"
28134 case "(($ac_try" in
28135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28136 *) ac_try_echo=$ac_try;;
28138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28139 (eval "$ac_compile") 2>conftest.er1
28141 grep -v '^ *+' conftest.er1 >conftest.err
28143 cat conftest.err >&5
28144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145 (exit $ac_status); } && {
28146 test -z "$ac_c_werror_flag" ||
28147 test ! -s conftest.err
28148 } && test -s conftest.$ac_objext; then
28149 ac_cv_header_regex_h=yes
28151 echo "$as_me: failed program was:" >&5
28152 sed 's/^/| /' conftest.$ac_ext >&5
28154 ac_cv_header_regex_h=no
28157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28159 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28160 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28161 if test $ac_cv_header_regex_h = yes; then
28164 for ac_func in regcomp re_search
28166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28167 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28169 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28170 echo $ECHO_N "(cached) $ECHO_C" >&6
28172 cat >conftest.$ac_ext <<_ACEOF
28175 cat confdefs.h >>conftest.$ac_ext
28176 cat >>conftest.$ac_ext <<_ACEOF
28177 /* end confdefs.h. */
28178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28180 #define $ac_func innocuous_$ac_func
28182 /* System header to define __stub macros and hopefully few prototypes,
28183 which can conflict with char $ac_func (); below.
28184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28185 <limits.h> exists even on freestanding compilers. */
28188 # include <limits.h>
28190 # include <assert.h>
28195 /* Override any GCC internal prototype to avoid an error.
28196 Use char because int might match the return type of a GCC
28197 builtin and then its argument prototype would still apply. */
28202 /* The GNU C library defines this for functions which it implements
28203 to always fail with ENOSYS. Some functions are actually named
28204 something starting with __ and the normal name is an alias. */
28205 #if defined __stub_$ac_func || defined __stub___$ac_func
28212 return $ac_func ();
28217 rm -f conftest.$ac_objext conftest$ac_exeext
28218 if { (ac_try="$ac_link"
28219 case "(($ac_try" in
28220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28221 *) ac_try_echo=$ac_try;;
28223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28224 (eval "$ac_link") 2>conftest.er1
28226 grep -v '^ *+' conftest.er1 >conftest.err
28228 cat conftest.err >&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); } && {
28231 test -z "$ac_c_werror_flag" ||
28232 test ! -s conftest.err
28233 } && test -s conftest$ac_exeext &&
28234 $as_test_x conftest$ac_exeext; then
28235 eval "$as_ac_var=yes"
28237 echo "$as_me: failed program was:" >&5
28238 sed 's/^/| /' conftest.$ac_ext >&5
28240 eval "$as_ac_var=no"
28243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28244 conftest$ac_exeext conftest.$ac_ext
28246 ac_res=`eval echo '${'$as_ac_var'}'`
28247 { echo "$as_me:$LINENO: result: $ac_res" >&5
28248 echo "${ECHO_T}$ac_res" >&6; }
28249 if test `eval echo '${'$as_ac_var'}'` = yes; then
28250 cat >>confdefs.h <<_ACEOF
28251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28261 if test "x$ac_cv_func_regcomp" != "xyes"; then
28262 if test "$wxUSE_REGEX" = "sys" ; then
28263 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28264 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28265 { (exit 1); exit 1; }; }
28267 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28268 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28269 wxUSE_REGEX=builtin
28273 cat >>confdefs.h <<\_ACEOF
28274 #define WX_NO_REGEX_ADVANCED 1
28283 if test "$wxUSE_ZLIB" != "no" ; then
28284 cat >>confdefs.h <<\_ACEOF
28285 #define wxUSE_ZLIB 1
28289 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28290 if test "$USE_DARWIN" = 1; then
28291 system_zlib_h_ok="yes"
28293 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28294 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28295 if test "${ac_cv_header_zlib_h+set}" = set; then
28296 echo $ECHO_N "(cached) $ECHO_C" >&6
28298 if test "$cross_compiling" = yes; then
28299 unset ac_cv_header_zlib_h
28302 cat >conftest.$ac_ext <<_ACEOF
28305 cat confdefs.h >>conftest.$ac_ext
28306 cat >>conftest.$ac_ext <<_ACEOF
28307 /* end confdefs.h. */
28314 FILE *f=fopen("conftestval", "w");
28317 ZLIB_VERSION[0] == '1' &&
28318 (ZLIB_VERSION[2] > '1' ||
28319 (ZLIB_VERSION[2] == '1' &&
28320 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28325 rm -f conftest$ac_exeext
28326 if { (ac_try="$ac_link"
28327 case "(($ac_try" in
28328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28329 *) ac_try_echo=$ac_try;;
28331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28332 (eval "$ac_link") 2>&5
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28336 { (case "(($ac_try" in
28337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28338 *) ac_try_echo=$ac_try;;
28340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28341 (eval "$ac_try") 2>&5
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); }; }; then
28345 ac_cv_header_zlib_h=`cat conftestval`
28347 echo "$as_me: program exited with status $ac_status" >&5
28348 echo "$as_me: failed program was:" >&5
28349 sed 's/^/| /' conftest.$ac_ext >&5
28351 ( exit $ac_status )
28352 ac_cv_header_zlib_h=no
28354 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28360 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28361 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28362 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28363 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28364 if test "${ac_cv_header_zlib_h+set}" = set; then
28365 echo $ECHO_N "(cached) $ECHO_C" >&6
28367 cat >conftest.$ac_ext <<_ACEOF
28370 cat confdefs.h >>conftest.$ac_ext
28371 cat >>conftest.$ac_ext <<_ACEOF
28372 /* end confdefs.h. */
28377 rm -f conftest.$ac_objext
28378 if { (ac_try="$ac_compile"
28379 case "(($ac_try" in
28380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28381 *) ac_try_echo=$ac_try;;
28383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28384 (eval "$ac_compile") 2>conftest.er1
28386 grep -v '^ *+' conftest.er1 >conftest.err
28388 cat conftest.err >&5
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); } && {
28391 test -z "$ac_c_werror_flag" ||
28392 test ! -s conftest.err
28393 } && test -s conftest.$ac_objext; then
28394 ac_cv_header_zlib_h=yes
28396 echo "$as_me: failed program was:" >&5
28397 sed 's/^/| /' conftest.$ac_ext >&5
28399 ac_cv_header_zlib_h=no
28402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28404 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28405 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28409 system_zlib_h_ok=$ac_cv_header_zlib_h
28412 if test "$system_zlib_h_ok" = "yes"; then
28413 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28414 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28415 if test "${ac_cv_lib_z_deflate+set}" = set; then
28416 echo $ECHO_N "(cached) $ECHO_C" >&6
28418 ac_check_lib_save_LIBS=$LIBS
28420 cat >conftest.$ac_ext <<_ACEOF
28423 cat confdefs.h >>conftest.$ac_ext
28424 cat >>conftest.$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28427 /* Override any GCC internal prototype to avoid an error.
28428 Use char because int might match the return type of a GCC
28429 builtin and then its argument prototype would still apply. */
28442 rm -f conftest.$ac_objext conftest$ac_exeext
28443 if { (ac_try="$ac_link"
28444 case "(($ac_try" in
28445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28446 *) ac_try_echo=$ac_try;;
28448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28449 (eval "$ac_link") 2>conftest.er1
28451 grep -v '^ *+' conftest.er1 >conftest.err
28453 cat conftest.err >&5
28454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28455 (exit $ac_status); } && {
28456 test -z "$ac_c_werror_flag" ||
28457 test ! -s conftest.err
28458 } && test -s conftest$ac_exeext &&
28459 $as_test_x conftest$ac_exeext; then
28460 ac_cv_lib_z_deflate=yes
28462 echo "$as_me: failed program was:" >&5
28463 sed 's/^/| /' conftest.$ac_ext >&5
28465 ac_cv_lib_z_deflate=no
28468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28469 conftest$ac_exeext conftest.$ac_ext
28470 LIBS=$ac_check_lib_save_LIBS
28472 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28473 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28474 if test $ac_cv_lib_z_deflate = yes; then
28480 if test "x$ZLIB_LINK" = "x" ; then
28481 if test "$wxUSE_ZLIB" = "sys" ; then
28482 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28483 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28484 { (exit 1); exit 1; }; }
28486 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28487 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28498 if test "$wxUSE_LIBPNG" != "no" ; then
28499 cat >>confdefs.h <<\_ACEOF
28500 #define wxUSE_LIBPNG 1
28504 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28505 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28506 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28510 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28511 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28512 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28513 wxUSE_LIBPNG=builtin
28516 if test "$wxUSE_MGL" != 1 ; then
28517 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28518 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28519 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28520 if test "${ac_cv_header_png_h+set}" = set; then
28521 echo $ECHO_N "(cached) $ECHO_C" >&6
28523 if test "$cross_compiling" = yes; then
28524 unset ac_cv_header_png_h
28527 cat >conftest.$ac_ext <<_ACEOF
28530 cat confdefs.h >>conftest.$ac_ext
28531 cat >>conftest.$ac_ext <<_ACEOF
28532 /* end confdefs.h. */
28539 FILE *f=fopen("conftestval", "w");
28542 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28547 rm -f conftest$ac_exeext
28548 if { (ac_try="$ac_link"
28549 case "(($ac_try" in
28550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28551 *) ac_try_echo=$ac_try;;
28553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28554 (eval "$ac_link") 2>&5
28556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28557 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28558 { (case "(($ac_try" in
28559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28560 *) ac_try_echo=$ac_try;;
28562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28563 (eval "$ac_try") 2>&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); }; }; then
28567 ac_cv_header_png_h=`cat conftestval`
28569 echo "$as_me: program exited with status $ac_status" >&5
28570 echo "$as_me: failed program was:" >&5
28571 sed 's/^/| /' conftest.$ac_ext >&5
28573 ( exit $ac_status )
28574 ac_cv_header_png_h=no
28576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28582 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28583 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28584 { echo "$as_me:$LINENO: checking for png.h" >&5
28585 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28586 if test "${ac_cv_header_png_h+set}" = set; then
28587 echo $ECHO_N "(cached) $ECHO_C" >&6
28589 cat >conftest.$ac_ext <<_ACEOF
28592 cat confdefs.h >>conftest.$ac_ext
28593 cat >>conftest.$ac_ext <<_ACEOF
28594 /* end confdefs.h. */
28599 rm -f conftest.$ac_objext
28600 if { (ac_try="$ac_compile"
28601 case "(($ac_try" in
28602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28603 *) ac_try_echo=$ac_try;;
28605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28606 (eval "$ac_compile") 2>conftest.er1
28608 grep -v '^ *+' conftest.er1 >conftest.err
28610 cat conftest.err >&5
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); } && {
28613 test -z "$ac_c_werror_flag" ||
28614 test ! -s conftest.err
28615 } && test -s conftest.$ac_objext; then
28616 ac_cv_header_png_h=yes
28618 echo "$as_me: failed program was:" >&5
28619 sed 's/^/| /' conftest.$ac_ext >&5
28621 ac_cv_header_png_h=no
28624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28626 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28627 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28631 if test "$ac_cv_header_png_h" = "yes"; then
28632 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28633 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28634 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28635 echo $ECHO_N "(cached) $ECHO_C" >&6
28637 ac_check_lib_save_LIBS=$LIBS
28638 LIBS="-lpng -lz -lm $LIBS"
28639 cat >conftest.$ac_ext <<_ACEOF
28642 cat confdefs.h >>conftest.$ac_ext
28643 cat >>conftest.$ac_ext <<_ACEOF
28644 /* end confdefs.h. */
28646 /* Override any GCC internal prototype to avoid an error.
28647 Use char because int might match the return type of a GCC
28648 builtin and then its argument prototype would still apply. */
28652 char png_check_sig ();
28656 return png_check_sig ();
28661 rm -f conftest.$ac_objext conftest$ac_exeext
28662 if { (ac_try="$ac_link"
28663 case "(($ac_try" in
28664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28665 *) ac_try_echo=$ac_try;;
28667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28668 (eval "$ac_link") 2>conftest.er1
28670 grep -v '^ *+' conftest.er1 >conftest.err
28672 cat conftest.err >&5
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); } && {
28675 test -z "$ac_c_werror_flag" ||
28676 test ! -s conftest.err
28677 } && test -s conftest$ac_exeext &&
28678 $as_test_x conftest$ac_exeext; then
28679 ac_cv_lib_png_png_check_sig=yes
28681 echo "$as_me: failed program was:" >&5
28682 sed 's/^/| /' conftest.$ac_ext >&5
28684 ac_cv_lib_png_png_check_sig=no
28687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28688 conftest$ac_exeext conftest.$ac_ext
28689 LIBS=$ac_check_lib_save_LIBS
28691 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28692 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28693 if test $ac_cv_lib_png_png_check_sig = yes; then
28694 PNG_LINK=" -lpng -lz"
28699 if test "x$PNG_LINK" = "x" ; then
28700 if test "$wxUSE_LIBPNG" = "sys" ; then
28701 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28702 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28703 { (exit 1); exit 1; }; }
28705 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28706 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28707 wxUSE_LIBPNG=builtin
28715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28720 if test "$wxUSE_LIBJPEG" != "no" ; then
28721 cat >>confdefs.h <<\_ACEOF
28722 #define wxUSE_LIBJPEG 1
28726 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28727 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28728 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28732 if test "$wxUSE_MGL" != 1 ; then
28733 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28734 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28735 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28736 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28737 echo $ECHO_N "(cached) $ECHO_C" >&6
28739 cat >conftest.$ac_ext <<_ACEOF
28742 cat confdefs.h >>conftest.$ac_ext
28743 cat >>conftest.$ac_ext <<_ACEOF
28744 /* end confdefs.h. */
28746 #undef HAVE_STDLIB_H
28748 #include <jpeglib.h>
28759 rm -f conftest.$ac_objext
28760 if { (ac_try="$ac_compile"
28761 case "(($ac_try" in
28762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28763 *) ac_try_echo=$ac_try;;
28765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28766 (eval "$ac_compile") 2>conftest.er1
28768 grep -v '^ *+' conftest.er1 >conftest.err
28770 cat conftest.err >&5
28771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28772 (exit $ac_status); } && {
28773 test -z "$ac_c_werror_flag" ||
28774 test ! -s conftest.err
28775 } && test -s conftest.$ac_objext; then
28776 ac_cv_header_jpeglib_h=yes
28778 echo "$as_me: failed program was:" >&5
28779 sed 's/^/| /' conftest.$ac_ext >&5
28781 ac_cv_header_jpeglib_h=no
28785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28789 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28790 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28792 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28793 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28794 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28795 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28796 echo $ECHO_N "(cached) $ECHO_C" >&6
28798 ac_check_lib_save_LIBS=$LIBS
28799 LIBS="-ljpeg $LIBS"
28800 cat >conftest.$ac_ext <<_ACEOF
28803 cat confdefs.h >>conftest.$ac_ext
28804 cat >>conftest.$ac_ext <<_ACEOF
28805 /* end confdefs.h. */
28807 /* Override any GCC internal prototype to avoid an error.
28808 Use char because int might match the return type of a GCC
28809 builtin and then its argument prototype would still apply. */
28813 char jpeg_read_header ();
28817 return jpeg_read_header ();
28822 rm -f conftest.$ac_objext conftest$ac_exeext
28823 if { (ac_try="$ac_link"
28824 case "(($ac_try" in
28825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28826 *) ac_try_echo=$ac_try;;
28828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28829 (eval "$ac_link") 2>conftest.er1
28831 grep -v '^ *+' conftest.er1 >conftest.err
28833 cat conftest.err >&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); } && {
28836 test -z "$ac_c_werror_flag" ||
28837 test ! -s conftest.err
28838 } && test -s conftest$ac_exeext &&
28839 $as_test_x conftest$ac_exeext; then
28840 ac_cv_lib_jpeg_jpeg_read_header=yes
28842 echo "$as_me: failed program was:" >&5
28843 sed 's/^/| /' conftest.$ac_ext >&5
28845 ac_cv_lib_jpeg_jpeg_read_header=no
28848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28849 conftest$ac_exeext conftest.$ac_ext
28850 LIBS=$ac_check_lib_save_LIBS
28852 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28853 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28854 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28855 JPEG_LINK=" -ljpeg"
28860 if test "x$JPEG_LINK" = "x" ; then
28861 if test "$wxUSE_LIBJPEG" = "sys" ; then
28862 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28863 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28864 { (exit 1); exit 1; }; }
28866 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28867 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28868 wxUSE_LIBJPEG=builtin
28873 if test "$wxUSE_MSW" = 1; then
28874 { echo "$as_me:$LINENO: checking for boolean" >&5
28875 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28876 if test "${ac_cv_type_boolean+set}" = set; then
28877 echo $ECHO_N "(cached) $ECHO_C" >&6
28879 cat >conftest.$ac_ext <<_ACEOF
28882 cat confdefs.h >>conftest.$ac_ext
28883 cat >>conftest.$ac_ext <<_ACEOF
28884 /* end confdefs.h. */
28885 #include <windows.h>
28887 typedef boolean ac__type_new_;
28891 if ((ac__type_new_ *) 0)
28893 if (sizeof (ac__type_new_))
28899 rm -f conftest.$ac_objext
28900 if { (ac_try="$ac_compile"
28901 case "(($ac_try" in
28902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28903 *) ac_try_echo=$ac_try;;
28905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28906 (eval "$ac_compile") 2>conftest.er1
28908 grep -v '^ *+' conftest.er1 >conftest.err
28910 cat conftest.err >&5
28911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28912 (exit $ac_status); } && {
28913 test -z "$ac_c_werror_flag" ||
28914 test ! -s conftest.err
28915 } && test -s conftest.$ac_objext; then
28916 ac_cv_type_boolean=yes
28918 echo "$as_me: failed program was:" >&5
28919 sed 's/^/| /' conftest.$ac_ext >&5
28921 ac_cv_type_boolean=no
28924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28926 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28927 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28928 if test $ac_cv_type_boolean = yes; then
28930 cat >>confdefs.h <<_ACEOF
28931 #define HAVE_BOOLEAN 1
28935 { echo "$as_me:$LINENO: checking for boolean" >&5
28936 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28937 if test "${ac_cv_type_boolean+set}" = set; then
28938 echo $ECHO_N "(cached) $ECHO_C" >&6
28940 cat >conftest.$ac_ext <<_ACEOF
28943 cat confdefs.h >>conftest.$ac_ext
28944 cat >>conftest.$ac_ext <<_ACEOF
28945 /* end confdefs.h. */
28947 #undef HAVE_BOOLEAN
28949 #include <jpeglib.h>
28952 typedef boolean ac__type_new_;
28956 if ((ac__type_new_ *) 0)
28958 if (sizeof (ac__type_new_))
28964 rm -f conftest.$ac_objext
28965 if { (ac_try="$ac_compile"
28966 case "(($ac_try" in
28967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28968 *) ac_try_echo=$ac_try;;
28970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28971 (eval "$ac_compile") 2>conftest.er1
28973 grep -v '^ *+' conftest.er1 >conftest.err
28975 cat conftest.err >&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); } && {
28978 test -z "$ac_c_werror_flag" ||
28979 test ! -s conftest.err
28980 } && test -s conftest.$ac_objext; then
28981 ac_cv_type_boolean=yes
28983 echo "$as_me: failed program was:" >&5
28984 sed 's/^/| /' conftest.$ac_ext >&5
28986 ac_cv_type_boolean=no
28989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28991 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28992 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28994 # The cast to long int works around a bug in the HP C Compiler
28995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28997 # This bug is HP SR number 8606223364.
28998 { echo "$as_me:$LINENO: checking size of boolean" >&5
28999 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29000 if test "${ac_cv_sizeof_boolean+set}" = set; then
29001 echo $ECHO_N "(cached) $ECHO_C" >&6
29003 if test "$cross_compiling" = yes; then
29004 # Depending upon the size, compute the lo and hi bounds.
29005 cat >conftest.$ac_ext <<_ACEOF
29008 cat confdefs.h >>conftest.$ac_ext
29009 cat >>conftest.$ac_ext <<_ACEOF
29010 /* end confdefs.h. */
29012 #undef HAVE_BOOLEAN
29014 #include <jpeglib.h>
29017 typedef boolean ac__type_sizeof_;
29021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29028 rm -f conftest.$ac_objext
29029 if { (ac_try="$ac_compile"
29030 case "(($ac_try" in
29031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29032 *) ac_try_echo=$ac_try;;
29034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29035 (eval "$ac_compile") 2>conftest.er1
29037 grep -v '^ *+' conftest.er1 >conftest.err
29039 cat conftest.err >&5
29040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29041 (exit $ac_status); } && {
29042 test -z "$ac_c_werror_flag" ||
29043 test ! -s conftest.err
29044 } && test -s conftest.$ac_objext; then
29047 cat >conftest.$ac_ext <<_ACEOF
29050 cat confdefs.h >>conftest.$ac_ext
29051 cat >>conftest.$ac_ext <<_ACEOF
29052 /* end confdefs.h. */
29054 #undef HAVE_BOOLEAN
29056 #include <jpeglib.h>
29059 typedef boolean ac__type_sizeof_;
29063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29070 rm -f conftest.$ac_objext
29071 if { (ac_try="$ac_compile"
29072 case "(($ac_try" in
29073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29074 *) ac_try_echo=$ac_try;;
29076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29077 (eval "$ac_compile") 2>conftest.er1
29079 grep -v '^ *+' conftest.er1 >conftest.err
29081 cat conftest.err >&5
29082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083 (exit $ac_status); } && {
29084 test -z "$ac_c_werror_flag" ||
29085 test ! -s conftest.err
29086 } && test -s conftest.$ac_objext; then
29087 ac_hi=$ac_mid; break
29089 echo "$as_me: failed program was:" >&5
29090 sed 's/^/| /' conftest.$ac_ext >&5
29092 ac_lo=`expr $ac_mid + 1`
29093 if test $ac_lo -le $ac_mid; then
29097 ac_mid=`expr 2 '*' $ac_mid + 1`
29100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29103 echo "$as_me: failed program was:" >&5
29104 sed 's/^/| /' conftest.$ac_ext >&5
29106 cat >conftest.$ac_ext <<_ACEOF
29109 cat confdefs.h >>conftest.$ac_ext
29110 cat >>conftest.$ac_ext <<_ACEOF
29111 /* end confdefs.h. */
29113 #undef HAVE_BOOLEAN
29115 #include <jpeglib.h>
29118 typedef boolean ac__type_sizeof_;
29122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29129 rm -f conftest.$ac_objext
29130 if { (ac_try="$ac_compile"
29131 case "(($ac_try" in
29132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29133 *) ac_try_echo=$ac_try;;
29135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29136 (eval "$ac_compile") 2>conftest.er1
29138 grep -v '^ *+' conftest.er1 >conftest.err
29140 cat conftest.err >&5
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); } && {
29143 test -z "$ac_c_werror_flag" ||
29144 test ! -s conftest.err
29145 } && test -s conftest.$ac_objext; then
29148 cat >conftest.$ac_ext <<_ACEOF
29151 cat confdefs.h >>conftest.$ac_ext
29152 cat >>conftest.$ac_ext <<_ACEOF
29153 /* end confdefs.h. */
29155 #undef HAVE_BOOLEAN
29157 #include <jpeglib.h>
29160 typedef boolean ac__type_sizeof_;
29164 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29171 rm -f conftest.$ac_objext
29172 if { (ac_try="$ac_compile"
29173 case "(($ac_try" in
29174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29175 *) ac_try_echo=$ac_try;;
29177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29178 (eval "$ac_compile") 2>conftest.er1
29180 grep -v '^ *+' conftest.er1 >conftest.err
29182 cat conftest.err >&5
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); } && {
29185 test -z "$ac_c_werror_flag" ||
29186 test ! -s conftest.err
29187 } && test -s conftest.$ac_objext; then
29188 ac_lo=$ac_mid; break
29190 echo "$as_me: failed program was:" >&5
29191 sed 's/^/| /' conftest.$ac_ext >&5
29193 ac_hi=`expr '(' $ac_mid ')' - 1`
29194 if test $ac_mid -le $ac_hi; then
29198 ac_mid=`expr 2 '*' $ac_mid`
29201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29204 echo "$as_me: failed program was:" >&5
29205 sed 's/^/| /' conftest.$ac_ext >&5
29210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29214 # Binary search between lo and hi bounds.
29215 while test "x$ac_lo" != "x$ac_hi"; do
29216 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29217 cat >conftest.$ac_ext <<_ACEOF
29220 cat confdefs.h >>conftest.$ac_ext
29221 cat >>conftest.$ac_ext <<_ACEOF
29222 /* end confdefs.h. */
29224 #undef HAVE_BOOLEAN
29226 #include <jpeglib.h>
29229 typedef boolean ac__type_sizeof_;
29233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29240 rm -f conftest.$ac_objext
29241 if { (ac_try="$ac_compile"
29242 case "(($ac_try" in
29243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29244 *) ac_try_echo=$ac_try;;
29246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29247 (eval "$ac_compile") 2>conftest.er1
29249 grep -v '^ *+' conftest.er1 >conftest.err
29251 cat conftest.err >&5
29252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253 (exit $ac_status); } && {
29254 test -z "$ac_c_werror_flag" ||
29255 test ! -s conftest.err
29256 } && test -s conftest.$ac_objext; then
29259 echo "$as_me: failed program was:" >&5
29260 sed 's/^/| /' conftest.$ac_ext >&5
29262 ac_lo=`expr '(' $ac_mid ')' + 1`
29265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29268 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29269 '') if test "$ac_cv_type_boolean" = yes; then
29270 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29271 See \`config.log' for more details." >&5
29272 echo "$as_me: error: cannot compute sizeof (boolean)
29273 See \`config.log' for more details." >&2;}
29274 { (exit 77); exit 77; }; }
29276 ac_cv_sizeof_boolean=0
29280 cat >conftest.$ac_ext <<_ACEOF
29283 cat confdefs.h >>conftest.$ac_ext
29284 cat >>conftest.$ac_ext <<_ACEOF
29285 /* end confdefs.h. */
29287 #undef HAVE_BOOLEAN
29289 #include <jpeglib.h>
29292 typedef boolean ac__type_sizeof_;
29293 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29294 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29296 #include <stdlib.h>
29301 FILE *f = fopen ("conftest.val", "w");
29304 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29306 long int i = longval ();
29307 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29309 fprintf (f, "%ld\n", i);
29313 unsigned long int i = ulongval ();
29314 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29316 fprintf (f, "%lu\n", i);
29318 return ferror (f) || fclose (f) != 0;
29324 rm -f conftest$ac_exeext
29325 if { (ac_try="$ac_link"
29326 case "(($ac_try" in
29327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29328 *) ac_try_echo=$ac_try;;
29330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29331 (eval "$ac_link") 2>&5
29333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29335 { (case "(($ac_try" in
29336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29337 *) ac_try_echo=$ac_try;;
29339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29340 (eval "$ac_try") 2>&5
29342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29343 (exit $ac_status); }; }; then
29344 ac_cv_sizeof_boolean=`cat conftest.val`
29346 echo "$as_me: program exited with status $ac_status" >&5
29347 echo "$as_me: failed program was:" >&5
29348 sed 's/^/| /' conftest.$ac_ext >&5
29350 ( exit $ac_status )
29351 if test "$ac_cv_type_boolean" = yes; then
29352 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29353 See \`config.log' for more details." >&5
29354 echo "$as_me: error: cannot compute sizeof (boolean)
29355 See \`config.log' for more details." >&2;}
29356 { (exit 77); exit 77; }; }
29358 ac_cv_sizeof_boolean=0
29361 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29365 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29366 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29370 cat >>confdefs.h <<_ACEOF
29371 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29375 cat >>confdefs.h <<_ACEOF
29376 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29390 TIFF_PREREQ_LINKS=-lm
29391 if test "$wxUSE_LIBTIFF" != "no" ; then
29392 cat >>confdefs.h <<\_ACEOF
29393 #define wxUSE_LIBTIFF 1
29397 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29398 if test "$wxUSE_LIBJPEG" = "sys"; then
29399 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29401 if test "$wxUSE_ZLIB" = "sys"; then
29402 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29404 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29405 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29406 if test "${ac_cv_header_tiffio_h+set}" = set; then
29407 echo $ECHO_N "(cached) $ECHO_C" >&6
29409 cat >conftest.$ac_ext <<_ACEOF
29412 cat confdefs.h >>conftest.$ac_ext
29413 cat >>conftest.$ac_ext <<_ACEOF
29414 /* end confdefs.h. */
29418 #include <tiffio.h>
29420 rm -f conftest.$ac_objext
29421 if { (ac_try="$ac_compile"
29422 case "(($ac_try" in
29423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29424 *) ac_try_echo=$ac_try;;
29426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29427 (eval "$ac_compile") 2>conftest.er1
29429 grep -v '^ *+' conftest.er1 >conftest.err
29431 cat conftest.err >&5
29432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29433 (exit $ac_status); } && {
29434 test -z "$ac_c_werror_flag" ||
29435 test ! -s conftest.err
29436 } && test -s conftest.$ac_objext; then
29437 ac_cv_header_tiffio_h=yes
29439 echo "$as_me: failed program was:" >&5
29440 sed 's/^/| /' conftest.$ac_ext >&5
29442 ac_cv_header_tiffio_h=no
29445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29447 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29448 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29449 if test $ac_cv_header_tiffio_h = yes; then
29451 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29452 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29453 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29454 echo $ECHO_N "(cached) $ECHO_C" >&6
29456 ac_check_lib_save_LIBS=$LIBS
29457 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29458 cat >conftest.$ac_ext <<_ACEOF
29461 cat confdefs.h >>conftest.$ac_ext
29462 cat >>conftest.$ac_ext <<_ACEOF
29463 /* end confdefs.h. */
29465 /* Override any GCC internal prototype to avoid an error.
29466 Use char because int might match the return type of a GCC
29467 builtin and then its argument prototype would still apply. */
29475 return TIFFError ();
29480 rm -f conftest.$ac_objext conftest$ac_exeext
29481 if { (ac_try="$ac_link"
29482 case "(($ac_try" in
29483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29484 *) ac_try_echo=$ac_try;;
29486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29487 (eval "$ac_link") 2>conftest.er1
29489 grep -v '^ *+' conftest.er1 >conftest.err
29491 cat conftest.err >&5
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); } && {
29494 test -z "$ac_c_werror_flag" ||
29495 test ! -s conftest.err
29496 } && test -s conftest$ac_exeext &&
29497 $as_test_x conftest$ac_exeext; then
29498 ac_cv_lib_tiff_TIFFError=yes
29500 echo "$as_me: failed program was:" >&5
29501 sed 's/^/| /' conftest.$ac_ext >&5
29503 ac_cv_lib_tiff_TIFFError=no
29506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29507 conftest$ac_exeext conftest.$ac_ext
29508 LIBS=$ac_check_lib_save_LIBS
29510 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29511 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29512 if test $ac_cv_lib_tiff_TIFFError = yes; then
29513 TIFF_LINK=" -ltiff"
29521 if test "x$TIFF_LINK" = "x" ; then
29522 if test "$wxUSE_LIBTIFF" = "sys" ; then
29523 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29524 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29525 { (exit 1); exit 1; }; }
29527 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29528 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29529 wxUSE_LIBTIFF=builtin
29538 if test "$wxUSE_WCHAR_T" != "yes"; then
29539 if test "$wxUSE_EXPAT" != "no"; then
29540 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29541 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29544 if test "$wxUSE_XML" != "no"; then
29545 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29546 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29551 if test "$wxUSE_EXPAT" != "no"; then
29553 cat >>confdefs.h <<\_ACEOF
29554 #define wxUSE_EXPAT 1
29557 cat >>confdefs.h <<\_ACEOF
29558 #define wxUSE_XML 1
29562 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29563 { echo "$as_me:$LINENO: checking for expat.h" >&5
29564 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29565 if test "${ac_cv_header_expat_h+set}" = set; then
29566 echo $ECHO_N "(cached) $ECHO_C" >&6
29568 cat >conftest.$ac_ext <<_ACEOF
29571 cat confdefs.h >>conftest.$ac_ext
29572 cat >>conftest.$ac_ext <<_ACEOF
29573 /* end confdefs.h. */
29578 rm -f conftest.$ac_objext
29579 if { (ac_try="$ac_compile"
29580 case "(($ac_try" in
29581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29582 *) ac_try_echo=$ac_try;;
29584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29585 (eval "$ac_compile") 2>conftest.er1
29587 grep -v '^ *+' conftest.er1 >conftest.err
29589 cat conftest.err >&5
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); } && {
29592 test -z "$ac_c_werror_flag" ||
29593 test ! -s conftest.err
29594 } && test -s conftest.$ac_objext; then
29595 ac_cv_header_expat_h=yes
29597 echo "$as_me: failed program was:" >&5
29598 sed 's/^/| /' conftest.$ac_ext >&5
29600 ac_cv_header_expat_h=no
29603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29605 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29606 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29607 if test $ac_cv_header_expat_h = yes; then
29612 if test "x$found_expat_h" = "x1"; then
29613 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29614 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29615 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29616 echo $ECHO_N "(cached) $ECHO_C" >&6
29620 ac_cpp='$CXXCPP $CPPFLAGS'
29621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29625 cat >conftest.$ac_ext <<_ACEOF
29628 cat confdefs.h >>conftest.$ac_ext
29629 cat >>conftest.$ac_ext <<_ACEOF
29630 /* end confdefs.h. */
29640 rm -f conftest.$ac_objext
29641 if { (ac_try="$ac_compile"
29642 case "(($ac_try" in
29643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29644 *) ac_try_echo=$ac_try;;
29646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29647 (eval "$ac_compile") 2>conftest.er1
29649 grep -v '^ *+' conftest.er1 >conftest.err
29651 cat conftest.err >&5
29652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653 (exit $ac_status); } && {
29654 test -z "$ac_cxx_werror_flag" ||
29655 test ! -s conftest.err
29656 } && test -s conftest.$ac_objext; then
29657 wx_cv_expat_is_not_broken=yes
29659 echo "$as_me: failed program was:" >&5
29660 sed 's/^/| /' conftest.$ac_ext >&5
29662 wx_cv_expat_is_not_broken=no
29666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29668 ac_cpp='$CPP $CPPFLAGS'
29669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29676 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29677 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29678 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29679 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29680 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29681 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29682 echo $ECHO_N "(cached) $ECHO_C" >&6
29684 ac_check_lib_save_LIBS=$LIBS
29685 LIBS="-lexpat $LIBS"
29686 cat >conftest.$ac_ext <<_ACEOF
29689 cat confdefs.h >>conftest.$ac_ext
29690 cat >>conftest.$ac_ext <<_ACEOF
29691 /* end confdefs.h. */
29693 /* Override any GCC internal prototype to avoid an error.
29694 Use char because int might match the return type of a GCC
29695 builtin and then its argument prototype would still apply. */
29699 char XML_ParserCreate ();
29703 return XML_ParserCreate ();
29708 rm -f conftest.$ac_objext conftest$ac_exeext
29709 if { (ac_try="$ac_link"
29710 case "(($ac_try" in
29711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29712 *) ac_try_echo=$ac_try;;
29714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29715 (eval "$ac_link") 2>conftest.er1
29717 grep -v '^ *+' conftest.er1 >conftest.err
29719 cat conftest.err >&5
29720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721 (exit $ac_status); } && {
29722 test -z "$ac_c_werror_flag" ||
29723 test ! -s conftest.err
29724 } && test -s conftest$ac_exeext &&
29725 $as_test_x conftest$ac_exeext; then
29726 ac_cv_lib_expat_XML_ParserCreate=yes
29728 echo "$as_me: failed program was:" >&5
29729 sed 's/^/| /' conftest.$ac_ext >&5
29731 ac_cv_lib_expat_XML_ParserCreate=no
29734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29735 conftest$ac_exeext conftest.$ac_ext
29736 LIBS=$ac_check_lib_save_LIBS
29738 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29739 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29740 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29741 EXPAT_LINK=" -lexpat"
29746 if test "x$EXPAT_LINK" = "x" ; then
29747 if test "$wxUSE_EXPAT" = "sys" ; then
29748 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29749 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29750 { (exit 1); exit 1; }; }
29752 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29753 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29754 wxUSE_EXPAT=builtin
29760 if test "$wxUSE_EXPAT" = "builtin" ; then
29761 subdirs="$subdirs src/expat"
29768 if test "$wxUSE_LIBMSPACK" != "no"; then
29769 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29770 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29771 if test "${ac_cv_header_mspack_h+set}" = set; then
29772 echo $ECHO_N "(cached) $ECHO_C" >&6
29774 cat >conftest.$ac_ext <<_ACEOF
29777 cat confdefs.h >>conftest.$ac_ext
29778 cat >>conftest.$ac_ext <<_ACEOF
29779 /* end confdefs.h. */
29782 #include <mspack.h>
29784 rm -f conftest.$ac_objext
29785 if { (ac_try="$ac_compile"
29786 case "(($ac_try" in
29787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29788 *) ac_try_echo=$ac_try;;
29790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29791 (eval "$ac_compile") 2>conftest.er1
29793 grep -v '^ *+' conftest.er1 >conftest.err
29795 cat conftest.err >&5
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); } && {
29798 test -z "$ac_c_werror_flag" ||
29799 test ! -s conftest.err
29800 } && test -s conftest.$ac_objext; then
29801 ac_cv_header_mspack_h=yes
29803 echo "$as_me: failed program was:" >&5
29804 sed 's/^/| /' conftest.$ac_ext >&5
29806 ac_cv_header_mspack_h=no
29809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29811 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29812 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29813 if test $ac_cv_header_mspack_h = yes; then
29818 if test "x$found_mspack_h" = "x1"; then
29819 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29820 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29821 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29822 echo $ECHO_N "(cached) $ECHO_C" >&6
29824 ac_check_lib_save_LIBS=$LIBS
29825 LIBS="-lmspack $LIBS"
29826 cat >conftest.$ac_ext <<_ACEOF
29829 cat confdefs.h >>conftest.$ac_ext
29830 cat >>conftest.$ac_ext <<_ACEOF
29831 /* end confdefs.h. */
29833 /* Override any GCC internal prototype to avoid an error.
29834 Use char because int might match the return type of a GCC
29835 builtin and then its argument prototype would still apply. */
29839 char mspack_create_chm_decompressor ();
29843 return mspack_create_chm_decompressor ();
29848 rm -f conftest.$ac_objext conftest$ac_exeext
29849 if { (ac_try="$ac_link"
29850 case "(($ac_try" in
29851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29852 *) ac_try_echo=$ac_try;;
29854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29855 (eval "$ac_link") 2>conftest.er1
29857 grep -v '^ *+' conftest.er1 >conftest.err
29859 cat conftest.err >&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); } && {
29862 test -z "$ac_c_werror_flag" ||
29863 test ! -s conftest.err
29864 } && test -s conftest$ac_exeext &&
29865 $as_test_x conftest$ac_exeext; then
29866 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29868 echo "$as_me: failed program was:" >&5
29869 sed 's/^/| /' conftest.$ac_ext >&5
29871 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29875 conftest$ac_exeext conftest.$ac_ext
29876 LIBS=$ac_check_lib_save_LIBS
29878 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29879 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29880 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29881 MSPACK_LINK=" -lmspack"
29885 if test "x$MSPACK_LINK" = "x" ; then
29890 if test "$wxUSE_LIBMSPACK" != "no"; then
29891 cat >>confdefs.h <<\_ACEOF
29892 #define wxUSE_LIBMSPACK 1
29906 if test "$USE_WIN32" = 1 ; then
29907 { echo "$as_me:$LINENO: checking for w32api.h" >&5
29908 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
29909 if test "${ac_cv_header_w32api_h+set}" = set; then
29910 echo $ECHO_N "(cached) $ECHO_C" >&6
29912 cat >conftest.$ac_ext <<_ACEOF
29915 cat confdefs.h >>conftest.$ac_ext
29916 cat >>conftest.$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29920 #include <w32api.h>
29922 rm -f conftest.$ac_objext
29923 if { (ac_try="$ac_compile"
29924 case "(($ac_try" in
29925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29926 *) ac_try_echo=$ac_try;;
29928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29929 (eval "$ac_compile") 2>conftest.er1
29931 grep -v '^ *+' conftest.er1 >conftest.err
29933 cat conftest.err >&5
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); } && {
29936 test -z "$ac_c_werror_flag" ||
29937 test ! -s conftest.err
29938 } && test -s conftest.$ac_objext; then
29939 ac_cv_header_w32api_h=yes
29941 echo "$as_me: failed program was:" >&5
29942 sed 's/^/| /' conftest.$ac_ext >&5
29944 ac_cv_header_w32api_h=no
29947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29949 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
29950 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
29953 { echo "$as_me:$LINENO: checking for windows.h" >&5
29954 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29955 if test "${ac_cv_header_windows_h+set}" = set; then
29956 echo $ECHO_N "(cached) $ECHO_C" >&6
29958 cat >conftest.$ac_ext <<_ACEOF
29961 cat confdefs.h >>conftest.$ac_ext
29962 cat >>conftest.$ac_ext <<_ACEOF
29963 /* end confdefs.h. */
29966 #include <windows.h>
29968 rm -f conftest.$ac_objext
29969 if { (ac_try="$ac_compile"
29970 case "(($ac_try" in
29971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29972 *) ac_try_echo=$ac_try;;
29974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29975 (eval "$ac_compile") 2>conftest.er1
29977 grep -v '^ *+' conftest.er1 >conftest.err
29979 cat conftest.err >&5
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); } && {
29982 test -z "$ac_c_werror_flag" ||
29983 test ! -s conftest.err
29984 } && test -s conftest.$ac_objext; then
29985 ac_cv_header_windows_h=yes
29987 echo "$as_me: failed program was:" >&5
29988 sed 's/^/| /' conftest.$ac_ext >&5
29990 ac_cv_header_windows_h=no
29993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29995 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29996 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29997 if test $ac_cv_header_windows_h = yes; then
30001 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30002 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30003 { (exit 1); exit 1; }; }
30009 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30011 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30012 LIBS="$LIBS -loleacc"
30017 LIBS="$LIBS -lkernel32 -luser32"
30020 if test "$wxUSE_ODBC" = "sys" ; then
30023 if test "$wxUSE_ODBC" = "yes" ; then
30024 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30025 cat >>confdefs.h <<\_ACEOF
30026 #define wxUSE_ODBC 1
30031 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30032 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30034 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30036 WIN32INSTALL=win32install
30038 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30039 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30040 if test "${ac_cv_header_pbt_h+set}" = set; then
30041 echo $ECHO_N "(cached) $ECHO_C" >&6
30043 cat >conftest.$ac_ext <<_ACEOF
30046 cat confdefs.h >>conftest.$ac_ext
30047 cat >>conftest.$ac_ext <<_ACEOF
30048 /* end confdefs.h. */
30053 rm -f conftest.$ac_objext
30054 if { (ac_try="$ac_compile"
30055 case "(($ac_try" in
30056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30057 *) ac_try_echo=$ac_try;;
30059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30060 (eval "$ac_compile") 2>conftest.er1
30062 grep -v '^ *+' conftest.er1 >conftest.err
30064 cat conftest.err >&5
30065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30066 (exit $ac_status); } && {
30067 test -z "$ac_c_werror_flag" ||
30068 test ! -s conftest.err
30069 } && test -s conftest.$ac_objext; then
30070 ac_cv_header_pbt_h=yes
30072 echo "$as_me: failed program was:" >&5
30073 sed 's/^/| /' conftest.$ac_ext >&5
30075 ac_cv_header_pbt_h=no
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30080 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30081 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30082 if test $ac_cv_header_pbt_h = yes; then
30085 cat >>confdefs.h <<\_ACEOF
30086 #define NEED_PBT_H 1
30094 if test "$wxUSE_GUI" = "yes"; then
30104 if test "$wxUSE_COCOA" = 1 ; then
30105 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30106 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30107 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30108 wxUSE_PRINTING_ARCHITECTURE=no
30110 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30111 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30112 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30113 wxUSE_DRAG_AND_DROP=no
30115 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30116 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30117 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30122 if test "$wxUSE_MSW" = 1 ; then
30128 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30132 if test "$wxUSE_GTK" = 1; then
30133 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30134 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30136 gtk_version_cached=1
30137 if test "${wx_cv_lib_gtk+set}" = set; then
30138 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 gtk_version_cached=0
30142 { echo "$as_me:$LINENO: result: " >&5
30143 echo "${ECHO_T}" >&6; }
30146 if test "$wxUSE_THREADS" = "yes"; then
30147 GTK_MODULES=gthread
30151 if test "x$wxGTK_VERSION" != "x1"
30155 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30160 # Check whether --enable-gtktest was given.
30161 if test "${enable_gtktest+set}" = set; then
30162 enableval=$enable_gtktest;
30168 pkg_config_args=gtk+-2.0
30169 for module in . $GTK_MODULES
30173 pkg_config_args="$pkg_config_args gthread-2.0"
30180 # Extract the first word of "pkg-config", so it can be a program name with args.
30181 set dummy pkg-config; ac_word=$2
30182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30184 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30185 echo $ECHO_N "(cached) $ECHO_C" >&6
30187 case $PKG_CONFIG in
30189 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30193 for as_dir in $PATH
30196 test -z "$as_dir" && as_dir=.
30197 for ac_exec_ext in '' $ac_executable_extensions; do
30198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30199 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30207 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30211 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30212 if test -n "$PKG_CONFIG"; then
30213 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30214 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30216 { echo "$as_me:$LINENO: result: no" >&5
30217 echo "${ECHO_T}no" >&6; }
30222 if test x$PKG_CONFIG != xno ; then
30223 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30226 echo "*** pkg-config too old; version 0.7 or better required."
30234 min_gtk_version=2.0.0
30235 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30236 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30238 if test x$PKG_CONFIG != xno ; then
30239 ## don't try to run the test against uninstalled libtool libs
30240 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30241 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30245 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30252 if test x"$no_gtk" = x ; then
30253 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30254 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30255 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30257 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30259 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30261 if test "x$enable_gtktest" = "xyes" ; then
30262 ac_save_CFLAGS="$CFLAGS"
30263 ac_save_LIBS="$LIBS"
30264 CFLAGS="$CFLAGS $GTK_CFLAGS"
30265 LIBS="$GTK_LIBS $LIBS"
30267 if test "$cross_compiling" = yes; then
30268 echo $ac_n "cross compiling; assumed OK... $ac_c"
30270 cat >conftest.$ac_ext <<_ACEOF
30273 cat confdefs.h >>conftest.$ac_ext
30274 cat >>conftest.$ac_ext <<_ACEOF
30275 /* end confdefs.h. */
30277 #include <gtk/gtk.h>
30279 #include <stdlib.h>
30284 int major, minor, micro;
30287 system ("touch conf.gtktest");
30289 /* HP/UX 9 (%@#!) writes to sscanf strings */
30290 tmp_version = g_strdup("$min_gtk_version");
30291 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30292 printf("%s, bad version string\n", "$min_gtk_version");
30296 if ((gtk_major_version != $gtk_config_major_version) ||
30297 (gtk_minor_version != $gtk_config_minor_version) ||
30298 (gtk_micro_version != $gtk_config_micro_version))
30300 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30301 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30302 gtk_major_version, gtk_minor_version, gtk_micro_version);
30303 printf ("*** was found! If pkg-config was correct, then it is best\n");
30304 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30305 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30306 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30307 printf("*** required on your system.\n");
30308 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30309 printf("*** to point to the correct configuration files\n");
30311 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30312 (gtk_minor_version != GTK_MINOR_VERSION) ||
30313 (gtk_micro_version != GTK_MICRO_VERSION))
30315 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30316 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30317 printf("*** library (version %d.%d.%d)\n",
30318 gtk_major_version, gtk_minor_version, gtk_micro_version);
30322 if ((gtk_major_version > major) ||
30323 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30324 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30330 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30331 gtk_major_version, gtk_minor_version, gtk_micro_version);
30332 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30333 major, minor, micro);
30334 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30336 printf("*** If you have already installed a sufficiently new version, this error\n");
30337 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30338 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30339 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30340 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30341 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30342 printf("*** so that the correct libraries are found at run-time))\n");
30349 rm -f conftest$ac_exeext
30350 if { (ac_try="$ac_link"
30351 case "(($ac_try" in
30352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30353 *) ac_try_echo=$ac_try;;
30355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30356 (eval "$ac_link") 2>&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30360 { (case "(($ac_try" in
30361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30362 *) ac_try_echo=$ac_try;;
30364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30365 (eval "$ac_try") 2>&5
30367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30368 (exit $ac_status); }; }; then
30371 echo "$as_me: program exited with status $ac_status" >&5
30372 echo "$as_me: failed program was:" >&5
30373 sed 's/^/| /' conftest.$ac_ext >&5
30375 ( exit $ac_status )
30378 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30382 CFLAGS="$ac_save_CFLAGS"
30383 LIBS="$ac_save_LIBS"
30386 if test "x$no_gtk" = x ; then
30387 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30388 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30391 { echo "$as_me:$LINENO: result: no" >&5
30392 echo "${ECHO_T}no" >&6; }
30393 if test "$PKG_CONFIG" = "no" ; then
30394 echo "*** A new enough version of pkg-config was not found."
30395 echo "*** See http://pkgconfig.sourceforge.net"
30397 if test -f conf.gtktest ; then
30400 echo "*** Could not run GTK+ test program, checking why..."
30401 ac_save_CFLAGS="$CFLAGS"
30402 ac_save_LIBS="$LIBS"
30403 CFLAGS="$CFLAGS $GTK_CFLAGS"
30404 LIBS="$LIBS $GTK_LIBS"
30405 cat >conftest.$ac_ext <<_ACEOF
30408 cat confdefs.h >>conftest.$ac_ext
30409 cat >>conftest.$ac_ext <<_ACEOF
30410 /* end confdefs.h. */
30412 #include <gtk/gtk.h>
30418 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30423 rm -f conftest.$ac_objext conftest$ac_exeext
30424 if { (ac_try="$ac_link"
30425 case "(($ac_try" in
30426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30427 *) ac_try_echo=$ac_try;;
30429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30430 (eval "$ac_link") 2>conftest.er1
30432 grep -v '^ *+' conftest.er1 >conftest.err
30434 cat conftest.err >&5
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); } && {
30437 test -z "$ac_c_werror_flag" ||
30438 test ! -s conftest.err
30439 } && test -s conftest$ac_exeext &&
30440 $as_test_x conftest$ac_exeext; then
30441 echo "*** The test program compiled, but did not run. This usually means"
30442 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30443 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30444 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30445 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30446 echo "*** is required on your system"
30448 echo "*** If you have an old version installed, it is best to remove it, although"
30449 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.$ac_ext >&5
30454 echo "*** The test program failed to compile or link. See the file config.log for the"
30455 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30459 conftest$ac_exeext conftest.$ac_ext
30460 CFLAGS="$ac_save_CFLAGS"
30461 LIBS="$ac_save_LIBS"
30475 if test "$wxUSE_SHARED" != "yes"; then
30476 GTK_LIBS="$GTK_LIBS -lX11"
30481 if test -z "$wx_cv_lib_gtk"; then
30482 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30484 # Check whether --with-gtk-prefix was given.
30485 if test "${with_gtk_prefix+set}" = set; then
30486 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30488 gtk_config_prefix=""
30492 # Check whether --with-gtk-exec-prefix was given.
30493 if test "${with_gtk_exec_prefix+set}" = set; then
30494 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30496 gtk_config_exec_prefix=""
30499 # Check whether --enable-gtktest was given.
30500 if test "${enable_gtktest+set}" = set; then
30501 enableval=$enable_gtktest;
30507 for module in . $GTK_MODULES
30511 gtk_config_args="$gtk_config_args gthread"
30516 if test x$gtk_config_exec_prefix != x ; then
30517 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30518 if test x${GTK_CONFIG+set} != xset ; then
30519 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30522 if test x$gtk_config_prefix != x ; then
30523 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30524 if test x${GTK_CONFIG+set} != xset ; then
30525 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30529 # Extract the first word of "gtk-config", so it can be a program name with args.
30530 set dummy gtk-config; ac_word=$2
30531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30533 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30536 case $GTK_CONFIG in
30538 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30542 for as_dir in $PATH
30545 test -z "$as_dir" && as_dir=.
30546 for ac_exec_ext in '' $ac_executable_extensions; do
30547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30548 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30556 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30560 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30561 if test -n "$GTK_CONFIG"; then
30562 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30563 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30565 { echo "$as_me:$LINENO: result: no" >&5
30566 echo "${ECHO_T}no" >&6; }
30570 min_gtk_version=1.2.7
30571 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30572 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30574 if test "$GTK_CONFIG" = "no" ; then
30577 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30578 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30579 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30581 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30583 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30585 if test "x$enable_gtktest" = "xyes" ; then
30586 ac_save_CFLAGS="$CFLAGS"
30587 ac_save_LIBS="$LIBS"
30588 CFLAGS="$CFLAGS $GTK_CFLAGS"
30589 LIBS="$GTK_LIBS $LIBS"
30591 if test "$cross_compiling" = yes; then
30592 echo $ac_n "cross compiling; assumed OK... $ac_c"
30594 cat >conftest.$ac_ext <<_ACEOF
30597 cat confdefs.h >>conftest.$ac_ext
30598 cat >>conftest.$ac_ext <<_ACEOF
30599 /* end confdefs.h. */
30601 #include <gtk/gtk.h>
30603 #include <stdlib.h>
30608 int major, minor, micro;
30611 system ("touch conf.gtktest");
30613 /* HP/UX 9 (%@#!) writes to sscanf strings */
30614 tmp_version = g_strdup("$min_gtk_version");
30615 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30616 printf("%s, bad version string\n", "$min_gtk_version");
30620 if ((gtk_major_version != $gtk_config_major_version) ||
30621 (gtk_minor_version != $gtk_config_minor_version) ||
30622 (gtk_micro_version != $gtk_config_micro_version))
30624 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30625 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30626 gtk_major_version, gtk_minor_version, gtk_micro_version);
30627 printf ("*** was found! If gtk-config was correct, then it is best\n");
30628 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30629 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30630 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30631 printf("*** required on your system.\n");
30632 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30633 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30634 printf("*** before re-running configure\n");
30636 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30637 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30638 (gtk_minor_version != GTK_MINOR_VERSION) ||
30639 (gtk_micro_version != GTK_MICRO_VERSION))
30641 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30642 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30643 printf("*** library (version %d.%d.%d)\n",
30644 gtk_major_version, gtk_minor_version, gtk_micro_version);
30646 #endif /* defined (GTK_MAJOR_VERSION) ... */
30649 if ((gtk_major_version > major) ||
30650 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30651 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30657 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30658 gtk_major_version, gtk_minor_version, gtk_micro_version);
30659 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30660 major, minor, micro);
30661 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30663 printf("*** If you have already installed a sufficiently new version, this error\n");
30664 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30665 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30666 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30667 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30668 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30669 printf("*** so that the correct libraries are found at run-time))\n");
30676 rm -f conftest$ac_exeext
30677 if { (ac_try="$ac_link"
30678 case "(($ac_try" in
30679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30680 *) ac_try_echo=$ac_try;;
30682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30683 (eval "$ac_link") 2>&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30687 { (case "(($ac_try" in
30688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30689 *) ac_try_echo=$ac_try;;
30691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30692 (eval "$ac_try") 2>&5
30694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30695 (exit $ac_status); }; }; then
30698 echo "$as_me: program exited with status $ac_status" >&5
30699 echo "$as_me: failed program was:" >&5
30700 sed 's/^/| /' conftest.$ac_ext >&5
30702 ( exit $ac_status )
30705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30709 CFLAGS="$ac_save_CFLAGS"
30710 LIBS="$ac_save_LIBS"
30713 if test "x$no_gtk" = x ; then
30714 { echo "$as_me:$LINENO: result: yes" >&5
30715 echo "${ECHO_T}yes" >&6; }
30716 wx_cv_lib_gtk=1.2.7
30718 { echo "$as_me:$LINENO: result: no" >&5
30719 echo "${ECHO_T}no" >&6; }
30720 if test "$GTK_CONFIG" = "no" ; then
30721 echo "*** The gtk-config script installed by GTK could not be found"
30722 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30723 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30724 echo "*** full path to gtk-config."
30726 if test -f conf.gtktest ; then
30729 echo "*** Could not run GTK test program, checking why..."
30730 CFLAGS="$CFLAGS $GTK_CFLAGS"
30731 LIBS="$LIBS $GTK_LIBS"
30732 cat >conftest.$ac_ext <<_ACEOF
30735 cat confdefs.h >>conftest.$ac_ext
30736 cat >>conftest.$ac_ext <<_ACEOF
30737 /* end confdefs.h. */
30739 #include <gtk/gtk.h>
30745 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30750 rm -f conftest.$ac_objext conftest$ac_exeext
30751 if { (ac_try="$ac_link"
30752 case "(($ac_try" in
30753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30754 *) ac_try_echo=$ac_try;;
30756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30757 (eval "$ac_link") 2>conftest.er1
30759 grep -v '^ *+' conftest.er1 >conftest.err
30761 cat conftest.err >&5
30762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30763 (exit $ac_status); } && {
30764 test -z "$ac_c_werror_flag" ||
30765 test ! -s conftest.err
30766 } && test -s conftest$ac_exeext &&
30767 $as_test_x conftest$ac_exeext; then
30768 echo "*** The test program compiled, but did not run. This usually means"
30769 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30770 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30771 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30772 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30773 echo "*** is required on your system"
30775 echo "*** If you have an old version installed, it is best to remove it, although"
30776 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30778 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30779 echo "*** came with the system with the command"
30781 echo "*** rpm --erase --nodeps gtk gtk-devel"
30783 echo "$as_me: failed program was:" >&5
30784 sed 's/^/| /' conftest.$ac_ext >&5
30786 echo "*** The test program failed to compile or link. See the file config.log for the"
30787 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30788 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30789 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30793 conftest$ac_exeext conftest.$ac_ext
30794 CFLAGS="$ac_save_CFLAGS"
30795 LIBS="$ac_save_LIBS"
30807 if test -z "$wx_cv_lib_gtk"; then
30809 # Check whether --with-gtk-prefix was given.
30810 if test "${with_gtk_prefix+set}" = set; then
30811 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30813 gtk_config_prefix=""
30817 # Check whether --with-gtk-exec-prefix was given.
30818 if test "${with_gtk_exec_prefix+set}" = set; then
30819 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30821 gtk_config_exec_prefix=""
30824 # Check whether --enable-gtktest was given.
30825 if test "${enable_gtktest+set}" = set; then
30826 enableval=$enable_gtktest;
30832 for module in . $GTK_MODULES
30836 gtk_config_args="$gtk_config_args gthread"
30841 if test x$gtk_config_exec_prefix != x ; then
30842 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30843 if test x${GTK_CONFIG+set} != xset ; then
30844 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30847 if test x$gtk_config_prefix != x ; then
30848 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30849 if test x${GTK_CONFIG+set} != xset ; then
30850 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30854 # Extract the first word of "gtk-config", so it can be a program name with args.
30855 set dummy gtk-config; ac_word=$2
30856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30858 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30859 echo $ECHO_N "(cached) $ECHO_C" >&6
30861 case $GTK_CONFIG in
30863 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30867 for as_dir in $PATH
30870 test -z "$as_dir" && as_dir=.
30871 for ac_exec_ext in '' $ac_executable_extensions; do
30872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30873 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30881 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30885 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30886 if test -n "$GTK_CONFIG"; then
30887 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30888 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30890 { echo "$as_me:$LINENO: result: no" >&5
30891 echo "${ECHO_T}no" >&6; }
30895 min_gtk_version=1.2.3
30896 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30897 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30899 if test "$GTK_CONFIG" = "no" ; then
30902 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30903 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30904 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30905 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30906 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30907 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30908 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30909 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30910 if test "x$enable_gtktest" = "xyes" ; then
30911 ac_save_CFLAGS="$CFLAGS"
30912 ac_save_LIBS="$LIBS"
30913 CFLAGS="$CFLAGS $GTK_CFLAGS"
30914 LIBS="$GTK_LIBS $LIBS"
30916 if test "$cross_compiling" = yes; then
30917 echo $ac_n "cross compiling; assumed OK... $ac_c"
30919 cat >conftest.$ac_ext <<_ACEOF
30922 cat confdefs.h >>conftest.$ac_ext
30923 cat >>conftest.$ac_ext <<_ACEOF
30924 /* end confdefs.h. */
30926 #include <gtk/gtk.h>
30928 #include <stdlib.h>
30933 int major, minor, micro;
30936 system ("touch conf.gtktest");
30938 /* HP/UX 9 (%@#!) writes to sscanf strings */
30939 tmp_version = g_strdup("$min_gtk_version");
30940 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30941 printf("%s, bad version string\n", "$min_gtk_version");
30945 if ((gtk_major_version != $gtk_config_major_version) ||
30946 (gtk_minor_version != $gtk_config_minor_version) ||
30947 (gtk_micro_version != $gtk_config_micro_version))
30949 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30950 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30951 gtk_major_version, gtk_minor_version, gtk_micro_version);
30952 printf ("*** was found! If gtk-config was correct, then it is best\n");
30953 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30954 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30955 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30956 printf("*** required on your system.\n");
30957 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30958 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30959 printf("*** before re-running configure\n");
30961 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30962 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30963 (gtk_minor_version != GTK_MINOR_VERSION) ||
30964 (gtk_micro_version != GTK_MICRO_VERSION))
30966 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30967 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30968 printf("*** library (version %d.%d.%d)\n",
30969 gtk_major_version, gtk_minor_version, gtk_micro_version);
30971 #endif /* defined (GTK_MAJOR_VERSION) ... */
30974 if ((gtk_major_version > major) ||
30975 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30976 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30982 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30983 gtk_major_version, gtk_minor_version, gtk_micro_version);
30984 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30985 major, minor, micro);
30986 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30988 printf("*** If you have already installed a sufficiently new version, this error\n");
30989 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30990 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30991 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30992 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30993 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30994 printf("*** so that the correct libraries are found at run-time))\n");
31001 rm -f conftest$ac_exeext
31002 if { (ac_try="$ac_link"
31003 case "(($ac_try" in
31004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31005 *) ac_try_echo=$ac_try;;
31007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31008 (eval "$ac_link") 2>&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31012 { (case "(($ac_try" in
31013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31014 *) ac_try_echo=$ac_try;;
31016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31017 (eval "$ac_try") 2>&5
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); }; }; then
31023 echo "$as_me: program exited with status $ac_status" >&5
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.$ac_ext >&5
31027 ( exit $ac_status )
31030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31034 CFLAGS="$ac_save_CFLAGS"
31035 LIBS="$ac_save_LIBS"
31038 if test "x$no_gtk" = x ; then
31039 { echo "$as_me:$LINENO: result: yes" >&5
31040 echo "${ECHO_T}yes" >&6; }
31041 wx_cv_lib_gtk=1.2.3
31043 { echo "$as_me:$LINENO: result: no" >&5
31044 echo "${ECHO_T}no" >&6; }
31045 if test "$GTK_CONFIG" = "no" ; then
31046 echo "*** The gtk-config script installed by GTK could not be found"
31047 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31048 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31049 echo "*** full path to gtk-config."
31051 if test -f conf.gtktest ; then
31054 echo "*** Could not run GTK test program, checking why..."
31055 CFLAGS="$CFLAGS $GTK_CFLAGS"
31056 LIBS="$LIBS $GTK_LIBS"
31057 cat >conftest.$ac_ext <<_ACEOF
31060 cat confdefs.h >>conftest.$ac_ext
31061 cat >>conftest.$ac_ext <<_ACEOF
31062 /* end confdefs.h. */
31064 #include <gtk/gtk.h>
31070 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31075 rm -f conftest.$ac_objext conftest$ac_exeext
31076 if { (ac_try="$ac_link"
31077 case "(($ac_try" in
31078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31079 *) ac_try_echo=$ac_try;;
31081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31082 (eval "$ac_link") 2>conftest.er1
31084 grep -v '^ *+' conftest.er1 >conftest.err
31086 cat conftest.err >&5
31087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31088 (exit $ac_status); } && {
31089 test -z "$ac_c_werror_flag" ||
31090 test ! -s conftest.err
31091 } && test -s conftest$ac_exeext &&
31092 $as_test_x conftest$ac_exeext; then
31093 echo "*** The test program compiled, but did not run. This usually means"
31094 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31095 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31096 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31097 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31098 echo "*** is required on your system"
31100 echo "*** If you have an old version installed, it is best to remove it, although"
31101 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31103 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31104 echo "*** came with the system with the command"
31106 echo "*** rpm --erase --nodeps gtk gtk-devel"
31108 echo "$as_me: failed program was:" >&5
31109 sed 's/^/| /' conftest.$ac_ext >&5
31111 echo "*** The test program failed to compile or link. See the file config.log for the"
31112 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31113 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31114 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31118 conftest$ac_exeext conftest.$ac_ext
31119 CFLAGS="$ac_save_CFLAGS"
31120 LIBS="$ac_save_LIBS"
31135 if test -z "$wx_cv_lib_gtk"; then
31138 wx_cv_cflags_gtk=$GTK_CFLAGS
31139 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31146 if test "$gtk_version_cached" = 1; then
31147 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31148 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31151 case "$wx_cv_lib_gtk" in
31160 *) { { echo "$as_me:$LINENO: error:
31161 The development files for GTK+ were not found. For GTK+ 2, please
31162 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31163 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31164 and that the version is 1.2.3 or above. Also check that the
31165 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31166 --libs' are in the LD_LIBRARY_PATH or equivalent.
31168 echo "$as_me: error:
31169 The development files for GTK+ were not found. For GTK+ 2, please
31170 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31171 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31172 and that the version is 1.2.3 or above. Also check that the
31173 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31174 --libs' are in the LD_LIBRARY_PATH or equivalent.
31176 { (exit 1); exit 1; }; }
31180 if test "$WXGTK20" = 1; then
31181 save_CFLAGS="$CFLAGS"
31183 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31184 LIBS="$LIBS $wx_cv_libs_gtk"
31186 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31187 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31188 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31189 echo $ECHO_N "(cached) $ECHO_C" >&6
31191 cat >conftest.$ac_ext <<_ACEOF
31194 cat confdefs.h >>conftest.$ac_ext
31195 cat >>conftest.$ac_ext <<_ACEOF
31196 /* end confdefs.h. */
31197 #include <gtk/gtk.h>
31202 #ifndef gtk_icon_size_lookup
31203 (void) gtk_icon_size_lookup;
31210 rm -f conftest.$ac_objext
31211 if { (ac_try="$ac_compile"
31212 case "(($ac_try" in
31213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31214 *) ac_try_echo=$ac_try;;
31216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31217 (eval "$ac_compile") 2>conftest.er1
31219 grep -v '^ *+' conftest.er1 >conftest.err
31221 cat conftest.err >&5
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); } && {
31224 test -z "$ac_c_werror_flag" ||
31225 test ! -s conftest.err
31226 } && test -s conftest.$ac_objext; then
31227 ac_cv_have_decl_gtk_icon_size_lookup=yes
31229 echo "$as_me: failed program was:" >&5
31230 sed 's/^/| /' conftest.$ac_ext >&5
31232 ac_cv_have_decl_gtk_icon_size_lookup=no
31235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31237 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31238 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31239 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31241 cat >>confdefs.h <<_ACEOF
31242 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31247 cat >>confdefs.h <<_ACEOF
31248 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31251 cat >>confdefs.h <<\_ACEOF
31252 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31260 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31261 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31262 cat >conftest.$ac_ext <<_ACEOF
31265 cat confdefs.h >>conftest.$ac_ext
31266 cat >>conftest.$ac_ext <<_ACEOF
31267 /* end confdefs.h. */
31269 #include <gtk/gtk.h>
31275 #if !GTK_CHECK_VERSION(2,10,0)
31283 rm -f conftest.$ac_objext
31284 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
31301 cat >>confdefs.h <<\_ACEOF
31302 #define __WXGTK210__ 1
31305 cat >>confdefs.h <<\_ACEOF
31306 #define __WXGTK26__ 1
31309 cat >>confdefs.h <<\_ACEOF
31310 #define __WXGTK24__ 1
31313 { echo "$as_me:$LINENO: result: yes" >&5
31314 echo "${ECHO_T}yes" >&6; }
31318 echo "$as_me: failed program was:" >&5
31319 sed 's/^/| /' conftest.$ac_ext >&5
31322 { echo "$as_me:$LINENO: result: no" >&5
31323 echo "${ECHO_T}no" >&6; }
31328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31330 if test "$ac_wxgtk210" = 0; then
31331 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31332 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31333 cat >conftest.$ac_ext <<_ACEOF
31336 cat confdefs.h >>conftest.$ac_ext
31337 cat >>conftest.$ac_ext <<_ACEOF
31338 /* end confdefs.h. */
31340 #include <gtk/gtk.h>
31346 #if !GTK_CHECK_VERSION(2,6,0)
31354 rm -f conftest.$ac_objext
31355 if { (ac_try="$ac_compile"
31356 case "(($ac_try" in
31357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31358 *) ac_try_echo=$ac_try;;
31360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31361 (eval "$ac_compile") 2>conftest.er1
31363 grep -v '^ *+' conftest.er1 >conftest.err
31365 cat conftest.err >&5
31366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31367 (exit $ac_status); } && {
31368 test -z "$ac_c_werror_flag" ||
31369 test ! -s conftest.err
31370 } && test -s conftest.$ac_objext; then
31372 cat >>confdefs.h <<\_ACEOF
31373 #define __WXGTK26__ 1
31376 cat >>confdefs.h <<\_ACEOF
31377 #define __WXGTK24__ 1
31380 { echo "$as_me:$LINENO: result: yes" >&5
31381 echo "${ECHO_T}yes" >&6; }
31385 echo "$as_me: failed program was:" >&5
31386 sed 's/^/| /' conftest.$ac_ext >&5
31389 { echo "$as_me:$LINENO: result: no" >&5
31390 echo "${ECHO_T}no" >&6; }
31395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31398 if test "$ac_wxgtk26" = 0; then
31399 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31400 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31401 cat >conftest.$ac_ext <<_ACEOF
31404 cat confdefs.h >>conftest.$ac_ext
31405 cat >>conftest.$ac_ext <<_ACEOF
31406 /* end confdefs.h. */
31408 #include <gtk/gtk.h>
31414 #if !GTK_CHECK_VERSION(2,4,0)
31422 rm -f conftest.$ac_objext
31423 if { (ac_try="$ac_compile"
31424 case "(($ac_try" in
31425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31426 *) ac_try_echo=$ac_try;;
31428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31429 (eval "$ac_compile") 2>conftest.er1
31431 grep -v '^ *+' conftest.er1 >conftest.err
31433 cat conftest.err >&5
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); } && {
31436 test -z "$ac_c_werror_flag" ||
31437 test ! -s conftest.err
31438 } && test -s conftest.$ac_objext; then
31440 cat >>confdefs.h <<\_ACEOF
31441 #define __WXGTK24__ 1
31444 { echo "$as_me:$LINENO: result: yes" >&5
31445 echo "${ECHO_T}yes" >&6; }
31448 echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.$ac_ext >&5
31452 { echo "$as_me:$LINENO: result: no" >&5
31453 echo "${ECHO_T}no" >&6; }
31457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31460 CFLAGS="$save_CFLAGS"
31463 if test "$wxUSE_UNICODE" = "yes"; then
31464 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31465 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31469 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31470 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31471 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31472 echo $ECHO_N "(cached) $ECHO_C" >&6
31474 ac_check_lib_save_LIBS=$LIBS
31476 cat >conftest.$ac_ext <<_ACEOF
31479 cat confdefs.h >>conftest.$ac_ext
31480 cat >>conftest.$ac_ext <<_ACEOF
31481 /* end confdefs.h. */
31483 /* Override any GCC internal prototype to avoid an error.
31484 Use char because int might match the return type of a GCC
31485 builtin and then its argument prototype would still apply. */
31489 char gdk_im_open ();
31493 return gdk_im_open ();
31498 rm -f conftest.$ac_objext conftest$ac_exeext
31499 if { (ac_try="$ac_link"
31500 case "(($ac_try" in
31501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31502 *) ac_try_echo=$ac_try;;
31504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31505 (eval "$ac_link") 2>conftest.er1
31507 grep -v '^ *+' conftest.er1 >conftest.err
31509 cat conftest.err >&5
31510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31511 (exit $ac_status); } && {
31512 test -z "$ac_c_werror_flag" ||
31513 test ! -s conftest.err
31514 } && test -s conftest$ac_exeext &&
31515 $as_test_x conftest$ac_exeext; then
31516 ac_cv_lib_gdk_gdk_im_open=yes
31518 echo "$as_me: failed program was:" >&5
31519 sed 's/^/| /' conftest.$ac_ext >&5
31521 ac_cv_lib_gdk_gdk_im_open=no
31524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31525 conftest$ac_exeext conftest.$ac_ext
31526 LIBS=$ac_check_lib_save_LIBS
31528 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31529 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31530 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31531 cat >>confdefs.h <<\_ACEOF
31538 if test "$USE_DARWIN" != 1; then
31540 for ac_func in poll
31542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31543 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31545 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31546 echo $ECHO_N "(cached) $ECHO_C" >&6
31548 cat >conftest.$ac_ext <<_ACEOF
31551 cat confdefs.h >>conftest.$ac_ext
31552 cat >>conftest.$ac_ext <<_ACEOF
31553 /* end confdefs.h. */
31554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31556 #define $ac_func innocuous_$ac_func
31558 /* System header to define __stub macros and hopefully few prototypes,
31559 which can conflict with char $ac_func (); below.
31560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31561 <limits.h> exists even on freestanding compilers. */
31564 # include <limits.h>
31566 # include <assert.h>
31571 /* Override any GCC internal prototype to avoid an error.
31572 Use char because int might match the return type of a GCC
31573 builtin and then its argument prototype would still apply. */
31578 /* The GNU C library defines this for functions which it implements
31579 to always fail with ENOSYS. Some functions are actually named
31580 something starting with __ and the normal name is an alias. */
31581 #if defined __stub_$ac_func || defined __stub___$ac_func
31588 return $ac_func ();
31593 rm -f conftest.$ac_objext conftest$ac_exeext
31594 if { (ac_try="$ac_link"
31595 case "(($ac_try" in
31596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31597 *) ac_try_echo=$ac_try;;
31599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31600 (eval "$ac_link") 2>conftest.er1
31602 grep -v '^ *+' conftest.er1 >conftest.err
31604 cat conftest.err >&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); } && {
31607 test -z "$ac_c_werror_flag" ||
31608 test ! -s conftest.err
31609 } && test -s conftest$ac_exeext &&
31610 $as_test_x conftest$ac_exeext; then
31611 eval "$as_ac_var=yes"
31613 echo "$as_me: failed program was:" >&5
31614 sed 's/^/| /' conftest.$ac_ext >&5
31616 eval "$as_ac_var=no"
31619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31620 conftest$ac_exeext conftest.$ac_ext
31622 ac_res=`eval echo '${'$as_ac_var'}'`
31623 { echo "$as_me:$LINENO: result: $ac_res" >&5
31624 echo "${ECHO_T}$ac_res" >&6; }
31625 if test `eval echo '${'$as_ac_var'}'` = yes; then
31626 cat >>confdefs.h <<_ACEOF
31627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31636 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31637 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31639 AFMINSTALL=afminstall
31643 if test "$wxUSE_GPE" = "yes"; then
31644 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31645 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31648 for ac_dir in $SEARCH_LIB;
31650 for ac_extension in a so sl dylib dll.a; do
31651 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31652 ac_find_libraries=$ac_dir
31658 if test "$ac_find_libraries" != "" ; then
31660 if test "$ac_find_libraries" = "default location"; then
31663 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31665 if test $result = 0; then
31668 ac_path_to_link=" -L$ac_find_libraries"
31672 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31674 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31675 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31677 { echo "$as_me:$LINENO: result: not found" >&5
31678 echo "${ECHO_T}not found" >&6; }
31684 if test "$wxUSE_MGL" = 1; then
31685 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31686 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31687 if test "x$MGL_ROOT" = x ; then
31688 { echo "$as_me:$LINENO: result: not found" >&5
31689 echo "${ECHO_T}not found" >&6; }
31690 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31691 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31692 { (exit 1); exit 1; }; }
31694 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31695 echo "${ECHO_T}$MGL_ROOT" >&6; }
31698 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31699 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31702 if test "x$wxUSE_SHARED" = xyes ; then
31703 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31705 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31709 mgl_os_candidates="dos32/dj2"
31712 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31713 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31714 { (exit 1); exit 1; }; }
31720 for mgl_os_i in $mgl_os_candidates ; do
31721 if test "x$mgl_os" = x ; then
31722 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31723 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31724 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31729 if test "x$mgl_lib_type" = x ; then
31730 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31731 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31732 mgl_lib_type=release
31739 if test "x$mgl_os" = x ; then
31740 { echo "$as_me:$LINENO: result: not found" >&5
31741 echo "${ECHO_T}not found" >&6; }
31742 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31743 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31744 { (exit 1); exit 1; }; }
31746 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31747 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31749 wxUSE_UNIVERSAL="yes"
31751 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31752 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31754 AFMINSTALL=afminstall
31759 if test "$wxUSE_DFB" = 1; then
31762 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31763 if test -n "$ac_tool_prefix"; then
31764 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31765 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31768 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31769 echo $ECHO_N "(cached) $ECHO_C" >&6
31771 case $PKG_CONFIG in
31773 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31777 for as_dir in $PATH
31780 test -z "$as_dir" && as_dir=.
31781 for ac_exec_ext in '' $ac_executable_extensions; do
31782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31783 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31794 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31795 if test -n "$PKG_CONFIG"; then
31796 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31797 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31799 { echo "$as_me:$LINENO: result: no" >&5
31800 echo "${ECHO_T}no" >&6; }
31805 if test -z "$ac_cv_path_PKG_CONFIG"; then
31806 ac_pt_PKG_CONFIG=$PKG_CONFIG
31807 # Extract the first word of "pkg-config", so it can be a program name with args.
31808 set dummy pkg-config; ac_word=$2
31809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31811 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31812 echo $ECHO_N "(cached) $ECHO_C" >&6
31814 case $ac_pt_PKG_CONFIG in
31816 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31820 for as_dir in $PATH
31823 test -z "$as_dir" && as_dir=.
31824 for ac_exec_ext in '' $ac_executable_extensions; do
31825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31826 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31837 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31838 if test -n "$ac_pt_PKG_CONFIG"; then
31839 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31840 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31842 { echo "$as_me:$LINENO: result: no" >&5
31843 echo "${ECHO_T}no" >&6; }
31846 if test "x$ac_pt_PKG_CONFIG" = x; then
31849 case $cross_compiling:$ac_tool_warned in
31851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31852 whose name does not start with the host triplet. If you think this
31853 configuration is useful to you, please write to autoconf@gnu.org." >&5
31854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31855 whose name does not start with the host triplet. If you think this
31856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31857 ac_tool_warned=yes ;;
31859 PKG_CONFIG=$ac_pt_PKG_CONFIG
31862 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31866 if test -n "$PKG_CONFIG"; then
31867 _pkg_min_version=0.9.0
31868 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31869 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31870 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31871 { echo "$as_me:$LINENO: result: yes" >&5
31872 echo "${ECHO_T}yes" >&6; }
31874 { echo "$as_me:$LINENO: result: no" >&5
31875 echo "${ECHO_T}no" >&6; }
31883 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31884 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31886 if test -n "$PKG_CONFIG"; then
31887 if test -n "$DIRECTFB_CFLAGS"; then
31888 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31890 if test -n "$PKG_CONFIG" && \
31891 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31892 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; then
31896 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31904 if test -n "$PKG_CONFIG"; then
31905 if test -n "$DIRECTFB_LIBS"; then
31906 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31908 if test -n "$PKG_CONFIG" && \
31909 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31910 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); }; then
31914 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31925 if test $pkg_failed = yes; then
31927 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31928 _pkg_short_errors_supported=yes
31930 _pkg_short_errors_supported=no
31932 if test $_pkg_short_errors_supported = yes; then
31933 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31935 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31937 # Put the nasty error message in config.log where it belongs
31938 echo "$DIRECTFB_PKG_ERRORS" >&5
31941 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31942 echo "$as_me: error: DirectFB not found." >&2;}
31943 { (exit 1); exit 1; }; }
31946 elif test $pkg_failed = untried; then
31948 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31949 echo "$as_me: error: DirectFB not found." >&2;}
31950 { (exit 1); exit 1; }; }
31954 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31955 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31956 { echo "$as_me:$LINENO: result: yes" >&5
31957 echo "${ECHO_T}yes" >&6; }
31959 wxUSE_UNIVERSAL="yes"
31960 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31961 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31968 if test "$wxUSE_MICROWIN" = 1; then
31969 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31970 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31971 if test "x$MICROWINDOWS" = x ; then
31972 { echo "$as_me:$LINENO: result: not found" >&5
31973 echo "${ECHO_T}not found" >&6; }
31974 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31975 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31976 { (exit 1); exit 1; }; }
31978 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31979 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31982 if test -f $MICROWINDOWS/lib/libmwin.a; then
31983 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31984 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31986 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31987 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31988 { (exit 1); exit 1; }; }
31991 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31992 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31994 wxUSE_UNIVERSAL="yes"
31996 AFMINSTALL=afminstall
31998 GUIDIST=MICROWIN_DIST
32000 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32003 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32004 { echo "$as_me:$LINENO: checking for X" >&5
32005 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32008 # Check whether --with-x was given.
32009 if test "${with_x+set}" = set; then
32013 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32014 if test "x$with_x" = xno; then
32015 # The user explicitly disabled X.
32018 case $x_includes,$x_libraries in #(
32019 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32020 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32021 { (exit 1); exit 1; }; };; #(
32022 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32023 echo $ECHO_N "(cached) $ECHO_C" >&6
32025 # One or both of the vars are not set, and there is no cached value.
32026 ac_x_includes=no ac_x_libraries=no
32027 rm -f -r conftest.dir
32028 if mkdir conftest.dir; then
32030 cat >Imakefile <<'_ACEOF'
32032 @echo incroot='${INCROOT}'
32034 @echo usrlibdir='${USRLIBDIR}'
32036 @echo libdir='${LIBDIR}'
32038 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32039 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32040 for ac_var in incroot usrlibdir libdir; do
32041 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32043 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32044 for ac_extension in a so sl; do
32045 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32046 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32047 ac_im_usrlibdir=$ac_im_libdir; break
32050 # Screen out bogus values from the imake configuration. They are
32051 # bogus both because they are the default anyway, and because
32052 # using them would break gcc on systems where it needs fixed includes.
32053 case $ac_im_incroot in
32054 /usr/include) ac_x_includes= ;;
32055 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32057 case $ac_im_usrlibdir in
32058 /usr/lib | /lib) ;;
32059 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32063 rm -f -r conftest.dir
32066 # Standard set of common directories for X headers.
32067 # Check X11 before X11Rn because it is often a symlink to the current release.
32079 /usr/local/X11/include
32080 /usr/local/X11R6/include
32081 /usr/local/X11R5/include
32082 /usr/local/X11R4/include
32084 /usr/local/include/X11
32085 /usr/local/include/X11R6
32086 /usr/local/include/X11R5
32087 /usr/local/include/X11R4
32091 /usr/XFree86/include/X11
32095 /usr/unsupported/include
32096 /usr/athena/include
32097 /usr/local/x11r5/include
32098 /usr/lpp/Xamples/include
32100 /usr/openwin/include
32101 /usr/openwin/share/include'
32103 if test "$ac_x_includes" = no; then
32104 # Guess where to find include files, by looking for Xlib.h.
32105 # First, try using that file with no special directory specified.
32106 cat >conftest.$ac_ext <<_ACEOF
32109 cat confdefs.h >>conftest.$ac_ext
32110 cat >>conftest.$ac_ext <<_ACEOF
32111 /* end confdefs.h. */
32112 #include <X11/Xlib.h>
32114 if { (ac_try="$ac_cpp conftest.$ac_ext"
32115 case "(($ac_try" in
32116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32117 *) ac_try_echo=$ac_try;;
32119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32120 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32122 grep -v '^ *+' conftest.er1 >conftest.err
32124 cat conftest.err >&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); } >/dev/null && {
32127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32128 test ! -s conftest.err
32130 # We can compile using X headers with no special include directory.
32133 echo "$as_me: failed program was:" >&5
32134 sed 's/^/| /' conftest.$ac_ext >&5
32136 for ac_dir in $ac_x_header_dirs; do
32137 if test -r "$ac_dir/X11/Xlib.h"; then
32138 ac_x_includes=$ac_dir
32144 rm -f conftest.err conftest.$ac_ext
32145 fi # $ac_x_includes = no
32147 if test "$ac_x_libraries" = no; then
32148 # Check for the libraries.
32149 # See if we find them without any special options.
32150 # Don't add to $LIBS permanently.
32153 cat >conftest.$ac_ext <<_ACEOF
32156 cat confdefs.h >>conftest.$ac_ext
32157 cat >>conftest.$ac_ext <<_ACEOF
32158 /* end confdefs.h. */
32159 #include <X11/Xlib.h>
32168 rm -f conftest.$ac_objext conftest$ac_exeext
32169 if { (ac_try="$ac_link"
32170 case "(($ac_try" in
32171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32172 *) ac_try_echo=$ac_try;;
32174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32175 (eval "$ac_link") 2>conftest.er1
32177 grep -v '^ *+' conftest.er1 >conftest.err
32179 cat conftest.err >&5
32180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32181 (exit $ac_status); } && {
32182 test -z "$ac_c_werror_flag" ||
32183 test ! -s conftest.err
32184 } && test -s conftest$ac_exeext &&
32185 $as_test_x conftest$ac_exeext; then
32187 # We can link X programs with no special library path.
32190 echo "$as_me: failed program was:" >&5
32191 sed 's/^/| /' conftest.$ac_ext >&5
32194 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32196 # Don't even attempt the hair of trying to link an X program!
32197 for ac_extension in a so sl; do
32198 if test -r "$ac_dir/libX11.$ac_extension"; then
32199 ac_x_libraries=$ac_dir
32206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32207 conftest$ac_exeext conftest.$ac_ext
32208 fi # $ac_x_libraries = no
32210 case $ac_x_includes,$ac_x_libraries in #(
32211 no,* | *,no | *\'*)
32212 # Didn't find X, or a directory has "'" in its name.
32213 ac_cv_have_x="have_x=no";; #(
32215 # Record where we found X for the cache.
32216 ac_cv_have_x="have_x=yes\
32217 ac_x_includes='$ac_x_includes'\
32218 ac_x_libraries='$ac_x_libraries'"
32224 eval "$ac_cv_have_x"
32227 if test "$have_x" != yes; then
32228 { echo "$as_me:$LINENO: result: $have_x" >&5
32229 echo "${ECHO_T}$have_x" >&6; }
32232 # If each of the values was on the command line, it overrides each guess.
32233 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32234 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32235 # Update the cache value to reflect the command line values.
32236 ac_cv_have_x="have_x=yes\
32237 ac_x_includes='$x_includes'\
32238 ac_x_libraries='$x_libraries'"
32239 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32240 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32243 if test "$no_x" = yes; then
32244 # Not all programs may use this symbol, but it does not hurt to define it.
32246 cat >>confdefs.h <<\_ACEOF
32247 #define X_DISPLAY_MISSING 1
32250 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32252 if test -n "$x_includes"; then
32253 X_CFLAGS="$X_CFLAGS -I$x_includes"
32256 # It would also be nice to do this for all -L options, not just this one.
32257 if test -n "$x_libraries"; then
32258 X_LIBS="$X_LIBS -L$x_libraries"
32259 # For Solaris; some versions of Sun CC require a space after -R and
32260 # others require no space. Words are not sufficient . . . .
32261 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32262 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32263 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32264 ac_xsave_c_werror_flag=$ac_c_werror_flag
32265 ac_c_werror_flag=yes
32266 cat >conftest.$ac_ext <<_ACEOF
32269 cat confdefs.h >>conftest.$ac_ext
32270 cat >>conftest.$ac_ext <<_ACEOF
32271 /* end confdefs.h. */
32281 rm -f conftest.$ac_objext conftest$ac_exeext
32282 if { (ac_try="$ac_link"
32283 case "(($ac_try" in
32284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32285 *) ac_try_echo=$ac_try;;
32287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32288 (eval "$ac_link") 2>conftest.er1
32290 grep -v '^ *+' conftest.er1 >conftest.err
32292 cat conftest.err >&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); } && {
32295 test -z "$ac_c_werror_flag" ||
32296 test ! -s conftest.err
32297 } && test -s conftest$ac_exeext &&
32298 $as_test_x conftest$ac_exeext; then
32299 { echo "$as_me:$LINENO: result: no" >&5
32300 echo "${ECHO_T}no" >&6; }
32301 X_LIBS="$X_LIBS -R$x_libraries"
32303 echo "$as_me: failed program was:" >&5
32304 sed 's/^/| /' conftest.$ac_ext >&5
32306 LIBS="$ac_xsave_LIBS -R $x_libraries"
32307 cat >conftest.$ac_ext <<_ACEOF
32310 cat confdefs.h >>conftest.$ac_ext
32311 cat >>conftest.$ac_ext <<_ACEOF
32312 /* end confdefs.h. */
32322 rm -f conftest.$ac_objext conftest$ac_exeext
32323 if { (ac_try="$ac_link"
32324 case "(($ac_try" in
32325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32326 *) ac_try_echo=$ac_try;;
32328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32329 (eval "$ac_link") 2>conftest.er1
32331 grep -v '^ *+' conftest.er1 >conftest.err
32333 cat conftest.err >&5
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); } && {
32336 test -z "$ac_c_werror_flag" ||
32337 test ! -s conftest.err
32338 } && test -s conftest$ac_exeext &&
32339 $as_test_x conftest$ac_exeext; then
32340 { echo "$as_me:$LINENO: result: yes" >&5
32341 echo "${ECHO_T}yes" >&6; }
32342 X_LIBS="$X_LIBS -R $x_libraries"
32344 echo "$as_me: failed program was:" >&5
32345 sed 's/^/| /' conftest.$ac_ext >&5
32347 { echo "$as_me:$LINENO: result: neither works" >&5
32348 echo "${ECHO_T}neither works" >&6; }
32351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32352 conftest$ac_exeext conftest.$ac_ext
32355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32356 conftest$ac_exeext conftest.$ac_ext
32357 ac_c_werror_flag=$ac_xsave_c_werror_flag
32358 LIBS=$ac_xsave_LIBS
32361 # Check for system-dependent libraries X programs must link with.
32362 # Do this before checking for the system-independent R6 libraries
32363 # (-lICE), since we may need -lsocket or whatever for X linking.
32365 if test "$ISC" = yes; then
32366 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32368 # Martyn Johnson says this is needed for Ultrix, if the X
32369 # libraries were built with DECnet support. And Karl Berry says
32370 # the Alpha needs dnet_stub (dnet does not exist).
32371 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32372 cat >conftest.$ac_ext <<_ACEOF
32375 cat confdefs.h >>conftest.$ac_ext
32376 cat >>conftest.$ac_ext <<_ACEOF
32377 /* end confdefs.h. */
32379 /* Override any GCC internal prototype to avoid an error.
32380 Use char because int might match the return type of a GCC
32381 builtin and then its argument prototype would still apply. */
32385 char XOpenDisplay ();
32389 return XOpenDisplay ();
32394 rm -f conftest.$ac_objext conftest$ac_exeext
32395 if { (ac_try="$ac_link"
32396 case "(($ac_try" in
32397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32398 *) ac_try_echo=$ac_try;;
32400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32401 (eval "$ac_link") 2>conftest.er1
32403 grep -v '^ *+' conftest.er1 >conftest.err
32405 cat conftest.err >&5
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); } && {
32408 test -z "$ac_c_werror_flag" ||
32409 test ! -s conftest.err
32410 } && test -s conftest$ac_exeext &&
32411 $as_test_x conftest$ac_exeext; then
32414 echo "$as_me: failed program was:" >&5
32415 sed 's/^/| /' conftest.$ac_ext >&5
32417 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32418 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32419 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32420 echo $ECHO_N "(cached) $ECHO_C" >&6
32422 ac_check_lib_save_LIBS=$LIBS
32423 LIBS="-ldnet $LIBS"
32424 cat >conftest.$ac_ext <<_ACEOF
32427 cat confdefs.h >>conftest.$ac_ext
32428 cat >>conftest.$ac_ext <<_ACEOF
32429 /* end confdefs.h. */
32431 /* Override any GCC internal prototype to avoid an error.
32432 Use char because int might match the return type of a GCC
32433 builtin and then its argument prototype would still apply. */
32441 return dnet_ntoa ();
32446 rm -f conftest.$ac_objext conftest$ac_exeext
32447 if { (ac_try="$ac_link"
32448 case "(($ac_try" in
32449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32450 *) ac_try_echo=$ac_try;;
32452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32453 (eval "$ac_link") 2>conftest.er1
32455 grep -v '^ *+' conftest.er1 >conftest.err
32457 cat conftest.err >&5
32458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32459 (exit $ac_status); } && {
32460 test -z "$ac_c_werror_flag" ||
32461 test ! -s conftest.err
32462 } && test -s conftest$ac_exeext &&
32463 $as_test_x conftest$ac_exeext; then
32464 ac_cv_lib_dnet_dnet_ntoa=yes
32466 echo "$as_me: failed program was:" >&5
32467 sed 's/^/| /' conftest.$ac_ext >&5
32469 ac_cv_lib_dnet_dnet_ntoa=no
32472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32473 conftest$ac_exeext conftest.$ac_ext
32474 LIBS=$ac_check_lib_save_LIBS
32476 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32477 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32478 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32479 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32482 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32483 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32484 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32485 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32486 echo $ECHO_N "(cached) $ECHO_C" >&6
32488 ac_check_lib_save_LIBS=$LIBS
32489 LIBS="-ldnet_stub $LIBS"
32490 cat >conftest.$ac_ext <<_ACEOF
32493 cat confdefs.h >>conftest.$ac_ext
32494 cat >>conftest.$ac_ext <<_ACEOF
32495 /* end confdefs.h. */
32497 /* Override any GCC internal prototype to avoid an error.
32498 Use char because int might match the return type of a GCC
32499 builtin and then its argument prototype would still apply. */
32507 return dnet_ntoa ();
32512 rm -f conftest.$ac_objext conftest$ac_exeext
32513 if { (ac_try="$ac_link"
32514 case "(($ac_try" in
32515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32516 *) ac_try_echo=$ac_try;;
32518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32519 (eval "$ac_link") 2>conftest.er1
32521 grep -v '^ *+' conftest.er1 >conftest.err
32523 cat conftest.err >&5
32524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32525 (exit $ac_status); } && {
32526 test -z "$ac_c_werror_flag" ||
32527 test ! -s conftest.err
32528 } && test -s conftest$ac_exeext &&
32529 $as_test_x conftest$ac_exeext; then
32530 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32532 echo "$as_me: failed program was:" >&5
32533 sed 's/^/| /' conftest.$ac_ext >&5
32535 ac_cv_lib_dnet_stub_dnet_ntoa=no
32538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32539 conftest$ac_exeext conftest.$ac_ext
32540 LIBS=$ac_check_lib_save_LIBS
32542 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32543 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32544 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32545 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32552 conftest$ac_exeext conftest.$ac_ext
32553 LIBS="$ac_xsave_LIBS"
32555 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32556 # to get the SysV transport functions.
32557 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32559 # The nsl library prevents programs from opening the X display
32560 # on Irix 5.2, according to T.E. Dickey.
32561 # The functions gethostbyname, getservbyname, and inet_addr are
32562 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32563 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32564 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32565 if test "${ac_cv_func_gethostbyname+set}" = set; then
32566 echo $ECHO_N "(cached) $ECHO_C" >&6
32568 cat >conftest.$ac_ext <<_ACEOF
32571 cat confdefs.h >>conftest.$ac_ext
32572 cat >>conftest.$ac_ext <<_ACEOF
32573 /* end confdefs.h. */
32574 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32576 #define gethostbyname innocuous_gethostbyname
32578 /* System header to define __stub macros and hopefully few prototypes,
32579 which can conflict with char gethostbyname (); below.
32580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32581 <limits.h> exists even on freestanding compilers. */
32584 # include <limits.h>
32586 # include <assert.h>
32589 #undef gethostbyname
32591 /* Override any GCC internal prototype to avoid an error.
32592 Use char because int might match the return type of a GCC
32593 builtin and then its argument prototype would still apply. */
32597 char gethostbyname ();
32598 /* The GNU C library defines this for functions which it implements
32599 to always fail with ENOSYS. Some functions are actually named
32600 something starting with __ and the normal name is an alias. */
32601 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32608 return gethostbyname ();
32613 rm -f conftest.$ac_objext conftest$ac_exeext
32614 if { (ac_try="$ac_link"
32615 case "(($ac_try" in
32616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32617 *) ac_try_echo=$ac_try;;
32619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32620 (eval "$ac_link") 2>conftest.er1
32622 grep -v '^ *+' conftest.er1 >conftest.err
32624 cat conftest.err >&5
32625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32626 (exit $ac_status); } && {
32627 test -z "$ac_c_werror_flag" ||
32628 test ! -s conftest.err
32629 } && test -s conftest$ac_exeext &&
32630 $as_test_x conftest$ac_exeext; then
32631 ac_cv_func_gethostbyname=yes
32633 echo "$as_me: failed program was:" >&5
32634 sed 's/^/| /' conftest.$ac_ext >&5
32636 ac_cv_func_gethostbyname=no
32639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32640 conftest$ac_exeext conftest.$ac_ext
32642 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32643 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32645 if test $ac_cv_func_gethostbyname = no; then
32646 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32647 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32648 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32649 echo $ECHO_N "(cached) $ECHO_C" >&6
32651 ac_check_lib_save_LIBS=$LIBS
32653 cat >conftest.$ac_ext <<_ACEOF
32656 cat confdefs.h >>conftest.$ac_ext
32657 cat >>conftest.$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32660 /* Override any GCC internal prototype to avoid an error.
32661 Use char because int might match the return type of a GCC
32662 builtin and then its argument prototype would still apply. */
32666 char gethostbyname ();
32670 return gethostbyname ();
32675 rm -f conftest.$ac_objext conftest$ac_exeext
32676 if { (ac_try="$ac_link"
32677 case "(($ac_try" in
32678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32679 *) ac_try_echo=$ac_try;;
32681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32682 (eval "$ac_link") 2>conftest.er1
32684 grep -v '^ *+' conftest.er1 >conftest.err
32686 cat conftest.err >&5
32687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32688 (exit $ac_status); } && {
32689 test -z "$ac_c_werror_flag" ||
32690 test ! -s conftest.err
32691 } && test -s conftest$ac_exeext &&
32692 $as_test_x conftest$ac_exeext; then
32693 ac_cv_lib_nsl_gethostbyname=yes
32695 echo "$as_me: failed program was:" >&5
32696 sed 's/^/| /' conftest.$ac_ext >&5
32698 ac_cv_lib_nsl_gethostbyname=no
32701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32702 conftest$ac_exeext conftest.$ac_ext
32703 LIBS=$ac_check_lib_save_LIBS
32705 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32706 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32707 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32708 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32711 if test $ac_cv_lib_nsl_gethostbyname = no; then
32712 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32713 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32714 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32715 echo $ECHO_N "(cached) $ECHO_C" >&6
32717 ac_check_lib_save_LIBS=$LIBS
32719 cat >conftest.$ac_ext <<_ACEOF
32722 cat confdefs.h >>conftest.$ac_ext
32723 cat >>conftest.$ac_ext <<_ACEOF
32724 /* end confdefs.h. */
32726 /* Override any GCC internal prototype to avoid an error.
32727 Use char because int might match the return type of a GCC
32728 builtin and then its argument prototype would still apply. */
32732 char gethostbyname ();
32736 return gethostbyname ();
32741 rm -f conftest.$ac_objext conftest$ac_exeext
32742 if { (ac_try="$ac_link"
32743 case "(($ac_try" in
32744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32745 *) ac_try_echo=$ac_try;;
32747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32748 (eval "$ac_link") 2>conftest.er1
32750 grep -v '^ *+' conftest.er1 >conftest.err
32752 cat conftest.err >&5
32753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754 (exit $ac_status); } && {
32755 test -z "$ac_c_werror_flag" ||
32756 test ! -s conftest.err
32757 } && test -s conftest$ac_exeext &&
32758 $as_test_x conftest$ac_exeext; then
32759 ac_cv_lib_bsd_gethostbyname=yes
32761 echo "$as_me: failed program was:" >&5
32762 sed 's/^/| /' conftest.$ac_ext >&5
32764 ac_cv_lib_bsd_gethostbyname=no
32767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32768 conftest$ac_exeext conftest.$ac_ext
32769 LIBS=$ac_check_lib_save_LIBS
32771 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32772 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32773 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32774 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32780 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32781 # socket/setsockopt and other routines are undefined under SCO ODT
32782 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32783 # on later versions), says Simon Leinen: it contains gethostby*
32784 # variants that don't use the name server (or something). -lsocket
32785 # must be given before -lnsl if both are needed. We assume that
32786 # if connect needs -lnsl, so does gethostbyname.
32787 { echo "$as_me:$LINENO: checking for connect" >&5
32788 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32789 if test "${ac_cv_func_connect+set}" = set; then
32790 echo $ECHO_N "(cached) $ECHO_C" >&6
32792 cat >conftest.$ac_ext <<_ACEOF
32795 cat confdefs.h >>conftest.$ac_ext
32796 cat >>conftest.$ac_ext <<_ACEOF
32797 /* end confdefs.h. */
32798 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32800 #define connect innocuous_connect
32802 /* System header to define __stub macros and hopefully few prototypes,
32803 which can conflict with char connect (); below.
32804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32805 <limits.h> exists even on freestanding compilers. */
32808 # include <limits.h>
32810 # include <assert.h>
32815 /* Override any GCC internal prototype to avoid an error.
32816 Use char because int might match the return type of a GCC
32817 builtin and then its argument prototype would still apply. */
32822 /* The GNU C library defines this for functions which it implements
32823 to always fail with ENOSYS. Some functions are actually named
32824 something starting with __ and the normal name is an alias. */
32825 #if defined __stub_connect || defined __stub___connect
32837 rm -f conftest.$ac_objext conftest$ac_exeext
32838 if { (ac_try="$ac_link"
32839 case "(($ac_try" in
32840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32841 *) ac_try_echo=$ac_try;;
32843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32844 (eval "$ac_link") 2>conftest.er1
32846 grep -v '^ *+' conftest.er1 >conftest.err
32848 cat conftest.err >&5
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); } && {
32851 test -z "$ac_c_werror_flag" ||
32852 test ! -s conftest.err
32853 } && test -s conftest$ac_exeext &&
32854 $as_test_x conftest$ac_exeext; then
32855 ac_cv_func_connect=yes
32857 echo "$as_me: failed program was:" >&5
32858 sed 's/^/| /' conftest.$ac_ext >&5
32860 ac_cv_func_connect=no
32863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32864 conftest$ac_exeext conftest.$ac_ext
32866 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32867 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32869 if test $ac_cv_func_connect = no; then
32870 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32871 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32872 if test "${ac_cv_lib_socket_connect+set}" = set; then
32873 echo $ECHO_N "(cached) $ECHO_C" >&6
32875 ac_check_lib_save_LIBS=$LIBS
32876 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32877 cat >conftest.$ac_ext <<_ACEOF
32880 cat confdefs.h >>conftest.$ac_ext
32881 cat >>conftest.$ac_ext <<_ACEOF
32882 /* end confdefs.h. */
32884 /* Override any GCC internal prototype to avoid an error.
32885 Use char because int might match the return type of a GCC
32886 builtin and then its argument prototype would still apply. */
32899 rm -f conftest.$ac_objext conftest$ac_exeext
32900 if { (ac_try="$ac_link"
32901 case "(($ac_try" in
32902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32903 *) ac_try_echo=$ac_try;;
32905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32906 (eval "$ac_link") 2>conftest.er1
32908 grep -v '^ *+' conftest.er1 >conftest.err
32910 cat conftest.err >&5
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); } && {
32913 test -z "$ac_c_werror_flag" ||
32914 test ! -s conftest.err
32915 } && test -s conftest$ac_exeext &&
32916 $as_test_x conftest$ac_exeext; then
32917 ac_cv_lib_socket_connect=yes
32919 echo "$as_me: failed program was:" >&5
32920 sed 's/^/| /' conftest.$ac_ext >&5
32922 ac_cv_lib_socket_connect=no
32925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32926 conftest$ac_exeext conftest.$ac_ext
32927 LIBS=$ac_check_lib_save_LIBS
32929 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32930 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32931 if test $ac_cv_lib_socket_connect = yes; then
32932 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32937 # Guillermo Gomez says -lposix is necessary on A/UX.
32938 { echo "$as_me:$LINENO: checking for remove" >&5
32939 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32940 if test "${ac_cv_func_remove+set}" = set; then
32941 echo $ECHO_N "(cached) $ECHO_C" >&6
32943 cat >conftest.$ac_ext <<_ACEOF
32946 cat confdefs.h >>conftest.$ac_ext
32947 cat >>conftest.$ac_ext <<_ACEOF
32948 /* end confdefs.h. */
32949 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32951 #define remove innocuous_remove
32953 /* System header to define __stub macros and hopefully few prototypes,
32954 which can conflict with char remove (); below.
32955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32956 <limits.h> exists even on freestanding compilers. */
32959 # include <limits.h>
32961 # include <assert.h>
32966 /* Override any GCC internal prototype to avoid an error.
32967 Use char because int might match the return type of a GCC
32968 builtin and then its argument prototype would still apply. */
32973 /* The GNU C library defines this for functions which it implements
32974 to always fail with ENOSYS. Some functions are actually named
32975 something starting with __ and the normal name is an alias. */
32976 #if defined __stub_remove || defined __stub___remove
32988 rm -f conftest.$ac_objext conftest$ac_exeext
32989 if { (ac_try="$ac_link"
32990 case "(($ac_try" in
32991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32992 *) ac_try_echo=$ac_try;;
32994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32995 (eval "$ac_link") 2>conftest.er1
32997 grep -v '^ *+' conftest.er1 >conftest.err
32999 cat conftest.err >&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } && {
33002 test -z "$ac_c_werror_flag" ||
33003 test ! -s conftest.err
33004 } && test -s conftest$ac_exeext &&
33005 $as_test_x conftest$ac_exeext; then
33006 ac_cv_func_remove=yes
33008 echo "$as_me: failed program was:" >&5
33009 sed 's/^/| /' conftest.$ac_ext >&5
33011 ac_cv_func_remove=no
33014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33015 conftest$ac_exeext conftest.$ac_ext
33017 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33018 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33020 if test $ac_cv_func_remove = no; then
33021 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33022 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33023 if test "${ac_cv_lib_posix_remove+set}" = set; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 ac_check_lib_save_LIBS=$LIBS
33027 LIBS="-lposix $LIBS"
33028 cat >conftest.$ac_ext <<_ACEOF
33031 cat confdefs.h >>conftest.$ac_ext
33032 cat >>conftest.$ac_ext <<_ACEOF
33033 /* end confdefs.h. */
33035 /* Override any GCC internal prototype to avoid an error.
33036 Use char because int might match the return type of a GCC
33037 builtin and then its argument prototype would still apply. */
33050 rm -f conftest.$ac_objext conftest$ac_exeext
33051 if { (ac_try="$ac_link"
33052 case "(($ac_try" in
33053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33054 *) ac_try_echo=$ac_try;;
33056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33057 (eval "$ac_link") 2>conftest.er1
33059 grep -v '^ *+' conftest.er1 >conftest.err
33061 cat conftest.err >&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); } && {
33064 test -z "$ac_c_werror_flag" ||
33065 test ! -s conftest.err
33066 } && test -s conftest$ac_exeext &&
33067 $as_test_x conftest$ac_exeext; then
33068 ac_cv_lib_posix_remove=yes
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.$ac_ext >&5
33073 ac_cv_lib_posix_remove=no
33076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33077 conftest$ac_exeext conftest.$ac_ext
33078 LIBS=$ac_check_lib_save_LIBS
33080 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33081 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33082 if test $ac_cv_lib_posix_remove = yes; then
33083 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33088 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33089 { echo "$as_me:$LINENO: checking for shmat" >&5
33090 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33091 if test "${ac_cv_func_shmat+set}" = set; then
33092 echo $ECHO_N "(cached) $ECHO_C" >&6
33094 cat >conftest.$ac_ext <<_ACEOF
33097 cat confdefs.h >>conftest.$ac_ext
33098 cat >>conftest.$ac_ext <<_ACEOF
33099 /* end confdefs.h. */
33100 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33102 #define shmat innocuous_shmat
33104 /* System header to define __stub macros and hopefully few prototypes,
33105 which can conflict with char shmat (); below.
33106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33107 <limits.h> exists even on freestanding compilers. */
33110 # include <limits.h>
33112 # include <assert.h>
33117 /* Override any GCC internal prototype to avoid an error.
33118 Use char because int might match the return type of a GCC
33119 builtin and then its argument prototype would still apply. */
33124 /* The GNU C library defines this for functions which it implements
33125 to always fail with ENOSYS. Some functions are actually named
33126 something starting with __ and the normal name is an alias. */
33127 #if defined __stub_shmat || defined __stub___shmat
33139 rm -f conftest.$ac_objext conftest$ac_exeext
33140 if { (ac_try="$ac_link"
33141 case "(($ac_try" in
33142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33143 *) ac_try_echo=$ac_try;;
33145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33146 (eval "$ac_link") 2>conftest.er1
33148 grep -v '^ *+' conftest.er1 >conftest.err
33150 cat conftest.err >&5
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); } && {
33153 test -z "$ac_c_werror_flag" ||
33154 test ! -s conftest.err
33155 } && test -s conftest$ac_exeext &&
33156 $as_test_x conftest$ac_exeext; then
33157 ac_cv_func_shmat=yes
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33162 ac_cv_func_shmat=no
33165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33166 conftest$ac_exeext conftest.$ac_ext
33168 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33169 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33171 if test $ac_cv_func_shmat = no; then
33172 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33173 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33174 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33175 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 ac_check_lib_save_LIBS=$LIBS
33179 cat >conftest.$ac_ext <<_ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33186 /* Override any GCC internal prototype to avoid an error.
33187 Use char because int might match the return type of a GCC
33188 builtin and then its argument prototype would still apply. */
33201 rm -f conftest.$ac_objext conftest$ac_exeext
33202 if { (ac_try="$ac_link"
33203 case "(($ac_try" in
33204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33205 *) ac_try_echo=$ac_try;;
33207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33208 (eval "$ac_link") 2>conftest.er1
33210 grep -v '^ *+' conftest.er1 >conftest.err
33212 cat conftest.err >&5
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); } && {
33215 test -z "$ac_c_werror_flag" ||
33216 test ! -s conftest.err
33217 } && test -s conftest$ac_exeext &&
33218 $as_test_x conftest$ac_exeext; then
33219 ac_cv_lib_ipc_shmat=yes
33221 echo "$as_me: failed program was:" >&5
33222 sed 's/^/| /' conftest.$ac_ext >&5
33224 ac_cv_lib_ipc_shmat=no
33227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33228 conftest$ac_exeext conftest.$ac_ext
33229 LIBS=$ac_check_lib_save_LIBS
33231 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33232 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33233 if test $ac_cv_lib_ipc_shmat = yes; then
33234 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33240 # Check for libraries that X11R6 Xt/Xaw programs need.
33241 ac_save_LDFLAGS=$LDFLAGS
33242 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33243 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33244 # check for ICE first), but we must link in the order -lSM -lICE or
33245 # we get undefined symbols. So assume we have SM if we have ICE.
33246 # These have to be linked with before -lX11, unlike the other
33247 # libraries we check for below, so use a different variable.
33248 # John Interrante, Karl Berry
33249 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33250 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33251 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33252 echo $ECHO_N "(cached) $ECHO_C" >&6
33254 ac_check_lib_save_LIBS=$LIBS
33255 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33256 cat >conftest.$ac_ext <<_ACEOF
33259 cat confdefs.h >>conftest.$ac_ext
33260 cat >>conftest.$ac_ext <<_ACEOF
33261 /* end confdefs.h. */
33263 /* Override any GCC internal prototype to avoid an error.
33264 Use char because int might match the return type of a GCC
33265 builtin and then its argument prototype would still apply. */
33269 char IceConnectionNumber ();
33273 return IceConnectionNumber ();
33278 rm -f conftest.$ac_objext conftest$ac_exeext
33279 if { (ac_try="$ac_link"
33280 case "(($ac_try" in
33281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33282 *) ac_try_echo=$ac_try;;
33284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33285 (eval "$ac_link") 2>conftest.er1
33287 grep -v '^ *+' conftest.er1 >conftest.err
33289 cat conftest.err >&5
33290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33291 (exit $ac_status); } && {
33292 test -z "$ac_c_werror_flag" ||
33293 test ! -s conftest.err
33294 } && test -s conftest$ac_exeext &&
33295 $as_test_x conftest$ac_exeext; then
33296 ac_cv_lib_ICE_IceConnectionNumber=yes
33298 echo "$as_me: failed program was:" >&5
33299 sed 's/^/| /' conftest.$ac_ext >&5
33301 ac_cv_lib_ICE_IceConnectionNumber=no
33304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33305 conftest$ac_exeext conftest.$ac_ext
33306 LIBS=$ac_check_lib_save_LIBS
33308 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33309 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33310 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33311 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33314 LDFLAGS=$ac_save_LDFLAGS
33319 if test "$no_x" = "yes"; then
33320 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33321 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33322 { (exit 1); exit 1; }; }
33325 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33326 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33327 AFMINSTALL=afminstall
33328 COMPILED_X_PROGRAM=0
33332 if test "$wxUSE_X11" = 1; then
33333 if test "$wxUSE_NANOX" = "yes"; then
33334 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33335 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33336 if test "x$MICROWIN" = x ; then
33337 { echo "$as_me:$LINENO: result: not found" >&5
33338 echo "${ECHO_T}not found" >&6; }
33339 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33340 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33341 { (exit 1); exit 1; }; }
33343 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33344 echo "${ECHO_T}$MICROWIN" >&6; }
33345 cat >>confdefs.h <<\_ACEOF
33346 #define wxUSE_NANOX 1
33352 if test "$wxUSE_UNICODE" = "yes"; then
33355 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33356 if test -n "$ac_tool_prefix"; then
33357 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33358 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33361 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33362 echo $ECHO_N "(cached) $ECHO_C" >&6
33364 case $PKG_CONFIG in
33366 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33370 for as_dir in $PATH
33373 test -z "$as_dir" && as_dir=.
33374 for ac_exec_ext in '' $ac_executable_extensions; do
33375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33376 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33387 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33388 if test -n "$PKG_CONFIG"; then
33389 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33390 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33392 { echo "$as_me:$LINENO: result: no" >&5
33393 echo "${ECHO_T}no" >&6; }
33398 if test -z "$ac_cv_path_PKG_CONFIG"; then
33399 ac_pt_PKG_CONFIG=$PKG_CONFIG
33400 # Extract the first word of "pkg-config", so it can be a program name with args.
33401 set dummy pkg-config; ac_word=$2
33402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33404 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 case $ac_pt_PKG_CONFIG in
33409 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33413 for as_dir in $PATH
33416 test -z "$as_dir" && as_dir=.
33417 for ac_exec_ext in '' $ac_executable_extensions; do
33418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33419 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33430 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33431 if test -n "$ac_pt_PKG_CONFIG"; then
33432 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33433 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33435 { echo "$as_me:$LINENO: result: no" >&5
33436 echo "${ECHO_T}no" >&6; }
33439 if test "x$ac_pt_PKG_CONFIG" = x; then
33442 case $cross_compiling:$ac_tool_warned in
33444 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33445 whose name does not start with the host triplet. If you think this
33446 configuration is useful to you, please write to autoconf@gnu.org." >&5
33447 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33448 whose name does not start with the host triplet. If you think this
33449 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33450 ac_tool_warned=yes ;;
33452 PKG_CONFIG=$ac_pt_PKG_CONFIG
33455 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33459 if test -n "$PKG_CONFIG"; then
33460 _pkg_min_version=0.9.0
33461 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33462 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33463 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33464 { echo "$as_me:$LINENO: result: yes" >&5
33465 echo "${ECHO_T}yes" >&6; }
33467 { echo "$as_me:$LINENO: result: no" >&5
33468 echo "${ECHO_T}no" >&6; }
33476 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33477 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33479 if test -n "$PKG_CONFIG"; then
33480 if test -n "$PANGOX_CFLAGS"; then
33481 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33483 if test -n "$PKG_CONFIG" && \
33484 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33485 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33488 (exit $ac_status); }; then
33489 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33497 if test -n "$PKG_CONFIG"; then
33498 if test -n "$PANGOX_LIBS"; then
33499 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33501 if test -n "$PKG_CONFIG" && \
33502 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33503 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); }; then
33507 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33518 if test $pkg_failed = yes; then
33520 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33521 _pkg_short_errors_supported=yes
33523 _pkg_short_errors_supported=no
33525 if test $_pkg_short_errors_supported = yes; then
33526 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33528 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33530 # Put the nasty error message in config.log where it belongs
33531 echo "$PANGOX_PKG_ERRORS" >&5
33534 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33535 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33536 { (exit 1); exit 1; }; }
33539 elif test $pkg_failed = untried; then
33541 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33542 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33543 { (exit 1); exit 1; }; }
33547 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33548 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33549 { echo "$as_me:$LINENO: result: yes" >&5
33550 echo "${ECHO_T}yes" >&6; }
33552 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33553 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33554 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33559 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33560 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33562 if test -n "$PKG_CONFIG"; then
33563 if test -n "$PANGOFT2_CFLAGS"; then
33564 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33566 if test -n "$PKG_CONFIG" && \
33567 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33568 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); }; then
33572 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33580 if test -n "$PKG_CONFIG"; then
33581 if test -n "$PANGOFT2_LIBS"; then
33582 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33584 if test -n "$PKG_CONFIG" && \
33585 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33586 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); }; then
33590 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33601 if test $pkg_failed = yes; then
33603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33604 _pkg_short_errors_supported=yes
33606 _pkg_short_errors_supported=no
33608 if test $_pkg_short_errors_supported = yes; then
33609 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33611 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33613 # Put the nasty error message in config.log where it belongs
33614 echo "$PANGOFT2_PKG_ERRORS" >&5
33617 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33618 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33619 wxUSE_PRINTING_ARCHITECTURE="no"
33622 elif test $pkg_failed = untried; then
33624 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33625 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33626 wxUSE_PRINTING_ARCHITECTURE="no"
33630 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33631 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33632 { echo "$as_me:$LINENO: result: yes" >&5
33633 echo "${ECHO_T}yes" >&6; }
33635 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33636 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33637 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33642 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33643 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33645 if test -n "$PKG_CONFIG"; then
33646 if test -n "$PANGOXFT_CFLAGS"; then
33647 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33649 if test -n "$PKG_CONFIG" && \
33650 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33651 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); }; then
33655 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33663 if test -n "$PKG_CONFIG"; then
33664 if test -n "$PANGOXFT_LIBS"; then
33665 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33667 if test -n "$PKG_CONFIG" && \
33668 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33669 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 (exit $ac_status); }; then
33673 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33684 if test $pkg_failed = yes; then
33686 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33687 _pkg_short_errors_supported=yes
33689 _pkg_short_errors_supported=no
33691 if test $_pkg_short_errors_supported = yes; then
33692 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33694 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33696 # Put the nasty error message in config.log where it belongs
33697 echo "$PANGOXFT_PKG_ERRORS" >&5
33700 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33701 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33704 elif test $pkg_failed = untried; then
33706 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33707 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33711 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33712 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33713 { echo "$as_me:$LINENO: result: yes" >&5
33714 echo "${ECHO_T}yes" >&6; }
33716 cat >>confdefs.h <<\_ACEOF
33717 #define HAVE_PANGO_XFT 1
33720 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33721 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33722 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33726 LIBS="$LIBS $PANGOX_LIBS"
33728 for ac_func in pango_font_family_is_monospace
33730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33734 echo $ECHO_N "(cached) $ECHO_C" >&6
33736 cat >conftest.$ac_ext <<_ACEOF
33739 cat confdefs.h >>conftest.$ac_ext
33740 cat >>conftest.$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33744 #define $ac_func innocuous_$ac_func
33746 /* System header to define __stub macros and hopefully few prototypes,
33747 which can conflict with char $ac_func (); below.
33748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33749 <limits.h> exists even on freestanding compilers. */
33752 # include <limits.h>
33754 # include <assert.h>
33759 /* Override any GCC internal prototype to avoid an error.
33760 Use char because int might match the return type of a GCC
33761 builtin and then its argument prototype would still apply. */
33766 /* The GNU C library defines this for functions which it implements
33767 to always fail with ENOSYS. Some functions are actually named
33768 something starting with __ and the normal name is an alias. */
33769 #if defined __stub_$ac_func || defined __stub___$ac_func
33776 return $ac_func ();
33781 rm -f conftest.$ac_objext conftest$ac_exeext
33782 if { (ac_try="$ac_link"
33783 case "(($ac_try" in
33784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33785 *) ac_try_echo=$ac_try;;
33787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33788 (eval "$ac_link") 2>conftest.er1
33790 grep -v '^ *+' conftest.er1 >conftest.err
33792 cat conftest.err >&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } && {
33795 test -z "$ac_c_werror_flag" ||
33796 test ! -s conftest.err
33797 } && test -s conftest$ac_exeext &&
33798 $as_test_x conftest$ac_exeext; then
33799 eval "$as_ac_var=yes"
33801 echo "$as_me: failed program was:" >&5
33802 sed 's/^/| /' conftest.$ac_ext >&5
33804 eval "$as_ac_var=no"
33807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33808 conftest$ac_exeext conftest.$ac_ext
33810 ac_res=`eval echo '${'$as_ac_var'}'`
33811 { echo "$as_me:$LINENO: result: $ac_res" >&5
33812 echo "${ECHO_T}$ac_res" >&6; }
33813 if test `eval echo '${'$as_ac_var'}'` = yes; then
33814 cat >>confdefs.h <<_ACEOF
33815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33824 wxUSE_UNIVERSAL="yes"
33826 if test "$wxUSE_NANOX" = "yes"; then
33827 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33828 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"
33829 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33831 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33838 if test "$wxUSE_MOTIF" = 1; then
33839 if test "$wxUSE_UNICODE" = "yes"; then
33840 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33841 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33842 { (exit 1); exit 1; }; }
33845 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33846 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33849 for ac_dir in $SEARCH_INCLUDE /usr/include;
33851 if test -f "$ac_dir/Xm/Xm.h"; then
33852 ac_find_includes=$ac_dir
33857 if test "$ac_find_includes" != "" ; then
33858 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33859 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33861 if test "x$ac_find_includes" = "x/usr/include"; then
33862 ac_path_to_include=""
33864 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33866 if test $result = 0; then
33867 ac_path_to_include=""
33869 ac_path_to_include=" -I$ac_find_includes"
33873 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33875 save_CFLAGS=$CFLAGS
33876 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33878 cat >conftest.$ac_ext <<_ACEOF
33881 cat confdefs.h >>conftest.$ac_ext
33882 cat >>conftest.$ac_ext <<_ACEOF
33883 /* end confdefs.h. */
33892 version = xmUseVersion;
33898 rm -f conftest.$ac_objext
33899 if { (ac_try="$ac_compile"
33900 case "(($ac_try" in
33901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33902 *) ac_try_echo=$ac_try;;
33904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33905 (eval "$ac_compile") 2>conftest.er1
33907 grep -v '^ *+' conftest.er1 >conftest.err
33909 cat conftest.err >&5
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); } && {
33912 test -z "$ac_c_werror_flag" ||
33913 test ! -s conftest.err
33914 } && test -s conftest.$ac_objext; then
33916 { echo "$as_me:$LINENO: result: found in default search path" >&5
33917 echo "${ECHO_T}found in default search path" >&6; }
33918 COMPILED_X_PROGRAM=1
33921 echo "$as_me: failed program was:" >&5
33922 sed 's/^/| /' conftest.$ac_ext >&5
33925 { echo "$as_me:$LINENO: result: no" >&5
33926 echo "${ECHO_T}no" >&6; }
33927 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33928 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33929 { (exit 1); exit 1; }; }
33934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33936 CFLAGS=$save_CFLAGS
33940 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33941 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33944 for ac_dir in $SEARCH_LIB;
33946 for ac_extension in a so sl dylib dll.a; do
33947 if test -f "$ac_dir/libXm.$ac_extension"; then
33948 ac_find_libraries=$ac_dir
33955 if test "x$ac_find_libraries" != "x" ; then
33956 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33957 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33960 if test "$ac_find_libraries" = "default location"; then
33963 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33965 if test $result = 0; then
33968 ac_path_to_link=" -L$ac_find_libraries"
33972 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33974 save_CFLAGS=$CFLAGS
33975 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33977 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33979 cat >conftest.$ac_ext <<_ACEOF
33982 cat confdefs.h >>conftest.$ac_ext
33983 cat >>conftest.$ac_ext <<_ACEOF
33984 /* end confdefs.h. */
33993 version = xmUseVersion;
33999 rm -f conftest.$ac_objext conftest$ac_exeext
34000 if { (ac_try="$ac_link"
34001 case "(($ac_try" in
34002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34003 *) ac_try_echo=$ac_try;;
34005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34006 (eval "$ac_link") 2>conftest.er1
34008 grep -v '^ *+' conftest.er1 >conftest.err
34010 cat conftest.err >&5
34011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012 (exit $ac_status); } && {
34013 test -z "$ac_c_werror_flag" ||
34014 test ! -s conftest.err
34015 } && test -s conftest$ac_exeext &&
34016 $as_test_x conftest$ac_exeext; then
34018 { echo "$as_me:$LINENO: result: found in default search path" >&5
34019 echo "${ECHO_T}found in default search path" >&6; }
34020 COMPILED_X_PROGRAM=1
34023 echo "$as_me: failed program was:" >&5
34024 sed 's/^/| /' conftest.$ac_ext >&5
34027 { echo "$as_me:$LINENO: result: no" >&5
34028 echo "${ECHO_T}no" >&6; }
34029 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34030 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34031 { (exit 1); exit 1; }; }
34036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34037 conftest$ac_exeext conftest.$ac_ext
34039 CFLAGS=$save_CFLAGS
34043 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34044 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34048 for libp in "" " -lXp"; do
34049 if test "$libs_found" = "0"; then
34050 for libsm_ice in "" " -lSM -lICE"; do
34051 if test "$libs_found" = "0"; then
34053 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34054 save_CFLAGS=$CFLAGS
34055 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34057 cat >conftest.$ac_ext <<_ACEOF
34060 cat confdefs.h >>conftest.$ac_ext
34061 cat >>conftest.$ac_ext <<_ACEOF
34062 /* end confdefs.h. */
34065 #include <Xm/List.h>
34071 XmString string = NULL;
34074 XmListAddItem(w, string, position);
34080 rm -f conftest.$ac_objext conftest$ac_exeext
34081 if { (ac_try="$ac_link"
34082 case "(($ac_try" in
34083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34084 *) ac_try_echo=$ac_try;;
34086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34087 (eval "$ac_link") 2>conftest.er1
34089 grep -v '^ *+' conftest.er1 >conftest.err
34091 cat conftest.err >&5
34092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34093 (exit $ac_status); } && {
34094 test -z "$ac_c_werror_flag" ||
34095 test ! -s conftest.err
34096 } && test -s conftest$ac_exeext &&
34097 $as_test_x conftest$ac_exeext; then
34100 libsm_ice_link="$libsm_ice"
34101 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34102 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34106 echo "$as_me: failed program was:" >&5
34107 sed 's/^/| /' conftest.$ac_ext >&5
34113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34114 conftest$ac_exeext conftest.$ac_ext
34117 CFLAGS=$save_CFLAGS
34123 if test "$libs_found" = "0"; then
34124 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34125 echo "${ECHO_T}can't find the right libraries" >&6; }
34126 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34127 echo "$as_me: error: can't link a simple motif program" >&2;}
34128 { (exit 1); exit 1; }; }
34131 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34132 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34133 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34134 echo $ECHO_N "(cached) $ECHO_C" >&6
34136 ac_check_lib_save_LIBS=$LIBS
34138 cat >conftest.$ac_ext <<_ACEOF
34141 cat confdefs.h >>conftest.$ac_ext
34142 cat >>conftest.$ac_ext <<_ACEOF
34143 /* end confdefs.h. */
34145 /* Override any GCC internal prototype to avoid an error.
34146 Use char because int might match the return type of a GCC
34147 builtin and then its argument prototype would still apply. */
34151 char SgCreateList ();
34155 return SgCreateList ();
34160 rm -f conftest.$ac_objext conftest$ac_exeext
34161 if { (ac_try="$ac_link"
34162 case "(($ac_try" in
34163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34164 *) ac_try_echo=$ac_try;;
34166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34167 (eval "$ac_link") 2>conftest.er1
34169 grep -v '^ *+' conftest.er1 >conftest.err
34171 cat conftest.err >&5
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); } && {
34174 test -z "$ac_c_werror_flag" ||
34175 test ! -s conftest.err
34176 } && test -s conftest$ac_exeext &&
34177 $as_test_x conftest$ac_exeext; then
34178 ac_cv_lib_Sgm_SgCreateList=yes
34180 echo "$as_me: failed program was:" >&5
34181 sed 's/^/| /' conftest.$ac_ext >&5
34183 ac_cv_lib_Sgm_SgCreateList=no
34186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34187 conftest$ac_exeext conftest.$ac_ext
34188 LIBS=$ac_check_lib_save_LIBS
34190 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34191 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34192 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34193 libsgm_link=" -lSgm"
34197 save_CFLAGS=$CFLAGS
34198 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34200 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34201 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34202 if test "${wx_cv_lib_motif2+set}" = set; then
34203 echo $ECHO_N "(cached) $ECHO_C" >&6
34205 cat >conftest.$ac_ext <<_ACEOF
34208 cat confdefs.h >>conftest.$ac_ext
34209 cat >>conftest.$ac_ext <<_ACEOF
34210 /* end confdefs.h. */
34218 #if XmVersion < 2000
34226 rm -f conftest.$ac_objext
34227 if { (ac_try="$ac_compile"
34228 case "(($ac_try" in
34229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34230 *) ac_try_echo=$ac_try;;
34232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34233 (eval "$ac_compile") 2>conftest.er1
34235 grep -v '^ *+' conftest.er1 >conftest.err
34237 cat conftest.err >&5
34238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34239 (exit $ac_status); } && {
34240 test -z "$ac_c_werror_flag" ||
34241 test ! -s conftest.err
34242 } && test -s conftest.$ac_objext; then
34243 wx_cv_lib_motif2="yes"
34245 echo "$as_me: failed program was:" >&5
34246 sed 's/^/| /' conftest.$ac_ext >&5
34248 wx_cv_lib_motif2="no"
34251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34253 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34254 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34255 if test "$wx_cv_lib_motif2" = "yes"; then
34256 cat >>confdefs.h <<\_ACEOF
34257 #define __WXMOTIF20__ 1
34261 cat >>confdefs.h <<\_ACEOF
34262 #define __WXMOTIF20__ 0
34267 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34268 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34269 if test "${wx_cv_lib_lesstif+set}" = set; then
34270 echo $ECHO_N "(cached) $ECHO_C" >&6
34272 cat >conftest.$ac_ext <<_ACEOF
34275 cat confdefs.h >>conftest.$ac_ext
34276 cat >>conftest.$ac_ext <<_ACEOF
34277 /* end confdefs.h. */
34285 #if !defined(LesstifVersion) || LesstifVersion <= 0
34293 rm -f conftest.$ac_objext
34294 if { (ac_try="$ac_compile"
34295 case "(($ac_try" in
34296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34297 *) ac_try_echo=$ac_try;;
34299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34300 (eval "$ac_compile") 2>conftest.er1
34302 grep -v '^ *+' conftest.er1 >conftest.err
34304 cat conftest.err >&5
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); } && {
34307 test -z "$ac_c_werror_flag" ||
34308 test ! -s conftest.err
34309 } && test -s conftest.$ac_objext; then
34310 wx_cv_lib_lesstif="yes"
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.$ac_ext >&5
34315 wx_cv_lib_lesstif="no"
34318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34321 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34322 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34323 if test "$wx_cv_lib_lesstif" = "yes"; then
34324 cat >>confdefs.h <<\_ACEOF
34325 #define __WXLESSTIF__ 1
34329 cat >>confdefs.h <<\_ACEOF
34330 #define __WXLESSTIF__ 0
34335 CFLAGS=$save_CFLAGS
34337 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34342 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34343 if test "$wxUSE_LIBXPM" = "sys"; then
34344 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34345 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34348 for ac_dir in $SEARCH_LIB;
34350 for ac_extension in a so sl dylib dll.a; do
34351 if test -f "$ac_dir/libXpm.$ac_extension"; then
34352 ac_find_libraries=$ac_dir
34358 if test "$ac_find_libraries" != "" ; then
34360 if test "$ac_find_libraries" = "default location"; then
34363 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34365 if test $result = 0; then
34368 ac_path_to_link=" -L$ac_find_libraries"
34372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34373 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34374 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34376 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34377 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34378 if test "${wx_cv_x11_xpm_h+set}" = set; then
34379 echo $ECHO_N "(cached) $ECHO_C" >&6
34382 save_CFLAGS=$CFLAGS
34383 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34385 cat >conftest.$ac_ext <<_ACEOF
34388 cat confdefs.h >>conftest.$ac_ext
34389 cat >>conftest.$ac_ext <<_ACEOF
34390 /* end confdefs.h. */
34392 #include <X11/xpm.h>
34399 version = XpmLibraryVersion();
34405 rm -f conftest.$ac_objext
34406 if { (ac_try="$ac_compile"
34407 case "(($ac_try" in
34408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34409 *) ac_try_echo=$ac_try;;
34411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34412 (eval "$ac_compile") 2>conftest.er1
34414 grep -v '^ *+' conftest.er1 >conftest.err
34416 cat conftest.err >&5
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); } && {
34419 test -z "$ac_c_werror_flag" ||
34420 test ! -s conftest.err
34421 } && test -s conftest.$ac_objext; then
34422 wx_cv_x11_xpm_h=yes
34424 echo "$as_me: failed program was:" >&5
34425 sed 's/^/| /' conftest.$ac_ext >&5
34431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34433 CFLAGS=$save_CFLAGS
34437 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34438 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34440 if test $wx_cv_x11_xpm_h = "yes"; then
34441 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34442 cat >>confdefs.h <<\_ACEOF
34443 #define wxHAVE_LIB_XPM 1
34447 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34448 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34454 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34455 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34456 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34457 echo $ECHO_N "(cached) $ECHO_C" >&6
34459 ac_check_lib_save_LIBS=$LIBS
34460 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34461 cat >conftest.$ac_ext <<_ACEOF
34464 cat confdefs.h >>conftest.$ac_ext
34465 cat >>conftest.$ac_ext <<_ACEOF
34466 /* end confdefs.h. */
34468 /* Override any GCC internal prototype to avoid an error.
34469 Use char because int might match the return type of a GCC
34470 builtin and then its argument prototype would still apply. */
34474 char XShapeQueryExtension ();
34478 return XShapeQueryExtension ();
34483 rm -f conftest.$ac_objext conftest$ac_exeext
34484 if { (ac_try="$ac_link"
34485 case "(($ac_try" in
34486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34487 *) ac_try_echo=$ac_try;;
34489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34490 (eval "$ac_link") 2>conftest.er1
34492 grep -v '^ *+' conftest.er1 >conftest.err
34494 cat conftest.err >&5
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); } && {
34497 test -z "$ac_c_werror_flag" ||
34498 test ! -s conftest.err
34499 } && test -s conftest$ac_exeext &&
34500 $as_test_x conftest$ac_exeext; then
34501 ac_cv_lib_Xext_XShapeQueryExtension=yes
34503 echo "$as_me: failed program was:" >&5
34504 sed 's/^/| /' conftest.$ac_ext >&5
34506 ac_cv_lib_Xext_XShapeQueryExtension=no
34509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34510 conftest$ac_exeext conftest.$ac_ext
34511 LIBS=$ac_check_lib_save_LIBS
34513 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34514 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34515 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34517 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34523 if test "$wxHAVE_XEXT_LIB" = 1; then
34524 save_CFLAGS="$CFLAGS"
34525 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34527 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34528 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34529 cat >conftest.$ac_ext <<_ACEOF
34532 cat confdefs.h >>conftest.$ac_ext
34533 cat >>conftest.$ac_ext <<_ACEOF
34534 /* end confdefs.h. */
34536 #include <X11/Xlib.h>
34537 #include <X11/extensions/shape.h>
34543 int dummy1, dummy2;
34544 XShapeQueryExtension((Display*)NULL,
34545 (int*)NULL, (int*)NULL);
34551 rm -f conftest.$ac_objext
34552 if { (ac_try="$ac_compile"
34553 case "(($ac_try" in
34554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34555 *) ac_try_echo=$ac_try;;
34557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34558 (eval "$ac_compile") 2>conftest.er1
34560 grep -v '^ *+' conftest.er1 >conftest.err
34562 cat conftest.err >&5
34563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564 (exit $ac_status); } && {
34565 test -z "$ac_c_werror_flag" ||
34566 test ! -s conftest.err
34567 } && test -s conftest.$ac_objext; then
34569 cat >>confdefs.h <<\_ACEOF
34570 #define HAVE_XSHAPE 1
34573 { echo "$as_me:$LINENO: result: found" >&5
34574 echo "${ECHO_T}found" >&6; }
34577 echo "$as_me: failed program was:" >&5
34578 sed 's/^/| /' conftest.$ac_ext >&5
34581 { echo "$as_me:$LINENO: result: not found" >&5
34582 echo "${ECHO_T}not found" >&6; }
34586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34587 CFLAGS="$save_CFLAGS"
34592 if test "$wxUSE_MAC" = 1; then
34593 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34594 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34595 if test "$GCC" = yes; then
34596 { echo "$as_me:$LINENO: result: gcc" >&5
34597 echo "${ECHO_T}gcc" >&6; }
34598 CPPFLAGS_PASCAL="-fpascal-strings"
34599 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34600 { echo "$as_me:$LINENO: result: xlc" >&5
34601 echo "${ECHO_T}xlc" >&6; }
34602 CPPFLAGS_PASCAL="-qmacpstr"
34604 { echo "$as_me:$LINENO: result: none" >&5
34605 echo "${ECHO_T}none" >&6; }
34608 if test "x$wxUSE_UNIX" = "xyes"; then
34609 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34611 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34616 WXBASEPORT="_carbon"
34619 if test "$wxUSE_COCOA" = 1; then
34624 if test "$wxUSE_PM" = 1; then
34627 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34628 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34629 if test "${wx_cv_spbcdata+set}" = set; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34633 cat >conftest.$ac_ext <<_ACEOF
34636 cat confdefs.h >>conftest.$ac_ext
34637 cat >>conftest.$ac_ext <<_ACEOF
34638 /* end confdefs.h. */
34653 rm -f conftest.$ac_objext
34654 if { (ac_try="$ac_compile"
34655 case "(($ac_try" in
34656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34657 *) ac_try_echo=$ac_try;;
34659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34660 (eval "$ac_compile") 2>conftest.er1
34662 grep -v '^ *+' conftest.er1 >conftest.err
34664 cat conftest.err >&5
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); } && {
34667 test -z "$ac_c_werror_flag" ||
34668 test ! -s conftest.err
34669 } && test -s conftest.$ac_objext; then
34672 echo "$as_me: failed program was:" >&5
34673 sed 's/^/| /' conftest.$ac_ext >&5
34679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34683 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34684 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34686 if test $wx_cv_spbcdata = "yes"; then
34687 cat >>confdefs.h <<\_ACEOF
34688 #define HAVE_SPBCDATA 1
34694 if test "$TOOLKIT" = "PM" ; then
34697 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34700 if test "$wxUSE_UNIVERSAL" = "yes"; then
34701 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34705 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34706 DISTDIR="wx\$(TOOLKIT)"
34712 if test "$USE_WIN32" = 1 ; then
34716 GUIDIST="BASE_DIST"
34722 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34723 if test "$TOOLKIT" = "DFB" ; then
34724 wxUSE_UNICODE_UTF8=yes
34725 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34726 wxUSE_UNICODE_UTF8=yes
34727 elif test "$USE_OS2" = "1" ; then
34728 wxUSE_UNICODE_UTF8=yes
34730 wxUSE_UNICODE_UTF8=no
34735 if test "$wxUSE_GUI" = "yes"; then
34736 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34737 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34738 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34739 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34740 echo $ECHO_N "(cached) $ECHO_C" >&6
34742 cat >conftest.$ac_ext <<_ACEOF
34745 cat confdefs.h >>conftest.$ac_ext
34746 cat >>conftest.$ac_ext <<_ACEOF
34747 /* end confdefs.h. */
34750 #include <X11/Xlib.h>
34752 rm -f conftest.$ac_objext
34753 if { (ac_try="$ac_compile"
34754 case "(($ac_try" in
34755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34756 *) ac_try_echo=$ac_try;;
34758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34759 (eval "$ac_compile") 2>conftest.er1
34761 grep -v '^ *+' conftest.er1 >conftest.err
34763 cat conftest.err >&5
34764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34765 (exit $ac_status); } && {
34766 test -z "$ac_c_werror_flag" ||
34767 test ! -s conftest.err
34768 } && test -s conftest.$ac_objext; then
34769 ac_cv_header_X11_Xlib_h=yes
34771 echo "$as_me: failed program was:" >&5
34772 sed 's/^/| /' conftest.$ac_ext >&5
34774 ac_cv_header_X11_Xlib_h=no
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34779 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34780 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34783 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34784 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34785 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34786 echo $ECHO_N "(cached) $ECHO_C" >&6
34788 cat >conftest.$ac_ext <<_ACEOF
34791 cat confdefs.h >>conftest.$ac_ext
34792 cat >>conftest.$ac_ext <<_ACEOF
34793 /* end confdefs.h. */
34795 #if HAVE_X11_XLIB_H
34796 #include <X11/Xlib.h>
34800 #include <X11/XKBlib.h>
34802 rm -f conftest.$ac_objext
34803 if { (ac_try="$ac_compile"
34804 case "(($ac_try" in
34805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34806 *) ac_try_echo=$ac_try;;
34808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34809 (eval "$ac_compile") 2>conftest.er1
34811 grep -v '^ *+' conftest.er1 >conftest.err
34813 cat conftest.err >&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); } && {
34816 test -z "$ac_c_werror_flag" ||
34817 test ! -s conftest.err
34818 } && test -s conftest.$ac_objext; then
34819 ac_cv_header_X11_XKBlib_h=yes
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.$ac_ext >&5
34824 ac_cv_header_X11_XKBlib_h=no
34827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34829 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34830 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34841 if test "$TOOLKIT" != "MSW" ; then
34843 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34845 { echo "$as_me:$LINENO: checking for sql.h" >&5
34846 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34847 if test "${ac_cv_header_sql_h+set}" = set; then
34848 echo $ECHO_N "(cached) $ECHO_C" >&6
34850 cat >conftest.$ac_ext <<_ACEOF
34853 cat confdefs.h >>conftest.$ac_ext
34854 cat >>conftest.$ac_ext <<_ACEOF
34855 /* end confdefs.h. */
34860 rm -f conftest.$ac_objext
34861 if { (ac_try="$ac_compile"
34862 case "(($ac_try" in
34863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34864 *) ac_try_echo=$ac_try;;
34866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34867 (eval "$ac_compile") 2>conftest.er1
34869 grep -v '^ *+' conftest.er1 >conftest.err
34871 cat conftest.err >&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } && {
34874 test -z "$ac_c_werror_flag" ||
34875 test ! -s conftest.err
34876 } && test -s conftest.$ac_objext; then
34877 ac_cv_header_sql_h=yes
34879 echo "$as_me: failed program was:" >&5
34880 sed 's/^/| /' conftest.$ac_ext >&5
34882 ac_cv_header_sql_h=no
34885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34887 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34888 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34889 if test $ac_cv_header_sql_h = yes; then
34894 if test "x$found_sql_h" = "x1" ; then
34895 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34896 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34897 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34898 echo $ECHO_N "(cached) $ECHO_C" >&6
34900 ac_check_lib_save_LIBS=$LIBS
34901 LIBS="-liodbc $LIBS"
34902 cat >conftest.$ac_ext <<_ACEOF
34905 cat confdefs.h >>conftest.$ac_ext
34906 cat >>conftest.$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34909 /* Override any GCC internal prototype to avoid an error.
34910 Use char because int might match the return type of a GCC
34911 builtin and then its argument prototype would still apply. */
34915 char SQLAllocEnv ();
34919 return SQLAllocEnv ();
34924 rm -f conftest.$ac_objext conftest$ac_exeext
34925 if { (ac_try="$ac_link"
34926 case "(($ac_try" in
34927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34928 *) ac_try_echo=$ac_try;;
34930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34931 (eval "$ac_link") 2>conftest.er1
34933 grep -v '^ *+' conftest.er1 >conftest.err
34935 cat conftest.err >&5
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); } && {
34938 test -z "$ac_c_werror_flag" ||
34939 test ! -s conftest.err
34940 } && test -s conftest$ac_exeext &&
34941 $as_test_x conftest$ac_exeext; then
34942 ac_cv_lib_iodbc_SQLAllocEnv=yes
34944 echo "$as_me: failed program was:" >&5
34945 sed 's/^/| /' conftest.$ac_ext >&5
34947 ac_cv_lib_iodbc_SQLAllocEnv=no
34950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34951 conftest$ac_exeext conftest.$ac_ext
34952 LIBS=$ac_check_lib_save_LIBS
34954 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34955 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34956 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34957 ODBC_LINK=" -liodbc"
34960 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34961 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34962 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34963 echo $ECHO_N "(cached) $ECHO_C" >&6
34965 ac_check_lib_save_LIBS=$LIBS
34966 LIBS="-lunixodbc $LIBS"
34967 cat >conftest.$ac_ext <<_ACEOF
34970 cat confdefs.h >>conftest.$ac_ext
34971 cat >>conftest.$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34974 /* Override any GCC internal prototype to avoid an error.
34975 Use char because int might match the return type of a GCC
34976 builtin and then its argument prototype would still apply. */
34980 char SQLAllocEnv ();
34984 return SQLAllocEnv ();
34989 rm -f conftest.$ac_objext conftest$ac_exeext
34990 if { (ac_try="$ac_link"
34991 case "(($ac_try" in
34992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34993 *) ac_try_echo=$ac_try;;
34995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34996 (eval "$ac_link") 2>conftest.er1
34998 grep -v '^ *+' conftest.er1 >conftest.err
35000 cat conftest.err >&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); } && {
35003 test -z "$ac_c_werror_flag" ||
35004 test ! -s conftest.err
35005 } && test -s conftest$ac_exeext &&
35006 $as_test_x conftest$ac_exeext; then
35007 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35009 echo "$as_me: failed program was:" >&5
35010 sed 's/^/| /' conftest.$ac_ext >&5
35012 ac_cv_lib_unixodbc_SQLAllocEnv=no
35015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35016 conftest$ac_exeext conftest.$ac_ext
35017 LIBS=$ac_check_lib_save_LIBS
35019 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35020 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35021 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35022 ODBC_LINK=" -lunixodbc"
35025 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35026 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35027 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35028 echo $ECHO_N "(cached) $ECHO_C" >&6
35030 ac_check_lib_save_LIBS=$LIBS
35031 LIBS="-lodbc $LIBS"
35032 cat >conftest.$ac_ext <<_ACEOF
35035 cat confdefs.h >>conftest.$ac_ext
35036 cat >>conftest.$ac_ext <<_ACEOF
35037 /* end confdefs.h. */
35039 /* Override any GCC internal prototype to avoid an error.
35040 Use char because int might match the return type of a GCC
35041 builtin and then its argument prototype would still apply. */
35045 char SQLAllocEnv ();
35049 return SQLAllocEnv ();
35054 rm -f conftest.$ac_objext conftest$ac_exeext
35055 if { (ac_try="$ac_link"
35056 case "(($ac_try" in
35057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35058 *) ac_try_echo=$ac_try;;
35060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35061 (eval "$ac_link") 2>conftest.er1
35063 grep -v '^ *+' conftest.er1 >conftest.err
35065 cat conftest.err >&5
35066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35067 (exit $ac_status); } && {
35068 test -z "$ac_c_werror_flag" ||
35069 test ! -s conftest.err
35070 } && test -s conftest$ac_exeext &&
35071 $as_test_x conftest$ac_exeext; then
35072 ac_cv_lib_odbc_SQLAllocEnv=yes
35074 echo "$as_me: failed program was:" >&5
35075 sed 's/^/| /' conftest.$ac_ext >&5
35077 ac_cv_lib_odbc_SQLAllocEnv=no
35080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35081 conftest$ac_exeext conftest.$ac_ext
35082 LIBS=$ac_check_lib_save_LIBS
35084 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35085 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35086 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35087 ODBC_LINK=" -lodbc"
35097 if test "x$ODBC_LINK" = "x" ; then
35098 if test "$wxUSE_ODBC" = "sys" ; then
35099 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35100 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35101 { (exit 1); exit 1; }; }
35103 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35104 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35112 if test "$wxUSE_ODBC" = "builtin" ; then
35113 cat >>confdefs.h <<\_ACEOF
35114 #define wxUSE_BUILTIN_IODBC 1
35120 if test "$wxUSE_ODBC" != "no" ; then
35121 cat >>confdefs.h <<\_ACEOF
35122 #define wxUSE_ODBC 1
35125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35127 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35131 if test "$wxUSE_DISPLAY" = "yes"; then
35132 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35133 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35134 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35137 for ac_dir in $SEARCH_LIB;
35139 for ac_extension in a so sl dylib dll.a; do
35140 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35141 ac_find_libraries=$ac_dir
35147 if test "$ac_find_libraries" != "" ; then
35149 if test "$ac_find_libraries" = "default location"; then
35152 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35154 if test $result = 0; then
35157 ac_path_to_link=" -L$ac_find_libraries"
35161 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35162 LDFLAGS="$LDFLAGS $ac_path_to_link"
35164 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35165 { echo "$as_me:$LINENO: result: yes" >&5
35166 echo "${ECHO_T}yes" >&6; }
35168 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35169 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35172 for ac_dir in $SEARCH_LIB;
35174 for ac_extension in a so sl dylib dll.a; do
35175 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35176 ac_find_libraries=$ac_dir
35182 if test "$ac_find_libraries" != "" ; then
35183 { echo "$as_me:$LINENO: result: yes" >&5
35184 echo "${ECHO_T}yes" >&6; }
35185 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35186 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35187 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35188 echo $ECHO_N "(cached) $ECHO_C" >&6
35190 cat >conftest.$ac_ext <<_ACEOF
35193 cat confdefs.h >>conftest.$ac_ext
35194 cat >>conftest.$ac_ext <<_ACEOF
35195 /* end confdefs.h. */
35197 #if HAVE_X11_XLIB_H
35198 #include <X11/Xlib.h>
35202 #include <X11/extensions/xf86vmode.h>
35204 rm -f conftest.$ac_objext
35205 if { (ac_try="$ac_compile"
35206 case "(($ac_try" in
35207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35208 *) ac_try_echo=$ac_try;;
35210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35211 (eval "$ac_compile") 2>conftest.er1
35213 grep -v '^ *+' conftest.er1 >conftest.err
35215 cat conftest.err >&5
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); } && {
35218 test -z "$ac_c_werror_flag" ||
35219 test ! -s conftest.err
35220 } && test -s conftest.$ac_objext; then
35221 ac_cv_header_X11_extensions_xf86vmode_h=yes
35223 echo "$as_me: failed program was:" >&5
35224 sed 's/^/| /' conftest.$ac_ext >&5
35226 ac_cv_header_X11_extensions_xf86vmode_h=no
35229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35231 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35232 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35233 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35235 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35241 { echo "$as_me:$LINENO: result: no" >&5
35242 echo "${ECHO_T}no" >&6; }
35246 { echo "$as_me:$LINENO: result: no" >&5
35247 echo "${ECHO_T}no" >&6; }
35248 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35249 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35252 elif test "$wxUSE_MSW" = 1; then
35253 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35254 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35255 if test "${ac_cv_header_ddraw_h+set}" = set; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35258 cat >conftest.$ac_ext <<_ACEOF
35261 cat confdefs.h >>conftest.$ac_ext
35262 cat >>conftest.$ac_ext <<_ACEOF
35263 /* end confdefs.h. */
35264 #include <windows.h>
35268 rm -f conftest.$ac_objext
35269 if { (ac_try="$ac_compile"
35270 case "(($ac_try" in
35271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35272 *) ac_try_echo=$ac_try;;
35274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35275 (eval "$ac_compile") 2>conftest.er1
35277 grep -v '^ *+' conftest.er1 >conftest.err
35279 cat conftest.err >&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); } && {
35282 test -z "$ac_c_werror_flag" ||
35283 test ! -s conftest.err
35284 } && test -s conftest.$ac_objext; then
35285 ac_cv_header_ddraw_h=yes
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.$ac_ext >&5
35290 ac_cv_header_ddraw_h=no
35293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35295 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35296 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35302 if test "$wxUSE_DETECT_SM" = "yes"; then
35303 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35304 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35305 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35308 for ac_dir in $SEARCH_LIB;
35310 for ac_extension in a so sl dylib dll.a; do
35311 if test -f "$ac_dir/libSM.$ac_extension"; then
35312 ac_find_libraries=$ac_dir
35318 if test "$ac_find_libraries" != "" ; then
35320 if test "$ac_find_libraries" = "default location"; then
35323 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35325 if test $result = 0; then
35328 ac_path_to_link=" -L$ac_find_libraries"
35332 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35333 LDFLAGS="$LDFLAGS $ac_path_to_link"
35335 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35336 { echo "$as_me:$LINENO: result: yes" >&5
35337 echo "${ECHO_T}yes" >&6; }
35339 { echo "$as_me:$LINENO: result: no" >&5
35340 echo "${ECHO_T}no" >&6; }
35341 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35342 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35343 wxUSE_DETECT_SM="no"
35346 wxUSE_DETECT_SM="no"
35353 if test "$wxUSE_OPENGL" = "yes"; then
35354 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35355 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35356 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35358 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35359 OPENGL_LIBS="-framework OpenGL -framework AGL"
35360 elif test "$wxUSE_MSW" = 1; then
35361 OPENGL_LIBS="-lopengl32 -lglu32"
35363 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35364 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35367 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35369 if test -f "$ac_dir/GL/gl.h"; then
35370 ac_find_includes=$ac_dir
35375 if test "$ac_find_includes" != "" ; then
35376 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35377 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35379 if test "x$ac_find_includes" = "x/usr/include"; then
35380 ac_path_to_include=""
35382 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35384 if test $result = 0; then
35385 ac_path_to_include=""
35387 ac_path_to_include=" -I$ac_find_includes"
35391 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35393 { echo "$as_me:$LINENO: result: not found" >&5
35394 echo "${ECHO_T}not found" >&6; }
35397 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35398 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35399 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35402 cat >conftest.$ac_ext <<_ACEOF
35405 cat confdefs.h >>conftest.$ac_ext
35406 cat >>conftest.$ac_ext <<_ACEOF
35407 /* end confdefs.h. */
35412 rm -f conftest.$ac_objext
35413 if { (ac_try="$ac_compile"
35414 case "(($ac_try" in
35415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35416 *) ac_try_echo=$ac_try;;
35418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35419 (eval "$ac_compile") 2>conftest.er1
35421 grep -v '^ *+' conftest.er1 >conftest.err
35423 cat conftest.err >&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); } && {
35426 test -z "$ac_c_werror_flag" ||
35427 test ! -s conftest.err
35428 } && test -s conftest.$ac_objext; then
35429 ac_cv_header_GL_gl_h=yes
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35434 ac_cv_header_GL_gl_h=no
35437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35439 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35440 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35441 if test $ac_cv_header_GL_gl_h = yes; then
35443 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35444 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35445 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35446 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35447 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35450 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35452 # Is the header compilable?
35453 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35454 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35455 cat >conftest.$ac_ext <<_ACEOF
35458 cat confdefs.h >>conftest.$ac_ext
35459 cat >>conftest.$ac_ext <<_ACEOF
35460 /* end confdefs.h. */
35461 $ac_includes_default
35462 #include <GL/glu.h>
35464 rm -f conftest.$ac_objext
35465 if { (ac_try="$ac_compile"
35466 case "(($ac_try" in
35467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35468 *) ac_try_echo=$ac_try;;
35470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35471 (eval "$ac_compile") 2>conftest.er1
35473 grep -v '^ *+' conftest.er1 >conftest.err
35475 cat conftest.err >&5
35476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35477 (exit $ac_status); } && {
35478 test -z "$ac_c_werror_flag" ||
35479 test ! -s conftest.err
35480 } && test -s conftest.$ac_objext; then
35481 ac_header_compiler=yes
35483 echo "$as_me: failed program was:" >&5
35484 sed 's/^/| /' conftest.$ac_ext >&5
35486 ac_header_compiler=no
35489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35490 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35491 echo "${ECHO_T}$ac_header_compiler" >&6; }
35493 # Is the header present?
35494 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35495 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35496 cat >conftest.$ac_ext <<_ACEOF
35499 cat confdefs.h >>conftest.$ac_ext
35500 cat >>conftest.$ac_ext <<_ACEOF
35501 /* end confdefs.h. */
35502 #include <GL/glu.h>
35504 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
35517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35518 test ! -s conftest.err
35520 ac_header_preproc=yes
35522 echo "$as_me: failed program was:" >&5
35523 sed 's/^/| /' conftest.$ac_ext >&5
35525 ac_header_preproc=no
35528 rm -f conftest.err conftest.$ac_ext
35529 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35530 echo "${ECHO_T}$ac_header_preproc" >&6; }
35532 # So? What about this header?
35533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35535 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35536 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35537 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35538 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35539 ac_header_preproc=yes
35542 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35543 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35544 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35545 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35546 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35547 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35548 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35549 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35550 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35551 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35552 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35553 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35555 ## ----------------------------------------- ##
35556 ## Report this to wx-dev@lists.wxwidgets.org ##
35557 ## ----------------------------------------- ##
35559 ) | sed "s/^/$as_me: WARNING: /" >&2
35562 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35563 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35564 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35567 ac_cv_header_GL_glu_h=$ac_header_preproc
35569 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35570 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35573 if test $ac_cv_header_GL_glu_h = yes; then
35577 { echo "$as_me:$LINENO: checking for -lGL" >&5
35578 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35581 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35583 for ac_extension in a so sl dylib dll.a; do
35584 if test -f "$ac_dir/libGL.$ac_extension"; then
35585 ac_find_libraries=$ac_dir
35591 if test "$ac_find_libraries" != "" ; then
35592 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35593 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35596 if test "$ac_find_libraries" = "default location"; then
35599 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35601 if test $result = 0; then
35604 ac_path_to_link=" -L$ac_find_libraries"
35608 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35609 LDFLAGS_GL="$ac_path_to_link"
35612 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35613 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35616 for ac_dir in $SEARCH_LIB;
35618 for ac_extension in a so sl dylib dll.a; do
35619 if test -f "$ac_dir/libGLU.$ac_extension"; then
35620 ac_find_libraries=$ac_dir
35626 if test "$ac_find_libraries" != "" ; then
35628 if test "$ac_find_libraries" = "default location"; then
35631 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35633 if test $result = 0; then
35636 ac_path_to_link=" -L$ac_find_libraries"
35640 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35641 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35642 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35646 OPENGL_LIBS="-lGL -lGLU"
35647 { echo "$as_me:$LINENO: result: yes" >&5
35648 echo "${ECHO_T}yes" >&6; }
35650 { echo "$as_me:$LINENO: result: no" >&5
35651 echo "${ECHO_T}no" >&6; }
35654 { echo "$as_me:$LINENO: result: no" >&5
35655 echo "${ECHO_T}no" >&6; }
35658 if test "$found_gl" != 1; then
35659 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35660 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35663 for ac_dir in $SEARCH_LIB;
35665 for ac_extension in a so sl dylib dll.a; do
35666 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35667 ac_find_libraries=$ac_dir
35673 if test "$ac_find_libraries" != "" ; then
35675 if test "$ac_find_libraries" = "default location"; then
35678 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35680 if test $result = 0; then
35683 ac_path_to_link=" -L$ac_find_libraries"
35687 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35688 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35689 { echo "$as_me:$LINENO: result: yes" >&5
35690 echo "${ECHO_T}yes" >&6; }
35692 { echo "$as_me:$LINENO: result: no" >&5
35693 echo "${ECHO_T}no" >&6; }
35705 if test "x$OPENGL_LIBS" = "x"; then
35706 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35707 echo "$as_me: error: OpenGL libraries not available" >&2;}
35708 { (exit 1); exit 1; }; }
35712 if test "$wxUSE_OPENGL" = "yes"; then
35714 cat >>confdefs.h <<\_ACEOF
35715 #define wxUSE_OPENGL 1
35718 cat >>confdefs.h <<\_ACEOF
35719 #define wxUSE_GLCANVAS 1
35722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35727 if test -n "$TOOLKIT" ; then
35728 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35733 if test "$wxUSE_SHARED" = "yes"; then
35737 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35738 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35743 if test "$wxUSE_SHARED" = "yes"; then
35747 *-*-cygwin* | *-*-mingw* )
35748 wx_cv_version_script=no
35752 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35753 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35754 if test "${wx_cv_version_script+set}" = set; then
35755 echo $ECHO_N "(cached) $ECHO_C" >&6
35758 echo "VER_1 { *; };" >conftest.sym
35759 echo "int main() { return 0; }" >conftest.cpp
35762 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35763 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; } ; then
35769 if test -s conftest.stderr ; then
35770 wx_cv_version_script=no
35772 wx_cv_version_script=yes
35775 wx_cv_version_script=no
35778 if test $wx_cv_version_script = yes
35780 echo "struct B { virtual ~B() { } }; \
35781 struct D : public B { }; \
35782 void F() { D d; }" > conftest.cpp
35785 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35786 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35788 (eval $ac_try) 2>&5
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); }; } &&
35793 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35794 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; }
35802 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35803 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35805 (eval $ac_try) 2>&5
35807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35808 (exit $ac_status); }; }
35810 wx_cv_version_script=yes
35812 wx_cv_version_script=no
35817 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35818 rm -f conftest1.output conftest2.output conftest3.output
35821 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35822 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35824 if test $wx_cv_version_script = yes ; then
35825 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35831 if test "$wxUSE_VISIBILITY" != "no"; then
35834 if test -n "$GCC"; then
35835 CFLAGS_VISIBILITY="-fvisibility=hidden"
35836 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35837 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35838 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35839 if test "${wx_cv_cc_visibility+set}" = set; then
35840 echo $ECHO_N "(cached) $ECHO_C" >&6
35843 wx_save_CXXFLAGS="$CXXFLAGS"
35844 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35846 ac_cpp='$CXXCPP $CPPFLAGS'
35847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35851 cat >conftest.$ac_ext <<_ACEOF
35854 cat confdefs.h >>conftest.$ac_ext
35855 cat >>conftest.$ac_ext <<_ACEOF
35856 /* end confdefs.h. */
35858 /* we need gcc >= 4.0, older versions with visibility support
35859 didn't have class visibility: */
35860 #if defined(__GNUC__) && __GNUC__ < 4
35861 error this gcc is too old;
35864 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35865 extern __attribute__((__visibility__("default"))) int exportedvar;
35866 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35867 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35868 class __attribute__((__visibility__("default"))) Foo {
35880 rm -f conftest.$ac_objext
35881 if { (ac_try="$ac_compile"
35882 case "(($ac_try" in
35883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35884 *) ac_try_echo=$ac_try;;
35886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35887 (eval "$ac_compile") 2>conftest.er1
35889 grep -v '^ *+' conftest.er1 >conftest.err
35891 cat conftest.err >&5
35892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35893 (exit $ac_status); } && {
35894 test -z "$ac_cxx_werror_flag" ||
35895 test ! -s conftest.err
35896 } && test -s conftest.$ac_objext; then
35897 wx_cv_cc_visibility=yes
35899 echo "$as_me: failed program was:" >&5
35900 sed 's/^/| /' conftest.$ac_ext >&5
35902 wx_cv_cc_visibility=no
35905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35907 ac_cpp='$CPP $CPPFLAGS'
35908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35912 CXXFLAGS="$wx_save_CXXFLAGS"
35915 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35916 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35917 if test $wx_cv_cc_visibility = yes; then
35918 cat >>confdefs.h <<\_ACEOF
35919 #define HAVE_VISIBILITY 1
35923 CFLAGS_VISIBILITY=""
35924 CXXFLAGS_VISIBILITY=""
35932 if test "x$SUNCXX" = xyes; then
35933 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35934 WXCONFIG_RPATH="-R\$libdir"
35937 *-*-linux* | *-*-gnu* )
35938 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35939 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35944 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35946 saveLdflags="$LDFLAGS"
35947 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35948 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35949 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35950 cat >conftest.$ac_ext <<_ACEOF
35953 cat confdefs.h >>conftest.$ac_ext
35954 cat >>conftest.$ac_ext <<_ACEOF
35955 /* end confdefs.h. */
35965 rm -f conftest.$ac_objext conftest$ac_exeext
35966 if { (ac_try="$ac_link"
35967 case "(($ac_try" in
35968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35969 *) ac_try_echo=$ac_try;;
35971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35972 (eval "$ac_link") 2>conftest.er1
35974 grep -v '^ *+' conftest.er1 >conftest.err
35976 cat conftest.err >&5
35977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); } && {
35979 test -z "$ac_c_werror_flag" ||
35980 test ! -s conftest.err
35981 } && test -s conftest$ac_exeext &&
35982 $as_test_x conftest$ac_exeext; then
35984 { echo "$as_me:$LINENO: result: yes" >&5
35985 echo "${ECHO_T}yes" >&6; }
35986 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35987 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.$ac_ext >&5
35994 { echo "$as_me:$LINENO: result: no" >&5
35995 echo "${ECHO_T}no" >&6; }
35996 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35997 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35998 LDFLAGS="$saveLdflags -Wl,-R,/"
35999 cat >conftest.$ac_ext <<_ACEOF
36002 cat confdefs.h >>conftest.$ac_ext
36003 cat >>conftest.$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36014 rm -f conftest.$ac_objext conftest$ac_exeext
36015 if { (ac_try="$ac_link"
36016 case "(($ac_try" in
36017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36018 *) ac_try_echo=$ac_try;;
36020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36021 (eval "$ac_link") 2>conftest.er1
36023 grep -v '^ *+' conftest.er1 >conftest.err
36025 cat conftest.err >&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); } && {
36028 test -z "$ac_c_werror_flag" ||
36029 test ! -s conftest.err
36030 } && test -s conftest$ac_exeext &&
36031 $as_test_x conftest$ac_exeext; then
36033 { echo "$as_me:$LINENO: result: yes" >&5
36034 echo "${ECHO_T}yes" >&6; }
36035 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36036 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36039 echo "$as_me: failed program was:" >&5
36040 sed 's/^/| /' conftest.$ac_ext >&5
36043 { echo "$as_me:$LINENO: result: no" >&5
36044 echo "${ECHO_T}no" >&6; }
36048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36049 conftest$ac_exeext conftest.$ac_ext
36053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36054 conftest$ac_exeext conftest.$ac_ext
36055 LDFLAGS="$saveLdflags"
36059 install_name_tool=`which install_name_tool`
36060 if test "$install_name_tool" -a -x "$install_name_tool"; then
36061 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36062 cat <<EOF >change-install-names
36064 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36065 inst_cmd="install_name_tool "
36066 for i in \${libnames} ; do
36067 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36071 chmod +x change-install-names
36075 *-*-cygwin* | *-*-mingw32* )
36076 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36080 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36081 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36087 if test $wxUSE_RPATH = "no"; then
36088 SAMPLES_RPATH_FLAG=''
36089 SAMPLES_RPATH_POSTLINK=''
36097 config_linkage_component="-static"
36104 lib_unicode_suffix=
36106 if test "$wxUSE_UNICODE" = "yes"; then
36107 lib_unicode_suffix=u
36108 WX_CHARTYPE="unicode"
36113 WX_DEBUGTYPE="release"
36115 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36117 WX_DEBUGTYPE="debug"
36121 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36122 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36125 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36129 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36131 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36133 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36135 if test "$cross_compiling" = "yes"; then
36136 HOST_SUFFIX="-$host_alias"
36137 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36138 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36141 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36142 if test "${TOOLKIT_DIR}" = "os2"; then
36143 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36145 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36150 if test "$wxUSE_COCOA" = 1; then
36153 ac_cpp='$CPP $CPPFLAGS'
36154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36160 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36161 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36162 cat >conftest.$ac_ext <<_ACEOF
36165 cat confdefs.h >>conftest.$ac_ext
36166 cat >>conftest.$ac_ext <<_ACEOF
36167 /* end confdefs.h. */
36168 #include <AppKit/NSEvent.h>
36169 #include <CoreFoundation/CoreFoundation.h>
36179 rm -f conftest.$ac_objext
36180 if { (ac_try="$ac_compile"
36181 case "(($ac_try" in
36182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36183 *) ac_try_echo=$ac_try;;
36185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36186 (eval "$ac_compile") 2>conftest.er1
36188 grep -v '^ *+' conftest.er1 >conftest.err
36190 cat conftest.err >&5
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); } && {
36193 test -z "$ac_c_werror_flag" ||
36194 test ! -s conftest.err
36195 } && test -s conftest.$ac_objext; then
36196 { echo "$as_me:$LINENO: result: no" >&5
36197 echo "${ECHO_T}no" >&6; }
36199 echo "$as_me: failed program was:" >&5
36200 sed 's/^/| /' conftest.$ac_ext >&5
36202 { echo "$as_me:$LINENO: result: yes" >&5
36203 echo "${ECHO_T}yes" >&6; }
36204 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36205 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36206 cat >conftest.$ac_ext <<_ACEOF
36209 cat confdefs.h >>conftest.$ac_ext
36210 cat >>conftest.$ac_ext <<_ACEOF
36211 /* end confdefs.h. */
36212 #define __Point__ 1
36213 #include <AppKit/NSEvent.h>
36214 #include <CoreFoundation/CoreFoundation.h>
36224 rm -f conftest.$ac_objext
36225 if { (ac_try="$ac_compile"
36226 case "(($ac_try" in
36227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36228 *) ac_try_echo=$ac_try;;
36230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36231 (eval "$ac_compile") 2>conftest.er1
36233 grep -v '^ *+' conftest.er1 >conftest.err
36235 cat conftest.err >&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); } && {
36238 test -z "$ac_c_werror_flag" ||
36239 test ! -s conftest.err
36240 } && test -s conftest.$ac_objext; then
36241 { echo "$as_me:$LINENO: result: yes" >&5
36242 echo "${ECHO_T}yes" >&6; }
36243 cat >>confdefs.h <<\_ACEOF
36244 #define __Point__ 1
36249 echo "$as_me: failed program was:" >&5
36250 sed 's/^/| /' conftest.$ac_ext >&5
36252 { { echo "$as_me:$LINENO: error: no
36253 See \`config.log' for more details." >&5
36254 echo "$as_me: error: no
36255 See \`config.log' for more details." >&2;}
36256 { (exit 1); exit 1; }; }
36260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36266 ac_cpp='$CPP $CPPFLAGS'
36267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36273 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36274 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36275 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36277 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36279 # Extract the first word of "Rez", so it can be a program name with args.
36280 set dummy Rez; ac_word=$2
36281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36283 if test "${ac_cv_prog_REZ+set}" = set; then
36284 echo $ECHO_N "(cached) $ECHO_C" >&6
36286 if test -n "$REZ"; then
36287 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36290 for as_dir in $PATH
36293 test -z "$as_dir" && as_dir=.
36294 for ac_exec_ext in '' $ac_executable_extensions; do
36295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36296 ac_cv_prog_REZ="Rez"
36297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36304 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36307 REZ=$ac_cv_prog_REZ
36308 if test -n "$REZ"; then
36309 { echo "$as_me:$LINENO: result: $REZ" >&5
36310 echo "${ECHO_T}$REZ" >&6; }
36312 { echo "$as_me:$LINENO: result: no" >&5
36313 echo "${ECHO_T}no" >&6; }
36317 # Extract the first word of "DeRez", so it can be a program name with args.
36318 set dummy DeRez; ac_word=$2
36319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36321 if test "${ac_cv_prog_DEREZ+set}" = set; then
36322 echo $ECHO_N "(cached) $ECHO_C" >&6
36324 if test -n "$DEREZ"; then
36325 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36328 for as_dir in $PATH
36331 test -z "$as_dir" && as_dir=.
36332 for ac_exec_ext in '' $ac_executable_extensions; do
36333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36334 ac_cv_prog_DEREZ="DeRez"
36335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36342 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36345 DEREZ=$ac_cv_prog_DEREZ
36346 if test -n "$DEREZ"; then
36347 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36348 echo "${ECHO_T}$DEREZ" >&6; }
36350 { echo "$as_me:$LINENO: result: no" >&5
36351 echo "${ECHO_T}no" >&6; }
36355 # Extract the first word of "SetFile", so it can be a program name with args.
36356 set dummy SetFile; ac_word=$2
36357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36359 if test "${ac_cv_prog_SETFILE+set}" = set; then
36360 echo $ECHO_N "(cached) $ECHO_C" >&6
36362 if test -n "$SETFILE"; then
36363 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36366 for as_dir in $PATH
36369 test -z "$as_dir" && as_dir=.
36370 for ac_exec_ext in '' $ac_executable_extensions; do
36371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36372 ac_cv_prog_SETFILE="SetFile"
36373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36380 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36383 SETFILE=$ac_cv_prog_SETFILE
36384 if test -n "$SETFILE"; then
36385 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36386 echo "${ECHO_T}$SETFILE" >&6; }
36388 { echo "$as_me:$LINENO: result: no" >&5
36389 echo "${ECHO_T}no" >&6; }
36394 MACSETFILE="\$(SETFILE)"
36396 if test "$wxUSE_MAC" = 1; then
36397 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36399 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36401 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36402 RESCOMP="echo -n \| $REZ"
36403 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36409 if test "$wxUSE_PM" = 1; then
36411 WXCONFIG_RESFLAGS="-ep"
36413 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36415 POSTLINK_COMMAND="@true"
36422 { echo "$as_me:$LINENO: checking for mode_t" >&5
36423 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36424 if test "${ac_cv_type_mode_t+set}" = set; then
36425 echo $ECHO_N "(cached) $ECHO_C" >&6
36427 cat >conftest.$ac_ext <<_ACEOF
36430 cat confdefs.h >>conftest.$ac_ext
36431 cat >>conftest.$ac_ext <<_ACEOF
36432 /* end confdefs.h. */
36433 $ac_includes_default
36434 typedef mode_t ac__type_new_;
36438 if ((ac__type_new_ *) 0)
36440 if (sizeof (ac__type_new_))
36446 rm -f conftest.$ac_objext
36447 if { (ac_try="$ac_compile"
36448 case "(($ac_try" in
36449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36450 *) ac_try_echo=$ac_try;;
36452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36453 (eval "$ac_compile") 2>conftest.er1
36455 grep -v '^ *+' conftest.er1 >conftest.err
36457 cat conftest.err >&5
36458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36459 (exit $ac_status); } && {
36460 test -z "$ac_c_werror_flag" ||
36461 test ! -s conftest.err
36462 } && test -s conftest.$ac_objext; then
36463 ac_cv_type_mode_t=yes
36465 echo "$as_me: failed program was:" >&5
36466 sed 's/^/| /' conftest.$ac_ext >&5
36468 ac_cv_type_mode_t=no
36471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36473 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36474 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36475 if test $ac_cv_type_mode_t = yes; then
36479 cat >>confdefs.h <<_ACEOF
36485 { echo "$as_me:$LINENO: checking for off_t" >&5
36486 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36487 if test "${ac_cv_type_off_t+set}" = set; then
36488 echo $ECHO_N "(cached) $ECHO_C" >&6
36490 cat >conftest.$ac_ext <<_ACEOF
36493 cat confdefs.h >>conftest.$ac_ext
36494 cat >>conftest.$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36496 $ac_includes_default
36497 typedef off_t ac__type_new_;
36501 if ((ac__type_new_ *) 0)
36503 if (sizeof (ac__type_new_))
36509 rm -f conftest.$ac_objext
36510 if { (ac_try="$ac_compile"
36511 case "(($ac_try" in
36512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36513 *) ac_try_echo=$ac_try;;
36515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36516 (eval "$ac_compile") 2>conftest.er1
36518 grep -v '^ *+' conftest.er1 >conftest.err
36520 cat conftest.err >&5
36521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36522 (exit $ac_status); } && {
36523 test -z "$ac_c_werror_flag" ||
36524 test ! -s conftest.err
36525 } && test -s conftest.$ac_objext; then
36526 ac_cv_type_off_t=yes
36528 echo "$as_me: failed program was:" >&5
36529 sed 's/^/| /' conftest.$ac_ext >&5
36531 ac_cv_type_off_t=no
36534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36536 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36537 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36538 if test $ac_cv_type_off_t = yes; then
36542 cat >>confdefs.h <<_ACEOF
36543 #define off_t long int
36548 { echo "$as_me:$LINENO: checking for pid_t" >&5
36549 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36550 if test "${ac_cv_type_pid_t+set}" = set; then
36551 echo $ECHO_N "(cached) $ECHO_C" >&6
36553 cat >conftest.$ac_ext <<_ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559 $ac_includes_default
36560 typedef pid_t ac__type_new_;
36564 if ((ac__type_new_ *) 0)
36566 if (sizeof (ac__type_new_))
36572 rm -f conftest.$ac_objext
36573 if { (ac_try="$ac_compile"
36574 case "(($ac_try" in
36575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36576 *) ac_try_echo=$ac_try;;
36578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36579 (eval "$ac_compile") 2>conftest.er1
36581 grep -v '^ *+' conftest.er1 >conftest.err
36583 cat conftest.err >&5
36584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585 (exit $ac_status); } && {
36586 test -z "$ac_c_werror_flag" ||
36587 test ! -s conftest.err
36588 } && test -s conftest.$ac_objext; then
36589 ac_cv_type_pid_t=yes
36591 echo "$as_me: failed program was:" >&5
36592 sed 's/^/| /' conftest.$ac_ext >&5
36594 ac_cv_type_pid_t=no
36597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36599 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36600 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36601 if test $ac_cv_type_pid_t = yes; then
36605 cat >>confdefs.h <<_ACEOF
36611 { echo "$as_me:$LINENO: checking for size_t" >&5
36612 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36613 if test "${ac_cv_type_size_t+set}" = set; then
36614 echo $ECHO_N "(cached) $ECHO_C" >&6
36616 cat >conftest.$ac_ext <<_ACEOF
36619 cat confdefs.h >>conftest.$ac_ext
36620 cat >>conftest.$ac_ext <<_ACEOF
36621 /* end confdefs.h. */
36622 $ac_includes_default
36623 typedef size_t ac__type_new_;
36627 if ((ac__type_new_ *) 0)
36629 if (sizeof (ac__type_new_))
36635 rm -f conftest.$ac_objext
36636 if { (ac_try="$ac_compile"
36637 case "(($ac_try" in
36638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36639 *) ac_try_echo=$ac_try;;
36641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36642 (eval "$ac_compile") 2>conftest.er1
36644 grep -v '^ *+' conftest.er1 >conftest.err
36646 cat conftest.err >&5
36647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648 (exit $ac_status); } && {
36649 test -z "$ac_c_werror_flag" ||
36650 test ! -s conftest.err
36651 } && test -s conftest.$ac_objext; then
36652 ac_cv_type_size_t=yes
36654 echo "$as_me: failed program was:" >&5
36655 sed 's/^/| /' conftest.$ac_ext >&5
36657 ac_cv_type_size_t=no
36660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36662 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36663 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36664 if test $ac_cv_type_size_t = yes; then
36668 cat >>confdefs.h <<_ACEOF
36669 #define size_t unsigned int
36674 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36675 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36676 if test "${ac_cv_type_uid_t+set}" = set; then
36677 echo $ECHO_N "(cached) $ECHO_C" >&6
36679 cat >conftest.$ac_ext <<_ACEOF
36682 cat confdefs.h >>conftest.$ac_ext
36683 cat >>conftest.$ac_ext <<_ACEOF
36684 /* end confdefs.h. */
36685 #include <sys/types.h>
36688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36689 $EGREP "uid_t" >/dev/null 2>&1; then
36690 ac_cv_type_uid_t=yes
36692 ac_cv_type_uid_t=no
36697 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36698 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36699 if test $ac_cv_type_uid_t = no; then
36701 cat >>confdefs.h <<\_ACEOF
36706 cat >>confdefs.h <<\_ACEOF
36713 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36714 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36715 if test "${ac_cv_type_ssize_t+set}" = set; then
36716 echo $ECHO_N "(cached) $ECHO_C" >&6
36718 cat >conftest.$ac_ext <<_ACEOF
36721 cat confdefs.h >>conftest.$ac_ext
36722 cat >>conftest.$ac_ext <<_ACEOF
36723 /* end confdefs.h. */
36724 $ac_includes_default
36725 typedef ssize_t ac__type_new_;
36729 if ((ac__type_new_ *) 0)
36731 if (sizeof (ac__type_new_))
36737 rm -f conftest.$ac_objext
36738 if { (ac_try="$ac_compile"
36739 case "(($ac_try" in
36740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36741 *) ac_try_echo=$ac_try;;
36743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36744 (eval "$ac_compile") 2>conftest.er1
36746 grep -v '^ *+' conftest.er1 >conftest.err
36748 cat conftest.err >&5
36749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750 (exit $ac_status); } && {
36751 test -z "$ac_c_werror_flag" ||
36752 test ! -s conftest.err
36753 } && test -s conftest.$ac_objext; then
36754 ac_cv_type_ssize_t=yes
36756 echo "$as_me: failed program was:" >&5
36757 sed 's/^/| /' conftest.$ac_ext >&5
36759 ac_cv_type_ssize_t=no
36762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36764 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36765 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36766 if test $ac_cv_type_ssize_t = yes; then
36768 cat >>confdefs.h <<_ACEOF
36769 #define HAVE_SSIZE_T 1
36777 ac_cpp='$CXXCPP $CPPFLAGS'
36778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36781 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36782 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36783 if test "${wx_cv_size_t_is_uint+set}" = set; then
36784 echo $ECHO_N "(cached) $ECHO_C" >&6
36787 cat >conftest.$ac_ext <<_ACEOF
36790 cat confdefs.h >>conftest.$ac_ext
36791 cat >>conftest.$ac_ext <<_ACEOF
36792 /* end confdefs.h. */
36793 #include <stddef.h>
36800 struct Foo { void foo(size_t); void foo(unsigned int); };
36808 rm -f conftest.$ac_objext
36809 if { (ac_try="$ac_compile"
36810 case "(($ac_try" in
36811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36812 *) ac_try_echo=$ac_try;;
36814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36815 (eval "$ac_compile") 2>conftest.er1
36817 grep -v '^ *+' conftest.er1 >conftest.err
36819 cat conftest.err >&5
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); } && {
36822 test -z "$ac_cxx_werror_flag" ||
36823 test ! -s conftest.err
36824 } && test -s conftest.$ac_objext; then
36825 wx_cv_size_t_is_uint=no
36827 echo "$as_me: failed program was:" >&5
36828 sed 's/^/| /' conftest.$ac_ext >&5
36830 wx_cv_size_t_is_uint=yes
36834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36838 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36839 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36841 if test "$wx_cv_size_t_is_uint" = "yes"; then
36842 cat >>confdefs.h <<\_ACEOF
36843 #define wxSIZE_T_IS_UINT 1
36847 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36848 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36849 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36850 echo $ECHO_N "(cached) $ECHO_C" >&6
36852 cat >conftest.$ac_ext <<_ACEOF
36855 cat confdefs.h >>conftest.$ac_ext
36856 cat >>conftest.$ac_ext <<_ACEOF
36857 /* end confdefs.h. */
36858 #include <stddef.h>
36865 struct Foo { void foo(size_t); void foo(unsigned long); };
36873 rm -f conftest.$ac_objext
36874 if { (ac_try="$ac_compile"
36875 case "(($ac_try" in
36876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36877 *) ac_try_echo=$ac_try;;
36879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36880 (eval "$ac_compile") 2>conftest.er1
36882 grep -v '^ *+' conftest.er1 >conftest.err
36884 cat conftest.err >&5
36885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36886 (exit $ac_status); } && {
36887 test -z "$ac_cxx_werror_flag" ||
36888 test ! -s conftest.err
36889 } && test -s conftest.$ac_objext; then
36890 wx_cv_size_t_is_ulong=no
36892 echo "$as_me: failed program was:" >&5
36893 sed 's/^/| /' conftest.$ac_ext >&5
36895 wx_cv_size_t_is_ulong=yes
36899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36902 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36903 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36905 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36906 cat >>confdefs.h <<\_ACEOF
36907 #define wxSIZE_T_IS_ULONG 1
36913 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36914 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36915 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36916 echo $ECHO_N "(cached) $ECHO_C" >&6
36918 cat >conftest.$ac_ext <<_ACEOF
36921 cat confdefs.h >>conftest.$ac_ext
36922 cat >>conftest.$ac_ext <<_ACEOF
36923 /* end confdefs.h. */
36931 struct Foo { void foo(wchar_t);
36932 void foo(unsigned short);
36933 void foo(unsigned int);
36934 void foo(unsigned long); };
36942 rm -f conftest.$ac_objext
36943 if { (ac_try="$ac_compile"
36944 case "(($ac_try" in
36945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36946 *) ac_try_echo=$ac_try;;
36948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36949 (eval "$ac_compile") 2>conftest.er1
36951 grep -v '^ *+' conftest.er1 >conftest.err
36953 cat conftest.err >&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); } && {
36956 test -z "$ac_cxx_werror_flag" ||
36957 test ! -s conftest.err
36958 } && test -s conftest.$ac_objext; then
36959 wx_cv_wchar_t_is_separate_type=yes
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36964 wx_cv_wchar_t_is_separate_type=no
36968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36971 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36972 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36974 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36975 cat >>confdefs.h <<\_ACEOF
36976 #define wxWCHAR_T_IS_REAL_TYPE 1
36980 cat >>confdefs.h <<\_ACEOF
36981 #define wxWCHAR_T_IS_REAL_TYPE 0
36987 ac_cpp='$CPP $CPPFLAGS'
36988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36993 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36994 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36995 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36996 echo $ECHO_N "(cached) $ECHO_C" >&6
36999 cat >conftest.$ac_ext <<_ACEOF
37002 cat confdefs.h >>conftest.$ac_ext
37003 cat >>conftest.$ac_ext <<_ACEOF
37004 /* end confdefs.h. */
37018 rm -f conftest.$ac_objext
37019 if { (ac_try="$ac_compile"
37020 case "(($ac_try" in
37021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37022 *) ac_try_echo=$ac_try;;
37024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37025 (eval "$ac_compile") 2>conftest.er1
37027 grep -v '^ *+' conftest.er1 >conftest.err
37029 cat conftest.err >&5
37030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37031 (exit $ac_status); } && {
37032 test -z "$ac_c_werror_flag" ||
37033 test ! -s conftest.err
37034 } && test -s conftest.$ac_objext; then
37036 wx_cv_struct_pw_gecos=yes
37039 echo "$as_me: failed program was:" >&5
37040 sed 's/^/| /' conftest.$ac_ext >&5
37043 wx_cv_struct_pw_gecos=no
37048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37052 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37053 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37055 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37056 cat >>confdefs.h <<\_ACEOF
37057 #define HAVE_PW_GECOS 1
37063 if test "$wxUSE_WCHAR_T" = "yes"; then
37064 cat >>confdefs.h <<\_ACEOF
37065 #define wxUSE_WCHAR_T 1
37072 for ac_func in wcslen
37074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37075 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37077 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37078 echo $ECHO_N "(cached) $ECHO_C" >&6
37080 cat >conftest.$ac_ext <<_ACEOF
37083 cat confdefs.h >>conftest.$ac_ext
37084 cat >>conftest.$ac_ext <<_ACEOF
37085 /* end confdefs.h. */
37086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37088 #define $ac_func innocuous_$ac_func
37090 /* System header to define __stub macros and hopefully few prototypes,
37091 which can conflict with char $ac_func (); below.
37092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37093 <limits.h> exists even on freestanding compilers. */
37096 # include <limits.h>
37098 # include <assert.h>
37103 /* Override any GCC internal prototype to avoid an error.
37104 Use char because int might match the return type of a GCC
37105 builtin and then its argument prototype would still apply. */
37110 /* The GNU C library defines this for functions which it implements
37111 to always fail with ENOSYS. Some functions are actually named
37112 something starting with __ and the normal name is an alias. */
37113 #if defined __stub_$ac_func || defined __stub___$ac_func
37120 return $ac_func ();
37125 rm -f conftest.$ac_objext conftest$ac_exeext
37126 if { (ac_try="$ac_link"
37127 case "(($ac_try" in
37128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37129 *) ac_try_echo=$ac_try;;
37131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37132 (eval "$ac_link") 2>conftest.er1
37134 grep -v '^ *+' conftest.er1 >conftest.err
37136 cat conftest.err >&5
37137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37138 (exit $ac_status); } && {
37139 test -z "$ac_c_werror_flag" ||
37140 test ! -s conftest.err
37141 } && test -s conftest$ac_exeext &&
37142 $as_test_x conftest$ac_exeext; then
37143 eval "$as_ac_var=yes"
37145 echo "$as_me: failed program was:" >&5
37146 sed 's/^/| /' conftest.$ac_ext >&5
37148 eval "$as_ac_var=no"
37151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37152 conftest$ac_exeext conftest.$ac_ext
37154 ac_res=`eval echo '${'$as_ac_var'}'`
37155 { echo "$as_me:$LINENO: result: $ac_res" >&5
37156 echo "${ECHO_T}$ac_res" >&6; }
37157 if test `eval echo '${'$as_ac_var'}'` = yes; then
37158 cat >>confdefs.h <<_ACEOF
37159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37166 if test "$WCSLEN_FOUND" = 0; then
37167 if test "$TOOLKIT" = "MSW"; then
37168 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37169 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37170 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37171 echo $ECHO_N "(cached) $ECHO_C" >&6
37173 ac_check_lib_save_LIBS=$LIBS
37174 LIBS="-lmsvcrt $LIBS"
37175 cat >conftest.$ac_ext <<_ACEOF
37178 cat confdefs.h >>conftest.$ac_ext
37179 cat >>conftest.$ac_ext <<_ACEOF
37180 /* end confdefs.h. */
37182 /* Override any GCC internal prototype to avoid an error.
37183 Use char because int might match the return type of a GCC
37184 builtin and then its argument prototype would still apply. */
37197 rm -f conftest.$ac_objext conftest$ac_exeext
37198 if { (ac_try="$ac_link"
37199 case "(($ac_try" in
37200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37201 *) ac_try_echo=$ac_try;;
37203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37204 (eval "$ac_link") 2>conftest.er1
37206 grep -v '^ *+' conftest.er1 >conftest.err
37208 cat conftest.err >&5
37209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 (exit $ac_status); } && {
37211 test -z "$ac_c_werror_flag" ||
37212 test ! -s conftest.err
37213 } && test -s conftest$ac_exeext &&
37214 $as_test_x conftest$ac_exeext; then
37215 ac_cv_lib_msvcrt_wcslen=yes
37217 echo "$as_me: failed program was:" >&5
37218 sed 's/^/| /' conftest.$ac_ext >&5
37220 ac_cv_lib_msvcrt_wcslen=no
37223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37224 conftest$ac_exeext conftest.$ac_ext
37225 LIBS=$ac_check_lib_save_LIBS
37227 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37228 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37229 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37234 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37235 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37236 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37237 echo $ECHO_N "(cached) $ECHO_C" >&6
37239 ac_check_lib_save_LIBS=$LIBS
37241 cat >conftest.$ac_ext <<_ACEOF
37244 cat confdefs.h >>conftest.$ac_ext
37245 cat >>conftest.$ac_ext <<_ACEOF
37246 /* end confdefs.h. */
37248 /* Override any GCC internal prototype to avoid an error.
37249 Use char because int might match the return type of a GCC
37250 builtin and then its argument prototype would still apply. */
37263 rm -f conftest.$ac_objext conftest$ac_exeext
37264 if { (ac_try="$ac_link"
37265 case "(($ac_try" in
37266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37267 *) ac_try_echo=$ac_try;;
37269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37270 (eval "$ac_link") 2>conftest.er1
37272 grep -v '^ *+' conftest.er1 >conftest.err
37274 cat conftest.err >&5
37275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37276 (exit $ac_status); } && {
37277 test -z "$ac_c_werror_flag" ||
37278 test ! -s conftest.err
37279 } && test -s conftest$ac_exeext &&
37280 $as_test_x conftest$ac_exeext; then
37281 ac_cv_lib_w_wcslen=yes
37283 echo "$as_me: failed program was:" >&5
37284 sed 's/^/| /' conftest.$ac_ext >&5
37286 ac_cv_lib_w_wcslen=no
37289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37290 conftest$ac_exeext conftest.$ac_ext
37291 LIBS=$ac_check_lib_save_LIBS
37293 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37294 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37295 if test $ac_cv_lib_w_wcslen = yes; then
37305 if test "$WCSLEN_FOUND" = 1; then
37306 cat >>confdefs.h <<\_ACEOF
37307 #define HAVE_WCSLEN 1
37313 for ac_func in wcsdup
37315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37319 echo $ECHO_N "(cached) $ECHO_C" >&6
37321 cat >conftest.$ac_ext <<_ACEOF
37324 cat confdefs.h >>conftest.$ac_ext
37325 cat >>conftest.$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37329 #define $ac_func innocuous_$ac_func
37331 /* System header to define __stub macros and hopefully few prototypes,
37332 which can conflict with char $ac_func (); below.
37333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37334 <limits.h> exists even on freestanding compilers. */
37337 # include <limits.h>
37339 # include <assert.h>
37344 /* Override any GCC internal prototype to avoid an error.
37345 Use char because int might match the return type of a GCC
37346 builtin and then its argument prototype would still apply. */
37351 /* The GNU C library defines this for functions which it implements
37352 to always fail with ENOSYS. Some functions are actually named
37353 something starting with __ and the normal name is an alias. */
37354 #if defined __stub_$ac_func || defined __stub___$ac_func
37361 return $ac_func ();
37366 rm -f conftest.$ac_objext conftest$ac_exeext
37367 if { (ac_try="$ac_link"
37368 case "(($ac_try" in
37369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37370 *) ac_try_echo=$ac_try;;
37372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37373 (eval "$ac_link") 2>conftest.er1
37375 grep -v '^ *+' conftest.er1 >conftest.err
37377 cat conftest.err >&5
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); } && {
37380 test -z "$ac_c_werror_flag" ||
37381 test ! -s conftest.err
37382 } && test -s conftest$ac_exeext &&
37383 $as_test_x conftest$ac_exeext; then
37384 eval "$as_ac_var=yes"
37386 echo "$as_me: failed program was:" >&5
37387 sed 's/^/| /' conftest.$ac_ext >&5
37389 eval "$as_ac_var=no"
37392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37393 conftest$ac_exeext conftest.$ac_ext
37395 ac_res=`eval echo '${'$as_ac_var'}'`
37396 { echo "$as_me:$LINENO: result: $ac_res" >&5
37397 echo "${ECHO_T}$ac_res" >&6; }
37398 if test `eval echo '${'$as_ac_var'}'` = yes; then
37399 cat >>confdefs.h <<_ACEOF
37400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37407 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37408 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37411 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37412 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37413 if test "${ac_cv_type_mbstate_t+set}" = set; then
37414 echo $ECHO_N "(cached) $ECHO_C" >&6
37416 cat >conftest.$ac_ext <<_ACEOF
37419 cat confdefs.h >>conftest.$ac_ext
37420 cat >>conftest.$ac_ext <<_ACEOF
37421 /* end confdefs.h. */
37424 typedef mbstate_t ac__type_new_;
37428 if ((ac__type_new_ *) 0)
37430 if (sizeof (ac__type_new_))
37436 rm -f conftest.$ac_objext
37437 if { (ac_try="$ac_compile"
37438 case "(($ac_try" in
37439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37440 *) ac_try_echo=$ac_try;;
37442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37443 (eval "$ac_compile") 2>conftest.er1
37445 grep -v '^ *+' conftest.er1 >conftest.err
37447 cat conftest.err >&5
37448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37449 (exit $ac_status); } && {
37450 test -z "$ac_c_werror_flag" ||
37451 test ! -s conftest.err
37452 } && test -s conftest.$ac_objext; then
37453 ac_cv_type_mbstate_t=yes
37455 echo "$as_me: failed program was:" >&5
37456 sed 's/^/| /' conftest.$ac_ext >&5
37458 ac_cv_type_mbstate_t=no
37461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37463 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37464 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37465 if test $ac_cv_type_mbstate_t = yes; then
37467 cat >>confdefs.h <<_ACEOF
37468 #define HAVE_MBSTATE_T 1
37472 for ac_func in wcsrtombs
37474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37477 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37478 echo $ECHO_N "(cached) $ECHO_C" >&6
37480 cat >conftest.$ac_ext <<_ACEOF
37483 cat confdefs.h >>conftest.$ac_ext
37484 cat >>conftest.$ac_ext <<_ACEOF
37485 /* end confdefs.h. */
37486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37488 #define $ac_func innocuous_$ac_func
37490 /* System header to define __stub macros and hopefully few prototypes,
37491 which can conflict with char $ac_func (); below.
37492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37493 <limits.h> exists even on freestanding compilers. */
37496 # include <limits.h>
37498 # include <assert.h>
37503 /* Override any GCC internal prototype to avoid an error.
37504 Use char because int might match the return type of a GCC
37505 builtin and then its argument prototype would still apply. */
37510 /* The GNU C library defines this for functions which it implements
37511 to always fail with ENOSYS. Some functions are actually named
37512 something starting with __ and the normal name is an alias. */
37513 #if defined __stub_$ac_func || defined __stub___$ac_func
37520 return $ac_func ();
37525 rm -f conftest.$ac_objext conftest$ac_exeext
37526 if { (ac_try="$ac_link"
37527 case "(($ac_try" in
37528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37529 *) ac_try_echo=$ac_try;;
37531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37532 (eval "$ac_link") 2>conftest.er1
37534 grep -v '^ *+' conftest.er1 >conftest.err
37536 cat conftest.err >&5
37537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37538 (exit $ac_status); } && {
37539 test -z "$ac_c_werror_flag" ||
37540 test ! -s conftest.err
37541 } && test -s conftest$ac_exeext &&
37542 $as_test_x conftest$ac_exeext; then
37543 eval "$as_ac_var=yes"
37545 echo "$as_me: failed program was:" >&5
37546 sed 's/^/| /' conftest.$ac_ext >&5
37548 eval "$as_ac_var=no"
37551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37552 conftest$ac_exeext conftest.$ac_ext
37554 ac_res=`eval echo '${'$as_ac_var'}'`
37555 { echo "$as_me:$LINENO: result: $ac_res" >&5
37556 echo "${ECHO_T}$ac_res" >&6; }
37557 if test `eval echo '${'$as_ac_var'}'` = yes; then
37558 cat >>confdefs.h <<_ACEOF
37559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37568 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37569 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37574 for ac_func in snprintf vsnprintf
37576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37577 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37579 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37580 echo $ECHO_N "(cached) $ECHO_C" >&6
37582 cat >conftest.$ac_ext <<_ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
37588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37590 #define $ac_func innocuous_$ac_func
37592 /* System header to define __stub macros and hopefully few prototypes,
37593 which can conflict with char $ac_func (); below.
37594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37595 <limits.h> exists even on freestanding compilers. */
37598 # include <limits.h>
37600 # include <assert.h>
37605 /* Override any GCC internal prototype to avoid an error.
37606 Use char because int might match the return type of a GCC
37607 builtin and then its argument prototype would still apply. */
37612 /* The GNU C library defines this for functions which it implements
37613 to always fail with ENOSYS. Some functions are actually named
37614 something starting with __ and the normal name is an alias. */
37615 #if defined __stub_$ac_func || defined __stub___$ac_func
37622 return $ac_func ();
37627 rm -f conftest.$ac_objext conftest$ac_exeext
37628 if { (ac_try="$ac_link"
37629 case "(($ac_try" in
37630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37631 *) ac_try_echo=$ac_try;;
37633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37634 (eval "$ac_link") 2>conftest.er1
37636 grep -v '^ *+' conftest.er1 >conftest.err
37638 cat conftest.err >&5
37639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37640 (exit $ac_status); } && {
37641 test -z "$ac_c_werror_flag" ||
37642 test ! -s conftest.err
37643 } && test -s conftest$ac_exeext &&
37644 $as_test_x conftest$ac_exeext; then
37645 eval "$as_ac_var=yes"
37647 echo "$as_me: failed program was:" >&5
37648 sed 's/^/| /' conftest.$ac_ext >&5
37650 eval "$as_ac_var=no"
37653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37654 conftest$ac_exeext conftest.$ac_ext
37656 ac_res=`eval echo '${'$as_ac_var'}'`
37657 { echo "$as_me:$LINENO: result: $ac_res" >&5
37658 echo "${ECHO_T}$ac_res" >&6; }
37659 if test `eval echo '${'$as_ac_var'}'` = yes; then
37660 cat >>confdefs.h <<_ACEOF
37661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37668 if test "$ac_cv_func_vsnprintf" = "yes"; then
37669 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37670 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37671 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37672 echo $ECHO_N "(cached) $ECHO_C" >&6
37675 cat >conftest.$ac_ext <<_ACEOF
37678 cat confdefs.h >>conftest.$ac_ext
37679 cat >>conftest.$ac_ext <<_ACEOF
37680 /* end confdefs.h. */
37683 #include <stdarg.h>
37685 #if __MSL__ >= 0x6000
37687 using namespace std;
37697 vsnprintf(buf, 10u, "%s", ap);
37703 rm -f conftest.$ac_objext
37704 if { (ac_try="$ac_compile"
37705 case "(($ac_try" in
37706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37707 *) ac_try_echo=$ac_try;;
37709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37710 (eval "$ac_compile") 2>conftest.er1
37712 grep -v '^ *+' conftest.er1 >conftest.err
37714 cat conftest.err >&5
37715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37716 (exit $ac_status); } && {
37717 test -z "$ac_c_werror_flag" ||
37718 test ! -s conftest.err
37719 } && test -s conftest.$ac_objext; then
37720 wx_cv_func_vsnprintf_decl=yes
37722 echo "$as_me: failed program was:" >&5
37723 sed 's/^/| /' conftest.$ac_ext >&5
37725 wx_cv_func_vsnprintf_decl=no
37729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37733 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37734 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37736 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37737 cat >>confdefs.h <<\_ACEOF
37738 #define HAVE_VSNPRINTF_DECL 1
37742 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37743 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37744 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37745 echo $ECHO_N "(cached) $ECHO_C" >&6
37748 cat >conftest.$ac_ext <<_ACEOF
37751 cat confdefs.h >>conftest.$ac_ext
37752 cat >>conftest.$ac_ext <<_ACEOF
37753 /* end confdefs.h. */
37756 #include <stdarg.h>
37758 #if __MSL__ >= 0x6000
37760 using namespace std;
37770 const char *fmt = "%s";
37771 vsnprintf(buf, 10u, fmt, ap);
37777 rm -f conftest.$ac_objext
37778 if { (ac_try="$ac_compile"
37779 case "(($ac_try" in
37780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37781 *) ac_try_echo=$ac_try;;
37783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37784 (eval "$ac_compile") 2>conftest.er1
37786 grep -v '^ *+' conftest.er1 >conftest.err
37788 cat conftest.err >&5
37789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37790 (exit $ac_status); } && {
37791 test -z "$ac_c_werror_flag" ||
37792 test ! -s conftest.err
37793 } && test -s conftest.$ac_objext; then
37794 wx_cv_func_broken_vsnprintf_decl=no
37796 echo "$as_me: failed program was:" >&5
37797 sed 's/^/| /' conftest.$ac_ext >&5
37799 wx_cv_func_broken_vsnprintf_decl=yes
37803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37807 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37808 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37810 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37811 cat >>confdefs.h <<\_ACEOF
37812 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37819 if test "$ac_cv_func_snprintf" = "yes"; then
37820 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37821 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37822 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37823 echo $ECHO_N "(cached) $ECHO_C" >&6
37826 cat >conftest.$ac_ext <<_ACEOF
37829 cat confdefs.h >>conftest.$ac_ext
37830 cat >>conftest.$ac_ext <<_ACEOF
37831 /* end confdefs.h. */
37834 #include <stdarg.h>
37836 #if __MSL__ >= 0x6000
37838 using namespace std;
37847 snprintf(buf, 10u, "%s", "wx");
37853 rm -f conftest.$ac_objext
37854 if { (ac_try="$ac_compile"
37855 case "(($ac_try" in
37856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37857 *) ac_try_echo=$ac_try;;
37859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37860 (eval "$ac_compile") 2>conftest.er1
37862 grep -v '^ *+' conftest.er1 >conftest.err
37864 cat conftest.err >&5
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); } && {
37867 test -z "$ac_c_werror_flag" ||
37868 test ! -s conftest.err
37869 } && test -s conftest.$ac_objext; then
37870 wx_cv_func_snprintf_decl=yes
37872 echo "$as_me: failed program was:" >&5
37873 sed 's/^/| /' conftest.$ac_ext >&5
37875 wx_cv_func_snprintf_decl=no
37879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37883 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37884 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37886 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37887 cat >>confdefs.h <<\_ACEOF
37888 #define HAVE_SNPRINTF_DECL 1
37892 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37893 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37894 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37895 echo $ECHO_N "(cached) $ECHO_C" >&6
37898 cat >conftest.$ac_ext <<_ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37906 #include <stdarg.h>
37908 #if __MSL__ >= 0x6000
37910 using namespace std;
37919 const char *fmt = "%s";
37920 snprintf(buf, 10u, fmt, "wx");
37926 rm -f conftest.$ac_objext
37927 if { (ac_try="$ac_compile"
37928 case "(($ac_try" in
37929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37930 *) ac_try_echo=$ac_try;;
37932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37933 (eval "$ac_compile") 2>conftest.er1
37935 grep -v '^ *+' conftest.er1 >conftest.err
37937 cat conftest.err >&5
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); } && {
37940 test -z "$ac_c_werror_flag" ||
37941 test ! -s conftest.err
37942 } && test -s conftest.$ac_objext; then
37943 wx_cv_func_broken_snprintf_decl=no
37945 echo "$as_me: failed program was:" >&5
37946 sed 's/^/| /' conftest.$ac_ext >&5
37948 wx_cv_func_broken_snprintf_decl=yes
37952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37956 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37957 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37959 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37960 cat >>confdefs.h <<\_ACEOF
37961 #define HAVE_BROKEN_SNPRINTF_DECL 1
37967 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37969 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37970 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37971 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37972 echo $ECHO_N "(cached) $ECHO_C" >&6
37975 if test "$cross_compiling" = yes; then
37977 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37978 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37979 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37980 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37981 wx_cv_func_snprintf_pos_params=no
37985 cat >conftest.$ac_ext <<_ACEOF
37988 cat confdefs.h >>conftest.$ac_ext
37989 cat >>conftest.$ac_ext <<_ACEOF
37990 /* end confdefs.h. */
37997 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37998 if (strcmp ("2 3 1", buffer) == 0)
38004 rm -f conftest$ac_exeext
38005 if { (ac_try="$ac_link"
38006 case "(($ac_try" in
38007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38008 *) ac_try_echo=$ac_try;;
38010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38011 (eval "$ac_link") 2>&5
38013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38015 { (case "(($ac_try" in
38016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38017 *) ac_try_echo=$ac_try;;
38019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38020 (eval "$ac_try") 2>&5
38022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38023 (exit $ac_status); }; }; then
38024 wx_cv_func_snprintf_pos_params=no
38026 echo "$as_me: program exited with status $ac_status" >&5
38027 echo "$as_me: failed program was:" >&5
38028 sed 's/^/| /' conftest.$ac_ext >&5
38030 ( exit $ac_status )
38031 wx_cv_func_snprintf_pos_params=yes
38033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38040 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38041 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38043 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38044 cat >>confdefs.h <<\_ACEOF
38045 #define HAVE_UNIX98_PRINTF 1
38052 if test "$wxUSE_UNICODE" = yes; then
38055 for ac_func in swprintf
38057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38058 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38060 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38061 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. */
38069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38071 #define $ac_func innocuous_$ac_func
38073 /* System header to define __stub macros and hopefully few prototypes,
38074 which can conflict with char $ac_func (); below.
38075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38076 <limits.h> exists even on freestanding compilers. */
38079 # include <limits.h>
38081 # include <assert.h>
38086 /* Override any GCC internal prototype to avoid an error.
38087 Use char because int might match the return type of a GCC
38088 builtin and then its argument prototype would still apply. */
38093 /* The GNU C library defines this for functions which it implements
38094 to always fail with ENOSYS. Some functions are actually named
38095 something starting with __ and the normal name is an alias. */
38096 #if defined __stub_$ac_func || defined __stub___$ac_func
38103 return $ac_func ();
38108 rm -f conftest.$ac_objext conftest$ac_exeext
38109 if { (ac_try="$ac_link"
38110 case "(($ac_try" in
38111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38112 *) ac_try_echo=$ac_try;;
38114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38115 (eval "$ac_link") 2>conftest.er1
38117 grep -v '^ *+' conftest.er1 >conftest.err
38119 cat conftest.err >&5
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); } && {
38122 test -z "$ac_c_werror_flag" ||
38123 test ! -s conftest.err
38124 } && test -s conftest$ac_exeext &&
38125 $as_test_x conftest$ac_exeext; then
38126 eval "$as_ac_var=yes"
38128 echo "$as_me: failed program was:" >&5
38129 sed 's/^/| /' conftest.$ac_ext >&5
38131 eval "$as_ac_var=no"
38134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38135 conftest$ac_exeext conftest.$ac_ext
38137 ac_res=`eval echo '${'$as_ac_var'}'`
38138 { echo "$as_me:$LINENO: result: $ac_res" >&5
38139 echo "${ECHO_T}$ac_res" >&6; }
38140 if test `eval echo '${'$as_ac_var'}'` = yes; then
38141 cat >>confdefs.h <<_ACEOF
38142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38149 if test "$ac_cv_func_swprintf" = "yes"; then
38150 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38151 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38152 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38153 echo $ECHO_N "(cached) $ECHO_C" >&6
38156 cat >conftest.$ac_ext <<_ACEOF
38159 cat confdefs.h >>conftest.$ac_ext
38160 cat >>conftest.$ac_ext <<_ACEOF
38161 /* end confdefs.h. */
38164 #include <stdarg.h>
38172 const wchar_t *fmt = L"test";
38173 swprintf(buf, 10u, fmt);
38179 rm -f conftest.$ac_objext
38180 if { (ac_try="$ac_compile"
38181 case "(($ac_try" in
38182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38183 *) ac_try_echo=$ac_try;;
38185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38186 (eval "$ac_compile") 2>conftest.er1
38188 grep -v '^ *+' conftest.er1 >conftest.err
38190 cat conftest.err >&5
38191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38192 (exit $ac_status); } && {
38193 test -z "$ac_c_werror_flag" ||
38194 test ! -s conftest.err
38195 } && test -s conftest.$ac_objext; then
38196 wx_cv_func_broken_swprintf_decl=no
38198 echo "$as_me: failed program was:" >&5
38199 sed 's/^/| /' conftest.$ac_ext >&5
38201 wx_cv_func_broken_swprintf_decl=yes
38205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38209 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38210 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38212 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38213 cat >>confdefs.h <<\_ACEOF
38214 #define HAVE_BROKEN_SWPRINTF_DECL 1
38220 wchar_headers="#include <stdio.h>
38221 #include <wchar.h>"
38224 { echo "$as_me:$LINENO: checking for widec.h" >&5
38225 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38226 if test "${ac_cv_header_widec_h+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38229 cat >conftest.$ac_ext <<_ACEOF
38232 cat confdefs.h >>conftest.$ac_ext
38233 cat >>conftest.$ac_ext <<_ACEOF
38234 /* end confdefs.h. */
38235 $ac_includes_default
38239 rm -f conftest.$ac_objext
38240 if { (ac_try="$ac_compile"
38241 case "(($ac_try" in
38242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38243 *) ac_try_echo=$ac_try;;
38245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38246 (eval "$ac_compile") 2>conftest.er1
38248 grep -v '^ *+' conftest.er1 >conftest.err
38250 cat conftest.err >&5
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); } && {
38253 test -z "$ac_c_werror_flag" ||
38254 test ! -s conftest.err
38255 } && test -s conftest.$ac_objext; then
38256 ac_cv_header_widec_h=yes
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.$ac_ext >&5
38261 ac_cv_header_widec_h=no
38264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38266 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38267 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38270 if test "$ac_cv_header_widec_h" = "yes"; then
38271 wchar_headers="$wchar_headers
38272 #include <widec.h>"
38277 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38279 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38280 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38281 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38282 echo $ECHO_N "(cached) $ECHO_C" >&6
38285 cat >conftest.$ac_ext <<_ACEOF
38289 cat confdefs.h >>conftest.$ac_ext
38290 cat >>conftest.$ac_ext <<_ACEOF
38291 /* end confdefs.h. */
38294 $ac_includes_default
38310 rm -f conftest.$ac_objext conftest$ac_exeext
38311 if { (ac_try="$ac_link"
38312 case "(($ac_try" in
38313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38314 *) ac_try_echo=$ac_try;;
38316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38317 (eval "$ac_link") 2>conftest.er1
38319 grep -v '^ *+' conftest.er1 >conftest.err
38321 cat conftest.err >&5
38322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38323 (exit $ac_status); } && {
38324 test -z "$ac_c_werror_flag" ||
38325 test ! -s conftest.err
38326 } && test -s conftest$ac_exeext &&
38327 $as_test_x conftest$ac_exeext; then
38328 eval wx_cv_func_$wx_func=yes
38330 echo "$as_me: failed program was:" >&5
38331 sed 's/^/| /' conftest.$ac_ext >&5
38333 eval wx_cv_func_$wx_func=no
38336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38337 conftest$ac_exeext conftest.$ac_ext
38340 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38341 { echo "$as_me:$LINENO: result: $ac_res" >&5
38342 echo "${ECHO_T}$ac_res" >&6; }
38344 if eval test \$wx_cv_func_$wx_func = yes
38346 cat >>confdefs.h <<_ACEOF
38347 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38358 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38359 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38360 cat >conftest.$ac_ext <<_ACEOF
38363 cat confdefs.h >>conftest.$ac_ext
38364 cat >>conftest.$ac_ext <<_ACEOF
38365 /* end confdefs.h. */
38375 rm -f conftest.$ac_objext
38376 if { (ac_try="$ac_compile"
38377 case "(($ac_try" in
38378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38379 *) ac_try_echo=$ac_try;;
38381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38382 (eval "$ac_compile") 2>conftest.er1
38384 grep -v '^ *+' conftest.er1 >conftest.err
38386 cat conftest.err >&5
38387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38388 (exit $ac_status); } && {
38389 test -z "$ac_c_werror_flag" ||
38390 test ! -s conftest.err
38391 } && test -s conftest.$ac_objext; then
38392 { echo "$as_me:$LINENO: result: yes" >&5
38393 echo "${ECHO_T}yes" >&6; }
38394 cat >>confdefs.h <<\_ACEOF
38395 #define HAVE__VSNWPRINTF 1
38399 echo "$as_me: failed program was:" >&5
38400 sed 's/^/| /' conftest.$ac_ext >&5
38402 { echo "$as_me:$LINENO: result: no" >&5
38403 echo "${ECHO_T}no" >&6; }
38406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38409 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38411 for wx_func in fnmatch
38413 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38414 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38415 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38416 echo $ECHO_N "(cached) $ECHO_C" >&6
38419 cat >conftest.$ac_ext <<_ACEOF
38423 cat confdefs.h >>conftest.$ac_ext
38424 cat >>conftest.$ac_ext <<_ACEOF
38425 /* end confdefs.h. */
38427 #include <fnmatch.h>
38428 $ac_includes_default
38444 rm -f conftest.$ac_objext conftest$ac_exeext
38445 if { (ac_try="$ac_link"
38446 case "(($ac_try" in
38447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38448 *) ac_try_echo=$ac_try;;
38450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38451 (eval "$ac_link") 2>conftest.er1
38453 grep -v '^ *+' conftest.er1 >conftest.err
38455 cat conftest.err >&5
38456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38457 (exit $ac_status); } && {
38458 test -z "$ac_c_werror_flag" ||
38459 test ! -s conftest.err
38460 } && test -s conftest$ac_exeext &&
38461 $as_test_x conftest$ac_exeext; then
38462 eval wx_cv_func_$wx_func=yes
38464 echo "$as_me: failed program was:" >&5
38465 sed 's/^/| /' conftest.$ac_ext >&5
38467 eval wx_cv_func_$wx_func=no
38470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38471 conftest$ac_exeext conftest.$ac_ext
38474 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38475 { echo "$as_me:$LINENO: result: $ac_res" >&5
38476 echo "${ECHO_T}$ac_res" >&6; }
38478 if eval test \$wx_cv_func_$wx_func = yes
38480 cat >>confdefs.h <<_ACEOF
38481 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38493 if test "$wxUSE_FILE" = "yes"; then
38495 for wx_func in fsync
38497 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38498 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38499 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38500 echo $ECHO_N "(cached) $ECHO_C" >&6
38503 cat >conftest.$ac_ext <<_ACEOF
38507 cat confdefs.h >>conftest.$ac_ext
38508 cat >>conftest.$ac_ext <<_ACEOF
38509 /* end confdefs.h. */
38512 $ac_includes_default
38528 rm -f conftest.$ac_objext conftest$ac_exeext
38529 if { (ac_try="$ac_link"
38530 case "(($ac_try" in
38531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38532 *) ac_try_echo=$ac_try;;
38534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38535 (eval "$ac_link") 2>conftest.er1
38537 grep -v '^ *+' conftest.er1 >conftest.err
38539 cat conftest.err >&5
38540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38541 (exit $ac_status); } && {
38542 test -z "$ac_c_werror_flag" ||
38543 test ! -s conftest.err
38544 } && test -s conftest$ac_exeext &&
38545 $as_test_x conftest$ac_exeext; then
38546 eval wx_cv_func_$wx_func=yes
38548 echo "$as_me: failed program was:" >&5
38549 sed 's/^/| /' conftest.$ac_ext >&5
38551 eval wx_cv_func_$wx_func=no
38554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38555 conftest$ac_exeext conftest.$ac_ext
38558 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38559 { echo "$as_me:$LINENO: result: $ac_res" >&5
38560 echo "${ECHO_T}$ac_res" >&6; }
38562 if eval test \$wx_cv_func_$wx_func = yes
38564 cat >>confdefs.h <<_ACEOF
38565 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38578 ac_cpp='$CXXCPP $CPPFLAGS'
38579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38584 for wx_func in round
38586 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38587 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38588 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38589 echo $ECHO_N "(cached) $ECHO_C" >&6
38592 cat >conftest.$ac_ext <<_ACEOF
38596 cat confdefs.h >>conftest.$ac_ext
38597 cat >>conftest.$ac_ext <<_ACEOF
38598 /* end confdefs.h. */
38601 $ac_includes_default
38617 rm -f conftest.$ac_objext conftest$ac_exeext
38618 if { (ac_try="$ac_link"
38619 case "(($ac_try" in
38620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38621 *) ac_try_echo=$ac_try;;
38623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38624 (eval "$ac_link") 2>conftest.er1
38626 grep -v '^ *+' conftest.er1 >conftest.err
38628 cat conftest.err >&5
38629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38630 (exit $ac_status); } && {
38631 test -z "$ac_cxx_werror_flag" ||
38632 test ! -s conftest.err
38633 } && test -s conftest$ac_exeext &&
38634 $as_test_x conftest$ac_exeext; then
38635 eval wx_cv_func_$wx_func=yes
38637 echo "$as_me: failed program was:" >&5
38638 sed 's/^/| /' conftest.$ac_ext >&5
38640 eval wx_cv_func_$wx_func=no
38643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38644 conftest$ac_exeext conftest.$ac_ext
38647 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38648 { echo "$as_me:$LINENO: result: $ac_res" >&5
38649 echo "${ECHO_T}$ac_res" >&6; }
38651 if eval test \$wx_cv_func_$wx_func = yes
38653 cat >>confdefs.h <<_ACEOF
38654 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38665 ac_cpp='$CPP $CPPFLAGS'
38666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38671 if test "$TOOLKIT" != "MSW"; then
38677 # Check whether --with-libiconv-prefix was given.
38678 if test "${with_libiconv_prefix+set}" = set; then
38679 withval=$with_libiconv_prefix;
38680 for dir in `echo "$withval" | tr : ' '`; do
38681 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38682 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38688 { echo "$as_me:$LINENO: checking for iconv" >&5
38689 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38690 if test "${am_cv_func_iconv+set}" = set; then
38691 echo $ECHO_N "(cached) $ECHO_C" >&6
38694 am_cv_func_iconv="no, consider installing GNU libiconv"
38696 cat >conftest.$ac_ext <<_ACEOF
38699 cat confdefs.h >>conftest.$ac_ext
38700 cat >>conftest.$ac_ext <<_ACEOF
38701 /* end confdefs.h. */
38702 #include <stdlib.h>
38707 iconv_t cd = iconv_open("","");
38708 iconv(cd,NULL,NULL,NULL,NULL);
38714 rm -f conftest.$ac_objext conftest$ac_exeext
38715 if { (ac_try="$ac_link"
38716 case "(($ac_try" in
38717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38718 *) ac_try_echo=$ac_try;;
38720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38721 (eval "$ac_link") 2>conftest.er1
38723 grep -v '^ *+' conftest.er1 >conftest.err
38725 cat conftest.err >&5
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); } && {
38728 test -z "$ac_c_werror_flag" ||
38729 test ! -s conftest.err
38730 } && test -s conftest$ac_exeext &&
38731 $as_test_x conftest$ac_exeext; then
38732 am_cv_func_iconv=yes
38734 echo "$as_me: failed program was:" >&5
38735 sed 's/^/| /' conftest.$ac_ext >&5
38740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38741 conftest$ac_exeext conftest.$ac_ext
38742 if test "$am_cv_func_iconv" != yes; then
38743 am_save_LIBS="$LIBS"
38744 LIBS="$LIBS -liconv"
38745 cat >conftest.$ac_ext <<_ACEOF
38748 cat confdefs.h >>conftest.$ac_ext
38749 cat >>conftest.$ac_ext <<_ACEOF
38750 /* end confdefs.h. */
38751 #include <stdlib.h>
38756 iconv_t cd = iconv_open("","");
38757 iconv(cd,NULL,NULL,NULL,NULL);
38763 rm -f conftest.$ac_objext conftest$ac_exeext
38764 if { (ac_try="$ac_link"
38765 case "(($ac_try" in
38766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38767 *) ac_try_echo=$ac_try;;
38769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38770 (eval "$ac_link") 2>conftest.er1
38772 grep -v '^ *+' conftest.er1 >conftest.err
38774 cat conftest.err >&5
38775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38776 (exit $ac_status); } && {
38777 test -z "$ac_c_werror_flag" ||
38778 test ! -s conftest.err
38779 } && test -s conftest$ac_exeext &&
38780 $as_test_x conftest$ac_exeext; then
38781 am_cv_lib_iconv=yes
38782 am_cv_func_iconv=yes
38784 echo "$as_me: failed program was:" >&5
38785 sed 's/^/| /' conftest.$ac_ext >&5
38790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38791 conftest$ac_exeext conftest.$ac_ext
38792 LIBS="$am_save_LIBS"
38796 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38797 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38798 if test "$am_cv_func_iconv" = yes; then
38800 cat >>confdefs.h <<\_ACEOF
38801 #define HAVE_ICONV 1
38804 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38805 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38806 if test "${wx_cv_func_iconv_const+set}" = set; then
38807 echo $ECHO_N "(cached) $ECHO_C" >&6
38809 cat >conftest.$ac_ext <<_ACEOF
38812 cat confdefs.h >>conftest.$ac_ext
38813 cat >>conftest.$ac_ext <<_ACEOF
38814 /* end confdefs.h. */
38816 #include <stdlib.h>
38822 #if defined(__STDC__) || defined(__cplusplus)
38823 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38836 rm -f conftest.$ac_objext
38837 if { (ac_try="$ac_compile"
38838 case "(($ac_try" in
38839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38840 *) ac_try_echo=$ac_try;;
38842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38843 (eval "$ac_compile") 2>conftest.er1
38845 grep -v '^ *+' conftest.er1 >conftest.err
38847 cat conftest.err >&5
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); } && {
38850 test -z "$ac_c_werror_flag" ||
38851 test ! -s conftest.err
38852 } && test -s conftest.$ac_objext; then
38853 wx_cv_func_iconv_const="no"
38855 echo "$as_me: failed program was:" >&5
38856 sed 's/^/| /' conftest.$ac_ext >&5
38858 wx_cv_func_iconv_const="yes"
38862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38865 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38866 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38869 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38870 iconv_const="const"
38874 cat >>confdefs.h <<_ACEOF
38875 #define ICONV_CONST $iconv_const
38880 if test "$am_cv_lib_iconv" = yes; then
38885 LIBS="$LIBICONV $LIBS"
38887 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38889 for ac_func in sigaction
38891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38895 echo $ECHO_N "(cached) $ECHO_C" >&6
38897 cat >conftest.$ac_ext <<_ACEOF
38900 cat confdefs.h >>conftest.$ac_ext
38901 cat >>conftest.$ac_ext <<_ACEOF
38902 /* end confdefs.h. */
38903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38905 #define $ac_func innocuous_$ac_func
38907 /* System header to define __stub macros and hopefully few prototypes,
38908 which can conflict with char $ac_func (); below.
38909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38910 <limits.h> exists even on freestanding compilers. */
38913 # include <limits.h>
38915 # include <assert.h>
38920 /* Override any GCC internal prototype to avoid an error.
38921 Use char because int might match the return type of a GCC
38922 builtin and then its argument prototype would still apply. */
38927 /* The GNU C library defines this for functions which it implements
38928 to always fail with ENOSYS. Some functions are actually named
38929 something starting with __ and the normal name is an alias. */
38930 #if defined __stub_$ac_func || defined __stub___$ac_func
38937 return $ac_func ();
38942 rm -f conftest.$ac_objext conftest$ac_exeext
38943 if { (ac_try="$ac_link"
38944 case "(($ac_try" in
38945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38946 *) ac_try_echo=$ac_try;;
38948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38949 (eval "$ac_link") 2>conftest.er1
38951 grep -v '^ *+' conftest.er1 >conftest.err
38953 cat conftest.err >&5
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); } && {
38956 test -z "$ac_c_werror_flag" ||
38957 test ! -s conftest.err
38958 } && test -s conftest$ac_exeext &&
38959 $as_test_x conftest$ac_exeext; then
38960 eval "$as_ac_var=yes"
38962 echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.$ac_ext >&5
38965 eval "$as_ac_var=no"
38968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38969 conftest$ac_exeext conftest.$ac_ext
38971 ac_res=`eval echo '${'$as_ac_var'}'`
38972 { echo "$as_me:$LINENO: result: $ac_res" >&5
38973 echo "${ECHO_T}$ac_res" >&6; }
38974 if test `eval echo '${'$as_ac_var'}'` = yes; then
38975 cat >>confdefs.h <<_ACEOF
38976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38983 if test "$ac_cv_func_sigaction" = "no"; then
38984 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38985 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38986 wxUSE_ON_FATAL_EXCEPTION=no
38989 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38990 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38991 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38992 if test "${wx_cv_type_sa_handler+set}" = set; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38997 ac_cpp='$CXXCPP $CPPFLAGS'
38998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39002 cat >conftest.$ac_ext <<_ACEOF
39005 cat confdefs.h >>conftest.$ac_ext
39006 cat >>conftest.$ac_ext <<_ACEOF
39007 /* end confdefs.h. */
39008 #include <signal.h>
39013 extern void testSigHandler(int);
39015 struct sigaction sa;
39016 sa.sa_handler = testSigHandler;
39022 rm -f conftest.$ac_objext
39023 if { (ac_try="$ac_compile"
39024 case "(($ac_try" in
39025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39026 *) ac_try_echo=$ac_try;;
39028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39029 (eval "$ac_compile") 2>conftest.er1
39031 grep -v '^ *+' conftest.er1 >conftest.err
39033 cat conftest.err >&5
39034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39035 (exit $ac_status); } && {
39036 test -z "$ac_cxx_werror_flag" ||
39037 test ! -s conftest.err
39038 } && test -s conftest.$ac_objext; then
39040 wx_cv_type_sa_handler=int
39043 echo "$as_me: failed program was:" >&5
39044 sed 's/^/| /' conftest.$ac_ext >&5
39047 wx_cv_type_sa_handler=void
39051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39053 ac_cpp='$CPP $CPPFLAGS'
39054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39060 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39061 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39063 cat >>confdefs.h <<_ACEOF
39064 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39070 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39071 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39072 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39073 if test "${wx_cv_func_backtrace+set}" = set; then
39074 echo $ECHO_N "(cached) $ECHO_C" >&6
39078 ac_cpp='$CXXCPP $CPPFLAGS'
39079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39083 cat >conftest.$ac_ext <<_ACEOF
39086 cat confdefs.h >>conftest.$ac_ext
39087 cat >>conftest.$ac_ext <<_ACEOF
39088 /* end confdefs.h. */
39089 #include <execinfo.h>
39097 backtrace(trace, 1);
39098 messages = backtrace_symbols(trace, 1);
39104 rm -f conftest.$ac_objext
39105 if { (ac_try="$ac_compile"
39106 case "(($ac_try" in
39107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39108 *) ac_try_echo=$ac_try;;
39110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39111 (eval "$ac_compile") 2>conftest.er1
39113 grep -v '^ *+' conftest.er1 >conftest.err
39115 cat conftest.err >&5
39116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39117 (exit $ac_status); } && {
39118 test -z "$ac_cxx_werror_flag" ||
39119 test ! -s conftest.err
39120 } && test -s conftest.$ac_objext; then
39121 wx_cv_func_backtrace=yes
39123 echo "$as_me: failed program was:" >&5
39124 sed 's/^/| /' conftest.$ac_ext >&5
39126 wx_cv_func_backtrace=no
39130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39132 ac_cpp='$CPP $CPPFLAGS'
39133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39140 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39141 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39144 if test "$wx_cv_func_backtrace" = "no"; then
39145 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39146 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39147 wxUSE_STACKWALKER=no
39149 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39150 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39151 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39152 echo $ECHO_N "(cached) $ECHO_C" >&6
39156 ac_cpp='$CXXCPP $CPPFLAGS'
39157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39161 cat >conftest.$ac_ext <<_ACEOF
39164 cat confdefs.h >>conftest.$ac_ext
39165 cat >>conftest.$ac_ext <<_ACEOF
39166 /* end confdefs.h. */
39167 #include <cxxabi.h>
39173 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39179 rm -f conftest.$ac_objext conftest$ac_exeext
39180 if { (ac_try="$ac_link"
39181 case "(($ac_try" in
39182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39183 *) ac_try_echo=$ac_try;;
39185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39186 (eval "$ac_link") 2>conftest.er1
39188 grep -v '^ *+' conftest.er1 >conftest.err
39190 cat conftest.err >&5
39191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39192 (exit $ac_status); } && {
39193 test -z "$ac_cxx_werror_flag" ||
39194 test ! -s conftest.err
39195 } && test -s conftest$ac_exeext &&
39196 $as_test_x conftest$ac_exeext; then
39197 wx_cv_func_cxa_demangle=yes
39199 echo "$as_me: failed program was:" >&5
39200 sed 's/^/| /' conftest.$ac_ext >&5
39202 wx_cv_func_cxa_demangle=no
39206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39207 conftest$ac_exeext conftest.$ac_ext
39209 ac_cpp='$CPP $CPPFLAGS'
39210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39217 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39218 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39220 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39221 cat >>confdefs.h <<\_ACEOF
39222 #define HAVE_CXA_DEMANGLE 1
39229 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39230 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39231 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39232 wxUSE_STACKWALKER=no
39238 for ac_func in mkstemp mktemp
39240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39241 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39243 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39244 echo $ECHO_N "(cached) $ECHO_C" >&6
39246 cat >conftest.$ac_ext <<_ACEOF
39249 cat confdefs.h >>conftest.$ac_ext
39250 cat >>conftest.$ac_ext <<_ACEOF
39251 /* end confdefs.h. */
39252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39254 #define $ac_func innocuous_$ac_func
39256 /* System header to define __stub macros and hopefully few prototypes,
39257 which can conflict with char $ac_func (); below.
39258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39259 <limits.h> exists even on freestanding compilers. */
39262 # include <limits.h>
39264 # include <assert.h>
39269 /* Override any GCC internal prototype to avoid an error.
39270 Use char because int might match the return type of a GCC
39271 builtin and then its argument prototype would still apply. */
39276 /* The GNU C library defines this for functions which it implements
39277 to always fail with ENOSYS. Some functions are actually named
39278 something starting with __ and the normal name is an alias. */
39279 #if defined __stub_$ac_func || defined __stub___$ac_func
39286 return $ac_func ();
39291 rm -f conftest.$ac_objext conftest$ac_exeext
39292 if { (ac_try="$ac_link"
39293 case "(($ac_try" in
39294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39295 *) ac_try_echo=$ac_try;;
39297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39298 (eval "$ac_link") 2>conftest.er1
39300 grep -v '^ *+' conftest.er1 >conftest.err
39302 cat conftest.err >&5
39303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39304 (exit $ac_status); } && {
39305 test -z "$ac_c_werror_flag" ||
39306 test ! -s conftest.err
39307 } && test -s conftest$ac_exeext &&
39308 $as_test_x conftest$ac_exeext; then
39309 eval "$as_ac_var=yes"
39311 echo "$as_me: failed program was:" >&5
39312 sed 's/^/| /' conftest.$ac_ext >&5
39314 eval "$as_ac_var=no"
39317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39318 conftest$ac_exeext conftest.$ac_ext
39320 ac_res=`eval echo '${'$as_ac_var'}'`
39321 { echo "$as_me:$LINENO: result: $ac_res" >&5
39322 echo "${ECHO_T}$ac_res" >&6; }
39323 if test `eval echo '${'$as_ac_var'}'` = yes; then
39324 cat >>confdefs.h <<_ACEOF
39325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39332 { echo "$as_me:$LINENO: checking for statfs" >&5
39333 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39334 if test "${wx_cv_func_statfs+set}" = set; then
39335 echo $ECHO_N "(cached) $ECHO_C" >&6
39337 cat >conftest.$ac_ext <<_ACEOF
39340 cat confdefs.h >>conftest.$ac_ext
39341 cat >>conftest.$ac_ext <<_ACEOF
39342 /* end confdefs.h. */
39344 #if defined(__BSD__)
39345 #include <sys/param.h>
39346 #include <sys/mount.h>
39348 #include <sys/vfs.h>
39366 rm -f conftest.$ac_objext
39367 if { (ac_try="$ac_compile"
39368 case "(($ac_try" in
39369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39370 *) ac_try_echo=$ac_try;;
39372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39373 (eval "$ac_compile") 2>conftest.er1
39375 grep -v '^ *+' conftest.er1 >conftest.err
39377 cat conftest.err >&5
39378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39379 (exit $ac_status); } && {
39380 test -z "$ac_c_werror_flag" ||
39381 test ! -s conftest.err
39382 } && test -s conftest.$ac_objext; then
39383 wx_cv_func_statfs=yes
39385 echo "$as_me: failed program was:" >&5
39386 sed 's/^/| /' conftest.$ac_ext >&5
39388 wx_cv_func_statfs=no
39392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39395 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39396 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39398 if test "$wx_cv_func_statfs" = "yes"; then
39399 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39400 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39401 if test "${wx_cv_func_statfs_decl+set}" = set; then
39402 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. */
39417 #if defined(__BSD__)
39418 #include <sys/param.h>
39419 #include <sys/mount.h>
39421 #include <sys/vfs.h>
39435 rm -f conftest.$ac_objext
39436 if { (ac_try="$ac_compile"
39437 case "(($ac_try" in
39438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39439 *) ac_try_echo=$ac_try;;
39441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39442 (eval "$ac_compile") 2>conftest.er1
39444 grep -v '^ *+' conftest.er1 >conftest.err
39446 cat conftest.err >&5
39447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39448 (exit $ac_status); } && {
39449 test -z "$ac_cxx_werror_flag" ||
39450 test ! -s conftest.err
39451 } && test -s conftest.$ac_objext; then
39452 wx_cv_func_statfs_decl=yes
39454 echo "$as_me: failed program was:" >&5
39455 sed 's/^/| /' conftest.$ac_ext >&5
39457 wx_cv_func_statfs_decl=no
39461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39463 ac_cpp='$CPP $CPPFLAGS'
39464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39470 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39471 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39473 if test "$wx_cv_func_statfs_decl" = "yes"; then
39474 cat >>confdefs.h <<\_ACEOF
39475 #define HAVE_STATFS_DECL 1
39480 wx_cv_type_statvfs_t="struct statfs"
39481 cat >>confdefs.h <<\_ACEOF
39482 #define HAVE_STATFS 1
39486 { echo "$as_me:$LINENO: checking for statvfs" >&5
39487 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39488 if test "${wx_cv_func_statvfs+set}" = set; then
39489 echo $ECHO_N "(cached) $ECHO_C" >&6
39491 cat >conftest.$ac_ext <<_ACEOF
39494 cat confdefs.h >>conftest.$ac_ext
39495 cat >>conftest.$ac_ext <<_ACEOF
39496 /* end confdefs.h. */
39498 #include <stddef.h>
39499 #include <sys/statvfs.h>
39505 statvfs("/", NULL);
39511 rm -f conftest.$ac_objext
39512 if { (ac_try="$ac_compile"
39513 case "(($ac_try" in
39514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39515 *) ac_try_echo=$ac_try;;
39517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39518 (eval "$ac_compile") 2>conftest.er1
39520 grep -v '^ *+' conftest.er1 >conftest.err
39522 cat conftest.err >&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); } && {
39525 test -z "$ac_c_werror_flag" ||
39526 test ! -s conftest.err
39527 } && test -s conftest.$ac_objext; then
39528 wx_cv_func_statvfs=yes
39530 echo "$as_me: failed program was:" >&5
39531 sed 's/^/| /' conftest.$ac_ext >&5
39533 wx_cv_func_statvfs=no
39537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39540 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39541 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39543 if test "$wx_cv_func_statvfs" = "yes"; then
39544 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39545 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39546 if test "${wx_cv_type_statvfs_t+set}" = set; then
39547 echo $ECHO_N "(cached) $ECHO_C" >&6
39550 ac_cpp='$CXXCPP $CPPFLAGS'
39551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39555 cat >conftest.$ac_ext <<_ACEOF
39558 cat confdefs.h >>conftest.$ac_ext
39559 cat >>conftest.$ac_ext <<_ACEOF
39560 /* end confdefs.h. */
39562 #include <sys/statvfs.h>
39579 rm -f conftest.$ac_objext
39580 if { (ac_try="$ac_compile"
39581 case "(($ac_try" in
39582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39583 *) ac_try_echo=$ac_try;;
39585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39586 (eval "$ac_compile") 2>conftest.er1
39588 grep -v '^ *+' conftest.er1 >conftest.err
39590 cat conftest.err >&5
39591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39592 (exit $ac_status); } && {
39593 test -z "$ac_cxx_werror_flag" ||
39594 test ! -s conftest.err
39595 } && test -s conftest.$ac_objext; then
39596 wx_cv_type_statvfs_t=statvfs_t
39598 echo "$as_me: failed program was:" >&5
39599 sed 's/^/| /' conftest.$ac_ext >&5
39602 cat >conftest.$ac_ext <<_ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39609 #include <sys/statvfs.h>
39626 rm -f conftest.$ac_objext
39627 if { (ac_try="$ac_compile"
39628 case "(($ac_try" in
39629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39630 *) ac_try_echo=$ac_try;;
39632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39633 (eval "$ac_compile") 2>conftest.er1
39635 grep -v '^ *+' conftest.er1 >conftest.err
39637 cat conftest.err >&5
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); } && {
39640 test -z "$ac_cxx_werror_flag" ||
39641 test ! -s conftest.err
39642 } && test -s conftest.$ac_objext; then
39643 wx_cv_type_statvfs_t="struct statvfs"
39645 echo "$as_me: failed program was:" >&5
39646 sed 's/^/| /' conftest.$ac_ext >&5
39648 wx_cv_type_statvfs_t="unknown"
39652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39659 ac_cpp='$CPP $CPPFLAGS'
39660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39666 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39667 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39669 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39670 cat >>confdefs.h <<\_ACEOF
39671 #define HAVE_STATVFS 1
39676 wx_cv_type_statvfs_t="unknown"
39680 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39681 cat >>confdefs.h <<_ACEOF
39682 #define WX_STATFS_T $wx_cv_type_statvfs_t
39686 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39687 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39690 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39693 for ac_func in fcntl flock
39695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39699 echo $ECHO_N "(cached) $ECHO_C" >&6
39701 cat >conftest.$ac_ext <<_ACEOF
39704 cat confdefs.h >>conftest.$ac_ext
39705 cat >>conftest.$ac_ext <<_ACEOF
39706 /* end confdefs.h. */
39707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39709 #define $ac_func innocuous_$ac_func
39711 /* System header to define __stub macros and hopefully few prototypes,
39712 which can conflict with char $ac_func (); below.
39713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39714 <limits.h> exists even on freestanding compilers. */
39717 # include <limits.h>
39719 # include <assert.h>
39724 /* Override any GCC internal prototype to avoid an error.
39725 Use char because int might match the return type of a GCC
39726 builtin and then its argument prototype would still apply. */
39731 /* The GNU C library defines this for functions which it implements
39732 to always fail with ENOSYS. Some functions are actually named
39733 something starting with __ and the normal name is an alias. */
39734 #if defined __stub_$ac_func || defined __stub___$ac_func
39741 return $ac_func ();
39746 rm -f conftest.$ac_objext conftest$ac_exeext
39747 if { (ac_try="$ac_link"
39748 case "(($ac_try" in
39749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39750 *) ac_try_echo=$ac_try;;
39752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39753 (eval "$ac_link") 2>conftest.er1
39755 grep -v '^ *+' conftest.er1 >conftest.err
39757 cat conftest.err >&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } && {
39760 test -z "$ac_c_werror_flag" ||
39761 test ! -s conftest.err
39762 } && test -s conftest$ac_exeext &&
39763 $as_test_x conftest$ac_exeext; then
39764 eval "$as_ac_var=yes"
39766 echo "$as_me: failed program was:" >&5
39767 sed 's/^/| /' conftest.$ac_ext >&5
39769 eval "$as_ac_var=no"
39772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39773 conftest$ac_exeext conftest.$ac_ext
39775 ac_res=`eval echo '${'$as_ac_var'}'`
39776 { echo "$as_me:$LINENO: result: $ac_res" >&5
39777 echo "${ECHO_T}$ac_res" >&6; }
39778 if test `eval echo '${'$as_ac_var'}'` = yes; then
39779 cat >>confdefs.h <<_ACEOF
39780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39787 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39788 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39789 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39790 wxUSE_SNGLINST_CHECKER=no
39795 for ac_func in timegm
39797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39798 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39800 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39801 echo $ECHO_N "(cached) $ECHO_C" >&6
39803 cat >conftest.$ac_ext <<_ACEOF
39806 cat confdefs.h >>conftest.$ac_ext
39807 cat >>conftest.$ac_ext <<_ACEOF
39808 /* end confdefs.h. */
39809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39811 #define $ac_func innocuous_$ac_func
39813 /* System header to define __stub macros and hopefully few prototypes,
39814 which can conflict with char $ac_func (); below.
39815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39816 <limits.h> exists even on freestanding compilers. */
39819 # include <limits.h>
39821 # include <assert.h>
39826 /* Override any GCC internal prototype to avoid an error.
39827 Use char because int might match the return type of a GCC
39828 builtin and then its argument prototype would still apply. */
39833 /* The GNU C library defines this for functions which it implements
39834 to always fail with ENOSYS. Some functions are actually named
39835 something starting with __ and the normal name is an alias. */
39836 #if defined __stub_$ac_func || defined __stub___$ac_func
39843 return $ac_func ();
39848 rm -f conftest.$ac_objext conftest$ac_exeext
39849 if { (ac_try="$ac_link"
39850 case "(($ac_try" in
39851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39852 *) ac_try_echo=$ac_try;;
39854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39855 (eval "$ac_link") 2>conftest.er1
39857 grep -v '^ *+' conftest.er1 >conftest.err
39859 cat conftest.err >&5
39860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39861 (exit $ac_status); } && {
39862 test -z "$ac_c_werror_flag" ||
39863 test ! -s conftest.err
39864 } && test -s conftest$ac_exeext &&
39865 $as_test_x conftest$ac_exeext; then
39866 eval "$as_ac_var=yes"
39868 echo "$as_me: failed program was:" >&5
39869 sed 's/^/| /' conftest.$ac_ext >&5
39871 eval "$as_ac_var=no"
39874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39875 conftest$ac_exeext conftest.$ac_ext
39877 ac_res=`eval echo '${'$as_ac_var'}'`
39878 { echo "$as_me:$LINENO: result: $ac_res" >&5
39879 echo "${ECHO_T}$ac_res" >&6; }
39880 if test `eval echo '${'$as_ac_var'}'` = yes; then
39881 cat >>confdefs.h <<_ACEOF
39882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39891 for ac_func in putenv setenv
39893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39894 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39897 echo $ECHO_N "(cached) $ECHO_C" >&6
39899 cat >conftest.$ac_ext <<_ACEOF
39902 cat confdefs.h >>conftest.$ac_ext
39903 cat >>conftest.$ac_ext <<_ACEOF
39904 /* end confdefs.h. */
39905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39907 #define $ac_func innocuous_$ac_func
39909 /* System header to define __stub macros and hopefully few prototypes,
39910 which can conflict with char $ac_func (); below.
39911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39912 <limits.h> exists even on freestanding compilers. */
39915 # include <limits.h>
39917 # include <assert.h>
39922 /* Override any GCC internal prototype to avoid an error.
39923 Use char because int might match the return type of a GCC
39924 builtin and then its argument prototype would still apply. */
39929 /* The GNU C library defines this for functions which it implements
39930 to always fail with ENOSYS. Some functions are actually named
39931 something starting with __ and the normal name is an alias. */
39932 #if defined __stub_$ac_func || defined __stub___$ac_func
39939 return $ac_func ();
39944 rm -f conftest.$ac_objext conftest$ac_exeext
39945 if { (ac_try="$ac_link"
39946 case "(($ac_try" in
39947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39948 *) ac_try_echo=$ac_try;;
39950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39951 (eval "$ac_link") 2>conftest.er1
39953 grep -v '^ *+' conftest.er1 >conftest.err
39955 cat conftest.err >&5
39956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39957 (exit $ac_status); } && {
39958 test -z "$ac_c_werror_flag" ||
39959 test ! -s conftest.err
39960 } && test -s conftest$ac_exeext &&
39961 $as_test_x conftest$ac_exeext; then
39962 eval "$as_ac_var=yes"
39964 echo "$as_me: failed program was:" >&5
39965 sed 's/^/| /' conftest.$ac_ext >&5
39967 eval "$as_ac_var=no"
39970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39971 conftest$ac_exeext conftest.$ac_ext
39973 ac_res=`eval echo '${'$as_ac_var'}'`
39974 { echo "$as_me:$LINENO: result: $ac_res" >&5
39975 echo "${ECHO_T}$ac_res" >&6; }
39976 if test `eval echo '${'$as_ac_var'}'` = yes; then
39977 cat >>confdefs.h <<_ACEOF
39978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39985 HAVE_SOME_SLEEP_FUNC=0
39986 if test "$USE_BEOS" = 1; then
39987 cat >>confdefs.h <<\_ACEOF
39988 #define HAVE_SLEEP 1
39991 HAVE_SOME_SLEEP_FUNC=1
39994 if test "$USE_DARWIN" = 1; then
39995 cat >>confdefs.h <<\_ACEOF
39996 #define HAVE_USLEEP 1
39999 HAVE_SOME_SLEEP_FUNC=1
40002 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40005 for ac_func in nanosleep
40007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40008 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40010 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40011 echo $ECHO_N "(cached) $ECHO_C" >&6
40013 cat >conftest.$ac_ext <<_ACEOF
40016 cat confdefs.h >>conftest.$ac_ext
40017 cat >>conftest.$ac_ext <<_ACEOF
40018 /* end confdefs.h. */
40019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40021 #define $ac_func innocuous_$ac_func
40023 /* System header to define __stub macros and hopefully few prototypes,
40024 which can conflict with char $ac_func (); below.
40025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40026 <limits.h> exists even on freestanding compilers. */
40029 # include <limits.h>
40031 # include <assert.h>
40036 /* Override any GCC internal prototype to avoid an error.
40037 Use char because int might match the return type of a GCC
40038 builtin and then its argument prototype would still apply. */
40043 /* The GNU C library defines this for functions which it implements
40044 to always fail with ENOSYS. Some functions are actually named
40045 something starting with __ and the normal name is an alias. */
40046 #if defined __stub_$ac_func || defined __stub___$ac_func
40053 return $ac_func ();
40058 rm -f conftest.$ac_objext conftest$ac_exeext
40059 if { (ac_try="$ac_link"
40060 case "(($ac_try" in
40061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40062 *) ac_try_echo=$ac_try;;
40064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40065 (eval "$ac_link") 2>conftest.er1
40067 grep -v '^ *+' conftest.er1 >conftest.err
40069 cat conftest.err >&5
40070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071 (exit $ac_status); } && {
40072 test -z "$ac_c_werror_flag" ||
40073 test ! -s conftest.err
40074 } && test -s conftest$ac_exeext &&
40075 $as_test_x conftest$ac_exeext; then
40076 eval "$as_ac_var=yes"
40078 echo "$as_me: failed program was:" >&5
40079 sed 's/^/| /' conftest.$ac_ext >&5
40081 eval "$as_ac_var=no"
40084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40085 conftest$ac_exeext conftest.$ac_ext
40087 ac_res=`eval echo '${'$as_ac_var'}'`
40088 { echo "$as_me:$LINENO: result: $ac_res" >&5
40089 echo "${ECHO_T}$ac_res" >&6; }
40090 if test `eval echo '${'$as_ac_var'}'` = yes; then
40091 cat >>confdefs.h <<_ACEOF
40092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40094 cat >>confdefs.h <<\_ACEOF
40095 #define HAVE_NANOSLEEP 1
40100 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40101 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40102 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40103 echo $ECHO_N "(cached) $ECHO_C" >&6
40105 ac_check_lib_save_LIBS=$LIBS
40106 LIBS="-lposix4 $LIBS"
40107 cat >conftest.$ac_ext <<_ACEOF
40110 cat confdefs.h >>conftest.$ac_ext
40111 cat >>conftest.$ac_ext <<_ACEOF
40112 /* end confdefs.h. */
40114 /* Override any GCC internal prototype to avoid an error.
40115 Use char because int might match the return type of a GCC
40116 builtin and then its argument prototype would still apply. */
40124 return nanosleep ();
40129 rm -f conftest.$ac_objext conftest$ac_exeext
40130 if { (ac_try="$ac_link"
40131 case "(($ac_try" in
40132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40133 *) ac_try_echo=$ac_try;;
40135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40136 (eval "$ac_link") 2>conftest.er1
40138 grep -v '^ *+' conftest.er1 >conftest.err
40140 cat conftest.err >&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); } && {
40143 test -z "$ac_c_werror_flag" ||
40144 test ! -s conftest.err
40145 } && test -s conftest$ac_exeext &&
40146 $as_test_x conftest$ac_exeext; then
40147 ac_cv_lib_posix4_nanosleep=yes
40149 echo "$as_me: failed program was:" >&5
40150 sed 's/^/| /' conftest.$ac_ext >&5
40152 ac_cv_lib_posix4_nanosleep=no
40155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40156 conftest$ac_exeext conftest.$ac_ext
40157 LIBS=$ac_check_lib_save_LIBS
40159 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40160 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40161 if test $ac_cv_lib_posix4_nanosleep = yes; then
40163 cat >>confdefs.h <<\_ACEOF
40164 #define HAVE_NANOSLEEP 1
40167 POSIX4_LINK=" -lposix4"
40172 for wx_func in usleep
40174 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40175 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40176 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40177 echo $ECHO_N "(cached) $ECHO_C" >&6
40180 cat >conftest.$ac_ext <<_ACEOF
40184 cat confdefs.h >>conftest.$ac_ext
40185 cat >>conftest.$ac_ext <<_ACEOF
40186 /* end confdefs.h. */
40189 $ac_includes_default
40205 rm -f conftest.$ac_objext conftest$ac_exeext
40206 if { (ac_try="$ac_link"
40207 case "(($ac_try" in
40208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40209 *) ac_try_echo=$ac_try;;
40211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40212 (eval "$ac_link") 2>conftest.er1
40214 grep -v '^ *+' conftest.er1 >conftest.err
40216 cat conftest.err >&5
40217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40218 (exit $ac_status); } && {
40219 test -z "$ac_c_werror_flag" ||
40220 test ! -s conftest.err
40221 } && test -s conftest$ac_exeext &&
40222 $as_test_x conftest$ac_exeext; then
40223 eval wx_cv_func_$wx_func=yes
40225 echo "$as_me: failed program was:" >&5
40226 sed 's/^/| /' conftest.$ac_ext >&5
40228 eval wx_cv_func_$wx_func=no
40231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40232 conftest$ac_exeext conftest.$ac_ext
40235 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40236 { echo "$as_me:$LINENO: result: $ac_res" >&5
40237 echo "${ECHO_T}$ac_res" >&6; }
40239 if eval test \$wx_cv_func_$wx_func = yes
40241 cat >>confdefs.h <<_ACEOF
40242 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40248 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40249 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40266 for wx_func in uname
40268 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40269 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40270 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40271 echo $ECHO_N "(cached) $ECHO_C" >&6
40274 cat >conftest.$ac_ext <<_ACEOF
40278 cat confdefs.h >>conftest.$ac_ext
40279 cat >>conftest.$ac_ext <<_ACEOF
40280 /* end confdefs.h. */
40282 #include <sys/utsname.h>
40283 $ac_includes_default
40299 rm -f conftest.$ac_objext conftest$ac_exeext
40300 if { (ac_try="$ac_link"
40301 case "(($ac_try" in
40302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40303 *) ac_try_echo=$ac_try;;
40305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40306 (eval "$ac_link") 2>conftest.er1
40308 grep -v '^ *+' conftest.er1 >conftest.err
40310 cat conftest.err >&5
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); } && {
40313 test -z "$ac_c_werror_flag" ||
40314 test ! -s conftest.err
40315 } && test -s conftest$ac_exeext &&
40316 $as_test_x conftest$ac_exeext; then
40317 eval wx_cv_func_$wx_func=yes
40319 echo "$as_me: failed program was:" >&5
40320 sed 's/^/| /' conftest.$ac_ext >&5
40322 eval wx_cv_func_$wx_func=no
40325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40326 conftest$ac_exeext conftest.$ac_ext
40329 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40330 { echo "$as_me:$LINENO: result: $ac_res" >&5
40331 echo "${ECHO_T}$ac_res" >&6; }
40333 if eval test \$wx_cv_func_$wx_func = yes
40335 cat >>confdefs.h <<_ACEOF
40336 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40346 if test "$wx_cv_func_uname" != yes; then
40348 for wx_func in gethostname
40350 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40351 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40352 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40353 echo $ECHO_N "(cached) $ECHO_C" >&6
40356 cat >conftest.$ac_ext <<_ACEOF
40360 cat confdefs.h >>conftest.$ac_ext
40361 cat >>conftest.$ac_ext <<_ACEOF
40362 /* end confdefs.h. */
40365 $ac_includes_default
40381 rm -f conftest.$ac_objext conftest$ac_exeext
40382 if { (ac_try="$ac_link"
40383 case "(($ac_try" in
40384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40385 *) ac_try_echo=$ac_try;;
40387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40388 (eval "$ac_link") 2>conftest.er1
40390 grep -v '^ *+' conftest.er1 >conftest.err
40392 cat conftest.err >&5
40393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40394 (exit $ac_status); } && {
40395 test -z "$ac_c_werror_flag" ||
40396 test ! -s conftest.err
40397 } && test -s conftest$ac_exeext &&
40398 $as_test_x conftest$ac_exeext; then
40399 eval wx_cv_func_$wx_func=yes
40401 echo "$as_me: failed program was:" >&5
40402 sed 's/^/| /' conftest.$ac_ext >&5
40404 eval wx_cv_func_$wx_func=no
40407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40408 conftest$ac_exeext conftest.$ac_ext
40411 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40412 { echo "$as_me:$LINENO: result: $ac_res" >&5
40413 echo "${ECHO_T}$ac_res" >&6; }
40415 if eval test \$wx_cv_func_$wx_func = yes
40417 cat >>confdefs.h <<_ACEOF
40418 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40431 for wx_func in strtok_r
40433 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40434 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40435 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40436 echo $ECHO_N "(cached) $ECHO_C" >&6
40439 cat >conftest.$ac_ext <<_ACEOF
40443 cat confdefs.h >>conftest.$ac_ext
40444 cat >>conftest.$ac_ext <<_ACEOF
40445 /* end confdefs.h. */
40448 $ac_includes_default
40464 rm -f conftest.$ac_objext conftest$ac_exeext
40465 if { (ac_try="$ac_link"
40466 case "(($ac_try" in
40467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40468 *) ac_try_echo=$ac_try;;
40470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40471 (eval "$ac_link") 2>conftest.er1
40473 grep -v '^ *+' conftest.er1 >conftest.err
40475 cat conftest.err >&5
40476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40477 (exit $ac_status); } && {
40478 test -z "$ac_c_werror_flag" ||
40479 test ! -s conftest.err
40480 } && test -s conftest$ac_exeext &&
40481 $as_test_x conftest$ac_exeext; then
40482 eval wx_cv_func_$wx_func=yes
40484 echo "$as_me: failed program was:" >&5
40485 sed 's/^/| /' conftest.$ac_ext >&5
40487 eval wx_cv_func_$wx_func=no
40490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40491 conftest$ac_exeext conftest.$ac_ext
40494 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40495 { echo "$as_me:$LINENO: result: $ac_res" >&5
40496 echo "${ECHO_T}$ac_res" >&6; }
40498 if eval test \$wx_cv_func_$wx_func = yes
40500 cat >>confdefs.h <<_ACEOF
40501 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40514 for ac_func in inet_addr
40516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40517 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40519 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40520 echo $ECHO_N "(cached) $ECHO_C" >&6
40522 cat >conftest.$ac_ext <<_ACEOF
40525 cat confdefs.h >>conftest.$ac_ext
40526 cat >>conftest.$ac_ext <<_ACEOF
40527 /* end confdefs.h. */
40528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40530 #define $ac_func innocuous_$ac_func
40532 /* System header to define __stub macros and hopefully few prototypes,
40533 which can conflict with char $ac_func (); below.
40534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40535 <limits.h> exists even on freestanding compilers. */
40538 # include <limits.h>
40540 # include <assert.h>
40545 /* Override any GCC internal prototype to avoid an error.
40546 Use char because int might match the return type of a GCC
40547 builtin and then its argument prototype would still apply. */
40552 /* The GNU C library defines this for functions which it implements
40553 to always fail with ENOSYS. Some functions are actually named
40554 something starting with __ and the normal name is an alias. */
40555 #if defined __stub_$ac_func || defined __stub___$ac_func
40562 return $ac_func ();
40567 rm -f conftest.$ac_objext conftest$ac_exeext
40568 if { (ac_try="$ac_link"
40569 case "(($ac_try" in
40570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40571 *) ac_try_echo=$ac_try;;
40573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40574 (eval "$ac_link") 2>conftest.er1
40576 grep -v '^ *+' conftest.er1 >conftest.err
40578 cat conftest.err >&5
40579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40580 (exit $ac_status); } && {
40581 test -z "$ac_c_werror_flag" ||
40582 test ! -s conftest.err
40583 } && test -s conftest$ac_exeext &&
40584 $as_test_x conftest$ac_exeext; then
40585 eval "$as_ac_var=yes"
40587 echo "$as_me: failed program was:" >&5
40588 sed 's/^/| /' conftest.$ac_ext >&5
40590 eval "$as_ac_var=no"
40593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40594 conftest$ac_exeext conftest.$ac_ext
40596 ac_res=`eval echo '${'$as_ac_var'}'`
40597 { echo "$as_me:$LINENO: result: $ac_res" >&5
40598 echo "${ECHO_T}$ac_res" >&6; }
40599 if test `eval echo '${'$as_ac_var'}'` = yes; then
40600 cat >>confdefs.h <<_ACEOF
40601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40603 cat >>confdefs.h <<\_ACEOF
40604 #define HAVE_INET_ADDR 1
40609 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40610 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40611 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40612 echo $ECHO_N "(cached) $ECHO_C" >&6
40614 ac_check_lib_save_LIBS=$LIBS
40616 cat >conftest.$ac_ext <<_ACEOF
40619 cat confdefs.h >>conftest.$ac_ext
40620 cat >>conftest.$ac_ext <<_ACEOF
40621 /* end confdefs.h. */
40623 /* Override any GCC internal prototype to avoid an error.
40624 Use char because int might match the return type of a GCC
40625 builtin and then its argument prototype would still apply. */
40633 return inet_addr ();
40638 rm -f conftest.$ac_objext conftest$ac_exeext
40639 if { (ac_try="$ac_link"
40640 case "(($ac_try" in
40641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40642 *) ac_try_echo=$ac_try;;
40644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40645 (eval "$ac_link") 2>conftest.er1
40647 grep -v '^ *+' conftest.er1 >conftest.err
40649 cat conftest.err >&5
40650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40651 (exit $ac_status); } && {
40652 test -z "$ac_c_werror_flag" ||
40653 test ! -s conftest.err
40654 } && test -s conftest$ac_exeext &&
40655 $as_test_x conftest$ac_exeext; then
40656 ac_cv_lib_nsl_inet_addr=yes
40658 echo "$as_me: failed program was:" >&5
40659 sed 's/^/| /' conftest.$ac_ext >&5
40661 ac_cv_lib_nsl_inet_addr=no
40664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40665 conftest$ac_exeext conftest.$ac_ext
40666 LIBS=$ac_check_lib_save_LIBS
40668 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40669 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40670 if test $ac_cv_lib_nsl_inet_addr = yes; then
40674 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40675 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40676 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40677 echo $ECHO_N "(cached) $ECHO_C" >&6
40679 ac_check_lib_save_LIBS=$LIBS
40680 LIBS="-lresolv $LIBS"
40681 cat >conftest.$ac_ext <<_ACEOF
40684 cat confdefs.h >>conftest.$ac_ext
40685 cat >>conftest.$ac_ext <<_ACEOF
40686 /* end confdefs.h. */
40688 /* Override any GCC internal prototype to avoid an error.
40689 Use char because int might match the return type of a GCC
40690 builtin and then its argument prototype would still apply. */
40698 return inet_addr ();
40703 rm -f conftest.$ac_objext conftest$ac_exeext
40704 if { (ac_try="$ac_link"
40705 case "(($ac_try" in
40706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40707 *) ac_try_echo=$ac_try;;
40709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40710 (eval "$ac_link") 2>conftest.er1
40712 grep -v '^ *+' conftest.er1 >conftest.err
40714 cat conftest.err >&5
40715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40716 (exit $ac_status); } && {
40717 test -z "$ac_c_werror_flag" ||
40718 test ! -s conftest.err
40719 } && test -s conftest$ac_exeext &&
40720 $as_test_x conftest$ac_exeext; then
40721 ac_cv_lib_resolv_inet_addr=yes
40723 echo "$as_me: failed program was:" >&5
40724 sed 's/^/| /' conftest.$ac_ext >&5
40726 ac_cv_lib_resolv_inet_addr=no
40729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40730 conftest$ac_exeext conftest.$ac_ext
40731 LIBS=$ac_check_lib_save_LIBS
40733 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40734 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40735 if test $ac_cv_lib_resolv_inet_addr = yes; then
40739 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40740 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40741 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40742 echo $ECHO_N "(cached) $ECHO_C" >&6
40744 ac_check_lib_save_LIBS=$LIBS
40745 LIBS="-lsocket $LIBS"
40746 cat >conftest.$ac_ext <<_ACEOF
40749 cat confdefs.h >>conftest.$ac_ext
40750 cat >>conftest.$ac_ext <<_ACEOF
40751 /* end confdefs.h. */
40753 /* Override any GCC internal prototype to avoid an error.
40754 Use char because int might match the return type of a GCC
40755 builtin and then its argument prototype would still apply. */
40763 return inet_addr ();
40768 rm -f conftest.$ac_objext conftest$ac_exeext
40769 if { (ac_try="$ac_link"
40770 case "(($ac_try" in
40771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40772 *) ac_try_echo=$ac_try;;
40774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40775 (eval "$ac_link") 2>conftest.er1
40777 grep -v '^ *+' conftest.er1 >conftest.err
40779 cat conftest.err >&5
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); } && {
40782 test -z "$ac_c_werror_flag" ||
40783 test ! -s conftest.err
40784 } && test -s conftest$ac_exeext &&
40785 $as_test_x conftest$ac_exeext; then
40786 ac_cv_lib_socket_inet_addr=yes
40788 echo "$as_me: failed program was:" >&5
40789 sed 's/^/| /' conftest.$ac_ext >&5
40791 ac_cv_lib_socket_inet_addr=no
40794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40795 conftest$ac_exeext conftest.$ac_ext
40796 LIBS=$ac_check_lib_save_LIBS
40798 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40799 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40800 if test $ac_cv_lib_socket_inet_addr = yes; then
40820 for ac_func in inet_aton
40822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40823 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40825 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40826 echo $ECHO_N "(cached) $ECHO_C" >&6
40828 cat >conftest.$ac_ext <<_ACEOF
40831 cat confdefs.h >>conftest.$ac_ext
40832 cat >>conftest.$ac_ext <<_ACEOF
40833 /* end confdefs.h. */
40834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40836 #define $ac_func innocuous_$ac_func
40838 /* System header to define __stub macros and hopefully few prototypes,
40839 which can conflict with char $ac_func (); below.
40840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40841 <limits.h> exists even on freestanding compilers. */
40844 # include <limits.h>
40846 # include <assert.h>
40851 /* Override any GCC internal prototype to avoid an error.
40852 Use char because int might match the return type of a GCC
40853 builtin and then its argument prototype would still apply. */
40858 /* The GNU C library defines this for functions which it implements
40859 to always fail with ENOSYS. Some functions are actually named
40860 something starting with __ and the normal name is an alias. */
40861 #if defined __stub_$ac_func || defined __stub___$ac_func
40868 return $ac_func ();
40873 rm -f conftest.$ac_objext conftest$ac_exeext
40874 if { (ac_try="$ac_link"
40875 case "(($ac_try" in
40876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40877 *) ac_try_echo=$ac_try;;
40879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40880 (eval "$ac_link") 2>conftest.er1
40882 grep -v '^ *+' conftest.er1 >conftest.err
40884 cat conftest.err >&5
40885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40886 (exit $ac_status); } && {
40887 test -z "$ac_c_werror_flag" ||
40888 test ! -s conftest.err
40889 } && test -s conftest$ac_exeext &&
40890 $as_test_x conftest$ac_exeext; then
40891 eval "$as_ac_var=yes"
40893 echo "$as_me: failed program was:" >&5
40894 sed 's/^/| /' conftest.$ac_ext >&5
40896 eval "$as_ac_var=no"
40899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40900 conftest$ac_exeext conftest.$ac_ext
40902 ac_res=`eval echo '${'$as_ac_var'}'`
40903 { echo "$as_me:$LINENO: result: $ac_res" >&5
40904 echo "${ECHO_T}$ac_res" >&6; }
40905 if test `eval echo '${'$as_ac_var'}'` = yes; then
40906 cat >>confdefs.h <<_ACEOF
40907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40909 cat >>confdefs.h <<\_ACEOF
40910 #define HAVE_INET_ATON 1
40915 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40916 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40917 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40918 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40919 echo $ECHO_N "(cached) $ECHO_C" >&6
40921 ac_check_lib_save_LIBS=$LIBS
40922 LIBS="-l$INET_LINK $LIBS"
40923 cat >conftest.$ac_ext <<_ACEOF
40926 cat confdefs.h >>conftest.$ac_ext
40927 cat >>conftest.$ac_ext <<_ACEOF
40928 /* end confdefs.h. */
40930 /* Override any GCC internal prototype to avoid an error.
40931 Use char because int might match the return type of a GCC
40932 builtin and then its argument prototype would still apply. */
40940 return inet_aton ();
40945 rm -f conftest.$ac_objext conftest$ac_exeext
40946 if { (ac_try="$ac_link"
40947 case "(($ac_try" in
40948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40949 *) ac_try_echo=$ac_try;;
40951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40952 (eval "$ac_link") 2>conftest.er1
40954 grep -v '^ *+' conftest.er1 >conftest.err
40956 cat conftest.err >&5
40957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40958 (exit $ac_status); } && {
40959 test -z "$ac_c_werror_flag" ||
40960 test ! -s conftest.err
40961 } && test -s conftest$ac_exeext &&
40962 $as_test_x conftest$ac_exeext; then
40963 eval "$as_ac_Lib=yes"
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40968 eval "$as_ac_Lib=no"
40971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40972 conftest$ac_exeext conftest.$ac_ext
40973 LIBS=$ac_check_lib_save_LIBS
40975 ac_res=`eval echo '${'$as_ac_Lib'}'`
40976 { echo "$as_me:$LINENO: result: $ac_res" >&5
40977 echo "${ECHO_T}$ac_res" >&6; }
40978 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40979 cat >>confdefs.h <<\_ACEOF
40980 #define HAVE_INET_ATON 1
40990 if test "x$INET_LINK" != "x"; then
40991 cat >>confdefs.h <<\_ACEOF
40992 #define HAVE_INET_ADDR 1
40995 INET_LINK=" -l$INET_LINK"
40999 for wx_func in fdopen
41001 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41002 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41003 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41004 echo $ECHO_N "(cached) $ECHO_C" >&6
41007 cat >conftest.$ac_ext <<_ACEOF
41011 cat confdefs.h >>conftest.$ac_ext
41012 cat >>conftest.$ac_ext <<_ACEOF
41013 /* end confdefs.h. */
41016 $ac_includes_default
41032 rm -f conftest.$ac_objext conftest$ac_exeext
41033 if { (ac_try="$ac_link"
41034 case "(($ac_try" in
41035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41036 *) ac_try_echo=$ac_try;;
41038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41039 (eval "$ac_link") 2>conftest.er1
41041 grep -v '^ *+' conftest.er1 >conftest.err
41043 cat conftest.err >&5
41044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41045 (exit $ac_status); } && {
41046 test -z "$ac_c_werror_flag" ||
41047 test ! -s conftest.err
41048 } && test -s conftest$ac_exeext &&
41049 $as_test_x conftest$ac_exeext; then
41050 eval wx_cv_func_$wx_func=yes
41052 echo "$as_me: failed program was:" >&5
41053 sed 's/^/| /' conftest.$ac_ext >&5
41055 eval wx_cv_func_$wx_func=no
41058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41059 conftest$ac_exeext conftest.$ac_ext
41062 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41063 { echo "$as_me:$LINENO: result: $ac_res" >&5
41064 echo "${ECHO_T}$ac_res" >&6; }
41066 if eval test \$wx_cv_func_$wx_func = yes
41068 cat >>confdefs.h <<_ACEOF
41069 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41084 cat >confcache <<\_ACEOF
41085 # This file is a shell script that caches the results of configure
41086 # tests run on this system so they can be shared between configure
41087 # scripts and configure runs, see configure's option --config-cache.
41088 # It is not useful on other systems. If it contains results you don't
41089 # want to keep, you may remove or edit it.
41091 # config.status only pays attention to the cache file if you give it
41092 # the --recheck option to rerun configure.
41094 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41095 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41096 # following values.
41100 # The following way of writing the cache mishandles newlines in values,
41101 # but we know of no workaround that is simple, portable, and efficient.
41102 # So, we kill variables containing newlines.
41103 # Ultrix sh set writes to stderr and can't be redirected directly,
41104 # and sets the high bit in the cache file unless we assign to the vars.
41106 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41107 eval ac_val=\$$ac_var
41111 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41112 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41115 _ | IFS | as_nl) ;; #(
41116 *) $as_unset $ac_var ;;
41122 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41123 *${as_nl}ac_space=\ *)
41124 # `set' does not quote correctly, so add quotes (double-quote
41125 # substitution turns \\\\ into \\, and sed turns \\ into \).
41128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41131 # `set' quotes correctly as required by POSIX, so do not add quotes.
41132 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41141 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41143 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41145 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41146 if test -w "$cache_file"; then
41147 test "x$cache_file" != "x/dev/null" &&
41148 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41149 echo "$as_me: updating cache $cache_file" >&6;}
41150 cat confcache >$cache_file
41152 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41153 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41159 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41165 if test "$wxUSE_THREADS" = "yes" ; then
41166 if test "$USE_BEOS" = 1; then
41167 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41168 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41173 if test "$wxUSE_THREADS" = "yes" ; then
41176 THREAD_OPTS="-pthread"
41177 if test "x$SUNCXX" = xyes; then
41178 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41182 *-*-solaris2* | *-*-sunos4* )
41183 if test "x$GCC" = "xyes"; then
41184 THREAD_OPTS="-pthreads $THREAD_OPTS"
41188 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41190 *-*-darwin* | *-*-cygwin* )
41194 THREAD_OPTS="pthreads"
41197 if test "x$GCC" = "xyes"; then
41198 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41206 if test "x$GCC" = "xyes"; then
41212 if test "x$GCC" != "xyes"; then
41213 THREAD_OPTS="-Ethread"
41218 THREAD_OPTS="$THREAD_OPTS pthread none"
41221 for flag in $THREAD_OPTS; do
41224 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41225 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41229 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41230 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41231 THREADS_CFLAGS="$flag"
41235 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41236 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41237 THREADS_LINK="-l$flag"
41242 save_CFLAGS="$CFLAGS"
41243 LIBS="$THREADS_LINK $LIBS"
41244 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41246 cat >conftest.$ac_ext <<_ACEOF
41249 cat confdefs.h >>conftest.$ac_ext
41250 cat >>conftest.$ac_ext <<_ACEOF
41251 /* end confdefs.h. */
41252 #include <pthread.h>
41256 pthread_create(0,0,0,0);
41261 rm -f conftest.$ac_objext conftest$ac_exeext
41262 if { (ac_try="$ac_link"
41263 case "(($ac_try" in
41264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41265 *) ac_try_echo=$ac_try;;
41267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41268 (eval "$ac_link") 2>conftest.er1
41270 grep -v '^ *+' conftest.er1 >conftest.err
41272 cat conftest.err >&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); } && {
41275 test -z "$ac_c_werror_flag" ||
41276 test ! -s conftest.err
41277 } && test -s conftest$ac_exeext &&
41278 $as_test_x conftest$ac_exeext; then
41281 echo "$as_me: failed program was:" >&5
41282 sed 's/^/| /' conftest.$ac_ext >&5
41287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41288 conftest$ac_exeext conftest.$ac_ext
41291 CFLAGS="$save_CFLAGS"
41293 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41294 echo "${ECHO_T}$THREADS_OK" >&6; }
41295 if test "x$THREADS_OK" = "xyes"; then
41303 if test "x$THREADS_OK" != "xyes"; then
41305 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41306 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41308 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41309 LIBS="$THREADS_LINK $LIBS"
41311 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41312 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41316 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41317 flag="-D_THREAD_SAFE"
41320 flag="-D_THREAD_SAFE"
41323 flag="-D_REENTRANT"
41324 if test "x$GCC" != "xyes"; then
41325 flag="$flag -D_RWSTD_MULTI_THREAD"
41328 *solaris* | alpha*-osf*)
41329 flag="-D_REENTRANT"
41332 { echo "$as_me:$LINENO: result: ${flag}" >&5
41333 echo "${ECHO_T}${flag}" >&6; }
41334 if test "x$flag" != xno; then
41335 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41338 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41342 if test "$wxUSE_THREADS" = "yes" ; then
41344 for ac_func in thr_setconcurrency
41346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41347 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41349 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41350 echo $ECHO_N "(cached) $ECHO_C" >&6
41352 cat >conftest.$ac_ext <<_ACEOF
41355 cat confdefs.h >>conftest.$ac_ext
41356 cat >>conftest.$ac_ext <<_ACEOF
41357 /* end confdefs.h. */
41358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41360 #define $ac_func innocuous_$ac_func
41362 /* System header to define __stub macros and hopefully few prototypes,
41363 which can conflict with char $ac_func (); below.
41364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41365 <limits.h> exists even on freestanding compilers. */
41368 # include <limits.h>
41370 # include <assert.h>
41375 /* Override any GCC internal prototype to avoid an error.
41376 Use char because int might match the return type of a GCC
41377 builtin and then its argument prototype would still apply. */
41382 /* The GNU C library defines this for functions which it implements
41383 to always fail with ENOSYS. Some functions are actually named
41384 something starting with __ and the normal name is an alias. */
41385 #if defined __stub_$ac_func || defined __stub___$ac_func
41392 return $ac_func ();
41397 rm -f conftest.$ac_objext conftest$ac_exeext
41398 if { (ac_try="$ac_link"
41399 case "(($ac_try" in
41400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41401 *) ac_try_echo=$ac_try;;
41403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41404 (eval "$ac_link") 2>conftest.er1
41406 grep -v '^ *+' conftest.er1 >conftest.err
41408 cat conftest.err >&5
41409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41410 (exit $ac_status); } && {
41411 test -z "$ac_c_werror_flag" ||
41412 test ! -s conftest.err
41413 } && test -s conftest$ac_exeext &&
41414 $as_test_x conftest$ac_exeext; then
41415 eval "$as_ac_var=yes"
41417 echo "$as_me: failed program was:" >&5
41418 sed 's/^/| /' conftest.$ac_ext >&5
41420 eval "$as_ac_var=no"
41423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41424 conftest$ac_exeext conftest.$ac_ext
41426 ac_res=`eval echo '${'$as_ac_var'}'`
41427 { echo "$as_me:$LINENO: result: $ac_res" >&5
41428 echo "${ECHO_T}$ac_res" >&6; }
41429 if test `eval echo '${'$as_ac_var'}'` = yes; then
41430 cat >>confdefs.h <<_ACEOF
41431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41438 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41439 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41440 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41441 echo $ECHO_N "(cached) $ECHO_C" >&6
41445 ac_cpp='$CXXCPP $CPPFLAGS'
41446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41450 cat >conftest.$ac_ext <<_ACEOF
41453 cat confdefs.h >>conftest.$ac_ext
41454 cat >>conftest.$ac_ext <<_ACEOF
41455 /* end confdefs.h. */
41456 #include <pthread.h>
41457 void ThreadCleanupFunc(void *p);
41464 pthread_cleanup_push(ThreadCleanupFunc, p);
41465 pthread_cleanup_pop(0);
41471 rm -f conftest.$ac_objext
41472 if { (ac_try="$ac_compile"
41473 case "(($ac_try" in
41474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41475 *) ac_try_echo=$ac_try;;
41477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41478 (eval "$ac_compile") 2>conftest.er1
41480 grep -v '^ *+' conftest.er1 >conftest.err
41482 cat conftest.err >&5
41483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41484 (exit $ac_status); } && {
41485 test -z "$ac_cxx_werror_flag" ||
41486 test ! -s conftest.err
41487 } && test -s conftest.$ac_objext; then
41489 wx_cv_func_pthread_cleanup=yes
41492 echo "$as_me: failed program was:" >&5
41493 sed 's/^/| /' conftest.$ac_ext >&5
41496 wx_cv_func_pthread_cleanup=no
41501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41503 ac_cpp='$CPP $CPPFLAGS'
41504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41510 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41511 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41512 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41513 cat >>confdefs.h <<\_ACEOF
41514 #define wxHAVE_PTHREAD_CLEANUP 1
41519 { echo "$as_me:$LINENO: checking for sched.h" >&5
41520 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
41521 if test "${ac_cv_header_sched_h+set}" = set; then
41522 echo $ECHO_N "(cached) $ECHO_C" >&6
41524 cat >conftest.$ac_ext <<_ACEOF
41527 cat confdefs.h >>conftest.$ac_ext
41528 cat >>conftest.$ac_ext <<_ACEOF
41529 /* end confdefs.h. */
41530 $ac_includes_default
41534 rm -f conftest.$ac_objext
41535 if { (ac_try="$ac_compile"
41536 case "(($ac_try" in
41537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41538 *) ac_try_echo=$ac_try;;
41540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41541 (eval "$ac_compile") 2>conftest.er1
41543 grep -v '^ *+' conftest.er1 >conftest.err
41545 cat conftest.err >&5
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); } && {
41548 test -z "$ac_c_werror_flag" ||
41549 test ! -s conftest.err
41550 } && test -s conftest.$ac_objext; then
41551 ac_cv_header_sched_h=yes
41553 echo "$as_me: failed program was:" >&5
41554 sed 's/^/| /' conftest.$ac_ext >&5
41556 ac_cv_header_sched_h=no
41559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41561 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
41562 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
41565 if test "$ac_cv_header_sched_h" = "yes"; then
41566 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41567 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41568 if test "${ac_cv_func_sched_yield+set}" = set; then
41569 echo $ECHO_N "(cached) $ECHO_C" >&6
41571 cat >conftest.$ac_ext <<_ACEOF
41574 cat confdefs.h >>conftest.$ac_ext
41575 cat >>conftest.$ac_ext <<_ACEOF
41576 /* end confdefs.h. */
41577 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41579 #define sched_yield innocuous_sched_yield
41581 /* System header to define __stub macros and hopefully few prototypes,
41582 which can conflict with char sched_yield (); below.
41583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41584 <limits.h> exists even on freestanding compilers. */
41587 # include <limits.h>
41589 # include <assert.h>
41594 /* Override any GCC internal prototype to avoid an error.
41595 Use char because int might match the return type of a GCC
41596 builtin and then its argument prototype would still apply. */
41600 char sched_yield ();
41601 /* The GNU C library defines this for functions which it implements
41602 to always fail with ENOSYS. Some functions are actually named
41603 something starting with __ and the normal name is an alias. */
41604 #if defined __stub_sched_yield || defined __stub___sched_yield
41611 return sched_yield ();
41616 rm -f conftest.$ac_objext conftest$ac_exeext
41617 if { (ac_try="$ac_link"
41618 case "(($ac_try" in
41619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41620 *) ac_try_echo=$ac_try;;
41622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41623 (eval "$ac_link") 2>conftest.er1
41625 grep -v '^ *+' conftest.er1 >conftest.err
41627 cat conftest.err >&5
41628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41629 (exit $ac_status); } && {
41630 test -z "$ac_c_werror_flag" ||
41631 test ! -s conftest.err
41632 } && test -s conftest$ac_exeext &&
41633 $as_test_x conftest$ac_exeext; then
41634 ac_cv_func_sched_yield=yes
41636 echo "$as_me: failed program was:" >&5
41637 sed 's/^/| /' conftest.$ac_ext >&5
41639 ac_cv_func_sched_yield=no
41642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41643 conftest$ac_exeext conftest.$ac_ext
41645 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41646 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41647 if test $ac_cv_func_sched_yield = yes; then
41648 cat >>confdefs.h <<\_ACEOF
41649 #define HAVE_SCHED_YIELD 1
41654 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41655 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41656 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41657 echo $ECHO_N "(cached) $ECHO_C" >&6
41659 ac_check_lib_save_LIBS=$LIBS
41660 LIBS="-lposix4 $LIBS"
41661 cat >conftest.$ac_ext <<_ACEOF
41664 cat confdefs.h >>conftest.$ac_ext
41665 cat >>conftest.$ac_ext <<_ACEOF
41666 /* end confdefs.h. */
41668 /* Override any GCC internal prototype to avoid an error.
41669 Use char because int might match the return type of a GCC
41670 builtin and then its argument prototype would still apply. */
41674 char sched_yield ();
41678 return sched_yield ();
41683 rm -f conftest.$ac_objext conftest$ac_exeext
41684 if { (ac_try="$ac_link"
41685 case "(($ac_try" in
41686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41687 *) ac_try_echo=$ac_try;;
41689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41690 (eval "$ac_link") 2>conftest.er1
41692 grep -v '^ *+' conftest.er1 >conftest.err
41694 cat conftest.err >&5
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); } && {
41697 test -z "$ac_c_werror_flag" ||
41698 test ! -s conftest.err
41699 } && test -s conftest$ac_exeext &&
41700 $as_test_x conftest$ac_exeext; then
41701 ac_cv_lib_posix4_sched_yield=yes
41703 echo "$as_me: failed program was:" >&5
41704 sed 's/^/| /' conftest.$ac_ext >&5
41706 ac_cv_lib_posix4_sched_yield=no
41709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41710 conftest$ac_exeext conftest.$ac_ext
41711 LIBS=$ac_check_lib_save_LIBS
41713 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41714 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41715 if test $ac_cv_lib_posix4_sched_yield = yes; then
41716 cat >>confdefs.h <<\_ACEOF
41717 #define HAVE_SCHED_YIELD 1
41719 POSIX4_LINK=" -lposix4"
41721 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41722 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41733 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41734 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41735 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41736 echo $ECHO_N "(cached) $ECHO_C" >&6
41738 cat >conftest.$ac_ext <<_ACEOF
41741 cat confdefs.h >>conftest.$ac_ext
41742 cat >>conftest.$ac_ext <<_ACEOF
41743 /* end confdefs.h. */
41744 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41746 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41748 /* System header to define __stub macros and hopefully few prototypes,
41749 which can conflict with char pthread_attr_getschedpolicy (); below.
41750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41751 <limits.h> exists even on freestanding compilers. */
41754 # include <limits.h>
41756 # include <assert.h>
41759 #undef pthread_attr_getschedpolicy
41761 /* Override any GCC internal prototype to avoid an error.
41762 Use char because int might match the return type of a GCC
41763 builtin and then its argument prototype would still apply. */
41767 char pthread_attr_getschedpolicy ();
41768 /* The GNU C library defines this for functions which it implements
41769 to always fail with ENOSYS. Some functions are actually named
41770 something starting with __ and the normal name is an alias. */
41771 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41778 return pthread_attr_getschedpolicy ();
41783 rm -f conftest.$ac_objext conftest$ac_exeext
41784 if { (ac_try="$ac_link"
41785 case "(($ac_try" in
41786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41787 *) ac_try_echo=$ac_try;;
41789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41790 (eval "$ac_link") 2>conftest.er1
41792 grep -v '^ *+' conftest.er1 >conftest.err
41794 cat conftest.err >&5
41795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41796 (exit $ac_status); } && {
41797 test -z "$ac_c_werror_flag" ||
41798 test ! -s conftest.err
41799 } && test -s conftest$ac_exeext &&
41800 $as_test_x conftest$ac_exeext; then
41801 ac_cv_func_pthread_attr_getschedpolicy=yes
41803 echo "$as_me: failed program was:" >&5
41804 sed 's/^/| /' conftest.$ac_ext >&5
41806 ac_cv_func_pthread_attr_getschedpolicy=no
41809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41810 conftest$ac_exeext conftest.$ac_ext
41812 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41813 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41814 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41815 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41816 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41817 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41818 echo $ECHO_N "(cached) $ECHO_C" >&6
41820 cat >conftest.$ac_ext <<_ACEOF
41823 cat confdefs.h >>conftest.$ac_ext
41824 cat >>conftest.$ac_ext <<_ACEOF
41825 /* end confdefs.h. */
41826 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41828 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41830 /* System header to define __stub macros and hopefully few prototypes,
41831 which can conflict with char pthread_attr_setschedparam (); below.
41832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41833 <limits.h> exists even on freestanding compilers. */
41836 # include <limits.h>
41838 # include <assert.h>
41841 #undef pthread_attr_setschedparam
41843 /* Override any GCC internal prototype to avoid an error.
41844 Use char because int might match the return type of a GCC
41845 builtin and then its argument prototype would still apply. */
41849 char pthread_attr_setschedparam ();
41850 /* The GNU C library defines this for functions which it implements
41851 to always fail with ENOSYS. Some functions are actually named
41852 something starting with __ and the normal name is an alias. */
41853 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41860 return pthread_attr_setschedparam ();
41865 rm -f conftest.$ac_objext conftest$ac_exeext
41866 if { (ac_try="$ac_link"
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_link") 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_exeext &&
41882 $as_test_x conftest$ac_exeext; then
41883 ac_cv_func_pthread_attr_setschedparam=yes
41885 echo "$as_me: failed program was:" >&5
41886 sed 's/^/| /' conftest.$ac_ext >&5
41888 ac_cv_func_pthread_attr_setschedparam=no
41891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41892 conftest$ac_exeext conftest.$ac_ext
41894 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41895 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41896 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41897 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41898 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41899 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41900 echo $ECHO_N "(cached) $ECHO_C" >&6
41902 cat >conftest.$ac_ext <<_ACEOF
41905 cat confdefs.h >>conftest.$ac_ext
41906 cat >>conftest.$ac_ext <<_ACEOF
41907 /* end confdefs.h. */
41908 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41910 #define sched_get_priority_max innocuous_sched_get_priority_max
41912 /* System header to define __stub macros and hopefully few prototypes,
41913 which can conflict with char sched_get_priority_max (); below.
41914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41915 <limits.h> exists even on freestanding compilers. */
41918 # include <limits.h>
41920 # include <assert.h>
41923 #undef sched_get_priority_max
41925 /* Override any GCC internal prototype to avoid an error.
41926 Use char because int might match the return type of a GCC
41927 builtin and then its argument prototype would still apply. */
41931 char sched_get_priority_max ();
41932 /* The GNU C library defines this for functions which it implements
41933 to always fail with ENOSYS. Some functions are actually named
41934 something starting with __ and the normal name is an alias. */
41935 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41942 return sched_get_priority_max ();
41947 rm -f conftest.$ac_objext conftest$ac_exeext
41948 if { (ac_try="$ac_link"
41949 case "(($ac_try" in
41950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41951 *) ac_try_echo=$ac_try;;
41953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41954 (eval "$ac_link") 2>conftest.er1
41956 grep -v '^ *+' conftest.er1 >conftest.err
41958 cat conftest.err >&5
41959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41960 (exit $ac_status); } && {
41961 test -z "$ac_c_werror_flag" ||
41962 test ! -s conftest.err
41963 } && test -s conftest$ac_exeext &&
41964 $as_test_x conftest$ac_exeext; then
41965 ac_cv_func_sched_get_priority_max=yes
41967 echo "$as_me: failed program was:" >&5
41968 sed 's/^/| /' conftest.$ac_ext >&5
41970 ac_cv_func_sched_get_priority_max=no
41973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41974 conftest$ac_exeext conftest.$ac_ext
41976 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41977 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41978 if test $ac_cv_func_sched_get_priority_max = yes; then
41981 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41982 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41983 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41984 echo $ECHO_N "(cached) $ECHO_C" >&6
41986 ac_check_lib_save_LIBS=$LIBS
41987 LIBS="-lposix4 $LIBS"
41988 cat >conftest.$ac_ext <<_ACEOF
41991 cat confdefs.h >>conftest.$ac_ext
41992 cat >>conftest.$ac_ext <<_ACEOF
41993 /* end confdefs.h. */
41995 /* Override any GCC internal prototype to avoid an error.
41996 Use char because int might match the return type of a GCC
41997 builtin and then its argument prototype would still apply. */
42001 char sched_get_priority_max ();
42005 return sched_get_priority_max ();
42010 rm -f conftest.$ac_objext conftest$ac_exeext
42011 if { (ac_try="$ac_link"
42012 case "(($ac_try" in
42013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42014 *) ac_try_echo=$ac_try;;
42016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42017 (eval "$ac_link") 2>conftest.er1
42019 grep -v '^ *+' conftest.er1 >conftest.err
42021 cat conftest.err >&5
42022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42023 (exit $ac_status); } && {
42024 test -z "$ac_c_werror_flag" ||
42025 test ! -s conftest.err
42026 } && test -s conftest$ac_exeext &&
42027 $as_test_x conftest$ac_exeext; then
42028 ac_cv_lib_posix4_sched_get_priority_max=yes
42030 echo "$as_me: failed program was:" >&5
42031 sed 's/^/| /' conftest.$ac_ext >&5
42033 ac_cv_lib_posix4_sched_get_priority_max=no
42036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42037 conftest$ac_exeext conftest.$ac_ext
42038 LIBS=$ac_check_lib_save_LIBS
42040 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42041 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42042 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42045 POSIX4_LINK=" -lposix4"
42059 if test "$HAVE_PRIOR_FUNCS" = 1; then
42060 cat >>confdefs.h <<\_ACEOF
42061 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42065 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42066 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42069 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42070 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42071 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42072 echo $ECHO_N "(cached) $ECHO_C" >&6
42074 cat >conftest.$ac_ext <<_ACEOF
42077 cat confdefs.h >>conftest.$ac_ext
42078 cat >>conftest.$ac_ext <<_ACEOF
42079 /* end confdefs.h. */
42080 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42082 #define pthread_cancel innocuous_pthread_cancel
42084 /* System header to define __stub macros and hopefully few prototypes,
42085 which can conflict with char pthread_cancel (); below.
42086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42087 <limits.h> exists even on freestanding compilers. */
42090 # include <limits.h>
42092 # include <assert.h>
42095 #undef pthread_cancel
42097 /* Override any GCC internal prototype to avoid an error.
42098 Use char because int might match the return type of a GCC
42099 builtin and then its argument prototype would still apply. */
42103 char pthread_cancel ();
42104 /* The GNU C library defines this for functions which it implements
42105 to always fail with ENOSYS. Some functions are actually named
42106 something starting with __ and the normal name is an alias. */
42107 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42114 return pthread_cancel ();
42119 rm -f conftest.$ac_objext conftest$ac_exeext
42120 if { (ac_try="$ac_link"
42121 case "(($ac_try" in
42122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42123 *) ac_try_echo=$ac_try;;
42125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42126 (eval "$ac_link") 2>conftest.er1
42128 grep -v '^ *+' conftest.er1 >conftest.err
42130 cat conftest.err >&5
42131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42132 (exit $ac_status); } && {
42133 test -z "$ac_c_werror_flag" ||
42134 test ! -s conftest.err
42135 } && test -s conftest$ac_exeext &&
42136 $as_test_x conftest$ac_exeext; then
42137 ac_cv_func_pthread_cancel=yes
42139 echo "$as_me: failed program was:" >&5
42140 sed 's/^/| /' conftest.$ac_ext >&5
42142 ac_cv_func_pthread_cancel=no
42145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42146 conftest$ac_exeext conftest.$ac_ext
42148 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42149 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42150 if test $ac_cv_func_pthread_cancel = yes; then
42151 cat >>confdefs.h <<\_ACEOF
42152 #define HAVE_PTHREAD_CANCEL 1
42156 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42157 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42161 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42162 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42163 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42164 echo $ECHO_N "(cached) $ECHO_C" >&6
42166 cat >conftest.$ac_ext <<_ACEOF
42169 cat confdefs.h >>conftest.$ac_ext
42170 cat >>conftest.$ac_ext <<_ACEOF
42171 /* end confdefs.h. */
42172 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42174 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42176 /* System header to define __stub macros and hopefully few prototypes,
42177 which can conflict with char pthread_mutex_timedlock (); below.
42178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42179 <limits.h> exists even on freestanding compilers. */
42182 # include <limits.h>
42184 # include <assert.h>
42187 #undef pthread_mutex_timedlock
42189 /* Override any GCC internal prototype to avoid an error.
42190 Use char because int might match the return type of a GCC
42191 builtin and then its argument prototype would still apply. */
42195 char pthread_mutex_timedlock ();
42196 /* The GNU C library defines this for functions which it implements
42197 to always fail with ENOSYS. Some functions are actually named
42198 something starting with __ and the normal name is an alias. */
42199 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42206 return pthread_mutex_timedlock ();
42211 rm -f conftest.$ac_objext conftest$ac_exeext
42212 if { (ac_try="$ac_link"
42213 case "(($ac_try" in
42214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42215 *) ac_try_echo=$ac_try;;
42217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42218 (eval "$ac_link") 2>conftest.er1
42220 grep -v '^ *+' conftest.er1 >conftest.err
42222 cat conftest.err >&5
42223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42224 (exit $ac_status); } && {
42225 test -z "$ac_c_werror_flag" ||
42226 test ! -s conftest.err
42227 } && test -s conftest$ac_exeext &&
42228 $as_test_x conftest$ac_exeext; then
42229 ac_cv_func_pthread_mutex_timedlock=yes
42231 echo "$as_me: failed program was:" >&5
42232 sed 's/^/| /' conftest.$ac_ext >&5
42234 ac_cv_func_pthread_mutex_timedlock=no
42237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42238 conftest$ac_exeext conftest.$ac_ext
42240 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42241 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42242 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42243 cat >>confdefs.h <<\_ACEOF
42244 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42248 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42249 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42253 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42254 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42255 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42256 echo $ECHO_N "(cached) $ECHO_C" >&6
42258 cat >conftest.$ac_ext <<_ACEOF
42261 cat confdefs.h >>conftest.$ac_ext
42262 cat >>conftest.$ac_ext <<_ACEOF
42263 /* end confdefs.h. */
42264 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42266 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42268 /* System header to define __stub macros and hopefully few prototypes,
42269 which can conflict with char pthread_attr_setstacksize (); below.
42270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42271 <limits.h> exists even on freestanding compilers. */
42274 # include <limits.h>
42276 # include <assert.h>
42279 #undef pthread_attr_setstacksize
42281 /* Override any GCC internal prototype to avoid an error.
42282 Use char because int might match the return type of a GCC
42283 builtin and then its argument prototype would still apply. */
42287 char pthread_attr_setstacksize ();
42288 /* The GNU C library defines this for functions which it implements
42289 to always fail with ENOSYS. Some functions are actually named
42290 something starting with __ and the normal name is an alias. */
42291 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42298 return pthread_attr_setstacksize ();
42303 rm -f conftest.$ac_objext conftest$ac_exeext
42304 if { (ac_try="$ac_link"
42305 case "(($ac_try" in
42306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42307 *) ac_try_echo=$ac_try;;
42309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42310 (eval "$ac_link") 2>conftest.er1
42312 grep -v '^ *+' conftest.er1 >conftest.err
42314 cat conftest.err >&5
42315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42316 (exit $ac_status); } && {
42317 test -z "$ac_c_werror_flag" ||
42318 test ! -s conftest.err
42319 } && test -s conftest$ac_exeext &&
42320 $as_test_x conftest$ac_exeext; then
42321 ac_cv_func_pthread_attr_setstacksize=yes
42323 echo "$as_me: failed program was:" >&5
42324 sed 's/^/| /' conftest.$ac_ext >&5
42326 ac_cv_func_pthread_attr_setstacksize=no
42329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42330 conftest$ac_exeext conftest.$ac_ext
42332 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42333 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42334 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42335 cat >>confdefs.h <<\_ACEOF
42336 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42343 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42344 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42345 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42346 echo $ECHO_N "(cached) $ECHO_C" >&6
42349 cat >conftest.$ac_ext <<_ACEOF
42352 cat confdefs.h >>conftest.$ac_ext
42353 cat >>conftest.$ac_ext <<_ACEOF
42354 /* end confdefs.h. */
42355 #include <pthread.h>
42360 pthread_mutexattr_t attr;
42361 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42367 rm -f conftest.$ac_objext
42368 if { (ac_try="$ac_compile"
42369 case "(($ac_try" in
42370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42371 *) ac_try_echo=$ac_try;;
42373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42374 (eval "$ac_compile") 2>conftest.er1
42376 grep -v '^ *+' conftest.er1 >conftest.err
42378 cat conftest.err >&5
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); } && {
42381 test -z "$ac_c_werror_flag" ||
42382 test ! -s conftest.err
42383 } && test -s conftest.$ac_objext; then
42384 wx_cv_type_pthread_mutexattr_t=yes
42386 echo "$as_me: failed program was:" >&5
42387 sed 's/^/| /' conftest.$ac_ext >&5
42389 wx_cv_type_pthread_mutexattr_t=no
42393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42396 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42397 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42399 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42400 cat >>confdefs.h <<\_ACEOF
42401 #define HAVE_PTHREAD_MUTEXATTR_T 1
42405 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42406 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42407 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42408 echo $ECHO_N "(cached) $ECHO_C" >&6
42411 cat >conftest.$ac_ext <<_ACEOF
42414 cat confdefs.h >>conftest.$ac_ext
42415 cat >>conftest.$ac_ext <<_ACEOF
42416 /* end confdefs.h. */
42417 #include <pthread.h>
42422 pthread_mutexattr_t attr;
42423 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42429 rm -f conftest.$ac_objext
42430 if { (ac_try="$ac_compile"
42431 case "(($ac_try" in
42432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42433 *) ac_try_echo=$ac_try;;
42435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42436 (eval "$ac_compile") 2>conftest.er1
42438 grep -v '^ *+' conftest.er1 >conftest.err
42440 cat conftest.err >&5
42441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42442 (exit $ac_status); } && {
42443 test -z "$ac_c_werror_flag" ||
42444 test ! -s conftest.err
42445 } && test -s conftest.$ac_objext; then
42446 wx_cv_func_pthread_mutexattr_settype_decl=yes
42448 echo "$as_me: failed program was:" >&5
42449 sed 's/^/| /' conftest.$ac_ext >&5
42451 wx_cv_func_pthread_mutexattr_settype_decl=no
42455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42458 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42459 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42460 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42461 cat >>confdefs.h <<\_ACEOF
42462 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42467 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42468 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42469 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42470 echo $ECHO_N "(cached) $ECHO_C" >&6
42473 cat >conftest.$ac_ext <<_ACEOF
42476 cat confdefs.h >>conftest.$ac_ext
42477 cat >>conftest.$ac_ext <<_ACEOF
42478 /* end confdefs.h. */
42479 #include <pthread.h>
42484 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42490 rm -f conftest.$ac_objext
42491 if { (ac_try="$ac_compile"
42492 case "(($ac_try" in
42493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42494 *) ac_try_echo=$ac_try;;
42496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42497 (eval "$ac_compile") 2>conftest.er1
42499 grep -v '^ *+' conftest.er1 >conftest.err
42501 cat conftest.err >&5
42502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42503 (exit $ac_status); } && {
42504 test -z "$ac_c_werror_flag" ||
42505 test ! -s conftest.err
42506 } && test -s conftest.$ac_objext; then
42508 wx_cv_type_pthread_rec_mutex_init=yes
42511 echo "$as_me: failed program was:" >&5
42512 sed 's/^/| /' conftest.$ac_ext >&5
42515 wx_cv_type_pthread_rec_mutex_init=no
42520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42523 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42524 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42525 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42526 cat >>confdefs.h <<\_ACEOF
42527 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42531 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42532 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42538 if test "$wxUSE_THREADS" = "yes" ; then
42541 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42542 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42543 if test "${wx_cv_cflags_mthread+set}" = set; then
42544 echo $ECHO_N "(cached) $ECHO_C" >&6
42547 CFLAGS_OLD="$CFLAGS"
42548 CFLAGS="-mthreads $CFLAGS"
42549 cat >conftest.$ac_ext <<_ACEOF
42552 cat confdefs.h >>conftest.$ac_ext
42553 cat >>conftest.$ac_ext <<_ACEOF
42554 /* end confdefs.h. */
42564 rm -f conftest.$ac_objext
42565 if { (ac_try="$ac_compile"
42566 case "(($ac_try" in
42567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42568 *) ac_try_echo=$ac_try;;
42570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42571 (eval "$ac_compile") 2>conftest.er1
42573 grep -v '^ *+' conftest.er1 >conftest.err
42575 cat conftest.err >&5
42576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42577 (exit $ac_status); } && {
42578 test -z "$ac_c_werror_flag" ||
42579 test ! -s conftest.err
42580 } && test -s conftest.$ac_objext; then
42581 wx_cv_cflags_mthread=yes
42583 echo "$as_me: failed program was:" >&5
42584 sed 's/^/| /' conftest.$ac_ext >&5
42586 wx_cv_cflags_mthread=no
42590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42594 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42595 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42597 if test "$wx_cv_cflags_mthread" = "yes"; then
42598 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42599 LDFLAGS="$LDFLAGS -mthreads"
42601 CFLAGS="$CFLAGS_OLD"
42605 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42606 LDFLAGS="$LDFLAGS -Zmt"
42612 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42613 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42614 if test "${ac_cv_func_localtime_r+set}" = set; then
42615 echo $ECHO_N "(cached) $ECHO_C" >&6
42617 cat >conftest.$ac_ext <<_ACEOF
42620 cat confdefs.h >>conftest.$ac_ext
42621 cat >>conftest.$ac_ext <<_ACEOF
42622 /* end confdefs.h. */
42623 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42625 #define localtime_r innocuous_localtime_r
42627 /* System header to define __stub macros and hopefully few prototypes,
42628 which can conflict with char localtime_r (); below.
42629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42630 <limits.h> exists even on freestanding compilers. */
42633 # include <limits.h>
42635 # include <assert.h>
42640 /* Override any GCC internal prototype to avoid an error.
42641 Use char because int might match the return type of a GCC
42642 builtin and then its argument prototype would still apply. */
42646 char localtime_r ();
42647 /* The GNU C library defines this for functions which it implements
42648 to always fail with ENOSYS. Some functions are actually named
42649 something starting with __ and the normal name is an alias. */
42650 #if defined __stub_localtime_r || defined __stub___localtime_r
42657 return localtime_r ();
42662 rm -f conftest.$ac_objext conftest$ac_exeext
42663 if { (ac_try="$ac_link"
42664 case "(($ac_try" in
42665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42666 *) ac_try_echo=$ac_try;;
42668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42669 (eval "$ac_link") 2>conftest.er1
42671 grep -v '^ *+' conftest.er1 >conftest.err
42673 cat conftest.err >&5
42674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42675 (exit $ac_status); } && {
42676 test -z "$ac_c_werror_flag" ||
42677 test ! -s conftest.err
42678 } && test -s conftest$ac_exeext &&
42679 $as_test_x conftest$ac_exeext; then
42680 ac_cv_func_localtime_r=yes
42682 echo "$as_me: failed program was:" >&5
42683 sed 's/^/| /' conftest.$ac_ext >&5
42685 ac_cv_func_localtime_r=no
42688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42689 conftest$ac_exeext conftest.$ac_ext
42691 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42692 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42693 if test $ac_cv_func_localtime_r = yes; then
42694 cat >>confdefs.h <<\_ACEOF
42695 #define HAVE_LOCALTIME_R 1
42700 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42701 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42702 if test "${ac_cv_func_gmtime_r+set}" = set; then
42703 echo $ECHO_N "(cached) $ECHO_C" >&6
42705 cat >conftest.$ac_ext <<_ACEOF
42708 cat confdefs.h >>conftest.$ac_ext
42709 cat >>conftest.$ac_ext <<_ACEOF
42710 /* end confdefs.h. */
42711 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42713 #define gmtime_r innocuous_gmtime_r
42715 /* System header to define __stub macros and hopefully few prototypes,
42716 which can conflict with char gmtime_r (); below.
42717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42718 <limits.h> exists even on freestanding compilers. */
42721 # include <limits.h>
42723 # include <assert.h>
42728 /* Override any GCC internal prototype to avoid an error.
42729 Use char because int might match the return type of a GCC
42730 builtin and then its argument prototype would still apply. */
42735 /* The GNU C library defines this for functions which it implements
42736 to always fail with ENOSYS. Some functions are actually named
42737 something starting with __ and the normal name is an alias. */
42738 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42745 return gmtime_r ();
42750 rm -f conftest.$ac_objext conftest$ac_exeext
42751 if { (ac_try="$ac_link"
42752 case "(($ac_try" in
42753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42754 *) ac_try_echo=$ac_try;;
42756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42757 (eval "$ac_link") 2>conftest.er1
42759 grep -v '^ *+' conftest.er1 >conftest.err
42761 cat conftest.err >&5
42762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42763 (exit $ac_status); } && {
42764 test -z "$ac_c_werror_flag" ||
42765 test ! -s conftest.err
42766 } && test -s conftest$ac_exeext &&
42767 $as_test_x conftest$ac_exeext; then
42768 ac_cv_func_gmtime_r=yes
42770 echo "$as_me: failed program was:" >&5
42771 sed 's/^/| /' conftest.$ac_ext >&5
42773 ac_cv_func_gmtime_r=no
42776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42777 conftest$ac_exeext conftest.$ac_ext
42779 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42780 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42781 if test $ac_cv_func_gmtime_r = yes; then
42782 cat >>confdefs.h <<\_ACEOF
42783 #define HAVE_GMTIME_R 1
42788 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42789 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42790 if test "${ac_cv_func_readdir_r+set}" = set; then
42791 echo $ECHO_N "(cached) $ECHO_C" >&6
42793 cat >conftest.$ac_ext <<_ACEOF
42796 cat confdefs.h >>conftest.$ac_ext
42797 cat >>conftest.$ac_ext <<_ACEOF
42798 /* end confdefs.h. */
42799 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42801 #define readdir_r innocuous_readdir_r
42803 /* System header to define __stub macros and hopefully few prototypes,
42804 which can conflict with char readdir_r (); below.
42805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42806 <limits.h> exists even on freestanding compilers. */
42809 # include <limits.h>
42811 # include <assert.h>
42816 /* Override any GCC internal prototype to avoid an error.
42817 Use char because int might match the return type of a GCC
42818 builtin and then its argument prototype would still apply. */
42823 /* The GNU C library defines this for functions which it implements
42824 to always fail with ENOSYS. Some functions are actually named
42825 something starting with __ and the normal name is an alias. */
42826 #if defined __stub_readdir_r || defined __stub___readdir_r
42833 return readdir_r ();
42838 rm -f conftest.$ac_objext conftest$ac_exeext
42839 if { (ac_try="$ac_link"
42840 case "(($ac_try" in
42841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42842 *) ac_try_echo=$ac_try;;
42844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42845 (eval "$ac_link") 2>conftest.er1
42847 grep -v '^ *+' conftest.er1 >conftest.err
42849 cat conftest.err >&5
42850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42851 (exit $ac_status); } && {
42852 test -z "$ac_c_werror_flag" ||
42853 test ! -s conftest.err
42854 } && test -s conftest$ac_exeext &&
42855 $as_test_x conftest$ac_exeext; then
42856 ac_cv_func_readdir_r=yes
42858 echo "$as_me: failed program was:" >&5
42859 sed 's/^/| /' conftest.$ac_ext >&5
42861 ac_cv_func_readdir_r=no
42864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42865 conftest$ac_exeext conftest.$ac_ext
42867 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42868 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42869 if test $ac_cv_func_readdir_r = yes; then
42870 cat >>confdefs.h <<\_ACEOF
42871 #define HAVE_READDIR_R 1
42880 ac_cpp='$CPP $CPPFLAGS'
42881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42885 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42886 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42888 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42889 echo $ECHO_N "(cached) $ECHO_C" >&6
42893 ################################################################
42895 ac_cv_func_which_gethostbyname_r=unknown
42898 # ONE ARGUMENT (sanity check)
42901 # This should fail, as there is no variant of gethostbyname_r() that takes
42902 # a single argument. If it actually compiles, then we can assume that
42903 # netdb.h is not declaring the function, and the compiler is thereby
42904 # assuming an implicit prototype. In which case, we're out of luck.
42906 cat >conftest.$ac_ext <<_ACEOF
42909 cat confdefs.h >>conftest.$ac_ext
42910 cat >>conftest.$ac_ext <<_ACEOF
42911 /* end confdefs.h. */
42917 char *name = "www.gnu.org";
42918 (void)gethostbyname_r(name) /* ; */
42924 rm -f conftest.$ac_objext
42925 if { (ac_try="$ac_compile"
42926 case "(($ac_try" in
42927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42928 *) ac_try_echo=$ac_try;;
42930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42931 (eval "$ac_compile") 2>conftest.er1
42933 grep -v '^ *+' conftest.er1 >conftest.err
42935 cat conftest.err >&5
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); } && {
42938 test -z "$ac_c_werror_flag" ||
42939 test ! -s conftest.err
42940 } && test -s conftest.$ac_objext; then
42941 ac_cv_func_which_gethostbyname_r=no
42943 echo "$as_me: failed program was:" >&5
42944 sed 's/^/| /' conftest.$ac_ext >&5
42949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42956 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42958 cat >conftest.$ac_ext <<_ACEOF
42961 cat confdefs.h >>conftest.$ac_ext
42962 cat >>conftest.$ac_ext <<_ACEOF
42963 /* end confdefs.h. */
42969 char *name = "www.gnu.org";
42970 struct hostent ret, *retp;
42974 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42980 rm -f conftest.$ac_objext
42981 if { (ac_try="$ac_compile"
42982 case "(($ac_try" in
42983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42984 *) ac_try_echo=$ac_try;;
42986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42987 (eval "$ac_compile") 2>conftest.er1
42989 grep -v '^ *+' conftest.er1 >conftest.err
42991 cat conftest.err >&5
42992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42993 (exit $ac_status); } && {
42994 test -z "$ac_c_werror_flag" ||
42995 test ! -s conftest.err
42996 } && test -s conftest.$ac_objext; then
42997 ac_cv_func_which_gethostbyname_r=six
42999 echo "$as_me: failed program was:" >&5
43000 sed 's/^/| /' conftest.$ac_ext >&5
43005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43014 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43016 cat >conftest.$ac_ext <<_ACEOF
43019 cat confdefs.h >>conftest.$ac_ext
43020 cat >>conftest.$ac_ext <<_ACEOF
43021 /* end confdefs.h. */
43027 char *name = "www.gnu.org";
43028 struct hostent ret;
43032 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43038 rm -f conftest.$ac_objext
43039 if { (ac_try="$ac_compile"
43040 case "(($ac_try" in
43041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43042 *) ac_try_echo=$ac_try;;
43044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43045 (eval "$ac_compile") 2>conftest.er1
43047 grep -v '^ *+' conftest.er1 >conftest.err
43049 cat conftest.err >&5
43050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43051 (exit $ac_status); } && {
43052 test -z "$ac_c_werror_flag" ||
43053 test ! -s conftest.err
43054 } && test -s conftest.$ac_objext; then
43055 ac_cv_func_which_gethostbyname_r=five
43057 echo "$as_me: failed program was:" >&5
43058 sed 's/^/| /' conftest.$ac_ext >&5
43063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43069 # (e.g. AIX, HP-UX, Tru64)
43072 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43074 cat >conftest.$ac_ext <<_ACEOF
43077 cat confdefs.h >>conftest.$ac_ext
43078 cat >>conftest.$ac_ext <<_ACEOF
43079 /* end confdefs.h. */
43085 char *name = "www.gnu.org";
43086 struct hostent ret;
43087 struct hostent_data data;
43088 (void)gethostbyname_r(name, &ret, &data) /* ; */
43094 rm -f conftest.$ac_objext
43095 if { (ac_try="$ac_compile"
43096 case "(($ac_try" in
43097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43098 *) ac_try_echo=$ac_try;;
43100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43101 (eval "$ac_compile") 2>conftest.er1
43103 grep -v '^ *+' conftest.er1 >conftest.err
43105 cat conftest.err >&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); } && {
43108 test -z "$ac_c_werror_flag" ||
43109 test ! -s conftest.err
43110 } && test -s conftest.$ac_objext; then
43111 ac_cv_func_which_gethostbyname_r=three
43113 echo "$as_me: failed program was:" >&5
43114 sed 's/^/| /' conftest.$ac_ext >&5
43119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43123 ################################################################
43128 case "$ac_cv_func_which_gethostbyname_r" in
43130 { echo "$as_me:$LINENO: result: three" >&5
43131 echo "${ECHO_T}three" >&6; }
43132 cat >>confdefs.h <<\_ACEOF
43133 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43139 { echo "$as_me:$LINENO: result: five" >&5
43140 echo "${ECHO_T}five" >&6; }
43141 cat >>confdefs.h <<\_ACEOF
43142 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43148 { echo "$as_me:$LINENO: result: six" >&5
43149 echo "${ECHO_T}six" >&6; }
43150 cat >>confdefs.h <<\_ACEOF
43151 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43157 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43158 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43162 { echo "$as_me:$LINENO: result: can't tell" >&5
43163 echo "${ECHO_T}can't tell" >&6; }
43167 { { echo "$as_me:$LINENO: error: internal error" >&5
43168 echo "$as_me: error: internal error" >&2;}
43169 { (exit 1); exit 1; }; }
43174 ac_cpp='$CPP $CPPFLAGS'
43175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43181 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43182 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43183 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43184 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43185 if test "${ac_cv_func_gethostbyname+set}" = set; then
43186 echo $ECHO_N "(cached) $ECHO_C" >&6
43188 cat >conftest.$ac_ext <<_ACEOF
43191 cat confdefs.h >>conftest.$ac_ext
43192 cat >>conftest.$ac_ext <<_ACEOF
43193 /* end confdefs.h. */
43194 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43196 #define gethostbyname innocuous_gethostbyname
43198 /* System header to define __stub macros and hopefully few prototypes,
43199 which can conflict with char gethostbyname (); below.
43200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43201 <limits.h> exists even on freestanding compilers. */
43204 # include <limits.h>
43206 # include <assert.h>
43209 #undef gethostbyname
43211 /* Override any GCC internal prototype to avoid an error.
43212 Use char because int might match the return type of a GCC
43213 builtin and then its argument prototype would still apply. */
43217 char gethostbyname ();
43218 /* The GNU C library defines this for functions which it implements
43219 to always fail with ENOSYS. Some functions are actually named
43220 something starting with __ and the normal name is an alias. */
43221 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43228 return gethostbyname ();
43233 rm -f conftest.$ac_objext conftest$ac_exeext
43234 if { (ac_try="$ac_link"
43235 case "(($ac_try" in
43236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43237 *) ac_try_echo=$ac_try;;
43239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43240 (eval "$ac_link") 2>conftest.er1
43242 grep -v '^ *+' conftest.er1 >conftest.err
43244 cat conftest.err >&5
43245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43246 (exit $ac_status); } && {
43247 test -z "$ac_c_werror_flag" ||
43248 test ! -s conftest.err
43249 } && test -s conftest$ac_exeext &&
43250 $as_test_x conftest$ac_exeext; then
43251 ac_cv_func_gethostbyname=yes
43253 echo "$as_me: failed program was:" >&5
43254 sed 's/^/| /' conftest.$ac_ext >&5
43256 ac_cv_func_gethostbyname=no
43259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43260 conftest$ac_exeext conftest.$ac_ext
43262 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43263 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43264 if test $ac_cv_func_gethostbyname = yes; then
43265 cat >>confdefs.h <<\_ACEOF
43266 #define HAVE_GETHOSTBYNAME 1
43273 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43274 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43275 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43276 echo $ECHO_N "(cached) $ECHO_C" >&6
43280 ac_cpp='$CXXCPP $CPPFLAGS'
43281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43286 cat >conftest.$ac_ext <<_ACEOF
43289 cat confdefs.h >>conftest.$ac_ext
43290 cat >>conftest.$ac_ext <<_ACEOF
43291 /* end confdefs.h. */
43299 struct servent *se, *res;
43302 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43308 rm -f conftest.$ac_objext
43309 if { (ac_try="$ac_compile"
43310 case "(($ac_try" in
43311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43312 *) ac_try_echo=$ac_try;;
43314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43315 (eval "$ac_compile") 2>conftest.er1
43317 grep -v '^ *+' conftest.er1 >conftest.err
43319 cat conftest.err >&5
43320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43321 (exit $ac_status); } && {
43322 test -z "$ac_cxx_werror_flag" ||
43323 test ! -s conftest.err
43324 } && test -s conftest.$ac_objext; then
43325 ac_cv_func_which_getservbyname_r=six
43327 echo "$as_me: failed program was:" >&5
43328 sed 's/^/| /' conftest.$ac_ext >&5
43331 cat >conftest.$ac_ext <<_ACEOF
43334 cat confdefs.h >>conftest.$ac_ext
43335 cat >>conftest.$ac_ext <<_ACEOF
43336 /* end confdefs.h. */
43344 struct servent *se;
43347 (void) getservbyname_r(name, proto, se, buffer, buflen)
43353 rm -f conftest.$ac_objext
43354 if { (ac_try="$ac_compile"
43355 case "(($ac_try" in
43356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43357 *) ac_try_echo=$ac_try;;
43359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43360 (eval "$ac_compile") 2>conftest.er1
43362 grep -v '^ *+' conftest.er1 >conftest.err
43364 cat conftest.err >&5
43365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43366 (exit $ac_status); } && {
43367 test -z "$ac_cxx_werror_flag" ||
43368 test ! -s conftest.err
43369 } && test -s conftest.$ac_objext; then
43370 ac_cv_func_which_getservbyname_r=five
43372 echo "$as_me: failed program was:" >&5
43373 sed 's/^/| /' conftest.$ac_ext >&5
43376 cat >conftest.$ac_ext <<_ACEOF
43379 cat confdefs.h >>conftest.$ac_ext
43380 cat >>conftest.$ac_ext <<_ACEOF
43381 /* end confdefs.h. */
43389 struct servent *se;
43390 struct servent_data data;
43391 (void) getservbyname_r(name, proto, se, &data);
43397 rm -f conftest.$ac_objext
43398 if { (ac_try="$ac_compile"
43399 case "(($ac_try" in
43400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43401 *) ac_try_echo=$ac_try;;
43403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43404 (eval "$ac_compile") 2>conftest.er1
43406 grep -v '^ *+' conftest.er1 >conftest.err
43408 cat conftest.err >&5
43409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43410 (exit $ac_status); } && {
43411 test -z "$ac_cxx_werror_flag" ||
43412 test ! -s conftest.err
43413 } && test -s conftest.$ac_objext; then
43414 ac_cv_func_which_getservbyname_r=four
43416 echo "$as_me: failed program was:" >&5
43417 sed 's/^/| /' conftest.$ac_ext >&5
43419 ac_cv_func_which_getservbyname_r=no
43423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43435 ac_cpp='$CPP $CPPFLAGS'
43436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43443 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43444 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43446 if test $ac_cv_func_which_getservbyname_r = six; then
43447 cat >>confdefs.h <<\_ACEOF
43448 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43451 elif test $ac_cv_func_which_getservbyname_r = five; then
43452 cat >>confdefs.h <<\_ACEOF
43453 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43456 elif test $ac_cv_func_which_getservbyname_r = four; then
43457 cat >>confdefs.h <<\_ACEOF
43458 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43464 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43465 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43467 for ac_func in getservbyname
43469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43470 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43473 echo $ECHO_N "(cached) $ECHO_C" >&6
43475 cat >conftest.$ac_ext <<_ACEOF
43478 cat confdefs.h >>conftest.$ac_ext
43479 cat >>conftest.$ac_ext <<_ACEOF
43480 /* end confdefs.h. */
43481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43483 #define $ac_func innocuous_$ac_func
43485 /* System header to define __stub macros and hopefully few prototypes,
43486 which can conflict with char $ac_func (); below.
43487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43488 <limits.h> exists even on freestanding compilers. */
43491 # include <limits.h>
43493 # include <assert.h>
43498 /* Override any GCC internal prototype to avoid an error.
43499 Use char because int might match the return type of a GCC
43500 builtin and then its argument prototype would still apply. */
43505 /* The GNU C library defines this for functions which it implements
43506 to always fail with ENOSYS. Some functions are actually named
43507 something starting with __ and the normal name is an alias. */
43508 #if defined __stub_$ac_func || defined __stub___$ac_func
43515 return $ac_func ();
43520 rm -f conftest.$ac_objext conftest$ac_exeext
43521 if { (ac_try="$ac_link"
43522 case "(($ac_try" in
43523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43524 *) ac_try_echo=$ac_try;;
43526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43527 (eval "$ac_link") 2>conftest.er1
43529 grep -v '^ *+' conftest.er1 >conftest.err
43531 cat conftest.err >&5
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); } && {
43534 test -z "$ac_c_werror_flag" ||
43535 test ! -s conftest.err
43536 } && test -s conftest$ac_exeext &&
43537 $as_test_x conftest$ac_exeext; then
43538 eval "$as_ac_var=yes"
43540 echo "$as_me: failed program was:" >&5
43541 sed 's/^/| /' conftest.$ac_ext >&5
43543 eval "$as_ac_var=no"
43546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43547 conftest$ac_exeext conftest.$ac_ext
43549 ac_res=`eval echo '${'$as_ac_var'}'`
43550 { echo "$as_me:$LINENO: result: $ac_res" >&5
43551 echo "${ECHO_T}$ac_res" >&6; }
43552 if test `eval echo '${'$as_ac_var'}'` = yes; then
43553 cat >>confdefs.h <<_ACEOF
43554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43556 cat >>confdefs.h <<\_ACEOF
43557 #define HAVE_GETSERVBYNAME 1
43565 if test "$wxUSE_THREADS" = "yes"; then
43566 cat >>confdefs.h <<\_ACEOF
43567 #define wxUSE_THREADS 1
43571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43573 if test "$wx_cv_func_strtok_r" = "yes"; then
43574 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43575 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43576 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43577 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43578 { echo "$as_me:$LINENO: result: yes" >&5
43579 echo "${ECHO_T}yes" >&6; }
43581 { echo "$as_me:$LINENO: result: no" >&5
43582 echo "${ECHO_T}no" >&6; }
43587 if test "$WXGTK20" = 1 ; then
43588 cat >>confdefs.h <<_ACEOF
43589 #define __WXGTK20__ $WXGTK20
43595 if test "$WXGTK12" = 1 ; then
43596 cat >>confdefs.h <<_ACEOF
43597 #define __WXGTK12__ $WXGTK12
43602 if test "$WXGTK127" = 1 ; then
43603 cat >>confdefs.h <<_ACEOF
43604 #define __WXGTK127__ $WXGTK127
43609 if test "$WXGPE" = 1 ; then
43610 cat >>confdefs.h <<_ACEOF
43611 #define __WXGPE__ $WXGPE
43617 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43622 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43623 wxUSE_DEBUG_INFO=yes
43624 if test "$GCC" = yes; then
43625 DEBUG_CFLAGS="-ggdb"
43629 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43630 cat >>confdefs.h <<\_ACEOF
43634 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43636 if test "$wxUSE_GTK" = 1 ; then
43637 if test "x$wxGTK_VERSION" = "x1" ; then
43638 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43643 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43644 cat >>confdefs.h <<\_ACEOF
43645 #define wxUSE_MEMORY_TRACING 1
43648 cat >>confdefs.h <<\_ACEOF
43649 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43652 cat >>confdefs.h <<\_ACEOF
43653 #define wxUSE_DEBUG_NEW_ALWAYS 1
43656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43659 if test "$wxUSE_DMALLOC" = "yes" ; then
43660 DMALLOC_LIBS="-ldmallocthcxx"
43664 if test "$wxUSE_PROFILE" = "yes" ; then
43665 PROFILE_FLAGS=" -pg"
43668 if test "$GCC" = "yes" ; then
43669 if test "$wxUSE_NO_RTTI" = "yes" ; then
43670 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43672 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43673 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43675 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43676 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43681 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43684 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43690 if test "$wxUSE_OPTIMISE" = "no" ; then
43691 if test "$GCC" = yes ; then
43692 OPTIMISE_CFLAGS="-O0"
43695 if test "$GCC" = yes ; then
43697 *-pc-os2_emx | *-pc-os2-emx )
43698 OPTIMISE_CFLAGS="-O2"
43701 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43705 OPTIMISE_CFLAGS="-O"
43710 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43711 cat >>confdefs.h <<\_ACEOF
43712 #define WXWIN_COMPATIBILITY_2_6 1
43716 WXWIN_COMPATIBILITY_2_8="yes"
43719 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43720 cat >>confdefs.h <<\_ACEOF
43721 #define WXWIN_COMPATIBILITY_2_8 1
43727 if test "$wxUSE_GUI" = "yes"; then
43728 cat >>confdefs.h <<\_ACEOF
43729 #define wxUSE_GUI 1
43736 if test "$wxUSE_UNIX" = "yes"; then
43737 cat >>confdefs.h <<\_ACEOF
43738 #define wxUSE_UNIX 1
43744 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43748 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43749 if test "$USE_DARWIN" = 1; then
43751 elif test "$USE_DOS" = 1; then
43755 for ac_func in dlopen
43757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43758 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43761 echo $ECHO_N "(cached) $ECHO_C" >&6
43763 cat >conftest.$ac_ext <<_ACEOF
43766 cat confdefs.h >>conftest.$ac_ext
43767 cat >>conftest.$ac_ext <<_ACEOF
43768 /* end confdefs.h. */
43769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43771 #define $ac_func innocuous_$ac_func
43773 /* System header to define __stub macros and hopefully few prototypes,
43774 which can conflict with char $ac_func (); below.
43775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43776 <limits.h> exists even on freestanding compilers. */
43779 # include <limits.h>
43781 # include <assert.h>
43786 /* Override any GCC internal prototype to avoid an error.
43787 Use char because int might match the return type of a GCC
43788 builtin and then its argument prototype would still apply. */
43793 /* The GNU C library defines this for functions which it implements
43794 to always fail with ENOSYS. Some functions are actually named
43795 something starting with __ and the normal name is an alias. */
43796 #if defined __stub_$ac_func || defined __stub___$ac_func
43803 return $ac_func ();
43808 rm -f conftest.$ac_objext conftest$ac_exeext
43809 if { (ac_try="$ac_link"
43810 case "(($ac_try" in
43811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43812 *) ac_try_echo=$ac_try;;
43814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43815 (eval "$ac_link") 2>conftest.er1
43817 grep -v '^ *+' conftest.er1 >conftest.err
43819 cat conftest.err >&5
43820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43821 (exit $ac_status); } && {
43822 test -z "$ac_c_werror_flag" ||
43823 test ! -s conftest.err
43824 } && test -s conftest$ac_exeext &&
43825 $as_test_x conftest$ac_exeext; then
43826 eval "$as_ac_var=yes"
43828 echo "$as_me: failed program was:" >&5
43829 sed 's/^/| /' conftest.$ac_ext >&5
43831 eval "$as_ac_var=no"
43834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43835 conftest$ac_exeext conftest.$ac_ext
43837 ac_res=`eval echo '${'$as_ac_var'}'`
43838 { echo "$as_me:$LINENO: result: $ac_res" >&5
43839 echo "${ECHO_T}$ac_res" >&6; }
43840 if test `eval echo '${'$as_ac_var'}'` = yes; then
43841 cat >>confdefs.h <<_ACEOF
43842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43845 cat >>confdefs.h <<\_ACEOF
43846 #define HAVE_DLOPEN 1
43853 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43854 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43855 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43856 echo $ECHO_N "(cached) $ECHO_C" >&6
43858 ac_check_lib_save_LIBS=$LIBS
43860 cat >conftest.$ac_ext <<_ACEOF
43863 cat confdefs.h >>conftest.$ac_ext
43864 cat >>conftest.$ac_ext <<_ACEOF
43865 /* end confdefs.h. */
43867 /* Override any GCC internal prototype to avoid an error.
43868 Use char because int might match the return type of a GCC
43869 builtin and then its argument prototype would still apply. */
43882 rm -f conftest.$ac_objext conftest$ac_exeext
43883 if { (ac_try="$ac_link"
43884 case "(($ac_try" in
43885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43886 *) ac_try_echo=$ac_try;;
43888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43889 (eval "$ac_link") 2>conftest.er1
43891 grep -v '^ *+' conftest.er1 >conftest.err
43893 cat conftest.err >&5
43894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43895 (exit $ac_status); } && {
43896 test -z "$ac_c_werror_flag" ||
43897 test ! -s conftest.err
43898 } && test -s conftest$ac_exeext &&
43899 $as_test_x conftest$ac_exeext; then
43900 ac_cv_lib_dl_dlopen=yes
43902 echo "$as_me: failed program was:" >&5
43903 sed 's/^/| /' conftest.$ac_ext >&5
43905 ac_cv_lib_dl_dlopen=no
43908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43909 conftest$ac_exeext conftest.$ac_ext
43910 LIBS=$ac_check_lib_save_LIBS
43912 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43913 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43914 if test $ac_cv_lib_dl_dlopen = yes; then
43916 cat >>confdefs.h <<\_ACEOF
43917 #define HAVE_DLOPEN 1
43921 DL_LINK=" -ldl$DL_LINK"
43926 for ac_func in shl_load
43928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43931 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43932 echo $ECHO_N "(cached) $ECHO_C" >&6
43934 cat >conftest.$ac_ext <<_ACEOF
43937 cat confdefs.h >>conftest.$ac_ext
43938 cat >>conftest.$ac_ext <<_ACEOF
43939 /* end confdefs.h. */
43940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43942 #define $ac_func innocuous_$ac_func
43944 /* System header to define __stub macros and hopefully few prototypes,
43945 which can conflict with char $ac_func (); below.
43946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43947 <limits.h> exists even on freestanding compilers. */
43950 # include <limits.h>
43952 # include <assert.h>
43957 /* Override any GCC internal prototype to avoid an error.
43958 Use char because int might match the return type of a GCC
43959 builtin and then its argument prototype would still apply. */
43964 /* The GNU C library defines this for functions which it implements
43965 to always fail with ENOSYS. Some functions are actually named
43966 something starting with __ and the normal name is an alias. */
43967 #if defined __stub_$ac_func || defined __stub___$ac_func
43974 return $ac_func ();
43979 rm -f conftest.$ac_objext conftest$ac_exeext
43980 if { (ac_try="$ac_link"
43981 case "(($ac_try" in
43982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43983 *) ac_try_echo=$ac_try;;
43985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43986 (eval "$ac_link") 2>conftest.er1
43988 grep -v '^ *+' conftest.er1 >conftest.err
43990 cat conftest.err >&5
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); } && {
43993 test -z "$ac_c_werror_flag" ||
43994 test ! -s conftest.err
43995 } && test -s conftest$ac_exeext &&
43996 $as_test_x conftest$ac_exeext; then
43997 eval "$as_ac_var=yes"
43999 echo "$as_me: failed program was:" >&5
44000 sed 's/^/| /' conftest.$ac_ext >&5
44002 eval "$as_ac_var=no"
44005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44006 conftest$ac_exeext conftest.$ac_ext
44008 ac_res=`eval echo '${'$as_ac_var'}'`
44009 { echo "$as_me:$LINENO: result: $ac_res" >&5
44010 echo "${ECHO_T}$ac_res" >&6; }
44011 if test `eval echo '${'$as_ac_var'}'` = yes; then
44012 cat >>confdefs.h <<_ACEOF
44013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44016 cat >>confdefs.h <<\_ACEOF
44017 #define HAVE_SHL_LOAD 1
44024 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44025 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44026 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44027 echo $ECHO_N "(cached) $ECHO_C" >&6
44029 ac_check_lib_save_LIBS=$LIBS
44030 LIBS="-lshl_load $LIBS"
44031 cat >conftest.$ac_ext <<_ACEOF
44034 cat confdefs.h >>conftest.$ac_ext
44035 cat >>conftest.$ac_ext <<_ACEOF
44036 /* end confdefs.h. */
44038 /* Override any GCC internal prototype to avoid an error.
44039 Use char because int might match the return type of a GCC
44040 builtin and then its argument prototype would still apply. */
44053 rm -f conftest.$ac_objext conftest$ac_exeext
44054 if { (ac_try="$ac_link"
44055 case "(($ac_try" in
44056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44057 *) ac_try_echo=$ac_try;;
44059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44060 (eval "$ac_link") 2>conftest.er1
44062 grep -v '^ *+' conftest.er1 >conftest.err
44064 cat conftest.err >&5
44065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44066 (exit $ac_status); } && {
44067 test -z "$ac_c_werror_flag" ||
44068 test ! -s conftest.err
44069 } && test -s conftest$ac_exeext &&
44070 $as_test_x conftest$ac_exeext; then
44071 ac_cv_lib_shl_load_dld=yes
44073 echo "$as_me: failed program was:" >&5
44074 sed 's/^/| /' conftest.$ac_ext >&5
44076 ac_cv_lib_shl_load_dld=no
44079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44080 conftest$ac_exeext conftest.$ac_ext
44081 LIBS=$ac_check_lib_save_LIBS
44083 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44084 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44085 if test $ac_cv_lib_shl_load_dld = yes; then
44088 DL_LINK=" -ldld$DL_LINK"
44104 if test "$HAVE_DL_FUNCS" = 1; then
44106 for ac_func in dlerror
44108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44109 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44111 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44112 echo $ECHO_N "(cached) $ECHO_C" >&6
44114 cat >conftest.$ac_ext <<_ACEOF
44117 cat confdefs.h >>conftest.$ac_ext
44118 cat >>conftest.$ac_ext <<_ACEOF
44119 /* end confdefs.h. */
44120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44122 #define $ac_func innocuous_$ac_func
44124 /* System header to define __stub macros and hopefully few prototypes,
44125 which can conflict with char $ac_func (); below.
44126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44127 <limits.h> exists even on freestanding compilers. */
44130 # include <limits.h>
44132 # include <assert.h>
44137 /* Override any GCC internal prototype to avoid an error.
44138 Use char because int might match the return type of a GCC
44139 builtin and then its argument prototype would still apply. */
44144 /* The GNU C library defines this for functions which it implements
44145 to always fail with ENOSYS. Some functions are actually named
44146 something starting with __ and the normal name is an alias. */
44147 #if defined __stub_$ac_func || defined __stub___$ac_func
44154 return $ac_func ();
44159 rm -f conftest.$ac_objext conftest$ac_exeext
44160 if { (ac_try="$ac_link"
44161 case "(($ac_try" in
44162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44163 *) ac_try_echo=$ac_try;;
44165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44166 (eval "$ac_link") 2>conftest.er1
44168 grep -v '^ *+' conftest.er1 >conftest.err
44170 cat conftest.err >&5
44171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44172 (exit $ac_status); } && {
44173 test -z "$ac_c_werror_flag" ||
44174 test ! -s conftest.err
44175 } && test -s conftest$ac_exeext &&
44176 $as_test_x conftest$ac_exeext; then
44177 eval "$as_ac_var=yes"
44179 echo "$as_me: failed program was:" >&5
44180 sed 's/^/| /' conftest.$ac_ext >&5
44182 eval "$as_ac_var=no"
44185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44186 conftest$ac_exeext conftest.$ac_ext
44188 ac_res=`eval echo '${'$as_ac_var'}'`
44189 { echo "$as_me:$LINENO: result: $ac_res" >&5
44190 echo "${ECHO_T}$ac_res" >&6; }
44191 if test `eval echo '${'$as_ac_var'}'` = yes; then
44192 cat >>confdefs.h <<_ACEOF
44193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44195 cat >>confdefs.h <<\_ACEOF
44196 #define HAVE_DLERROR 1
44201 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44202 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44203 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44204 echo $ECHO_N "(cached) $ECHO_C" >&6
44206 ac_check_lib_save_LIBS=$LIBS
44208 cat >conftest.$ac_ext <<_ACEOF
44211 cat confdefs.h >>conftest.$ac_ext
44212 cat >>conftest.$ac_ext <<_ACEOF
44213 /* end confdefs.h. */
44215 /* Override any GCC internal prototype to avoid an error.
44216 Use char because int might match the return type of a GCC
44217 builtin and then its argument prototype would still apply. */
44230 rm -f conftest.$ac_objext conftest$ac_exeext
44231 if { (ac_try="$ac_link"
44232 case "(($ac_try" in
44233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44234 *) ac_try_echo=$ac_try;;
44236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44237 (eval "$ac_link") 2>conftest.er1
44239 grep -v '^ *+' conftest.er1 >conftest.err
44241 cat conftest.err >&5
44242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243 (exit $ac_status); } && {
44244 test -z "$ac_c_werror_flag" ||
44245 test ! -s conftest.err
44246 } && test -s conftest$ac_exeext &&
44247 $as_test_x conftest$ac_exeext; then
44248 ac_cv_lib_dl_dlerror=yes
44250 echo "$as_me: failed program was:" >&5
44251 sed 's/^/| /' conftest.$ac_ext >&5
44253 ac_cv_lib_dl_dlerror=no
44256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44257 conftest$ac_exeext conftest.$ac_ext
44258 LIBS=$ac_check_lib_save_LIBS
44260 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44261 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44262 if test $ac_cv_lib_dl_dlerror = yes; then
44263 cat >>confdefs.h <<\_ACEOF
44264 #define HAVE_DLERROR 1
44277 if test "$HAVE_DL_FUNCS" = 0; then
44278 if test "$HAVE_SHL_FUNCS" = 0; then
44279 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44280 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44281 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44282 wxUSE_DYNAMIC_LOADER=no
44283 wxUSE_DYNLIB_CLASS=no
44285 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44286 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44293 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44294 cat >>confdefs.h <<\_ACEOF
44295 #define wxUSE_DYNAMIC_LOADER 1
44299 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44300 cat >>confdefs.h <<\_ACEOF
44301 #define wxUSE_DYNLIB_CLASS 1
44308 if test "$wxUSE_PLUGINS" = "yes" ; then
44309 if test "$wxUSE_SHARED" = "no" ; then
44310 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44311 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44314 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44315 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44316 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44319 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44320 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44321 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44324 if test "$wxUSE_PLUGINS" = "yes" ; then
44325 cat >>confdefs.h <<\_ACEOF
44326 #define wxUSE_PLUGINS 1
44333 if test "$wxUSE_STL" = "yes"; then
44334 cat >>confdefs.h <<\_ACEOF
44335 #define wxUSE_STL 1
44340 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44341 cat >>confdefs.h <<\_ACEOF
44342 #define wxUSE_EXTENDED_RTTI 1
44347 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44348 cat >>confdefs.h <<\_ACEOF
44349 #define wxUSE_APPLE_IEEE 1
44354 if test "$wxUSE_TIMER" = "yes"; then
44355 cat >>confdefs.h <<\_ACEOF
44356 #define wxUSE_TIMER 1
44361 if test "$USE_UNIX" = "1" ; then
44362 if test "$wxUSE_MGL" != 1; then
44363 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44364 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44365 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44366 echo $ECHO_N "(cached) $ECHO_C" >&6
44369 cat >conftest.$ac_ext <<_ACEOF
44372 cat confdefs.h >>conftest.$ac_ext
44373 cat >>conftest.$ac_ext <<_ACEOF
44374 /* end confdefs.h. */
44376 #include <sys/ioctl.h>
44377 #include <sys/soundcard.h>
44383 ioctl(0, SNDCTL_DSP_SPEED, 0);
44389 rm -f conftest.$ac_objext conftest$ac_exeext
44390 if { (ac_try="$ac_link"
44391 case "(($ac_try" in
44392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44393 *) ac_try_echo=$ac_try;;
44395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44396 (eval "$ac_link") 2>conftest.er1
44398 grep -v '^ *+' conftest.er1 >conftest.err
44400 cat conftest.err >&5
44401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44402 (exit $ac_status); } && {
44403 test -z "$ac_c_werror_flag" ||
44404 test ! -s conftest.err
44405 } && test -s conftest$ac_exeext &&
44406 $as_test_x conftest$ac_exeext; then
44407 ac_cv_header_sys_soundcard=yes
44409 echo "$as_me: failed program was:" >&5
44410 sed 's/^/| /' conftest.$ac_ext >&5
44414 LIBS="$saveLibs -lossaudio"
44415 cat >conftest.$ac_ext <<_ACEOF
44418 cat confdefs.h >>conftest.$ac_ext
44419 cat >>conftest.$ac_ext <<_ACEOF
44420 /* end confdefs.h. */
44422 #include <sys/ioctl.h>
44423 #include <sys/soundcard.h>
44429 ioctl(0, SNDCTL_DSP_SPEED, 0);
44435 rm -f conftest.$ac_objext conftest$ac_exeext
44436 if { (ac_try="$ac_link"
44437 case "(($ac_try" in
44438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44439 *) ac_try_echo=$ac_try;;
44441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44442 (eval "$ac_link") 2>conftest.er1
44444 grep -v '^ *+' conftest.er1 >conftest.err
44446 cat conftest.err >&5
44447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44448 (exit $ac_status); } && {
44449 test -z "$ac_c_werror_flag" ||
44450 test ! -s conftest.err
44451 } && test -s conftest$ac_exeext &&
44452 $as_test_x conftest$ac_exeext; then
44453 ac_cv_header_sys_soundcard=yes
44455 echo "$as_me: failed program was:" >&5
44456 sed 's/^/| /' conftest.$ac_ext >&5
44460 ac_cv_header_sys_soundcard=no
44465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44466 conftest$ac_exeext conftest.$ac_ext
44471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44472 conftest$ac_exeext conftest.$ac_ext
44475 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44476 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44479 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44480 cat >>confdefs.h <<\_ACEOF
44481 #define HAVE_SYS_SOUNDCARD_H 1
44488 if test "$wxUSE_SOUND" = "yes"; then
44489 if test "$USE_UNIX" = "1" ; then
44490 if test "$wxUSE_LIBSDL" != "no"; then
44492 # Check whether --with-sdl-prefix was given.
44493 if test "${with_sdl_prefix+set}" = set; then
44494 withval=$with_sdl_prefix; sdl_prefix="$withval"
44500 # Check whether --with-sdl-exec-prefix was given.
44501 if test "${with_sdl_exec_prefix+set}" = set; then
44502 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44507 # Check whether --enable-sdltest was given.
44508 if test "${enable_sdltest+set}" = set; then
44509 enableval=$enable_sdltest;
44515 if test x$sdl_exec_prefix != x ; then
44516 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44517 if test x${SDL_CONFIG+set} != xset ; then
44518 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44521 if test x$sdl_prefix != x ; then
44522 sdl_args="$sdl_args --prefix=$sdl_prefix"
44523 if test x${SDL_CONFIG+set} != xset ; then
44524 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44528 if test "x$prefix" != xNONE; then
44529 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44531 # Extract the first word of "sdl-config", so it can be a program name with args.
44532 set dummy sdl-config; ac_word=$2
44533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44535 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44536 echo $ECHO_N "(cached) $ECHO_C" >&6
44538 case $SDL_CONFIG in
44540 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44544 for as_dir in $PATH
44547 test -z "$as_dir" && as_dir=.
44548 for ac_exec_ext in '' $ac_executable_extensions; do
44549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44550 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44558 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44562 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44563 if test -n "$SDL_CONFIG"; then
44564 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44565 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44567 { echo "$as_me:$LINENO: result: no" >&5
44568 echo "${ECHO_T}no" >&6; }
44572 min_sdl_version=1.2.0
44573 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44574 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44576 if test "$SDL_CONFIG" = "no" ; then
44579 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44580 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44582 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44584 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44585 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44586 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44587 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44588 if test "x$enable_sdltest" = "xyes" ; then
44589 ac_save_CFLAGS="$CFLAGS"
44590 ac_save_CXXFLAGS="$CXXFLAGS"
44591 ac_save_LIBS="$LIBS"
44592 CFLAGS="$CFLAGS $SDL_CFLAGS"
44593 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44594 LIBS="$LIBS $SDL_LIBS"
44596 if test "$cross_compiling" = yes; then
44597 echo $ac_n "cross compiling; assumed OK... $ac_c"
44599 cat >conftest.$ac_ext <<_ACEOF
44602 cat confdefs.h >>conftest.$ac_ext
44603 cat >>conftest.$ac_ext <<_ACEOF
44604 /* end confdefs.h. */
44607 #include <stdlib.h>
44608 #include <string.h>
44612 my_strdup (char *str)
44618 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44619 strcpy (new_str, str);
44627 int main (int argc, char *argv[])
44629 int major, minor, micro;
44632 /* This hangs on some systems (?)
44633 system ("touch conf.sdltest");
44635 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44637 /* HP/UX 9 (%@#!) writes to sscanf strings */
44638 tmp_version = my_strdup("$min_sdl_version");
44639 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44640 printf("%s, bad version string\n", "$min_sdl_version");
44644 if (($sdl_major_version > major) ||
44645 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44646 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44652 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44653 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44654 printf("*** best to upgrade to the required version.\n");
44655 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44656 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44657 printf("*** config.cache before re-running configure\n");
44664 rm -f conftest$ac_exeext
44665 if { (ac_try="$ac_link"
44666 case "(($ac_try" in
44667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44668 *) ac_try_echo=$ac_try;;
44670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44671 (eval "$ac_link") 2>&5
44673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44675 { (case "(($ac_try" in
44676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44677 *) ac_try_echo=$ac_try;;
44679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44680 (eval "$ac_try") 2>&5
44682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44683 (exit $ac_status); }; }; then
44686 echo "$as_me: program exited with status $ac_status" >&5
44687 echo "$as_me: failed program was:" >&5
44688 sed 's/^/| /' conftest.$ac_ext >&5
44690 ( exit $ac_status )
44693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44697 CFLAGS="$ac_save_CFLAGS"
44698 CXXFLAGS="$ac_save_CXXFLAGS"
44699 LIBS="$ac_save_LIBS"
44702 if test "x$no_sdl" = x ; then
44703 { echo "$as_me:$LINENO: result: yes" >&5
44704 echo "${ECHO_T}yes" >&6; }
44706 EXTRALIBS_SDL="$SDL_LIBS"
44707 CFLAGS="$SDL_CFLAGS $CFLAGS"
44708 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_LIBSDL 1
44715 { echo "$as_me:$LINENO: result: no" >&5
44716 echo "${ECHO_T}no" >&6; }
44717 if test "$SDL_CONFIG" = "no" ; then
44718 echo "*** The sdl-config script installed by SDL could not be found"
44719 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44720 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44721 echo "*** full path to sdl-config."
44723 if test -f conf.sdltest ; then
44726 echo "*** Could not run SDL test program, checking why..."
44727 CFLAGS="$CFLAGS $SDL_CFLAGS"
44728 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44729 LIBS="$LIBS $SDL_LIBS"
44730 cat >conftest.$ac_ext <<_ACEOF
44733 cat confdefs.h >>conftest.$ac_ext
44734 cat >>conftest.$ac_ext <<_ACEOF
44735 /* end confdefs.h. */
44740 int main(int argc, char *argv[])
44743 #define main K_and_R_C_main
44753 rm -f conftest.$ac_objext conftest$ac_exeext
44754 if { (ac_try="$ac_link"
44755 case "(($ac_try" in
44756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44757 *) ac_try_echo=$ac_try;;
44759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44760 (eval "$ac_link") 2>conftest.er1
44762 grep -v '^ *+' conftest.er1 >conftest.err
44764 cat conftest.err >&5
44765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44766 (exit $ac_status); } && {
44767 test -z "$ac_c_werror_flag" ||
44768 test ! -s conftest.err
44769 } && test -s conftest$ac_exeext &&
44770 $as_test_x conftest$ac_exeext; then
44771 echo "*** The test program compiled, but did not run. This usually means"
44772 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44773 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44774 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44775 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44776 echo "*** is required on your system"
44778 echo "*** If you have an old version installed, it is best to remove it, although"
44779 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44781 echo "$as_me: failed program was:" >&5
44782 sed 's/^/| /' conftest.$ac_ext >&5
44784 echo "*** The test program failed to compile or link. See the file config.log for the"
44785 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44786 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44787 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44791 conftest$ac_exeext conftest.$ac_ext
44792 CFLAGS="$ac_save_CFLAGS"
44793 CXXFLAGS="$ac_save_CXXFLAGS"
44794 LIBS="$ac_save_LIBS"
44805 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44810 if test "$wxUSE_MGL" = 1; then
44811 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44812 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44818 if test "$wxUSE_SOUND" = "yes"; then
44819 cat >>confdefs.h <<\_ACEOF
44820 #define wxUSE_SOUND 1
44823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44826 if test "$WXGTK20" = 1; then
44829 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44830 if test -n "$ac_tool_prefix"; then
44831 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44832 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44835 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44836 echo $ECHO_N "(cached) $ECHO_C" >&6
44838 case $PKG_CONFIG in
44840 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44844 for as_dir in $PATH
44847 test -z "$as_dir" && as_dir=.
44848 for ac_exec_ext in '' $ac_executable_extensions; do
44849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44850 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44861 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44862 if test -n "$PKG_CONFIG"; then
44863 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44864 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44866 { echo "$as_me:$LINENO: result: no" >&5
44867 echo "${ECHO_T}no" >&6; }
44872 if test -z "$ac_cv_path_PKG_CONFIG"; then
44873 ac_pt_PKG_CONFIG=$PKG_CONFIG
44874 # Extract the first word of "pkg-config", so it can be a program name with args.
44875 set dummy pkg-config; ac_word=$2
44876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44878 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44879 echo $ECHO_N "(cached) $ECHO_C" >&6
44881 case $ac_pt_PKG_CONFIG in
44883 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44887 for as_dir in $PATH
44890 test -z "$as_dir" && as_dir=.
44891 for ac_exec_ext in '' $ac_executable_extensions; do
44892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44893 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44904 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44905 if test -n "$ac_pt_PKG_CONFIG"; then
44906 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44907 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44909 { echo "$as_me:$LINENO: result: no" >&5
44910 echo "${ECHO_T}no" >&6; }
44913 if test "x$ac_pt_PKG_CONFIG" = x; then
44916 case $cross_compiling:$ac_tool_warned in
44918 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44919 whose name does not start with the host triplet. If you think this
44920 configuration is useful to you, please write to autoconf@gnu.org." >&5
44921 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44922 whose name does not start with the host triplet. If you think this
44923 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44924 ac_tool_warned=yes ;;
44926 PKG_CONFIG=$ac_pt_PKG_CONFIG
44929 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44933 if test -n "$PKG_CONFIG"; then
44934 _pkg_min_version=0.9.0
44935 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44936 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44937 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44938 { echo "$as_me:$LINENO: result: yes" >&5
44939 echo "${ECHO_T}yes" >&6; }
44941 { echo "$as_me:$LINENO: result: no" >&5
44942 echo "${ECHO_T}no" >&6; }
44948 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44949 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44953 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44954 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44956 if test -n "$PKG_CONFIG"; then
44957 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44958 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44960 if test -n "$PKG_CONFIG" && \
44961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44962 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44965 (exit $ac_status); }; then
44966 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44974 if test -n "$PKG_CONFIG"; then
44975 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44976 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44978 if test -n "$PKG_CONFIG" && \
44979 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44980 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44983 (exit $ac_status); }; then
44984 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44995 if test $pkg_failed = yes; then
44997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44998 _pkg_short_errors_supported=yes
45000 _pkg_short_errors_supported=no
45002 if test $_pkg_short_errors_supported = yes; then
45003 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45005 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45007 # Put the nasty error message in config.log where it belongs
45008 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45011 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45012 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45013 wxUSE_LIBGNOMEPRINT="no"
45016 elif test $pkg_failed = untried; then
45018 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45019 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45020 wxUSE_LIBGNOMEPRINT="no"
45024 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45025 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45026 { echo "$as_me:$LINENO: result: yes" >&5
45027 echo "${ECHO_T}yes" >&6; }
45029 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45030 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_LIBGNOMEPRINT 1
45040 if test "$wxUSE_MIMETYPE" = "yes" ; then
45041 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45045 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45046 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45048 if test -n "$PKG_CONFIG"; then
45049 if test -n "$GNOMEVFS_CFLAGS"; then
45050 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45052 if test -n "$PKG_CONFIG" && \
45053 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45054 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45057 (exit $ac_status); }; then
45058 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45066 if test -n "$PKG_CONFIG"; then
45067 if test -n "$GNOMEVFS_LIBS"; then
45068 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45070 if test -n "$PKG_CONFIG" && \
45071 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45072 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075 (exit $ac_status); }; then
45076 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45087 if test $pkg_failed = yes; then
45089 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45090 _pkg_short_errors_supported=yes
45092 _pkg_short_errors_supported=no
45094 if test $_pkg_short_errors_supported = yes; then
45095 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45097 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45099 # Put the nasty error message in config.log where it belongs
45100 echo "$GNOMEVFS_PKG_ERRORS" >&5
45103 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45104 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45105 wxUSE_LIBGNOMEVFS="no"
45108 elif test $pkg_failed = untried; then
45110 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45111 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45112 wxUSE_LIBGNOMEVFS="no"
45116 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45117 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45118 { echo "$as_me:$LINENO: result: yes" >&5
45119 echo "${ECHO_T}yes" >&6; }
45121 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45122 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45123 cat >>confdefs.h <<\_ACEOF
45124 #define wxUSE_LIBGNOMEVFS 1
45132 if test "$wxUSE_LIBHILDON" = "yes" ; then
45135 { echo "$as_me:$LINENO: checking for HILDON" >&5
45136 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45138 if test -n "$PKG_CONFIG"; then
45139 if test -n "$HILDON_CFLAGS"; then
45140 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45142 if test -n "$PKG_CONFIG" && \
45143 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45144 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45147 (exit $ac_status); }; then
45148 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45156 if test -n "$PKG_CONFIG"; then
45157 if test -n "$HILDON_LIBS"; then
45158 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45160 if test -n "$PKG_CONFIG" && \
45161 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45162 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45165 (exit $ac_status); }; then
45166 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45177 if test $pkg_failed = yes; then
45179 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45180 _pkg_short_errors_supported=yes
45182 _pkg_short_errors_supported=no
45184 if test $_pkg_short_errors_supported = yes; then
45185 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45187 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45189 # Put the nasty error message in config.log where it belongs
45190 echo "$HILDON_PKG_ERRORS" >&5
45193 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45194 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45195 wxUSE_LIBHILDON="no"
45198 elif test $pkg_failed = untried; then
45200 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45201 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45202 wxUSE_LIBHILDON="no"
45206 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45207 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45208 { echo "$as_me:$LINENO: result: yes" >&5
45209 echo "${ECHO_T}yes" >&6; }
45211 EXTRALIBS_HILDON="$HILDON_LIBS"
45212 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45213 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45214 cat >>confdefs.h <<\_ACEOF
45215 #define wxUSE_LIBHILDON 1
45223 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_CMDLINE_PARSER 1
45230 if test "$wxUSE_STOPWATCH" = "yes"; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_STOPWATCH 1
45237 if test "$wxUSE_DATETIME" = "yes"; then
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_DATETIME 1
45244 if test "$wxUSE_FILE" = "yes"; then
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_FILE 1
45251 if test "$wxUSE_FFILE" = "yes"; then
45252 cat >>confdefs.h <<\_ACEOF
45253 #define wxUSE_FFILE 1
45258 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45259 if test "$wxUSE_STREAMS" != yes; then
45260 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45261 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45262 wxUSE_ARCHIVE_STREAMS=no
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_ARCHIVE_STREAMS 1
45271 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45272 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45273 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45274 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45275 elif test "$wxUSE_ZLIB" = "no"; then
45276 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45277 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45279 cat >>confdefs.h <<\_ACEOF
45280 #define wxUSE_ZIPSTREAM 1
45286 if test "$wxUSE_TARSTREAM" = "yes"; then
45287 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45288 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45289 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45291 cat >>confdefs.h <<\_ACEOF
45292 #define wxUSE_TARSTREAM 1
45298 if test "$wxUSE_FILESYSTEM" = "yes"; then
45299 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45300 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45301 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45302 wxUSE_FILESYSTEM=no
45304 cat >>confdefs.h <<\_ACEOF
45305 #define wxUSE_FILESYSTEM 1
45311 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45312 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45313 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45314 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45316 cat >>confdefs.h <<\_ACEOF
45317 #define wxUSE_FS_ARCHIVE 1
45323 if test "$wxUSE_FS_ZIP" = "yes"; then
45324 if test "$wxUSE_FS_ARCHIVE" != yes; then
45325 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45326 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45328 cat >>confdefs.h <<\_ACEOF
45329 #define wxUSE_FS_ZIP 1
45335 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45336 if test "$USE_UNIX" != 1; then
45337 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45338 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45339 wxUSE_ON_FATAL_EXCEPTION=no
45341 cat >>confdefs.h <<\_ACEOF
45342 #define wxUSE_ON_FATAL_EXCEPTION 1
45348 if test "$wxUSE_STACKWALKER" = "yes"; then
45349 cat >>confdefs.h <<\_ACEOF
45350 #define wxUSE_STACKWALKER 1
45355 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45356 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45357 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45358 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45359 wxUSE_DEBUGREPORT=no
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_DEBUGREPORT 1
45365 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45371 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45372 cat >>confdefs.h <<\_ACEOF
45373 #define wxUSE_SNGLINST_CHECKER 1
45378 if test "$wxUSE_BUSYINFO" = "yes"; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_BUSYINFO 1
45385 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_STD_IOSTREAM 1
45392 if test "$wxUSE_STD_STRING" = "yes"; then
45393 cat >>confdefs.h <<\_ACEOF
45394 #define wxUSE_STD_STRING 1
45399 if test "$wxUSE_STDPATHS" = "yes"; then
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_STDPATHS 1
45406 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_TEXTBUFFER 1
45413 if test "$wxUSE_TEXTFILE" = "yes"; then
45414 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45415 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45416 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45418 cat >>confdefs.h <<\_ACEOF
45419 #define wxUSE_TEXTFILE 1
45425 if test "$wxUSE_CONFIG" = "yes" ; then
45426 if test "$wxUSE_TEXTFILE" != "yes"; then
45427 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45428 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_CONFIG 1
45434 cat >>confdefs.h <<\_ACEOF
45435 #define wxUSE_CONFIG_NATIVE 1
45438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45442 if test "$wxUSE_INTL" = "yes" ; then
45443 if test "$wxUSE_FILE" != "yes"; then
45444 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45445 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45447 cat >>confdefs.h <<\_ACEOF
45448 #define wxUSE_INTL 1
45451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45452 GUIDIST="$GUIDIST INTL_DIST"
45456 if test "$wxUSE_LOG" = "yes"; then
45457 cat >>confdefs.h <<\_ACEOF
45458 #define wxUSE_LOG 1
45462 if test "$wxUSE_LOGGUI" = "yes"; then
45463 cat >>confdefs.h <<\_ACEOF
45464 #define wxUSE_LOGGUI 1
45469 if test "$wxUSE_LOGWINDOW" = "yes"; then
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_LOGWINDOW 1
45476 if test "$wxUSE_LOGDIALOG" = "yes"; then
45477 cat >>confdefs.h <<\_ACEOF
45478 #define wxUSE_LOG_DIALOG 1
45483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45486 if test "$wxUSE_LONGLONG" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_LONGLONG 1
45493 if test "$wxUSE_GEOMETRY" = "yes"; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define wxUSE_GEOMETRY 1
45500 if test "$wxUSE_BASE64" = "yes"; then
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_BASE64 1
45507 if test "$wxUSE_STREAMS" = "yes" ; then
45508 cat >>confdefs.h <<\_ACEOF
45509 #define wxUSE_STREAMS 1
45514 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45515 cat >>confdefs.h <<\_ACEOF
45516 #define wxUSE_PRINTF_POS_PARAMS 1
45521 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45522 cat >>confdefs.h <<\_ACEOF
45523 #define wxUSE_OBJC_UNIQUIFYING 1
45529 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_CONSOLE_EVENTLOOP 1
45535 if test "$wxUSE_UNIX" = "yes"; then
45536 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_SELECT_DISPATCHER 1
45543 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45545 for ac_header in sys/epoll.h
45547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45548 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45549 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45551 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45552 echo $ECHO_N "(cached) $ECHO_C" >&6
45554 ac_res=`eval echo '${'$as_ac_Header'}'`
45555 { echo "$as_me:$LINENO: result: $ac_res" >&5
45556 echo "${ECHO_T}$ac_res" >&6; }
45558 # Is the header compilable?
45559 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45560 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45561 cat >conftest.$ac_ext <<_ACEOF
45564 cat confdefs.h >>conftest.$ac_ext
45565 cat >>conftest.$ac_ext <<_ACEOF
45566 /* end confdefs.h. */
45567 $ac_includes_default
45568 #include <$ac_header>
45570 rm -f conftest.$ac_objext
45571 if { (ac_try="$ac_compile"
45572 case "(($ac_try" in
45573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45574 *) ac_try_echo=$ac_try;;
45576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45577 (eval "$ac_compile") 2>conftest.er1
45579 grep -v '^ *+' conftest.er1 >conftest.err
45581 cat conftest.err >&5
45582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45583 (exit $ac_status); } && {
45584 test -z "$ac_c_werror_flag" ||
45585 test ! -s conftest.err
45586 } && test -s conftest.$ac_objext; then
45587 ac_header_compiler=yes
45589 echo "$as_me: failed program was:" >&5
45590 sed 's/^/| /' conftest.$ac_ext >&5
45592 ac_header_compiler=no
45595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45596 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45597 echo "${ECHO_T}$ac_header_compiler" >&6; }
45599 # Is the header present?
45600 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45601 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45602 cat >conftest.$ac_ext <<_ACEOF
45605 cat confdefs.h >>conftest.$ac_ext
45606 cat >>conftest.$ac_ext <<_ACEOF
45607 /* end confdefs.h. */
45608 #include <$ac_header>
45610 if { (ac_try="$ac_cpp conftest.$ac_ext"
45611 case "(($ac_try" in
45612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45613 *) ac_try_echo=$ac_try;;
45615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45618 grep -v '^ *+' conftest.er1 >conftest.err
45620 cat conftest.err >&5
45621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45622 (exit $ac_status); } >/dev/null && {
45623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45624 test ! -s conftest.err
45626 ac_header_preproc=yes
45628 echo "$as_me: failed program was:" >&5
45629 sed 's/^/| /' conftest.$ac_ext >&5
45631 ac_header_preproc=no
45634 rm -f conftest.err conftest.$ac_ext
45635 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45636 echo "${ECHO_T}$ac_header_preproc" >&6; }
45638 # So? What about this header?
45639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45641 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45642 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45644 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45645 ac_header_preproc=yes
45648 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45649 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45650 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45651 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45652 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45653 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45654 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45655 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45658 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45659 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45661 ## ----------------------------------------- ##
45662 ## Report this to wx-dev@lists.wxwidgets.org ##
45663 ## ----------------------------------------- ##
45665 ) | sed "s/^/$as_me: WARNING: /" >&2
45668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45671 echo $ECHO_N "(cached) $ECHO_C" >&6
45673 eval "$as_ac_Header=\$ac_header_preproc"
45675 ac_res=`eval echo '${'$as_ac_Header'}'`
45676 { echo "$as_me:$LINENO: result: $ac_res" >&5
45677 echo "${ECHO_T}$ac_res" >&6; }
45680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45681 cat >>confdefs.h <<_ACEOF
45682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45689 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45690 cat >>confdefs.h <<\_ACEOF
45691 #define wxUSE_EPOLL_DISPATCHER 1
45695 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45696 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45705 for ac_func in gettimeofday ftime
45707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45708 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45710 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45711 echo $ECHO_N "(cached) $ECHO_C" >&6
45713 cat >conftest.$ac_ext <<_ACEOF
45716 cat confdefs.h >>conftest.$ac_ext
45717 cat >>conftest.$ac_ext <<_ACEOF
45718 /* end confdefs.h. */
45719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45721 #define $ac_func innocuous_$ac_func
45723 /* System header to define __stub macros and hopefully few prototypes,
45724 which can conflict with char $ac_func (); below.
45725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45726 <limits.h> exists even on freestanding compilers. */
45729 # include <limits.h>
45731 # include <assert.h>
45736 /* Override any GCC internal prototype to avoid an error.
45737 Use char because int might match the return type of a GCC
45738 builtin and then its argument prototype would still apply. */
45743 /* The GNU C library defines this for functions which it implements
45744 to always fail with ENOSYS. Some functions are actually named
45745 something starting with __ and the normal name is an alias. */
45746 #if defined __stub_$ac_func || defined __stub___$ac_func
45753 return $ac_func ();
45758 rm -f conftest.$ac_objext conftest$ac_exeext
45759 if { (ac_try="$ac_link"
45760 case "(($ac_try" in
45761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45762 *) ac_try_echo=$ac_try;;
45764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45765 (eval "$ac_link") 2>conftest.er1
45767 grep -v '^ *+' conftest.er1 >conftest.err
45769 cat conftest.err >&5
45770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45771 (exit $ac_status); } && {
45772 test -z "$ac_c_werror_flag" ||
45773 test ! -s conftest.err
45774 } && test -s conftest$ac_exeext &&
45775 $as_test_x conftest$ac_exeext; then
45776 eval "$as_ac_var=yes"
45778 echo "$as_me: failed program was:" >&5
45779 sed 's/^/| /' conftest.$ac_ext >&5
45781 eval "$as_ac_var=no"
45784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45785 conftest$ac_exeext conftest.$ac_ext
45787 ac_res=`eval echo '${'$as_ac_var'}'`
45788 { echo "$as_me:$LINENO: result: $ac_res" >&5
45789 echo "${ECHO_T}$ac_res" >&6; }
45790 if test `eval echo '${'$as_ac_var'}'` = yes; then
45791 cat >>confdefs.h <<_ACEOF
45792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45799 if test "$ac_cv_func_gettimeofday" = "yes"; then
45800 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45801 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45802 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45803 echo $ECHO_N "(cached) $ECHO_C" >&6
45806 cat >conftest.$ac_ext <<_ACEOF
45809 cat confdefs.h >>conftest.$ac_ext
45810 cat >>conftest.$ac_ext <<_ACEOF
45811 /* end confdefs.h. */
45813 #include <sys/time.h>
45814 #include <unistd.h>
45821 gettimeofday(&tv, NULL);
45827 rm -f conftest.$ac_objext
45828 if { (ac_try="$ac_compile"
45829 case "(($ac_try" in
45830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45831 *) ac_try_echo=$ac_try;;
45833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45834 (eval "$ac_compile") 2>conftest.er1
45836 grep -v '^ *+' conftest.er1 >conftest.err
45838 cat conftest.err >&5
45839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45840 (exit $ac_status); } && {
45841 test -z "$ac_c_werror_flag" ||
45842 test ! -s conftest.err
45843 } && test -s conftest.$ac_objext; then
45844 wx_cv_func_gettimeofday_has_2_args=yes
45846 echo "$as_me: failed program was:" >&5
45847 sed 's/^/| /' conftest.$ac_ext >&5
45849 cat >conftest.$ac_ext <<_ACEOF
45852 cat confdefs.h >>conftest.$ac_ext
45853 cat >>conftest.$ac_ext <<_ACEOF
45854 /* end confdefs.h. */
45856 #include <sys/time.h>
45857 #include <unistd.h>
45870 rm -f conftest.$ac_objext
45871 if { (ac_try="$ac_compile"
45872 case "(($ac_try" in
45873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45874 *) ac_try_echo=$ac_try;;
45876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45877 (eval "$ac_compile") 2>conftest.er1
45879 grep -v '^ *+' conftest.er1 >conftest.err
45881 cat conftest.err >&5
45882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45883 (exit $ac_status); } && {
45884 test -z "$ac_c_werror_flag" ||
45885 test ! -s conftest.err
45886 } && test -s conftest.$ac_objext; then
45887 wx_cv_func_gettimeofday_has_2_args=no
45889 echo "$as_me: failed program was:" >&5
45890 sed 's/^/| /' conftest.$ac_ext >&5
45893 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45894 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45895 wx_cv_func_gettimeofday_has_2_args=unknown
45900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45907 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45908 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45910 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define WX_GETTIMEOFDAY_NO_TZ 1
45918 if test "$wxUSE_DATETIME" = "yes"; then
45919 { echo "$as_me:$LINENO: checking for strptime" >&5
45920 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45921 if test "${ac_cv_func_strptime+set}" = set; then
45922 echo $ECHO_N "(cached) $ECHO_C" >&6
45924 cat >conftest.$ac_ext <<_ACEOF
45927 cat confdefs.h >>conftest.$ac_ext
45928 cat >>conftest.$ac_ext <<_ACEOF
45929 /* end confdefs.h. */
45930 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45932 #define strptime innocuous_strptime
45934 /* System header to define __stub macros and hopefully few prototypes,
45935 which can conflict with char strptime (); below.
45936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45937 <limits.h> exists even on freestanding compilers. */
45940 # include <limits.h>
45942 # include <assert.h>
45947 /* Override any GCC internal prototype to avoid an error.
45948 Use char because int might match the return type of a GCC
45949 builtin and then its argument prototype would still apply. */
45954 /* The GNU C library defines this for functions which it implements
45955 to always fail with ENOSYS. Some functions are actually named
45956 something starting with __ and the normal name is an alias. */
45957 #if defined __stub_strptime || defined __stub___strptime
45964 return strptime ();
45969 rm -f conftest.$ac_objext conftest$ac_exeext
45970 if { (ac_try="$ac_link"
45971 case "(($ac_try" in
45972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45973 *) ac_try_echo=$ac_try;;
45975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45976 (eval "$ac_link") 2>conftest.er1
45978 grep -v '^ *+' conftest.er1 >conftest.err
45980 cat conftest.err >&5
45981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45982 (exit $ac_status); } && {
45983 test -z "$ac_c_werror_flag" ||
45984 test ! -s conftest.err
45985 } && test -s conftest$ac_exeext &&
45986 $as_test_x conftest$ac_exeext; then
45987 ac_cv_func_strptime=yes
45989 echo "$as_me: failed program was:" >&5
45990 sed 's/^/| /' conftest.$ac_ext >&5
45992 ac_cv_func_strptime=no
45995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45996 conftest$ac_exeext conftest.$ac_ext
45998 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45999 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46001 if test "$ac_cv_func_strptime" = "yes"; then
46002 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46003 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46004 if test "${wx_cv_func_strptime_decl+set}" = set; then
46005 echo $ECHO_N "(cached) $ECHO_C" >&6
46009 ac_cpp='$CXXCPP $CPPFLAGS'
46010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46014 cat >conftest.$ac_ext <<_ACEOF
46017 cat confdefs.h >>conftest.$ac_ext
46018 cat >>conftest.$ac_ext <<_ACEOF
46019 /* end confdefs.h. */
46028 strptime("foo", "bar", &t);
46034 rm -f conftest.$ac_objext
46035 if { (ac_try="$ac_compile"
46036 case "(($ac_try" in
46037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46038 *) ac_try_echo=$ac_try;;
46040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46041 (eval "$ac_compile") 2>conftest.er1
46043 grep -v '^ *+' conftest.er1 >conftest.err
46045 cat conftest.err >&5
46046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46047 (exit $ac_status); } && {
46048 test -z "$ac_cxx_werror_flag" ||
46049 test ! -s conftest.err
46050 } && test -s conftest.$ac_objext; then
46051 wx_cv_func_strptime_decl=yes
46053 echo "$as_me: failed program was:" >&5
46054 sed 's/^/| /' conftest.$ac_ext >&5
46056 wx_cv_func_strptime_decl=no
46060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46062 ac_cpp='$CPP $CPPFLAGS'
46063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46070 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46071 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46073 if test "$wx_cv_func_strptime_decl" = "yes"; then
46074 cat >>confdefs.h <<\_ACEOF
46075 #define HAVE_STRPTIME_DECL 1
46079 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46081 if test "$ac_cv_func_strptime" = "yes"; then
46082 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46083 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46084 if test "${wx_cv_func_strptime_ok+set}" = set; then
46085 echo $ECHO_N "(cached) $ECHO_C" >&6
46087 if test "$cross_compiling" = yes; then
46088 wx_cv_func_strptime_ok=no
46091 cat >conftest.$ac_ext <<_ACEOF
46093 #include <stdlib.h>
46095 #include "confdefs.h"
46102 return !!strptime("", "%x", &t);
46106 rm -f conftest$ac_exeext
46107 if { (ac_try="$ac_link"
46108 case "(($ac_try" in
46109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46110 *) ac_try_echo=$ac_try;;
46112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46113 (eval "$ac_link") 2>&5
46115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46116 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46117 { (case "(($ac_try" in
46118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46119 *) ac_try_echo=$ac_try;;
46121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46122 (eval "$ac_try") 2>&5
46124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46125 (exit $ac_status); }; }; then
46126 wx_cv_func_strptime_ok=yes
46128 echo "$as_me: program exited with status $ac_status" >&5
46129 echo "$as_me: failed program was:" >&5
46130 sed 's/^/| /' conftest.$ac_ext >&5
46132 ( exit $ac_status )
46133 wx_cv_func_strptime_ok=no
46135 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46141 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46142 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46144 if test "$wx_cv_func_strptime_ok" = "yes"; then
46145 cat >>confdefs.h <<\_ACEOF
46146 #define HAVE_STRPTIME 1
46152 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46153 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46154 if test "${wx_cv_var_timezone+set}" = set; then
46155 echo $ECHO_N "(cached) $ECHO_C" >&6
46159 ac_cpp='$CXXCPP $CPPFLAGS'
46160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46164 cat >conftest.$ac_ext <<_ACEOF
46167 cat confdefs.h >>conftest.$ac_ext
46168 cat >>conftest.$ac_ext <<_ACEOF
46169 /* end confdefs.h. */
46184 rm -f conftest.$ac_objext
46185 if { (ac_try="$ac_compile"
46186 case "(($ac_try" in
46187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46188 *) ac_try_echo=$ac_try;;
46190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46191 (eval "$ac_compile") 2>conftest.er1
46193 grep -v '^ *+' conftest.er1 >conftest.err
46195 cat conftest.err >&5
46196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46197 (exit $ac_status); } && {
46198 test -z "$ac_cxx_werror_flag" ||
46199 test ! -s conftest.err
46200 } && test -s conftest.$ac_objext; then
46202 wx_cv_var_timezone=timezone
46205 echo "$as_me: failed program was:" >&5
46206 sed 's/^/| /' conftest.$ac_ext >&5
46209 cat >conftest.$ac_ext <<_ACEOF
46212 cat confdefs.h >>conftest.$ac_ext
46213 cat >>conftest.$ac_ext <<_ACEOF
46214 /* end confdefs.h. */
46229 rm -f conftest.$ac_objext
46230 if { (ac_try="$ac_compile"
46231 case "(($ac_try" in
46232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46233 *) ac_try_echo=$ac_try;;
46235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46236 (eval "$ac_compile") 2>conftest.er1
46238 grep -v '^ *+' conftest.er1 >conftest.err
46240 cat conftest.err >&5
46241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46242 (exit $ac_status); } && {
46243 test -z "$ac_cxx_werror_flag" ||
46244 test ! -s conftest.err
46245 } && test -s conftest.$ac_objext; then
46247 wx_cv_var_timezone=_timezone
46250 echo "$as_me: failed program was:" >&5
46251 sed 's/^/| /' conftest.$ac_ext >&5
46254 cat >conftest.$ac_ext <<_ACEOF
46257 cat confdefs.h >>conftest.$ac_ext
46258 cat >>conftest.$ac_ext <<_ACEOF
46259 /* end confdefs.h. */
46274 rm -f conftest.$ac_objext
46275 if { (ac_try="$ac_compile"
46276 case "(($ac_try" in
46277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46278 *) ac_try_echo=$ac_try;;
46280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46281 (eval "$ac_compile") 2>conftest.er1
46283 grep -v '^ *+' conftest.er1 >conftest.err
46285 cat conftest.err >&5
46286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46287 (exit $ac_status); } && {
46288 test -z "$ac_cxx_werror_flag" ||
46289 test ! -s conftest.err
46290 } && test -s conftest.$ac_objext; then
46292 wx_cv_var_timezone=__timezone
46295 echo "$as_me: failed program was:" >&5
46296 sed 's/^/| /' conftest.$ac_ext >&5
46299 if test "$USE_DOS" = 0 ; then
46300 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46301 echo "$as_me: WARNING: no timezone variable" >&2;}
46307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46319 ac_cpp='$CPP $CPPFLAGS'
46320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46327 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46328 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46330 if test "x$wx_cv_var_timezone" != x ; then
46331 cat >>confdefs.h <<_ACEOF
46332 #define WX_TIMEZONE $wx_cv_var_timezone
46338 for ac_func in localtime
46340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46341 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46343 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46344 echo $ECHO_N "(cached) $ECHO_C" >&6
46346 cat >conftest.$ac_ext <<_ACEOF
46349 cat confdefs.h >>conftest.$ac_ext
46350 cat >>conftest.$ac_ext <<_ACEOF
46351 /* end confdefs.h. */
46352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46354 #define $ac_func innocuous_$ac_func
46356 /* System header to define __stub macros and hopefully few prototypes,
46357 which can conflict with char $ac_func (); below.
46358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46359 <limits.h> exists even on freestanding compilers. */
46362 # include <limits.h>
46364 # include <assert.h>
46369 /* Override any GCC internal prototype to avoid an error.
46370 Use char because int might match the return type of a GCC
46371 builtin and then its argument prototype would still apply. */
46376 /* The GNU C library defines this for functions which it implements
46377 to always fail with ENOSYS. Some functions are actually named
46378 something starting with __ and the normal name is an alias. */
46379 #if defined __stub_$ac_func || defined __stub___$ac_func
46386 return $ac_func ();
46391 rm -f conftest.$ac_objext conftest$ac_exeext
46392 if { (ac_try="$ac_link"
46393 case "(($ac_try" in
46394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46395 *) ac_try_echo=$ac_try;;
46397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46398 (eval "$ac_link") 2>conftest.er1
46400 grep -v '^ *+' conftest.er1 >conftest.err
46402 cat conftest.err >&5
46403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46404 (exit $ac_status); } && {
46405 test -z "$ac_c_werror_flag" ||
46406 test ! -s conftest.err
46407 } && test -s conftest$ac_exeext &&
46408 $as_test_x conftest$ac_exeext; then
46409 eval "$as_ac_var=yes"
46411 echo "$as_me: failed program was:" >&5
46412 sed 's/^/| /' conftest.$ac_ext >&5
46414 eval "$as_ac_var=no"
46417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46418 conftest$ac_exeext conftest.$ac_ext
46420 ac_res=`eval echo '${'$as_ac_var'}'`
46421 { echo "$as_me:$LINENO: result: $ac_res" >&5
46422 echo "${ECHO_T}$ac_res" >&6; }
46423 if test `eval echo '${'$as_ac_var'}'` = yes; then
46424 cat >>confdefs.h <<_ACEOF
46425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46432 if test "$ac_cv_func_localtime" = "yes"; then
46433 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46434 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46435 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46436 echo $ECHO_N "(cached) $ECHO_C" >&6
46439 cat >conftest.$ac_ext <<_ACEOF
46442 cat confdefs.h >>conftest.$ac_ext
46443 cat >>conftest.$ac_ext <<_ACEOF
46444 /* end confdefs.h. */
46459 rm -f conftest.$ac_objext
46460 if { (ac_try="$ac_compile"
46461 case "(($ac_try" in
46462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46463 *) ac_try_echo=$ac_try;;
46465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46466 (eval "$ac_compile") 2>conftest.er1
46468 grep -v '^ *+' conftest.er1 >conftest.err
46470 cat conftest.err >&5
46471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46472 (exit $ac_status); } && {
46473 test -z "$ac_c_werror_flag" ||
46474 test ! -s conftest.err
46475 } && test -s conftest.$ac_objext; then
46477 wx_cv_struct_tm_has_gmtoff=yes
46480 echo "$as_me: failed program was:" >&5
46481 sed 's/^/| /' conftest.$ac_ext >&5
46483 wx_cv_struct_tm_has_gmtoff=no
46487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46490 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46491 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46494 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46495 cat >>confdefs.h <<\_ACEOF
46496 #define WX_GMTOFF_IN_TM 1
46501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46505 if test "$wxUSE_SOCKETS" = "yes"; then
46506 if test "$wxUSE_MGL" = "1"; then
46507 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46508 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46513 if test "$wxUSE_SOCKETS" = "yes"; then
46514 if test "$TOOLKIT" != "MSW"; then
46515 { echo "$as_me:$LINENO: checking for socket" >&5
46516 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46517 if test "${ac_cv_func_socket+set}" = set; then
46518 echo $ECHO_N "(cached) $ECHO_C" >&6
46520 cat >conftest.$ac_ext <<_ACEOF
46523 cat confdefs.h >>conftest.$ac_ext
46524 cat >>conftest.$ac_ext <<_ACEOF
46525 /* end confdefs.h. */
46526 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46528 #define socket innocuous_socket
46530 /* System header to define __stub macros and hopefully few prototypes,
46531 which can conflict with char socket (); below.
46532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46533 <limits.h> exists even on freestanding compilers. */
46536 # include <limits.h>
46538 # include <assert.h>
46543 /* Override any GCC internal prototype to avoid an error.
46544 Use char because int might match the return type of a GCC
46545 builtin and then its argument prototype would still apply. */
46550 /* The GNU C library defines this for functions which it implements
46551 to always fail with ENOSYS. Some functions are actually named
46552 something starting with __ and the normal name is an alias. */
46553 #if defined __stub_socket || defined __stub___socket
46565 rm -f conftest.$ac_objext conftest$ac_exeext
46566 if { (ac_try="$ac_link"
46567 case "(($ac_try" in
46568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46569 *) ac_try_echo=$ac_try;;
46571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46572 (eval "$ac_link") 2>conftest.er1
46574 grep -v '^ *+' conftest.er1 >conftest.err
46576 cat conftest.err >&5
46577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46578 (exit $ac_status); } && {
46579 test -z "$ac_c_werror_flag" ||
46580 test ! -s conftest.err
46581 } && test -s conftest$ac_exeext &&
46582 $as_test_x conftest$ac_exeext; then
46583 ac_cv_func_socket=yes
46585 echo "$as_me: failed program was:" >&5
46586 sed 's/^/| /' conftest.$ac_ext >&5
46588 ac_cv_func_socket=no
46591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46592 conftest$ac_exeext conftest.$ac_ext
46594 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46595 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46596 if test $ac_cv_func_socket = yes; then
46600 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46601 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46602 if test "${ac_cv_lib_socket_socket+set}" = set; then
46603 echo $ECHO_N "(cached) $ECHO_C" >&6
46605 ac_check_lib_save_LIBS=$LIBS
46606 LIBS="-lsocket $LIBS"
46607 cat >conftest.$ac_ext <<_ACEOF
46610 cat confdefs.h >>conftest.$ac_ext
46611 cat >>conftest.$ac_ext <<_ACEOF
46612 /* end confdefs.h. */
46614 /* Override any GCC internal prototype to avoid an error.
46615 Use char because int might match the return type of a GCC
46616 builtin and then its argument prototype would still apply. */
46629 rm -f conftest.$ac_objext conftest$ac_exeext
46630 if { (ac_try="$ac_link"
46631 case "(($ac_try" in
46632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46633 *) ac_try_echo=$ac_try;;
46635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46636 (eval "$ac_link") 2>conftest.er1
46638 grep -v '^ *+' conftest.er1 >conftest.err
46640 cat conftest.err >&5
46641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46642 (exit $ac_status); } && {
46643 test -z "$ac_c_werror_flag" ||
46644 test ! -s conftest.err
46645 } && test -s conftest$ac_exeext &&
46646 $as_test_x conftest$ac_exeext; then
46647 ac_cv_lib_socket_socket=yes
46649 echo "$as_me: failed program was:" >&5
46650 sed 's/^/| /' conftest.$ac_ext >&5
46652 ac_cv_lib_socket_socket=no
46655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46656 conftest$ac_exeext conftest.$ac_ext
46657 LIBS=$ac_check_lib_save_LIBS
46659 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46660 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46661 if test $ac_cv_lib_socket_socket = yes; then
46662 if test "$INET_LINK" != " -lsocket"; then
46663 INET_LINK="$INET_LINK -lsocket"
46667 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46668 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46681 if test "$wxUSE_SOCKETS" = "yes" ; then
46682 if test "$TOOLKIT" != "MSW"; then
46683 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46684 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46685 if test "${wx_cv_type_getsockname3+set}" = set; then
46686 echo $ECHO_N "(cached) $ECHO_C" >&6
46690 ac_cpp='$CXXCPP $CPPFLAGS'
46691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46695 cat >conftest.$ac_ext <<_ACEOF
46698 cat confdefs.h >>conftest.$ac_ext
46699 cat >>conftest.$ac_ext <<_ACEOF
46700 /* end confdefs.h. */
46702 #include <sys/types.h>
46703 #include <sys/socket.h>
46710 getsockname(0, 0, &len);
46716 rm -f conftest.$ac_objext
46717 if { (ac_try="$ac_compile"
46718 case "(($ac_try" in
46719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46720 *) ac_try_echo=$ac_try;;
46722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46723 (eval "$ac_compile") 2>conftest.er1
46725 grep -v '^ *+' conftest.er1 >conftest.err
46727 cat conftest.err >&5
46728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46729 (exit $ac_status); } && {
46730 test -z "$ac_cxx_werror_flag" ||
46731 test ! -s conftest.err
46732 } && test -s conftest.$ac_objext; then
46733 wx_cv_type_getsockname3=socklen_t
46735 echo "$as_me: failed program was:" >&5
46736 sed 's/^/| /' conftest.$ac_ext >&5
46739 CFLAGS_OLD="$CFLAGS"
46740 if test "$GCC" = yes ; then
46741 CFLAGS="-Werror $CFLAGS"
46744 cat >conftest.$ac_ext <<_ACEOF
46747 cat confdefs.h >>conftest.$ac_ext
46748 cat >>conftest.$ac_ext <<_ACEOF
46749 /* end confdefs.h. */
46751 #include <sys/types.h>
46752 #include <sys/socket.h>
46759 getsockname(0, 0, &len);
46765 rm -f conftest.$ac_objext
46766 if { (ac_try="$ac_compile"
46767 case "(($ac_try" in
46768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46769 *) ac_try_echo=$ac_try;;
46771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46772 (eval "$ac_compile") 2>conftest.er1
46774 grep -v '^ *+' conftest.er1 >conftest.err
46776 cat conftest.err >&5
46777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46778 (exit $ac_status); } && {
46779 test -z "$ac_cxx_werror_flag" ||
46780 test ! -s conftest.err
46781 } && test -s conftest.$ac_objext; then
46782 wx_cv_type_getsockname3=size_t
46784 echo "$as_me: failed program was:" >&5
46785 sed 's/^/| /' conftest.$ac_ext >&5
46787 cat >conftest.$ac_ext <<_ACEOF
46790 cat confdefs.h >>conftest.$ac_ext
46791 cat >>conftest.$ac_ext <<_ACEOF
46792 /* end confdefs.h. */
46794 #include <sys/types.h>
46795 #include <sys/socket.h>
46802 getsockname(0, 0, &len);
46808 rm -f conftest.$ac_objext
46809 if { (ac_try="$ac_compile"
46810 case "(($ac_try" in
46811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46812 *) ac_try_echo=$ac_try;;
46814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46815 (eval "$ac_compile") 2>conftest.er1
46817 grep -v '^ *+' conftest.er1 >conftest.err
46819 cat conftest.err >&5
46820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46821 (exit $ac_status); } && {
46822 test -z "$ac_cxx_werror_flag" ||
46823 test ! -s conftest.err
46824 } && test -s conftest.$ac_objext; then
46825 wx_cv_type_getsockname3=int
46827 echo "$as_me: failed program was:" >&5
46828 sed 's/^/| /' conftest.$ac_ext >&5
46830 wx_cv_type_getsockname3=unknown
46834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46840 CFLAGS="$CFLAGS_OLD"
46845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46847 ac_cpp='$CPP $CPPFLAGS'
46848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46854 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46855 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46857 if test "$wx_cv_type_getsockname3" = "unknown"; then
46859 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46860 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46862 cat >>confdefs.h <<_ACEOF
46863 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46867 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46868 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46869 if test "${wx_cv_type_getsockopt5+set}" = set; then
46870 echo $ECHO_N "(cached) $ECHO_C" >&6
46874 ac_cpp='$CXXCPP $CPPFLAGS'
46875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46879 cat >conftest.$ac_ext <<_ACEOF
46882 cat confdefs.h >>conftest.$ac_ext
46883 cat >>conftest.$ac_ext <<_ACEOF
46884 /* end confdefs.h. */
46886 #include <sys/types.h>
46887 #include <sys/socket.h>
46894 getsockopt(0, 0, 0, 0, &len);
46900 rm -f conftest.$ac_objext
46901 if { (ac_try="$ac_compile"
46902 case "(($ac_try" in
46903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46904 *) ac_try_echo=$ac_try;;
46906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46907 (eval "$ac_compile") 2>conftest.er1
46909 grep -v '^ *+' conftest.er1 >conftest.err
46911 cat conftest.err >&5
46912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46913 (exit $ac_status); } && {
46914 test -z "$ac_cxx_werror_flag" ||
46915 test ! -s conftest.err
46916 } && test -s conftest.$ac_objext; then
46917 wx_cv_type_getsockopt5=socklen_t
46919 echo "$as_me: failed program was:" >&5
46920 sed 's/^/| /' conftest.$ac_ext >&5
46923 cat >conftest.$ac_ext <<_ACEOF
46926 cat confdefs.h >>conftest.$ac_ext
46927 cat >>conftest.$ac_ext <<_ACEOF
46928 /* end confdefs.h. */
46930 #include <sys/types.h>
46931 #include <sys/socket.h>
46938 getsockopt(0, 0, 0, 0, &len);
46944 rm -f conftest.$ac_objext
46945 if { (ac_try="$ac_compile"
46946 case "(($ac_try" in
46947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46948 *) ac_try_echo=$ac_try;;
46950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46951 (eval "$ac_compile") 2>conftest.er1
46953 grep -v '^ *+' conftest.er1 >conftest.err
46955 cat conftest.err >&5
46956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46957 (exit $ac_status); } && {
46958 test -z "$ac_cxx_werror_flag" ||
46959 test ! -s conftest.err
46960 } && test -s conftest.$ac_objext; then
46961 wx_cv_type_getsockopt5=size_t
46963 echo "$as_me: failed program was:" >&5
46964 sed 's/^/| /' conftest.$ac_ext >&5
46966 cat >conftest.$ac_ext <<_ACEOF
46969 cat confdefs.h >>conftest.$ac_ext
46970 cat >>conftest.$ac_ext <<_ACEOF
46971 /* end confdefs.h. */
46973 #include <sys/types.h>
46974 #include <sys/socket.h>
46981 getsockopt(0, 0, 0, 0, &len);
46987 rm -f conftest.$ac_objext
46988 if { (ac_try="$ac_compile"
46989 case "(($ac_try" in
46990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46991 *) ac_try_echo=$ac_try;;
46993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46994 (eval "$ac_compile") 2>conftest.er1
46996 grep -v '^ *+' conftest.er1 >conftest.err
46998 cat conftest.err >&5
46999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47000 (exit $ac_status); } && {
47001 test -z "$ac_cxx_werror_flag" ||
47002 test ! -s conftest.err
47003 } && test -s conftest.$ac_objext; then
47004 wx_cv_type_getsockopt5=int
47006 echo "$as_me: failed program was:" >&5
47007 sed 's/^/| /' conftest.$ac_ext >&5
47009 wx_cv_type_getsockopt5=unknown
47013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47024 ac_cpp='$CPP $CPPFLAGS'
47025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47031 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47032 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47034 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47036 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47037 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47039 cat >>confdefs.h <<_ACEOF
47040 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47047 if test "$wxUSE_SOCKETS" = "yes" ; then
47048 cat >>confdefs.h <<\_ACEOF
47049 #define wxUSE_SOCKETS 1
47052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47055 if test "$wxUSE_PROTOCOL" = "yes"; then
47056 if test "$wxUSE_SOCKETS" != "yes"; then
47057 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47058 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47063 if test "$wxUSE_PROTOCOL" = "yes"; then
47064 cat >>confdefs.h <<\_ACEOF
47065 #define wxUSE_PROTOCOL 1
47069 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47070 cat >>confdefs.h <<\_ACEOF
47071 #define wxUSE_PROTOCOL_HTTP 1
47075 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47076 cat >>confdefs.h <<\_ACEOF
47077 #define wxUSE_PROTOCOL_FTP 1
47081 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47082 cat >>confdefs.h <<\_ACEOF
47083 #define wxUSE_PROTOCOL_FILE 1
47088 if test "$wxUSE_FS_INET" = "yes"; then
47089 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47090 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47095 if test "$wxUSE_URL" = "yes"; then
47096 if test "$wxUSE_PROTOCOL" != "yes"; then
47097 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47098 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47101 if test "$wxUSE_URL" = "yes"; then
47102 cat >>confdefs.h <<\_ACEOF
47103 #define wxUSE_URL 1
47109 if test "$wxUSE_VARIANT" = "yes"; then
47110 cat >>confdefs.h <<\_ACEOF
47111 #define wxUSE_VARIANT 1
47116 if test "$wxUSE_FS_INET" = "yes"; then
47117 cat >>confdefs.h <<\_ACEOF
47118 #define wxUSE_FS_INET 1
47124 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47127 if test "$TOOLKIT" = "MSW"; then
47130 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47131 if test "$USE_DARWIN" = 1; then
47132 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47133 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47135 ac_cpp='$CXXCPP $CPPFLAGS'
47136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47140 cat >conftest.$ac_ext <<_ACEOF
47143 cat confdefs.h >>conftest.$ac_ext
47144 cat >>conftest.$ac_ext <<_ACEOF
47145 /* end confdefs.h. */
47146 #include <IOKit/hid/IOHIDLib.h>
47150 IOHIDQueueInterface *qi = NULL;
47151 IOHIDCallbackFunction cb = NULL;
47152 qi->setEventCallout(NULL, cb, NULL, NULL);
47157 rm -f conftest.$ac_objext
47158 if { (ac_try="$ac_compile"
47159 case "(($ac_try" in
47160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47161 *) ac_try_echo=$ac_try;;
47163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47164 (eval "$ac_compile") 2>conftest.er1
47166 grep -v '^ *+' conftest.er1 >conftest.err
47168 cat conftest.err >&5
47169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47170 (exit $ac_status); } && {
47171 test -z "$ac_cxx_werror_flag" ||
47172 test ! -s conftest.err
47173 } && test -s conftest.$ac_objext; then
47177 echo "$as_me: failed program was:" >&5
47178 sed 's/^/| /' conftest.$ac_ext >&5
47183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47185 ac_cpp='$CPP $CPPFLAGS'
47186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47190 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47191 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47195 if test "$wxUSE_MGL" != "1"; then
47196 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
47197 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
47198 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
47199 echo $ECHO_N "(cached) $ECHO_C" >&6
47201 cat >conftest.$ac_ext <<_ACEOF
47204 cat confdefs.h >>conftest.$ac_ext
47205 cat >>conftest.$ac_ext <<_ACEOF
47206 /* end confdefs.h. */
47207 $ac_includes_default
47209 #include <linux/joystick.h>
47211 rm -f conftest.$ac_objext
47212 if { (ac_try="$ac_compile"
47213 case "(($ac_try" in
47214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47215 *) ac_try_echo=$ac_try;;
47217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47218 (eval "$ac_compile") 2>conftest.er1
47220 grep -v '^ *+' conftest.er1 >conftest.err
47222 cat conftest.err >&5
47223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47224 (exit $ac_status); } && {
47225 test -z "$ac_c_werror_flag" ||
47226 test ! -s conftest.err
47227 } && test -s conftest.$ac_objext; then
47228 ac_cv_header_linux_joystick_h=yes
47230 echo "$as_me: failed program was:" >&5
47231 sed 's/^/| /' conftest.$ac_ext >&5
47233 ac_cv_header_linux_joystick_h=no
47236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47238 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
47239 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
47240 if test $ac_cv_header_linux_joystick_h = yes; then
47248 if test "$wxUSE_JOYSTICK" = "yes"; then
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_JOYSTICK 1
47253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47255 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47256 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47262 if test "$wxUSE_FONTMAP" = "yes" ; then
47263 cat >>confdefs.h <<\_ACEOF
47264 #define wxUSE_FONTMAP 1
47269 if test "$wxUSE_UNICODE" = "yes" ; then
47270 cat >>confdefs.h <<\_ACEOF
47271 #define wxUSE_UNICODE 1
47275 if test "$USE_WIN32" != 1; then
47276 wxUSE_UNICODE_MSLU=no
47279 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47280 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47281 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47282 if test "${ac_cv_lib_unicows_main+set}" = set; then
47283 echo $ECHO_N "(cached) $ECHO_C" >&6
47285 ac_check_lib_save_LIBS=$LIBS
47286 LIBS="-lunicows $LIBS"
47287 cat >conftest.$ac_ext <<_ACEOF
47290 cat confdefs.h >>conftest.$ac_ext
47291 cat >>conftest.$ac_ext <<_ACEOF
47292 /* end confdefs.h. */
47303 rm -f conftest.$ac_objext conftest$ac_exeext
47304 if { (ac_try="$ac_link"
47305 case "(($ac_try" in
47306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47307 *) ac_try_echo=$ac_try;;
47309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47310 (eval "$ac_link") 2>conftest.er1
47312 grep -v '^ *+' conftest.er1 >conftest.err
47314 cat conftest.err >&5
47315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47316 (exit $ac_status); } && {
47317 test -z "$ac_c_werror_flag" ||
47318 test ! -s conftest.err
47319 } && test -s conftest$ac_exeext &&
47320 $as_test_x conftest$ac_exeext; then
47321 ac_cv_lib_unicows_main=yes
47323 echo "$as_me: failed program was:" >&5
47324 sed 's/^/| /' conftest.$ac_ext >&5
47326 ac_cv_lib_unicows_main=no
47329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47330 conftest$ac_exeext conftest.$ac_ext
47331 LIBS=$ac_check_lib_save_LIBS
47333 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47334 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47335 if test $ac_cv_lib_unicows_main = yes; then
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_UNICODE_MSLU 1
47344 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47345 Applications will only run on Windows NT/2000/XP!" >&5
47346 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47347 Applications will only run on Windows NT/2000/XP!" >&2;}
47348 wxUSE_UNICODE_MSLU=no
47355 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_UNICODE_UTF8 1
47361 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47362 cat >>confdefs.h <<\_ACEOF
47363 #define wxUSE_UTF8_LOCALE_ONLY 1
47369 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47370 cat >>confdefs.h <<\_ACEOF
47371 #define wxUSE_EXPERIMENTAL_PRINTF 1
47377 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47378 cat >>confdefs.h <<\_ACEOF
47379 #define wxUSE_CONSTRAINTS 1
47382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47385 if test "$wxUSE_MDI" = "yes"; then
47386 cat >>confdefs.h <<\_ACEOF
47387 #define wxUSE_MDI 1
47391 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47392 cat >>confdefs.h <<\_ACEOF
47393 #define wxUSE_MDI_ARCHITECTURE 1
47396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47400 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47401 cat >>confdefs.h <<\_ACEOF
47402 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47406 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47411 if test "$wxUSE_HELP" = "yes"; then
47412 cat >>confdefs.h <<\_ACEOF
47413 #define wxUSE_HELP 1
47416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47418 if test "$wxUSE_MSW" = 1; then
47419 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47420 cat >>confdefs.h <<\_ACEOF
47421 #define wxUSE_MS_HTML_HELP 1
47427 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47428 if test "$wxUSE_HTML" = "yes"; then
47429 cat >>confdefs.h <<\_ACEOF
47430 #define wxUSE_WXHTML_HELP 1
47434 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47435 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47436 wxUSE_WXHTML_HELP=no
47441 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47442 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47443 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47444 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47446 cat >>confdefs.h <<\_ACEOF
47447 #define wxUSE_PRINTING_ARCHITECTURE 1
47451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47454 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_POSTSCRIPT 1
47461 cat >>confdefs.h <<\_ACEOF
47462 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47466 cat >>confdefs.h <<\_ACEOF
47467 #define wxUSE_NORMALIZED_PS_FONTS 1
47471 if test "$wxUSE_SVG" = "yes"; then
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_SVG 1
47479 if test "$wxUSE_METAFILE" = "yes"; then
47480 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47481 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47482 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47488 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47489 -o "$wxUSE_CLIPBOARD" = "yes" \
47490 -o "$wxUSE_OLE" = "yes" \
47491 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47492 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47493 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47494 if test "${ac_cv_header_ole2_h+set}" = set; then
47495 echo $ECHO_N "(cached) $ECHO_C" >&6
47497 cat >conftest.$ac_ext <<_ACEOF
47500 cat confdefs.h >>conftest.$ac_ext
47501 cat >>conftest.$ac_ext <<_ACEOF
47502 /* end confdefs.h. */
47507 rm -f conftest.$ac_objext
47508 if { (ac_try="$ac_compile"
47509 case "(($ac_try" in
47510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47511 *) ac_try_echo=$ac_try;;
47513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47514 (eval "$ac_compile") 2>conftest.er1
47516 grep -v '^ *+' conftest.er1 >conftest.err
47518 cat conftest.err >&5
47519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47520 (exit $ac_status); } && {
47521 test -z "$ac_c_werror_flag" ||
47522 test ! -s conftest.err
47523 } && test -s conftest.$ac_objext; then
47524 ac_cv_header_ole2_h=yes
47526 echo "$as_me: failed program was:" >&5
47527 sed 's/^/| /' conftest.$ac_ext >&5
47529 ac_cv_header_ole2_h=no
47532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47534 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47535 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47539 if test "$ac_cv_header_ole2_h" = "yes" ; then
47540 if test "$GCC" = yes ; then
47541 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47542 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47543 cat >conftest.$ac_ext <<_ACEOF
47546 cat confdefs.h >>conftest.$ac_ext
47547 cat >>conftest.$ac_ext <<_ACEOF
47548 /* end confdefs.h. */
47549 #include <windows.h>
47559 rm -f conftest.$ac_objext
47560 if { (ac_try="$ac_compile"
47561 case "(($ac_try" in
47562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47563 *) ac_try_echo=$ac_try;;
47565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47566 (eval "$ac_compile") 2>conftest.er1
47568 grep -v '^ *+' conftest.er1 >conftest.err
47570 cat conftest.err >&5
47571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572 (exit $ac_status); } && {
47573 test -z "$ac_c_werror_flag" ||
47574 test ! -s conftest.err
47575 } && test -s conftest.$ac_objext; then
47576 { echo "$as_me:$LINENO: result: no" >&5
47577 echo "${ECHO_T}no" >&6; }
47579 echo "$as_me: failed program was:" >&5
47580 sed 's/^/| /' conftest.$ac_ext >&5
47582 { echo "$as_me:$LINENO: result: yes" >&5
47583 echo "${ECHO_T}yes" >&6; }
47584 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47588 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47589 if test "$wxUSE_OLE" = "yes" ; then
47590 cat >>confdefs.h <<\_ACEOF
47591 #define wxUSE_OLE 1
47594 cat >>confdefs.h <<\_ACEOF
47595 #define wxUSE_OLE_AUTOMATION 1
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_ACTIVEX 1
47602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47606 if test "$wxUSE_DATAOBJ" = "yes" ; then
47607 cat >>confdefs.h <<\_ACEOF
47608 #define wxUSE_DATAOBJ 1
47613 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47614 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47617 wxUSE_DRAG_AND_DROP=no
47622 if test "$wxUSE_METAFILE" = "yes"; then
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_METAFILE 1
47628 cat >>confdefs.h <<\_ACEOF
47629 #define wxUSE_ENH_METAFILE 1
47635 if test "$wxUSE_IPC" = "yes"; then
47636 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47637 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47638 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47642 if test "$wxUSE_IPC" = "yes"; then
47643 cat >>confdefs.h <<\_ACEOF
47644 #define wxUSE_IPC 1
47647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47651 if test "$wxUSE_DATAOBJ" = "yes"; then
47652 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47653 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47654 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47657 cat >>confdefs.h <<\_ACEOF
47658 #define wxUSE_DATAOBJ 1
47663 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47664 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47666 wxUSE_DRAG_AND_DROP=no
47669 if test "$wxUSE_CLIPBOARD" = "yes"; then
47670 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47671 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47672 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47676 if test "$wxUSE_CLIPBOARD" = "yes"; then
47677 cat >>confdefs.h <<\_ACEOF
47678 #define wxUSE_CLIPBOARD 1
47684 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47685 if test "$wxUSE_GTK" = 1; then
47686 if test "$WXGTK12" != 1; then
47687 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47688 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47689 wxUSE_DRAG_AND_DROP=no
47693 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47694 "$wxUSE_DFB" = 1; then
47695 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47696 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47697 wxUSE_DRAG_AND_DROP=no
47700 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47701 cat >>confdefs.h <<\_ACEOF
47702 #define wxUSE_DRAG_AND_DROP 1
47709 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47713 if test "$wxUSE_SPLINES" = "yes" ; then
47714 cat >>confdefs.h <<\_ACEOF
47715 #define wxUSE_SPLINES 1
47720 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47721 cat >>confdefs.h <<\_ACEOF
47722 #define wxUSE_MOUSEWHEEL 1
47729 if test "$wxUSE_CONTROLS" = "yes"; then
47733 if test "$wxUSE_ACCEL" = "yes"; then
47734 cat >>confdefs.h <<\_ACEOF
47735 #define wxUSE_ACCEL 1
47741 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47742 cat >>confdefs.h <<\_ACEOF
47743 #define wxUSE_ANIMATIONCTRL 1
47747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47750 if test "$wxUSE_BUTTON" = "yes"; then
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_BUTTON 1
47758 if test "$wxUSE_BMPBUTTON" = "yes"; then
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_BMPBUTTON 1
47766 if test "$wxUSE_CALCTRL" = "yes"; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_CALENDARCTRL 1
47772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47775 if test "$wxUSE_CARET" = "yes"; then
47776 cat >>confdefs.h <<\_ACEOF
47777 #define wxUSE_CARET 1
47781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47784 if test "$wxUSE_COLLPANE" = "yes"; then
47785 cat >>confdefs.h <<\_ACEOF
47786 #define wxUSE_COLLPANE 1
47790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47793 if test "$wxUSE_COMBOBOX" = "yes"; then
47794 cat >>confdefs.h <<\_ACEOF
47795 #define wxUSE_COMBOBOX 1
47801 if test "$wxUSE_COMBOCTRL" = "yes"; then
47802 cat >>confdefs.h <<\_ACEOF
47803 #define wxUSE_COMBOCTRL 1
47809 if test "$wxUSE_CHOICE" = "yes"; then
47810 cat >>confdefs.h <<\_ACEOF
47811 #define wxUSE_CHOICE 1
47817 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47818 cat >>confdefs.h <<\_ACEOF
47819 #define wxUSE_CHOICEBOOK 1
47825 if test "$wxUSE_CHECKBOX" = "yes"; then
47826 cat >>confdefs.h <<\_ACEOF
47827 #define wxUSE_CHECKBOX 1
47833 if test "$wxUSE_CHECKLST" = "yes"; then
47834 cat >>confdefs.h <<\_ACEOF
47835 #define wxUSE_CHECKLISTBOX 1
47839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47842 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47843 cat >>confdefs.h <<\_ACEOF
47844 #define wxUSE_COLOURPICKERCTRL 1
47850 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47851 cat >>confdefs.h <<\_ACEOF
47852 #define wxUSE_DATEPICKCTRL 1
47858 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47859 cat >>confdefs.h <<\_ACEOF
47860 #define wxUSE_DIRPICKERCTRL 1
47866 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_FILEPICKERCTRL 1
47874 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_FONTPICKERCTRL 1
47882 if test "$wxUSE_DISPLAY" = "yes"; then
47883 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47884 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47885 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47888 cat >>confdefs.h <<\_ACEOF
47889 #define wxUSE_DISPLAY 1
47892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47896 if test "$wxUSE_DETECT_SM" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_DETECT_SM 1
47903 if test "$wxUSE_GAUGE" = "yes"; then
47904 cat >>confdefs.h <<\_ACEOF
47905 #define wxUSE_GAUGE 1
47911 if test "$wxUSE_GRID" = "yes"; then
47912 cat >>confdefs.h <<\_ACEOF
47913 #define wxUSE_GRID 1
47917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47920 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47921 cat >>confdefs.h <<\_ACEOF
47922 #define wxUSE_HYPERLINKCTRL 1
47928 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_BITMAPCOMBOBOX 1
47936 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47937 cat >>confdefs.h <<\_ACEOF
47938 #define wxUSE_DATAVIEWCTRL 1
47942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47945 if test "$wxUSE_IMAGLIST" = "yes"; then
47946 cat >>confdefs.h <<\_ACEOF
47947 #define wxUSE_IMAGLIST 1
47952 if test "$wxUSE_LISTBOOK" = "yes"; then
47953 cat >>confdefs.h <<\_ACEOF
47954 #define wxUSE_LISTBOOK 1
47960 if test "$wxUSE_LISTBOX" = "yes"; then
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_LISTBOX 1
47966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47969 if test "$wxUSE_LISTCTRL" = "yes"; then
47970 if test "$wxUSE_IMAGLIST" = "yes"; then
47971 cat >>confdefs.h <<\_ACEOF
47972 #define wxUSE_LISTCTRL 1
47976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47978 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47979 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47983 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47984 cat >>confdefs.h <<\_ACEOF
47985 #define wxUSE_EDITABLELISTBOX 1
47989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47992 if test "$wxUSE_NOTEBOOK" = "yes"; then
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_NOTEBOOK 1
47998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48001 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48002 cat >>confdefs.h <<\_ACEOF
48003 #define wxUSE_ODCOMBOBOX 1
48007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48011 if test "$wxUSE_RADIOBOX" = "yes"; then
48012 cat >>confdefs.h <<\_ACEOF
48013 #define wxUSE_RADIOBOX 1
48019 if test "$wxUSE_RADIOBTN" = "yes"; then
48020 cat >>confdefs.h <<\_ACEOF
48021 #define wxUSE_RADIOBTN 1
48027 if test "$wxUSE_SASH" = "yes"; then
48028 cat >>confdefs.h <<\_ACEOF
48029 #define wxUSE_SASH 1
48032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48035 if test "$wxUSE_SCROLLBAR" = "yes"; then
48036 cat >>confdefs.h <<\_ACEOF
48037 #define wxUSE_SCROLLBAR 1
48041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48044 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48045 cat >>confdefs.h <<\_ACEOF
48046 #define wxUSE_SEARCHCTRL 1
48052 if test "$wxUSE_SLIDER" = "yes"; then
48053 cat >>confdefs.h <<\_ACEOF
48054 #define wxUSE_SLIDER 1
48060 if test "$wxUSE_SPINBTN" = "yes"; then
48061 cat >>confdefs.h <<\_ACEOF
48062 #define wxUSE_SPINBTN 1
48068 if test "$wxUSE_SPINCTRL" = "yes"; then
48069 cat >>confdefs.h <<\_ACEOF
48070 #define wxUSE_SPINCTRL 1
48076 if test "$wxUSE_SPLITTER" = "yes"; then
48077 cat >>confdefs.h <<\_ACEOF
48078 #define wxUSE_SPLITTER 1
48081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48084 if test "$wxUSE_STATBMP" = "yes"; then
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_STATBMP 1
48092 if test "$wxUSE_STATBOX" = "yes"; then
48093 cat >>confdefs.h <<\_ACEOF
48094 #define wxUSE_STATBOX 1
48100 if test "$wxUSE_STATTEXT" = "yes"; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_STATTEXT 1
48108 if test "$wxUSE_STATLINE" = "yes"; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_STATLINE 1
48116 if test "$wxUSE_STATUSBAR" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_NATIVE_STATUSBAR 1
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_STATUSBAR 1
48127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48130 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48131 cat >>confdefs.h <<\_ACEOF
48132 #define wxUSE_TAB_DIALOG 1
48137 if test "$wxUSE_TEXTCTRL" = "yes"; then
48138 cat >>confdefs.h <<\_ACEOF
48139 #define wxUSE_TEXTCTRL 1
48143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48146 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48147 if test "$wxUSE_COCOA" = 1 ; then
48148 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48149 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48153 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48154 cat >>confdefs.h <<\_ACEOF
48155 #define wxUSE_TOGGLEBTN 1
48162 if test "$wxUSE_TOOLBAR" = "yes"; then
48163 cat >>confdefs.h <<\_ACEOF
48164 #define wxUSE_TOOLBAR 1
48169 if test "$wxUSE_UNIVERSAL" = "yes"; then
48170 wxUSE_TOOLBAR_NATIVE="no"
48172 wxUSE_TOOLBAR_NATIVE="yes"
48173 cat >>confdefs.h <<\_ACEOF
48174 #define wxUSE_TOOLBAR_NATIVE 1
48179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48182 if test "$wxUSE_TOOLTIPS" = "yes"; then
48183 if test "$wxUSE_MOTIF" = 1; then
48184 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48185 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48187 if test "$wxUSE_UNIVERSAL" = "yes"; then
48188 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48189 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48191 cat >>confdefs.h <<\_ACEOF
48192 #define wxUSE_TOOLTIPS 1
48199 if test "$wxUSE_TREEBOOK" = "yes"; then
48200 cat >>confdefs.h <<\_ACEOF
48201 #define wxUSE_TREEBOOK 1
48207 if test "$wxUSE_TOOLBOOK" = "yes"; then
48208 cat >>confdefs.h <<\_ACEOF
48209 #define wxUSE_TOOLBOOK 1
48215 if test "$wxUSE_TREECTRL" = "yes"; then
48216 if test "$wxUSE_IMAGLIST" = "yes"; then
48217 cat >>confdefs.h <<\_ACEOF
48218 #define wxUSE_TREECTRL 1
48222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48224 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48225 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48229 if test "$wxUSE_POPUPWIN" = "yes"; then
48230 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48231 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48232 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48234 if test "$wxUSE_PM" = 1; then
48235 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48236 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48238 cat >>confdefs.h <<\_ACEOF
48239 #define wxUSE_POPUPWIN 1
48242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48249 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48250 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48251 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48252 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48254 cat >>confdefs.h <<\_ACEOF
48255 #define wxUSE_DIALUP_MANAGER 1
48258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48262 if test "$wxUSE_TIPWINDOW" = "yes"; then
48263 if test "$wxUSE_PM" = 1; then
48264 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48265 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48267 cat >>confdefs.h <<\_ACEOF
48268 #define wxUSE_TIPWINDOW 1
48274 if test "$USES_CONTROLS" = 1; then
48275 cat >>confdefs.h <<\_ACEOF
48276 #define wxUSE_CONTROLS 1
48282 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48283 cat >>confdefs.h <<\_ACEOF
48284 #define wxUSE_ACCESSIBILITY 1
48287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48290 if test "$wxUSE_DC_CACHEING" = "yes"; then
48291 cat >>confdefs.h <<\_ACEOF
48292 #define wxUSE_DC_CACHEING 1
48297 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48298 cat >>confdefs.h <<\_ACEOF
48299 #define wxUSE_DRAGIMAGE 1
48302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48305 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48306 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48307 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48308 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48310 cat >>confdefs.h <<\_ACEOF
48311 #define wxUSE_EXCEPTIONS 1
48314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48319 if test "$wxUSE_HTML" = "yes"; then
48320 cat >>confdefs.h <<\_ACEOF
48321 #define wxUSE_HTML 1
48325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48326 if test "$wxUSE_MAC" = 1; then
48327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48330 if test "$wxUSE_WEBKIT" = "yes"; then
48331 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48332 old_CPPFLAGS="$CPPFLAGS"
48333 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48334 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48335 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48336 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48337 echo $ECHO_N "(cached) $ECHO_C" >&6
48339 cat >conftest.$ac_ext <<_ACEOF
48342 cat confdefs.h >>conftest.$ac_ext
48343 cat >>conftest.$ac_ext <<_ACEOF
48344 /* end confdefs.h. */
48346 #include <Carbon/Carbon.h>
48347 #include <WebKit/WebKit.h>
48350 #include <WebKit/HIWebView.h>
48352 rm -f conftest.$ac_objext
48353 if { (ac_try="$ac_compile"
48354 case "(($ac_try" in
48355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48356 *) ac_try_echo=$ac_try;;
48358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48359 (eval "$ac_compile") 2>conftest.er1
48361 grep -v '^ *+' conftest.er1 >conftest.err
48363 cat conftest.err >&5
48364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48365 (exit $ac_status); } && {
48366 test -z "$ac_c_werror_flag" ||
48367 test ! -s conftest.err
48368 } && test -s conftest.$ac_objext; then
48369 ac_cv_header_WebKit_HIWebView_h=yes
48371 echo "$as_me: failed program was:" >&5
48372 sed 's/^/| /' conftest.$ac_ext >&5
48374 ac_cv_header_WebKit_HIWebView_h=no
48377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48379 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48380 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48381 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48383 cat >>confdefs.h <<\_ACEOF
48384 #define wxUSE_WEBKIT 1
48387 WEBKIT_LINK="-framework WebKit"
48391 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48392 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48398 CPPFLAGS="$old_CPPFLAGS"
48399 elif test "$wxUSE_COCOA" = 1; then
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_WEBKIT 1
48410 if test "$wxUSE_XRC" = "yes"; then
48411 if test "$wxUSE_XML" != "yes"; then
48412 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48413 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_XRC 1
48421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48426 if test "$wxUSE_AUI" = "yes"; then
48427 cat >>confdefs.h <<\_ACEOF
48428 #define wxUSE_AUI 1
48432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48436 if test "$wxUSE_STC" = "yes"; then
48437 cat >>confdefs.h <<\_ACEOF
48438 #define wxUSE_STC 1
48442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48445 if test "$wxUSE_MENUS" = "yes"; then
48446 cat >>confdefs.h <<\_ACEOF
48447 #define wxUSE_MENUS 1
48450 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48453 if test "$wxUSE_METAFILE" = "yes"; then
48454 cat >>confdefs.h <<\_ACEOF
48455 #define wxUSE_METAFILE 1
48460 if test "$wxUSE_MIMETYPE" = "yes"; then
48461 cat >>confdefs.h <<\_ACEOF
48462 #define wxUSE_MIMETYPE 1
48467 if test "$wxUSE_MINIFRAME" = "yes"; then
48468 cat >>confdefs.h <<\_ACEOF
48469 #define wxUSE_MINIFRAME 1
48472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48475 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48476 cat >>confdefs.h <<\_ACEOF
48477 #define wxUSE_SYSTEM_OPTIONS 1
48480 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
48481 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
48482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48487 if test "$wxUSE_VALIDATORS" = "yes"; then
48488 cat >>confdefs.h <<\_ACEOF
48489 #define wxUSE_VALIDATORS 1
48492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48495 if test "$wxUSE_PALETTE" = "yes" ; then
48496 if test "$wxUSE_DFB" = 1; then
48497 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48498 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48501 cat >>confdefs.h <<\_ACEOF
48502 #define wxUSE_PALETTE 1
48508 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48509 LIBS=" -lunicows $LIBS"
48513 if test "$wxUSE_RICHTEXT" = "yes"; then
48514 cat >>confdefs.h <<\_ACEOF
48515 #define wxUSE_RICHTEXT 1
48519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48523 if test "$wxUSE_IMAGE" = "yes" ; then
48524 cat >>confdefs.h <<\_ACEOF
48525 #define wxUSE_IMAGE 1
48529 if test "$wxUSE_GIF" = "yes" ; then
48530 cat >>confdefs.h <<\_ACEOF
48531 #define wxUSE_GIF 1
48536 if test "$wxUSE_PCX" = "yes" ; then
48537 cat >>confdefs.h <<\_ACEOF
48538 #define wxUSE_PCX 1
48543 if test "$wxUSE_TGA" = "yes" ; then
48544 cat >>confdefs.h <<\_ACEOF
48545 #define wxUSE_TGA 1
48550 if test "$wxUSE_IFF" = "yes" ; then
48551 cat >>confdefs.h <<\_ACEOF
48552 #define wxUSE_IFF 1
48557 if test "$wxUSE_PNM" = "yes" ; then
48558 cat >>confdefs.h <<\_ACEOF
48559 #define wxUSE_PNM 1
48564 if test "$wxUSE_XPM" = "yes" ; then
48565 cat >>confdefs.h <<\_ACEOF
48566 #define wxUSE_XPM 1
48571 if test "$wxUSE_ICO_CUR" = "yes" ; then
48572 cat >>confdefs.h <<\_ACEOF
48573 #define wxUSE_ICO_CUR 1
48580 if test "$wxUSE_ABOUTDLG" = "yes"; then
48581 cat >>confdefs.h <<\_ACEOF
48582 #define wxUSE_ABOUTDLG 1
48587 if test "$wxUSE_CHOICEDLG" = "yes"; then
48588 cat >>confdefs.h <<\_ACEOF
48589 #define wxUSE_CHOICEDLG 1
48594 if test "$wxUSE_COLOURDLG" = "yes"; then
48595 cat >>confdefs.h <<\_ACEOF
48596 #define wxUSE_COLOURDLG 1
48601 if test "$wxUSE_FILEDLG" = "yes"; then
48602 cat >>confdefs.h <<\_ACEOF
48603 #define wxUSE_FILEDLG 1
48608 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48609 cat >>confdefs.h <<\_ACEOF
48610 #define wxUSE_FINDREPLDLG 1
48615 if test "$wxUSE_FONTDLG" = "yes"; then
48616 cat >>confdefs.h <<\_ACEOF
48617 #define wxUSE_FONTDLG 1
48622 if test "$wxUSE_DIRDLG" = "yes"; then
48623 if test "$wxUSE_TREECTRL" != "yes"; then
48624 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48625 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48627 cat >>confdefs.h <<\_ACEOF
48628 #define wxUSE_DIRDLG 1
48634 if test "$wxUSE_MSGDLG" = "yes"; then
48635 cat >>confdefs.h <<\_ACEOF
48636 #define wxUSE_MSGDLG 1
48641 if test "$wxUSE_NUMBERDLG" = "yes"; then
48642 cat >>confdefs.h <<\_ACEOF
48643 #define wxUSE_NUMBERDLG 1
48648 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48649 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48650 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48651 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48653 cat >>confdefs.h <<\_ACEOF
48654 #define wxUSE_PROGRESSDLG 1
48660 if test "$wxUSE_SPLASH" = "yes"; then
48661 cat >>confdefs.h <<\_ACEOF
48662 #define wxUSE_SPLASH 1
48665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48668 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48669 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48670 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48671 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48673 cat >>confdefs.h <<\_ACEOF
48674 #define wxUSE_STARTUP_TIPS 1
48680 if test "$wxUSE_TEXTDLG" = "yes"; then
48681 cat >>confdefs.h <<\_ACEOF
48682 #define wxUSE_TEXTDLG 1
48687 if test "$wxUSE_WIZARDDLG" = "yes"; then
48688 cat >>confdefs.h <<\_ACEOF
48689 #define wxUSE_WIZARDDLG 1
48692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48696 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48697 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48698 cat >>confdefs.h <<\_ACEOF
48699 #define wxUSE_GRAPHICS_CONTEXT 1
48702 elif test "$wxUSE_GTK" != 1; then
48703 cat >>confdefs.h <<\_ACEOF
48704 #define wxUSE_GRAPHICS_CONTEXT 1
48710 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48711 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48713 if test -n "$PKG_CONFIG"; then
48714 if test -n "$CAIRO_CFLAGS"; then
48715 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48717 if test -n "$PKG_CONFIG" && \
48718 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48719 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48722 (exit $ac_status); }; then
48723 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48731 if test -n "$PKG_CONFIG"; then
48732 if test -n "$CAIRO_LIBS"; then
48733 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48735 if test -n "$PKG_CONFIG" && \
48736 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48737 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48740 (exit $ac_status); }; then
48741 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48752 if test $pkg_failed = yes; then
48754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48755 _pkg_short_errors_supported=yes
48757 _pkg_short_errors_supported=no
48759 if test $_pkg_short_errors_supported = yes; then
48760 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48762 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48764 # Put the nasty error message in config.log where it belongs
48765 echo "$CAIRO_PKG_ERRORS" >&5
48767 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48768 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48770 elif test $pkg_failed = untried; then
48771 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48772 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48775 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48776 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48777 { echo "$as_me:$LINENO: result: yes" >&5
48778 echo "${ECHO_T}yes" >&6; }
48779 cat >>confdefs.h <<\_ACEOF
48780 #define wxUSE_GRAPHICS_CONTEXT 1
48790 if test "$wxUSE_MEDIACTRL" = "yes"; then
48793 if test "$wxUSE_GTK" = 1; then
48794 wxUSE_GSTREAMER="no"
48796 GST_VERSION_MAJOR=0
48797 GST_VERSION_MINOR=10
48798 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48800 if test "$wxUSE_GSTREAMER8" = "no"; then
48803 { echo "$as_me:$LINENO: checking for GST" >&5
48804 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48806 if test -n "$PKG_CONFIG"; then
48807 if test -n "$GST_CFLAGS"; then
48808 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48810 if test -n "$PKG_CONFIG" && \
48811 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48812 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48815 (exit $ac_status); }; then
48816 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48824 if test -n "$PKG_CONFIG"; then
48825 if test -n "$GST_LIBS"; then
48826 pkg_cv_GST_LIBS="$GST_LIBS"
48828 if test -n "$PKG_CONFIG" && \
48829 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48830 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48833 (exit $ac_status); }; then
48834 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48845 if test $pkg_failed = yes; then
48847 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48848 _pkg_short_errors_supported=yes
48850 _pkg_short_errors_supported=no
48852 if test $_pkg_short_errors_supported = yes; then
48853 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48855 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48857 # Put the nasty error message in config.log where it belongs
48858 echo "$GST_PKG_ERRORS" >&5
48861 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48862 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48863 GST_VERSION_MINOR=8
48866 elif test $pkg_failed = untried; then
48868 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48869 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48870 GST_VERSION_MINOR=8
48874 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48875 GST_LIBS=$pkg_cv_GST_LIBS
48876 { echo "$as_me:$LINENO: result: yes" >&5
48877 echo "${ECHO_T}yes" >&6; }
48879 wxUSE_GSTREAMER="yes"
48880 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48884 GST_VERSION_MINOR=8
48887 if test $GST_VERSION_MINOR = "8"; then
48888 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48891 { echo "$as_me:$LINENO: checking for GST" >&5
48892 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48894 if test -n "$PKG_CONFIG"; then
48895 if test -n "$GST_CFLAGS"; then
48896 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48898 if test -n "$PKG_CONFIG" && \
48899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48900 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48903 (exit $ac_status); }; then
48904 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48912 if test -n "$PKG_CONFIG"; then
48913 if test -n "$GST_LIBS"; then
48914 pkg_cv_GST_LIBS="$GST_LIBS"
48916 if test -n "$PKG_CONFIG" && \
48917 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48918 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48921 (exit $ac_status); }; then
48922 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48933 if test $pkg_failed = yes; then
48935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48936 _pkg_short_errors_supported=yes
48938 _pkg_short_errors_supported=no
48940 if test $_pkg_short_errors_supported = yes; then
48941 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48943 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48945 # Put the nasty error message in config.log where it belongs
48946 echo "$GST_PKG_ERRORS" >&5
48949 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48950 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48952 elif test $pkg_failed = untried; then
48954 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48955 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48958 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48959 GST_LIBS=$pkg_cv_GST_LIBS
48960 { echo "$as_me:$LINENO: result: yes" >&5
48961 echo "${ECHO_T}yes" >&6; }
48962 wxUSE_GSTREAMER="yes"
48967 if test "$wxUSE_GSTREAMER" = "yes"; then
48968 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48969 LIBS="$GST_LIBS $LIBS"
48971 cat >>confdefs.h <<\_ACEOF
48972 #define wxUSE_GSTREAMER 1
48980 if test $USE_MEDIA = 1; then
48981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48982 cat >>confdefs.h <<\_ACEOF
48983 #define wxUSE_MEDIACTRL 1
48990 if test "$cross_compiling" = "yes"; then
48993 OSINFO=`uname -s -r -m`
48994 OSINFO="\"$OSINFO\""
48997 cat >>confdefs.h <<_ACEOF
48998 #define WXWIN_OS_DESCRIPTION $OSINFO
49003 if test "x$prefix" != "xNONE"; then
49006 wxPREFIX=$ac_default_prefix
49009 cat >>confdefs.h <<_ACEOF
49010 #define wxINSTALL_PREFIX "$wxPREFIX"
49016 STD_BASE_LIBS="base"
49018 BUILT_WX_LIBS="base"
49019 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49021 if test "$wxUSE_SOCKETS" = "yes" ; then
49022 STD_BASE_LIBS="net $STD_BASE_LIBS"
49023 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49025 if test "$wxUSE_ODBC" != "no" ; then
49026 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49028 if test "$wxUSE_XML" = "yes" ; then
49029 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49030 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49033 if test "$wxUSE_GUI" = "yes"; then
49034 STD_GUI_LIBS="adv core"
49035 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49037 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49038 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49039 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49041 if test "$wxUSE_ODBC" != "no" ; then
49042 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49044 if test "$wxUSE_HTML" = "yes" ; then
49045 STD_GUI_LIBS="html $STD_GUI_LIBS"
49046 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49048 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49049 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49051 if test "$wxUSE_OPENGL" = "yes" ; then
49052 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49054 if test "$wxUSE_AUI" = "yes" ; then
49055 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49057 if test "$wxUSE_STC" = "yes" ; then
49058 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49060 if test "$wxUSE_XRC" = "yes" ; then
49061 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49062 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49073 if test "$wxUSE_MAC" = 1 ; then
49074 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49075 if test "$USE_DARWIN" = 1; then
49076 LDFLAGS="$LDFLAGS -framework QuickTime"
49078 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49081 if test "$USE_DARWIN" = 1; then
49082 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49084 LDFLAGS="$LDFLAGS -lCarbonLib"
49087 if test "$wxUSE_COCOA" = 1 ; then
49088 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49089 if test "$wxUSE_MEDIACTRL" = "yes"; then
49090 LDFLAGS="$LDFLAGS -framework QuickTime"
49093 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49094 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49097 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49099 if test "$wxUSE_GUI" = "yes"; then
49102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49103 dynamic erase event exec font image minimal mobile \
49104 mobile/wxedit mobile/styles propsize render \
49105 rotate shaped svg taborder vscroll widgets"
49107 if test "$wxUSE_MONOLITHIC" != "yes"; then
49108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49110 if test "$TOOLKIT" = "MSW"; then
49111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49112 if test "$wxUSE_UNIVERSAL" != "yes"; then
49113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49116 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49120 SAMPLES_SUBDIRS="console"
49124 if test "x$INTELCC" = "xyes" ; then
49125 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49126 elif test "$GCC" = yes ; then
49127 CWARNINGS="-Wall -Wundef"
49130 if test "x$INTELCXX" = "xyes" ; then
49131 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49132 elif test "$GXX" = yes ; then
49133 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49137 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49138 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49141 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49142 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49143 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49146 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49147 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49148 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49150 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49153 if test "x$MWCC" = "xyes"; then
49155 CC="$CC -cwd source -I-"
49156 CXX="$CXX -cwd source -I-"
49161 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49162 EXTRALIBS_XML="$EXPAT_LINK"
49163 EXTRALIBS_HTML="$MSPACK_LINK"
49164 EXTRALIBS_ODBC="$ODBC_LINK"
49165 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49166 if test "$wxUSE_GUI" = "yes"; then
49167 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49169 if test "$wxUSE_OPENGL" = "yes"; then
49170 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49173 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49175 WXCONFIG_LIBS="$LIBS"
49177 if test "$wxUSE_REGEX" = "builtin" ; then
49178 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49180 if test "$wxUSE_EXPAT" = "builtin" ; then
49181 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49183 if test "$wxUSE_ODBC" = "builtin" ; then
49184 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49186 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49187 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49189 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49190 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49192 if test "$wxUSE_LIBPNG" = "builtin" ; then
49193 wxconfig_3rdparty="png $wxconfig_3rdparty"
49195 if test "$wxUSE_ZLIB" = "builtin" ; then
49196 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49199 for i in $wxconfig_3rdparty ; do
49200 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49204 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49207 case "$wxUNIV_THEMES" in
49209 cat >>confdefs.h <<\_ACEOF
49210 #define wxUSE_ALL_THEMES 1
49216 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49217 cat >>confdefs.h <<_ACEOF
49218 #define wxUSE_THEME_$t 1
49235 if test $wxUSE_MONOLITHIC = "yes" ; then
49241 if test $wxUSE_PLUGINS = "yes" ; then
49247 if test $wxUSE_ODBC != "no" ; then
49253 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49259 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49290 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49301 TOOLKIT_DESC="GTK+"
49302 if test "$WXGTK20" = 1; then
49303 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49304 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49305 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49307 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49308 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49310 if test "$wxUSE_LIBHILDON" = "yes"; then
49311 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49314 if test "$TOOLKIT_EXTRA" != ""; then
49315 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49321 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49325 TOOLKIT_DESC="base only"
49329 if test "$wxUSE_WINE" = "yes"; then
49330 BAKEFILE_FORCE_PLATFORM=win32
49333 if test "$wxUSE_MAC" = 1 ; then
49334 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49335 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49336 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49338 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49340 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49341 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49342 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49343 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49346 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49347 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49350 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49352 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49353 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49354 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49355 echo $ECHO_N "(cached) $ECHO_C" >&6
49358 echo '#include <stdio.h>
49359 const wchar_t test_var[] = L"awidetest";' > conftest.h
49361 echo '#include "conftest.h"
49364 printf("%ls", test_var);
49368 wx_cv_gcc_pch_bug="pch not supported"
49370 if $CXX conftest.h >/dev/null 2>&1
49374 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49376 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49377 grep awidetest >/dev/null
49379 wx_cv_gcc_pch_bug=no
49381 wx_cv_gcc_pch_bug=yes
49386 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49389 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49390 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49392 if test "$wx_cv_gcc_pch_bug" = yes; then
49400 if test "x$BAKEFILE_HOST" = "x"; then
49401 if test "x${host}" = "x" ; then
49402 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49403 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49404 { (exit 1); exit 1; }; }
49407 BAKEFILE_HOST="${host}"
49410 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49412 if test -n "$ac_tool_prefix"; then
49413 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49414 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49417 if test "${ac_cv_prog_RANLIB+set}" = set; then
49418 echo $ECHO_N "(cached) $ECHO_C" >&6
49420 if test -n "$RANLIB"; then
49421 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49424 for as_dir in $PATH
49427 test -z "$as_dir" && as_dir=.
49428 for ac_exec_ext in '' $ac_executable_extensions; do
49429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49430 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49440 RANLIB=$ac_cv_prog_RANLIB
49441 if test -n "$RANLIB"; then
49442 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49443 echo "${ECHO_T}$RANLIB" >&6; }
49445 { echo "$as_me:$LINENO: result: no" >&5
49446 echo "${ECHO_T}no" >&6; }
49451 if test -z "$ac_cv_prog_RANLIB"; then
49452 ac_ct_RANLIB=$RANLIB
49453 # Extract the first word of "ranlib", so it can be a program name with args.
49454 set dummy ranlib; ac_word=$2
49455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49457 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49458 echo $ECHO_N "(cached) $ECHO_C" >&6
49460 if test -n "$ac_ct_RANLIB"; then
49461 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49464 for as_dir in $PATH
49467 test -z "$as_dir" && as_dir=.
49468 for ac_exec_ext in '' $ac_executable_extensions; do
49469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49470 ac_cv_prog_ac_ct_RANLIB="ranlib"
49471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49480 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49481 if test -n "$ac_ct_RANLIB"; then
49482 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49483 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49485 { echo "$as_me:$LINENO: result: no" >&5
49486 echo "${ECHO_T}no" >&6; }
49489 if test "x$ac_ct_RANLIB" = x; then
49492 case $cross_compiling:$ac_tool_warned in
49494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49495 whose name does not start with the host triplet. If you think this
49496 configuration is useful to you, please write to autoconf@gnu.org." >&5
49497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49498 whose name does not start with the host triplet. If you think this
49499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49500 ac_tool_warned=yes ;;
49502 RANLIB=$ac_ct_RANLIB
49505 RANLIB="$ac_cv_prog_RANLIB"
49508 # Find a good install program. We prefer a C program (faster),
49509 # so one script is as good as another. But avoid the broken or
49510 # incompatible versions:
49511 # SysV /etc/install, /usr/sbin/install
49512 # SunOS /usr/etc/install
49513 # IRIX /sbin/install
49515 # AmigaOS /C/install, which installs bootblocks on floppy discs
49516 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49517 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49518 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49519 # OS/2's system install, which has a completely different semantic
49520 # ./install, which can be erroneously created by make from ./install.sh.
49521 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49522 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49523 if test -z "$INSTALL"; then
49524 if test "${ac_cv_path_install+set}" = set; then
49525 echo $ECHO_N "(cached) $ECHO_C" >&6
49527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49528 for as_dir in $PATH
49531 test -z "$as_dir" && as_dir=.
49532 # Account for people who put trailing slashes in PATH elements.
49534 ./ | .// | /cC/* | \
49535 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49536 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49539 # OSF1 and SCO ODT 3.0 have their own names for install.
49540 # Don't use installbsd from OSF since it installs stuff as root
49542 for ac_prog in ginstall scoinst install; do
49543 for ac_exec_ext in '' $ac_executable_extensions; do
49544 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49545 if test $ac_prog = install &&
49546 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49547 # AIX install. It has an incompatible calling convention.
49549 elif test $ac_prog = install &&
49550 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49551 # program-specific install script used by HP pwplus--don't use.
49554 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49567 if test "${ac_cv_path_install+set}" = set; then
49568 INSTALL=$ac_cv_path_install
49570 # As a last resort, use the slow shell script. Don't cache a
49571 # value for INSTALL within a source directory, because that will
49572 # break other packages using the cache if that directory is
49573 # removed, or if the value is a relative name.
49574 INSTALL=$ac_install_sh
49577 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49578 echo "${ECHO_T}$INSTALL" >&6; }
49580 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49581 # It thinks the first close brace ends the variable substitution.
49582 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49584 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49586 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49588 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49589 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49591 if test "$LN_S" = "ln -s"; then
49592 { echo "$as_me:$LINENO: result: yes" >&5
49593 echo "${ECHO_T}yes" >&6; }
49595 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49596 echo "${ECHO_T}no, using $LN_S" >&6; }
49600 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49601 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49602 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49603 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49604 echo $ECHO_N "(cached) $ECHO_C" >&6
49606 cat >conftest.make <<\_ACEOF
49609 @echo '@@@%%%=$(MAKE)=@@@%%%'
49611 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49612 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49613 *@@@%%%=?*=@@@%%%*)
49614 eval ac_cv_prog_make_${ac_make}_set=yes;;
49616 eval ac_cv_prog_make_${ac_make}_set=no;;
49618 rm -f conftest.make
49620 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49621 { echo "$as_me:$LINENO: result: yes" >&5
49622 echo "${ECHO_T}yes" >&6; }
49625 { echo "$as_me:$LINENO: result: no" >&5
49626 echo "${ECHO_T}no" >&6; }
49627 SET_MAKE="MAKE=${MAKE-make}"
49632 if test "x$SUNCXX" = "xyes"; then
49634 AROPTIONS="-xar -o"
49636 elif test "x$SGICC" = "xyes"; then
49641 if test -n "$ac_tool_prefix"; then
49642 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49643 set dummy ${ac_tool_prefix}ar; ac_word=$2
49644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49646 if test "${ac_cv_prog_AR+set}" = set; then
49647 echo $ECHO_N "(cached) $ECHO_C" >&6
49649 if test -n "$AR"; then
49650 ac_cv_prog_AR="$AR" # Let the user override the test.
49652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49653 for as_dir in $PATH
49656 test -z "$as_dir" && as_dir=.
49657 for ac_exec_ext in '' $ac_executable_extensions; do
49658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49659 ac_cv_prog_AR="${ac_tool_prefix}ar"
49660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49670 if test -n "$AR"; then
49671 { echo "$as_me:$LINENO: result: $AR" >&5
49672 echo "${ECHO_T}$AR" >&6; }
49674 { echo "$as_me:$LINENO: result: no" >&5
49675 echo "${ECHO_T}no" >&6; }
49680 if test -z "$ac_cv_prog_AR"; then
49682 # Extract the first word of "ar", so it can be a program name with args.
49683 set dummy ar; ac_word=$2
49684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49686 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49687 echo $ECHO_N "(cached) $ECHO_C" >&6
49689 if test -n "$ac_ct_AR"; then
49690 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49693 for as_dir in $PATH
49696 test -z "$as_dir" && as_dir=.
49697 for ac_exec_ext in '' $ac_executable_extensions; do
49698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49699 ac_cv_prog_ac_ct_AR="ar"
49700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49709 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49710 if test -n "$ac_ct_AR"; then
49711 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49712 echo "${ECHO_T}$ac_ct_AR" >&6; }
49714 { echo "$as_me:$LINENO: result: no" >&5
49715 echo "${ECHO_T}no" >&6; }
49718 if test "x$ac_ct_AR" = x; then
49721 case $cross_compiling:$ac_tool_warned in
49723 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49724 whose name does not start with the host triplet. If you think this
49725 configuration is useful to you, please write to autoconf@gnu.org." >&5
49726 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49727 whose name does not start with the host triplet. If you think this
49728 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49729 ac_tool_warned=yes ;;
49734 AR="$ac_cv_prog_AR"
49741 if test -n "$ac_tool_prefix"; then
49742 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49743 set dummy ${ac_tool_prefix}strip; ac_word=$2
49744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49746 if test "${ac_cv_prog_STRIP+set}" = set; then
49747 echo $ECHO_N "(cached) $ECHO_C" >&6
49749 if test -n "$STRIP"; then
49750 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49753 for as_dir in $PATH
49756 test -z "$as_dir" && as_dir=.
49757 for ac_exec_ext in '' $ac_executable_extensions; do
49758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49759 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49769 STRIP=$ac_cv_prog_STRIP
49770 if test -n "$STRIP"; then
49771 { echo "$as_me:$LINENO: result: $STRIP" >&5
49772 echo "${ECHO_T}$STRIP" >&6; }
49774 { echo "$as_me:$LINENO: result: no" >&5
49775 echo "${ECHO_T}no" >&6; }
49780 if test -z "$ac_cv_prog_STRIP"; then
49782 # Extract the first word of "strip", so it can be a program name with args.
49783 set dummy strip; ac_word=$2
49784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49786 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49787 echo $ECHO_N "(cached) $ECHO_C" >&6
49789 if test -n "$ac_ct_STRIP"; then
49790 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49793 for as_dir in $PATH
49796 test -z "$as_dir" && as_dir=.
49797 for ac_exec_ext in '' $ac_executable_extensions; do
49798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49799 ac_cv_prog_ac_ct_STRIP="strip"
49800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49809 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49810 if test -n "$ac_ct_STRIP"; then
49811 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49812 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49814 { echo "$as_me:$LINENO: result: no" >&5
49815 echo "${ECHO_T}no" >&6; }
49818 if test "x$ac_ct_STRIP" = x; then
49821 case $cross_compiling:$ac_tool_warned in
49823 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49824 whose name does not start with the host triplet. If you think this
49825 configuration is useful to you, please write to autoconf@gnu.org." >&5
49826 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49827 whose name does not start with the host triplet. If you think this
49828 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49829 ac_tool_warned=yes ;;
49834 STRIP="$ac_cv_prog_STRIP"
49837 if test -n "$ac_tool_prefix"; then
49838 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49839 set dummy ${ac_tool_prefix}nm; ac_word=$2
49840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49842 if test "${ac_cv_prog_NM+set}" = set; then
49843 echo $ECHO_N "(cached) $ECHO_C" >&6
49845 if test -n "$NM"; then
49846 ac_cv_prog_NM="$NM" # Let the user override the test.
49848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49849 for as_dir in $PATH
49852 test -z "$as_dir" && as_dir=.
49853 for ac_exec_ext in '' $ac_executable_extensions; do
49854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49855 ac_cv_prog_NM="${ac_tool_prefix}nm"
49856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49866 if test -n "$NM"; then
49867 { echo "$as_me:$LINENO: result: $NM" >&5
49868 echo "${ECHO_T}$NM" >&6; }
49870 { echo "$as_me:$LINENO: result: no" >&5
49871 echo "${ECHO_T}no" >&6; }
49876 if test -z "$ac_cv_prog_NM"; then
49878 # Extract the first word of "nm", so it can be a program name with args.
49879 set dummy nm; ac_word=$2
49880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49882 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49883 echo $ECHO_N "(cached) $ECHO_C" >&6
49885 if test -n "$ac_ct_NM"; then
49886 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49889 for as_dir in $PATH
49892 test -z "$as_dir" && as_dir=.
49893 for ac_exec_ext in '' $ac_executable_extensions; do
49894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49895 ac_cv_prog_ac_ct_NM="nm"
49896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49905 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49906 if test -n "$ac_ct_NM"; then
49907 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49908 echo "${ECHO_T}$ac_ct_NM" >&6; }
49910 { echo "$as_me:$LINENO: result: no" >&5
49911 echo "${ECHO_T}no" >&6; }
49914 if test "x$ac_ct_NM" = x; then
49917 case $cross_compiling:$ac_tool_warned in
49919 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49920 whose name does not start with the host triplet. If you think this
49921 configuration is useful to you, please write to autoconf@gnu.org." >&5
49922 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49923 whose name does not start with the host triplet. If you think this
49924 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49925 ac_tool_warned=yes ;;
49930 NM="$ac_cv_prog_NM"
49934 case ${BAKEFILE_HOST} in
49936 INSTALL_DIR="mkdir -p"
49939 INSTALL_DIR='$(INSTALL) -d'
49945 case ${BAKEFILE_HOST} in
49946 *-*-cygwin* | *-*-mingw32* )
49947 LDFLAGS_GUI="-mwindows"
49953 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49954 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49955 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49956 echo $ECHO_N "(cached) $ECHO_C" >&6
49959 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49960 egrep -s GNU > /dev/null); then
49961 bakefile_cv_prog_makeisgnu="yes"
49963 bakefile_cv_prog_makeisgnu="no"
49967 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49968 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49970 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49987 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49988 case "${BAKEFILE_HOST}" in
49995 *-pc-os2_emx | *-pc-os2-emx )
50005 powerpc-apple-macos* )
50014 case "$BAKEFILE_FORCE_PLATFORM" in
50049 # Check whether --enable-omf was given.
50050 if test "${enable_omf+set}" = set; then
50051 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50055 case "${BAKEFILE_HOST}" in
50057 if test "x$GCC" = "xyes"; then
50058 CFLAGS="$CFLAGS -fno-common"
50059 CXXFLAGS="$CXXFLAGS -fno-common"
50061 if test "x$XLCC" = "xyes"; then
50062 CFLAGS="$CFLAGS -qnocommon"
50063 CXXFLAGS="$CXXFLAGS -qnocommon"
50067 *-pc-os2_emx | *-pc-os2-emx )
50068 if test "x$bk_os2_use_omf" = "xyes" ; then
50071 LDFLAGS="-Zomf $LDFLAGS"
50072 CFLAGS="-Zomf $CFLAGS"
50073 CXXFLAGS="-Zomf $CXXFLAGS"
50081 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50087 SO_SUFFIX_MODULE="so"
50092 DLLPREFIX_MODULE=""
50096 case "${BAKEFILE_HOST}" in
50099 SO_SUFFIX_MODULE="sl"
50103 SO_SUFFIX_MODULE="a"
50107 SO_SUFFIX_MODULE="dll"
50108 DLLIMP_SUFFIX="dll.a"
50115 SO_SUFFIX_MODULE="dll"
50116 DLLIMP_SUFFIX="dll.a"
50126 *-pc-os2_emx | *-pc-os2-emx )
50128 SO_SUFFIX_MODULE="dll"
50129 DLLIMP_SUFFIX=$OS2_LIBEXT
50133 LIBEXT=".$OS2_LIBEXT"
50138 SO_SUFFIX_MODULE="bundle"
50142 if test "x$DLLIMP_SUFFIX" = "x" ; then
50143 DLLIMP_SUFFIX="$SO_SUFFIX"
50158 if test "x$GCC" = "xyes"; then
50162 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50163 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50166 case "${BAKEFILE_HOST}" in
50168 if test "x$GCC" != "xyes"; then
50169 LDFLAGS="$LDFLAGS -L/usr/lib"
50171 SHARED_LD_CC="${CC} -b -o"
50172 SHARED_LD_CXX="${CXX} -b -o"
50178 if test "$INTELCC" = "yes"; then
50180 elif test "x$SUNCXX" = "xyes"; then
50181 SHARED_LD_CC="${CC} -G -o"
50182 SHARED_LD_CXX="${CXX} -G -o"
50188 if test "x$SUNCXX" = xyes ; then
50189 SHARED_LD_CC="${CC} -G -o"
50190 SHARED_LD_CXX="${CXX} -G -o"
50198 cat <<EOF >shared-ld-sh
50200 #-----------------------------------------------------------------------------
50201 #-- Name: distrib/mac/shared-ld-sh
50202 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50203 #-- Author: Gilles Depeyrot
50204 #-- Copyright: (c) 2002 Gilles Depeyrot
50205 #-- Licence: any use permitted
50206 #-----------------------------------------------------------------------------
50211 linking_flag="-dynamiclib"
50212 ldargs="-r -keep_private_externs -nostdlib"
50214 while test ${D}# -gt 0; do
50221 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50222 # collect these options and values
50223 args="${D}{args} ${D}1 ${D}2"
50228 # collect these load args
50229 ldargs="${D}{ldargs} ${D}1"
50232 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50233 # collect these options
50234 args="${D}{args} ${D}1"
50237 -dynamiclib|-bundle)
50238 linking_flag="${D}1"
50242 echo "shared-ld: unhandled option '${D}1'"
50246 *.o | *.a | *.dylib)
50247 # collect object files
50248 objects="${D}{objects} ${D}1"
50252 echo "shared-ld: unhandled argument '${D}1'"
50263 # Link one module containing all the others
50265 if test ${D}{verbose} = 1; then
50266 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50268 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50272 # Link the shared library from the single module created, but only if the
50273 # previous command didn't fail:
50275 if test ${D}{status} = 0; then
50276 if test ${D}{verbose} = 1; then
50277 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50279 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50284 # Remove intermediate module
50286 rm -f master.${D}${D}.o
50291 chmod +x shared-ld-sh
50293 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50294 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50297 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50298 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50299 if test "${bakefile_cv_gcc31+set}" = set; then
50300 echo $ECHO_N "(cached) $ECHO_C" >&6
50303 cat >conftest.$ac_ext <<_ACEOF
50306 cat confdefs.h >>conftest.$ac_ext
50307 cat >>conftest.$ac_ext <<_ACEOF
50308 /* end confdefs.h. */
50314 #if (__GNUC__ < 3) || \
50315 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50323 rm -f conftest.$ac_objext
50324 if { (ac_try="$ac_compile"
50325 case "(($ac_try" in
50326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50327 *) ac_try_echo=$ac_try;;
50329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50330 (eval "$ac_compile") 2>conftest.er1
50332 grep -v '^ *+' conftest.er1 >conftest.err
50334 cat conftest.err >&5
50335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50336 (exit $ac_status); } && {
50337 test -z "$ac_c_werror_flag" ||
50338 test ! -s conftest.err
50339 } && test -s conftest.$ac_objext; then
50341 bakefile_cv_gcc31=yes
50344 echo "$as_me: failed program was:" >&5
50345 sed 's/^/| /' conftest.$ac_ext >&5
50348 bakefile_cv_gcc31=no
50353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50356 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50357 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50358 if test "$bakefile_cv_gcc31" = "no"; then
50359 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50360 SHARED_LD_CXX="$SHARED_LD_CC"
50362 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50363 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50366 if test "x$GCC" == "xyes"; then
50367 PIC_FLAG="-dynamic -fPIC"
50369 if test "x$XLCC" = "xyes"; then
50370 PIC_FLAG="-dynamic -DPIC"
50375 if test "x$GCC" = "xyes"; then
50378 case "${BAKEFILE_HOST}" in
50380 LD_EXPFULL="-Wl,-bexpfull"
50384 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50385 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50387 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50388 set dummy makeC++SharedLib; ac_word=$2
50389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50391 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50392 echo $ECHO_N "(cached) $ECHO_C" >&6
50394 if test -n "$AIX_CXX_LD"; then
50395 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50398 for as_dir in $PATH
50401 test -z "$as_dir" && as_dir=.
50402 for ac_exec_ext in '' $ac_executable_extensions; do
50403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50404 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50412 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50415 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50416 if test -n "$AIX_CXX_LD"; then
50417 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50418 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50420 { echo "$as_me:$LINENO: result: no" >&5
50421 echo "${ECHO_T}no" >&6; }
50425 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50426 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50431 SHARED_LD_CC="${LD} -nostart -o"
50432 SHARED_LD_CXX="${LD} -nostart -o"
50436 if test "x$GCC" != "xyes"; then
50441 *-*-cygwin* | *-*-mingw32* )
50443 SHARED_LD_CC="\$(CC) -shared -o"
50444 SHARED_LD_CXX="\$(CXX) -shared -o"
50448 *-pc-os2_emx | *-pc-os2-emx )
50449 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50450 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50454 cat <<EOF >dllar.sh
50457 # dllar - a tool to build both a .dll and an .a file
50458 # from a set of object (.o) files for EMX/OS2.
50460 # Written by Andrew Zabolotny, bit@freya.etu.ru
50461 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50463 # This script will accept a set of files on the command line.
50464 # All the public symbols from the .o files will be exported into
50465 # a .DEF file, then linker will be run (through gcc) against them to
50466 # build a shared library consisting of all given .o files. All libraries
50467 # (.a) will be first decompressed into component .o files then act as
50468 # described above. You can optionally give a description (-d "description")
50469 # which will be put into .DLL. To see the list of accepted options (as well
50470 # as command-line format) simply run this program without options. The .DLL
50471 # is built to be imported by name (there is no guarantee that new versions
50472 # of the library you build will have same ordinals for same symbols).
50474 # dllar is free software; you can redistribute it and/or modify
50475 # it under the terms of the GNU General Public License as published by
50476 # the Free Software Foundation; either version 2, or (at your option)
50477 # any later version.
50479 # dllar is distributed in the hope that it will be useful,
50480 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50481 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50482 # GNU General Public License for more details.
50484 # You should have received a copy of the GNU General Public License
50485 # along with dllar; see the file COPYING. If not, write to the Free
50486 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50489 # To successfuly run this program you will need:
50490 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50491 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50493 # (used to build the .dll)
50495 # (used to create .def file from .o files)
50497 # (used to create .a file from .def file)
50498 # - GNU text utilites (cat, sort, uniq)
50499 # used to process emxexp output
50500 # - GNU file utilities (mv, rm)
50502 # - lxlite (optional, see flag below)
50503 # (used for general .dll cleanup)
50510 # basnam, variant of basename, which does _not_ remove the path, _iff_
50511 # second argument (suffix to remove) is given
50515 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50518 echo ${D}1 | sed 's/'${D}2'${D}//'
50521 echo "error in basnam ${D}*"
50527 # Cleanup temporary files and output
50530 for i in ${D}inputFiles ; do
50533 rm -rf \`basnam ${D}i !\`
50540 # Kill result in case of failure as there is just to many stupid make/nmake
50541 # things out there which doesn't do this.
50542 if [ ${D}# -eq 0 ]; then
50543 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50547 # Print usage and exit script with rc=1.
50549 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50550 echo ' [-name-mangler-script script.sh]'
50551 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50552 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50553 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50554 echo ' [*.o] [*.a]'
50555 echo '*> "output_file" should have no extension.'
50556 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50557 echo ' The import library name is derived from this and is set to "name".a,'
50558 echo ' unless overridden by -import'
50559 echo '*> "importlib_name" should have no extension.'
50560 echo ' If it has the .o, or .a extension, it is automatically removed.'
50561 echo ' This name is used as the import library name and may be longer and'
50562 echo ' more descriptive than the DLL name which has to follow the old '
50563 echo ' 8.3 convention of FAT.'
50564 echo '*> "script.sh may be given to override the output_file name by a'
50565 echo ' different name. It is mainly useful if the regular make process'
50566 echo ' of some package does not take into account OS/2 restriction of'
50567 echo ' DLL name lengths. It takes the importlib name as input and is'
50568 echo ' supposed to procude a shorter name as output. The script should'
50569 echo ' expect to get importlib_name without extension and should produce'
50570 echo ' a (max.) 8 letter name without extension.'
50571 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50572 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50573 echo ' These flags will be put at the start of GCC command line.'
50574 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50575 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50576 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50577 echo ' If the last character of a symbol is "*", all symbols beginning'
50578 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50579 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50580 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50581 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50582 echo ' C runtime DLLs.'
50583 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50584 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50585 echo ' unchanged to GCC at the end of command line.'
50586 echo '*> If you create a DLL from a library and you do not specify -o,'
50587 echo ' the basename for DLL and import library will be set to library name,'
50588 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50589 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50590 echo ' library will be renamed into gcc_s.a.'
50593 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50594 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50599 # Execute a command.
50600 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50601 # @Uses Whatever CleanUp() uses.
50607 if [ ${D}rcCmd -ne 0 ]; then
50608 echo "command failed, exit code="${D}rcCmd
50623 CFLAGS="-s -Zcrtdll"
50625 EXPORT_BY_ORDINALS=0
50630 case ${D}curDirS in
50634 curDirS=${D}{curDirS}"/"
50637 # Parse commandline
50640 while [ ${D}1 ]; do
50643 EXPORT_BY_ORDINALS=1;
50653 -name-mangler-script)
50674 exclude_symbols=${D}{exclude_symbols}${D}1" "
50678 library_flags=${D}{library_flags}${D}1" "
50697 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50700 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50701 if [ ${D}omfLinking -eq 1 ]; then
50702 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50704 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50709 if [ ${D}libsToLink -ne 0 ]; then
50710 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50712 for file in ${D}1 ; do
50713 if [ -f ${D}file ]; then
50714 inputFiles="${D}{inputFiles} ${D}file"
50718 if [ ${D}found -eq 0 ]; then
50719 echo "ERROR: No file(s) found: "${D}1
50726 done # iterate cmdline words
50729 if [ -z "${D}inputFiles" ]; then
50730 echo "dllar: no input files"
50734 # Now extract all .o files from .a files
50736 for file in ${D}inputFiles ; do
50747 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50752 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50754 if [ ${D}? -ne 0 ]; then
50755 echo "Failed to create subdirectory ./${D}dirname"
50759 # Append '!' to indicate archive
50760 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50761 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50764 for subfile in ${D}dirname/*.o* ; do
50765 if [ -f ${D}subfile ]; then
50767 if [ -s ${D}subfile ]; then
50768 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50769 newInputFiles="${D}newInputFiles ${D}subfile"
50773 if [ ${D}found -eq 0 ]; then
50774 echo "WARNING: there are no files in archive \\'${D}file\\'"
50778 newInputFiles="${D}{newInputFiles} ${D}file"
50782 inputFiles="${D}newInputFiles"
50784 # Output filename(s).
50786 if [ -z ${D}outFile ]; then
50788 set outFile ${D}inputFiles; outFile=${D}2
50791 # If it is an archive, remove the '!' and the '_%' suffixes
50792 case ${D}outFile in
50794 outFile=\`basnam ${D}outFile _%!\`
50799 case ${D}outFile in
50801 outFile=\`basnam ${D}outFile .dll\`
50804 outFile=\`basnam ${D}outFile .DLL\`
50807 outFile=\`basnam ${D}outFile .o\`
50810 outFile=\`basnam ${D}outFile .obj\`
50813 outFile=\`basnam ${D}outFile .a\`
50816 outFile=\`basnam ${D}outFile .lib\`
50821 case ${D}outimpFile in
50823 outimpFile=\`basnam ${D}outimpFile .a\`
50826 outimpFile=\`basnam ${D}outimpFile .lib\`
50831 if [ -z ${D}outimpFile ]; then
50832 outimpFile=${D}outFile
50834 defFile="${D}{outFile}.def"
50835 arcFile="${D}{outimpFile}.a"
50836 arcFile2="${D}{outimpFile}.lib"
50838 #create ${D}dllFile as something matching 8.3 restrictions,
50839 if [ -z ${D}renameScript ] ; then
50840 dllFile="${D}outFile"
50842 dllFile=\`${D}renameScript ${D}outimpFile\`
50845 if [ ${D}do_backup -ne 0 ] ; then
50846 if [ -f ${D}arcFile ] ; then
50847 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50849 if [ -f ${D}arcFile2 ] ; then
50850 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50854 # Extract public symbols from all the object files.
50855 tmpdefFile=${D}{defFile}_%
50856 rm -f ${D}tmpdefFile
50857 for file in ${D}inputFiles ; do
50862 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50867 # Create the def file.
50869 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50870 dllFile="${D}{dllFile}.dll"
50871 if [ ! -z ${D}description ]; then
50872 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50874 echo "EXPORTS" >> ${D}defFile
50876 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50877 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50879 # Checks if the export is ok or not.
50880 for word in ${D}exclude_symbols; do
50881 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50882 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50886 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50887 sed "=" < ${D}tmpdefFile | \\
50891 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50893 ' > ${D}{tmpdefFile}%
50894 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50896 rm -f ${D}{tmpdefFile}%
50898 cat ${D}tmpdefFile >> ${D}defFile
50899 rm -f ${D}tmpdefFile
50901 # Do linking, create implib, and apply lxlite.
50903 for file in ${D}inputFiles ; do
50908 gccCmdl="${D}gccCmdl ${D}file"
50912 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50913 touch "${D}{outFile}.dll"
50915 doCommand "emximp -o ${D}arcFile ${D}defFile"
50916 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50918 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50921 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50923 doCommand "emxomf -s -l ${D}arcFile"
50933 powerpc-apple-macos* | \
50934 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50944 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50945 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50946 { (exit 1); exit 1; }; }
50949 if test "x$PIC_FLAG" != "x" ; then
50950 PIC_FLAG="$PIC_FLAG -DPIC"
50953 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50954 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50956 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50957 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50976 case "${BAKEFILE_HOST}" in
50977 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50978 if test "x$SUNCXX" = "xyes"; then
50981 SONAME_FLAG="-Wl,-soname,"
51016 # Check whether --enable-dependency-tracking was given.
51017 if test "${enable_dependency_tracking+set}" = set; then
51018 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51022 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51023 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51026 if test "x$bk_use_trackdeps" = "xno" ; then
51028 { echo "$as_me:$LINENO: result: disabled" >&5
51029 echo "${ECHO_T}disabled" >&6; }
51033 if test "x$GCC" = "xyes"; then
51035 case "${BAKEFILE_HOST}" in
51037 DEPSFLAG="-no-cpp-precomp -MMD"
51043 { echo "$as_me:$LINENO: result: gcc" >&5
51044 echo "${ECHO_T}gcc" >&6; }
51045 elif test "x$MWCC" = "xyes"; then
51048 { echo "$as_me:$LINENO: result: mwcc" >&5
51049 echo "${ECHO_T}mwcc" >&6; }
51050 elif test "x$SUNCC" = "xyes"; then
51053 { echo "$as_me:$LINENO: result: Sun cc" >&5
51054 echo "${ECHO_T}Sun cc" >&6; }
51055 elif test "x$SGICC" = "xyes"; then
51058 { echo "$as_me:$LINENO: result: SGI cc" >&5
51059 echo "${ECHO_T}SGI cc" >&6; }
51060 elif test "x$HPCC" = "xyes"; then
51063 { echo "$as_me:$LINENO: result: HP cc" >&5
51064 echo "${ECHO_T}HP cc" >&6; }
51065 elif test "x$COMPAQCC" = "xyes"; then
51068 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51069 echo "${ECHO_T}Compaq cc" >&6; }
51072 { echo "$as_me:$LINENO: result: none" >&5
51073 echo "${ECHO_T}none" >&6; }
51076 if test $DEPS_TRACKING = 1 ; then
51082 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51083 # script. It is used to track C/C++ files dependencies in portable way.
51085 # Permission is given to use this file in any way.
51087 DEPSMODE=${DEPSMODE}
51089 DEPSFLAG="${DEPSFLAG}"
51091 mkdir -p ${D}DEPSDIR
51093 if test ${D}DEPSMODE = gcc ; then
51094 ${D}* ${D}{DEPSFLAG}
51096 if test ${D}{status} != 0 ; then
51099 # move created file to the location we want it in:
51100 while test ${D}# -gt 0; do
51114 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51115 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51116 if test -f ${D}depfile ; then
51117 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51120 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51121 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51122 if test ! -f ${D}depfile ; then
51123 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51124 depfile="${D}objfile.d"
51126 if test -f ${D}depfile ; then
51127 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51132 elif test ${D}DEPSMODE = mwcc ; then
51133 ${D}* || exit ${D}?
51134 # Run mwcc again with -MM and redirect into the dep file we want
51135 # NOTE: We can't use shift here because we need ${D}* to be valid
51137 for arg in ${D}* ; do
51138 if test "${D}prevarg" = "-o"; then
51151 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51153 elif test ${D}DEPSMODE = unixcc; then
51154 ${D}* || exit ${D}?
51155 # Run compiler again with deps flag and redirect into the dep file.
51156 # It doesn't work if the '-o FILE' option is used, but without it the
51157 # dependency file will contain the wrong name for the object. So it is
51158 # removed from the command line, and the dep file is fixed with sed.
51160 while test ${D}# -gt 0; do
51167 eval arg${D}#=\\${D}1
51168 cmd="${D}cmd \\${D}arg${D}#"
51173 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51182 BK_DEPS="`pwd`/bk-deps"
51190 case ${BAKEFILE_HOST} in
51191 *-*-cygwin* | *-*-mingw32* )
51192 if test -n "$ac_tool_prefix"; then
51193 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51194 set dummy ${ac_tool_prefix}windres; ac_word=$2
51195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51197 if test "${ac_cv_prog_WINDRES+set}" = set; then
51198 echo $ECHO_N "(cached) $ECHO_C" >&6
51200 if test -n "$WINDRES"; then
51201 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51204 for as_dir in $PATH
51207 test -z "$as_dir" && as_dir=.
51208 for ac_exec_ext in '' $ac_executable_extensions; do
51209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51210 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51220 WINDRES=$ac_cv_prog_WINDRES
51221 if test -n "$WINDRES"; then
51222 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51223 echo "${ECHO_T}$WINDRES" >&6; }
51225 { echo "$as_me:$LINENO: result: no" >&5
51226 echo "${ECHO_T}no" >&6; }
51231 if test -z "$ac_cv_prog_WINDRES"; then
51232 ac_ct_WINDRES=$WINDRES
51233 # Extract the first word of "windres", so it can be a program name with args.
51234 set dummy windres; ac_word=$2
51235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51237 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51238 echo $ECHO_N "(cached) $ECHO_C" >&6
51240 if test -n "$ac_ct_WINDRES"; then
51241 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51244 for as_dir in $PATH
51247 test -z "$as_dir" && as_dir=.
51248 for ac_exec_ext in '' $ac_executable_extensions; do
51249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51250 ac_cv_prog_ac_ct_WINDRES="windres"
51251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51260 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51261 if test -n "$ac_ct_WINDRES"; then
51262 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51263 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51265 { echo "$as_me:$LINENO: result: no" >&5
51266 echo "${ECHO_T}no" >&6; }
51269 if test "x$ac_ct_WINDRES" = x; then
51272 case $cross_compiling:$ac_tool_warned in
51274 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51275 whose name does not start with the host triplet. If you think this
51276 configuration is useful to you, please write to autoconf@gnu.org." >&5
51277 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51278 whose name does not start with the host triplet. If you think this
51279 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51280 ac_tool_warned=yes ;;
51282 WINDRES=$ac_ct_WINDRES
51285 WINDRES="$ac_cv_prog_WINDRES"
51290 *-*-darwin* | powerpc-apple-macos* )
51291 # Extract the first word of "Rez", so it can be a program name with args.
51292 set dummy Rez; ac_word=$2
51293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51295 if test "${ac_cv_prog_REZ+set}" = set; then
51296 echo $ECHO_N "(cached) $ECHO_C" >&6
51298 if test -n "$REZ"; then
51299 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51302 for as_dir in $PATH
51305 test -z "$as_dir" && as_dir=.
51306 for ac_exec_ext in '' $ac_executable_extensions; do
51307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51308 ac_cv_prog_REZ="Rez"
51309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51316 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51319 REZ=$ac_cv_prog_REZ
51320 if test -n "$REZ"; then
51321 { echo "$as_me:$LINENO: result: $REZ" >&5
51322 echo "${ECHO_T}$REZ" >&6; }
51324 { echo "$as_me:$LINENO: result: no" >&5
51325 echo "${ECHO_T}no" >&6; }
51329 # Extract the first word of "SetFile", so it can be a program name with args.
51330 set dummy SetFile; ac_word=$2
51331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51333 if test "${ac_cv_prog_SETFILE+set}" = set; then
51334 echo $ECHO_N "(cached) $ECHO_C" >&6
51336 if test -n "$SETFILE"; then
51337 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51340 for as_dir in $PATH
51343 test -z "$as_dir" && as_dir=.
51344 for ac_exec_ext in '' $ac_executable_extensions; do
51345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51346 ac_cv_prog_SETFILE="SetFile"
51347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51354 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51357 SETFILE=$ac_cv_prog_SETFILE
51358 if test -n "$SETFILE"; then
51359 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51360 echo "${ECHO_T}$SETFILE" >&6; }
51362 { echo "$as_me:$LINENO: result: no" >&5
51363 echo "${ECHO_T}no" >&6; }
51375 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51378 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51382 # Check whether --enable-precomp-headers was given.
51383 if test "${enable_precomp_headers+set}" = set; then
51384 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51393 case ${BAKEFILE_HOST} in
51399 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51400 if test "x$GCC" = "xyes"; then
51401 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51402 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51403 cat >conftest.$ac_ext <<_ACEOF
51406 cat confdefs.h >>conftest.$ac_ext
51407 cat >>conftest.$ac_ext <<_ACEOF
51408 /* end confdefs.h. */
51414 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51415 There is no PCH support
51418 There is no PCH support
51420 #if (__GNUC__ == 3) && \
51421 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51422 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51423 ( defined(__INTEL_COMPILER) )
51424 There is no PCH support
51431 rm -f conftest.$ac_objext
51432 if { (ac_try="$ac_compile"
51433 case "(($ac_try" in
51434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51435 *) ac_try_echo=$ac_try;;
51437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51438 (eval "$ac_compile") 2>conftest.er1
51440 grep -v '^ *+' conftest.er1 >conftest.err
51442 cat conftest.err >&5
51443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51444 (exit $ac_status); } && {
51445 test -z "$ac_c_werror_flag" ||
51446 test ! -s conftest.err
51447 } && test -s conftest.$ac_objext; then
51449 { echo "$as_me:$LINENO: result: yes" >&5
51450 echo "${ECHO_T}yes" >&6; }
51454 echo "$as_me: failed program was:" >&5
51455 sed 's/^/| /' conftest.$ac_ext >&5
51458 cat >conftest.$ac_ext <<_ACEOF
51461 cat confdefs.h >>conftest.$ac_ext
51462 cat >>conftest.$ac_ext <<_ACEOF
51463 /* end confdefs.h. */
51469 #if !defined(__INTEL_COMPILER) || \
51470 (__INTEL_COMPILER < 800)
51471 There is no PCH support
51478 rm -f conftest.$ac_objext
51479 if { (ac_try="$ac_compile"
51480 case "(($ac_try" in
51481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51482 *) ac_try_echo=$ac_try;;
51484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51485 (eval "$ac_compile") 2>conftest.er1
51487 grep -v '^ *+' conftest.er1 >conftest.err
51489 cat conftest.err >&5
51490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51491 (exit $ac_status); } && {
51492 test -z "$ac_c_werror_flag" ||
51493 test ! -s conftest.err
51494 } && test -s conftest.$ac_objext; then
51496 { echo "$as_me:$LINENO: result: yes" >&5
51497 echo "${ECHO_T}yes" >&6; }
51501 echo "$as_me: failed program was:" >&5
51502 sed 's/^/| /' conftest.$ac_ext >&5
51505 { echo "$as_me:$LINENO: result: no" >&5
51506 echo "${ECHO_T}no" >&6; }
51510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51515 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51519 cat <<EOF >bk-make-pch
51522 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51523 # script. It is used to generated precompiled headers.
51525 # Permission is given to use this file in any way.
51535 while test ${D}{#} -gt 0; do
51539 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51540 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51541 headerfile="${D}{incdir}/${D}{header}"
51544 -use-pch|-use_pch )
51549 if test ${D}add_to_cmdline = 1 ; then
51550 compiler="${D}{compiler} ${D}{1}"
51555 if test "x${D}{headerfile}" = "x" ; then
51556 echo "error: can't find header ${D}{header} in include paths" >&2
51558 if test -f ${D}{outfile} ; then
51559 rm -f ${D}{outfile}
51561 mkdir -p \`dirname ${D}{outfile}\`
51563 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51565 if test "x${GCC_PCH}" = "x1" ; then
51566 # can do this because gcc is >= 3.4:
51567 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51568 elif test "x${ICC_PCH}" = "x1" ; then
51569 filename=pch_gen-${D}${D}
51570 file=${D}{filename}.c
51571 dfile=${D}{filename}.d
51572 cat > ${D}file <<EOT
51573 #include "${D}header"
51575 # using -MF icc complains about differing command lines in creation/use
51576 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51577 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51578 rm -f ${D}file ${D}dfile ${D}{filename}.o
51584 chmod +x bk-make-pch
51585 BK_MAKE_PCH="`pwd`/bk-make-pch"
51594 COND_BUILD_DEBUG="#"
51595 if test "x$BUILD" = "xdebug" ; then
51596 COND_BUILD_DEBUG=""
51599 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51600 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51601 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51604 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51605 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51606 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51609 COND_BUILD_DEBUG_UNICODE_0="#"
51610 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51611 COND_BUILD_DEBUG_UNICODE_0=""
51614 COND_BUILD_DEBUG_UNICODE_1="#"
51615 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51616 COND_BUILD_DEBUG_UNICODE_1=""
51619 COND_BUILD_RELEASE="#"
51620 if test "x$BUILD" = "xrelease" ; then
51621 COND_BUILD_RELEASE=""
51624 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51625 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51626 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51629 COND_BUILD_RELEASE_UNICODE_0="#"
51630 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51631 COND_BUILD_RELEASE_UNICODE_0=""
51634 COND_BUILD_RELEASE_UNICODE_1="#"
51635 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51636 COND_BUILD_RELEASE_UNICODE_1=""
51639 COND_DEBUG_FLAG_1="#"
51640 if test "x$DEBUG_FLAG" = "x1" ; then
51641 COND_DEBUG_FLAG_1=""
51644 COND_DEBUG_INFO_0="#"
51645 if test "x$DEBUG_INFO" = "x0" ; then
51646 COND_DEBUG_INFO_0=""
51649 COND_DEBUG_INFO_1="#"
51650 if test "x$DEBUG_INFO" = "x1" ; then
51651 COND_DEBUG_INFO_1=""
51654 COND_DEPS_TRACKING_0="#"
51655 if test "x$DEPS_TRACKING" = "x0" ; then
51656 COND_DEPS_TRACKING_0=""
51659 COND_DEPS_TRACKING_1="#"
51660 if test "x$DEPS_TRACKING" = "x1" ; then
51661 COND_DEPS_TRACKING_1=""
51665 if test "x$GCC_PCH" = "x1" ; then
51670 if test "x$ICC_PCH" = "x1" ; then
51674 COND_MONOLITHIC_0="#"
51675 if test "x$MONOLITHIC" = "x0" ; then
51676 COND_MONOLITHIC_0=""
51679 COND_MONOLITHIC_0_SHARED_0="#"
51680 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51681 COND_MONOLITHIC_0_SHARED_0=""
51684 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51685 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51686 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51689 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51690 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51691 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51694 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51695 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51696 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51699 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51700 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51701 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51704 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51705 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51706 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51709 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51710 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51711 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51714 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51715 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51716 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51719 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51720 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51721 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51724 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51725 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51726 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51729 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51730 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51731 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51734 COND_MONOLITHIC_0_SHARED_1="#"
51735 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51736 COND_MONOLITHIC_0_SHARED_1=""
51739 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51740 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51741 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51744 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51745 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51746 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51749 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51750 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51751 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51754 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51755 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51756 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51759 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51760 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51761 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51764 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51765 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51766 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51769 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51770 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51771 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51774 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51775 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51776 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51779 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51781 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51784 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51786 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51789 COND_MONOLITHIC_0_USE_AUI_1="#"
51790 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51791 COND_MONOLITHIC_0_USE_AUI_1=""
51794 COND_MONOLITHIC_0_USE_GUI_1="#"
51795 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51796 COND_MONOLITHIC_0_USE_GUI_1=""
51799 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51800 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51801 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51804 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51805 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51806 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51809 COND_MONOLITHIC_0_USE_HTML_1="#"
51810 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51811 COND_MONOLITHIC_0_USE_HTML_1=""
51814 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51815 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51816 COND_MONOLITHIC_0_USE_MEDIA_1=""
51819 COND_MONOLITHIC_0_USE_ODBC_1="#"
51820 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51821 COND_MONOLITHIC_0_USE_ODBC_1=""
51824 COND_MONOLITHIC_0_USE_QA_1="#"
51825 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51826 COND_MONOLITHIC_0_USE_QA_1=""
51829 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51830 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51831 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51834 COND_MONOLITHIC_0_USE_STC_1="#"
51835 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51836 COND_MONOLITHIC_0_USE_STC_1=""
51839 COND_MONOLITHIC_0_USE_XRC_1="#"
51840 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51841 COND_MONOLITHIC_0_USE_XRC_1=""
51844 COND_MONOLITHIC_1="#"
51845 if test "x$MONOLITHIC" = "x1" ; then
51846 COND_MONOLITHIC_1=""
51849 COND_MONOLITHIC_1_SHARED_0="#"
51850 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51851 COND_MONOLITHIC_1_SHARED_0=""
51854 COND_MONOLITHIC_1_SHARED_1="#"
51855 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51856 COND_MONOLITHIC_1_SHARED_1=""
51859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51860 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51861 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51864 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51865 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51866 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51869 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51870 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51871 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51874 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51875 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51876 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51879 COND_PLATFORM_MACOSX_1="#"
51880 if test "x$PLATFORM_MACOSX" = "x1" ; then
51881 COND_PLATFORM_MACOSX_1=""
51884 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51885 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51886 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51889 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51890 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51891 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51894 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51895 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51896 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51899 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51900 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51901 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51904 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51905 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51906 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51909 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51910 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51911 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51914 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51915 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51916 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51919 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51920 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51921 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51924 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51925 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51926 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51929 COND_PLATFORM_MACOS_1="#"
51930 if test "x$PLATFORM_MACOS" = "x1" ; then
51931 COND_PLATFORM_MACOS_1=""
51934 COND_PLATFORM_MAC_1="#"
51935 if test "x$PLATFORM_MAC" = "x1" ; then
51936 COND_PLATFORM_MAC_1=""
51939 COND_PLATFORM_MSDOS_0="#"
51940 if test "x$PLATFORM_MSDOS" = "x0" ; then
51941 COND_PLATFORM_MSDOS_0=""
51944 COND_PLATFORM_MSDOS_1="#"
51945 if test "x$PLATFORM_MSDOS" = "x1" ; then
51946 COND_PLATFORM_MSDOS_1=""
51949 COND_PLATFORM_OS2_1="#"
51950 if test "x$PLATFORM_OS2" = "x1" ; then
51951 COND_PLATFORM_OS2_1=""
51954 COND_PLATFORM_UNIX_0="#"
51955 if test "x$PLATFORM_UNIX" = "x0" ; then
51956 COND_PLATFORM_UNIX_0=""
51959 COND_PLATFORM_UNIX_1="#"
51960 if test "x$PLATFORM_UNIX" = "x1" ; then
51961 COND_PLATFORM_UNIX_1=""
51964 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51965 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51966 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51969 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51970 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51971 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51974 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51975 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51976 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51979 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51980 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51981 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51984 COND_PLATFORM_WIN32_0="#"
51985 if test "x$PLATFORM_WIN32" = "x0" ; then
51986 COND_PLATFORM_WIN32_0=""
51989 COND_PLATFORM_WIN32_1="#"
51990 if test "x$PLATFORM_WIN32" = "x1" ; then
51991 COND_PLATFORM_WIN32_1=""
51995 if test "x$SHARED" = "x0" ; then
51999 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52000 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52001 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52004 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52005 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52006 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52009 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52010 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52011 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52014 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52015 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52016 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52019 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52020 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52021 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52024 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52025 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52026 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52029 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52030 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52031 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52034 COND_SHARED_0_USE_STC_1="#"
52035 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52036 COND_SHARED_0_USE_STC_1=""
52039 COND_SHARED_0_USE_XRC_1="#"
52040 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52041 COND_SHARED_0_USE_XRC_1=""
52044 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52045 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52046 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52049 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52050 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52051 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52054 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52055 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52056 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52059 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52060 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52061 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52065 if test "x$SHARED" = "x1" ; then
52069 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52070 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52071 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52074 COND_SHARED_1_USE_XRC_1="#"
52075 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52076 COND_SHARED_1_USE_XRC_1=""
52080 if test "x$TOOLKIT" = "x" ; then
52084 COND_TOOLKIT_COCOA="#"
52085 if test "x$TOOLKIT" = "xCOCOA" ; then
52086 COND_TOOLKIT_COCOA=""
52089 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52090 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52091 COND_TOOLKIT_COCOA_USE_GUI_1=""
52094 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52095 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52096 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52099 COND_TOOLKIT_DFB="#"
52100 if test "x$TOOLKIT" = "xDFB" ; then
52101 COND_TOOLKIT_DFB=""
52104 COND_TOOLKIT_DFB_USE_GUI_1="#"
52105 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52106 COND_TOOLKIT_DFB_USE_GUI_1=""
52109 COND_TOOLKIT_GTK="#"
52110 if test "x$TOOLKIT" = "xGTK" ; then
52111 COND_TOOLKIT_GTK=""
52114 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52115 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52116 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52119 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52120 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52121 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52124 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52125 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52126 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52129 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52130 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52131 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52134 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52135 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52136 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52139 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52140 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52141 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52144 COND_TOOLKIT_GTK_USE_GUI_1="#"
52145 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52146 COND_TOOLKIT_GTK_USE_GUI_1=""
52149 COND_TOOLKIT_MAC="#"
52150 if test "x$TOOLKIT" = "xMAC" ; then
52151 COND_TOOLKIT_MAC=""
52154 COND_TOOLKIT_MAC_USE_GUI_1="#"
52155 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52156 COND_TOOLKIT_MAC_USE_GUI_1=""
52159 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52160 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52161 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52164 COND_TOOLKIT_MGL="#"
52165 if test "x$TOOLKIT" = "xMGL" ; then
52166 COND_TOOLKIT_MGL=""
52169 COND_TOOLKIT_MGL_USE_GUI_1="#"
52170 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52171 COND_TOOLKIT_MGL_USE_GUI_1=""
52174 COND_TOOLKIT_MOTIF="#"
52175 if test "x$TOOLKIT" = "xMOTIF" ; then
52176 COND_TOOLKIT_MOTIF=""
52179 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52180 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52181 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52184 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52185 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52186 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52189 COND_TOOLKIT_MSW="#"
52190 if test "x$TOOLKIT" = "xMSW" ; then
52191 COND_TOOLKIT_MSW=""
52194 COND_TOOLKIT_MSW_USE_GUI_1="#"
52195 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52196 COND_TOOLKIT_MSW_USE_GUI_1=""
52199 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52200 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52201 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52204 COND_TOOLKIT_MSW_WXUNIV_0="#"
52205 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52206 COND_TOOLKIT_MSW_WXUNIV_0=""
52209 COND_TOOLKIT_PM="#"
52210 if test "x$TOOLKIT" = "xPM" ; then
52214 COND_TOOLKIT_PM_USE_GUI_1="#"
52215 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52216 COND_TOOLKIT_PM_USE_GUI_1=""
52219 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52220 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52221 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52224 COND_TOOLKIT_WINCE="#"
52225 if test "x$TOOLKIT" = "xWINCE" ; then
52226 COND_TOOLKIT_WINCE=""
52229 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52230 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52231 COND_TOOLKIT_WINCE_USE_GUI_1=""
52234 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52235 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52236 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52239 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52240 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52241 COND_TOOLKIT_WINCE_WXUNIV_0=""
52244 COND_TOOLKIT_X11="#"
52245 if test "x$TOOLKIT" = "xX11" ; then
52246 COND_TOOLKIT_X11=""
52249 COND_TOOLKIT_X11_USE_GUI_1="#"
52250 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52251 COND_TOOLKIT_X11_USE_GUI_1=""
52255 if test "x$UNICODE" = "x1" ; then
52259 COND_USE_EXCEPTIONS_0="#"
52260 if test "x$USE_EXCEPTIONS" = "x0" ; then
52261 COND_USE_EXCEPTIONS_0=""
52264 COND_USE_EXCEPTIONS_1="#"
52265 if test "x$USE_EXCEPTIONS" = "x1" ; then
52266 COND_USE_EXCEPTIONS_1=""
52270 if test "x$USE_GUI" = "x0" ; then
52275 if test "x$USE_GUI" = "x1" ; then
52279 COND_USE_GUI_1_USE_OPENGL_1="#"
52280 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52281 COND_USE_GUI_1_USE_OPENGL_1=""
52284 COND_USE_GUI_1_WXUNIV_0="#"
52285 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52286 COND_USE_GUI_1_WXUNIV_0=""
52289 COND_USE_GUI_1_WXUNIV_1="#"
52290 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52291 COND_USE_GUI_1_WXUNIV_1=""
52294 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52295 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52296 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52299 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52300 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52301 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52304 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52305 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52306 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52309 COND_USE_ODBC_1="#"
52310 if test "x$USE_ODBC" = "x1" ; then
52314 COND_USE_OPENGL_1="#"
52315 if test "x$USE_OPENGL" = "x1" ; then
52316 COND_USE_OPENGL_1=""
52320 if test "x$USE_PCH" = "x1" ; then
52324 COND_USE_PLUGINS_0="#"
52325 if test "x$USE_PLUGINS" = "x0" ; then
52326 COND_USE_PLUGINS_0=""
52329 COND_USE_RTTI_0="#"
52330 if test "x$USE_RTTI" = "x0" ; then
52334 COND_USE_RTTI_1="#"
52335 if test "x$USE_RTTI" = "x1" ; then
52339 COND_USE_SOSYMLINKS_1="#"
52340 if test "x$USE_SOSYMLINKS" = "x1" ; then
52341 COND_USE_SOSYMLINKS_1=""
52344 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52345 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52346 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52349 COND_USE_SOVERLINUX_1="#"
52350 if test "x$USE_SOVERLINUX" = "x1" ; then
52351 COND_USE_SOVERLINUX_1=""
52354 COND_USE_SOVERSION_0="#"
52355 if test "x$USE_SOVERSION" = "x0" ; then
52356 COND_USE_SOVERSION_0=""
52359 COND_USE_SOVERSOLARIS_1="#"
52360 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52361 COND_USE_SOVERSOLARIS_1=""
52365 if test "x$USE_STC" = "x1" ; then
52369 COND_USE_THREADS_0="#"
52370 if test "x$USE_THREADS" = "x0" ; then
52371 COND_USE_THREADS_0=""
52374 COND_USE_THREADS_1="#"
52375 if test "x$USE_THREADS" = "x1" ; then
52376 COND_USE_THREADS_1=""
52380 if test "x$USE_XRC" = "x1" ; then
52384 COND_WINDOWS_IMPLIB_1="#"
52385 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52386 COND_WINDOWS_IMPLIB_1=""
52389 COND_WITH_PLUGIN_SDL_1="#"
52390 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52391 COND_WITH_PLUGIN_SDL_1=""
52395 if test "x$WXUNIV" = "x0" ; then
52400 if test "x$WXUNIV" = "x1" ; then
52404 COND_WXUSE_EXPAT_BUILTIN="#"
52405 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52406 COND_WXUSE_EXPAT_BUILTIN=""
52409 COND_WXUSE_LIBJPEG_BUILTIN="#"
52410 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52411 COND_WXUSE_LIBJPEG_BUILTIN=""
52414 COND_WXUSE_LIBPNG_BUILTIN="#"
52415 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52416 COND_WXUSE_LIBPNG_BUILTIN=""
52419 COND_WXUSE_LIBTIFF_BUILTIN="#"
52420 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52421 COND_WXUSE_LIBTIFF_BUILTIN=""
52424 COND_WXUSE_ODBC_BUILTIN="#"
52425 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52426 COND_WXUSE_ODBC_BUILTIN=""
52429 COND_WXUSE_REGEX_BUILTIN="#"
52430 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52431 COND_WXUSE_REGEX_BUILTIN=""
52434 COND_WXUSE_ZLIB_BUILTIN="#"
52435 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52436 COND_WXUSE_ZLIB_BUILTIN=""
52441 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52442 { { 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
52443 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;}
52444 { (exit 1); exit 1; }; }
52447 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52448 { { 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
52449 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;}
52450 { (exit 1); exit 1; }; }
52454 if test $GCC_PCH = 1
52456 if test "$wx_cv_gcc_pch_bug" = yes; then
52457 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52458 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52459 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52460 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52461 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52462 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52465 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52469 if test "$wxUSE_MAC" = 1 ; then
52470 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52471 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52477 if test "$wxUSE_SHARED" = "yes"; then
52479 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52480 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52483 *-pc-os2_emx | *-pc-os2-emx )
52484 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52485 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52486 cp -p ${srcdir}/src/os2/dllnames.sh .
52487 cp -p ${srcdir}/src/os2/dllar.sh .
52492 EXE_LINKER="$CXX -o"
52495 if test "$wxUSE_OMF" = "yes"; then
52497 *-pc-os2_emx | *-pc-os2-emx )
52498 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52499 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52500 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52505 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52510 if "$GCC" = yes; then
52511 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52512 LIBS=`echo $LIBS | sed 's/-mt//'`
52513 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52518 if test "x$SUNCXX" = xyes; then
52519 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52520 LIBS=`echo $LIBS | sed 's/-pthread//'`
52521 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52526 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52527 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52529 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52591 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52592 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52593 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52594 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52595 echo $ECHO_N "(cached) $ECHO_C" >&6
52597 cat >conftest.make <<\_ACEOF
52600 @echo '@@@%%%=$(MAKE)=@@@%%%'
52602 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52603 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52604 *@@@%%%=?*=@@@%%%*)
52605 eval ac_cv_prog_make_${ac_make}_set=yes;;
52607 eval ac_cv_prog_make_${ac_make}_set=no;;
52609 rm -f conftest.make
52611 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52612 { echo "$as_me:$LINENO: result: yes" >&5
52613 echo "${ECHO_T}yes" >&6; }
52616 { echo "$as_me:$LINENO: result: no" >&5
52617 echo "${ECHO_T}no" >&6; }
52618 SET_MAKE="MAKE=${MAKE-make}"
52623 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52626 if test "$USE_WIN32" = 1; then
52627 ac_config_commands="$ac_config_commands
52633 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52636 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52639 if test "$wx_cv_version_script" = "yes"; then
52640 ac_config_files="$ac_config_files version-script"
52643 ac_config_files="$ac_config_files Makefile"
52646 ac_config_commands="$ac_config_commands wx-config"
52650 if test "$wxWITH_SUBDIRS" != "no"; then
52651 if test "$wxUSE_GUI" = "yes"; then
52652 SUBDIRS="samples demos utils"
52653 else SUBDIRS="samples utils"
52658 # Check whether --with-cppunit-prefix was given.
52659 if test "${with_cppunit_prefix+set}" = set; then
52660 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52662 cppunit_config_prefix=""
52666 # Check whether --with-cppunit-exec-prefix was given.
52667 if test "${with_cppunit_exec_prefix+set}" = set; then
52668 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52670 cppunit_config_exec_prefix=""
52674 if test x$cppunit_config_exec_prefix != x ; then
52675 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52676 if test x${CPPUNIT_CONFIG+set} != xset ; then
52677 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52680 if test x$cppunit_config_prefix != x ; then
52681 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52682 if test x${CPPUNIT_CONFIG+set} != xset ; then
52683 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52687 # Extract the first word of "cppunit-config", so it can be a program name with args.
52688 set dummy cppunit-config; ac_word=$2
52689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52691 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52692 echo $ECHO_N "(cached) $ECHO_C" >&6
52694 case $CPPUNIT_CONFIG in
52696 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52700 for as_dir in $PATH
52703 test -z "$as_dir" && as_dir=.
52704 for ac_exec_ext in '' $ac_executable_extensions; do
52705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52706 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52714 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52718 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52719 if test -n "$CPPUNIT_CONFIG"; then
52720 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52721 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52723 { echo "$as_me:$LINENO: result: no" >&5
52724 echo "${ECHO_T}no" >&6; }
52728 cppunit_version_min=1.8.0
52730 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52731 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52733 if test "$CPPUNIT_CONFIG" = "no" ; then
52734 { echo "$as_me:$LINENO: result: no" >&5
52735 echo "${ECHO_T}no" >&6; }
52738 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52739 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52740 cppunit_version=`$CPPUNIT_CONFIG --version`
52742 cppunit_major_version=`echo $cppunit_version | \
52743 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52744 cppunit_minor_version=`echo $cppunit_version | \
52745 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52746 cppunit_micro_version=`echo $cppunit_version | \
52747 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52749 cppunit_major_min=`echo $cppunit_version_min | \
52750 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52751 cppunit_minor_min=`echo $cppunit_version_min | \
52752 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52753 cppunit_micro_min=`echo $cppunit_version_min | \
52754 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52756 cppunit_version_proper=`expr \
52757 $cppunit_major_version \> $cppunit_major_min \| \
52758 $cppunit_major_version \= $cppunit_major_min \& \
52759 $cppunit_minor_version \> $cppunit_minor_min \| \
52760 $cppunit_major_version \= $cppunit_major_min \& \
52761 $cppunit_minor_version \= $cppunit_minor_min \& \
52762 $cppunit_micro_version \>= $cppunit_micro_min `
52764 if test "$cppunit_version_proper" = "1" ; then
52765 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52766 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52768 { echo "$as_me:$LINENO: result: no" >&5
52769 echo "${ECHO_T}no" >&6; }
52774 if test "x$no_cppunit" = x ; then
52775 SUBDIRS="$SUBDIRS tests"
52786 for subdir in `echo $SUBDIRS`; do
52787 if test -d ${srcdir}/${subdir} ; then
52788 if test "$wxUSE_GUI" = "yes"; then
52789 if test ${subdir} = "samples"; then
52790 makefiles="samples/Makefile.in $makefiles"
52791 for sample in `echo $SAMPLES_SUBDIRS`; do
52792 if test -d $srcdir/samples/$sample; then
52793 makefiles="samples/$sample/Makefile.in $makefiles"
52797 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52798 eval "disabled=\$$disabled_var"
52799 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52800 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52802 else if test ${subdir} = "samples"; then
52803 makefiles="samples/Makefile.in samples/console/Makefile.in"
52804 elif test ${subdir} = "utils"; then
52806 for util in HelpGen tex2rtf ; do
52807 if test -d $srcdir/utils/$util ; then
52808 makefiles="utils/$util/Makefile.in \
52809 utils/$util/src/Makefile.in \
52813 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52817 for mkin in $makefiles ; do
52818 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52819 ac_config_files="$ac_config_files $mk"
52825 cat >confcache <<\_ACEOF
52826 # This file is a shell script that caches the results of configure
52827 # tests run on this system so they can be shared between configure
52828 # scripts and configure runs, see configure's option --config-cache.
52829 # It is not useful on other systems. If it contains results you don't
52830 # want to keep, you may remove or edit it.
52832 # config.status only pays attention to the cache file if you give it
52833 # the --recheck option to rerun configure.
52835 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52836 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52837 # following values.
52841 # The following way of writing the cache mishandles newlines in values,
52842 # but we know of no workaround that is simple, portable, and efficient.
52843 # So, we kill variables containing newlines.
52844 # Ultrix sh set writes to stderr and can't be redirected directly,
52845 # and sets the high bit in the cache file unless we assign to the vars.
52847 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52848 eval ac_val=\$$ac_var
52852 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52853 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52856 _ | IFS | as_nl) ;; #(
52857 *) $as_unset $ac_var ;;
52863 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52864 *${as_nl}ac_space=\ *)
52865 # `set' does not quote correctly, so add quotes (double-quote
52866 # substitution turns \\\\ into \\, and sed turns \\ into \).
52869 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52872 # `set' quotes correctly as required by POSIX, so do not add quotes.
52873 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52882 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52884 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52886 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52887 if test -w "$cache_file"; then
52888 test "x$cache_file" != "x/dev/null" &&
52889 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52890 echo "$as_me: updating cache $cache_file" >&6;}
52891 cat confcache >$cache_file
52893 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52894 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52899 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52900 # Let make expand exec_prefix.
52901 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52903 DEFS=-DHAVE_CONFIG_H
52907 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52908 # 1. Remove the extension, and $U if already installed.
52909 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52910 ac_i=`echo "$ac_i" | sed "$ac_script"`
52911 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52912 # will be set to the directory where LIBOBJS objects are built.
52913 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52914 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52916 LIBOBJS=$ac_libobjs
52918 LTLIBOBJS=$ac_ltlibobjs
52922 : ${CONFIG_STATUS=./config.status}
52923 ac_clean_files_save=$ac_clean_files
52924 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52925 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52926 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52927 cat >$CONFIG_STATUS <<_ACEOF
52929 # Generated by $as_me.
52930 # Run this file to recreate the current configuration.
52931 # Compiler output produced by configure, useful for debugging
52932 # configure, is in config.log if it exists.
52935 ac_cs_recheck=false
52937 SHELL=\${CONFIG_SHELL-$SHELL}
52940 cat >>$CONFIG_STATUS <<\_ACEOF
52941 ## --------------------- ##
52942 ## M4sh Initialization. ##
52943 ## --------------------- ##
52945 # Be more Bourne compatible
52946 DUALCASE=1; export DUALCASE # for MKS sh
52947 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52950 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52951 # is contrary to our usage. Disable this feature.
52952 alias -g '${1+"$@"}'='"$@"'
52953 setopt NO_GLOB_SUBST
52955 case `(set -o) 2>/dev/null` in
52956 *posix*) set -o posix ;;
52965 # Avoid depending upon Character Ranges.
52966 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52967 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52968 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52969 as_cr_digits='0123456789'
52970 as_cr_alnum=$as_cr_Letters$as_cr_digits
52972 # The user is always right.
52973 if test "${PATH_SEPARATOR+set}" != set; then
52974 echo "#! /bin/sh" >conf$$.sh
52975 echo "exit 0" >>conf$$.sh
52977 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52985 # Support unset when possible.
52986 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52994 # We need space, tab and new line, in precisely that order. Quoting is
52995 # there to prevent editors from complaining about space-tab.
52996 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52997 # splitting by setting IFS to empty value.)
53002 # Find who we are. Look in the path if we contain no directory separator.
53004 *[\\/]* ) as_myself=$0 ;;
53005 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53006 for as_dir in $PATH
53009 test -z "$as_dir" && as_dir=.
53010 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53016 # We did not find ourselves, most probably we were run as `sh COMMAND'
53017 # in which case we are not to be found in the path.
53018 if test "x$as_myself" = x; then
53021 if test ! -f "$as_myself"; then
53022 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53023 { (exit 1); exit 1; }
53026 # Work around bugs in pre-3.0 UWIN ksh.
53027 for as_var in ENV MAIL MAILPATH
53028 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53036 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53037 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53038 LC_TELEPHONE LC_TIME
53040 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53041 eval $as_var=C; export $as_var
53043 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53047 # Required to use basename.
53048 if expr a : '\(a\)' >/dev/null 2>&1 &&
53049 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53055 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53056 as_basename=basename
53062 # Name of the executable.
53063 as_me=`$as_basename -- "$0" ||
53064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53065 X"$0" : 'X\(//\)$' \| \
53066 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53068 sed '/^.*\/\([^/][^/]*\)\/*$/{
53087 as_lineno_1=$LINENO
53088 as_lineno_2=$LINENO
53089 test "x$as_lineno_1" != "x$as_lineno_2" &&
53090 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53092 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53093 # uniformly replaced by the line number. The first 'sed' inserts a
53094 # line-number line after each line using $LINENO; the second 'sed'
53095 # does the real work. The second script uses 'N' to pair each
53096 # line-number line with the line containing $LINENO, and appends
53097 # trailing '-' during substitution so that $LINENO is not a special
53098 # case at line end.
53099 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53100 # scripts with optimization help from Paolo Bonzini. Blame Lee
53101 # E. McMahon (1931-1989) for sed's syntax. :-)
53113 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53116 ' >$as_me.lineno &&
53117 chmod +x "$as_me.lineno" ||
53118 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53119 { (exit 1); exit 1; }; }
53121 # Don't try to exec as it changes $[0], causing all sort of problems
53122 # (the dirname of $[0] is not the place where we might find the
53123 # original and so on. Autoconf is especially sensitive to this).
53124 . "./$as_me.lineno"
53125 # Exit status is that of the last command.
53130 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53136 ECHO_C= ECHO_N= ECHO_T=
53137 case `echo -n x` in
53139 case `echo 'x\c'` in
53140 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53147 if expr a : '\(a\)' >/dev/null 2>&1 &&
53148 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53154 rm -f conf$$ conf$$.exe conf$$.file
53155 if test -d conf$$.dir; then
53156 rm -f conf$$.dir/conf$$.file
53162 if ln -s conf$$.file conf$$ 2>/dev/null; then
53164 # ... but there are two gotchas:
53165 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53166 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53167 # In both cases, we have to default to `cp -p'.
53168 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53170 elif ln conf$$.file conf$$ 2>/dev/null; then
53175 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53176 rmdir conf$$.dir 2>/dev/null
53178 if mkdir -p . 2>/dev/null; then
53181 test -d ./-p && rmdir ./-p
53185 if test -x / >/dev/null 2>&1; then
53186 as_test_x='test -x'
53188 if ls -dL / >/dev/null 2>&1; then
53195 if test -d "$1"; then
53201 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53202 ???[sx]*):;;*)false;;esac;fi
53206 as_executable_p=$as_test_x
53208 # Sed expression to map a string onto a valid CPP name.
53209 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53211 # Sed expression to map a string onto a valid variable name.
53212 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53217 # Save the log message, to keep $[0] and so on meaningful, and to
53218 # report actual input values of CONFIG_FILES etc. instead of their
53219 # values after options handling.
53221 This file was extended by wxWidgets $as_me 2.9.0, which was
53222 generated by GNU Autoconf 2.61. Invocation command line was
53224 CONFIG_FILES = $CONFIG_FILES
53225 CONFIG_HEADERS = $CONFIG_HEADERS
53226 CONFIG_LINKS = $CONFIG_LINKS
53227 CONFIG_COMMANDS = $CONFIG_COMMANDS
53230 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53235 cat >>$CONFIG_STATUS <<_ACEOF
53236 # Files that config.status was made for.
53237 config_files="$ac_config_files"
53238 config_headers="$ac_config_headers"
53239 config_commands="$ac_config_commands"
53243 cat >>$CONFIG_STATUS <<\_ACEOF
53245 \`$as_me' instantiates files from templates according to the
53246 current configuration.
53248 Usage: $0 [OPTIONS] [FILE]...
53250 -h, --help print this help, then exit
53251 -V, --version print version number and configuration settings, then exit
53252 -q, --quiet do not print progress messages
53253 -d, --debug don't remove temporary files
53254 --recheck update $as_me by reconfiguring in the same conditions
53255 --file=FILE[:TEMPLATE]
53256 instantiate the configuration file FILE
53257 --header=FILE[:TEMPLATE]
53258 instantiate the configuration header FILE
53260 Configuration files:
53263 Configuration headers:
53266 Configuration commands:
53269 Report bugs to <bug-autoconf@gnu.org>."
53272 cat >>$CONFIG_STATUS <<_ACEOF
53274 wxWidgets config.status 2.9.0
53275 configured by $0, generated by GNU Autoconf 2.61,
53276 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53278 Copyright (C) 2006 Free Software Foundation, Inc.
53279 This config.status script is free software; the Free Software Foundation
53280 gives unlimited permission to copy, distribute and modify it."
53287 cat >>$CONFIG_STATUS <<\_ACEOF
53288 # If no file are specified by the user, then we need to provide default
53289 # value. By we need to know if files were specified by the user.
53295 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53296 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53307 # Handling of the options.
53308 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53310 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53311 echo "$ac_cs_version"; exit ;;
53312 --debug | --debu | --deb | --de | --d | -d )
53314 --file | --fil | --fi | --f )
53316 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53317 ac_need_defaults=false;;
53318 --header | --heade | --head | --hea )
53320 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53321 ac_need_defaults=false;;
53323 # Conflict between --help and --header
53324 { echo "$as_me: error: ambiguous option: $1
53325 Try \`$0 --help' for more information." >&2
53326 { (exit 1); exit 1; }; };;
53327 --help | --hel | -h )
53328 echo "$ac_cs_usage"; exit ;;
53329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53330 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53333 # This is an error.
53334 -*) { echo "$as_me: error: unrecognized option: $1
53335 Try \`$0 --help' for more information." >&2
53336 { (exit 1); exit 1; }; } ;;
53338 *) ac_config_targets="$ac_config_targets $1"
53339 ac_need_defaults=false ;;
53345 ac_configure_extra_args=
53347 if $ac_cs_silent; then
53349 ac_configure_extra_args="$ac_configure_extra_args --silent"
53353 cat >>$CONFIG_STATUS <<_ACEOF
53354 if \$ac_cs_recheck; then
53355 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53356 CONFIG_SHELL=$SHELL
53357 export CONFIG_SHELL
53358 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53362 cat >>$CONFIG_STATUS <<\_ACEOF
53366 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53367 ## Running $as_me. ##
53373 cat >>$CONFIG_STATUS <<_ACEOF
53379 infile="$srcdir/include/wx/msw/genrcdefs.h"
53380 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53383 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53384 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53385 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53391 cat >>$CONFIG_STATUS <<\_ACEOF
53393 # Handling of arguments.
53394 for ac_config_target in $ac_config_targets
53396 case $ac_config_target in
53397 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53398 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53399 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53400 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53401 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53402 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53403 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53404 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53406 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53407 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53408 { (exit 1); exit 1; }; };;
53413 # If the user did not use the arguments to specify the items to instantiate,
53414 # then the envvar interface is used. Set only those that are not.
53415 # We use the long form for the default assignment because of an extremely
53416 # bizarre bug on SunOS 4.1.3.
53417 if $ac_need_defaults; then
53418 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53419 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53420 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53423 # Have a temporary directory for convenience. Make it in the build tree
53424 # simply because there is no reason against having it here, and in addition,
53425 # creating and moving files from /tmp can sometimes cause problems.
53426 # Hook for its removal unless debugging.
53427 # Note that there is a small window in which the directory will not be cleaned:
53428 # after its creation but before its name has been assigned to `$tmp'.
53432 trap 'exit_status=$?
53433 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53435 trap '{ (exit 1); exit 1; }' 1 2 13 15
53437 # Create a (secure) tmp directory for tmp files.
53440 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53441 test -n "$tmp" && test -d "$tmp"
53444 tmp=./conf$$-$RANDOM
53445 (umask 077 && mkdir "$tmp")
53448 echo "$me: cannot create a temporary directory in ." >&2
53449 { (exit 1); exit 1; }
53453 # Set up the sed scripts for CONFIG_FILES section.
53456 # No need to generate the scripts if there are no CONFIG_FILES.
53457 # This happens for instance when ./config.status config.h
53458 if test -n "$CONFIG_FILES"; then
53465 for ac_last_try in false false false false false :; do
53466 cat >conf$$subs.sed <<_ACEOF
53467 SHELL!$SHELL$ac_delim
53468 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53469 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53470 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53471 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53472 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53473 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53474 exec_prefix!$exec_prefix$ac_delim
53475 prefix!$prefix$ac_delim
53476 program_transform_name!$program_transform_name$ac_delim
53477 bindir!$bindir$ac_delim
53478 sbindir!$sbindir$ac_delim
53479 libexecdir!$libexecdir$ac_delim
53480 datarootdir!$datarootdir$ac_delim
53481 datadir!$datadir$ac_delim
53482 sysconfdir!$sysconfdir$ac_delim
53483 sharedstatedir!$sharedstatedir$ac_delim
53484 localstatedir!$localstatedir$ac_delim
53485 includedir!$includedir$ac_delim
53486 oldincludedir!$oldincludedir$ac_delim
53487 docdir!$docdir$ac_delim
53488 infodir!$infodir$ac_delim
53489 htmldir!$htmldir$ac_delim
53490 dvidir!$dvidir$ac_delim
53491 pdfdir!$pdfdir$ac_delim
53492 psdir!$psdir$ac_delim
53493 libdir!$libdir$ac_delim
53494 localedir!$localedir$ac_delim
53495 mandir!$mandir$ac_delim
53496 DEFS!$DEFS$ac_delim
53497 ECHO_C!$ECHO_C$ac_delim
53498 ECHO_N!$ECHO_N$ac_delim
53499 ECHO_T!$ECHO_T$ac_delim
53500 LIBS!$LIBS$ac_delim
53501 build_alias!$build_alias$ac_delim
53502 host_alias!$host_alias$ac_delim
53503 target_alias!$target_alias$ac_delim
53504 build!$build$ac_delim
53505 build_cpu!$build_cpu$ac_delim
53506 build_vendor!$build_vendor$ac_delim
53507 build_os!$build_os$ac_delim
53508 host!$host$ac_delim
53509 host_cpu!$host_cpu$ac_delim
53510 host_vendor!$host_vendor$ac_delim
53511 host_os!$host_os$ac_delim
53512 target!$target$ac_delim
53513 target_cpu!$target_cpu$ac_delim
53514 target_vendor!$target_vendor$ac_delim
53515 target_os!$target_os$ac_delim
53516 wx_top_builddir!$wx_top_builddir$ac_delim
53518 CFLAGS!$CFLAGS$ac_delim
53519 LDFLAGS!$LDFLAGS$ac_delim
53520 CPPFLAGS!$CPPFLAGS$ac_delim
53521 ac_ct_CC!$ac_ct_CC$ac_delim
53522 EXEEXT!$EXEEXT$ac_delim
53523 OBJEXT!$OBJEXT$ac_delim
53525 GREP!$GREP$ac_delim
53526 EGREP!$EGREP$ac_delim
53528 CXXFLAGS!$CXXFLAGS$ac_delim
53529 ac_ct_CXX!$ac_ct_CXX$ac_delim
53530 RANLIB!$RANLIB$ac_delim
53532 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53533 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53534 INSTALL_DATA!$INSTALL_DATA$ac_delim
53535 STRIP!$STRIP$ac_delim
53536 WINDRES!$WINDRES$ac_delim
53537 DLLTOOL!$DLLTOOL$ac_delim
53538 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53539 LN_S!$LN_S$ac_delim
53540 subdirs!$subdirs$ac_delim
53541 PKG_CONFIG!$PKG_CONFIG$ac_delim
53542 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53543 GTK_LIBS!$GTK_LIBS$ac_delim
53544 GTK_CONFIG!$GTK_CONFIG$ac_delim
53545 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53546 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53547 XMKMF!$XMKMF$ac_delim
53548 X_CFLAGS!$X_CFLAGS$ac_delim
53549 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53550 X_LIBS!$X_LIBS$ac_delim
53551 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53552 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53553 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53554 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53555 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53556 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53557 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53558 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53559 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53561 DEREZ!$DEREZ$ac_delim
53562 SETFILE!$SETFILE$ac_delim
53563 LIBICONV!$LIBICONV$ac_delim
53566 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53568 elif $ac_last_try; then
53569 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53570 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53571 { (exit 1); exit 1; }; }
53573 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53577 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53578 if test -n "$ac_eof"; then
53579 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53580 ac_eof=`expr $ac_eof + 1`
53583 cat >>$CONFIG_STATUS <<_ACEOF
53584 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53585 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53588 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53589 s/^/s,@/; s/!/@,|#_!!_#|/
53592 s/'"$ac_delim"'$/,g/; t
53594 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53595 ' >>$CONFIG_STATUS <conf$$subs.sed
53596 rm -f conf$$subs.sed
53597 cat >>$CONFIG_STATUS <<_ACEOF
53603 for ac_last_try in false false false false false :; do
53604 cat >conf$$subs.sed <<_ACEOF
53605 SDL_CONFIG!$SDL_CONFIG$ac_delim
53606 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53607 SDL_LIBS!$SDL_LIBS$ac_delim
53608 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53609 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53610 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53611 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53612 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53613 HILDON_LIBS!$HILDON_LIBS$ac_delim
53614 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53615 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53616 GST_CFLAGS!$GST_CFLAGS$ac_delim
53617 GST_LIBS!$GST_LIBS$ac_delim
53618 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53619 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53620 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53621 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53622 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53623 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53624 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53625 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53626 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53627 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53628 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53629 VENDOR!$VENDOR$ac_delim
53630 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53631 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53632 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53633 WXUNIV!$WXUNIV$ac_delim
53634 MONOLITHIC!$MONOLITHIC$ac_delim
53635 USE_PLUGINS!$USE_PLUGINS$ac_delim
53636 CXXWARNINGS!$CXXWARNINGS$ac_delim
53637 EXTRALIBS!$EXTRALIBS$ac_delim
53638 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53639 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53640 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53641 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53642 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53643 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53644 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53645 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53646 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53647 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53648 UNICODE!$UNICODE$ac_delim
53649 BUILD!$BUILD$ac_delim
53650 DEBUG_INFO!$DEBUG_INFO$ac_delim
53651 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53652 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53653 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53654 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53655 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53656 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53657 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53658 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53659 SET_MAKE!$SET_MAKE$ac_delim
53660 MAKE_SET!$MAKE_SET$ac_delim
53661 AROPTIONS!$AROPTIONS$ac_delim
53663 INSTALL_DIR!$INSTALL_DIR$ac_delim
53664 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53665 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53666 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53667 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53668 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53669 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53670 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53671 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53672 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53673 SO_SUFFIX!$SO_SUFFIX$ac_delim
53674 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53675 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53676 LIBPREFIX!$LIBPREFIX$ac_delim
53677 LIBEXT!$LIBEXT$ac_delim
53678 DLLPREFIX!$DLLPREFIX$ac_delim
53679 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53680 dlldir!$dlldir$ac_delim
53681 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53682 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53683 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53684 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53685 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53686 PIC_FLAG!$PIC_FLAG$ac_delim
53687 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53688 USE_SOVERSION!$USE_SOVERSION$ac_delim
53689 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53690 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53691 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53692 USE_MACVERSION!$USE_MACVERSION$ac_delim
53693 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53694 SONAME_FLAG!$SONAME_FLAG$ac_delim
53695 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53696 BK_DEPS!$BK_DEPS$ac_delim
53697 GCC_PCH!$GCC_PCH$ac_delim
53698 ICC_PCH!$ICC_PCH$ac_delim
53699 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53700 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53701 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53704 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53706 elif $ac_last_try; then
53707 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53708 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53709 { (exit 1); exit 1; }; }
53711 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53715 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53716 if test -n "$ac_eof"; then
53717 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53718 ac_eof=`expr $ac_eof + 1`
53721 cat >>$CONFIG_STATUS <<_ACEOF
53722 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53723 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53726 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53727 s/^/s,@/; s/!/@,|#_!!_#|/
53730 s/'"$ac_delim"'$/,g/; t
53732 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53733 ' >>$CONFIG_STATUS <conf$$subs.sed
53734 rm -f conf$$subs.sed
53735 cat >>$CONFIG_STATUS <<_ACEOF
53741 for ac_last_try in false false false false false :; do
53742 cat >conf$$subs.sed <<_ACEOF
53743 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53744 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53745 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53746 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53747 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53748 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53749 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53750 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53751 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53752 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53753 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53754 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53755 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53756 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53757 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53758 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53759 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53760 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53761 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53762 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53763 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53764 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53765 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53766 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53767 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53768 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53769 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53770 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53771 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53772 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53774 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53775 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53776 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53777 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53778 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53779 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53780 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53781 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53782 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53783 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53784 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53785 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53786 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53787 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53788 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53789 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53790 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53791 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53792 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53793 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53794 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53795 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53796 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53797 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53798 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53799 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53800 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53802 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53803 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53804 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53805 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53806 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53807 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53808 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53809 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53810 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53811 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53812 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53813 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53814 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53815 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53816 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53817 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53818 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53819 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53820 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53821 COND_SHARED_0!$COND_SHARED_0$ac_delim
53822 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53823 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53824 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53825 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53826 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53827 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53828 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53829 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53830 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53831 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53832 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53833 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53834 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53835 COND_SHARED_1!$COND_SHARED_1$ac_delim
53836 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53837 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53838 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53839 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53842 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53844 elif $ac_last_try; then
53845 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53846 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53847 { (exit 1); exit 1; }; }
53849 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53853 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53854 if test -n "$ac_eof"; then
53855 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53856 ac_eof=`expr $ac_eof + 1`
53859 cat >>$CONFIG_STATUS <<_ACEOF
53860 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53864 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53865 s/^/s,@/; s/!/@,|#_!!_#|/
53868 s/'"$ac_delim"'$/,g/; t
53870 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53871 ' >>$CONFIG_STATUS <conf$$subs.sed
53872 rm -f conf$$subs.sed
53873 cat >>$CONFIG_STATUS <<_ACEOF
53879 for ac_last_try in false false false false false :; do
53880 cat >conf$$subs.sed <<_ACEOF
53881 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53882 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53883 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53884 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53885 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53886 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53887 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53888 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53889 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53890 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53891 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53892 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53893 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53894 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53895 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53896 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53897 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53898 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53899 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53900 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53901 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53902 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53903 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53904 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53905 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53906 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53907 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53908 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53909 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53910 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53911 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53912 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53913 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53914 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53915 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53916 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53917 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53918 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53919 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53920 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53921 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53922 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53923 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53924 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53925 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53926 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53927 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53928 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53929 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53930 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53931 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53932 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53933 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53934 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53935 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53936 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53937 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53938 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53939 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53940 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53941 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53942 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53943 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53944 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53945 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53946 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53947 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53948 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53949 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53950 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53951 SHARED!$SHARED$ac_delim
53952 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53953 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53954 USE_GUI!$USE_GUI$ac_delim
53955 AFMINSTALL!$AFMINSTALL$ac_delim
53956 WIN32INSTALL!$WIN32INSTALL$ac_delim
53957 TOOLKIT!$TOOLKIT$ac_delim
53958 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53959 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53960 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53961 cross_compiling!$cross_compiling$ac_delim
53962 WIDGET_SET!$WIDGET_SET$ac_delim
53963 WX_RELEASE!$WX_RELEASE$ac_delim
53964 WX_VERSION!$WX_VERSION$ac_delim
53965 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53966 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53967 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53968 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53969 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53970 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53971 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53972 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53973 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53974 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53975 EXE_LINKER!$EXE_LINKER$ac_delim
53976 GUIDIST!$GUIDIST$ac_delim
53977 DISTDIR!$DISTDIR$ac_delim
53980 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53982 elif $ac_last_try; then
53983 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53984 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53985 { (exit 1); exit 1; }; }
53987 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53991 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53992 if test -n "$ac_eof"; then
53993 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53994 ac_eof=`expr $ac_eof + 1`
53997 cat >>$CONFIG_STATUS <<_ACEOF
53998 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53999 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54002 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54003 s/^/s,@/; s/!/@,|#_!!_#|/
54006 s/'"$ac_delim"'$/,g/; t
54008 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54009 ' >>$CONFIG_STATUS <conf$$subs.sed
54010 rm -f conf$$subs.sed
54011 cat >>$CONFIG_STATUS <<_ACEOF
54017 for ac_last_try in false false false false false :; do
54018 cat >conf$$subs.sed <<_ACEOF
54019 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54020 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54021 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54022 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54023 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54024 RESCOMP!$RESCOMP$ac_delim
54025 RESFLAGS!$RESFLAGS$ac_delim
54026 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54027 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54028 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54029 LIBWXMACRES!$LIBWXMACRES$ac_delim
54030 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54031 MACSETFILE!$MACSETFILE$ac_delim
54033 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54034 LIBOBJS!$LIBOBJS$ac_delim
54035 LTLIBOBJS!$LTLIBOBJS$ac_delim
54038 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54040 elif $ac_last_try; then
54041 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54042 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54043 { (exit 1); exit 1; }; }
54045 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54049 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54050 if test -n "$ac_eof"; then
54051 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54052 ac_eof=`expr $ac_eof + 1`
54055 cat >>$CONFIG_STATUS <<_ACEOF
54056 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54057 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54060 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54061 s/^/s,@/; s/!/@,|#_!!_#|/
54064 s/'"$ac_delim"'$/,g/; t
54066 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54067 ' >>$CONFIG_STATUS <conf$$subs.sed
54068 rm -f conf$$subs.sed
54069 cat >>$CONFIG_STATUS <<_ACEOF
54076 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54077 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54078 # trailing colons and then remove the whole line if VPATH becomes empty
54079 # (actually we leave an empty line to preserve line numbers).
54080 if test "x$srcdir" = x.; then
54081 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54082 s/:*\$(srcdir):*/:/
54083 s/:*\${srcdir}:*/:/
54085 s/^\([^=]*=[ ]*\):*/\1/
54091 cat >>$CONFIG_STATUS <<\_ACEOF
54092 fi # test -n "$CONFIG_FILES"
54095 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54098 :[FHLC]) ac_mode=$ac_tag; continue;;
54100 case $ac_mode$ac_tag in
54102 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54103 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54104 { (exit 1); exit 1; }; };;
54105 :[FH]-) ac_tag=-:-;;
54106 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54123 -) ac_f="$tmp/stdin";;
54124 *) # Look for the file first in the build tree, then in the source tree
54125 # (if the path is not absolute). The absolute path cannot be DOS-style,
54126 # because $ac_f cannot contain `:'.
54130 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54132 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54133 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54134 { (exit 1); exit 1; }; };;
54136 ac_file_inputs="$ac_file_inputs $ac_f"
54139 # Let's still pretend it is `configure' which instantiates (i.e., don't
54140 # use $as_me), people would be surprised to read:
54141 # /* config.h. Generated by config.status. */
54142 configure_input="Generated from "`IFS=:
54143 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54144 if test x"$ac_file" != x-; then
54145 configure_input="$ac_file. $configure_input"
54146 { echo "$as_me:$LINENO: creating $ac_file" >&5
54147 echo "$as_me: creating $ac_file" >&6;}
54151 *:-:* | *:-) cat >"$tmp/stdin";;
54156 ac_dir=`$as_dirname -- "$ac_file" ||
54157 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54158 X"$ac_file" : 'X\(//\)[^/]' \| \
54159 X"$ac_file" : 'X\(//\)$' \| \
54160 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54166 /^X\(\/\/\)[^/].*/{
54181 -*) as_dir=./$as_dir;;
54183 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54187 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54188 *) as_qdir=$as_dir;;
54190 as_dirs="'$as_qdir' $as_dirs"
54191 as_dir=`$as_dirname -- "$as_dir" ||
54192 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54193 X"$as_dir" : 'X\(//\)[^/]' \| \
54194 X"$as_dir" : 'X\(//\)$' \| \
54195 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54201 /^X\(\/\/\)[^/].*/{
54214 test -d "$as_dir" && break
54216 test -z "$as_dirs" || eval "mkdir $as_dirs"
54217 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54218 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54219 { (exit 1); exit 1; }; }; }
54223 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54225 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54226 # A ".." for each directory in $ac_dir_suffix.
54227 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54228 case $ac_top_builddir_sub in
54229 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54230 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54233 ac_abs_top_builddir=$ac_pwd
54234 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54235 # for backward compatibility:
54236 ac_top_builddir=$ac_top_build_prefix
54239 .) # We are building in place.
54241 ac_top_srcdir=$ac_top_builddir_sub
54242 ac_abs_top_srcdir=$ac_pwd ;;
54243 [\\/]* | ?:[\\/]* ) # Absolute name.
54244 ac_srcdir=$srcdir$ac_dir_suffix;
54245 ac_top_srcdir=$srcdir
54246 ac_abs_top_srcdir=$srcdir ;;
54247 *) # Relative name.
54248 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54249 ac_top_srcdir=$ac_top_build_prefix$srcdir
54250 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54252 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54262 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54263 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54267 cat >>$CONFIG_STATUS <<\_ACEOF
54268 # If the template does not know about datarootdir, expand it.
54269 # FIXME: This hack should be removed a few years after 2.60.
54270 ac_datarootdir_hack=; ac_datarootdir_seen=
54272 case `sed -n '/datarootdir/ {
54281 ' $ac_file_inputs` in
54282 *datarootdir*) ac_datarootdir_seen=yes;;
54283 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54284 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54285 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54287 cat >>$CONFIG_STATUS <<_ACEOF
54288 ac_datarootdir_hack='
54289 s&@datadir@&$datadir&g
54290 s&@docdir@&$docdir&g
54291 s&@infodir@&$infodir&g
54292 s&@localedir@&$localedir&g
54293 s&@mandir@&$mandir&g
54294 s&\\\${datarootdir}&$datarootdir&g' ;;
54298 # Neutralize VPATH when `$srcdir' = `.'.
54299 # Shell code in configure.ac might set extrasub.
54300 # FIXME: do we really want to maintain this feature?
54301 cat >>$CONFIG_STATUS <<_ACEOF
54305 cat >>$CONFIG_STATUS <<\_ACEOF
54307 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54308 s&@configure_input@&$configure_input&;t t
54309 s&@top_builddir@&$ac_top_builddir_sub&;t t
54310 s&@srcdir@&$ac_srcdir&;t t
54311 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54312 s&@top_srcdir@&$ac_top_srcdir&;t t
54313 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54314 s&@builddir@&$ac_builddir&;t t
54315 s&@abs_builddir@&$ac_abs_builddir&;t t
54316 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54317 s&@INSTALL@&$ac_INSTALL&;t t
54318 $ac_datarootdir_hack
54319 " $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
54321 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54322 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54323 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54324 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54325 which seems to be undefined. Please make sure it is defined." >&5
54326 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54327 which seems to be undefined. Please make sure it is defined." >&2;}
54331 -) cat "$tmp/out"; rm -f "$tmp/out";;
54332 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54341 # Transform confdefs.h into a sed script `conftest.defines', that
54342 # substitutes the proper values into config.h.in to produce config.h.
54343 rm -f conftest.defines conftest.tail
54344 # First, append a space to every undef/define line, to ease matching.
54345 echo 's/$/ /' >conftest.defines
54346 # Then, protect against being on the right side of a sed subst, or in
54347 # an unquoted here document, in config.status. If some macros were
54348 # called several times there might be several #defines for the same
54349 # symbol, which is useless. But do not sort them, since the last
54350 # AC_DEFINE must be honored.
54351 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54352 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54353 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54354 # PARAMS is the parameter list in the macro definition--in most cases, it's
54355 # just an empty string.
54356 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54357 ac_dB='\\)[ (].*,\\1define\\2'
54365 s/^[ ]*#[ ]*define[ ][ ]*//
54370 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54371 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54372 ' >>conftest.defines
54374 # Remove the space that was appended to ease matching.
54375 # Then replace #undef with comments. This is necessary, for
54376 # example, in the case of _POSIX_SOURCE, which is predefined and required
54377 # on some systems where configure will not decide to define it.
54378 # (The regexp can be short, since the line contains either #define or #undef.)
54380 s,^[ #]*u.*,/* & */,' >>conftest.defines
54382 # Break up conftest.defines:
54383 ac_max_sed_lines=50
54385 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54386 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54387 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54389 ac_in='$ac_file_inputs'
54390 ac_out='"$tmp/out1"'
54391 ac_nxt='"$tmp/out2"'
54395 # Write a here document:
54396 cat >>$CONFIG_STATUS <<_ACEOF
54397 # First, check the format of the line:
54398 cat >"\$tmp/defines.sed" <<\\CEOF
54399 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54400 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54404 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54406 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54407 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54408 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54409 grep . conftest.tail >/dev/null || break
54410 rm -f conftest.defines
54411 mv conftest.tail conftest.defines
54413 rm -f conftest.defines conftest.tail
54415 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54416 cat >>$CONFIG_STATUS <<\_ACEOF
54417 if test x"$ac_file" != x-; then
54418 echo "/* $configure_input */" >"$tmp/config.h"
54419 cat "$ac_result" >>"$tmp/config.h"
54420 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54421 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54422 echo "$as_me: $ac_file is unchanged" >&6;}
54425 mv "$tmp/config.h" $ac_file
54428 echo "/* $configure_input */"
54434 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54435 echo "$as_me: executing $ac_file commands" >&6;}
54440 case $ac_file$ac_mode in
54442 mkdir -p $outdir &&
54443 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54445 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54446 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54447 "wx-config":C) rm -f wx-config
54448 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54455 { (exit 0); exit 0; }
54457 chmod +x $CONFIG_STATUS
54458 ac_clean_files=$ac_clean_files_save
54461 # configure is writing to config.log, and then calls config.status.
54462 # config.status does its own redirection, appending to config.log.
54463 # Unfortunately, on DOS this fails, as config.log is still kept open
54464 # by configure, so config.status won't be able to write to it; its
54465 # output is simply discarded. So we exec the FD to /dev/null,
54466 # effectively closing config.log, so it can be properly (re)opened and
54467 # appended to by config.status. When coming back to configure, we
54468 # need to make the FD available again.
54469 if test "$no_create" != yes; then
54471 ac_config_status_args=
54472 test "$silent" = yes &&
54473 ac_config_status_args="$ac_config_status_args --quiet"
54475 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54477 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54478 # would make configure fail if this is the last instruction.
54479 $ac_cs_success || { (exit 1); exit 1; }
54483 # CONFIG_SUBDIRS section.
54485 if test "$no_recursion" != yes; then
54487 # Remove --cache-file and --srcdir arguments so they do not pile up.
54488 ac_sub_configure_args=
54490 eval "set x $ac_configure_args"
54494 if test -n "$ac_prev"; then
54499 -cache-file | --cache-file | --cache-fil | --cache-fi \
54500 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54501 ac_prev=cache_file ;;
54502 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54503 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54506 --config-cache | -C)
54508 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54510 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54512 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54514 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54518 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54520 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54524 # Always prepend --prefix to ensure using the same prefix
54525 # in subdir configurations.
54526 ac_arg="--prefix=$prefix"
54528 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54530 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54533 if test "$silent" = yes; then
54534 ac_sub_configure_args="--silent $ac_sub_configure_args"
54538 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54540 # Do not complain, so a configure script can configure whichever
54541 # parts of a large source tree are present.
54542 test -d "$srcdir/$ac_dir" || continue
54544 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54545 echo "$as_me:$LINENO: $ac_msg" >&5
54549 -*) as_dir=./$as_dir;;
54551 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54555 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54556 *) as_qdir=$as_dir;;
54558 as_dirs="'$as_qdir' $as_dirs"
54559 as_dir=`$as_dirname -- "$as_dir" ||
54560 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54561 X"$as_dir" : 'X\(//\)[^/]' \| \
54562 X"$as_dir" : 'X\(//\)$' \| \
54563 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54569 /^X\(\/\/\)[^/].*/{
54582 test -d "$as_dir" && break
54584 test -z "$as_dirs" || eval "mkdir $as_dirs"
54585 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54586 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54587 { (exit 1); exit 1; }; }; }
54591 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54593 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54594 # A ".." for each directory in $ac_dir_suffix.
54595 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54596 case $ac_top_builddir_sub in
54597 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54598 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54601 ac_abs_top_builddir=$ac_pwd
54602 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54603 # for backward compatibility:
54604 ac_top_builddir=$ac_top_build_prefix
54607 .) # We are building in place.
54609 ac_top_srcdir=$ac_top_builddir_sub
54610 ac_abs_top_srcdir=$ac_pwd ;;
54611 [\\/]* | ?:[\\/]* ) # Absolute name.
54612 ac_srcdir=$srcdir$ac_dir_suffix;
54613 ac_top_srcdir=$srcdir
54614 ac_abs_top_srcdir=$srcdir ;;
54615 *) # Relative name.
54616 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54617 ac_top_srcdir=$ac_top_build_prefix$srcdir
54618 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54620 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54625 # Check for guested configure; otherwise get Cygnus style configure.
54626 if test -f "$ac_srcdir/configure.gnu"; then
54627 ac_sub_configure=$ac_srcdir/configure.gnu
54628 elif test -f "$ac_srcdir/configure"; then
54629 ac_sub_configure=$ac_srcdir/configure
54630 elif test -f "$ac_srcdir/configure.in"; then
54631 # This should be Cygnus configure.
54632 ac_sub_configure=$ac_aux_dir/configure
54634 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54635 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54639 # The recursion is here.
54640 if test -n "$ac_sub_configure"; then
54641 # Make the cache file name correct relative to the subdirectory.
54642 case $cache_file in
54643 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54644 *) # Relative name.
54645 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54648 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54649 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54650 # The eval makes quoting arguments work.
54651 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54652 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54653 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54654 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54655 { (exit 1); exit 1; }; }
54664 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54666 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54667 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54669 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54670 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54671 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54672 if test "$wxUSE_UNICODE" = "yes"; then
54673 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54674 echo " (using UTF-8)"
54676 echo " (using wchar_t)"
54682 echo " What level of wxWidgets compatibility should be enabled?"
54683 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54684 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54686 echo " Which libraries should wxWidgets use?"
54687 echo " jpeg ${wxUSE_LIBJPEG-none}"
54688 echo " png ${wxUSE_LIBPNG-none}"
54689 echo " regex ${wxUSE_REGEX}"
54690 echo " tiff ${wxUSE_LIBTIFF-none}"
54691 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54692 echo " xpm ${wxUSE_LIBXPM-none}"
54694 echo " zlib ${wxUSE_ZLIB}"
54695 echo " odbc ${wxUSE_ODBC}"
54696 echo " expat ${wxUSE_EXPAT}"
54697 echo " libmspack ${wxUSE_LIBMSPACK}"
54698 echo " sdl ${wxUSE_LIBSDL}"