2 # From configure.in Id: configure.in 47747 2007-07-27 14:57:31Z 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 create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use help subsystem
1735 --enable-mshtmlhelp use MS HTML Help (win32)
1736 --enable-html use wxHTML sub-library
1737 --enable-htmlhelp use wxHTML-based help
1738 --enable-xrc use XRC resources sub-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl (Mac)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context 2D drawing API
1751 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile (Win32 only)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images (GIF file format)
1843 --enable-pcx use pcx images (PCX file format)
1844 --enable-tga use tga images (TGA file format)
1845 --enable-iff use iff images (IFF file format)
1846 --enable-pnm use pnm images (PNM file format)
1847 --enable-xpm use xpm images (XPM file format)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects (Win32 only)
1850 --enable-iniconf use wxIniConfig (Win32 only)
1851 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1852 --enable-ownerdrawn use owner drawn controls (Win32 only)
1853 --enable-regkey use wxRegKey class (Win32 only)
1854 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1855 --enable-wxdib use wxDIB class (Win32 only)
1856 --disable-largefile omit support for large files
1857 --disable-gtktest do not try to compile and run a test GTK+ program
1858 --disable-gtktest Do not try to compile and run a test GTK program
1859 --disable-sdltest Do not try to compile and run a test SDL program
1860 --enable-omf use OMF object format (OS/2)
1861 --disable-dependency-tracking
1862 don't use dependency tracking even if the compiler
1864 --disable-precomp-headers
1865 don't use precompiled headers even if compiler can
1868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1870 --without-subdirs don't generate makefiles for samples/demos/...
1871 --with-flavour=NAME specify a name to identify this build
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1874 --with-motif use Motif/Lesstif
1875 --with-mac use Mac OS X
1876 --with-cocoa use Cocoa
1877 --with-wine use Wine
1878 --with-msw use MS-Windows
1879 --with-pm use OS/2 Presentation Manager
1880 --with-mgl use SciTech MGL
1881 --with-directfb use DirectFB
1882 --with-microwin use MicroWindows
1884 --with-libpng use libpng (PNG image format)
1885 --with-libjpeg use libjpeg (JPEG file format)
1886 --with-libtiff use libtiff (TIFF file format)
1887 --with-libxpm use libxpm (XPM file format)
1888 --with-libmspack use libmspack (CHM help files loading)
1889 --without-gnomeprint don't use GNOME printing libraries
1890 --with-gnomevfs use GNOME VFS for associating MIME types
1891 --with-hildon use Hildon framework for Nokia 770
1892 --with-opengl use OpenGL (or Mesa)
1893 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1894 --with-sdl use SDL for audio on Unix
1895 --with-regex enable support for wxRegEx class
1896 --with-zlib use zlib for LZW compression
1897 --with-odbc use the IODBC and wxODBC classes
1898 --with-expat enable XML support using expat parser
1899 --with-macosx-sdk=PATH use an OS X SDK at PATH
1900 --with-macosx-version-min=VER build binaries which require at least this OS X version
1901 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1902 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1903 --with-x use the X Window System
1904 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1905 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1906 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1907 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1908 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1910 Some influential environment variables:
1911 CC C compiler command
1912 CFLAGS C compiler flags
1913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1914 nonstandard directory <lib dir>
1915 LIBS libraries to pass to the linker, e.g. -l<library>
1916 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1917 you have headers in a nonstandard directory <include dir>
1919 CXX C++ compiler command
1920 CXXFLAGS C++ compiler flags
1921 PKG_CONFIG path to pkg-config utility
1923 C compiler flags for DIRECTFB, overriding pkg-config
1925 linker flags for DIRECTFB, overriding pkg-config
1926 XMKMF Path to xmkmf, Makefile generator for X Window System
1928 C compiler flags for PANGOX, overriding pkg-config
1929 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1931 C compiler flags for PANGOFT2, overriding pkg-config
1933 linker flags for PANGOFT2, overriding pkg-config
1935 C compiler flags for PANGOXFT, overriding pkg-config
1937 linker flags for PANGOXFT, overriding pkg-config
1938 LIBGNOMEPRINTUI_CFLAGS
1939 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1940 LIBGNOMEPRINTUI_LIBS
1941 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1943 C compiler flags for GNOMEVFS, overriding pkg-config
1945 linker flags for GNOMEVFS, overriding pkg-config
1947 C compiler flags for HILDON, overriding pkg-config
1948 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1950 C compiler flags for CAIRO, overriding pkg-config
1951 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1952 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1953 GST_LIBS linker flags for GST, overriding pkg-config
1955 Use these variables to override the choices made by `configure' or to help
1956 it to find libraries and programs with nonstandard names/locations.
1958 Report bugs to <wx-dev@lists.wxwidgets.org>.
1963 if test "$ac_init_help" = "recursive"; then
1964 # If there are subdirs, report their specific --help.
1965 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1966 test -d "$ac_dir" || continue
1970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1972 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1973 # A ".." for each directory in $ac_dir_suffix.
1974 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1975 case $ac_top_builddir_sub in
1976 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1977 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1980 ac_abs_top_builddir=$ac_pwd
1981 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1982 # for backward compatibility:
1983 ac_top_builddir=$ac_top_build_prefix
1986 .) # We are building in place.
1988 ac_top_srcdir=$ac_top_builddir_sub
1989 ac_abs_top_srcdir=$ac_pwd ;;
1990 [\\/]* | ?:[\\/]* ) # Absolute name.
1991 ac_srcdir=$srcdir$ac_dir_suffix;
1992 ac_top_srcdir=$srcdir
1993 ac_abs_top_srcdir=$srcdir ;;
1995 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1996 ac_top_srcdir=$ac_top_build_prefix$srcdir
1997 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2001 cd "$ac_dir" || { ac_status=$?; continue; }
2002 # Check for guested configure.
2003 if test -f "$ac_srcdir/configure.gnu"; then
2005 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2006 elif test -f "$ac_srcdir/configure"; then
2008 $SHELL "$ac_srcdir/configure" --help=recursive
2010 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2012 cd "$ac_pwd" || { ac_status=$?; break; }
2016 test -n "$ac_init_help" && exit $ac_status
2017 if $ac_init_version; then
2019 wxWidgets configure 2.9.0
2020 generated by GNU Autoconf 2.61
2022 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2023 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2024 This configure script is free software; the Free Software Foundation
2025 gives unlimited permission to copy, distribute and modify it.
2029 cat >config.log <<_ACEOF
2030 This file contains any messages produced by compilers while
2031 running configure, to aid debugging if configure makes a mistake.
2033 It was created by wxWidgets $as_me 2.9.0, which was
2034 generated by GNU Autoconf 2.61. Invocation command line was
2046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2058 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069 test -z "$as_dir" && as_dir=.
2070 echo "PATH: $as_dir"
2086 # Keep a trace of the command line.
2087 # Strip out --no-create and --no-recursion so they do not pile up.
2088 # Strip out --silent because we don't want to record it for future runs.
2089 # Also quote any args containing shell meta-characters.
2090 # Make two passes to allow for proper duplicate-argument suppression.
2094 ac_must_keep_next=false
2100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2102 | -silent | --silent | --silen | --sile | --sil)
2105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2111 if test $ac_must_keep_next = true; then
2112 ac_must_keep_next=false # Got value, back to normal.
2115 *=* | --config-cache | -C | -disable-* | --disable-* \
2116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2118 | -with-* | --with-* | -without-* | --without-* | --x)
2119 case "$ac_configure_args0 " in
2120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2123 -* ) ac_must_keep_next=true ;;
2126 ac_configure_args="$ac_configure_args '$ac_arg'"
2131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2134 # When interrupted or exit'd, cleanup temporary files, and complete
2135 # config.log. We remove comments because anyway the quotes in there
2136 # would cause problems or look ugly.
2137 # WARNING: Use '\'' to represent an apostrophe within the trap.
2138 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2139 trap 'exit_status=$?
2140 # Save into config.log some information that might help in debugging.
2145 ## ---------------- ##
2146 ## Cache variables. ##
2147 ## ---------------- ##
2150 # The following way of writing the cache mishandles newlines in values,
2152 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2153 eval ac_val=\$$ac_var
2157 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2158 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2161 _ | IFS | as_nl) ;; #(
2162 *) $as_unset $ac_var ;;
2167 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2168 *${as_nl}ac_space=\ *)
2170 "s/'\''/'\''\\\\'\'''\''/g;
2171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2182 ## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##
2187 for ac_var in $ac_subst_vars
2189 eval ac_val=\$$ac_var
2191 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2193 echo "$ac_var='\''$ac_val'\''"
2197 if test -n "$ac_subst_files"; then
2199 ## ------------------- ##
2200 ## File substitutions. ##
2201 ## ------------------- ##
2204 for ac_var in $ac_subst_files
2206 eval ac_val=\$$ac_var
2208 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2210 echo "$ac_var='\''$ac_val'\''"
2215 if test -s confdefs.h; then
2225 test "$ac_signal" != 0 &&
2226 echo "$as_me: caught signal $ac_signal"
2227 echo "$as_me: exit $exit_status"
2229 rm -f core *.core core.conftest.* &&
2230 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2233 for ac_signal in 1 2 13 15; do
2234 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2238 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2239 rm -f -r conftest* confdefs.h
2241 # Predefined preprocessor variables.
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_NAME "$PACKAGE_NAME"
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_STRING "$PACKAGE_STRING"
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer explicitly selected file to automatically selected ones.
2270 if test -n "$CONFIG_SITE"; then
2271 set x "$CONFIG_SITE"
2272 elif test "x$prefix" != xNONE; then
2273 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2275 set x "$ac_default_prefix/share/config.site" \
2276 "$ac_default_prefix/etc/config.site"
2281 if test -r "$ac_site_file"; then
2282 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2283 echo "$as_me: loading site script $ac_site_file" >&6;}
2284 sed 's/^/| /' "$ac_site_file" >&5
2289 if test -r "$cache_file"; then
2290 # Some versions of bash will fail to source /dev/null (special
2291 # files actually), so we avoid doing that.
2292 if test -f "$cache_file"; then
2293 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2294 echo "$as_me: loading cache $cache_file" >&6;}
2296 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297 *) . "./$cache_file";;
2301 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2302 echo "$as_me: creating cache $cache_file" >&6;}
2306 # Check that the precious variables saved in the cache have kept the same
2308 ac_cache_corrupted=false
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311 eval ac_new_set=\$ac_env_${ac_var}_set
2312 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313 eval ac_new_val=\$ac_env_${ac_var}_value
2314 case $ac_old_set,$ac_new_set in
2316 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2317 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2320 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2321 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2325 if test "x$ac_old_val" != "x$ac_new_val"; then
2326 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2327 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2328 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2329 echo "$as_me: former value: $ac_old_val" >&2;}
2330 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2331 echo "$as_me: current value: $ac_new_val" >&2;}
2332 ac_cache_corrupted=:
2335 # Pass precious variables to config.status.
2336 if test "$ac_new_set" = set; then
2338 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339 *) ac_arg=$ac_var=$ac_new_val ;;
2341 case " $ac_configure_args " in
2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2343 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2347 if $ac_cache_corrupted; then
2348 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2349 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2350 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2351 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2352 { (exit 1); exit 1; }; }
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2390 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2391 if test -f "$ac_dir/install-sh"; then
2393 ac_install_sh="$ac_aux_dir/install-sh -c"
2395 elif test -f "$ac_dir/install.sh"; then
2397 ac_install_sh="$ac_aux_dir/install.sh -c"
2399 elif test -f "$ac_dir/shtool"; then
2401 ac_install_sh="$ac_aux_dir/shtool install -c"
2405 if test -z "$ac_aux_dir"; then
2406 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2407 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2408 { (exit 1); exit 1; }; }
2411 # These three variables are undocumented and unsupported,
2412 # and are intended to be withdrawn in a future Autoconf release.
2413 # They can cause serious problems if a builder's source tree is in a directory
2414 # whose full name contains unusual characters.
2415 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2416 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2417 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2420 # Make sure we can run config.sub.
2421 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2422 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2423 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2424 { (exit 1); exit 1; }; }
2426 { echo "$as_me:$LINENO: checking build system type" >&5
2427 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2428 if test "${ac_cv_build+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 ac_build_alias=$build_alias
2432 test "x$ac_build_alias" = x &&
2433 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2434 test "x$ac_build_alias" = x &&
2435 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2436 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2437 { (exit 1); exit 1; }; }
2438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2439 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2441 { (exit 1); exit 1; }; }
2444 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2445 echo "${ECHO_T}$ac_cv_build" >&6; }
2446 case $ac_cv_build in
2448 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2449 echo "$as_me: error: invalid value of canonical build" >&2;}
2450 { (exit 1); exit 1; }; };;
2453 ac_save_IFS=$IFS; IFS='-'
2459 # Remember, the first character of IFS is used to create $*,
2460 # except with old shells:
2463 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2466 { echo "$as_me:$LINENO: checking host system type" >&5
2467 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2468 if test "${ac_cv_host+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 if test "x$host_alias" = x; then
2472 ac_cv_host=$ac_cv_build
2474 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2481 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2482 echo "${ECHO_T}$ac_cv_host" >&6; }
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2486 echo "$as_me: error: invalid value of canonical host" >&2;}
2487 { (exit 1); exit 1; }; };;
2490 ac_save_IFS=$IFS; IFS='-'
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2503 { echo "$as_me:$LINENO: checking target system type" >&5
2504 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_target+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 if test "x$target_alias" = x; then
2509 ac_cv_target=$ac_cv_host
2511 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2518 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2519 echo "${ECHO_T}$ac_cv_target" >&6; }
2520 case $ac_cv_target in
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2523 echo "$as_me: error: invalid value of canonical target" >&2;}
2524 { (exit 1); exit 1; }; };;
2526 target=$ac_cv_target
2527 ac_save_IFS=$IFS; IFS='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2540 # The aliases save the names the user supplied, while $host etc.
2541 # will get canonicalized.
2542 test -n "$target_alias" &&
2543 test "$program_prefix$program_suffix$program_transform_name" = \
2545 program_prefix=${target_alias}-
2549 wx_major_version_number=2
2550 wx_minor_version_number=9
2552 wx_subrelease_number=0
2554 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2555 WX_VERSION=$WX_RELEASE.$wx_release_number
2556 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2558 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2561 wx_top_builddir="`pwd`"
2574 USE_BSD= USE_DARWIN= USE_FREEBSD=
2580 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2588 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2590 DEFAULT_wxUSE_COCOA=0
2594 DEFAULT_wxUSE_MICROWIN=0
2595 DEFAULT_wxUSE_MOTIF=0
2601 DEFAULT_DEFAULT_wxUSE_COCOA=0
2602 DEFAULT_DEFAULT_wxUSE_GTK=0
2603 DEFAULT_DEFAULT_wxUSE_MAC=0
2604 DEFAULT_DEFAULT_wxUSE_MGL=0
2605 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2606 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2607 DEFAULT_DEFAULT_wxUSE_MSW=0
2608 DEFAULT_DEFAULT_wxUSE_PM=0
2609 DEFAULT_DEFAULT_wxUSE_X11=0
2610 DEFAULT_DEFAULT_wxUSE_DFB=0
2615 SAMPLES_RPATH_POSTLINK=
2617 DEFAULT_STD_FLAG=yes
2622 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2625 cat >>confdefs.h <<\_ACEOF
2630 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2634 cat >>confdefs.h <<\_ACEOF
2639 if test "x$TMP" = "xalpha"; then
2641 cat >>confdefs.h <<\_ACEOF
2646 DEFAULT_DEFAULT_wxUSE_GTK=1
2648 *-*-gnu* | *-*-k*bsd*-gnu )
2651 if test "x$TMP" = "xalpha"; then
2653 cat >>confdefs.h <<\_ACEOF
2658 DEFAULT_DEFAULT_wxUSE_GTK=1
2660 *-*-irix5* | *-*-irix6* )
2663 cat >>confdefs.h <<\_ACEOF
2667 cat >>confdefs.h <<\_ACEOF
2671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2677 cat >>confdefs.h <<\_ACEOF
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SOLARIS__ 1
2685 cat >>confdefs.h <<\_ACEOF
2689 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2690 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2696 cat >>confdefs.h <<\_ACEOF
2700 cat >>confdefs.h <<\_ACEOF
2704 cat >>confdefs.h <<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __FREEBSD__ 1
2717 cat >>confdefs.h <<\_ACEOF
2721 DEFAULT_DEFAULT_wxUSE_GTK=1
2723 *-*-openbsd*|*-*-mirbsd*)
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __OPENBSD__ 1
2730 cat >>confdefs.h <<\_ACEOF
2734 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __NETBSD__ 1
2743 cat >>confdefs.h <<\_ACEOF
2747 DEFAULT_DEFAULT_wxUSE_GTK=1
2748 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2750 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2755 cat >>confdefs.h <<\_ACEOF
2759 cat >>confdefs.h <<\_ACEOF
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2769 cat >>confdefs.h <<\_ACEOF
2773 cat >>confdefs.h <<\_ACEOF
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 cat >>confdefs.h <<\_ACEOF
2786 cat >>confdefs.h <<\_ACEOF
2790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2797 cat >>confdefs.h <<\_ACEOF
2801 cat >>confdefs.h <<\_ACEOF
2805 cat >>confdefs.h <<\_ACEOF
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __UNIXWARE__ 1
2822 *-*-cygwin* | *-*-mingw32* )
2825 DEFAULT_DEFAULT_wxUSE_MSW=1
2831 cat >>confdefs.h <<\_ACEOF
2836 DEFAULT_DEFAULT_wxUSE_MGL=1
2839 *-pc-os2_emx | *-pc-os2-emx )
2840 cat >>confdefs.h <<\_ACEOF
2845 cat >>confdefs.h <<\_ACEOF
2850 DEFAULT_DEFAULT_wxUSE_PM=1
2852 LDFLAGS="$LDFLAGS -Zcrtdll"
2853 ac_executable_extensions=".exe"
2854 export ac_executable_extensions
2858 for ac_dir in $PATH; do
2860 if test -z "$ac_TEMP_PATH"; then
2861 ac_TEMP_PATH="$ac_dir"
2863 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2866 export PATH="$ac_TEMP_PATH"
2875 cat >>confdefs.h <<\_ACEOF
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __DARWIN__ 1
2883 cat >>confdefs.h <<\_ACEOF
2884 #define TARGET_CARBON 1
2887 DEFAULT_DEFAULT_wxUSE_MAC=1
2890 powerpc-apple-macos* )
2892 ac_cv_c_bigendian=yes
2894 DEFAULT_DEFAULT_wxUSE_MAC=1
2900 cat >>confdefs.h <<\_ACEOF
2907 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2908 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2909 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2910 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2912 DEFAULT_DEFAULT_wxUSE_X11=1
2913 DEFAULT_wxUSE_SHARED=no
2919 wx_arg_cache_file="configarg.cache"
2920 echo "loading argument cache $wx_arg_cache_file"
2921 rm -f ${wx_arg_cache_file}.tmp
2922 touch ${wx_arg_cache_file}.tmp
2923 touch ${wx_arg_cache_file}
2926 DEFAULT_wxUSE_ALL_FEATURES=yes
2928 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2929 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2931 DEFAULT_wxUSE_DMALLOC=no
2932 DEFAULT_wxUSE_LIBGNOMEVFS=no
2933 DEFAULT_wxUSE_LIBHILDON=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_ODBC=no
2937 DEFAULT_wxUSE_OPENGL=no
2939 DEFAULT_wxUSE_ACCESSIBILITY=no
2940 DEFAULT_wxUSE_DATAVIEWCTRL=no
2941 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2942 DEFAULT_wxUSE_MEDIACTRL=no
2943 DEFAULT_wxUSE_TAB_DIALOG=no
2945 DEFAULT_wxUSE_UNICODE_UTF8=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2950 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2952 DEFAULT_wxUSE_GTK2=yes
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2957 for toolkit in `echo $ALL_TOOLKITS`; do
2958 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2959 if test "x$LINE" != "x" ; then
2960 has_toolkit_in_cache=1
2961 eval "DEFAULT_$LINE"
2962 eval "CACHE_$toolkit=1"
2964 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2965 if test "x$LINE" != "x" ; then
2966 eval "DEFAULT_$LINE"
2975 enablestring=disable
2977 if test -z "$defaultval"; then
2978 if test x"$enablestring" = xdisable; then
2985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2986 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2987 # Check whether --enable-gui was given.
2988 if test "${enable_gui+set}" = set; then
2989 enableval=$enable_gui;
2990 if test "$enableval" = yes; then
2991 wx_cv_use_gui='wxUSE_GUI=yes'
2993 wx_cv_use_gui='wxUSE_GUI=no'
3000 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3001 if test "x$LINE" != x ; then
3002 eval "DEFAULT_$LINE"
3005 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3010 eval "$wx_cv_use_gui"
3011 if test "x$cache" = xyes; then
3012 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3015 if test x"$enablestring" = xdisable; then
3016 if test $wxUSE_GUI = yes; then
3025 { echo "$as_me:$LINENO: result: $result" >&5
3026 echo "${ECHO_T}$result" >&6; }
3031 if test -z "$defaultval"; then
3032 if test x"$enablestring" = xdisable; then
3039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3040 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3041 # Check whether --enable-monolithic was given.
3042 if test "${enable_monolithic+set}" = set; then
3043 enableval=$enable_monolithic;
3044 if test "$enableval" = yes; then
3045 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3054 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3055 if test "x$LINE" != x ; then
3056 eval "DEFAULT_$LINE"
3059 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3064 eval "$wx_cv_use_monolithic"
3065 if test "x$cache" = xyes; then
3066 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3069 if test x"$enablestring" = xdisable; then
3070 if test $wxUSE_MONOLITHIC = yes; then
3076 result=$wxUSE_MONOLITHIC
3079 { echo "$as_me:$LINENO: result: $result" >&5
3080 echo "${ECHO_T}$result" >&6; }
3085 if test -z "$defaultval"; then
3086 if test x"$enablestring" = xdisable; then
3093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3094 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3095 # Check whether --enable-plugins was given.
3096 if test "${enable_plugins+set}" = set; then
3097 enableval=$enable_plugins;
3098 if test "$enableval" = yes; then
3099 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3101 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3108 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3109 if test "x$LINE" != x ; then
3110 eval "DEFAULT_$LINE"
3113 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3118 eval "$wx_cv_use_plugins"
3119 if test "x$cache" = xyes; then
3120 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3123 if test x"$enablestring" = xdisable; then
3124 if test $wxUSE_PLUGINS = yes; then
3130 result=$wxUSE_PLUGINS
3133 { echo "$as_me:$LINENO: result: $result" >&5
3134 echo "${ECHO_T}$result" >&6; }
3138 defaultval=$wxUSE_ALL_FEATURES
3139 if test -z "$defaultval"; then
3140 if test x"$withstring" = xwithout; then
3146 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3147 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3149 # Check whether --with-subdirs was given.
3150 if test "${with_subdirs+set}" = set; then
3151 withval=$with_subdirs;
3152 if test "$withval" = yes; then
3153 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3155 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3162 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3163 if test "x$LINE" != x ; then
3164 eval "DEFAULT_$LINE"
3167 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3172 eval "$wx_cv_use_subdirs"
3173 if test "x$cache" = xyes; then
3174 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3177 if test x"$withstring" = xwithout; then
3178 if test $wxWITH_SUBDIRS = yes; then
3184 result=$wxWITH_SUBDIRS
3187 { echo "$as_me:$LINENO: result: $result" >&5
3188 echo "${ECHO_T}$result" >&6; }
3191 # Check whether --with-flavour was given.
3192 if test "${with_flavour+set}" = set; then
3193 withval=$with_flavour; WX_FLAVOUR="$withval"
3199 if test -z "$defaultval"; then
3200 if test x"$enablestring" = xdisable; then
3207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3208 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3209 # Check whether --enable-official_build was given.
3210 if test "${enable_official_build+set}" = set; then
3211 enableval=$enable_official_build;
3212 if test "$enableval" = yes; then
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3215 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3222 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x ; then
3224 eval "DEFAULT_$LINE"
3227 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3232 eval "$wx_cv_use_official_build"
3233 if test "x$cache" = xyes; then
3234 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3237 if test x"$enablestring" = xdisable; then
3238 if test $wxUSE_OFFICIAL_BUILD = yes; then
3244 result=$wxUSE_OFFICIAL_BUILD
3247 { echo "$as_me:$LINENO: result: $result" >&5
3248 echo "${ECHO_T}$result" >&6; }
3250 # Check whether --enable-vendor was given.
3251 if test "${enable_vendor+set}" = set; then
3252 enableval=$enable_vendor; VENDOR="$enableval"
3255 if test "x$VENDOR" = "x"; then
3260 enablestring=disable
3262 if test -z "$defaultval"; then
3263 if test x"$enablestring" = xdisable; then
3270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3271 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3272 # Check whether --enable-all-features was given.
3273 if test "${enable_all_features+set}" = set; then
3274 enableval=$enable_all_features;
3275 if test "$enableval" = yes; then
3276 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3278 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3285 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x ; then
3287 eval "DEFAULT_$LINE"
3290 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3295 eval "$wx_cv_use_all_features"
3296 if test "x$cache" = xyes; then
3297 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3300 if test x"$enablestring" = xdisable; then
3301 if test $wxUSE_ALL_FEATURES = yes; then
3307 result=$wxUSE_ALL_FEATURES
3310 { echo "$as_me:$LINENO: result: $result" >&5
3311 echo "${ECHO_T}$result" >&6; }
3315 if test "$wxUSE_GUI" = "yes"; then
3320 if test -z "$defaultval"; then
3321 if test x"$enablestring" = xdisable; then
3328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3329 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3330 # Check whether --enable-universal was given.
3331 if test "${enable_universal+set}" = set; then
3332 enableval=$enable_universal;
3333 if test "$enableval" = yes; then
3334 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3336 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3343 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3344 if test "x$LINE" != x ; then
3345 eval "DEFAULT_$LINE"
3348 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3353 eval "$wx_cv_use_universal"
3354 if test "x$cache" = xyes; then
3355 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3358 if test x"$enablestring" = xdisable; then
3359 if test $wxUSE_UNIVERSAL = yes; then
3365 result=$wxUSE_UNIVERSAL
3368 { echo "$as_me:$LINENO: result: $result" >&5
3369 echo "${ECHO_T}$result" >&6; }
3371 if test "$wxUSE_UNIVERSAL" = "yes"; then
3373 # Check whether --with-themes was given.
3374 if test "${with_themes+set}" = set; then
3375 withval=$with_themes; wxUNIV_THEMES="$withval"
3381 # Check whether --with-gtk was given.
3382 if test "${with_gtk+set}" = set; then
3383 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3387 # Check whether --with-motif was given.
3388 if test "${with_motif+set}" = set; then
3389 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3393 # Check whether --with-mac was given.
3394 if test "${with_mac+set}" = set; then
3395 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3399 # Check whether --with-cocoa was given.
3400 if test "${with_cocoa+set}" = set; then
3401 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3405 # Check whether --with-wine was given.
3406 if test "${with_wine+set}" = set; then
3407 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3411 # Check whether --with-msw was given.
3412 if test "${with_msw+set}" = set; then
3413 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3417 # Check whether --with-pm was given.
3418 if test "${with_pm+set}" = set; then
3419 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3423 # Check whether --with-mgl was given.
3424 if test "${with_mgl+set}" = set; then
3425 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3429 # Check whether --with-directfb was given.
3430 if test "${with_directfb+set}" = set; then
3431 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3435 # Check whether --with-microwin was given.
3436 if test "${with_microwin+set}" = set; then
3437 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3441 # Check whether --with-x11 was given.
3442 if test "${with_x11+set}" = set; then
3443 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3449 if test -z "$defaultval"; then
3450 if test x"$enablestring" = xdisable; then
3457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3458 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3459 # Check whether --enable-nanox was given.
3460 if test "${enable_nanox+set}" = set; then
3461 enableval=$enable_nanox;
3462 if test "$enableval" = yes; then
3463 wx_cv_use_nanox='wxUSE_NANOX=yes'
3465 wx_cv_use_nanox='wxUSE_NANOX=no'
3472 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3473 if test "x$LINE" != x ; then
3474 eval "DEFAULT_$LINE"
3477 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3482 eval "$wx_cv_use_nanox"
3483 if test "x$cache" = xyes; then
3484 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3487 if test x"$enablestring" = xdisable; then
3488 if test $wxUSE_NANOX = yes; then
3497 { echo "$as_me:$LINENO: result: $result" >&5
3498 echo "${ECHO_T}$result" >&6; }
3501 # Check whether --enable-gtk2 was given.
3502 if test "${enable_gtk2+set}" = set; then
3503 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3509 if test -z "$defaultval"; then
3510 if test x"$enablestring" = xdisable; then
3517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3518 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3519 # Check whether --enable-gpe was given.
3520 if test "${enable_gpe+set}" = set; then
3521 enableval=$enable_gpe;
3522 if test "$enableval" = yes; then
3523 wx_cv_use_gpe='wxUSE_GPE=yes'
3525 wx_cv_use_gpe='wxUSE_GPE=no'
3532 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x ; then
3534 eval "DEFAULT_$LINE"
3537 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3542 eval "$wx_cv_use_gpe"
3543 if test "x$cache" = xyes; then
3544 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3547 if test x"$enablestring" = xdisable; then
3548 if test $wxUSE_GPE = yes; then
3557 { echo "$as_me:$LINENO: result: $result" >&5
3558 echo "${ECHO_T}$result" >&6; }
3563 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3564 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3566 # Check whether --with-libpng was given.
3567 if test "${with_libpng+set}" = set; then
3568 withval=$with_libpng;
3569 if test "$withval" = yes; then
3570 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3571 elif test "$withval" = no; then
3572 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3573 elif test "$withval" = sys; then
3574 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3575 elif test "$withval" = builtin; then
3576 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3578 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3579 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3580 { (exit 1); exit 1; }; }
3587 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3588 if test "x$LINE" != x ; then
3589 eval "DEFAULT_$LINE"
3592 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3597 eval "$wx_cv_use_libpng"
3598 if test "x$cache" = xyes; then
3599 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3602 if test "$wxUSE_LIBPNG" = yes; then
3603 { echo "$as_me:$LINENO: result: yes" >&5
3604 echo "${ECHO_T}yes" >&6; }
3605 elif test "$wxUSE_LIBPNG" = no; then
3606 { echo "$as_me:$LINENO: result: no" >&5
3607 echo "${ECHO_T}no" >&6; }
3608 elif test "$wxUSE_LIBPNG" = sys; then
3609 { echo "$as_me:$LINENO: result: system version" >&5
3610 echo "${ECHO_T}system version" >&6; }
3611 elif test "$wxUSE_LIBPNG" = builtin; then
3612 { echo "$as_me:$LINENO: result: builtin version" >&5
3613 echo "${ECHO_T}builtin version" >&6; }
3615 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3616 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3617 { (exit 1); exit 1; }; }
3621 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3622 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3624 # Check whether --with-libjpeg was given.
3625 if test "${with_libjpeg+set}" = set; then
3626 withval=$with_libjpeg;
3627 if test "$withval" = yes; then
3628 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3629 elif test "$withval" = no; then
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3631 elif test "$withval" = sys; then
3632 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3633 elif test "$withval" = builtin; then
3634 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3645 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3646 if test "x$LINE" != x ; then
3647 eval "DEFAULT_$LINE"
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3655 eval "$wx_cv_use_libjpeg"
3656 if test "x$cache" = xyes; then
3657 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_LIBJPEG" = yes; then
3661 { echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6; }
3663 elif test "$wxUSE_LIBJPEG" = no; then
3664 { echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6; }
3666 elif test "$wxUSE_LIBJPEG" = sys; then
3667 { echo "$as_me:$LINENO: result: system version" >&5
3668 echo "${ECHO_T}system version" >&6; }
3669 elif test "$wxUSE_LIBJPEG" = builtin; then
3670 { echo "$as_me:$LINENO: result: builtin version" >&5
3671 echo "${ECHO_T}builtin version" >&6; }
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3679 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3680 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; }; }
3703 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x ; then
3705 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 "x$cache" = xyes; then
3715 echo "wxUSE_LIBTIFF=$wxUSE_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; }
3740 # Check whether --with-libxpm was given.
3741 if test "${with_libxpm+set}" = set; then
3742 withval=$with_libxpm;
3743 if test "$withval" = yes; then
3744 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3745 elif test "$withval" = no; then
3746 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3747 elif test "$withval" = sys; then
3748 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3749 elif test "$withval" = builtin; then
3750 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3753 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3754 { (exit 1); exit 1; }; }
3761 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3766 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3771 eval "$wx_cv_use_libxpm"
3772 if test "x$cache" = xyes; then
3773 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3776 if test "$wxUSE_LIBXPM" = yes; then
3777 { echo "$as_me:$LINENO: result: yes" >&5
3778 echo "${ECHO_T}yes" >&6; }
3779 elif test "$wxUSE_LIBXPM" = no; then
3780 { echo "$as_me:$LINENO: result: no" >&5
3781 echo "${ECHO_T}no" >&6; }
3782 elif test "$wxUSE_LIBXPM" = sys; then
3783 { echo "$as_me:$LINENO: result: system version" >&5
3784 echo "${ECHO_T}system version" >&6; }
3785 elif test "$wxUSE_LIBXPM" = builtin; then
3786 { echo "$as_me:$LINENO: result: builtin version" >&5
3787 echo "${ECHO_T}builtin version" >&6; }
3789 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3790 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3791 { (exit 1); exit 1; }; }
3796 defaultval=$wxUSE_ALL_FEATURES
3797 if test -z "$defaultval"; then
3798 if test x"$withstring" = xwithout; then
3804 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3805 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3807 # Check whether --with-libmspack was given.
3808 if test "${with_libmspack+set}" = set; then
3809 withval=$with_libmspack;
3810 if test "$withval" = yes; then
3811 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3813 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"
3825 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3830 eval "$wx_cv_use_libmspack"
3831 if test "x$cache" = xyes; then
3832 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3835 if test x"$withstring" = xwithout; then
3836 if test $wxUSE_LIBMSPACK = yes; then
3842 result=$wxUSE_LIBMSPACK
3845 { echo "$as_me:$LINENO: result: $result" >&5
3846 echo "${ECHO_T}$result" >&6; }
3850 defaultval=$wxUSE_ALL_FEATURES
3851 if test -z "$defaultval"; then
3852 if test x"$withstring" = xwithout; then
3858 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3859 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3861 # Check whether --with-gnomeprint was given.
3862 if test "${with_gnomeprint+set}" = set; then
3863 withval=$with_gnomeprint;
3864 if test "$withval" = yes; then
3865 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3867 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3874 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3875 if test "x$LINE" != x ; then
3876 eval "DEFAULT_$LINE"
3879 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3884 eval "$wx_cv_use_gnomeprint"
3885 if test "x$cache" = xyes; then
3886 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3889 if test x"$withstring" = xwithout; then
3890 if test $wxUSE_LIBGNOMEPRINT = yes; then
3896 result=$wxUSE_LIBGNOMEPRINT
3899 { echo "$as_me:$LINENO: result: $result" >&5
3900 echo "${ECHO_T}$result" >&6; }
3904 defaultval=$wxUSE_ALL_FEATURES
3905 if test -z "$defaultval"; then
3906 if test x"$withstring" = xwithout; then
3912 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3913 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3915 # Check whether --with-gnomevfs was given.
3916 if test "${with_gnomevfs+set}" = set; then
3917 withval=$with_gnomevfs;
3918 if test "$withval" = yes; then
3919 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3921 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3928 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x ; then
3930 eval "DEFAULT_$LINE"
3933 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3938 eval "$wx_cv_use_gnomevfs"
3939 if test "x$cache" = xyes; then
3940 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3943 if test x"$withstring" = xwithout; then
3944 if test $wxUSE_LIBGNOMEVFS = yes; then
3950 result=$wxUSE_LIBGNOMEVFS
3953 { echo "$as_me:$LINENO: result: $result" >&5
3954 echo "${ECHO_T}$result" >&6; }
3958 defaultval=$wxUSE_ALL_FEATURES
3959 if test -z "$defaultval"; then
3960 if test x"$withstring" = xwithout; then
3966 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3967 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3969 # Check whether --with-hildon was given.
3970 if test "${with_hildon+set}" = set; then
3971 withval=$with_hildon;
3972 if test "$withval" = yes; then
3973 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3975 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3982 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3983 if test "x$LINE" != x ; then
3984 eval "DEFAULT_$LINE"
3987 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3992 eval "$wx_cv_use_hildon"
3993 if test "x$cache" = xyes; then
3994 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3997 if test x"$withstring" = xwithout; then
3998 if test $wxUSE_LIBHILDON = yes; then
4004 result=$wxUSE_LIBHILDON
4007 { echo "$as_me:$LINENO: result: $result" >&5
4008 echo "${ECHO_T}$result" >&6; }
4012 defaultval=$wxUSE_ALL_FEATURES
4013 if test -z "$defaultval"; then
4014 if test x"$withstring" = xwithout; then
4020 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4021 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4023 # Check whether --with-opengl was given.
4024 if test "${with_opengl+set}" = set; then
4025 withval=$with_opengl;
4026 if test "$withval" = yes; then
4027 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4029 wx_cv_use_opengl='wxUSE_OPENGL=no'
4036 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x ; then
4038 eval "DEFAULT_$LINE"
4041 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4046 eval "$wx_cv_use_opengl"
4047 if test "x$cache" = xyes; then
4048 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4051 if test x"$withstring" = xwithout; then
4052 if test $wxUSE_OPENGL = yes; then
4058 result=$wxUSE_OPENGL
4061 { echo "$as_me:$LINENO: result: $result" >&5
4062 echo "${ECHO_T}$result" >&6; }
4069 defaultval=$wxUSE_ALL_FEATURES
4070 if test -z "$defaultval"; then
4071 if test x"$withstring" = xwithout; then
4077 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4078 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4080 # Check whether --with-dmalloc was given.
4081 if test "${with_dmalloc+set}" = set; then
4082 withval=$with_dmalloc;
4083 if test "$withval" = yes; then
4084 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4086 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4093 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4094 if test "x$LINE" != x ; then
4095 eval "DEFAULT_$LINE"
4098 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4103 eval "$wx_cv_use_dmalloc"
4104 if test "x$cache" = xyes; then
4105 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4108 if test x"$withstring" = xwithout; then
4109 if test $wxUSE_DMALLOC = yes; then
4115 result=$wxUSE_DMALLOC
4118 { echo "$as_me:$LINENO: result: $result" >&5
4119 echo "${ECHO_T}$result" >&6; }
4123 defaultval=$wxUSE_ALL_FEATURES
4124 if test -z "$defaultval"; then
4125 if test x"$withstring" = xwithout; then
4131 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4132 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4134 # Check whether --with-sdl was given.
4135 if test "${with_sdl+set}" = set; then
4137 if test "$withval" = yes; then
4138 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4140 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4147 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4148 if test "x$LINE" != x ; then
4149 eval "DEFAULT_$LINE"
4152 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4157 eval "$wx_cv_use_sdl"
4158 if test "x$cache" = xyes; then
4159 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4162 if test x"$withstring" = xwithout; then
4163 if test $wxUSE_LIBSDL = yes; then
4169 result=$wxUSE_LIBSDL
4172 { echo "$as_me:$LINENO: result: $result" >&5
4173 echo "${ECHO_T}$result" >&6; }
4176 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4177 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4179 # Check whether --with-regex was given.
4180 if test "${with_regex+set}" = set; then
4181 withval=$with_regex;
4182 if test "$withval" = yes; then
4183 wx_cv_use_regex='wxUSE_REGEX=yes'
4184 elif test "$withval" = no; then
4185 wx_cv_use_regex='wxUSE_REGEX=no'
4186 elif test "$withval" = sys; then
4187 wx_cv_use_regex='wxUSE_REGEX=sys'
4188 elif test "$withval" = builtin; then
4189 wx_cv_use_regex='wxUSE_REGEX=builtin'
4191 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4192 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4193 { (exit 1); exit 1; }; }
4200 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x ; then
4202 eval "DEFAULT_$LINE"
4205 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4210 eval "$wx_cv_use_regex"
4211 if test "x$cache" = xyes; then
4212 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4215 if test "$wxUSE_REGEX" = yes; then
4216 { echo "$as_me:$LINENO: result: yes" >&5
4217 echo "${ECHO_T}yes" >&6; }
4218 elif test "$wxUSE_REGEX" = no; then
4219 { echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6; }
4221 elif test "$wxUSE_REGEX" = sys; then
4222 { echo "$as_me:$LINENO: result: system version" >&5
4223 echo "${ECHO_T}system version" >&6; }
4224 elif test "$wxUSE_REGEX" = builtin; then
4225 { echo "$as_me:$LINENO: result: builtin version" >&5
4226 echo "${ECHO_T}builtin version" >&6; }
4228 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4229 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4230 { (exit 1); exit 1; }; }
4234 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4235 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4237 # Check whether --with-zlib was given.
4238 if test "${with_zlib+set}" = set; then
4240 if test "$withval" = yes; then
4241 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4242 elif test "$withval" = no; then
4243 wx_cv_use_zlib='wxUSE_ZLIB=no'
4244 elif test "$withval" = sys; then
4245 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4246 elif test "$withval" = builtin; then
4247 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4249 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4250 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4251 { (exit 1); exit 1; }; }
4258 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x ; then
4260 eval "DEFAULT_$LINE"
4263 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4268 eval "$wx_cv_use_zlib"
4269 if test "x$cache" = xyes; then
4270 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4273 if test "$wxUSE_ZLIB" = yes; then
4274 { echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6; }
4276 elif test "$wxUSE_ZLIB" = no; then
4277 { echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6; }
4279 elif test "$wxUSE_ZLIB" = sys; then
4280 { echo "$as_me:$LINENO: result: system version" >&5
4281 echo "${ECHO_T}system version" >&6; }
4282 elif test "$wxUSE_ZLIB" = builtin; then
4283 { echo "$as_me:$LINENO: result: builtin version" >&5
4284 echo "${ECHO_T}builtin version" >&6; }
4286 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4287 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4288 { (exit 1); exit 1; }; }
4292 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4293 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4295 # Check whether --with-odbc was given.
4296 if test "${with_odbc+set}" = set; then
4298 if test "$withval" = yes; then
4299 wx_cv_use_odbc='wxUSE_ODBC=yes'
4300 elif test "$withval" = no; then
4301 wx_cv_use_odbc='wxUSE_ODBC=no'
4302 elif test "$withval" = sys; then
4303 wx_cv_use_odbc='wxUSE_ODBC=sys'
4304 elif test "$withval" = builtin; then
4305 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4307 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4308 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4309 { (exit 1); exit 1; }; }
4316 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x ; then
4318 eval "DEFAULT_$LINE"
4321 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4326 eval "$wx_cv_use_odbc"
4327 if test "x$cache" = xyes; then
4328 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4331 if test "$wxUSE_ODBC" = yes; then
4332 { echo "$as_me:$LINENO: result: yes" >&5
4333 echo "${ECHO_T}yes" >&6; }
4334 elif test "$wxUSE_ODBC" = no; then
4335 { echo "$as_me:$LINENO: result: no" >&5
4336 echo "${ECHO_T}no" >&6; }
4337 elif test "$wxUSE_ODBC" = sys; then
4338 { echo "$as_me:$LINENO: result: system version" >&5
4339 echo "${ECHO_T}system version" >&6; }
4340 elif test "$wxUSE_ODBC" = builtin; then
4341 { echo "$as_me:$LINENO: result: builtin version" >&5
4342 echo "${ECHO_T}builtin version" >&6; }
4344 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4345 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4346 { (exit 1); exit 1; }; }
4350 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4351 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4353 # Check whether --with-expat was given.
4354 if test "${with_expat+set}" = set; then
4355 withval=$with_expat;
4356 if test "$withval" = yes; then
4357 wx_cv_use_expat='wxUSE_EXPAT=yes'
4358 elif test "$withval" = no; then
4359 wx_cv_use_expat='wxUSE_EXPAT=no'
4360 elif test "$withval" = sys; then
4361 wx_cv_use_expat='wxUSE_EXPAT=sys'
4362 elif test "$withval" = builtin; then
4363 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4365 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4366 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4367 { (exit 1); exit 1; }; }
4374 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4375 if test "x$LINE" != x ; then
4376 eval "DEFAULT_$LINE"
4379 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4384 eval "$wx_cv_use_expat"
4385 if test "x$cache" = xyes; then
4386 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4389 if test "$wxUSE_EXPAT" = yes; then
4390 { echo "$as_me:$LINENO: result: yes" >&5
4391 echo "${ECHO_T}yes" >&6; }
4392 elif test "$wxUSE_EXPAT" = no; then
4393 { echo "$as_me:$LINENO: result: no" >&5
4394 echo "${ECHO_T}no" >&6; }
4395 elif test "$wxUSE_EXPAT" = sys; then
4396 { echo "$as_me:$LINENO: result: system version" >&5
4397 echo "${ECHO_T}system version" >&6; }
4398 elif test "$wxUSE_EXPAT" = builtin; then
4399 { echo "$as_me:$LINENO: result: builtin version" >&5
4400 echo "${ECHO_T}builtin version" >&6; }
4402 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4403 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4404 { (exit 1); exit 1; }; }
4408 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4409 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4411 # Check whether --with-macosx-sdk was given.
4412 if test "${with_macosx_sdk+set}" = set; then
4413 withval=$with_macosx_sdk;
4414 wxUSE_MACOSX_SDK=$withval
4415 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4416 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4420 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4421 # will override --enable-universal_binary's automatic SDK usage.
4423 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x ; then
4426 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4431 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4432 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4434 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4435 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4437 # Check whether --with-macosx-version-min was given.
4438 if test "${with_macosx_version_min+set}" = set; then
4439 withval=$with_macosx_version_min;
4440 wxUSE_MACOSX_VERSION_MIN=$withval
4441 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4442 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4446 # default "yes" because when not using an SDK it means the same as no
4447 # but when using an SDK it means to use the SDK version
4448 wxUSE_MACOSX_VERSION_MIN=yes
4449 # See if there is a value in the cache
4450 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x ; then
4453 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4458 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4459 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4463 enablestring=disable
4465 if test -z "$defaultval"; then
4466 if test x"$enablestring" = xdisable; then
4473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4474 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4475 # Check whether --enable-shared was given.
4476 if test "${enable_shared+set}" = set; then
4477 enableval=$enable_shared;
4478 if test "$enableval" = yes; then
4479 wx_cv_use_shared='wxUSE_SHARED=yes'
4481 wx_cv_use_shared='wxUSE_SHARED=no'
4488 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4489 if test "x$LINE" != x ; then
4490 eval "DEFAULT_$LINE"
4493 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4498 eval "$wx_cv_use_shared"
4499 if test "x$cache" = xyes; then
4500 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4503 if test x"$enablestring" = xdisable; then
4504 if test $wxUSE_SHARED = yes; then
4510 result=$wxUSE_SHARED
4513 { echo "$as_me:$LINENO: result: $result" >&5
4514 echo "${ECHO_T}$result" >&6; }
4517 enablestring=disable
4519 if test -z "$defaultval"; then
4520 if test x"$enablestring" = xdisable; then
4527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4528 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4529 # Check whether --enable-optimise was given.
4530 if test "${enable_optimise+set}" = set; then
4531 enableval=$enable_optimise;
4532 if test "$enableval" = yes; then
4533 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4535 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4542 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4543 if test "x$LINE" != x ; then
4544 eval "DEFAULT_$LINE"
4547 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4552 eval "$wx_cv_use_optimise"
4553 if test "x$cache" = xyes; then
4554 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4557 if test x"$enablestring" = xdisable; then
4558 if test $wxUSE_OPTIMISE = yes; then
4564 result=$wxUSE_OPTIMISE
4567 { echo "$as_me:$LINENO: result: $result" >&5
4568 echo "${ECHO_T}$result" >&6; }
4573 if test -z "$defaultval"; then
4574 if test x"$enablestring" = xdisable; then
4581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4582 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4583 # Check whether --enable-debug was given.
4584 if test "${enable_debug+set}" = set; then
4585 enableval=$enable_debug;
4586 if test "$enableval" = yes; then
4587 wx_cv_use_debug='wxUSE_DEBUG=yes'
4589 wx_cv_use_debug='wxUSE_DEBUG=no'
4596 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4597 if test "x$LINE" != x ; then
4598 eval "DEFAULT_$LINE"
4601 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4606 eval "$wx_cv_use_debug"
4607 if test "x$cache" = xyes; then
4608 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4611 if test x"$enablestring" = xdisable; then
4612 if test $wxUSE_DEBUG = yes; then
4621 { echo "$as_me:$LINENO: result: $result" >&5
4622 echo "${ECHO_T}$result" >&6; }
4627 if test -z "$defaultval"; then
4628 if test x"$enablestring" = xdisable; then
4635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4637 # Check whether --enable-stl was given.
4638 if test "${enable_stl+set}" = set; then
4639 enableval=$enable_stl;
4640 if test "$enableval" = yes; then
4641 wx_cv_use_stl='wxUSE_STL=yes'
4643 wx_cv_use_stl='wxUSE_STL=no'
4650 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x ; then
4652 eval "DEFAULT_$LINE"
4655 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4660 eval "$wx_cv_use_stl"
4661 if test "x$cache" = xyes; then
4662 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4665 if test x"$enablestring" = xdisable; then
4666 if test $wxUSE_STL = yes; then
4675 { echo "$as_me:$LINENO: result: $result" >&5
4676 echo "${ECHO_T}$result" >&6; }
4681 if test -z "$defaultval"; then
4682 if test x"$enablestring" = xdisable; then
4689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4690 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4691 # Check whether --enable-std_iostreams was given.
4692 if test "${enable_std_iostreams+set}" = set; then
4693 enableval=$enable_std_iostreams;
4694 if test "$enableval" = yes; then
4695 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4697 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4704 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4705 if test "x$LINE" != x ; then
4706 eval "DEFAULT_$LINE"
4709 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4714 eval "$wx_cv_use_std_iostreams"
4715 if test "x$cache" = xyes; then
4716 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4719 if test x"$enablestring" = xdisable; then
4720 if test $wxUSE_STD_IOSTREAM = yes; then
4726 result=$wxUSE_STD_IOSTREAM
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4735 if test -z "$defaultval"; then
4736 if test x"$enablestring" = xdisable; then
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4745 # Check whether --enable-std_string was given.
4746 if test "${enable_std_string+set}" = set; then
4747 enableval=$enable_std_string;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4751 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4758 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4759 if test "x$LINE" != x ; then
4760 eval "DEFAULT_$LINE"
4763 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4768 eval "$wx_cv_use_std_string"
4769 if test "x$cache" = xyes; then
4770 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4773 if test x"$enablestring" = xdisable; then
4774 if test $wxUSE_STD_STRING = yes; then
4780 result=$wxUSE_STD_STRING
4783 { echo "$as_me:$LINENO: result: $result" >&5
4784 echo "${ECHO_T}$result" >&6; }
4787 enablestring=disable
4789 if test -z "$defaultval"; then
4790 if test x"$enablestring" = xdisable; then
4797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4798 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4799 # Check whether --enable-unicode was given.
4800 if test "${enable_unicode+set}" = set; then
4801 enableval=$enable_unicode;
4802 if test "$enableval" = yes; then
4803 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4805 wx_cv_use_unicode='wxUSE_UNICODE=no'
4812 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4813 if test "x$LINE" != x ; then
4814 eval "DEFAULT_$LINE"
4817 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4822 eval "$wx_cv_use_unicode"
4823 if test "x$cache" = xyes; then
4824 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4827 if test x"$enablestring" = xdisable; then
4828 if test $wxUSE_UNICODE = yes; then
4834 result=$wxUSE_UNICODE
4837 { echo "$as_me:$LINENO: result: $result" >&5
4838 echo "${ECHO_T}$result" >&6; }
4843 if test -z "$defaultval"; then
4844 if test x"$enablestring" = xdisable; then
4851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4852 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4853 # Check whether --enable-mslu was given.
4854 if test "${enable_mslu+set}" = set; then
4855 enableval=$enable_mslu;
4856 if test "$enableval" = yes; then
4857 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4859 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4866 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4867 if test "x$LINE" != x ; then
4868 eval "DEFAULT_$LINE"
4871 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4876 eval "$wx_cv_use_mslu"
4877 if test "x$cache" = xyes; then
4878 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4881 if test x"$enablestring" = xdisable; then
4882 if test $wxUSE_UNICODE_MSLU = yes; then
4888 result=$wxUSE_UNICODE_MSLU
4891 { echo "$as_me:$LINENO: result: $result" >&5
4892 echo "${ECHO_T}$result" >&6; }
4896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4898 # Check whether --enable-utf8 was given.
4899 if test "${enable_utf8+set}" = set; then
4900 enableval=$enable_utf8;
4901 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4907 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4908 if test "x$LINE" != x ; then
4909 eval "DEFAULT_$LINE"
4912 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4917 eval "$wx_cv_use_utf8"
4918 if test "x$cache" = xyes; then
4919 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4922 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4923 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4928 if test -z "$defaultval"; then
4929 if test x"$enablestring" = xdisable; then
4936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4937 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4938 # Check whether --enable-utf8only was given.
4939 if test "${enable_utf8only+set}" = set; then
4940 enableval=$enable_utf8only;
4941 if test "$enableval" = yes; then
4942 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4944 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4951 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4952 if test "x$LINE" != x ; then
4953 eval "DEFAULT_$LINE"
4956 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4961 eval "$wx_cv_use_utf8only"
4962 if test "x$cache" = xyes; then
4963 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4966 if test x"$enablestring" = xdisable; then
4967 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4973 result=$wxUSE_UNICODE_UTF8_LOCALE
4976 { echo "$as_me:$LINENO: result: $result" >&5
4977 echo "${ECHO_T}$result" >&6; }
4982 if test -z "$defaultval"; then
4983 if test x"$enablestring" = xdisable; then
4990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4992 # Check whether --enable-extended_rtti was given.
4993 if test "${enable_extended_rtti+set}" = set; then
4994 enableval=$enable_extended_rtti;
4995 if test "$enableval" = yes; then
4996 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4998 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5005 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x ; then
5007 eval "DEFAULT_$LINE"
5010 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5015 eval "$wx_cv_use_extended_rtti"
5016 if test "x$cache" = xyes; then
5017 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5020 if test x"$enablestring" = xdisable; then
5021 if test $wxUSE_EXTENDED_RTTI = yes; then
5027 result=$wxUSE_EXTENDED_RTTI
5030 { echo "$as_me:$LINENO: result: $result" >&5
5031 echo "${ECHO_T}$result" >&6; }
5033 if test "$USE_OS2" = "1"; then
5034 DEFAULT_wxUSE_OMF=no
5038 if test -z "$defaultval"; then
5039 if test x"$enablestring" = xdisable; then
5046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5047 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5048 # Check whether --enable-omf was given.
5049 if test "${enable_omf+set}" = set; then
5050 enableval=$enable_omf;
5051 if test "$enableval" = yes; then
5052 wx_cv_use_omf='wxUSE_OMF=yes'
5054 wx_cv_use_omf='wxUSE_OMF=no'
5061 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5062 if test "x$LINE" != x ; then
5063 eval "DEFAULT_$LINE"
5066 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5071 eval "$wx_cv_use_omf"
5072 if test "x$cache" = xyes; then
5073 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5076 if test x"$enablestring" = xdisable; then
5077 if test $wxUSE_OMF = yes; then
5086 { echo "$as_me:$LINENO: result: $result" >&5
5087 echo "${ECHO_T}$result" >&6; }
5091 if test "$wxUSE_DEBUG" = "yes"; then
5092 DEFAULT_wxUSE_DEBUG_FLAG=yes
5093 DEFAULT_wxUSE_DEBUG_INFO=yes
5095 elif test "$wxUSE_DEBUG" = "no"; then
5096 DEFAULT_wxUSE_DEBUG_FLAG=no
5097 DEFAULT_wxUSE_DEBUG_INFO=no
5104 if test -z "$defaultval"; then
5105 if test x"$enablestring" = xdisable; then
5112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5113 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5114 # Check whether --enable-debug_flag was given.
5115 if test "${enable_debug_flag+set}" = set; then
5116 enableval=$enable_debug_flag;
5117 if test "$enableval" = yes; then
5118 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5120 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5127 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5128 if test "x$LINE" != x ; then
5129 eval "DEFAULT_$LINE"
5132 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5137 eval "$wx_cv_use_debug_flag"
5138 if test "x$cache" = xyes; then
5139 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5142 if test x"$enablestring" = xdisable; then
5143 if test $wxUSE_DEBUG_FLAG = yes; then
5149 result=$wxUSE_DEBUG_FLAG
5152 { echo "$as_me:$LINENO: result: $result" >&5
5153 echo "${ECHO_T}$result" >&6; }
5158 if test -z "$defaultval"; then
5159 if test x"$enablestring" = xdisable; then
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5168 # Check whether --enable-debug_info was given.
5169 if test "${enable_debug_info+set}" = set; then
5170 enableval=$enable_debug_info;
5171 if test "$enableval" = yes; then
5172 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5174 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5181 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5182 if test "x$LINE" != x ; then
5183 eval "DEFAULT_$LINE"
5186 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5191 eval "$wx_cv_use_debug_info"
5192 if test "x$cache" = xyes; then
5193 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5196 if test x"$enablestring" = xdisable; then
5197 if test $wxUSE_DEBUG_INFO = yes; then
5203 result=$wxUSE_DEBUG_INFO
5206 { echo "$as_me:$LINENO: result: $result" >&5
5207 echo "${ECHO_T}$result" >&6; }
5212 if test -z "$defaultval"; then
5213 if test x"$enablestring" = xdisable; then
5220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5221 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5222 # Check whether --enable-debug_gdb was given.
5223 if test "${enable_debug_gdb+set}" = set; then
5224 enableval=$enable_debug_gdb;
5225 if test "$enableval" = yes; then
5226 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5228 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5235 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5236 if test "x$LINE" != x ; then
5237 eval "DEFAULT_$LINE"
5240 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5245 eval "$wx_cv_use_debug_gdb"
5246 if test "x$cache" = xyes; then
5247 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5250 if test x"$enablestring" = xdisable; then
5251 if test $wxUSE_DEBUG_GDB = yes; then
5257 result=$wxUSE_DEBUG_GDB
5260 { echo "$as_me:$LINENO: result: $result" >&5
5261 echo "${ECHO_T}$result" >&6; }
5266 if test -z "$defaultval"; then
5267 if test x"$enablestring" = xdisable; then
5274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5275 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5276 # Check whether --enable-debug_cntxt was given.
5277 if test "${enable_debug_cntxt+set}" = set; then
5278 enableval=$enable_debug_cntxt;
5279 if test "$enableval" = yes; then
5280 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5282 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5289 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5290 if test "x$LINE" != x ; then
5291 eval "DEFAULT_$LINE"
5294 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5299 eval "$wx_cv_use_debug_cntxt"
5300 if test "x$cache" = xyes; then
5301 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5304 if test x"$enablestring" = xdisable; then
5305 if test $wxUSE_DEBUG_CONTEXT = yes; then
5311 result=$wxUSE_DEBUG_CONTEXT
5314 { echo "$as_me:$LINENO: result: $result" >&5
5315 echo "${ECHO_T}$result" >&6; }
5320 if test -z "$defaultval"; then
5321 if test x"$enablestring" = xdisable; then
5328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5329 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5330 # Check whether --enable-mem_tracing was given.
5331 if test "${enable_mem_tracing+set}" = set; then
5332 enableval=$enable_mem_tracing;
5333 if test "$enableval" = yes; then
5334 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5336 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5343 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5344 if test "x$LINE" != x ; then
5345 eval "DEFAULT_$LINE"
5348 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5353 eval "$wx_cv_use_mem_tracing"
5354 if test "x$cache" = xyes; then
5355 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5358 if test x"$enablestring" = xdisable; then
5359 if test $wxUSE_MEM_TRACING = yes; then
5365 result=$wxUSE_MEM_TRACING
5368 { echo "$as_me:$LINENO: result: $result" >&5
5369 echo "${ECHO_T}$result" >&6; }
5374 if test -z "$defaultval"; then
5375 if test x"$enablestring" = xdisable; then
5382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5383 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5384 # Check whether --enable-profile was given.
5385 if test "${enable_profile+set}" = set; then
5386 enableval=$enable_profile;
5387 if test "$enableval" = yes; then
5388 wx_cv_use_profile='wxUSE_PROFILE=yes'
5390 wx_cv_use_profile='wxUSE_PROFILE=no'
5397 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5398 if test "x$LINE" != x ; then
5399 eval "DEFAULT_$LINE"
5402 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5407 eval "$wx_cv_use_profile"
5408 if test "x$cache" = xyes; then
5409 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5412 if test x"$enablestring" = xdisable; then
5413 if test $wxUSE_PROFILE = yes; then
5419 result=$wxUSE_PROFILE
5422 { echo "$as_me:$LINENO: result: $result" >&5
5423 echo "${ECHO_T}$result" >&6; }
5428 if test -z "$defaultval"; then
5429 if test x"$enablestring" = xdisable; then
5436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5437 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5438 # Check whether --enable-no_rtti was given.
5439 if test "${enable_no_rtti+set}" = set; then
5440 enableval=$enable_no_rtti;
5441 if test "$enableval" = yes; then
5442 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5444 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5451 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5452 if test "x$LINE" != x ; then
5453 eval "DEFAULT_$LINE"
5456 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5461 eval "$wx_cv_use_no_rtti"
5462 if test "x$cache" = xyes; then
5463 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5466 if test x"$enablestring" = xdisable; then
5467 if test $wxUSE_NO_RTTI = yes; then
5473 result=$wxUSE_NO_RTTI
5476 { echo "$as_me:$LINENO: result: $result" >&5
5477 echo "${ECHO_T}$result" >&6; }
5482 if test -z "$defaultval"; then
5483 if test x"$enablestring" = xdisable; then
5490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5492 # Check whether --enable-no_exceptions was given.
5493 if test "${enable_no_exceptions+set}" = set; then
5494 enableval=$enable_no_exceptions;
5495 if test "$enableval" = yes; then
5496 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5498 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5505 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5510 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5515 eval "$wx_cv_use_no_exceptions"
5516 if test "x$cache" = xyes; then
5517 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5520 if test x"$enablestring" = xdisable; then
5521 if test $wxUSE_NO_EXCEPTIONS = yes; then
5527 result=$wxUSE_NO_EXCEPTIONS
5530 { echo "$as_me:$LINENO: result: $result" >&5
5531 echo "${ECHO_T}$result" >&6; }
5536 if test -z "$defaultval"; then
5537 if test x"$enablestring" = xdisable; then
5544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5546 # Check whether --enable-permissive was given.
5547 if test "${enable_permissive+set}" = set; then
5548 enableval=$enable_permissive;
5549 if test "$enableval" = yes; then
5550 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5552 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5559 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5560 if test "x$LINE" != x ; then
5561 eval "DEFAULT_$LINE"
5564 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5569 eval "$wx_cv_use_permissive"
5570 if test "x$cache" = xyes; then
5571 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5574 if test x"$enablestring" = xdisable; then
5575 if test $wxUSE_PERMISSIVE = yes; then
5581 result=$wxUSE_PERMISSIVE
5584 { echo "$as_me:$LINENO: result: $result" >&5
5585 echo "${ECHO_T}$result" >&6; }
5590 if test -z "$defaultval"; then
5591 if test x"$enablestring" = xdisable; then
5598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5600 # Check whether --enable-no_deps was given.
5601 if test "${enable_no_deps+set}" = set; then
5602 enableval=$enable_no_deps;
5603 if test "$enableval" = yes; then
5604 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5606 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5613 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x ; then
5615 eval "DEFAULT_$LINE"
5618 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5623 eval "$wx_cv_use_no_deps"
5624 if test "x$cache" = xyes; then
5625 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5628 if test x"$enablestring" = xdisable; then
5629 if test $wxUSE_NO_DEPS = yes; then
5635 result=$wxUSE_NO_DEPS
5638 { echo "$as_me:$LINENO: result: $result" >&5
5639 echo "${ECHO_T}$result" >&6; }
5642 enablestring=disable
5644 if test -z "$defaultval"; then
5645 if test x"$enablestring" = xdisable; then
5652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5653 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5654 # Check whether --enable-vararg_macros was given.
5655 if test "${enable_vararg_macros+set}" = set; then
5656 enableval=$enable_vararg_macros;
5657 if test "$enableval" = yes; then
5658 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5660 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5667 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5668 if test "x$LINE" != x ; then
5669 eval "DEFAULT_$LINE"
5672 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5677 eval "$wx_cv_use_vararg_macros"
5678 if test "x$cache" = xyes; then
5679 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5682 if test x"$enablestring" = xdisable; then
5683 if test $wxUSE_VARARG_MACROS = yes; then
5689 result=$wxUSE_VARARG_MACROS
5692 { echo "$as_me:$LINENO: result: $result" >&5
5693 echo "${ECHO_T}$result" >&6; }
5697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5698 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5699 # Check whether --enable-universal_binary was given.
5700 if test "${enable_universal_binary+set}" = set; then
5701 enableval=$enable_universal_binary;
5702 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5708 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5709 if test "x$LINE" != x ; then
5710 eval "DEFAULT_$LINE"
5713 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5718 eval "$wx_cv_use_universal_binary"
5719 if test "x$cache" = xyes; then
5720 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5723 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5724 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5730 if test -z "$defaultval"; then
5731 if test x"$enablestring" = xdisable; then
5738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5740 # Check whether --enable-compat26 was given.
5741 if test "${enable_compat26+set}" = set; then
5742 enableval=$enable_compat26;
5743 if test "$enableval" = yes; then
5744 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5746 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5753 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5754 if test "x$LINE" != x ; then
5755 eval "DEFAULT_$LINE"
5758 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5763 eval "$wx_cv_use_compat26"
5764 if test "x$cache" = xyes; then
5765 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5768 if test x"$enablestring" = xdisable; then
5769 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5775 result=$WXWIN_COMPATIBILITY_2_6
5778 { echo "$as_me:$LINENO: result: $result" >&5
5779 echo "${ECHO_T}$result" >&6; }
5782 enablestring=disable
5784 if test -z "$defaultval"; then
5785 if test x"$enablestring" = xdisable; then
5792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5793 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5794 # Check whether --enable-compat28 was given.
5795 if test "${enable_compat28+set}" = set; then
5796 enableval=$enable_compat28;
5797 if test "$enableval" = yes; then
5798 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5800 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5807 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x ; then
5809 eval "DEFAULT_$LINE"
5812 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5817 eval "$wx_cv_use_compat28"
5818 if test "x$cache" = xyes; then
5819 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5822 if test x"$enablestring" = xdisable; then
5823 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5829 result=$WXWIN_COMPATIBILITY_2_8
5832 { echo "$as_me:$LINENO: result: $result" >&5
5833 echo "${ECHO_T}$result" >&6; }
5837 enablestring=disable
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5849 # Check whether --enable-rpath was given.
5850 if test "${enable_rpath+set}" = set; then
5851 enableval=$enable_rpath;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_rpath='wxUSE_RPATH=yes'
5855 wx_cv_use_rpath='wxUSE_RPATH=no'
5862 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x ; then
5864 eval "DEFAULT_$LINE"
5867 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5872 eval "$wx_cv_use_rpath"
5873 if test "x$cache" = xyes; then
5874 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5877 if test x"$enablestring" = xdisable; then
5878 if test $wxUSE_RPATH = yes; then
5887 { echo "$as_me:$LINENO: result: $result" >&5
5888 echo "${ECHO_T}$result" >&6; }
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5904 # Check whether --enable-objc_uniquifying was given.
5905 if test "${enable_objc_uniquifying+set}" = set; then
5906 enableval=$enable_objc_uniquifying;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5910 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5917 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5918 if test "x$LINE" != x ; then
5919 eval "DEFAULT_$LINE"
5922 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5927 eval "$wx_cv_use_objc_uniquifying"
5928 if test "x$cache" = xyes; then
5929 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5932 if test x"$enablestring" = xdisable; then
5933 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5939 result=$wxUSE_OBJC_UNIQUIFYING
5942 { echo "$as_me:$LINENO: result: $result" >&5
5943 echo "${ECHO_T}$result" >&6; }
5947 enablestring=disable
5949 if test -z "$defaultval"; then
5950 if test x"$enablestring" = xdisable; then
5957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5958 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5959 # Check whether --enable-visibility was given.
5960 if test "${enable_visibility+set}" = set; then
5961 enableval=$enable_visibility;
5962 if test "$enableval" = yes; then
5963 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5965 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5972 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5973 if test "x$LINE" != x ; then
5974 eval "DEFAULT_$LINE"
5977 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5982 eval "$wx_cv_use_visibility"
5983 if test "x$cache" = xyes; then
5984 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5987 if test x"$enablestring" = xdisable; then
5988 if test $wxUSE_VISIBILITY = yes; then
5994 result=$wxUSE_VISIBILITY
5997 { echo "$as_me:$LINENO: result: $result" >&5
5998 echo "${ECHO_T}$result" >&6; }
6004 defaultval=$wxUSE_ALL_FEATURES
6005 if test -z "$defaultval"; then
6006 if test x"$enablestring" = xdisable; then
6013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6014 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6015 # Check whether --enable-intl was given.
6016 if test "${enable_intl+set}" = set; then
6017 enableval=$enable_intl;
6018 if test "$enableval" = yes; then
6019 wx_cv_use_intl='wxUSE_INTL=yes'
6021 wx_cv_use_intl='wxUSE_INTL=no'
6028 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x ; then
6030 eval "DEFAULT_$LINE"
6033 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6038 eval "$wx_cv_use_intl"
6039 if test "x$cache" = xyes; then
6040 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6043 if test x"$enablestring" = xdisable; then
6044 if test $wxUSE_INTL = yes; then
6053 { echo "$as_me:$LINENO: result: $result" >&5
6054 echo "${ECHO_T}$result" >&6; }
6058 defaultval=$wxUSE_ALL_FEATURES
6059 if test -z "$defaultval"; then
6060 if test x"$enablestring" = xdisable; then
6067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6069 # Check whether --enable-config was given.
6070 if test "${enable_config+set}" = set; then
6071 enableval=$enable_config;
6072 if test "$enableval" = yes; then
6073 wx_cv_use_config='wxUSE_CONFIG=yes'
6075 wx_cv_use_config='wxUSE_CONFIG=no'
6082 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6083 if test "x$LINE" != x ; then
6084 eval "DEFAULT_$LINE"
6087 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6092 eval "$wx_cv_use_config"
6093 if test "x$cache" = xyes; then
6094 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6097 if test x"$enablestring" = xdisable; then
6098 if test $wxUSE_CONFIG = yes; then
6104 result=$wxUSE_CONFIG
6107 { echo "$as_me:$LINENO: result: $result" >&5
6108 echo "${ECHO_T}$result" >&6; }
6113 defaultval=$wxUSE_ALL_FEATURES
6114 if test -z "$defaultval"; then
6115 if test x"$enablestring" = xdisable; then
6122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6123 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6124 # Check whether --enable-protocols was given.
6125 if test "${enable_protocols+set}" = set; then
6126 enableval=$enable_protocols;
6127 if test "$enableval" = yes; then
6128 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6130 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6137 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6138 if test "x$LINE" != x ; then
6139 eval "DEFAULT_$LINE"
6142 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6147 eval "$wx_cv_use_protocols"
6148 if test "x$cache" = xyes; then
6149 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6152 if test x"$enablestring" = xdisable; then
6153 if test $wxUSE_PROTOCOL = yes; then
6159 result=$wxUSE_PROTOCOL
6162 { echo "$as_me:$LINENO: result: $result" >&5
6163 echo "${ECHO_T}$result" >&6; }
6167 defaultval=$wxUSE_ALL_FEATURES
6168 if test -z "$defaultval"; then
6169 if test x"$enablestring" = xdisable; then
6176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6178 # Check whether --enable-ftp was given.
6179 if test "${enable_ftp+set}" = set; then
6180 enableval=$enable_ftp;
6181 if test "$enableval" = yes; then
6182 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6184 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6191 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x ; then
6193 eval "DEFAULT_$LINE"
6196 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6201 eval "$wx_cv_use_ftp"
6202 if test "x$cache" = xyes; then
6203 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6206 if test x"$enablestring" = xdisable; then
6207 if test $wxUSE_PROTOCOL_FTP = yes; then
6213 result=$wxUSE_PROTOCOL_FTP
6216 { echo "$as_me:$LINENO: result: $result" >&5
6217 echo "${ECHO_T}$result" >&6; }
6221 defaultval=$wxUSE_ALL_FEATURES
6222 if test -z "$defaultval"; then
6223 if test x"$enablestring" = xdisable; then
6230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6231 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6232 # Check whether --enable-http was given.
6233 if test "${enable_http+set}" = set; then
6234 enableval=$enable_http;
6235 if test "$enableval" = yes; then
6236 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6238 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6245 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6246 if test "x$LINE" != x ; then
6247 eval "DEFAULT_$LINE"
6250 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6255 eval "$wx_cv_use_http"
6256 if test "x$cache" = xyes; then
6257 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6260 if test x"$enablestring" = xdisable; then
6261 if test $wxUSE_PROTOCOL_HTTP = yes; then
6267 result=$wxUSE_PROTOCOL_HTTP
6270 { echo "$as_me:$LINENO: result: $result" >&5
6271 echo "${ECHO_T}$result" >&6; }
6275 defaultval=$wxUSE_ALL_FEATURES
6276 if test -z "$defaultval"; then
6277 if test x"$enablestring" = xdisable; then
6284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6285 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6286 # Check whether --enable-fileproto was given.
6287 if test "${enable_fileproto+set}" = set; then
6288 enableval=$enable_fileproto;
6289 if test "$enableval" = yes; then
6290 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6292 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6299 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6300 if test "x$LINE" != x ; then
6301 eval "DEFAULT_$LINE"
6304 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6309 eval "$wx_cv_use_fileproto"
6310 if test "x$cache" = xyes; then
6311 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6314 if test x"$enablestring" = xdisable; then
6315 if test $wxUSE_PROTOCOL_FILE = yes; then
6321 result=$wxUSE_PROTOCOL_FILE
6324 { echo "$as_me:$LINENO: result: $result" >&5
6325 echo "${ECHO_T}$result" >&6; }
6329 defaultval=$wxUSE_ALL_FEATURES
6330 if test -z "$defaultval"; then
6331 if test x"$enablestring" = xdisable; then
6338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6339 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6340 # Check whether --enable-sockets was given.
6341 if test "${enable_sockets+set}" = set; then
6342 enableval=$enable_sockets;
6343 if test "$enableval" = yes; then
6344 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6346 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6353 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x ; then
6355 eval "DEFAULT_$LINE"
6358 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6363 eval "$wx_cv_use_sockets"
6364 if test "x$cache" = xyes; then
6365 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6368 if test x"$enablestring" = xdisable; then
6369 if test $wxUSE_SOCKETS = yes; then
6375 result=$wxUSE_SOCKETS
6378 { echo "$as_me:$LINENO: result: $result" >&5
6379 echo "${ECHO_T}$result" >&6; }
6383 defaultval=$wxUSE_ALL_FEATURES
6384 if test -z "$defaultval"; then
6385 if test x"$enablestring" = xdisable; then
6392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6393 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6394 # Check whether --enable-ole was given.
6395 if test "${enable_ole+set}" = set; then
6396 enableval=$enable_ole;
6397 if test "$enableval" = yes; then
6398 wx_cv_use_ole='wxUSE_OLE=yes'
6400 wx_cv_use_ole='wxUSE_OLE=no'
6407 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6408 if test "x$LINE" != x ; then
6409 eval "DEFAULT_$LINE"
6412 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6417 eval "$wx_cv_use_ole"
6418 if test "x$cache" = xyes; then
6419 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6422 if test x"$enablestring" = xdisable; then
6423 if test $wxUSE_OLE = yes; then
6432 { echo "$as_me:$LINENO: result: $result" >&5
6433 echo "${ECHO_T}$result" >&6; }
6437 defaultval=$wxUSE_ALL_FEATURES
6438 if test -z "$defaultval"; then
6439 if test x"$enablestring" = xdisable; then
6446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6447 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6448 # Check whether --enable-dataobj was given.
6449 if test "${enable_dataobj+set}" = set; then
6450 enableval=$enable_dataobj;
6451 if test "$enableval" = yes; then
6452 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6454 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6461 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6462 if test "x$LINE" != x ; then
6463 eval "DEFAULT_$LINE"
6466 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6471 eval "$wx_cv_use_dataobj"
6472 if test "x$cache" = xyes; then
6473 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6476 if test x"$enablestring" = xdisable; then
6477 if test $wxUSE_DATAOBJ = yes; then
6483 result=$wxUSE_DATAOBJ
6486 { echo "$as_me:$LINENO: result: $result" >&5
6487 echo "${ECHO_T}$result" >&6; }
6492 defaultval=$wxUSE_ALL_FEATURES
6493 if test -z "$defaultval"; then
6494 if test x"$enablestring" = xdisable; then
6501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6502 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6503 # Check whether --enable-ipc was given.
6504 if test "${enable_ipc+set}" = set; then
6505 enableval=$enable_ipc;
6506 if test "$enableval" = yes; then
6507 wx_cv_use_ipc='wxUSE_IPC=yes'
6509 wx_cv_use_ipc='wxUSE_IPC=no'
6516 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x ; then
6518 eval "DEFAULT_$LINE"
6521 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6526 eval "$wx_cv_use_ipc"
6527 if test "x$cache" = xyes; then
6528 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6531 if test x"$enablestring" = xdisable; then
6532 if test $wxUSE_IPC = yes; then
6541 { echo "$as_me:$LINENO: result: $result" >&5
6542 echo "${ECHO_T}$result" >&6; }
6547 defaultval=$wxUSE_ALL_FEATURES
6548 if test -z "$defaultval"; then
6549 if test x"$enablestring" = xdisable; then
6556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6558 # Check whether --enable-baseevtloop was given.
6559 if test "${enable_baseevtloop+set}" = set; then
6560 enableval=$enable_baseevtloop;
6561 if test "$enableval" = yes; then
6562 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6564 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6571 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6576 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6581 eval "$wx_cv_use_baseevtloop"
6582 if test "x$cache" = xyes; then
6583 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6586 if test x"$enablestring" = xdisable; then
6587 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6593 result=$wxUSE_CONSOLE_EVENTLOOP
6596 { echo "$as_me:$LINENO: result: $result" >&5
6597 echo "${ECHO_T}$result" >&6; }
6601 defaultval=$wxUSE_ALL_FEATURES
6602 if test -z "$defaultval"; then
6603 if test x"$enablestring" = xdisable; then
6610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6611 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'
6625 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6626 if test "x$LINE" != x ; then
6627 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 "x$cache" = xyes; then
6637 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${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; }
6666 # Check whether --enable-selectloop was given.
6667 if test "${enable_selectloop+set}" = set; then
6668 enableval=$enable_selectloop;
6669 if test "$enableval" = yes; then
6670 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6672 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6679 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x ; then
6681 eval "DEFAULT_$LINE"
6684 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6689 eval "$wx_cv_use_selectloop"
6690 if test "x$cache" = xyes; then
6691 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6694 if test x"$enablestring" = xdisable; then
6695 if test $wxUSE_SELECT_DISPATCHER = yes; then
6701 result=$wxUSE_SELECT_DISPATCHER
6704 { echo "$as_me:$LINENO: result: $result" >&5
6705 echo "${ECHO_T}$result" >&6; }
6710 defaultval=$wxUSE_ALL_FEATURES
6711 if test -z "$defaultval"; then
6712 if test x"$enablestring" = xdisable; then
6719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6720 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6721 # Check whether --enable-apple_ieee was given.
6722 if test "${enable_apple_ieee+set}" = set; then
6723 enableval=$enable_apple_ieee;
6724 if test "$enableval" = yes; then
6725 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6727 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"
6739 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6744 eval "$wx_cv_use_apple_ieee"
6745 if test "x$cache" = xyes; then
6746 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6749 if test x"$enablestring" = xdisable; then
6750 if test $wxUSE_APPLE_IEEE = yes; then
6756 result=$wxUSE_APPLE_IEEE
6759 { echo "$as_me:$LINENO: result: $result" >&5
6760 echo "${ECHO_T}$result" >&6; }
6764 defaultval=$wxUSE_ALL_FEATURES
6765 if test -z "$defaultval"; then
6766 if test x"$enablestring" = xdisable; then
6773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6774 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6775 # Check whether --enable-arcstream was given.
6776 if test "${enable_arcstream+set}" = set; then
6777 enableval=$enable_arcstream;
6778 if test "$enableval" = yes; then
6779 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6781 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6788 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x ; then
6790 eval "DEFAULT_$LINE"
6793 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6798 eval "$wx_cv_use_arcstream"
6799 if test "x$cache" = xyes; then
6800 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6803 if test x"$enablestring" = xdisable; then
6804 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6810 result=$wxUSE_ARCHIVE_STREAMS
6813 { echo "$as_me:$LINENO: result: $result" >&5
6814 echo "${ECHO_T}$result" >&6; }
6818 defaultval=$wxUSE_ALL_FEATURES
6819 if test -z "$defaultval"; then
6820 if test x"$enablestring" = xdisable; then
6827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6828 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6829 # Check whether --enable-base64 was given.
6830 if test "${enable_base64+set}" = set; then
6831 enableval=$enable_base64;
6832 if test "$enableval" = yes; then
6833 wx_cv_use_base64='wxUSE_BASE64=yes'
6835 wx_cv_use_base64='wxUSE_BASE64=no'
6842 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6843 if test "x$LINE" != x ; then
6844 eval "DEFAULT_$LINE"
6847 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6852 eval "$wx_cv_use_base64"
6853 if test "x$cache" = xyes; then
6854 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6857 if test x"$enablestring" = xdisable; then
6858 if test $wxUSE_BASE64 = yes; then
6864 result=$wxUSE_BASE64
6867 { echo "$as_me:$LINENO: result: $result" >&5
6868 echo "${ECHO_T}$result" >&6; }
6872 defaultval=$wxUSE_ALL_FEATURES
6873 if test -z "$defaultval"; then
6874 if test x"$enablestring" = xdisable; then
6881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6883 # Check whether --enable-backtrace was given.
6884 if test "${enable_backtrace+set}" = set; then
6885 enableval=$enable_backtrace;
6886 if test "$enableval" = yes; then
6887 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6889 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6896 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x ; then
6898 eval "DEFAULT_$LINE"
6901 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6906 eval "$wx_cv_use_backtrace"
6907 if test "x$cache" = xyes; then
6908 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6911 if test x"$enablestring" = xdisable; then
6912 if test $wxUSE_STACKWALKER = yes; then
6918 result=$wxUSE_STACKWALKER
6921 { echo "$as_me:$LINENO: result: $result" >&5
6922 echo "${ECHO_T}$result" >&6; }
6926 defaultval=$wxUSE_ALL_FEATURES
6927 if test -z "$defaultval"; then
6928 if test x"$enablestring" = xdisable; then
6935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6936 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6937 # Check whether --enable-catch_segvs was given.
6938 if test "${enable_catch_segvs+set}" = set; then
6939 enableval=$enable_catch_segvs;
6940 if test "$enableval" = yes; then
6941 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6943 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6950 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x ; then
6952 eval "DEFAULT_$LINE"
6955 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6960 eval "$wx_cv_use_catch_segvs"
6961 if test "x$cache" = xyes; then
6962 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6965 if test x"$enablestring" = xdisable; then
6966 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6972 result=$wxUSE_ON_FATAL_EXCEPTION
6975 { echo "$as_me:$LINENO: result: $result" >&5
6976 echo "${ECHO_T}$result" >&6; }
6980 defaultval=$wxUSE_ALL_FEATURES
6981 if test -z "$defaultval"; then
6982 if test x"$enablestring" = xdisable; then
6989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6990 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6991 # Check whether --enable-cmdline was given.
6992 if test "${enable_cmdline+set}" = set; then
6993 enableval=$enable_cmdline;
6994 if test "$enableval" = yes; then
6995 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6997 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7004 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7005 if test "x$LINE" != x ; then
7006 eval "DEFAULT_$LINE"
7009 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7014 eval "$wx_cv_use_cmdline"
7015 if test "x$cache" = xyes; then
7016 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7019 if test x"$enablestring" = xdisable; then
7020 if test $wxUSE_CMDLINE_PARSER = yes; then
7026 result=$wxUSE_CMDLINE_PARSER
7029 { echo "$as_me:$LINENO: result: $result" >&5
7030 echo "${ECHO_T}$result" >&6; }
7034 defaultval=$wxUSE_ALL_FEATURES
7035 if test -z "$defaultval"; then
7036 if test x"$enablestring" = xdisable; then
7043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7044 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7045 # Check whether --enable-datetime was given.
7046 if test "${enable_datetime+set}" = set; then
7047 enableval=$enable_datetime;
7048 if test "$enableval" = yes; then
7049 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7051 wx_cv_use_datetime='wxUSE_DATETIME=no'
7058 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7059 if test "x$LINE" != x ; then
7060 eval "DEFAULT_$LINE"
7063 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7068 eval "$wx_cv_use_datetime"
7069 if test "x$cache" = xyes; then
7070 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7073 if test x"$enablestring" = xdisable; then
7074 if test $wxUSE_DATETIME = yes; then
7080 result=$wxUSE_DATETIME
7083 { echo "$as_me:$LINENO: result: $result" >&5
7084 echo "${ECHO_T}$result" >&6; }
7088 defaultval=$wxUSE_ALL_FEATURES
7089 if test -z "$defaultval"; then
7090 if test x"$enablestring" = xdisable; then
7097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7099 # Check whether --enable-debugreport was given.
7100 if test "${enable_debugreport+set}" = set; then
7101 enableval=$enable_debugreport;
7102 if test "$enableval" = yes; then
7103 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7105 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7112 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x ; then
7114 eval "DEFAULT_$LINE"
7117 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7122 eval "$wx_cv_use_debugreport"
7123 if test "x$cache" = xyes; then
7124 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7127 if test x"$enablestring" = xdisable; then
7128 if test $wxUSE_DEBUGREPORT = yes; then
7134 result=$wxUSE_DEBUGREPORT
7137 { echo "$as_me:$LINENO: result: $result" >&5
7138 echo "${ECHO_T}$result" >&6; }
7142 defaultval=$wxUSE_ALL_FEATURES
7143 if test -z "$defaultval"; then
7144 if test x"$enablestring" = xdisable; then
7151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7152 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7153 # Check whether --enable-dialupman was given.
7154 if test "${enable_dialupman+set}" = set; then
7155 enableval=$enable_dialupman;
7156 if test "$enableval" = yes; then
7157 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7159 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7166 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7167 if test "x$LINE" != x ; then
7168 eval "DEFAULT_$LINE"
7171 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7176 eval "$wx_cv_use_dialupman"
7177 if test "x$cache" = xyes; then
7178 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7181 if test x"$enablestring" = xdisable; then
7182 if test $wxUSE_DIALUP_MANAGER = yes; then
7188 result=$wxUSE_DIALUP_MANAGER
7191 { echo "$as_me:$LINENO: result: $result" >&5
7192 echo "${ECHO_T}$result" >&6; }
7196 defaultval=$wxUSE_ALL_FEATURES
7197 if test -z "$defaultval"; then
7198 if test x"$enablestring" = xdisable; then
7205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7206 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7207 # Check whether --enable-dynlib was given.
7208 if test "${enable_dynlib+set}" = set; then
7209 enableval=$enable_dynlib;
7210 if test "$enableval" = yes; then
7211 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7213 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7220 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7221 if test "x$LINE" != x ; then
7222 eval "DEFAULT_$LINE"
7225 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7230 eval "$wx_cv_use_dynlib"
7231 if test "x$cache" = xyes; then
7232 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7235 if test x"$enablestring" = xdisable; then
7236 if test $wxUSE_DYNLIB_CLASS = yes; then
7242 result=$wxUSE_DYNLIB_CLASS
7245 { echo "$as_me:$LINENO: result: $result" >&5
7246 echo "${ECHO_T}$result" >&6; }
7250 defaultval=$wxUSE_ALL_FEATURES
7251 if test -z "$defaultval"; then
7252 if test x"$enablestring" = xdisable; then
7259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7260 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7261 # Check whether --enable-dynamicloader was given.
7262 if test "${enable_dynamicloader+set}" = set; then
7263 enableval=$enable_dynamicloader;
7264 if test "$enableval" = yes; then
7265 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7267 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7274 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7275 if test "x$LINE" != x ; then
7276 eval "DEFAULT_$LINE"
7279 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7284 eval "$wx_cv_use_dynamicloader"
7285 if test "x$cache" = xyes; then
7286 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7289 if test x"$enablestring" = xdisable; then
7290 if test $wxUSE_DYNAMIC_LOADER = yes; then
7296 result=$wxUSE_DYNAMIC_LOADER
7299 { echo "$as_me:$LINENO: result: $result" >&5
7300 echo "${ECHO_T}$result" >&6; }
7304 defaultval=$wxUSE_ALL_FEATURES
7305 if test -z "$defaultval"; then
7306 if test x"$enablestring" = xdisable; then
7313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7315 # Check whether --enable-exceptions was given.
7316 if test "${enable_exceptions+set}" = set; then
7317 enableval=$enable_exceptions;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7321 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7328 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7329 if test "x$LINE" != x ; then
7330 eval "DEFAULT_$LINE"
7333 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7338 eval "$wx_cv_use_exceptions"
7339 if test "x$cache" = xyes; then
7340 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7343 if test x"$enablestring" = xdisable; then
7344 if test $wxUSE_EXCEPTIONS = yes; then
7350 result=$wxUSE_EXCEPTIONS
7353 { echo "$as_me:$LINENO: result: $result" >&5
7354 echo "${ECHO_T}$result" >&6; }
7358 defaultval=$wxUSE_ALL_FEATURES
7359 if test -z "$defaultval"; then
7360 if test x"$enablestring" = xdisable; then
7367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7368 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7369 # Check whether --enable-ffile was given.
7370 if test "${enable_ffile+set}" = set; then
7371 enableval=$enable_ffile;
7372 if test "$enableval" = yes; then
7373 wx_cv_use_ffile='wxUSE_FFILE=yes'
7375 wx_cv_use_ffile='wxUSE_FFILE=no'
7382 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7383 if test "x$LINE" != x ; then
7384 eval "DEFAULT_$LINE"
7387 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7392 eval "$wx_cv_use_ffile"
7393 if test "x$cache" = xyes; then
7394 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7397 if test x"$enablestring" = xdisable; then
7398 if test $wxUSE_FFILE = yes; then
7407 { echo "$as_me:$LINENO: result: $result" >&5
7408 echo "${ECHO_T}$result" >&6; }
7412 defaultval=$wxUSE_ALL_FEATURES
7413 if test -z "$defaultval"; then
7414 if test x"$enablestring" = xdisable; then
7421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7423 # Check whether --enable-file was given.
7424 if test "${enable_file+set}" = set; then
7425 enableval=$enable_file;
7426 if test "$enableval" = yes; then
7427 wx_cv_use_file='wxUSE_FILE=yes'
7429 wx_cv_use_file='wxUSE_FILE=no'
7436 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x ; then
7438 eval "DEFAULT_$LINE"
7441 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7446 eval "$wx_cv_use_file"
7447 if test "x$cache" = xyes; then
7448 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7451 if test x"$enablestring" = xdisable; then
7452 if test $wxUSE_FILE = yes; then
7461 { echo "$as_me:$LINENO: result: $result" >&5
7462 echo "${ECHO_T}$result" >&6; }
7466 defaultval=$wxUSE_ALL_FEATURES
7467 if test -z "$defaultval"; then
7468 if test x"$enablestring" = xdisable; then
7475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7476 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7477 # Check whether --enable-filesystem was given.
7478 if test "${enable_filesystem+set}" = set; then
7479 enableval=$enable_filesystem;
7480 if test "$enableval" = yes; then
7481 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7483 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7490 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7491 if test "x$LINE" != x ; then
7492 eval "DEFAULT_$LINE"
7495 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7500 eval "$wx_cv_use_filesystem"
7501 if test "x$cache" = xyes; then
7502 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7505 if test x"$enablestring" = xdisable; then
7506 if test $wxUSE_FILESYSTEM = yes; then
7512 result=$wxUSE_FILESYSTEM
7515 { echo "$as_me:$LINENO: result: $result" >&5
7516 echo "${ECHO_T}$result" >&6; }
7520 defaultval=$wxUSE_ALL_FEATURES
7521 if test -z "$defaultval"; then
7522 if test x"$enablestring" = xdisable; then
7529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7530 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7531 # Check whether --enable-fontenum was given.
7532 if test "${enable_fontenum+set}" = set; then
7533 enableval=$enable_fontenum;
7534 if test "$enableval" = yes; then
7535 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7537 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7544 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7545 if test "x$LINE" != x ; then
7546 eval "DEFAULT_$LINE"
7549 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7554 eval "$wx_cv_use_fontenum"
7555 if test "x$cache" = xyes; then
7556 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7559 if test x"$enablestring" = xdisable; then
7560 if test $wxUSE_FONTENUM = yes; then
7566 result=$wxUSE_FONTENUM
7569 { echo "$as_me:$LINENO: result: $result" >&5
7570 echo "${ECHO_T}$result" >&6; }
7574 defaultval=$wxUSE_ALL_FEATURES
7575 if test -z "$defaultval"; then
7576 if test x"$enablestring" = xdisable; then
7583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7585 # Check whether --enable-fontmap was given.
7586 if test "${enable_fontmap+set}" = set; then
7587 enableval=$enable_fontmap;
7588 if test "$enableval" = yes; then
7589 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7591 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7598 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x ; then
7600 eval "DEFAULT_$LINE"
7603 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7608 eval "$wx_cv_use_fontmap"
7609 if test "x$cache" = xyes; then
7610 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7613 if test x"$enablestring" = xdisable; then
7614 if test $wxUSE_FONTMAP = yes; then
7620 result=$wxUSE_FONTMAP
7623 { echo "$as_me:$LINENO: result: $result" >&5
7624 echo "${ECHO_T}$result" >&6; }
7628 defaultval=$wxUSE_ALL_FEATURES
7629 if test -z "$defaultval"; then
7630 if test x"$enablestring" = xdisable; then
7637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7638 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7639 # Check whether --enable-fs_archive was given.
7640 if test "${enable_fs_archive+set}" = set; then
7641 enableval=$enable_fs_archive;
7642 if test "$enableval" = yes; then
7643 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7645 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7652 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7653 if test "x$LINE" != x ; then
7654 eval "DEFAULT_$LINE"
7657 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7662 eval "$wx_cv_use_fs_archive"
7663 if test "x$cache" = xyes; then
7664 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7667 if test x"$enablestring" = xdisable; then
7668 if test $wxUSE_FS_ARCHIVE = yes; then
7674 result=$wxUSE_FS_ARCHIVE
7677 { echo "$as_me:$LINENO: result: $result" >&5
7678 echo "${ECHO_T}$result" >&6; }
7682 defaultval=$wxUSE_ALL_FEATURES
7683 if test -z "$defaultval"; then
7684 if test x"$enablestring" = xdisable; then
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7693 # Check whether --enable-fs_inet was given.
7694 if test "${enable_fs_inet+set}" = set; then
7695 enableval=$enable_fs_inet;
7696 if test "$enableval" = yes; then
7697 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7699 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7706 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7707 if test "x$LINE" != x ; then
7708 eval "DEFAULT_$LINE"
7711 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7716 eval "$wx_cv_use_fs_inet"
7717 if test "x$cache" = xyes; then
7718 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7721 if test x"$enablestring" = xdisable; then
7722 if test $wxUSE_FS_INET = yes; then
7728 result=$wxUSE_FS_INET
7731 { echo "$as_me:$LINENO: result: $result" >&5
7732 echo "${ECHO_T}$result" >&6; }
7736 defaultval=$wxUSE_ALL_FEATURES
7737 if test -z "$defaultval"; then
7738 if test x"$enablestring" = xdisable; then
7745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7747 # Check whether --enable-fs_zip was given.
7748 if test "${enable_fs_zip+set}" = set; then
7749 enableval=$enable_fs_zip;
7750 if test "$enableval" = yes; then
7751 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7753 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7760 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x ; then
7762 eval "DEFAULT_$LINE"
7765 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7770 eval "$wx_cv_use_fs_zip"
7771 if test "x$cache" = xyes; then
7772 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7775 if test x"$enablestring" = xdisable; then
7776 if test $wxUSE_FS_ZIP = yes; then
7782 result=$wxUSE_FS_ZIP
7785 { echo "$as_me:$LINENO: result: $result" >&5
7786 echo "${ECHO_T}$result" >&6; }
7790 defaultval=$wxUSE_ALL_FEATURES
7791 if test -z "$defaultval"; then
7792 if test x"$enablestring" = xdisable; then
7799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7800 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7801 # Check whether --enable-geometry was given.
7802 if test "${enable_geometry+set}" = set; then
7803 enableval=$enable_geometry;
7804 if test "$enableval" = yes; then
7805 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7807 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7814 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7815 if test "x$LINE" != x ; then
7816 eval "DEFAULT_$LINE"
7819 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7824 eval "$wx_cv_use_geometry"
7825 if test "x$cache" = xyes; then
7826 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7829 if test x"$enablestring" = xdisable; then
7830 if test $wxUSE_GEOMETRY = yes; then
7836 result=$wxUSE_GEOMETRY
7839 { echo "$as_me:$LINENO: result: $result" >&5
7840 echo "${ECHO_T}$result" >&6; }
7844 defaultval=$wxUSE_ALL_FEATURES
7845 if test -z "$defaultval"; then
7846 if test x"$enablestring" = xdisable; then
7853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7855 # Check whether --enable-log was given.
7856 if test "${enable_log+set}" = set; then
7857 enableval=$enable_log;
7858 if test "$enableval" = yes; then
7859 wx_cv_use_log='wxUSE_LOG=yes'
7861 wx_cv_use_log='wxUSE_LOG=no'
7868 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x ; then
7870 eval "DEFAULT_$LINE"
7873 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7878 eval "$wx_cv_use_log"
7879 if test "x$cache" = xyes; then
7880 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7883 if test x"$enablestring" = xdisable; then
7884 if test $wxUSE_LOG = yes; then
7893 { echo "$as_me:$LINENO: result: $result" >&5
7894 echo "${ECHO_T}$result" >&6; }
7898 defaultval=$wxUSE_ALL_FEATURES
7899 if test -z "$defaultval"; then
7900 if test x"$enablestring" = xdisable; then
7907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7908 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7909 # Check whether --enable-longlong was given.
7910 if test "${enable_longlong+set}" = set; then
7911 enableval=$enable_longlong;
7912 if test "$enableval" = yes; then
7913 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7915 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7922 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7923 if test "x$LINE" != x ; then
7924 eval "DEFAULT_$LINE"
7927 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7932 eval "$wx_cv_use_longlong"
7933 if test "x$cache" = xyes; then
7934 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7937 if test x"$enablestring" = xdisable; then
7938 if test $wxUSE_LONGLONG = yes; then
7944 result=$wxUSE_LONGLONG
7947 { echo "$as_me:$LINENO: result: $result" >&5
7948 echo "${ECHO_T}$result" >&6; }
7952 defaultval=$wxUSE_ALL_FEATURES
7953 if test -z "$defaultval"; then
7954 if test x"$enablestring" = xdisable; then
7961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7963 # Check whether --enable-mimetype was given.
7964 if test "${enable_mimetype+set}" = set; then
7965 enableval=$enable_mimetype;
7966 if test "$enableval" = yes; then
7967 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7969 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7976 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7977 if test "x$LINE" != x ; then
7978 eval "DEFAULT_$LINE"
7981 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7986 eval "$wx_cv_use_mimetype"
7987 if test "x$cache" = xyes; then
7988 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7991 if test x"$enablestring" = xdisable; then
7992 if test $wxUSE_MIMETYPE = yes; then
7998 result=$wxUSE_MIMETYPE
8001 { echo "$as_me:$LINENO: result: $result" >&5
8002 echo "${ECHO_T}$result" >&6; }
8006 defaultval=$wxUSE_ALL_FEATURES
8007 if test -z "$defaultval"; then
8008 if test x"$enablestring" = xdisable; then
8015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8017 # Check whether --enable-snglinst was given.
8018 if test "${enable_snglinst+set}" = set; then
8019 enableval=$enable_snglinst;
8020 if test "$enableval" = yes; then
8021 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8023 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8030 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x ; then
8032 eval "DEFAULT_$LINE"
8035 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8040 eval "$wx_cv_use_snglinst"
8041 if test "x$cache" = xyes; then
8042 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8045 if test x"$enablestring" = xdisable; then
8046 if test $wxUSE_SNGLINST_CHECKER = yes; then
8052 result=$wxUSE_SNGLINST_CHECKER
8055 { echo "$as_me:$LINENO: result: $result" >&5
8056 echo "${ECHO_T}$result" >&6; }
8060 defaultval=$wxUSE_ALL_FEATURES
8061 if test -z "$defaultval"; then
8062 if test x"$enablestring" = xdisable; then
8069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8070 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8071 # Check whether --enable-stdpaths was given.
8072 if test "${enable_stdpaths+set}" = set; then
8073 enableval=$enable_stdpaths;
8074 if test "$enableval" = yes; then
8075 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8077 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8084 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8089 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8094 eval "$wx_cv_use_stdpaths"
8095 if test "x$cache" = xyes; then
8096 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8099 if test x"$enablestring" = xdisable; then
8100 if test $wxUSE_STDPATHS = yes; then
8106 result=$wxUSE_STDPATHS
8109 { echo "$as_me:$LINENO: result: $result" >&5
8110 echo "${ECHO_T}$result" >&6; }
8114 defaultval=$wxUSE_ALL_FEATURES
8115 if test -z "$defaultval"; then
8116 if test x"$enablestring" = xdisable; then
8123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8125 # Check whether --enable-stopwatch was given.
8126 if test "${enable_stopwatch+set}" = set; then
8127 enableval=$enable_stopwatch;
8128 if test "$enableval" = yes; then
8129 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8131 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8138 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x ; then
8140 eval "DEFAULT_$LINE"
8143 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8148 eval "$wx_cv_use_stopwatch"
8149 if test "x$cache" = xyes; then
8150 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8153 if test x"$enablestring" = xdisable; then
8154 if test $wxUSE_STOPWATCH = yes; then
8160 result=$wxUSE_STOPWATCH
8163 { echo "$as_me:$LINENO: result: $result" >&5
8164 echo "${ECHO_T}$result" >&6; }
8168 defaultval=$wxUSE_ALL_FEATURES
8169 if test -z "$defaultval"; then
8170 if test x"$enablestring" = xdisable; then
8177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8178 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8179 # Check whether --enable-streams was given.
8180 if test "${enable_streams+set}" = set; then
8181 enableval=$enable_streams;
8182 if test "$enableval" = yes; then
8183 wx_cv_use_streams='wxUSE_STREAMS=yes'
8185 wx_cv_use_streams='wxUSE_STREAMS=no'
8192 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8193 if test "x$LINE" != x ; then
8194 eval "DEFAULT_$LINE"
8197 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8202 eval "$wx_cv_use_streams"
8203 if test "x$cache" = xyes; then
8204 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8207 if test x"$enablestring" = xdisable; then
8208 if test $wxUSE_STREAMS = yes; then
8214 result=$wxUSE_STREAMS
8217 { echo "$as_me:$LINENO: result: $result" >&5
8218 echo "${ECHO_T}$result" >&6; }
8222 defaultval=$wxUSE_ALL_FEATURES
8223 if test -z "$defaultval"; then
8224 if test x"$enablestring" = xdisable; then
8231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8233 # Check whether --enable-system_options was given.
8234 if test "${enable_system_options+set}" = set; then
8235 enableval=$enable_system_options;
8236 if test "$enableval" = yes; then
8237 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8239 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8246 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8247 if test "x$LINE" != x ; then
8248 eval "DEFAULT_$LINE"
8251 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8256 eval "$wx_cv_use_system_options"
8257 if test "x$cache" = xyes; then
8258 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8261 if test x"$enablestring" = xdisable; then
8262 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8268 result=$wxUSE_SYSTEM_OPTIONS
8271 { echo "$as_me:$LINENO: result: $result" >&5
8272 echo "${ECHO_T}$result" >&6; }
8276 defaultval=$wxUSE_ALL_FEATURES
8277 if test -z "$defaultval"; then
8278 if test x"$enablestring" = xdisable; then
8285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8287 # Check whether --enable-tarstream was given.
8288 if test "${enable_tarstream+set}" = set; then
8289 enableval=$enable_tarstream;
8290 if test "$enableval" = yes; then
8291 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8293 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8300 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x ; then
8302 eval "DEFAULT_$LINE"
8305 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8310 eval "$wx_cv_use_tarstream"
8311 if test "x$cache" = xyes; then
8312 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8315 if test x"$enablestring" = xdisable; then
8316 if test $wxUSE_TARSTREAM = yes; then
8322 result=$wxUSE_TARSTREAM
8325 { echo "$as_me:$LINENO: result: $result" >&5
8326 echo "${ECHO_T}$result" >&6; }
8330 defaultval=$wxUSE_ALL_FEATURES
8331 if test -z "$defaultval"; then
8332 if test x"$enablestring" = xdisable; then
8339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8340 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8341 # Check whether --enable-textbuf was given.
8342 if test "${enable_textbuf+set}" = set; then
8343 enableval=$enable_textbuf;
8344 if test "$enableval" = yes; then
8345 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8347 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8354 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8355 if test "x$LINE" != x ; then
8356 eval "DEFAULT_$LINE"
8359 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8364 eval "$wx_cv_use_textbuf"
8365 if test "x$cache" = xyes; then
8366 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8369 if test x"$enablestring" = xdisable; then
8370 if test $wxUSE_TEXTBUFFER = yes; then
8376 result=$wxUSE_TEXTBUFFER
8379 { echo "$as_me:$LINENO: result: $result" >&5
8380 echo "${ECHO_T}$result" >&6; }
8384 defaultval=$wxUSE_ALL_FEATURES
8385 if test -z "$defaultval"; then
8386 if test x"$enablestring" = xdisable; then
8393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8394 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8395 # Check whether --enable-textfile was given.
8396 if test "${enable_textfile+set}" = set; then
8397 enableval=$enable_textfile;
8398 if test "$enableval" = yes; then
8399 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8401 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8408 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8409 if test "x$LINE" != x ; then
8410 eval "DEFAULT_$LINE"
8413 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8418 eval "$wx_cv_use_textfile"
8419 if test "x$cache" = xyes; then
8420 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8423 if test x"$enablestring" = xdisable; then
8424 if test $wxUSE_TEXTFILE = yes; then
8430 result=$wxUSE_TEXTFILE
8433 { echo "$as_me:$LINENO: result: $result" >&5
8434 echo "${ECHO_T}$result" >&6; }
8438 defaultval=$wxUSE_ALL_FEATURES
8439 if test -z "$defaultval"; then
8440 if test x"$enablestring" = xdisable; then
8447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8448 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8449 # Check whether --enable-timer was given.
8450 if test "${enable_timer+set}" = set; then
8451 enableval=$enable_timer;
8452 if test "$enableval" = yes; then
8453 wx_cv_use_timer='wxUSE_TIMER=yes'
8455 wx_cv_use_timer='wxUSE_TIMER=no'
8462 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8463 if test "x$LINE" != x ; then
8464 eval "DEFAULT_$LINE"
8467 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8472 eval "$wx_cv_use_timer"
8473 if test "x$cache" = xyes; then
8474 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8477 if test x"$enablestring" = xdisable; then
8478 if test $wxUSE_TIMER = yes; then
8487 { echo "$as_me:$LINENO: result: $result" >&5
8488 echo "${ECHO_T}$result" >&6; }
8492 defaultval=$wxUSE_ALL_FEATURES
8493 if test -z "$defaultval"; then
8494 if test x"$enablestring" = xdisable; then
8501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8502 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8503 # Check whether --enable-sound was given.
8504 if test "${enable_sound+set}" = set; then
8505 enableval=$enable_sound;
8506 if test "$enableval" = yes; then
8507 wx_cv_use_sound='wxUSE_SOUND=yes'
8509 wx_cv_use_sound='wxUSE_SOUND=no'
8516 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8517 if test "x$LINE" != x ; then
8518 eval "DEFAULT_$LINE"
8521 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8526 eval "$wx_cv_use_sound"
8527 if test "x$cache" = xyes; then
8528 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8531 if test x"$enablestring" = xdisable; then
8532 if test $wxUSE_SOUND = yes; then
8541 { echo "$as_me:$LINENO: result: $result" >&5
8542 echo "${ECHO_T}$result" >&6; }
8546 defaultval=$wxUSE_ALL_FEATURES
8547 if test -z "$defaultval"; then
8548 if test x"$enablestring" = xdisable; then
8555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8556 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8557 # Check whether --enable-mediactrl was given.
8558 if test "${enable_mediactrl+set}" = set; then
8559 enableval=$enable_mediactrl;
8560 if test "$enableval" = yes; then
8561 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8563 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8570 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8571 if test "x$LINE" != x ; then
8572 eval "DEFAULT_$LINE"
8575 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8580 eval "$wx_cv_use_mediactrl"
8581 if test "x$cache" = xyes; then
8582 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8585 if test x"$enablestring" = xdisable; then
8586 if test $wxUSE_MEDIACTRL = yes; then
8592 result=$wxUSE_MEDIACTRL
8595 { echo "$as_me:$LINENO: result: $result" >&5
8596 echo "${ECHO_T}$result" >&6; }
8600 defaultval=$wxUSE_ALL_FEATURES
8601 if test -z "$defaultval"; then
8602 if test x"$enablestring" = xdisable; then
8609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8611 # Check whether --enable-gstreamer8 was given.
8612 if test "${enable_gstreamer8+set}" = set; then
8613 enableval=$enable_gstreamer8;
8614 if test "$enableval" = yes; then
8615 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8617 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8624 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x ; then
8626 eval "DEFAULT_$LINE"
8629 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8634 eval "$wx_cv_use_gstreamer8"
8635 if test "x$cache" = xyes; then
8636 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8639 if test x"$enablestring" = xdisable; then
8640 if test $wxUSE_GSTREAMER8 = yes; then
8646 result=$wxUSE_GSTREAMER8
8649 { echo "$as_me:$LINENO: result: $result" >&5
8650 echo "${ECHO_T}$result" >&6; }
8654 defaultval=$wxUSE_ALL_FEATURES
8655 if test -z "$defaultval"; then
8656 if test x"$enablestring" = xdisable; then
8663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8665 # Check whether --enable-printfposparam was given.
8666 if test "${enable_printfposparam+set}" = set; then
8667 enableval=$enable_printfposparam;
8668 if test "$enableval" = yes; then
8669 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8671 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8678 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x ; then
8680 eval "DEFAULT_$LINE"
8683 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8688 eval "$wx_cv_use_printfposparam"
8689 if test "x$cache" = xyes; then
8690 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8693 if test x"$enablestring" = xdisable; then
8694 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8700 result=$wxUSE_PRINTF_POS_PARAMS
8703 { echo "$as_me:$LINENO: result: $result" >&5
8704 echo "${ECHO_T}$result" >&6; }
8708 defaultval=$wxUSE_ALL_FEATURES
8709 if test -z "$defaultval"; then
8710 if test x"$enablestring" = xdisable; then
8717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8719 # Check whether --enable-zipstream was given.
8720 if test "${enable_zipstream+set}" = set; then
8721 enableval=$enable_zipstream;
8722 if test "$enableval" = yes; then
8723 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8725 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8732 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8733 if test "x$LINE" != x ; then
8734 eval "DEFAULT_$LINE"
8737 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8742 eval "$wx_cv_use_zipstream"
8743 if test "x$cache" = xyes; then
8744 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8747 if test x"$enablestring" = xdisable; then
8748 if test $wxUSE_ZIPSTREAM = yes; then
8754 result=$wxUSE_ZIPSTREAM
8757 { echo "$as_me:$LINENO: result: $result" >&5
8758 echo "${ECHO_T}$result" >&6; }
8763 defaultval=$wxUSE_ALL_FEATURES
8764 if test -z "$defaultval"; then
8765 if test x"$enablestring" = xdisable; then
8772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8774 # Check whether --enable-url was given.
8775 if test "${enable_url+set}" = set; then
8776 enableval=$enable_url;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_url='wxUSE_URL=yes'
8780 wx_cv_use_url='wxUSE_URL=no'
8787 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8788 if test "x$LINE" != x ; then
8789 eval "DEFAULT_$LINE"
8792 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8797 eval "$wx_cv_use_url"
8798 if test "x$cache" = xyes; then
8799 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8802 if test x"$enablestring" = xdisable; then
8803 if test $wxUSE_URL = yes; then
8812 { echo "$as_me:$LINENO: result: $result" >&5
8813 echo "${ECHO_T}$result" >&6; }
8817 defaultval=$wxUSE_ALL_FEATURES
8818 if test -z "$defaultval"; then
8819 if test x"$enablestring" = xdisable; then
8826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8828 # Check whether --enable-variant was given.
8829 if test "${enable_variant+set}" = set; then
8830 enableval=$enable_variant;
8831 if test "$enableval" = yes; then
8832 wx_cv_use_variant='wxUSE_VARIANT=yes'
8834 wx_cv_use_variant='wxUSE_VARIANT=no'
8841 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x ; then
8843 eval "DEFAULT_$LINE"
8846 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8851 eval "$wx_cv_use_variant"
8852 if test "x$cache" = xyes; then
8853 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8856 if test x"$enablestring" = xdisable; then
8857 if test $wxUSE_VARIANT = yes; then
8863 result=$wxUSE_VARIANT
8866 { echo "$as_me:$LINENO: result: $result" >&5
8867 echo "${ECHO_T}$result" >&6; }
8871 defaultval=$wxUSE_ALL_FEATURES
8872 if test -z "$defaultval"; then
8873 if test x"$enablestring" = xdisable; then
8880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8882 # Check whether --enable-protocol was given.
8883 if test "${enable_protocol+set}" = set; then
8884 enableval=$enable_protocol;
8885 if test "$enableval" = yes; then
8886 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8888 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8895 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8896 if test "x$LINE" != x ; then
8897 eval "DEFAULT_$LINE"
8900 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8905 eval "$wx_cv_use_protocol"
8906 if test "x$cache" = xyes; then
8907 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8910 if test x"$enablestring" = xdisable; then
8911 if test $wxUSE_PROTOCOL = yes; then
8917 result=$wxUSE_PROTOCOL
8920 { echo "$as_me:$LINENO: result: $result" >&5
8921 echo "${ECHO_T}$result" >&6; }
8925 defaultval=$wxUSE_ALL_FEATURES
8926 if test -z "$defaultval"; then
8927 if test x"$enablestring" = xdisable; then
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8936 # Check whether --enable-protocol_http was given.
8937 if test "${enable_protocol_http+set}" = set; then
8938 enableval=$enable_protocol_http;
8939 if test "$enableval" = yes; then
8940 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8942 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8949 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x ; then
8951 eval "DEFAULT_$LINE"
8954 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8959 eval "$wx_cv_use_protocol_http"
8960 if test "x$cache" = xyes; then
8961 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8964 if test x"$enablestring" = xdisable; then
8965 if test $wxUSE_PROTOCOL_HTTP = yes; then
8971 result=$wxUSE_PROTOCOL_HTTP
8974 { echo "$as_me:$LINENO: result: $result" >&5
8975 echo "${ECHO_T}$result" >&6; }
8979 defaultval=$wxUSE_ALL_FEATURES
8980 if test -z "$defaultval"; then
8981 if test x"$enablestring" = xdisable; then
8988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8989 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8990 # Check whether --enable-protocol_ftp was given.
8991 if test "${enable_protocol_ftp+set}" = set; then
8992 enableval=$enable_protocol_ftp;
8993 if test "$enableval" = yes; then
8994 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8996 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9003 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9004 if test "x$LINE" != x ; then
9005 eval "DEFAULT_$LINE"
9008 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9013 eval "$wx_cv_use_protocol_ftp"
9014 if test "x$cache" = xyes; then
9015 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9018 if test x"$enablestring" = xdisable; then
9019 if test $wxUSE_PROTOCOL_FTP = yes; then
9025 result=$wxUSE_PROTOCOL_FTP
9028 { echo "$as_me:$LINENO: result: $result" >&5
9029 echo "${ECHO_T}$result" >&6; }
9033 defaultval=$wxUSE_ALL_FEATURES
9034 if test -z "$defaultval"; then
9035 if test x"$enablestring" = xdisable; then
9042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9043 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9044 # Check whether --enable-protocol_file was given.
9045 if test "${enable_protocol_file+set}" = set; then
9046 enableval=$enable_protocol_file;
9047 if test "$enableval" = yes; then
9048 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9050 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9057 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9058 if test "x$LINE" != x ; then
9059 eval "DEFAULT_$LINE"
9062 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9067 eval "$wx_cv_use_protocol_file"
9068 if test "x$cache" = xyes; then
9069 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9072 if test x"$enablestring" = xdisable; then
9073 if test $wxUSE_PROTOCOL_FILE = yes; then
9079 result=$wxUSE_PROTOCOL_FILE
9082 { echo "$as_me:$LINENO: result: $result" >&5
9083 echo "${ECHO_T}$result" >&6; }
9088 defaultval=$wxUSE_ALL_FEATURES
9089 if test -z "$defaultval"; then
9090 if test x"$enablestring" = xdisable; then
9097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9098 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9099 # Check whether --enable-threads was given.
9100 if test "${enable_threads+set}" = set; then
9101 enableval=$enable_threads;
9102 if test "$enableval" = yes; then
9103 wx_cv_use_threads='wxUSE_THREADS=yes'
9105 wx_cv_use_threads='wxUSE_THREADS=no'
9112 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x ; then
9114 eval "DEFAULT_$LINE"
9117 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9122 eval "$wx_cv_use_threads"
9123 if test "x$cache" = xyes; then
9124 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9127 if test x"$enablestring" = xdisable; then
9128 if test $wxUSE_THREADS = yes; then
9134 result=$wxUSE_THREADS
9137 { echo "$as_me:$LINENO: result: $result" >&5
9138 echo "${ECHO_T}$result" >&6; }
9141 if test "$wxUSE_GUI" = "yes"; then
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9157 # Check whether --enable-docview was given.
9158 if test "${enable_docview+set}" = set; then
9159 enableval=$enable_docview;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9163 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9170 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9171 if test "x$LINE" != x ; then
9172 eval "DEFAULT_$LINE"
9175 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9180 eval "$wx_cv_use_docview"
9181 if test "x$cache" = xyes; then
9182 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9185 if test x"$enablestring" = xdisable; then
9186 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9192 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9195 { echo "$as_me:$LINENO: result: $result" >&5
9196 echo "${ECHO_T}$result" >&6; }
9200 defaultval=$wxUSE_ALL_FEATURES
9201 if test -z "$defaultval"; then
9202 if test x"$enablestring" = xdisable; then
9209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9211 # Check whether --enable-help was given.
9212 if test "${enable_help+set}" = set; then
9213 enableval=$enable_help;
9214 if test "$enableval" = yes; then
9215 wx_cv_use_help='wxUSE_HELP=yes'
9217 wx_cv_use_help='wxUSE_HELP=no'
9224 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x ; then
9226 eval "DEFAULT_$LINE"
9229 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9234 eval "$wx_cv_use_help"
9235 if test "x$cache" = xyes; then
9236 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9239 if test x"$enablestring" = xdisable; then
9240 if test $wxUSE_HELP = yes; then
9249 { echo "$as_me:$LINENO: result: $result" >&5
9250 echo "${ECHO_T}$result" >&6; }
9254 defaultval=$wxUSE_ALL_FEATURES
9255 if test -z "$defaultval"; then
9256 if test x"$enablestring" = xdisable; then
9263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9265 # Check whether --enable-mshtmlhelp was given.
9266 if test "${enable_mshtmlhelp+set}" = set; then
9267 enableval=$enable_mshtmlhelp;
9268 if test "$enableval" = yes; then
9269 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9271 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9278 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x ; then
9280 eval "DEFAULT_$LINE"
9283 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9288 eval "$wx_cv_use_mshtmlhelp"
9289 if test "x$cache" = xyes; then
9290 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9293 if test x"$enablestring" = xdisable; then
9294 if test $wxUSE_MS_HTML_HELP = yes; then
9300 result=$wxUSE_MS_HTML_HELP
9303 { echo "$as_me:$LINENO: result: $result" >&5
9304 echo "${ECHO_T}$result" >&6; }
9308 defaultval=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x"$enablestring" = xdisable; then
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9319 # Check whether --enable-html was given.
9320 if test "${enable_html+set}" = set; then
9321 enableval=$enable_html;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_html='wxUSE_HTML=yes'
9325 wx_cv_use_html='wxUSE_HTML=no'
9332 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9333 if test "x$LINE" != x ; then
9334 eval "DEFAULT_$LINE"
9337 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9342 eval "$wx_cv_use_html"
9343 if test "x$cache" = xyes; then
9344 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9347 if test x"$enablestring" = xdisable; then
9348 if test $wxUSE_HTML = yes; then
9357 { echo "$as_me:$LINENO: result: $result" >&5
9358 echo "${ECHO_T}$result" >&6; }
9362 defaultval=$wxUSE_ALL_FEATURES
9363 if test -z "$defaultval"; then
9364 if test x"$enablestring" = xdisable; then
9371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9372 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9373 # Check whether --enable-htmlhelp was given.
9374 if test "${enable_htmlhelp+set}" = set; then
9375 enableval=$enable_htmlhelp;
9376 if test "$enableval" = yes; then
9377 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9379 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9386 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9387 if test "x$LINE" != x ; then
9388 eval "DEFAULT_$LINE"
9391 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9396 eval "$wx_cv_use_htmlhelp"
9397 if test "x$cache" = xyes; then
9398 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9401 if test x"$enablestring" = xdisable; then
9402 if test $wxUSE_WXHTML_HELP = yes; then
9408 result=$wxUSE_WXHTML_HELP
9411 { echo "$as_me:$LINENO: result: $result" >&5
9412 echo "${ECHO_T}$result" >&6; }
9416 defaultval=$wxUSE_ALL_FEATURES
9417 if test -z "$defaultval"; then
9418 if test x"$enablestring" = xdisable; then
9425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9426 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9427 # Check whether --enable-xrc was given.
9428 if test "${enable_xrc+set}" = set; then
9429 enableval=$enable_xrc;
9430 if test "$enableval" = yes; then
9431 wx_cv_use_xrc='wxUSE_XRC=yes'
9433 wx_cv_use_xrc='wxUSE_XRC=no'
9440 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9441 if test "x$LINE" != x ; then
9442 eval "DEFAULT_$LINE"
9445 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9450 eval "$wx_cv_use_xrc"
9451 if test "x$cache" = xyes; then
9452 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9455 if test x"$enablestring" = xdisable; then
9456 if test $wxUSE_XRC = yes; then
9465 { echo "$as_me:$LINENO: result: $result" >&5
9466 echo "${ECHO_T}$result" >&6; }
9470 defaultval=$wxUSE_ALL_FEATURES
9471 if test -z "$defaultval"; then
9472 if test x"$enablestring" = xdisable; then
9479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9480 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9481 # Check whether --enable-aui was given.
9482 if test "${enable_aui+set}" = set; then
9483 enableval=$enable_aui;
9484 if test "$enableval" = yes; then
9485 wx_cv_use_aui='wxUSE_AUI=yes'
9487 wx_cv_use_aui='wxUSE_AUI=no'
9494 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x ; then
9496 eval "DEFAULT_$LINE"
9499 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9504 eval "$wx_cv_use_aui"
9505 if test "x$cache" = xyes; then
9506 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9509 if test x"$enablestring" = xdisable; then
9510 if test $wxUSE_AUI = yes; then
9519 { echo "$as_me:$LINENO: result: $result" >&5
9520 echo "${ECHO_T}$result" >&6; }
9524 defaultval=$wxUSE_ALL_FEATURES
9525 if test -z "$defaultval"; then
9526 if test x"$enablestring" = xdisable; then
9533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9534 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9535 # Check whether --enable-stc was given.
9536 if test "${enable_stc+set}" = set; then
9537 enableval=$enable_stc;
9538 if test "$enableval" = yes; then
9539 wx_cv_use_stc='wxUSE_STC=yes'
9541 wx_cv_use_stc='wxUSE_STC=no'
9548 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9549 if test "x$LINE" != x ; then
9550 eval "DEFAULT_$LINE"
9553 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9558 eval "$wx_cv_use_stc"
9559 if test "x$cache" = xyes; then
9560 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9563 if test x"$enablestring" = xdisable; then
9564 if test $wxUSE_STC = yes; then
9573 { echo "$as_me:$LINENO: result: $result" >&5
9574 echo "${ECHO_T}$result" >&6; }
9578 defaultval=$wxUSE_ALL_FEATURES
9579 if test -z "$defaultval"; then
9580 if test x"$enablestring" = xdisable; then
9587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9588 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'
9602 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9603 if test "x$LINE" != x ; then
9604 eval "DEFAULT_$LINE"
9607 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9612 eval "$wx_cv_use_constraints"
9613 if test "x$cache" = xyes; then
9614 echo "wxUSE_CONSTRAINTS=$wxUSE_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; }
9643 # Check whether --enable-printarch was given.
9644 if test "${enable_printarch+set}" = set; then
9645 enableval=$enable_printarch;
9646 if test "$enableval" = yes; then
9647 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9649 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9656 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9661 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9666 eval "$wx_cv_use_printarch"
9667 if test "x$cache" = xyes; then
9668 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9671 if test x"$enablestring" = xdisable; then
9672 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9678 result=$wxUSE_PRINTING_ARCHITECTURE
9681 { echo "$as_me:$LINENO: result: $result" >&5
9682 echo "${ECHO_T}$result" >&6; }
9686 defaultval=$wxUSE_ALL_FEATURES
9687 if test -z "$defaultval"; then
9688 if test x"$enablestring" = xdisable; then
9695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9696 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9697 # Check whether --enable-mdi was given.
9698 if test "${enable_mdi+set}" = set; then
9699 enableval=$enable_mdi;
9700 if test "$enableval" = yes; then
9701 wx_cv_use_mdi='wxUSE_MDI=yes'
9703 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"
9715 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9720 eval "$wx_cv_use_mdi"
9721 if test "x$cache" = xyes; then
9722 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9725 if test x"$enablestring" = xdisable; then
9726 if test $wxUSE_MDI = yes; then
9735 { echo "$as_me:$LINENO: result: $result" >&5
9736 echo "${ECHO_T}$result" >&6; }
9740 defaultval=$wxUSE_ALL_FEATURES
9741 if test -z "$defaultval"; then
9742 if test x"$enablestring" = xdisable; then
9749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9750 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9751 # Check whether --enable-mdidoc was given.
9752 if test "${enable_mdidoc+set}" = set; then
9753 enableval=$enable_mdidoc;
9754 if test "$enableval" = yes; then
9755 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9757 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9764 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9765 if test "x$LINE" != x ; then
9766 eval "DEFAULT_$LINE"
9769 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9774 eval "$wx_cv_use_mdidoc"
9775 if test "x$cache" = xyes; then
9776 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9786 result=$wxUSE_MDI_ARCHITECTURE
9789 { echo "$as_me:$LINENO: result: $result" >&5
9790 echo "${ECHO_T}$result" >&6; }
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9805 # Check whether --enable-loggui was given.
9806 if test "${enable_loggui+set}" = set; then
9807 enableval=$enable_loggui;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9811 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9818 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x ; then
9820 eval "DEFAULT_$LINE"
9823 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9828 eval "$wx_cv_use_loggui"
9829 if test "x$cache" = xyes; then
9830 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9833 if test x"$enablestring" = xdisable; then
9834 if test $wxUSE_LOGGUI = yes; then
9840 result=$wxUSE_LOGGUI
9843 { echo "$as_me:$LINENO: result: $result" >&5
9844 echo "${ECHO_T}$result" >&6; }
9848 defaultval=$wxUSE_ALL_FEATURES
9849 if test -z "$defaultval"; then
9850 if test x"$enablestring" = xdisable; then
9857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9858 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9859 # Check whether --enable-logwin was given.
9860 if test "${enable_logwin+set}" = set; then
9861 enableval=$enable_logwin;
9862 if test "$enableval" = yes; then
9863 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9865 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9872 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9873 if test "x$LINE" != x ; then
9874 eval "DEFAULT_$LINE"
9877 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9882 eval "$wx_cv_use_logwin"
9883 if test "x$cache" = xyes; then
9884 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9887 if test x"$enablestring" = xdisable; then
9888 if test $wxUSE_LOGWINDOW = yes; then
9894 result=$wxUSE_LOGWINDOW
9897 { echo "$as_me:$LINENO: result: $result" >&5
9898 echo "${ECHO_T}$result" >&6; }
9902 defaultval=$wxUSE_ALL_FEATURES
9903 if test -z "$defaultval"; then
9904 if test x"$enablestring" = xdisable; then
9911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9912 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9913 # Check whether --enable-logdialog was given.
9914 if test "${enable_logdialog+set}" = set; then
9915 enableval=$enable_logdialog;
9916 if test "$enableval" = yes; then
9917 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9919 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9926 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9927 if test "x$LINE" != x ; then
9928 eval "DEFAULT_$LINE"
9931 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9936 eval "$wx_cv_use_logdialog"
9937 if test "x$cache" = xyes; then
9938 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9941 if test x"$enablestring" = xdisable; then
9942 if test $wxUSE_LOGDIALOG = yes; then
9948 result=$wxUSE_LOGDIALOG
9951 { echo "$as_me:$LINENO: result: $result" >&5
9952 echo "${ECHO_T}$result" >&6; }
9956 defaultval=$wxUSE_ALL_FEATURES
9957 if test -z "$defaultval"; then
9958 if test x"$enablestring" = xdisable; then
9965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9966 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9967 # Check whether --enable-webkit was given.
9968 if test "${enable_webkit+set}" = set; then
9969 enableval=$enable_webkit;
9970 if test "$enableval" = yes; then
9971 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9973 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9980 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9981 if test "x$LINE" != x ; then
9982 eval "DEFAULT_$LINE"
9985 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9990 eval "$wx_cv_use_webkit"
9991 if test "x$cache" = xyes; then
9992 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9995 if test x"$enablestring" = xdisable; then
9996 if test $wxUSE_WEBKIT = yes; then
10002 result=$wxUSE_WEBKIT
10005 { echo "$as_me:$LINENO: result: $result" >&5
10006 echo "${ECHO_T}$result" >&6; }
10010 defaultval=$wxUSE_ALL_FEATURES
10011 if test -z "$defaultval"; then
10012 if test x"$enablestring" = xdisable; then
10019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10021 # Check whether --enable-richtext was given.
10022 if test "${enable_richtext+set}" = set; then
10023 enableval=$enable_richtext;
10024 if test "$enableval" = yes; then
10025 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10027 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10034 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10035 if test "x$LINE" != x ; then
10036 eval "DEFAULT_$LINE"
10039 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10044 eval "$wx_cv_use_richtext"
10045 if test "x$cache" = xyes; then
10046 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10049 if test x"$enablestring" = xdisable; then
10050 if test $wxUSE_RICHTEXT = yes; then
10056 result=$wxUSE_RICHTEXT
10059 { echo "$as_me:$LINENO: result: $result" >&5
10060 echo "${ECHO_T}$result" >&6; }
10064 defaultval=$wxUSE_ALL_FEATURES
10065 if test -z "$defaultval"; then
10066 if test x"$enablestring" = xdisable; then
10073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10075 # Check whether --enable-graphics_ctx was given.
10076 if test "${enable_graphics_ctx+set}" = set; then
10077 enableval=$enable_graphics_ctx;
10078 if test "$enableval" = yes; then
10079 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10081 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10088 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x ; then
10090 eval "DEFAULT_$LINE"
10093 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10098 eval "$wx_cv_use_graphics_ctx"
10099 if test "x$cache" = xyes; then
10100 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10103 if test x"$enablestring" = xdisable; then
10104 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10110 result=$wxUSE_GRAPHICS_CONTEXT
10113 { echo "$as_me:$LINENO: result: $result" >&5
10114 echo "${ECHO_T}$result" >&6; }
10118 defaultval=$wxUSE_ALL_FEATURES
10119 if test -z "$defaultval"; then
10120 if test x"$enablestring" = xdisable; then
10127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10128 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10129 # Check whether --enable-postscript was given.
10130 if test "${enable_postscript+set}" = set; then
10131 enableval=$enable_postscript;
10132 if test "$enableval" = yes; then
10133 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10135 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10142 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10143 if test "x$LINE" != x ; then
10144 eval "DEFAULT_$LINE"
10147 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10152 eval "$wx_cv_use_postscript"
10153 if test "x$cache" = xyes; then
10154 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10157 if test x"$enablestring" = xdisable; then
10158 if test $wxUSE_POSTSCRIPT = yes; then
10164 result=$wxUSE_POSTSCRIPT
10167 { echo "$as_me:$LINENO: result: $result" >&5
10168 echo "${ECHO_T}$result" >&6; }
10172 defaultval=$wxUSE_ALL_FEATURES
10173 if test -z "$defaultval"; then
10174 if test x"$enablestring" = xdisable; then
10181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10182 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10183 # Check whether --enable-svg was given.
10184 if test "${enable_svg+set}" = set; then
10185 enableval=$enable_svg;
10186 if test "$enableval" = yes; then
10187 wx_cv_use_svg='wxUSE_SVG=yes'
10189 wx_cv_use_svg='wxUSE_SVG=no'
10196 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10197 if test "x$LINE" != x ; then
10198 eval "DEFAULT_$LINE"
10201 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10206 eval "$wx_cv_use_svg"
10207 if test "x$cache" = xyes; then
10208 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10211 if test x"$enablestring" = xdisable; then
10212 if test $wxUSE_SVG = yes; then
10221 { echo "$as_me:$LINENO: result: $result" >&5
10222 echo "${ECHO_T}$result" >&6; }
10228 defaultval=$wxUSE_ALL_FEATURES
10229 if test -z "$defaultval"; then
10230 if test x"$enablestring" = xdisable; then
10237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10239 # Check whether --enable-clipboard was given.
10240 if test "${enable_clipboard+set}" = set; then
10241 enableval=$enable_clipboard;
10242 if test "$enableval" = yes; then
10243 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10245 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10252 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10253 if test "x$LINE" != x ; then
10254 eval "DEFAULT_$LINE"
10257 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10262 eval "$wx_cv_use_clipboard"
10263 if test "x$cache" = xyes; then
10264 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10267 if test x"$enablestring" = xdisable; then
10268 if test $wxUSE_CLIPBOARD = yes; then
10274 result=$wxUSE_CLIPBOARD
10277 { echo "$as_me:$LINENO: result: $result" >&5
10278 echo "${ECHO_T}$result" >&6; }
10282 defaultval=$wxUSE_ALL_FEATURES
10283 if test -z "$defaultval"; then
10284 if test x"$enablestring" = xdisable; then
10291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10292 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10293 # Check whether --enable-dnd was given.
10294 if test "${enable_dnd+set}" = set; then
10295 enableval=$enable_dnd;
10296 if test "$enableval" = yes; then
10297 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10299 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10306 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10307 if test "x$LINE" != x ; then
10308 eval "DEFAULT_$LINE"
10311 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10316 eval "$wx_cv_use_dnd"
10317 if test "x$cache" = xyes; then
10318 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10321 if test x"$enablestring" = xdisable; then
10322 if test $wxUSE_DRAG_AND_DROP = yes; then
10328 result=$wxUSE_DRAG_AND_DROP
10331 { echo "$as_me:$LINENO: result: $result" >&5
10332 echo "${ECHO_T}$result" >&6; }
10336 defaultval=$wxUSE_ALL_FEATURES
10337 if test -z "$defaultval"; then
10338 if test x"$enablestring" = xdisable; then
10345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10346 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10347 # Check whether --enable-metafile was given.
10348 if test "${enable_metafile+set}" = set; then
10349 enableval=$enable_metafile;
10350 if test "$enableval" = yes; then
10351 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10353 wx_cv_use_metafile='wxUSE_METAFILE=no'
10360 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10361 if test "x$LINE" != x ; then
10362 eval "DEFAULT_$LINE"
10365 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10370 eval "$wx_cv_use_metafile"
10371 if test "x$cache" = xyes; then
10372 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10375 if test x"$enablestring" = xdisable; then
10376 if test $wxUSE_METAFILE = yes; then
10382 result=$wxUSE_METAFILE
10385 { echo "$as_me:$LINENO: result: $result" >&5
10386 echo "${ECHO_T}$result" >&6; }
10390 DEFAULT_wxUSE_CONTROLS=none
10392 enablestring=disable
10394 if test -z "$defaultval"; then
10395 if test x"$enablestring" = xdisable; then
10402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10403 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10404 # Check whether --enable-controls was given.
10405 if test "${enable_controls+set}" = set; then
10406 enableval=$enable_controls;
10407 if test "$enableval" = yes; then
10408 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10410 wx_cv_use_controls='wxUSE_CONTROLS=no'
10417 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10418 if test "x$LINE" != x ; then
10419 eval "DEFAULT_$LINE"
10422 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10427 eval "$wx_cv_use_controls"
10428 if test "x$cache" = xyes; then
10429 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10432 if test x"$enablestring" = xdisable; then
10433 if test $wxUSE_CONTROLS = yes; then
10439 result=$wxUSE_CONTROLS
10442 { echo "$as_me:$LINENO: result: $result" >&5
10443 echo "${ECHO_T}$result" >&6; }
10446 if test "$wxUSE_CONTROLS" = "yes"; then
10447 DEFAULT_wxUSE_ACCEL=yes
10448 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10449 DEFAULT_wxUSE_BMPBUTTON=yes
10450 DEFAULT_wxUSE_BUTTON=yes
10451 DEFAULT_wxUSE_CALCTRL=yes
10452 DEFAULT_wxUSE_CARET=yes
10453 DEFAULT_wxUSE_COMBOBOX=yes
10454 DEFAULT_wxUSE_CHECKBOX=yes
10455 DEFAULT_wxUSE_CHECKLISTBOX=yes
10456 DEFAULT_wxUSE_CHOICE=yes
10457 DEFAULT_wxUSE_CHOICEBOOK=yes
10458 DEFAULT_wxUSE_COLLPANE=yes
10459 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10460 DEFAULT_wxUSE_COMBOBOX=yes
10461 DEFAULT_wxUSE_DATEPICKCTRL=yes
10462 DEFAULT_wxUSE_DISPLAY=yes
10463 DEFAULT_wxUSE_DETECT_SM=yes
10464 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10465 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10466 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10467 DEFAULT_wxUSE_GAUGE=yes
10468 DEFAULT_wxUSE_GRID=yes
10469 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10470 DEFAULT_wxUSE_DATAVIEWCTRL=no
10471 DEFAULT_wxUSE_IMAGLIST=yes
10472 DEFAULT_wxUSE_LISTBOOK=yes
10473 DEFAULT_wxUSE_LISTBOX=yes
10474 DEFAULT_wxUSE_LISTCTRL=yes
10475 DEFAULT_wxUSE_NOTEBOOK=yes
10476 DEFAULT_wxUSE_RADIOBOX=yes
10477 DEFAULT_wxUSE_RADIOBTN=yes
10478 DEFAULT_wxUSE_SASH=yes
10479 DEFAULT_wxUSE_SCROLLBAR=yes
10480 DEFAULT_wxUSE_SEARCHCTRL=yes
10481 DEFAULT_wxUSE_SLIDER=yes
10482 DEFAULT_wxUSE_SPINBTN=yes
10483 DEFAULT_wxUSE_SPINCTRL=yes
10484 DEFAULT_wxUSE_SPLITTER=yes
10485 DEFAULT_wxUSE_STATBMP=yes
10486 DEFAULT_wxUSE_STATBOX=yes
10487 DEFAULT_wxUSE_STATLINE=yes
10488 DEFAULT_wxUSE_STATUSBAR=yes
10489 DEFAULT_wxUSE_TAB_DIALOG=yes
10490 DEFAULT_wxUSE_TOGGLEBTN=yes
10491 DEFAULT_wxUSE_TOOLBAR=yes
10492 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10493 DEFAULT_wxUSE_TOOLTIPS=yes
10494 DEFAULT_wxUSE_TREEBOOK=yes
10495 DEFAULT_wxUSE_TOOLBOOK=yes
10496 DEFAULT_wxUSE_TREECTRL=yes
10497 DEFAULT_wxUSE_POPUPWIN=yes
10498 DEFAULT_wxUSE_TIPWINDOW=yes
10499 elif test "$wxUSE_CONTROLS" = "no"; then
10500 DEFAULT_wxUSE_ACCEL=no
10501 DEFAULT_wxUSE_ANIMATIONCTRL=no
10502 DEFAULT_wxUSE_BMPBUTTON=no
10503 DEFAULT_wxUSE_BUTTON=no
10504 DEFAULT_wxUSE_CALCTRL=no
10505 DEFAULT_wxUSE_CARET=no
10506 DEFAULT_wxUSE_COLLPANE=no
10507 DEFAULT_wxUSE_COMBOBOX=no
10508 DEFAULT_wxUSE_CHECKBOX=no
10509 DEFAULT_wxUSE_CHECKLISTBOX=no
10510 DEFAULT_wxUSE_CHOICE=no
10511 DEFAULT_wxUSE_CHOICEBOOK=no
10512 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10513 DEFAULT_wxUSE_COMBOBOX=no
10514 DEFAULT_wxUSE_DATEPICKCTRL=no
10515 DEFAULT_wxUSE_DISPLAY=no
10516 DEFAULT_wxUSE_DETECT_SM=no
10517 DEFAULT_wxUSE_DIRPICKERCTRL=no
10518 DEFAULT_wxUSE_FILEPICKERCTRL=no
10519 DEFAULT_wxUSE_FONTPICKERCTRL=no
10520 DEFAULT_wxUSE_GAUGE=no
10521 DEFAULT_wxUSE_GRID=no
10522 DEFAULT_wxUSE_HYPERLINKCTRL=no
10523 DEFAULT_wxUSE_DATAVIEWCTRL=no
10524 DEFAULT_wxUSE_IMAGLIST=no
10525 DEFAULT_wxUSE_LISTBOOK=no
10526 DEFAULT_wxUSE_LISTBOX=no
10527 DEFAULT_wxUSE_LISTCTRL=no
10528 DEFAULT_wxUSE_NOTEBOOK=no
10529 DEFAULT_wxUSE_RADIOBOX=no
10530 DEFAULT_wxUSE_RADIOBTN=no
10531 DEFAULT_wxUSE_SASH=no
10532 DEFAULT_wxUSE_SCROLLBAR=no
10533 DEFAULT_wxUSE_SEARCHCTRL=no
10534 DEFAULT_wxUSE_SLIDER=no
10535 DEFAULT_wxUSE_SPINBTN=no
10536 DEFAULT_wxUSE_SPINCTRL=no
10537 DEFAULT_wxUSE_SPLITTER=no
10538 DEFAULT_wxUSE_STATBMP=no
10539 DEFAULT_wxUSE_STATBOX=no
10540 DEFAULT_wxUSE_STATLINE=no
10541 DEFAULT_wxUSE_STATUSBAR=no
10542 DEFAULT_wxUSE_TAB_DIALOG=no
10543 DEFAULT_wxUSE_TOGGLEBTN=no
10544 DEFAULT_wxUSE_TOOLBAR=no
10545 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10546 DEFAULT_wxUSE_TOOLTIPS=no
10547 DEFAULT_wxUSE_TREEBOOK=no
10548 DEFAULT_wxUSE_TOOLBOOK=no
10549 DEFAULT_wxUSE_TREECTRL=no
10550 DEFAULT_wxUSE_POPUPWIN=no
10551 DEFAULT_wxUSE_TIPWINDOW=no
10556 defaultval=$wxUSE_ALL_FEATURES
10557 if test -z "$defaultval"; then
10558 if test x"$enablestring" = xdisable; then
10565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10566 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10567 # Check whether --enable-accel was given.
10568 if test "${enable_accel+set}" = set; then
10569 enableval=$enable_accel;
10570 if test "$enableval" = yes; then
10571 wx_cv_use_accel='wxUSE_ACCEL=yes'
10573 wx_cv_use_accel='wxUSE_ACCEL=no'
10580 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10581 if test "x$LINE" != x ; then
10582 eval "DEFAULT_$LINE"
10585 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10590 eval "$wx_cv_use_accel"
10591 if test "x$cache" = xyes; then
10592 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10595 if test x"$enablestring" = xdisable; then
10596 if test $wxUSE_ACCEL = yes; then
10602 result=$wxUSE_ACCEL
10605 { echo "$as_me:$LINENO: result: $result" >&5
10606 echo "${ECHO_T}$result" >&6; }
10610 defaultval=$wxUSE_ALL_FEATURES
10611 if test -z "$defaultval"; then
10612 if test x"$enablestring" = xdisable; then
10619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10620 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10621 # Check whether --enable-animatectrl was given.
10622 if test "${enable_animatectrl+set}" = set; then
10623 enableval=$enable_animatectrl;
10624 if test "$enableval" = yes; then
10625 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10627 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10634 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10635 if test "x$LINE" != x ; then
10636 eval "DEFAULT_$LINE"
10639 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10644 eval "$wx_cv_use_animatectrl"
10645 if test "x$cache" = xyes; then
10646 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10649 if test x"$enablestring" = xdisable; then
10650 if test $wxUSE_ANIMATIONCTRL = yes; then
10656 result=$wxUSE_ANIMATIONCTRL
10659 { echo "$as_me:$LINENO: result: $result" >&5
10660 echo "${ECHO_T}$result" >&6; }
10664 defaultval=$wxUSE_ALL_FEATURES
10665 if test -z "$defaultval"; then
10666 if test x"$enablestring" = xdisable; then
10673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10674 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10675 # Check whether --enable-button was given.
10676 if test "${enable_button+set}" = set; then
10677 enableval=$enable_button;
10678 if test "$enableval" = yes; then
10679 wx_cv_use_button='wxUSE_BUTTON=yes'
10681 wx_cv_use_button='wxUSE_BUTTON=no'
10688 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10689 if test "x$LINE" != x ; then
10690 eval "DEFAULT_$LINE"
10693 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10698 eval "$wx_cv_use_button"
10699 if test "x$cache" = xyes; then
10700 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_BUTTON = yes; then
10710 result=$wxUSE_BUTTON
10713 { echo "$as_me:$LINENO: result: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10729 # Check whether --enable-bmpbutton was given.
10730 if test "${enable_bmpbutton+set}" = set; then
10731 enableval=$enable_bmpbutton;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10735 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10742 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10743 if test "x$LINE" != x ; then
10744 eval "DEFAULT_$LINE"
10747 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10752 eval "$wx_cv_use_bmpbutton"
10753 if test "x$cache" = xyes; then
10754 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10757 if test x"$enablestring" = xdisable; then
10758 if test $wxUSE_BMPBUTTON = yes; then
10764 result=$wxUSE_BMPBUTTON
10767 { echo "$as_me:$LINENO: result: $result" >&5
10768 echo "${ECHO_T}$result" >&6; }
10772 defaultval=$wxUSE_ALL_FEATURES
10773 if test -z "$defaultval"; then
10774 if test x"$enablestring" = xdisable; then
10781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10782 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10783 # Check whether --enable-bmpcombobox was given.
10784 if test "${enable_bmpcombobox+set}" = set; then
10785 enableval=$enable_bmpcombobox;
10786 if test "$enableval" = yes; then
10787 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10789 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10796 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10797 if test "x$LINE" != x ; then
10798 eval "DEFAULT_$LINE"
10801 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10806 eval "$wx_cv_use_bmpcombobox"
10807 if test "x$cache" = xyes; then
10808 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10811 if test x"$enablestring" = xdisable; then
10812 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10818 result=$wxUSE_BITMAPCOMBOBOX
10821 { echo "$as_me:$LINENO: result: $result" >&5
10822 echo "${ECHO_T}$result" >&6; }
10826 defaultval=$wxUSE_ALL_FEATURES
10827 if test -z "$defaultval"; then
10828 if test x"$enablestring" = xdisable; then
10835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10836 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10837 # Check whether --enable-calendar was given.
10838 if test "${enable_calendar+set}" = set; then
10839 enableval=$enable_calendar;
10840 if test "$enableval" = yes; then
10841 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10843 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10850 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10851 if test "x$LINE" != x ; then
10852 eval "DEFAULT_$LINE"
10855 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10860 eval "$wx_cv_use_calendar"
10861 if test "x$cache" = xyes; then
10862 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10865 if test x"$enablestring" = xdisable; then
10866 if test $wxUSE_CALCTRL = yes; then
10872 result=$wxUSE_CALCTRL
10875 { echo "$as_me:$LINENO: result: $result" >&5
10876 echo "${ECHO_T}$result" >&6; }
10880 defaultval=$wxUSE_ALL_FEATURES
10881 if test -z "$defaultval"; then
10882 if test x"$enablestring" = xdisable; then
10889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10891 # Check whether --enable-caret was given.
10892 if test "${enable_caret+set}" = set; then
10893 enableval=$enable_caret;
10894 if test "$enableval" = yes; then
10895 wx_cv_use_caret='wxUSE_CARET=yes'
10897 wx_cv_use_caret='wxUSE_CARET=no'
10904 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10905 if test "x$LINE" != x ; then
10906 eval "DEFAULT_$LINE"
10909 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10914 eval "$wx_cv_use_caret"
10915 if test "x$cache" = xyes; then
10916 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_CARET = yes; then
10926 result=$wxUSE_CARET
10929 { echo "$as_me:$LINENO: result: $result" >&5
10930 echo "${ECHO_T}$result" >&6; }
10934 defaultval=$wxUSE_ALL_FEATURES
10935 if test -z "$defaultval"; then
10936 if test x"$enablestring" = xdisable; then
10943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10945 # Check whether --enable-checkbox was given.
10946 if test "${enable_checkbox+set}" = set; then
10947 enableval=$enable_checkbox;
10948 if test "$enableval" = yes; then
10949 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10951 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10958 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10959 if test "x$LINE" != x ; then
10960 eval "DEFAULT_$LINE"
10963 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10968 eval "$wx_cv_use_checkbox"
10969 if test "x$cache" = xyes; then
10970 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10973 if test x"$enablestring" = xdisable; then
10974 if test $wxUSE_CHECKBOX = yes; then
10980 result=$wxUSE_CHECKBOX
10983 { echo "$as_me:$LINENO: result: $result" >&5
10984 echo "${ECHO_T}$result" >&6; }
10988 defaultval=$wxUSE_ALL_FEATURES
10989 if test -z "$defaultval"; then
10990 if test x"$enablestring" = xdisable; then
10997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10998 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10999 # Check whether --enable-checklst was given.
11000 if test "${enable_checklst+set}" = set; then
11001 enableval=$enable_checklst;
11002 if test "$enableval" = yes; then
11003 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11005 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11012 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11013 if test "x$LINE" != x ; then
11014 eval "DEFAULT_$LINE"
11017 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11022 eval "$wx_cv_use_checklst"
11023 if test "x$cache" = xyes; then
11024 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11027 if test x"$enablestring" = xdisable; then
11028 if test $wxUSE_CHECKLST = yes; then
11034 result=$wxUSE_CHECKLST
11037 { echo "$as_me:$LINENO: result: $result" >&5
11038 echo "${ECHO_T}$result" >&6; }
11042 defaultval=$wxUSE_ALL_FEATURES
11043 if test -z "$defaultval"; then
11044 if test x"$enablestring" = xdisable; then
11051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11052 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11053 # Check whether --enable-choice was given.
11054 if test "${enable_choice+set}" = set; then
11055 enableval=$enable_choice;
11056 if test "$enableval" = yes; then
11057 wx_cv_use_choice='wxUSE_CHOICE=yes'
11059 wx_cv_use_choice='wxUSE_CHOICE=no'
11066 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11067 if test "x$LINE" != x ; then
11068 eval "DEFAULT_$LINE"
11071 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11076 eval "$wx_cv_use_choice"
11077 if test "x$cache" = xyes; then
11078 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11081 if test x"$enablestring" = xdisable; then
11082 if test $wxUSE_CHOICE = yes; then
11088 result=$wxUSE_CHOICE
11091 { echo "$as_me:$LINENO: result: $result" >&5
11092 echo "${ECHO_T}$result" >&6; }
11096 defaultval=$wxUSE_ALL_FEATURES
11097 if test -z "$defaultval"; then
11098 if test x"$enablestring" = xdisable; then
11105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11106 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11107 # Check whether --enable-choicebook was given.
11108 if test "${enable_choicebook+set}" = set; then
11109 enableval=$enable_choicebook;
11110 if test "$enableval" = yes; then
11111 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11113 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11120 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11121 if test "x$LINE" != x ; then
11122 eval "DEFAULT_$LINE"
11125 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11130 eval "$wx_cv_use_choicebook"
11131 if test "x$cache" = xyes; then
11132 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11135 if test x"$enablestring" = xdisable; then
11136 if test $wxUSE_CHOICEBOOK = yes; then
11142 result=$wxUSE_CHOICEBOOK
11145 { echo "$as_me:$LINENO: result: $result" >&5
11146 echo "${ECHO_T}$result" >&6; }
11150 defaultval=$wxUSE_ALL_FEATURES
11151 if test -z "$defaultval"; then
11152 if test x"$enablestring" = xdisable; then
11159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11160 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11161 # Check whether --enable-collpane was given.
11162 if test "${enable_collpane+set}" = set; then
11163 enableval=$enable_collpane;
11164 if test "$enableval" = yes; then
11165 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11167 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11174 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11175 if test "x$LINE" != x ; then
11176 eval "DEFAULT_$LINE"
11179 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11184 eval "$wx_cv_use_collpane"
11185 if test "x$cache" = xyes; then
11186 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11189 if test x"$enablestring" = xdisable; then
11190 if test $wxUSE_COLLPANE = yes; then
11196 result=$wxUSE_COLLPANE
11199 { echo "$as_me:$LINENO: result: $result" >&5
11200 echo "${ECHO_T}$result" >&6; }
11204 defaultval=$wxUSE_ALL_FEATURES
11205 if test -z "$defaultval"; then
11206 if test x"$enablestring" = xdisable; then
11213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11214 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11215 # Check whether --enable-colourpicker was given.
11216 if test "${enable_colourpicker+set}" = set; then
11217 enableval=$enable_colourpicker;
11218 if test "$enableval" = yes; then
11219 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11221 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11228 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11229 if test "x$LINE" != x ; then
11230 eval "DEFAULT_$LINE"
11233 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11238 eval "$wx_cv_use_colourpicker"
11239 if test "x$cache" = xyes; then
11240 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11243 if test x"$enablestring" = xdisable; then
11244 if test $wxUSE_COLOURPICKERCTRL = yes; then
11250 result=$wxUSE_COLOURPICKERCTRL
11253 { echo "$as_me:$LINENO: result: $result" >&5
11254 echo "${ECHO_T}$result" >&6; }
11258 defaultval=$wxUSE_ALL_FEATURES
11259 if test -z "$defaultval"; then
11260 if test x"$enablestring" = xdisable; then
11267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11268 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11269 # Check whether --enable-combobox was given.
11270 if test "${enable_combobox+set}" = set; then
11271 enableval=$enable_combobox;
11272 if test "$enableval" = yes; then
11273 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11275 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11282 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11283 if test "x$LINE" != x ; then
11284 eval "DEFAULT_$LINE"
11287 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11292 eval "$wx_cv_use_combobox"
11293 if test "x$cache" = xyes; then
11294 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11297 if test x"$enablestring" = xdisable; then
11298 if test $wxUSE_COMBOBOX = yes; then
11304 result=$wxUSE_COMBOBOX
11307 { echo "$as_me:$LINENO: result: $result" >&5
11308 echo "${ECHO_T}$result" >&6; }
11312 defaultval=$wxUSE_ALL_FEATURES
11313 if test -z "$defaultval"; then
11314 if test x"$enablestring" = xdisable; then
11321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11322 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11323 # Check whether --enable-comboctrl was given.
11324 if test "${enable_comboctrl+set}" = set; then
11325 enableval=$enable_comboctrl;
11326 if test "$enableval" = yes; then
11327 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11329 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11336 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11337 if test "x$LINE" != x ; then
11338 eval "DEFAULT_$LINE"
11341 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11346 eval "$wx_cv_use_comboctrl"
11347 if test "x$cache" = xyes; then
11348 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11351 if test x"$enablestring" = xdisable; then
11352 if test $wxUSE_COMBOCTRL = yes; then
11358 result=$wxUSE_COMBOCTRL
11361 { echo "$as_me:$LINENO: result: $result" >&5
11362 echo "${ECHO_T}$result" >&6; }
11366 defaultval=$wxUSE_ALL_FEATURES
11367 if test -z "$defaultval"; then
11368 if test x"$enablestring" = xdisable; then
11375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11376 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11377 # Check whether --enable-datepick was given.
11378 if test "${enable_datepick+set}" = set; then
11379 enableval=$enable_datepick;
11380 if test "$enableval" = yes; then
11381 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11383 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11390 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11391 if test "x$LINE" != x ; then
11392 eval "DEFAULT_$LINE"
11395 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11400 eval "$wx_cv_use_datepick"
11401 if test "x$cache" = xyes; then
11402 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11405 if test x"$enablestring" = xdisable; then
11406 if test $wxUSE_DATEPICKCTRL = yes; then
11412 result=$wxUSE_DATEPICKCTRL
11415 { echo "$as_me:$LINENO: result: $result" >&5
11416 echo "${ECHO_T}$result" >&6; }
11420 defaultval=$wxUSE_ALL_FEATURES
11421 if test -z "$defaultval"; then
11422 if test x"$enablestring" = xdisable; then
11429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11430 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11431 # Check whether --enable-dirpicker was given.
11432 if test "${enable_dirpicker+set}" = set; then
11433 enableval=$enable_dirpicker;
11434 if test "$enableval" = yes; then
11435 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11437 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11444 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11445 if test "x$LINE" != x ; then
11446 eval "DEFAULT_$LINE"
11449 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11454 eval "$wx_cv_use_dirpicker"
11455 if test "x$cache" = xyes; then
11456 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11459 if test x"$enablestring" = xdisable; then
11460 if test $wxUSE_DIRPICKERCTRL = yes; then
11466 result=$wxUSE_DIRPICKERCTRL
11469 { echo "$as_me:$LINENO: result: $result" >&5
11470 echo "${ECHO_T}$result" >&6; }
11474 defaultval=$wxUSE_ALL_FEATURES
11475 if test -z "$defaultval"; then
11476 if test x"$enablestring" = xdisable; then
11483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11485 # Check whether --enable-display was given.
11486 if test "${enable_display+set}" = set; then
11487 enableval=$enable_display;
11488 if test "$enableval" = yes; then
11489 wx_cv_use_display='wxUSE_DISPLAY=yes'
11491 wx_cv_use_display='wxUSE_DISPLAY=no'
11498 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11499 if test "x$LINE" != x ; then
11500 eval "DEFAULT_$LINE"
11503 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11508 eval "$wx_cv_use_display"
11509 if test "x$cache" = xyes; then
11510 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11513 if test x"$enablestring" = xdisable; then
11514 if test $wxUSE_DISPLAY = yes; then
11520 result=$wxUSE_DISPLAY
11523 { echo "$as_me:$LINENO: result: $result" >&5
11524 echo "${ECHO_T}$result" >&6; }
11528 defaultval=$wxUSE_ALL_FEATURES
11529 if test -z "$defaultval"; then
11530 if test x"$enablestring" = xdisable; then
11537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11538 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11539 # Check whether --enable-detect_sm was given.
11540 if test "${enable_detect_sm+set}" = set; then
11541 enableval=$enable_detect_sm;
11542 if test "$enableval" = yes; then
11543 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11545 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11552 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11553 if test "x$LINE" != x ; then
11554 eval "DEFAULT_$LINE"
11557 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11562 eval "$wx_cv_use_detect_sm"
11563 if test "x$cache" = xyes; then
11564 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11567 if test x"$enablestring" = xdisable; then
11568 if test $wxUSE_DETECT_SM = yes; then
11574 result=$wxUSE_DETECT_SM
11577 { echo "$as_me:$LINENO: result: $result" >&5
11578 echo "${ECHO_T}$result" >&6; }
11582 defaultval=$wxUSE_ALL_FEATURES
11583 if test -z "$defaultval"; then
11584 if test x"$enablestring" = xdisable; then
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11593 # Check whether --enable-editablebox was given.
11594 if test "${enable_editablebox+set}" = set; then
11595 enableval=$enable_editablebox;
11596 if test "$enableval" = yes; then
11597 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11599 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11606 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11607 if test "x$LINE" != x ; then
11608 eval "DEFAULT_$LINE"
11611 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11616 eval "$wx_cv_use_editablebox"
11617 if test "x$cache" = xyes; then
11618 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11621 if test x"$enablestring" = xdisable; then
11622 if test $wxUSE_EDITABLELISTBOX = yes; then
11628 result=$wxUSE_EDITABLELISTBOX
11631 { echo "$as_me:$LINENO: result: $result" >&5
11632 echo "${ECHO_T}$result" >&6; }
11636 defaultval=$wxUSE_ALL_FEATURES
11637 if test -z "$defaultval"; then
11638 if test x"$enablestring" = xdisable; then
11645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11646 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11647 # Check whether --enable-filepicker was given.
11648 if test "${enable_filepicker+set}" = set; then
11649 enableval=$enable_filepicker;
11650 if test "$enableval" = yes; then
11651 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11653 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11660 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11661 if test "x$LINE" != x ; then
11662 eval "DEFAULT_$LINE"
11665 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11670 eval "$wx_cv_use_filepicker"
11671 if test "x$cache" = xyes; then
11672 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11675 if test x"$enablestring" = xdisable; then
11676 if test $wxUSE_FILEPICKERCTRL = yes; then
11682 result=$wxUSE_FILEPICKERCTRL
11685 { echo "$as_me:$LINENO: result: $result" >&5
11686 echo "${ECHO_T}$result" >&6; }
11690 defaultval=$wxUSE_ALL_FEATURES
11691 if test -z "$defaultval"; then
11692 if test x"$enablestring" = xdisable; then
11699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11700 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11701 # Check whether --enable-fontpicker was given.
11702 if test "${enable_fontpicker+set}" = set; then
11703 enableval=$enable_fontpicker;
11704 if test "$enableval" = yes; then
11705 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11707 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11714 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11715 if test "x$LINE" != x ; then
11716 eval "DEFAULT_$LINE"
11719 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11724 eval "$wx_cv_use_fontpicker"
11725 if test "x$cache" = xyes; then
11726 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11729 if test x"$enablestring" = xdisable; then
11730 if test $wxUSE_FONTPICKERCTRL = yes; then
11736 result=$wxUSE_FONTPICKERCTRL
11739 { echo "$as_me:$LINENO: result: $result" >&5
11740 echo "${ECHO_T}$result" >&6; }
11744 defaultval=$wxUSE_ALL_FEATURES
11745 if test -z "$defaultval"; then
11746 if test x"$enablestring" = xdisable; then
11753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11754 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11755 # Check whether --enable-gauge was given.
11756 if test "${enable_gauge+set}" = set; then
11757 enableval=$enable_gauge;
11758 if test "$enableval" = yes; then
11759 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11761 wx_cv_use_gauge='wxUSE_GAUGE=no'
11768 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11769 if test "x$LINE" != x ; then
11770 eval "DEFAULT_$LINE"
11773 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11778 eval "$wx_cv_use_gauge"
11779 if test "x$cache" = xyes; then
11780 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11783 if test x"$enablestring" = xdisable; then
11784 if test $wxUSE_GAUGE = yes; then
11790 result=$wxUSE_GAUGE
11793 { echo "$as_me:$LINENO: result: $result" >&5
11794 echo "${ECHO_T}$result" >&6; }
11798 defaultval=$wxUSE_ALL_FEATURES
11799 if test -z "$defaultval"; then
11800 if test x"$enablestring" = xdisable; then
11807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11808 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11809 # Check whether --enable-grid was given.
11810 if test "${enable_grid+set}" = set; then
11811 enableval=$enable_grid;
11812 if test "$enableval" = yes; then
11813 wx_cv_use_grid='wxUSE_GRID=yes'
11815 wx_cv_use_grid='wxUSE_GRID=no'
11822 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11823 if test "x$LINE" != x ; then
11824 eval "DEFAULT_$LINE"
11827 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11832 eval "$wx_cv_use_grid"
11833 if test "x$cache" = xyes; then
11834 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11837 if test x"$enablestring" = xdisable; then
11838 if test $wxUSE_GRID = yes; then
11847 { echo "$as_me:$LINENO: result: $result" >&5
11848 echo "${ECHO_T}$result" >&6; }
11852 defaultval=$wxUSE_ALL_FEATURES
11853 if test -z "$defaultval"; then
11854 if test x"$enablestring" = xdisable; then
11861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11862 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11863 # Check whether --enable-dataviewctrl was given.
11864 if test "${enable_dataviewctrl+set}" = set; then
11865 enableval=$enable_dataviewctrl;
11866 if test "$enableval" = yes; then
11867 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11869 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11876 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11877 if test "x$LINE" != x ; then
11878 eval "DEFAULT_$LINE"
11881 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11886 eval "$wx_cv_use_dataviewctrl"
11887 if test "x$cache" = xyes; then
11888 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_DATAVIEWCTRL = yes; then
11898 result=$wxUSE_DATAVIEWCTRL
11901 { echo "$as_me:$LINENO: result: $result" >&5
11902 echo "${ECHO_T}$result" >&6; }
11906 defaultval=$wxUSE_ALL_FEATURES
11907 if test -z "$defaultval"; then
11908 if test x"$enablestring" = xdisable; then
11915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11916 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11917 # Check whether --enable-hyperlink was given.
11918 if test "${enable_hyperlink+set}" = set; then
11919 enableval=$enable_hyperlink;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11923 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11930 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11931 if test "x$LINE" != x ; then
11932 eval "DEFAULT_$LINE"
11935 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11940 eval "$wx_cv_use_hyperlink"
11941 if test "x$cache" = xyes; then
11942 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11945 if test x"$enablestring" = xdisable; then
11946 if test $wxUSE_HYPERLINKCTRL = yes; then
11952 result=$wxUSE_HYPERLINKCTRL
11955 { echo "$as_me:$LINENO: result: $result" >&5
11956 echo "${ECHO_T}$result" >&6; }
11960 defaultval=$wxUSE_ALL_FEATURES
11961 if test -z "$defaultval"; then
11962 if test x"$enablestring" = xdisable; then
11969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11970 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11971 # Check whether --enable-imaglist was given.
11972 if test "${enable_imaglist+set}" = set; then
11973 enableval=$enable_imaglist;
11974 if test "$enableval" = yes; then
11975 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11977 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11984 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11985 if test "x$LINE" != x ; then
11986 eval "DEFAULT_$LINE"
11989 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11994 eval "$wx_cv_use_imaglist"
11995 if test "x$cache" = xyes; then
11996 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11999 if test x"$enablestring" = xdisable; then
12000 if test $wxUSE_IMAGLIST = yes; then
12006 result=$wxUSE_IMAGLIST
12009 { echo "$as_me:$LINENO: result: $result" >&5
12010 echo "${ECHO_T}$result" >&6; }
12014 defaultval=$wxUSE_ALL_FEATURES
12015 if test -z "$defaultval"; then
12016 if test x"$enablestring" = xdisable; then
12023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12024 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12025 # Check whether --enable-listbook was given.
12026 if test "${enable_listbook+set}" = set; then
12027 enableval=$enable_listbook;
12028 if test "$enableval" = yes; then
12029 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12031 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12038 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12039 if test "x$LINE" != x ; then
12040 eval "DEFAULT_$LINE"
12043 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12048 eval "$wx_cv_use_listbook"
12049 if test "x$cache" = xyes; then
12050 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12053 if test x"$enablestring" = xdisable; then
12054 if test $wxUSE_LISTBOOK = yes; then
12060 result=$wxUSE_LISTBOOK
12063 { echo "$as_me:$LINENO: result: $result" >&5
12064 echo "${ECHO_T}$result" >&6; }
12068 defaultval=$wxUSE_ALL_FEATURES
12069 if test -z "$defaultval"; then
12070 if test x"$enablestring" = xdisable; then
12077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12078 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12079 # Check whether --enable-listbox was given.
12080 if test "${enable_listbox+set}" = set; then
12081 enableval=$enable_listbox;
12082 if test "$enableval" = yes; then
12083 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12085 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12092 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12093 if test "x$LINE" != x ; then
12094 eval "DEFAULT_$LINE"
12097 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12102 eval "$wx_cv_use_listbox"
12103 if test "x$cache" = xyes; then
12104 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12107 if test x"$enablestring" = xdisable; then
12108 if test $wxUSE_LISTBOX = yes; then
12114 result=$wxUSE_LISTBOX
12117 { echo "$as_me:$LINENO: result: $result" >&5
12118 echo "${ECHO_T}$result" >&6; }
12122 defaultval=$wxUSE_ALL_FEATURES
12123 if test -z "$defaultval"; then
12124 if test x"$enablestring" = xdisable; then
12131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12132 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12133 # Check whether --enable-listctrl was given.
12134 if test "${enable_listctrl+set}" = set; then
12135 enableval=$enable_listctrl;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12139 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12146 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12147 if test "x$LINE" != x ; then
12148 eval "DEFAULT_$LINE"
12151 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12156 eval "$wx_cv_use_listctrl"
12157 if test "x$cache" = xyes; then
12158 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12161 if test x"$enablestring" = xdisable; then
12162 if test $wxUSE_LISTCTRL = yes; then
12168 result=$wxUSE_LISTCTRL
12171 { echo "$as_me:$LINENO: result: $result" >&5
12172 echo "${ECHO_T}$result" >&6; }
12176 defaultval=$wxUSE_ALL_FEATURES
12177 if test -z "$defaultval"; then
12178 if test x"$enablestring" = xdisable; then
12185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12186 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12187 # Check whether --enable-notebook was given.
12188 if test "${enable_notebook+set}" = set; then
12189 enableval=$enable_notebook;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12193 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12200 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12201 if test "x$LINE" != x ; then
12202 eval "DEFAULT_$LINE"
12205 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12210 eval "$wx_cv_use_notebook"
12211 if test "x$cache" = xyes; then
12212 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12215 if test x"$enablestring" = xdisable; then
12216 if test $wxUSE_NOTEBOOK = yes; then
12222 result=$wxUSE_NOTEBOOK
12225 { echo "$as_me:$LINENO: result: $result" >&5
12226 echo "${ECHO_T}$result" >&6; }
12230 defaultval=$wxUSE_ALL_FEATURES
12231 if test -z "$defaultval"; then
12232 if test x"$enablestring" = xdisable; then
12239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12240 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12241 # Check whether --enable-odcombobox was given.
12242 if test "${enable_odcombobox+set}" = set; then
12243 enableval=$enable_odcombobox;
12244 if test "$enableval" = yes; then
12245 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12247 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12254 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12255 if test "x$LINE" != x ; then
12256 eval "DEFAULT_$LINE"
12259 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12264 eval "$wx_cv_use_odcombobox"
12265 if test "x$cache" = xyes; then
12266 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12269 if test x"$enablestring" = xdisable; then
12270 if test $wxUSE_ODCOMBOBOX = yes; then
12276 result=$wxUSE_ODCOMBOBOX
12279 { echo "$as_me:$LINENO: result: $result" >&5
12280 echo "${ECHO_T}$result" >&6; }
12284 defaultval=$wxUSE_ALL_FEATURES
12285 if test -z "$defaultval"; then
12286 if test x"$enablestring" = xdisable; then
12293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12294 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12295 # Check whether --enable-radiobox was given.
12296 if test "${enable_radiobox+set}" = set; then
12297 enableval=$enable_radiobox;
12298 if test "$enableval" = yes; then
12299 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12301 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12308 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12309 if test "x$LINE" != x ; then
12310 eval "DEFAULT_$LINE"
12313 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12318 eval "$wx_cv_use_radiobox"
12319 if test "x$cache" = xyes; then
12320 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12323 if test x"$enablestring" = xdisable; then
12324 if test $wxUSE_RADIOBOX = yes; then
12330 result=$wxUSE_RADIOBOX
12333 { echo "$as_me:$LINENO: result: $result" >&5
12334 echo "${ECHO_T}$result" >&6; }
12338 defaultval=$wxUSE_ALL_FEATURES
12339 if test -z "$defaultval"; then
12340 if test x"$enablestring" = xdisable; then
12347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12348 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12349 # Check whether --enable-radiobtn was given.
12350 if test "${enable_radiobtn+set}" = set; then
12351 enableval=$enable_radiobtn;
12352 if test "$enableval" = yes; then
12353 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12355 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12362 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12363 if test "x$LINE" != x ; then
12364 eval "DEFAULT_$LINE"
12367 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12372 eval "$wx_cv_use_radiobtn"
12373 if test "x$cache" = xyes; then
12374 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_RADIOBTN = yes; then
12384 result=$wxUSE_RADIOBTN
12387 { echo "$as_me:$LINENO: result: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12403 # Check whether --enable-sash was given.
12404 if test "${enable_sash+set}" = set; then
12405 enableval=$enable_sash;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_sash='wxUSE_SASH=yes'
12409 wx_cv_use_sash='wxUSE_SASH=no'
12416 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12417 if test "x$LINE" != x ; then
12418 eval "DEFAULT_$LINE"
12421 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12426 eval "$wx_cv_use_sash"
12427 if test "x$cache" = xyes; then
12428 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12431 if test x"$enablestring" = xdisable; then
12432 if test $wxUSE_SASH = yes; then
12441 { echo "$as_me:$LINENO: result: $result" >&5
12442 echo "${ECHO_T}$result" >&6; }
12446 defaultval=$wxUSE_ALL_FEATURES
12447 if test -z "$defaultval"; then
12448 if test x"$enablestring" = xdisable; then
12455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12456 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12457 # Check whether --enable-scrollbar was given.
12458 if test "${enable_scrollbar+set}" = set; then
12459 enableval=$enable_scrollbar;
12460 if test "$enableval" = yes; then
12461 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12463 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12470 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12471 if test "x$LINE" != x ; then
12472 eval "DEFAULT_$LINE"
12475 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12480 eval "$wx_cv_use_scrollbar"
12481 if test "x$cache" = xyes; then
12482 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12485 if test x"$enablestring" = xdisable; then
12486 if test $wxUSE_SCROLLBAR = yes; then
12492 result=$wxUSE_SCROLLBAR
12495 { echo "$as_me:$LINENO: result: $result" >&5
12496 echo "${ECHO_T}$result" >&6; }
12500 defaultval=$wxUSE_ALL_FEATURES
12501 if test -z "$defaultval"; then
12502 if test x"$enablestring" = xdisable; then
12509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12510 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12511 # Check whether --enable-searchctrl was given.
12512 if test "${enable_searchctrl+set}" = set; then
12513 enableval=$enable_searchctrl;
12514 if test "$enableval" = yes; then
12515 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12517 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12524 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12525 if test "x$LINE" != x ; then
12526 eval "DEFAULT_$LINE"
12529 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12534 eval "$wx_cv_use_searchctrl"
12535 if test "x$cache" = xyes; then
12536 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12539 if test x"$enablestring" = xdisable; then
12540 if test $wxUSE_SEARCHCTRL = yes; then
12546 result=$wxUSE_SEARCHCTRL
12549 { echo "$as_me:$LINENO: result: $result" >&5
12550 echo "${ECHO_T}$result" >&6; }
12554 defaultval=$wxUSE_ALL_FEATURES
12555 if test -z "$defaultval"; then
12556 if test x"$enablestring" = xdisable; then
12563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12564 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12565 # Check whether --enable-slider was given.
12566 if test "${enable_slider+set}" = set; then
12567 enableval=$enable_slider;
12568 if test "$enableval" = yes; then
12569 wx_cv_use_slider='wxUSE_SLIDER=yes'
12571 wx_cv_use_slider='wxUSE_SLIDER=no'
12578 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12579 if test "x$LINE" != x ; then
12580 eval "DEFAULT_$LINE"
12583 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12588 eval "$wx_cv_use_slider"
12589 if test "x$cache" = xyes; then
12590 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12593 if test x"$enablestring" = xdisable; then
12594 if test $wxUSE_SLIDER = yes; then
12600 result=$wxUSE_SLIDER
12603 { echo "$as_me:$LINENO: result: $result" >&5
12604 echo "${ECHO_T}$result" >&6; }
12608 defaultval=$wxUSE_ALL_FEATURES
12609 if test -z "$defaultval"; then
12610 if test x"$enablestring" = xdisable; then
12617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12618 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12619 # Check whether --enable-spinbtn was given.
12620 if test "${enable_spinbtn+set}" = set; then
12621 enableval=$enable_spinbtn;
12622 if test "$enableval" = yes; then
12623 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12625 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12632 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12633 if test "x$LINE" != x ; then
12634 eval "DEFAULT_$LINE"
12637 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12642 eval "$wx_cv_use_spinbtn"
12643 if test "x$cache" = xyes; then
12644 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12647 if test x"$enablestring" = xdisable; then
12648 if test $wxUSE_SPINBTN = yes; then
12654 result=$wxUSE_SPINBTN
12657 { echo "$as_me:$LINENO: result: $result" >&5
12658 echo "${ECHO_T}$result" >&6; }
12662 defaultval=$wxUSE_ALL_FEATURES
12663 if test -z "$defaultval"; then
12664 if test x"$enablestring" = xdisable; then
12671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12672 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12673 # Check whether --enable-spinctrl was given.
12674 if test "${enable_spinctrl+set}" = set; then
12675 enableval=$enable_spinctrl;
12676 if test "$enableval" = yes; then
12677 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12679 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12686 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12687 if test "x$LINE" != x ; then
12688 eval "DEFAULT_$LINE"
12691 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12696 eval "$wx_cv_use_spinctrl"
12697 if test "x$cache" = xyes; then
12698 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12701 if test x"$enablestring" = xdisable; then
12702 if test $wxUSE_SPINCTRL = yes; then
12708 result=$wxUSE_SPINCTRL
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}-splitter" >&5
12726 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12727 # Check whether --enable-splitter was given.
12728 if test "${enable_splitter+set}" = set; then
12729 enableval=$enable_splitter;
12730 if test "$enableval" = yes; then
12731 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12733 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12740 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12741 if test "x$LINE" != x ; then
12742 eval "DEFAULT_$LINE"
12745 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12750 eval "$wx_cv_use_splitter"
12751 if test "x$cache" = xyes; then
12752 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12755 if test x"$enablestring" = xdisable; then
12756 if test $wxUSE_SPLITTER = yes; then
12762 result=$wxUSE_SPLITTER
12765 { echo "$as_me:$LINENO: result: $result" >&5
12766 echo "${ECHO_T}$result" >&6; }
12770 defaultval=$wxUSE_ALL_FEATURES
12771 if test -z "$defaultval"; then
12772 if test x"$enablestring" = xdisable; then
12779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12780 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12781 # Check whether --enable-statbmp was given.
12782 if test "${enable_statbmp+set}" = set; then
12783 enableval=$enable_statbmp;
12784 if test "$enableval" = yes; then
12785 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12787 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12794 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12795 if test "x$LINE" != x ; then
12796 eval "DEFAULT_$LINE"
12799 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12804 eval "$wx_cv_use_statbmp"
12805 if test "x$cache" = xyes; then
12806 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12809 if test x"$enablestring" = xdisable; then
12810 if test $wxUSE_STATBMP = yes; then
12816 result=$wxUSE_STATBMP
12819 { echo "$as_me:$LINENO: result: $result" >&5
12820 echo "${ECHO_T}$result" >&6; }
12824 defaultval=$wxUSE_ALL_FEATURES
12825 if test -z "$defaultval"; then
12826 if test x"$enablestring" = xdisable; then
12833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12834 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12835 # Check whether --enable-statbox was given.
12836 if test "${enable_statbox+set}" = set; then
12837 enableval=$enable_statbox;
12838 if test "$enableval" = yes; then
12839 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12841 wx_cv_use_statbox='wxUSE_STATBOX=no'
12848 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12849 if test "x$LINE" != x ; then
12850 eval "DEFAULT_$LINE"
12853 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12858 eval "$wx_cv_use_statbox"
12859 if test "x$cache" = xyes; then
12860 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12863 if test x"$enablestring" = xdisable; then
12864 if test $wxUSE_STATBOX = yes; then
12870 result=$wxUSE_STATBOX
12873 { echo "$as_me:$LINENO: result: $result" >&5
12874 echo "${ECHO_T}$result" >&6; }
12878 defaultval=$wxUSE_ALL_FEATURES
12879 if test -z "$defaultval"; then
12880 if test x"$enablestring" = xdisable; then
12887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12888 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12889 # Check whether --enable-statline was given.
12890 if test "${enable_statline+set}" = set; then
12891 enableval=$enable_statline;
12892 if test "$enableval" = yes; then
12893 wx_cv_use_statline='wxUSE_STATLINE=yes'
12895 wx_cv_use_statline='wxUSE_STATLINE=no'
12902 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12903 if test "x$LINE" != x ; then
12904 eval "DEFAULT_$LINE"
12907 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12912 eval "$wx_cv_use_statline"
12913 if test "x$cache" = xyes; then
12914 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12917 if test x"$enablestring" = xdisable; then
12918 if test $wxUSE_STATLINE = yes; then
12924 result=$wxUSE_STATLINE
12927 { echo "$as_me:$LINENO: result: $result" >&5
12928 echo "${ECHO_T}$result" >&6; }
12932 defaultval=$wxUSE_ALL_FEATURES
12933 if test -z "$defaultval"; then
12934 if test x"$enablestring" = xdisable; then
12941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12942 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12943 # Check whether --enable-stattext was given.
12944 if test "${enable_stattext+set}" = set; then
12945 enableval=$enable_stattext;
12946 if test "$enableval" = yes; then
12947 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12949 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12956 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12957 if test "x$LINE" != x ; then
12958 eval "DEFAULT_$LINE"
12961 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12966 eval "$wx_cv_use_stattext"
12967 if test "x$cache" = xyes; then
12968 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12971 if test x"$enablestring" = xdisable; then
12972 if test $wxUSE_STATTEXT = yes; then
12978 result=$wxUSE_STATTEXT
12981 { echo "$as_me:$LINENO: result: $result" >&5
12982 echo "${ECHO_T}$result" >&6; }
12986 defaultval=$wxUSE_ALL_FEATURES
12987 if test -z "$defaultval"; then
12988 if test x"$enablestring" = xdisable; then
12995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12996 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12997 # Check whether --enable-statusbar was given.
12998 if test "${enable_statusbar+set}" = set; then
12999 enableval=$enable_statusbar;
13000 if test "$enableval" = yes; then
13001 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13003 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13010 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13011 if test "x$LINE" != x ; then
13012 eval "DEFAULT_$LINE"
13015 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13020 eval "$wx_cv_use_statusbar"
13021 if test "x$cache" = xyes; then
13022 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13025 if test x"$enablestring" = xdisable; then
13026 if test $wxUSE_STATUSBAR = yes; then
13032 result=$wxUSE_STATUSBAR
13035 { echo "$as_me:$LINENO: result: $result" >&5
13036 echo "${ECHO_T}$result" >&6; }
13040 defaultval=$wxUSE_ALL_FEATURES
13041 if test -z "$defaultval"; then
13042 if test x"$enablestring" = xdisable; then
13049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13050 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13051 # Check whether --enable-tabdialog was given.
13052 if test "${enable_tabdialog+set}" = set; then
13053 enableval=$enable_tabdialog;
13054 if test "$enableval" = yes; then
13055 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13057 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13064 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13065 if test "x$LINE" != x ; then
13066 eval "DEFAULT_$LINE"
13069 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13074 eval "$wx_cv_use_tabdialog"
13075 if test "x$cache" = xyes; then
13076 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13079 if test x"$enablestring" = xdisable; then
13080 if test $wxUSE_TAB_DIALOG = yes; then
13086 result=$wxUSE_TAB_DIALOG
13089 { echo "$as_me:$LINENO: result: $result" >&5
13090 echo "${ECHO_T}$result" >&6; }
13094 defaultval=$wxUSE_ALL_FEATURES
13095 if test -z "$defaultval"; then
13096 if test x"$enablestring" = xdisable; then
13103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13104 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13105 # Check whether --enable-taskbaricon was given.
13106 if test "${enable_taskbaricon+set}" = set; then
13107 enableval=$enable_taskbaricon;
13108 if test "$enableval" = yes; then
13109 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13111 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13118 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13119 if test "x$LINE" != x ; then
13120 eval "DEFAULT_$LINE"
13123 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13128 eval "$wx_cv_use_taskbaricon"
13129 if test "x$cache" = xyes; then
13130 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13133 if test x"$enablestring" = xdisable; then
13134 if test $wxUSE_TASKBARICON = yes; then
13140 result=$wxUSE_TASKBARICON
13143 { echo "$as_me:$LINENO: result: $result" >&5
13144 echo "${ECHO_T}$result" >&6; }
13148 defaultval=$wxUSE_ALL_FEATURES
13149 if test -z "$defaultval"; then
13150 if test x"$enablestring" = xdisable; then
13157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13158 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13159 # Check whether --enable-textctrl was given.
13160 if test "${enable_textctrl+set}" = set; then
13161 enableval=$enable_textctrl;
13162 if test "$enableval" = yes; then
13163 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13165 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13172 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13173 if test "x$LINE" != x ; then
13174 eval "DEFAULT_$LINE"
13177 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13182 eval "$wx_cv_use_textctrl"
13183 if test "x$cache" = xyes; then
13184 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13187 if test x"$enablestring" = xdisable; then
13188 if test $wxUSE_TEXTCTRL = yes; then
13194 result=$wxUSE_TEXTCTRL
13197 { echo "$as_me:$LINENO: result: $result" >&5
13198 echo "${ECHO_T}$result" >&6; }
13202 defaultval=$wxUSE_ALL_FEATURES
13203 if test -z "$defaultval"; then
13204 if test x"$enablestring" = xdisable; then
13211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13212 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13213 # Check whether --enable-togglebtn was given.
13214 if test "${enable_togglebtn+set}" = set; then
13215 enableval=$enable_togglebtn;
13216 if test "$enableval" = yes; then
13217 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13219 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13226 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13227 if test "x$LINE" != x ; then
13228 eval "DEFAULT_$LINE"
13231 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13236 eval "$wx_cv_use_togglebtn"
13237 if test "x$cache" = xyes; then
13238 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13241 if test x"$enablestring" = xdisable; then
13242 if test $wxUSE_TOGGLEBTN = yes; then
13248 result=$wxUSE_TOGGLEBTN
13251 { echo "$as_me:$LINENO: result: $result" >&5
13252 echo "${ECHO_T}$result" >&6; }
13256 defaultval=$wxUSE_ALL_FEATURES
13257 if test -z "$defaultval"; then
13258 if test x"$enablestring" = xdisable; then
13265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13266 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13267 # Check whether --enable-toolbar was given.
13268 if test "${enable_toolbar+set}" = set; then
13269 enableval=$enable_toolbar;
13270 if test "$enableval" = yes; then
13271 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13273 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13280 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13281 if test "x$LINE" != x ; then
13282 eval "DEFAULT_$LINE"
13285 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13290 eval "$wx_cv_use_toolbar"
13291 if test "x$cache" = xyes; then
13292 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13295 if test x"$enablestring" = xdisable; then
13296 if test $wxUSE_TOOLBAR = yes; then
13302 result=$wxUSE_TOOLBAR
13305 { echo "$as_me:$LINENO: result: $result" >&5
13306 echo "${ECHO_T}$result" >&6; }
13310 defaultval=$wxUSE_ALL_FEATURES
13311 if test -z "$defaultval"; then
13312 if test x"$enablestring" = xdisable; then
13319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13320 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13321 # Check whether --enable-tbarnative was given.
13322 if test "${enable_tbarnative+set}" = set; then
13323 enableval=$enable_tbarnative;
13324 if test "$enableval" = yes; then
13325 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13327 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13334 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13335 if test "x$LINE" != x ; then
13336 eval "DEFAULT_$LINE"
13339 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13344 eval "$wx_cv_use_tbarnative"
13345 if test "x$cache" = xyes; then
13346 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13349 if test x"$enablestring" = xdisable; then
13350 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13356 result=$wxUSE_TOOLBAR_NATIVE
13359 { echo "$as_me:$LINENO: result: $result" >&5
13360 echo "${ECHO_T}$result" >&6; }
13364 defaultval=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x"$enablestring" = xdisable; then
13373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13374 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13375 # Check whether --enable-treebook was given.
13376 if test "${enable_treebook+set}" = set; then
13377 enableval=$enable_treebook;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13381 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13388 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13389 if test "x$LINE" != x ; then
13390 eval "DEFAULT_$LINE"
13393 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13398 eval "$wx_cv_use_treebook"
13399 if test "x$cache" = xyes; then
13400 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13403 if test x"$enablestring" = xdisable; then
13404 if test $wxUSE_TREEBOOK = yes; then
13410 result=$wxUSE_TREEBOOK
13413 { echo "$as_me:$LINENO: result: $result" >&5
13414 echo "${ECHO_T}$result" >&6; }
13418 defaultval=$wxUSE_ALL_FEATURES
13419 if test -z "$defaultval"; then
13420 if test x"$enablestring" = xdisable; then
13427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13428 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13429 # Check whether --enable-toolbook was given.
13430 if test "${enable_toolbook+set}" = set; then
13431 enableval=$enable_toolbook;
13432 if test "$enableval" = yes; then
13433 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13435 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13442 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13443 if test "x$LINE" != x ; then
13444 eval "DEFAULT_$LINE"
13447 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13452 eval "$wx_cv_use_toolbook"
13453 if test "x$cache" = xyes; then
13454 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13457 if test x"$enablestring" = xdisable; then
13458 if test $wxUSE_TOOLBOOK = yes; then
13464 result=$wxUSE_TOOLBOOK
13467 { echo "$as_me:$LINENO: result: $result" >&5
13468 echo "${ECHO_T}$result" >&6; }
13472 defaultval=$wxUSE_ALL_FEATURES
13473 if test -z "$defaultval"; then
13474 if test x"$enablestring" = xdisable; then
13481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13482 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13483 # Check whether --enable-treectrl was given.
13484 if test "${enable_treectrl+set}" = set; then
13485 enableval=$enable_treectrl;
13486 if test "$enableval" = yes; then
13487 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13489 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13496 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13497 if test "x$LINE" != x ; then
13498 eval "DEFAULT_$LINE"
13501 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13506 eval "$wx_cv_use_treectrl"
13507 if test "x$cache" = xyes; then
13508 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13511 if test x"$enablestring" = xdisable; then
13512 if test $wxUSE_TREECTRL = yes; then
13518 result=$wxUSE_TREECTRL
13521 { echo "$as_me:$LINENO: result: $result" >&5
13522 echo "${ECHO_T}$result" >&6; }
13526 defaultval=$wxUSE_ALL_FEATURES
13527 if test -z "$defaultval"; then
13528 if test x"$enablestring" = xdisable; then
13535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13536 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13537 # Check whether --enable-tipwindow was given.
13538 if test "${enable_tipwindow+set}" = set; then
13539 enableval=$enable_tipwindow;
13540 if test "$enableval" = yes; then
13541 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13543 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13550 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13551 if test "x$LINE" != x ; then
13552 eval "DEFAULT_$LINE"
13555 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13560 eval "$wx_cv_use_tipwindow"
13561 if test "x$cache" = xyes; then
13562 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13565 if test x"$enablestring" = xdisable; then
13566 if test $wxUSE_TIPWINDOW = yes; then
13572 result=$wxUSE_TIPWINDOW
13575 { echo "$as_me:$LINENO: result: $result" >&5
13576 echo "${ECHO_T}$result" >&6; }
13580 defaultval=$wxUSE_ALL_FEATURES
13581 if test -z "$defaultval"; then
13582 if test x"$enablestring" = xdisable; then
13589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13590 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13591 # Check whether --enable-popupwin was given.
13592 if test "${enable_popupwin+set}" = set; then
13593 enableval=$enable_popupwin;
13594 if test "$enableval" = yes; then
13595 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13597 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13604 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13605 if test "x$LINE" != x ; then
13606 eval "DEFAULT_$LINE"
13609 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13614 eval "$wx_cv_use_popupwin"
13615 if test "x$cache" = xyes; then
13616 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13619 if test x"$enablestring" = xdisable; then
13620 if test $wxUSE_POPUPWIN = yes; then
13626 result=$wxUSE_POPUPWIN
13629 { echo "$as_me:$LINENO: result: $result" >&5
13630 echo "${ECHO_T}$result" >&6; }
13636 defaultval=$wxUSE_ALL_FEATURES
13637 if test -z "$defaultval"; then
13638 if test x"$enablestring" = xdisable; then
13645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13646 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13647 # Check whether --enable-commondlg was given.
13648 if test "${enable_commondlg+set}" = set; then
13649 enableval=$enable_commondlg;
13650 if test "$enableval" = yes; then
13651 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13653 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13660 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13661 if test "x$LINE" != x ; then
13662 eval "DEFAULT_$LINE"
13665 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13670 eval "$wx_cv_use_commondlg"
13671 if test "x$cache" = xyes; then
13672 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13675 if test x"$enablestring" = xdisable; then
13676 if test $wxUSE_COMMONDLGS = yes; then
13682 result=$wxUSE_COMMONDLGS
13685 { echo "$as_me:$LINENO: result: $result" >&5
13686 echo "${ECHO_T}$result" >&6; }
13690 defaultval=$wxUSE_ALL_FEATURES
13691 if test -z "$defaultval"; then
13692 if test x"$enablestring" = xdisable; then
13699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13700 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13701 # Check whether --enable-aboutdlg was given.
13702 if test "${enable_aboutdlg+set}" = set; then
13703 enableval=$enable_aboutdlg;
13704 if test "$enableval" = yes; then
13705 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13707 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13714 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13715 if test "x$LINE" != x ; then
13716 eval "DEFAULT_$LINE"
13719 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13724 eval "$wx_cv_use_aboutdlg"
13725 if test "x$cache" = xyes; then
13726 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13729 if test x"$enablestring" = xdisable; then
13730 if test $wxUSE_ABOUTDLG = yes; then
13736 result=$wxUSE_ABOUTDLG
13739 { echo "$as_me:$LINENO: result: $result" >&5
13740 echo "${ECHO_T}$result" >&6; }
13744 defaultval=$wxUSE_ALL_FEATURES
13745 if test -z "$defaultval"; then
13746 if test x"$enablestring" = xdisable; then
13753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13754 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13755 # Check whether --enable-choicedlg was given.
13756 if test "${enable_choicedlg+set}" = set; then
13757 enableval=$enable_choicedlg;
13758 if test "$enableval" = yes; then
13759 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13761 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13768 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13769 if test "x$LINE" != x ; then
13770 eval "DEFAULT_$LINE"
13773 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13778 eval "$wx_cv_use_choicedlg"
13779 if test "x$cache" = xyes; then
13780 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13783 if test x"$enablestring" = xdisable; then
13784 if test $wxUSE_CHOICEDLG = yes; then
13790 result=$wxUSE_CHOICEDLG
13793 { echo "$as_me:$LINENO: result: $result" >&5
13794 echo "${ECHO_T}$result" >&6; }
13798 defaultval=$wxUSE_ALL_FEATURES
13799 if test -z "$defaultval"; then
13800 if test x"$enablestring" = xdisable; then
13807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13808 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13809 # Check whether --enable-coldlg was given.
13810 if test "${enable_coldlg+set}" = set; then
13811 enableval=$enable_coldlg;
13812 if test "$enableval" = yes; then
13813 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13815 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13822 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13823 if test "x$LINE" != x ; then
13824 eval "DEFAULT_$LINE"
13827 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13832 eval "$wx_cv_use_coldlg"
13833 if test "x$cache" = xyes; then
13834 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13837 if test x"$enablestring" = xdisable; then
13838 if test $wxUSE_COLOURDLG = yes; then
13844 result=$wxUSE_COLOURDLG
13847 { echo "$as_me:$LINENO: result: $result" >&5
13848 echo "${ECHO_T}$result" >&6; }
13852 defaultval=$wxUSE_ALL_FEATURES
13853 if test -z "$defaultval"; then
13854 if test x"$enablestring" = xdisable; then
13861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13862 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13863 # Check whether --enable-filedlg was given.
13864 if test "${enable_filedlg+set}" = set; then
13865 enableval=$enable_filedlg;
13866 if test "$enableval" = yes; then
13867 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13869 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13876 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13877 if test "x$LINE" != x ; then
13878 eval "DEFAULT_$LINE"
13881 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13886 eval "$wx_cv_use_filedlg"
13887 if test "x$cache" = xyes; then
13888 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13891 if test x"$enablestring" = xdisable; then
13892 if test $wxUSE_FILEDLG = yes; then
13898 result=$wxUSE_FILEDLG
13901 { echo "$as_me:$LINENO: result: $result" >&5
13902 echo "${ECHO_T}$result" >&6; }
13906 defaultval=$wxUSE_ALL_FEATURES
13907 if test -z "$defaultval"; then
13908 if test x"$enablestring" = xdisable; then
13915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13916 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13917 # Check whether --enable-finddlg was given.
13918 if test "${enable_finddlg+set}" = set; then
13919 enableval=$enable_finddlg;
13920 if test "$enableval" = yes; then
13921 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13923 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13930 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13931 if test "x$LINE" != x ; then
13932 eval "DEFAULT_$LINE"
13935 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13940 eval "$wx_cv_use_finddlg"
13941 if test "x$cache" = xyes; then
13942 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13945 if test x"$enablestring" = xdisable; then
13946 if test $wxUSE_FINDREPLDLG = yes; then
13952 result=$wxUSE_FINDREPLDLG
13955 { echo "$as_me:$LINENO: result: $result" >&5
13956 echo "${ECHO_T}$result" >&6; }
13960 defaultval=$wxUSE_ALL_FEATURES
13961 if test -z "$defaultval"; then
13962 if test x"$enablestring" = xdisable; then
13969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13970 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13971 # Check whether --enable-fontdlg was given.
13972 if test "${enable_fontdlg+set}" = set; then
13973 enableval=$enable_fontdlg;
13974 if test "$enableval" = yes; then
13975 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13977 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13984 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13985 if test "x$LINE" != x ; then
13986 eval "DEFAULT_$LINE"
13989 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13994 eval "$wx_cv_use_fontdlg"
13995 if test "x$cache" = xyes; then
13996 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13999 if test x"$enablestring" = xdisable; then
14000 if test $wxUSE_FONTDLG = yes; then
14006 result=$wxUSE_FONTDLG
14009 { echo "$as_me:$LINENO: result: $result" >&5
14010 echo "${ECHO_T}$result" >&6; }
14014 defaultval=$wxUSE_ALL_FEATURES
14015 if test -z "$defaultval"; then
14016 if test x"$enablestring" = xdisable; then
14023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14024 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14025 # Check whether --enable-dirdlg was given.
14026 if test "${enable_dirdlg+set}" = set; then
14027 enableval=$enable_dirdlg;
14028 if test "$enableval" = yes; then
14029 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14031 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14038 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14039 if test "x$LINE" != x ; then
14040 eval "DEFAULT_$LINE"
14043 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14048 eval "$wx_cv_use_dirdlg"
14049 if test "x$cache" = xyes; then
14050 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14053 if test x"$enablestring" = xdisable; then
14054 if test $wxUSE_DIRDLG = yes; then
14060 result=$wxUSE_DIRDLG
14063 { echo "$as_me:$LINENO: result: $result" >&5
14064 echo "${ECHO_T}$result" >&6; }
14068 defaultval=$wxUSE_ALL_FEATURES
14069 if test -z "$defaultval"; then
14070 if test x"$enablestring" = xdisable; then
14077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14078 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14079 # Check whether --enable-msgdlg was given.
14080 if test "${enable_msgdlg+set}" = set; then
14081 enableval=$enable_msgdlg;
14082 if test "$enableval" = yes; then
14083 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14085 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14092 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14093 if test "x$LINE" != x ; then
14094 eval "DEFAULT_$LINE"
14097 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14102 eval "$wx_cv_use_msgdlg"
14103 if test "x$cache" = xyes; then
14104 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14107 if test x"$enablestring" = xdisable; then
14108 if test $wxUSE_MSGDLG = yes; then
14114 result=$wxUSE_MSGDLG
14117 { echo "$as_me:$LINENO: result: $result" >&5
14118 echo "${ECHO_T}$result" >&6; }
14122 defaultval=$wxUSE_ALL_FEATURES
14123 if test -z "$defaultval"; then
14124 if test x"$enablestring" = xdisable; then
14131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14132 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14133 # Check whether --enable-numberdlg was given.
14134 if test "${enable_numberdlg+set}" = set; then
14135 enableval=$enable_numberdlg;
14136 if test "$enableval" = yes; then
14137 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14139 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14146 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14147 if test "x$LINE" != x ; then
14148 eval "DEFAULT_$LINE"
14151 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14156 eval "$wx_cv_use_numberdlg"
14157 if test "x$cache" = xyes; then
14158 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14161 if test x"$enablestring" = xdisable; then
14162 if test $wxUSE_NUMBERDLG = yes; then
14168 result=$wxUSE_NUMBERDLG
14171 { echo "$as_me:$LINENO: result: $result" >&5
14172 echo "${ECHO_T}$result" >&6; }
14176 defaultval=$wxUSE_ALL_FEATURES
14177 if test -z "$defaultval"; then
14178 if test x"$enablestring" = xdisable; then
14185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14186 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14187 # Check whether --enable-splash was given.
14188 if test "${enable_splash+set}" = set; then
14189 enableval=$enable_splash;
14190 if test "$enableval" = yes; then
14191 wx_cv_use_splash='wxUSE_SPLASH=yes'
14193 wx_cv_use_splash='wxUSE_SPLASH=no'
14200 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14201 if test "x$LINE" != x ; then
14202 eval "DEFAULT_$LINE"
14205 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14210 eval "$wx_cv_use_splash"
14211 if test "x$cache" = xyes; then
14212 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14215 if test x"$enablestring" = xdisable; then
14216 if test $wxUSE_SPLASH = yes; then
14222 result=$wxUSE_SPLASH
14225 { echo "$as_me:$LINENO: result: $result" >&5
14226 echo "${ECHO_T}$result" >&6; }
14230 defaultval=$wxUSE_ALL_FEATURES
14231 if test -z "$defaultval"; then
14232 if test x"$enablestring" = xdisable; then
14239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14240 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14241 # Check whether --enable-textdlg was given.
14242 if test "${enable_textdlg+set}" = set; then
14243 enableval=$enable_textdlg;
14244 if test "$enableval" = yes; then
14245 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14247 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14254 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14255 if test "x$LINE" != x ; then
14256 eval "DEFAULT_$LINE"
14259 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14264 eval "$wx_cv_use_textdlg"
14265 if test "x$cache" = xyes; then
14266 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_TEXTDLG = yes; then
14276 result=$wxUSE_TEXTDLG
14279 { echo "$as_me:$LINENO: result: $result" >&5
14280 echo "${ECHO_T}$result" >&6; }
14284 defaultval=$wxUSE_ALL_FEATURES
14285 if test -z "$defaultval"; then
14286 if test x"$enablestring" = xdisable; then
14293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14295 # Check whether --enable-tipdlg was given.
14296 if test "${enable_tipdlg+set}" = set; then
14297 enableval=$enable_tipdlg;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14301 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14308 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14309 if test "x$LINE" != x ; then
14310 eval "DEFAULT_$LINE"
14313 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14318 eval "$wx_cv_use_tipdlg"
14319 if test "x$cache" = xyes; then
14320 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14323 if test x"$enablestring" = xdisable; then
14324 if test $wxUSE_STARTUP_TIPS = yes; then
14330 result=$wxUSE_STARTUP_TIPS
14333 { echo "$as_me:$LINENO: result: $result" >&5
14334 echo "${ECHO_T}$result" >&6; }
14338 defaultval=$wxUSE_ALL_FEATURES
14339 if test -z "$defaultval"; then
14340 if test x"$enablestring" = xdisable; then
14347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14348 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14349 # Check whether --enable-progressdlg was given.
14350 if test "${enable_progressdlg+set}" = set; then
14351 enableval=$enable_progressdlg;
14352 if test "$enableval" = yes; then
14353 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14355 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14362 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14363 if test "x$LINE" != x ; then
14364 eval "DEFAULT_$LINE"
14367 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14372 eval "$wx_cv_use_progressdlg"
14373 if test "x$cache" = xyes; then
14374 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14377 if test x"$enablestring" = xdisable; then
14378 if test $wxUSE_PROGRESSDLG = yes; then
14384 result=$wxUSE_PROGRESSDLG
14387 { echo "$as_me:$LINENO: result: $result" >&5
14388 echo "${ECHO_T}$result" >&6; }
14392 defaultval=$wxUSE_ALL_FEATURES
14393 if test -z "$defaultval"; then
14394 if test x"$enablestring" = xdisable; then
14401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14402 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14403 # Check whether --enable-wizarddlg was given.
14404 if test "${enable_wizarddlg+set}" = set; then
14405 enableval=$enable_wizarddlg;
14406 if test "$enableval" = yes; then
14407 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14409 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14416 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14417 if test "x$LINE" != x ; then
14418 eval "DEFAULT_$LINE"
14421 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14426 eval "$wx_cv_use_wizarddlg"
14427 if test "x$cache" = xyes; then
14428 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14431 if test x"$enablestring" = xdisable; then
14432 if test $wxUSE_WIZARDDLG = yes; then
14438 result=$wxUSE_WIZARDDLG
14441 { echo "$as_me:$LINENO: result: $result" >&5
14442 echo "${ECHO_T}$result" >&6; }
14448 defaultval=$wxUSE_ALL_FEATURES
14449 if test -z "$defaultval"; then
14450 if test x"$enablestring" = xdisable; then
14457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14458 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14459 # Check whether --enable-menus was given.
14460 if test "${enable_menus+set}" = set; then
14461 enableval=$enable_menus;
14462 if test "$enableval" = yes; then
14463 wx_cv_use_menus='wxUSE_MENUS=yes'
14465 wx_cv_use_menus='wxUSE_MENUS=no'
14472 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14473 if test "x$LINE" != x ; then
14474 eval "DEFAULT_$LINE"
14477 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14482 eval "$wx_cv_use_menus"
14483 if test "x$cache" = xyes; then
14484 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14487 if test x"$enablestring" = xdisable; then
14488 if test $wxUSE_MENUS = yes; then
14494 result=$wxUSE_MENUS
14497 { echo "$as_me:$LINENO: result: $result" >&5
14498 echo "${ECHO_T}$result" >&6; }
14502 defaultval=$wxUSE_ALL_FEATURES
14503 if test -z "$defaultval"; then
14504 if test x"$enablestring" = xdisable; then
14511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14512 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14513 # Check whether --enable-miniframe was given.
14514 if test "${enable_miniframe+set}" = set; then
14515 enableval=$enable_miniframe;
14516 if test "$enableval" = yes; then
14517 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14519 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14526 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14527 if test "x$LINE" != x ; then
14528 eval "DEFAULT_$LINE"
14531 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14536 eval "$wx_cv_use_miniframe"
14537 if test "x$cache" = xyes; then
14538 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14541 if test x"$enablestring" = xdisable; then
14542 if test $wxUSE_MINIFRAME = yes; then
14548 result=$wxUSE_MINIFRAME
14551 { echo "$as_me:$LINENO: result: $result" >&5
14552 echo "${ECHO_T}$result" >&6; }
14556 defaultval=$wxUSE_ALL_FEATURES
14557 if test -z "$defaultval"; then
14558 if test x"$enablestring" = xdisable; then
14565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14566 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14567 # Check whether --enable-tooltips was given.
14568 if test "${enable_tooltips+set}" = set; then
14569 enableval=$enable_tooltips;
14570 if test "$enableval" = yes; then
14571 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14573 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14580 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14581 if test "x$LINE" != x ; then
14582 eval "DEFAULT_$LINE"
14585 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14590 eval "$wx_cv_use_tooltips"
14591 if test "x$cache" = xyes; then
14592 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14595 if test x"$enablestring" = xdisable; then
14596 if test $wxUSE_TOOLTIPS = yes; then
14602 result=$wxUSE_TOOLTIPS
14605 { echo "$as_me:$LINENO: result: $result" >&5
14606 echo "${ECHO_T}$result" >&6; }
14610 defaultval=$wxUSE_ALL_FEATURES
14611 if test -z "$defaultval"; then
14612 if test x"$enablestring" = xdisable; then
14619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14620 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14621 # Check whether --enable-splines was given.
14622 if test "${enable_splines+set}" = set; then
14623 enableval=$enable_splines;
14624 if test "$enableval" = yes; then
14625 wx_cv_use_splines='wxUSE_SPLINES=yes'
14627 wx_cv_use_splines='wxUSE_SPLINES=no'
14634 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14635 if test "x$LINE" != x ; then
14636 eval "DEFAULT_$LINE"
14639 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14644 eval "$wx_cv_use_splines"
14645 if test "x$cache" = xyes; then
14646 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14649 if test x"$enablestring" = xdisable; then
14650 if test $wxUSE_SPLINES = yes; then
14656 result=$wxUSE_SPLINES
14659 { echo "$as_me:$LINENO: result: $result" >&5
14660 echo "${ECHO_T}$result" >&6; }
14664 defaultval=$wxUSE_ALL_FEATURES
14665 if test -z "$defaultval"; then
14666 if test x"$enablestring" = xdisable; then
14673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14674 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14675 # Check whether --enable-mousewheel was given.
14676 if test "${enable_mousewheel+set}" = set; then
14677 enableval=$enable_mousewheel;
14678 if test "$enableval" = yes; then
14679 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14681 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14688 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14689 if test "x$LINE" != x ; then
14690 eval "DEFAULT_$LINE"
14693 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14698 eval "$wx_cv_use_mousewheel"
14699 if test "x$cache" = xyes; then
14700 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14703 if test x"$enablestring" = xdisable; then
14704 if test $wxUSE_MOUSEWHEEL = yes; then
14710 result=$wxUSE_MOUSEWHEEL
14713 { echo "$as_me:$LINENO: result: $result" >&5
14714 echo "${ECHO_T}$result" >&6; }
14718 defaultval=$wxUSE_ALL_FEATURES
14719 if test -z "$defaultval"; then
14720 if test x"$enablestring" = xdisable; then
14727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14728 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14729 # Check whether --enable-validators was given.
14730 if test "${enable_validators+set}" = set; then
14731 enableval=$enable_validators;
14732 if test "$enableval" = yes; then
14733 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14735 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14742 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14743 if test "x$LINE" != x ; then
14744 eval "DEFAULT_$LINE"
14747 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14752 eval "$wx_cv_use_validators"
14753 if test "x$cache" = xyes; then
14754 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14757 if test x"$enablestring" = xdisable; then
14758 if test $wxUSE_VALIDATORS = yes; then
14764 result=$wxUSE_VALIDATORS
14767 { echo "$as_me:$LINENO: result: $result" >&5
14768 echo "${ECHO_T}$result" >&6; }
14772 defaultval=$wxUSE_ALL_FEATURES
14773 if test -z "$defaultval"; then
14774 if test x"$enablestring" = xdisable; then
14781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14782 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14783 # Check whether --enable-busyinfo was given.
14784 if test "${enable_busyinfo+set}" = set; then
14785 enableval=$enable_busyinfo;
14786 if test "$enableval" = yes; then
14787 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14789 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14796 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14797 if test "x$LINE" != x ; then
14798 eval "DEFAULT_$LINE"
14801 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14806 eval "$wx_cv_use_busyinfo"
14807 if test "x$cache" = xyes; then
14808 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14811 if test x"$enablestring" = xdisable; then
14812 if test $wxUSE_BUSYINFO = yes; then
14818 result=$wxUSE_BUSYINFO
14821 { echo "$as_me:$LINENO: result: $result" >&5
14822 echo "${ECHO_T}$result" >&6; }
14826 defaultval=$wxUSE_ALL_FEATURES
14827 if test -z "$defaultval"; then
14828 if test x"$enablestring" = xdisable; then
14835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14836 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14837 # Check whether --enable-joystick was given.
14838 if test "${enable_joystick+set}" = set; then
14839 enableval=$enable_joystick;
14840 if test "$enableval" = yes; then
14841 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14843 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14850 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14851 if test "x$LINE" != x ; then
14852 eval "DEFAULT_$LINE"
14855 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14860 eval "$wx_cv_use_joystick"
14861 if test "x$cache" = xyes; then
14862 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14865 if test x"$enablestring" = xdisable; then
14866 if test $wxUSE_JOYSTICK = yes; then
14872 result=$wxUSE_JOYSTICK
14875 { echo "$as_me:$LINENO: result: $result" >&5
14876 echo "${ECHO_T}$result" >&6; }
14880 defaultval=$wxUSE_ALL_FEATURES
14881 if test -z "$defaultval"; then
14882 if test x"$enablestring" = xdisable; then
14889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14890 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14891 # Check whether --enable-metafile was given.
14892 if test "${enable_metafile+set}" = set; then
14893 enableval=$enable_metafile;
14894 if test "$enableval" = yes; then
14895 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14897 wx_cv_use_metafile='wxUSE_METAFILE=no'
14904 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14905 if test "x$LINE" != x ; then
14906 eval "DEFAULT_$LINE"
14909 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14914 eval "$wx_cv_use_metafile"
14915 if test "x$cache" = xyes; then
14916 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14919 if test x"$enablestring" = xdisable; then
14920 if test $wxUSE_METAFILE = yes; then
14926 result=$wxUSE_METAFILE
14929 { echo "$as_me:$LINENO: result: $result" >&5
14930 echo "${ECHO_T}$result" >&6; }
14934 defaultval=$wxUSE_ALL_FEATURES
14935 if test -z "$defaultval"; then
14936 if test x"$enablestring" = xdisable; then
14943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14944 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14945 # Check whether --enable-dragimage was given.
14946 if test "${enable_dragimage+set}" = set; then
14947 enableval=$enable_dragimage;
14948 if test "$enableval" = yes; then
14949 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14951 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14958 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14959 if test "x$LINE" != x ; then
14960 eval "DEFAULT_$LINE"
14963 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14968 eval "$wx_cv_use_dragimage"
14969 if test "x$cache" = xyes; then
14970 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14973 if test x"$enablestring" = xdisable; then
14974 if test $wxUSE_DRAGIMAGE = yes; then
14980 result=$wxUSE_DRAGIMAGE
14983 { echo "$as_me:$LINENO: result: $result" >&5
14984 echo "${ECHO_T}$result" >&6; }
14988 defaultval=$wxUSE_ALL_FEATURES
14989 if test -z "$defaultval"; then
14990 if test x"$enablestring" = xdisable; then
14997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14998 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14999 # Check whether --enable-accessibility was given.
15000 if test "${enable_accessibility+set}" = set; then
15001 enableval=$enable_accessibility;
15002 if test "$enableval" = yes; then
15003 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15005 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15012 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15013 if test "x$LINE" != x ; then
15014 eval "DEFAULT_$LINE"
15017 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15022 eval "$wx_cv_use_accessibility"
15023 if test "x$cache" = xyes; then
15024 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15027 if test x"$enablestring" = xdisable; then
15028 if test $wxUSE_ACCESSIBILITY = yes; then
15034 result=$wxUSE_ACCESSIBILITY
15037 { echo "$as_me:$LINENO: result: $result" >&5
15038 echo "${ECHO_T}$result" >&6; }
15044 defaultval=$wxUSE_ALL_FEATURES
15045 if test -z "$defaultval"; then
15046 if test x"$enablestring" = xdisable; then
15053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15054 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15055 # Check whether --enable-palette was given.
15056 if test "${enable_palette+set}" = set; then
15057 enableval=$enable_palette;
15058 if test "$enableval" = yes; then
15059 wx_cv_use_palette='wxUSE_PALETTE=yes'
15061 wx_cv_use_palette='wxUSE_PALETTE=no'
15068 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15069 if test "x$LINE" != x ; then
15070 eval "DEFAULT_$LINE"
15073 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15078 eval "$wx_cv_use_palette"
15079 if test "x$cache" = xyes; then
15080 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15083 if test x"$enablestring" = xdisable; then
15084 if test $wxUSE_PALETTE = yes; then
15090 result=$wxUSE_PALETTE
15093 { echo "$as_me:$LINENO: result: $result" >&5
15094 echo "${ECHO_T}$result" >&6; }
15098 defaultval=$wxUSE_ALL_FEATURES
15099 if test -z "$defaultval"; then
15100 if test x"$enablestring" = xdisable; then
15107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15108 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15109 # Check whether --enable-image was given.
15110 if test "${enable_image+set}" = set; then
15111 enableval=$enable_image;
15112 if test "$enableval" = yes; then
15113 wx_cv_use_image='wxUSE_IMAGE=yes'
15115 wx_cv_use_image='wxUSE_IMAGE=no'
15122 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15123 if test "x$LINE" != x ; then
15124 eval "DEFAULT_$LINE"
15127 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15132 eval "$wx_cv_use_image"
15133 if test "x$cache" = xyes; then
15134 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15137 if test x"$enablestring" = xdisable; then
15138 if test $wxUSE_IMAGE = yes; then
15144 result=$wxUSE_IMAGE
15147 { echo "$as_me:$LINENO: result: $result" >&5
15148 echo "${ECHO_T}$result" >&6; }
15152 defaultval=$wxUSE_ALL_FEATURES
15153 if test -z "$defaultval"; then
15154 if test x"$enablestring" = xdisable; then
15161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15162 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15163 # Check whether --enable-gif was given.
15164 if test "${enable_gif+set}" = set; then
15165 enableval=$enable_gif;
15166 if test "$enableval" = yes; then
15167 wx_cv_use_gif='wxUSE_GIF=yes'
15169 wx_cv_use_gif='wxUSE_GIF=no'
15176 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15177 if test "x$LINE" != x ; then
15178 eval "DEFAULT_$LINE"
15181 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15186 eval "$wx_cv_use_gif"
15187 if test "x$cache" = xyes; then
15188 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15191 if test x"$enablestring" = xdisable; then
15192 if test $wxUSE_GIF = yes; then
15201 { echo "$as_me:$LINENO: result: $result" >&5
15202 echo "${ECHO_T}$result" >&6; }
15206 defaultval=$wxUSE_ALL_FEATURES
15207 if test -z "$defaultval"; then
15208 if test x"$enablestring" = xdisable; then
15215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15216 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15217 # Check whether --enable-pcx was given.
15218 if test "${enable_pcx+set}" = set; then
15219 enableval=$enable_pcx;
15220 if test "$enableval" = yes; then
15221 wx_cv_use_pcx='wxUSE_PCX=yes'
15223 wx_cv_use_pcx='wxUSE_PCX=no'
15230 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15231 if test "x$LINE" != x ; then
15232 eval "DEFAULT_$LINE"
15235 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15240 eval "$wx_cv_use_pcx"
15241 if test "x$cache" = xyes; then
15242 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15245 if test x"$enablestring" = xdisable; then
15246 if test $wxUSE_PCX = yes; then
15255 { echo "$as_me:$LINENO: result: $result" >&5
15256 echo "${ECHO_T}$result" >&6; }
15260 defaultval=$wxUSE_ALL_FEATURES
15261 if test -z "$defaultval"; then
15262 if test x"$enablestring" = xdisable; then
15269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15270 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15271 # Check whether --enable-tga was given.
15272 if test "${enable_tga+set}" = set; then
15273 enableval=$enable_tga;
15274 if test "$enableval" = yes; then
15275 wx_cv_use_tga='wxUSE_TGA=yes'
15277 wx_cv_use_tga='wxUSE_TGA=no'
15284 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15285 if test "x$LINE" != x ; then
15286 eval "DEFAULT_$LINE"
15289 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15294 eval "$wx_cv_use_tga"
15295 if test "x$cache" = xyes; then
15296 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15299 if test x"$enablestring" = xdisable; then
15300 if test $wxUSE_TGA = yes; then
15309 { echo "$as_me:$LINENO: result: $result" >&5
15310 echo "${ECHO_T}$result" >&6; }
15314 defaultval=$wxUSE_ALL_FEATURES
15315 if test -z "$defaultval"; then
15316 if test x"$enablestring" = xdisable; then
15323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15324 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15325 # Check whether --enable-iff was given.
15326 if test "${enable_iff+set}" = set; then
15327 enableval=$enable_iff;
15328 if test "$enableval" = yes; then
15329 wx_cv_use_iff='wxUSE_IFF=yes'
15331 wx_cv_use_iff='wxUSE_IFF=no'
15338 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15339 if test "x$LINE" != x ; then
15340 eval "DEFAULT_$LINE"
15343 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15348 eval "$wx_cv_use_iff"
15349 if test "x$cache" = xyes; then
15350 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15353 if test x"$enablestring" = xdisable; then
15354 if test $wxUSE_IFF = yes; then
15363 { echo "$as_me:$LINENO: result: $result" >&5
15364 echo "${ECHO_T}$result" >&6; }
15368 defaultval=$wxUSE_ALL_FEATURES
15369 if test -z "$defaultval"; then
15370 if test x"$enablestring" = xdisable; then
15377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15378 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15379 # Check whether --enable-pnm was given.
15380 if test "${enable_pnm+set}" = set; then
15381 enableval=$enable_pnm;
15382 if test "$enableval" = yes; then
15383 wx_cv_use_pnm='wxUSE_PNM=yes'
15385 wx_cv_use_pnm='wxUSE_PNM=no'
15392 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15393 if test "x$LINE" != x ; then
15394 eval "DEFAULT_$LINE"
15397 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15402 eval "$wx_cv_use_pnm"
15403 if test "x$cache" = xyes; then
15404 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15407 if test x"$enablestring" = xdisable; then
15408 if test $wxUSE_PNM = yes; then
15417 { echo "$as_me:$LINENO: result: $result" >&5
15418 echo "${ECHO_T}$result" >&6; }
15422 defaultval=$wxUSE_ALL_FEATURES
15423 if test -z "$defaultval"; then
15424 if test x"$enablestring" = xdisable; then
15431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15432 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15433 # Check whether --enable-xpm was given.
15434 if test "${enable_xpm+set}" = set; then
15435 enableval=$enable_xpm;
15436 if test "$enableval" = yes; then
15437 wx_cv_use_xpm='wxUSE_XPM=yes'
15439 wx_cv_use_xpm='wxUSE_XPM=no'
15446 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15447 if test "x$LINE" != x ; then
15448 eval "DEFAULT_$LINE"
15451 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15456 eval "$wx_cv_use_xpm"
15457 if test "x$cache" = xyes; then
15458 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15461 if test x"$enablestring" = xdisable; then
15462 if test $wxUSE_XPM = yes; then
15471 { echo "$as_me:$LINENO: result: $result" >&5
15472 echo "${ECHO_T}$result" >&6; }
15476 defaultval=$wxUSE_ALL_FEATURES
15477 if test -z "$defaultval"; then
15478 if test x"$enablestring" = xdisable; then
15485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15486 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15487 # Check whether --enable-ico_cur was given.
15488 if test "${enable_ico_cur+set}" = set; then
15489 enableval=$enable_ico_cur;
15490 if test "$enableval" = yes; then
15491 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15493 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15500 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15501 if test "x$LINE" != x ; then
15502 eval "DEFAULT_$LINE"
15505 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15510 eval "$wx_cv_use_ico_cur"
15511 if test "x$cache" = xyes; then
15512 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15515 if test x"$enablestring" = xdisable; then
15516 if test $wxUSE_ICO_CUR = yes; then
15522 result=$wxUSE_ICO_CUR
15525 { echo "$as_me:$LINENO: result: $result" >&5
15526 echo "${ECHO_T}$result" >&6; }
15532 defaultval=$wxUSE_ALL_FEATURES
15533 if test -z "$defaultval"; then
15534 if test x"$enablestring" = xdisable; then
15541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15542 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15543 # Check whether --enable-dccache was given.
15544 if test "${enable_dccache+set}" = set; then
15545 enableval=$enable_dccache;
15546 if test "$enableval" = yes; then
15547 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15549 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15556 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15557 if test "x$LINE" != x ; then
15558 eval "DEFAULT_$LINE"
15561 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15566 eval "$wx_cv_use_dccache"
15567 if test "x$cache" = xyes; then
15568 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15571 if test x"$enablestring" = xdisable; then
15572 if test $wxUSE_DC_CACHEING = yes; then
15578 result=$wxUSE_DC_CACHEING
15581 { echo "$as_me:$LINENO: result: $result" >&5
15582 echo "${ECHO_T}$result" >&6; }
15587 if test -z "$defaultval"; then
15588 if test x"$enablestring" = xdisable; then
15595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
15596 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
15597 # Check whether --enable-iniconf was given.
15598 if test "${enable_iniconf+set}" = set; then
15599 enableval=$enable_iniconf;
15600 if test "$enableval" = yes; then
15601 wx_cv_use_iniconf='wxUSE_INICONF=yes'
15603 wx_cv_use_iniconf='wxUSE_INICONF=no'
15610 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
15611 if test "x$LINE" != x ; then
15612 eval "DEFAULT_$LINE"
15615 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
15620 eval "$wx_cv_use_iniconf"
15621 if test "x$cache" = xyes; then
15622 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
15625 if test x"$enablestring" = xdisable; then
15626 if test $wxUSE_INICONF = yes; then
15632 result=$wxUSE_INICONF
15635 { echo "$as_me:$LINENO: result: $result" >&5
15636 echo "${ECHO_T}$result" >&6; }
15640 defaultval=$wxUSE_ALL_FEATURES
15641 if test -z "$defaultval"; then
15642 if test x"$enablestring" = xdisable; then
15649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15650 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
15651 # Check whether --enable-ps-in-msw was given.
15652 if test "${enable_ps_in_msw+set}" = set; then
15653 enableval=$enable_ps_in_msw;
15654 if test "$enableval" = yes; then
15655 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15657 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15664 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15665 if test "x$LINE" != x ; then
15666 eval "DEFAULT_$LINE"
15669 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15674 eval "$wx_cv_use_ps_in_msw"
15675 if test "x$cache" = xyes; then
15676 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15679 if test x"$enablestring" = xdisable; then
15680 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15686 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15689 { echo "$as_me:$LINENO: result: $result" >&5
15690 echo "${ECHO_T}$result" >&6; }
15694 defaultval=$wxUSE_ALL_FEATURES
15695 if test -z "$defaultval"; then
15696 if test x"$enablestring" = xdisable; then
15703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
15704 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
15705 # Check whether --enable-ownerdrawn was given.
15706 if test "${enable_ownerdrawn+set}" = set; then
15707 enableval=$enable_ownerdrawn;
15708 if test "$enableval" = yes; then
15709 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15711 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15718 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
15719 if test "x$LINE" != x ; then
15720 eval "DEFAULT_$LINE"
15723 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15728 eval "$wx_cv_use_ownerdrawn"
15729 if test "x$cache" = xyes; then
15730 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
15733 if test x"$enablestring" = xdisable; then
15734 if test $wxUSE_OWNER_DRAWN = yes; then
15740 result=$wxUSE_OWNER_DRAWN
15743 { echo "$as_me:$LINENO: result: $result" >&5
15744 echo "${ECHO_T}$result" >&6; }
15748 defaultval=$wxUSE_ALL_FEATURES
15749 if test -z "$defaultval"; then
15750 if test x"$enablestring" = xdisable; then
15757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15758 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15759 # Check whether --enable-regkey was given.
15760 if test "${enable_regkey+set}" = set; then
15761 enableval=$enable_regkey;
15762 if test "$enableval" = yes; then
15763 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15765 wx_cv_use_regkey='wxUSE_REGKEY=no'
15772 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15773 if test "x$LINE" != x ; then
15774 eval "DEFAULT_$LINE"
15777 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15782 eval "$wx_cv_use_regkey"
15783 if test "x$cache" = xyes; then
15784 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15787 if test x"$enablestring" = xdisable; then
15788 if test $wxUSE_REGKEY = yes; then
15794 result=$wxUSE_REGKEY
15797 { echo "$as_me:$LINENO: result: $result" >&5
15798 echo "${ECHO_T}$result" >&6; }
15802 defaultval=$wxUSE_ALL_FEATURES
15803 if test -z "$defaultval"; then
15804 if test x"$enablestring" = xdisable; then
15811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15812 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15813 # Check whether --enable-uxtheme was given.
15814 if test "${enable_uxtheme+set}" = set; then
15815 enableval=$enable_uxtheme;
15816 if test "$enableval" = yes; then
15817 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15819 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15826 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15827 if test "x$LINE" != x ; then
15828 eval "DEFAULT_$LINE"
15831 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15836 eval "$wx_cv_use_uxtheme"
15837 if test "x$cache" = xyes; then
15838 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15841 if test x"$enablestring" = xdisable; then
15842 if test $wxUSE_UXTHEME = yes; then
15848 result=$wxUSE_UXTHEME
15851 { echo "$as_me:$LINENO: result: $result" >&5
15852 echo "${ECHO_T}$result" >&6; }
15856 defaultval=$wxUSE_ALL_FEATURES
15857 if test -z "$defaultval"; then
15858 if test x"$enablestring" = xdisable; then
15865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15866 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15867 # Check whether --enable-wxdib was given.
15868 if test "${enable_wxdib+set}" = set; then
15869 enableval=$enable_wxdib;
15870 if test "$enableval" = yes; then
15871 wx_cv_use_wxdib='wxUSE_DIB=yes'
15873 wx_cv_use_wxdib='wxUSE_DIB=no'
15880 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15881 if test "x$LINE" != x ; then
15882 eval "DEFAULT_$LINE"
15885 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15890 eval "$wx_cv_use_wxdib"
15891 if test "x$cache" = xyes; then
15892 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15895 if test x"$enablestring" = xdisable; then
15896 if test $wxUSE_DIB = yes; then
15905 { echo "$as_me:$LINENO: result: $result" >&5
15906 echo "${ECHO_T}$result" >&6; }
15912 echo "saving argument cache $wx_arg_cache_file"
15913 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15917 { echo "$as_me:$LINENO: checking for toolkit" >&5
15918 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15920 # In Wine, we need to default to MSW, not GTK or MOTIF
15921 if test "$wxUSE_WINE" = "yes"; then
15922 DEFAULT_DEFAULT_wxUSE_GTK=0
15923 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15924 DEFAULT_DEFAULT_wxUSE_MSW=1
15927 CXX=${CXX:-wineg++}
15931 if test "$wxUSE_GUI" = "yes"; then
15933 if test "$USE_BEOS" = 1; then
15934 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15935 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15936 { (exit 1); exit 1; }; }
15939 if test "$TOOLKIT_GIVEN" = 1; then
15940 for toolkit in `echo $ALL_TOOLKITS`; do
15942 eval "value=\$${var}"
15943 if test "x$value" = "xno"; then
15945 elif test "x$value" != "x"; then
15949 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15950 eval "wx${toolkit}_VERSION=$value"
15954 for toolkit in `echo $ALL_TOOLKITS`; do
15955 if test "$has_toolkit_in_cache" != 1; then
15956 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15958 var=DEFAULT_wxUSE_$toolkit
15960 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15961 if test "x$version" != "x"; then
15962 eval "wx${toolkit}_VERSION=$version"
15965 eval "wxUSE_$toolkit=\$${var}"
15969 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15970 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15971 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15974 *-pc-os2_emx | *-pc-os2-emx )
15975 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15978 case "$NUM_TOOLKITS" in
15982 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15983 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15984 { (exit 1); exit 1; }; }
15987 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15988 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15989 { (exit 1); exit 1; }; }
15992 # to be removed when --disable-gtk2 isn't needed
15993 if test "x$wxUSE_GTK2" = "xyes"; then
15995 elif test "x$wxUSE_GTK2" = "xno"; then
15999 for toolkit in `echo $ALL_TOOLKITS`; do
16001 eval "value=\$${var}"
16002 if test "x$value" != x; then
16003 cache_var=CACHE_$toolkit
16004 eval "cache=\$${cache_var}"
16005 if test "$cache" = 1; then
16006 echo "$var=$value" >> ${wx_arg_cache_file}
16007 eval "version=\$wx${toolkit}_VERSION"
16008 if test "x$version" != "x"; then
16009 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16012 if test "$value" = 1; then
16013 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16014 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16015 echo "${ECHO_T}$toolkit_echo" >&6; }
16020 if test "x$host_alias" != "x"; then
16021 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16022 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16024 { echo "$as_me:$LINENO: result: base only" >&5
16025 echo "${ECHO_T}base only" >&6; }
16030 cat >confcache <<\_ACEOF
16031 # This file is a shell script that caches the results of configure
16032 # tests run on this system so they can be shared between configure
16033 # scripts and configure runs, see configure's option --config-cache.
16034 # It is not useful on other systems. If it contains results you don't
16035 # want to keep, you may remove or edit it.
16037 # config.status only pays attention to the cache file if you give it
16038 # the --recheck option to rerun configure.
16040 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16041 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16042 # following values.
16046 # The following way of writing the cache mishandles newlines in values,
16047 # but we know of no workaround that is simple, portable, and efficient.
16048 # So, we kill variables containing newlines.
16049 # Ultrix sh set writes to stderr and can't be redirected directly,
16050 # and sets the high bit in the cache file unless we assign to the vars.
16052 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16053 eval ac_val=\$$ac_var
16057 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16058 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16061 _ | IFS | as_nl) ;; #(
16062 *) $as_unset $ac_var ;;
16068 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16069 *${as_nl}ac_space=\ *)
16070 # `set' does not quote correctly, so add quotes (double-quote
16071 # substitution turns \\\\ into \\, and sed turns \\ into \).
16074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16077 # `set' quotes correctly as required by POSIX, so do not add quotes.
16078 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16087 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16089 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16091 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16092 if test -w "$cache_file"; then
16093 test "x$cache_file" != "x/dev/null" &&
16094 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16095 echo "$as_me: updating cache $cache_file" >&6;}
16096 cat confcache >$cache_file
16098 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16099 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16109 ac_cpp='$CPP $CPPFLAGS'
16110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16113 if test -n "$ac_tool_prefix"; then
16114 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16115 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16118 if test "${ac_cv_prog_CC+set}" = set; then
16119 echo $ECHO_N "(cached) $ECHO_C" >&6
16121 if test -n "$CC"; then
16122 ac_cv_prog_CC="$CC" # Let the user override the test.
16124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16125 for as_dir in $PATH
16128 test -z "$as_dir" && as_dir=.
16129 for ac_exec_ext in '' $ac_executable_extensions; do
16130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16131 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16142 if test -n "$CC"; then
16143 { echo "$as_me:$LINENO: result: $CC" >&5
16144 echo "${ECHO_T}$CC" >&6; }
16146 { echo "$as_me:$LINENO: result: no" >&5
16147 echo "${ECHO_T}no" >&6; }
16152 if test -z "$ac_cv_prog_CC"; then
16154 # Extract the first word of "gcc", so it can be a program name with args.
16155 set dummy gcc; ac_word=$2
16156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16158 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16159 echo $ECHO_N "(cached) $ECHO_C" >&6
16161 if test -n "$ac_ct_CC"; then
16162 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16165 for as_dir in $PATH
16168 test -z "$as_dir" && as_dir=.
16169 for ac_exec_ext in '' $ac_executable_extensions; do
16170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16171 ac_cv_prog_ac_ct_CC="gcc"
16172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16182 if test -n "$ac_ct_CC"; then
16183 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16184 echo "${ECHO_T}$ac_ct_CC" >&6; }
16186 { echo "$as_me:$LINENO: result: no" >&5
16187 echo "${ECHO_T}no" >&6; }
16190 if test "x$ac_ct_CC" = x; then
16193 case $cross_compiling:$ac_tool_warned in
16195 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16196 whose name does not start with the host triplet. If you think this
16197 configuration is useful to you, please write to autoconf@gnu.org." >&5
16198 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16199 whose name does not start with the host triplet. If you think this
16200 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16201 ac_tool_warned=yes ;;
16206 CC="$ac_cv_prog_CC"
16209 if test -z "$CC"; then
16210 if test -n "$ac_tool_prefix"; then
16211 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16212 set dummy ${ac_tool_prefix}cc; ac_word=$2
16213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16215 if test "${ac_cv_prog_CC+set}" = set; then
16216 echo $ECHO_N "(cached) $ECHO_C" >&6
16218 if test -n "$CC"; then
16219 ac_cv_prog_CC="$CC" # Let the user override the test.
16221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16222 for as_dir in $PATH
16225 test -z "$as_dir" && as_dir=.
16226 for ac_exec_ext in '' $ac_executable_extensions; do
16227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16228 ac_cv_prog_CC="${ac_tool_prefix}cc"
16229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16239 if test -n "$CC"; then
16240 { echo "$as_me:$LINENO: result: $CC" >&5
16241 echo "${ECHO_T}$CC" >&6; }
16243 { echo "$as_me:$LINENO: result: no" >&5
16244 echo "${ECHO_T}no" >&6; }
16250 if test -z "$CC"; then
16251 # Extract the first word of "cc", so it can be a program name with args.
16252 set dummy cc; ac_word=$2
16253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16255 if test "${ac_cv_prog_CC+set}" = set; then
16256 echo $ECHO_N "(cached) $ECHO_C" >&6
16258 if test -n "$CC"; then
16259 ac_cv_prog_CC="$CC" # Let the user override the test.
16261 ac_prog_rejected=no
16262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16263 for as_dir in $PATH
16266 test -z "$as_dir" && as_dir=.
16267 for ac_exec_ext in '' $ac_executable_extensions; do
16268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16269 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16270 ac_prog_rejected=yes
16274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16281 if test $ac_prog_rejected = yes; then
16282 # We found a bogon in the path, so make sure we never use it.
16283 set dummy $ac_cv_prog_CC
16285 if test $# != 0; then
16286 # We chose a different compiler from the bogus one.
16287 # However, it has the same basename, so the bogon will be chosen
16288 # first if we set CC to just the basename; use the full file name.
16290 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16296 if test -n "$CC"; then
16297 { echo "$as_me:$LINENO: result: $CC" >&5
16298 echo "${ECHO_T}$CC" >&6; }
16300 { echo "$as_me:$LINENO: result: no" >&5
16301 echo "${ECHO_T}no" >&6; }
16306 if test -z "$CC"; then
16307 if test -n "$ac_tool_prefix"; then
16308 for ac_prog in cl.exe
16310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16311 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16314 if test "${ac_cv_prog_CC+set}" = set; then
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
16317 if test -n "$CC"; then
16318 ac_cv_prog_CC="$CC" # Let the user override the test.
16320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16321 for as_dir in $PATH
16324 test -z "$as_dir" && as_dir=.
16325 for ac_exec_ext in '' $ac_executable_extensions; do
16326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16327 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16338 if test -n "$CC"; then
16339 { echo "$as_me:$LINENO: result: $CC" >&5
16340 echo "${ECHO_T}$CC" >&6; }
16342 { echo "$as_me:$LINENO: result: no" >&5
16343 echo "${ECHO_T}no" >&6; }
16347 test -n "$CC" && break
16350 if test -z "$CC"; then
16352 for ac_prog in cl.exe
16354 # Extract the first word of "$ac_prog", so it can be a program name with args.
16355 set dummy $ac_prog; ac_word=$2
16356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16358 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16359 echo $ECHO_N "(cached) $ECHO_C" >&6
16361 if test -n "$ac_ct_CC"; then
16362 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16365 for as_dir in $PATH
16368 test -z "$as_dir" && as_dir=.
16369 for ac_exec_ext in '' $ac_executable_extensions; do
16370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16371 ac_cv_prog_ac_ct_CC="$ac_prog"
16372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16381 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16382 if test -n "$ac_ct_CC"; then
16383 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16384 echo "${ECHO_T}$ac_ct_CC" >&6; }
16386 { echo "$as_me:$LINENO: result: no" >&5
16387 echo "${ECHO_T}no" >&6; }
16391 test -n "$ac_ct_CC" && break
16394 if test "x$ac_ct_CC" = x; then
16397 case $cross_compiling:$ac_tool_warned in
16399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16400 whose name does not start with the host triplet. If you think this
16401 configuration is useful to you, please write to autoconf@gnu.org." >&5
16402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16403 whose name does not start with the host triplet. If you think this
16404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16405 ac_tool_warned=yes ;;
16414 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16415 See \`config.log' for more details." >&5
16416 echo "$as_me: error: no acceptable C compiler found in \$PATH
16417 See \`config.log' for more details." >&2;}
16418 { (exit 1); exit 1; }; }
16420 # Provide some information about the compiler.
16421 echo "$as_me:$LINENO: checking for C compiler version" >&5
16422 ac_compiler=`set X $ac_compile; echo $2`
16423 { (ac_try="$ac_compiler --version >&5"
16424 case "(($ac_try" in
16425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16426 *) ac_try_echo=$ac_try;;
16428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16429 (eval "$ac_compiler --version >&5") 2>&5
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); }
16433 { (ac_try="$ac_compiler -v >&5"
16434 case "(($ac_try" in
16435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16436 *) ac_try_echo=$ac_try;;
16438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16439 (eval "$ac_compiler -v >&5") 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }
16443 { (ac_try="$ac_compiler -V >&5"
16444 case "(($ac_try" in
16445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16446 *) ac_try_echo=$ac_try;;
16448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16449 (eval "$ac_compiler -V >&5") 2>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }
16454 cat >conftest.$ac_ext <<_ACEOF
16457 cat confdefs.h >>conftest.$ac_ext
16458 cat >>conftest.$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16469 ac_clean_files_save=$ac_clean_files
16470 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16471 # Try to create an executable without -o first, disregard a.out.
16472 # It will help us diagnose broken compilers, and finding out an intuition
16474 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16475 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16476 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16478 # List of possible output files, starting from the most likely.
16479 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16480 # only as a last resort. b.out is created by i960 compilers.
16481 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16483 # The IRIX 6 linker writes into existing files which may not be
16484 # executable, retaining their permissions. Remove them first so a
16485 # subsequent execution test works.
16487 for ac_file in $ac_files
16490 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16491 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16496 if { (ac_try="$ac_link_default"
16497 case "(($ac_try" in
16498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16499 *) ac_try_echo=$ac_try;;
16501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16502 (eval "$ac_link_default") 2>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); }; then
16506 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16507 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16508 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16509 # so that the user can short-circuit this test for compilers unknown to
16511 for ac_file in $ac_files ''
16513 test -f "$ac_file" || continue
16515 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16518 # We found the default executable, but exeext='' is most
16522 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16524 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16526 # We set ac_cv_exeext here because the later test for it is not
16527 # safe: cross compilers may not add the suffix if given an `-o'
16528 # argument, so we may need to know it at that point already.
16529 # Even if this section looks crufty: it has the advantage of
16530 # actually working.
16536 test "$ac_cv_exeext" = no && ac_cv_exeext=
16542 { echo "$as_me:$LINENO: result: $ac_file" >&5
16543 echo "${ECHO_T}$ac_file" >&6; }
16544 if test -z "$ac_file"; then
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.$ac_ext >&5
16548 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16549 See \`config.log' for more details." >&5
16550 echo "$as_me: error: C compiler cannot create executables
16551 See \`config.log' for more details." >&2;}
16552 { (exit 77); exit 77; }; }
16555 ac_exeext=$ac_cv_exeext
16557 # Check that the compiler produces executables we can run. If not, either
16558 # the compiler is broken, or we cross compile.
16559 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16560 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16561 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16562 # If not cross compiling, check that we can run a simple program.
16563 if test "$cross_compiling" != yes; then
16564 if { ac_try='./$ac_file'
16565 { (case "(($ac_try" in
16566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16567 *) ac_try_echo=$ac_try;;
16569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16570 (eval "$ac_try") 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16576 if test "$cross_compiling" = maybe; then
16577 cross_compiling=yes
16579 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16580 If you meant to cross compile, use \`--host'.
16581 See \`config.log' for more details." >&5
16582 echo "$as_me: error: cannot run C compiled programs.
16583 If you meant to cross compile, use \`--host'.
16584 See \`config.log' for more details." >&2;}
16585 { (exit 1); exit 1; }; }
16589 { echo "$as_me:$LINENO: result: yes" >&5
16590 echo "${ECHO_T}yes" >&6; }
16592 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16593 ac_clean_files=$ac_clean_files_save
16594 # Check that the compiler produces executables we can run. If not, either
16595 # the compiler is broken, or we cross compile.
16596 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16597 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16598 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16599 echo "${ECHO_T}$cross_compiling" >&6; }
16601 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16602 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16603 if { (ac_try="$ac_link"
16604 case "(($ac_try" in
16605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16606 *) ac_try_echo=$ac_try;;
16608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16609 (eval "$ac_link") 2>&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); }; then
16613 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16614 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16615 # work properly (i.e., refer to `conftest.exe'), while it won't with
16617 for ac_file in conftest.exe conftest conftest.*; do
16618 test -f "$ac_file" || continue
16620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16621 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16627 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16628 See \`config.log' for more details." >&5
16629 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16630 See \`config.log' for more details." >&2;}
16631 { (exit 1); exit 1; }; }
16634 rm -f conftest$ac_cv_exeext
16635 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16636 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16638 rm -f conftest.$ac_ext
16639 EXEEXT=$ac_cv_exeext
16641 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16642 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16643 if test "${ac_cv_objext+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 cat >conftest.$ac_ext <<_ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16661 rm -f conftest.o conftest.obj
16662 if { (ac_try="$ac_compile"
16663 case "(($ac_try" in
16664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_compile") 2>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; then
16672 for ac_file in conftest.o conftest.obj conftest.*; do
16673 test -f "$ac_file" || continue;
16675 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16676 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16681 echo "$as_me: failed program was:" >&5
16682 sed 's/^/| /' conftest.$ac_ext >&5
16684 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16685 See \`config.log' for more details." >&5
16686 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16687 See \`config.log' for more details." >&2;}
16688 { (exit 1); exit 1; }; }
16691 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16693 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16694 echo "${ECHO_T}$ac_cv_objext" >&6; }
16695 OBJEXT=$ac_cv_objext
16697 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16698 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16699 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 cat >conftest.$ac_ext <<_ACEOF
16705 cat confdefs.h >>conftest.$ac_ext
16706 cat >>conftest.$ac_ext <<_ACEOF
16707 /* end confdefs.h. */
16720 rm -f conftest.$ac_objext
16721 if { (ac_try="$ac_compile"
16722 case "(($ac_try" in
16723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16724 *) ac_try_echo=$ac_try;;
16726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16727 (eval "$ac_compile") 2>conftest.er1
16729 grep -v '^ *+' conftest.er1 >conftest.err
16731 cat conftest.err >&5
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); } && {
16734 test -z "$ac_c_werror_flag" ||
16735 test ! -s conftest.err
16736 } && test -s conftest.$ac_objext; then
16737 ac_compiler_gnu=yes
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.$ac_ext >&5
16745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16746 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16749 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16750 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16751 GCC=`test $ac_compiler_gnu = yes && echo yes`
16752 ac_test_CFLAGS=${CFLAGS+set}
16753 ac_save_CFLAGS=$CFLAGS
16754 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16755 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16756 if test "${ac_cv_prog_cc_g+set}" = set; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16759 ac_save_c_werror_flag=$ac_c_werror_flag
16760 ac_c_werror_flag=yes
16763 cat >conftest.$ac_ext <<_ACEOF
16766 cat confdefs.h >>conftest.$ac_ext
16767 cat >>conftest.$ac_ext <<_ACEOF
16768 /* end confdefs.h. */
16778 rm -f conftest.$ac_objext
16779 if { (ac_try="$ac_compile"
16780 case "(($ac_try" in
16781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16782 *) ac_try_echo=$ac_try;;
16784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16785 (eval "$ac_compile") 2>conftest.er1
16787 grep -v '^ *+' conftest.er1 >conftest.err
16789 cat conftest.err >&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); } && {
16792 test -z "$ac_c_werror_flag" ||
16793 test ! -s conftest.err
16794 } && test -s conftest.$ac_objext; then
16795 ac_cv_prog_cc_g=yes
16797 echo "$as_me: failed program was:" >&5
16798 sed 's/^/| /' conftest.$ac_ext >&5
16801 cat >conftest.$ac_ext <<_ACEOF
16804 cat confdefs.h >>conftest.$ac_ext
16805 cat >>conftest.$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16816 rm -f conftest.$ac_objext
16817 if { (ac_try="$ac_compile"
16818 case "(($ac_try" in
16819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16820 *) ac_try_echo=$ac_try;;
16822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16823 (eval "$ac_compile") 2>conftest.er1
16825 grep -v '^ *+' conftest.er1 >conftest.err
16827 cat conftest.err >&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); } && {
16830 test -z "$ac_c_werror_flag" ||
16831 test ! -s conftest.err
16832 } && test -s conftest.$ac_objext; then
16835 echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.$ac_ext >&5
16838 ac_c_werror_flag=$ac_save_c_werror_flag
16840 cat >conftest.$ac_ext <<_ACEOF
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16855 rm -f conftest.$ac_objext
16856 if { (ac_try="$ac_compile"
16857 case "(($ac_try" in
16858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16859 *) ac_try_echo=$ac_try;;
16861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16862 (eval "$ac_compile") 2>conftest.er1
16864 grep -v '^ *+' conftest.er1 >conftest.err
16866 cat conftest.err >&5
16867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868 (exit $ac_status); } && {
16869 test -z "$ac_c_werror_flag" ||
16870 test ! -s conftest.err
16871 } && test -s conftest.$ac_objext; then
16872 ac_cv_prog_cc_g=yes
16874 echo "$as_me: failed program was:" >&5
16875 sed 's/^/| /' conftest.$ac_ext >&5
16880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16887 ac_c_werror_flag=$ac_save_c_werror_flag
16889 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16890 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16891 if test "$ac_test_CFLAGS" = set; then
16892 CFLAGS=$ac_save_CFLAGS
16893 elif test $ac_cv_prog_cc_g = yes; then
16894 if test "$GCC" = yes; then
16900 if test "$GCC" = yes; then
16906 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16907 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16908 if test "${ac_cv_prog_cc_c89+set}" = set; then
16909 echo $ECHO_N "(cached) $ECHO_C" >&6
16911 ac_cv_prog_cc_c89=no
16913 cat >conftest.$ac_ext <<_ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16919 #include <stdarg.h>
16921 #include <sys/types.h>
16922 #include <sys/stat.h>
16923 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16924 struct buf { int x; };
16925 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16926 static char *e (p, i)
16932 static char *f (char * (*g) (char **, int), char **p, ...)
16937 s = g (p, va_arg (v,int));
16942 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16943 function prototypes and stuff, but not '\xHH' hex character constants.
16944 These don't provoke an error unfortunately, instead are silently treated
16945 as 'x'. The following induces an error, until -std is added to get
16946 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16947 array size at least. It's necessary to write '\x00'==0 to get something
16948 that's true only with -std. */
16949 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16951 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16952 inside strings and character constants. */
16954 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16956 int test (int i, double x);
16957 struct s1 {int (*f) (int a);};
16958 struct s2 {int (*f) (double a);};
16959 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16965 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16970 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16971 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16973 CC="$ac_save_CC $ac_arg"
16974 rm -f conftest.$ac_objext
16975 if { (ac_try="$ac_compile"
16976 case "(($ac_try" in
16977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16978 *) ac_try_echo=$ac_try;;
16980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16981 (eval "$ac_compile") 2>conftest.er1
16983 grep -v '^ *+' conftest.er1 >conftest.err
16985 cat conftest.err >&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } && {
16988 test -z "$ac_c_werror_flag" ||
16989 test ! -s conftest.err
16990 } && test -s conftest.$ac_objext; then
16991 ac_cv_prog_cc_c89=$ac_arg
16993 echo "$as_me: failed program was:" >&5
16994 sed 's/^/| /' conftest.$ac_ext >&5
16999 rm -f core conftest.err conftest.$ac_objext
17000 test "x$ac_cv_prog_cc_c89" != "xno" && break
17002 rm -f conftest.$ac_ext
17007 case "x$ac_cv_prog_cc_c89" in
17009 { echo "$as_me:$LINENO: result: none needed" >&5
17010 echo "${ECHO_T}none needed" >&6; } ;;
17012 { echo "$as_me:$LINENO: result: unsupported" >&5
17013 echo "${ECHO_T}unsupported" >&6; } ;;
17015 CC="$CC $ac_cv_prog_cc_c89"
17016 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17017 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17022 ac_cpp='$CPP $CPPFLAGS'
17023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17031 ac_cpp='$CPP $CPPFLAGS'
17032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17036 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17037 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17038 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 cat >conftest.$ac_ext <<_ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17052 #ifndef __INTEL_COMPILER
17060 rm -f conftest.$ac_objext
17061 if { (ac_try="$ac_compile"
17062 case "(($ac_try" in
17063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17064 *) ac_try_echo=$ac_try;;
17066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17067 (eval "$ac_compile") 2>conftest.er1
17069 grep -v '^ *+' conftest.er1 >conftest.err
17071 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } && {
17074 test -z "$ac_c_werror_flag" ||
17075 test ! -s conftest.err
17076 } && test -s conftest.$ac_objext; then
17077 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17082 bakefile_cv_c_compiler___INTEL_COMPILER=no
17086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17091 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17092 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17098 ac_cpp='$CPP $CPPFLAGS'
17099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17106 if test "x$GCC" != "xyes"; then
17107 if test "xCC" = "xC"; then
17108 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17109 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17110 if test "${bakefile_cv_c_exto+set}" = set; then
17111 echo $ECHO_N "(cached) $ECHO_C" >&6
17113 cat >conftest.$ac_ext <<_ACEOF
17116 cat confdefs.h >>conftest.$ac_ext
17117 cat >>conftest.$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17128 rm -f conftest.$ac_objext conftest.$ac_ext.o
17129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17130 (eval $ac_compile) 2>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); }; then
17134 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17136 conftest.$ac_ext.o)
17137 bakefile_cv_c_exto="-ext o"
17144 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17145 See \`config.log' for more details." >&5
17146 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17147 See \`config.log' for more details." >&2;}
17148 { (exit 1); exit 1; }; }
17152 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17155 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17156 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17157 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17158 if test "c" = "c"; then
17159 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17161 if test "c" = "cxx"; then
17162 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17166 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17167 unset ac_cv_prog_cc_g
17168 ac_test_CFLAGS=${CFLAGS+set}
17169 ac_save_CFLAGS=$CFLAGS
17170 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17171 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17172 if test "${ac_cv_prog_cc_g+set}" = set; then
17173 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 ac_save_c_werror_flag=$ac_c_werror_flag
17176 ac_c_werror_flag=yes
17179 cat >conftest.$ac_ext <<_ACEOF
17182 cat confdefs.h >>conftest.$ac_ext
17183 cat >>conftest.$ac_ext <<_ACEOF
17184 /* end confdefs.h. */
17194 rm -f conftest.$ac_objext
17195 if { (ac_try="$ac_compile"
17196 case "(($ac_try" in
17197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17198 *) ac_try_echo=$ac_try;;
17200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17201 (eval "$ac_compile") 2>conftest.er1
17203 grep -v '^ *+' conftest.er1 >conftest.err
17205 cat conftest.err >&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); } && {
17208 test -z "$ac_c_werror_flag" ||
17209 test ! -s conftest.err
17210 } && test -s conftest.$ac_objext; then
17211 ac_cv_prog_cc_g=yes
17213 echo "$as_me: failed program was:" >&5
17214 sed 's/^/| /' conftest.$ac_ext >&5
17217 cat >conftest.$ac_ext <<_ACEOF
17220 cat confdefs.h >>conftest.$ac_ext
17221 cat >>conftest.$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17232 rm -f conftest.$ac_objext
17233 if { (ac_try="$ac_compile"
17234 case "(($ac_try" in
17235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17236 *) ac_try_echo=$ac_try;;
17238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17239 (eval "$ac_compile") 2>conftest.er1
17241 grep -v '^ *+' conftest.er1 >conftest.err
17243 cat conftest.err >&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); } && {
17246 test -z "$ac_c_werror_flag" ||
17247 test ! -s conftest.err
17248 } && test -s conftest.$ac_objext; then
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.$ac_ext >&5
17254 ac_c_werror_flag=$ac_save_c_werror_flag
17256 cat >conftest.$ac_ext <<_ACEOF
17259 cat confdefs.h >>conftest.$ac_ext
17260 cat >>conftest.$ac_ext <<_ACEOF
17261 /* end confdefs.h. */
17271 rm -f conftest.$ac_objext
17272 if { (ac_try="$ac_compile"
17273 case "(($ac_try" in
17274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17275 *) ac_try_echo=$ac_try;;
17277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17278 (eval "$ac_compile") 2>conftest.er1
17280 grep -v '^ *+' conftest.er1 >conftest.err
17282 cat conftest.err >&5
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); } && {
17285 test -z "$ac_c_werror_flag" ||
17286 test ! -s conftest.err
17287 } && test -s conftest.$ac_objext; then
17288 ac_cv_prog_cc_g=yes
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.$ac_ext >&5
17296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17303 ac_c_werror_flag=$ac_save_c_werror_flag
17305 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17306 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17307 if test "$ac_test_CFLAGS" = set; then
17308 CFLAGS=$ac_save_CFLAGS
17309 elif test $ac_cv_prog_cc_g = yes; then
17310 if test "$GCC" = yes; then
17316 if test "$GCC" = yes; then
17330 ac_cpp='$CPP $CPPFLAGS'
17331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17335 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17336 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17337 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 cat >conftest.$ac_ext <<_ACEOF
17343 cat confdefs.h >>conftest.$ac_ext
17344 cat >>conftest.$ac_ext <<_ACEOF
17345 /* end confdefs.h. */
17359 rm -f conftest.$ac_objext
17360 if { (ac_try="$ac_compile"
17361 case "(($ac_try" in
17362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17363 *) ac_try_echo=$ac_try;;
17365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17366 (eval "$ac_compile") 2>conftest.er1
17368 grep -v '^ *+' conftest.er1 >conftest.err
17370 cat conftest.err >&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } && {
17373 test -z "$ac_c_werror_flag" ||
17374 test ! -s conftest.err
17375 } && test -s conftest.$ac_objext; then
17376 bakefile_cv_c_compiler___xlC__=yes
17378 echo "$as_me: failed program was:" >&5
17379 sed 's/^/| /' conftest.$ac_ext >&5
17381 bakefile_cv_c_compiler___xlC__=no
17385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17389 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17390 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17391 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17397 ac_cpp='$CPP $CPPFLAGS'
17398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17410 ac_cpp='$CPP $CPPFLAGS'
17411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17415 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17416 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17417 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17418 echo $ECHO_N "(cached) $ECHO_C" >&6
17420 cat >conftest.$ac_ext <<_ACEOF
17423 cat confdefs.h >>conftest.$ac_ext
17424 cat >>conftest.$ac_ext <<_ACEOF
17425 /* end confdefs.h. */
17439 rm -f conftest.$ac_objext
17440 if { (ac_try="$ac_compile"
17441 case "(($ac_try" in
17442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17443 *) ac_try_echo=$ac_try;;
17445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17446 (eval "$ac_compile") 2>conftest.er1
17448 grep -v '^ *+' conftest.er1 >conftest.err
17450 cat conftest.err >&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } && {
17453 test -z "$ac_c_werror_flag" ||
17454 test ! -s conftest.err
17455 } && test -s conftest.$ac_objext; then
17456 bakefile_cv_c_compiler___MWERKS__=yes
17458 echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.$ac_ext >&5
17461 bakefile_cv_c_compiler___MWERKS__=no
17465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17470 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17471 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17477 ac_cpp='$CPP $CPPFLAGS'
17478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17487 ac_cpp='$CPP $CPPFLAGS'
17488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17492 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17493 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17494 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17495 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 cat >conftest.$ac_ext <<_ACEOF
17500 cat confdefs.h >>conftest.$ac_ext
17501 cat >>conftest.$ac_ext <<_ACEOF
17502 /* end confdefs.h. */
17516 rm -f conftest.$ac_objext
17517 if { (ac_try="$ac_compile"
17518 case "(($ac_try" in
17519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17520 *) ac_try_echo=$ac_try;;
17522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17523 (eval "$ac_compile") 2>conftest.er1
17525 grep -v '^ *+' conftest.er1 >conftest.err
17527 cat conftest.err >&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } && {
17530 test -z "$ac_c_werror_flag" ||
17531 test ! -s conftest.err
17532 } && test -s conftest.$ac_objext; then
17533 bakefile_cv_c_compiler___xlC__=yes
17535 echo "$as_me: failed program was:" >&5
17536 sed 's/^/| /' conftest.$ac_ext >&5
17538 bakefile_cv_c_compiler___xlC__=no
17542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17546 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17547 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17548 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17554 ac_cpp='$CPP $CPPFLAGS'
17555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17567 ac_cpp='$CPP $CPPFLAGS'
17568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17572 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17573 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17574 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17575 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 cat >conftest.$ac_ext <<_ACEOF
17580 cat confdefs.h >>conftest.$ac_ext
17581 cat >>conftest.$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17588 #ifndef _SGI_COMPILER_VERSION
17596 rm -f conftest.$ac_objext
17597 if { (ac_try="$ac_compile"
17598 case "(($ac_try" in
17599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17600 *) ac_try_echo=$ac_try;;
17602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17603 (eval "$ac_compile") 2>conftest.er1
17605 grep -v '^ *+' conftest.er1 >conftest.err
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } && {
17610 test -z "$ac_c_werror_flag" ||
17611 test ! -s conftest.err
17612 } && test -s conftest.$ac_objext; then
17613 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17615 echo "$as_me: failed program was:" >&5
17616 sed 's/^/| /' conftest.$ac_ext >&5
17618 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17626 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17627 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17628 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17634 ac_cpp='$CPP $CPPFLAGS'
17635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17647 ac_cpp='$CPP $CPPFLAGS'
17648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17652 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17653 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17654 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17655 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 cat >conftest.$ac_ext <<_ACEOF
17660 cat confdefs.h >>conftest.$ac_ext
17661 cat >>conftest.$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17676 rm -f conftest.$ac_objext
17677 if { (ac_try="$ac_compile"
17678 case "(($ac_try" in
17679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17680 *) ac_try_echo=$ac_try;;
17682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17683 (eval "$ac_compile") 2>conftest.er1
17685 grep -v '^ *+' conftest.er1 >conftest.err
17687 cat conftest.err >&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); } && {
17690 test -z "$ac_c_werror_flag" ||
17691 test ! -s conftest.err
17692 } && test -s conftest.$ac_objext; then
17693 bakefile_cv_c_compiler___SUNPRO_C=yes
17695 echo "$as_me: failed program was:" >&5
17696 sed 's/^/| /' conftest.$ac_ext >&5
17698 bakefile_cv_c_compiler___SUNPRO_C=no
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17707 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17708 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17714 ac_cpp='$CPP $CPPFLAGS'
17715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17727 ac_cpp='$CPP $CPPFLAGS'
17728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17732 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17733 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17734 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17737 cat >conftest.$ac_ext <<_ACEOF
17740 cat confdefs.h >>conftest.$ac_ext
17741 cat >>conftest.$ac_ext <<_ACEOF
17742 /* end confdefs.h. */
17756 rm -f conftest.$ac_objext
17757 if { (ac_try="$ac_compile"
17758 case "(($ac_try" in
17759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17760 *) ac_try_echo=$ac_try;;
17762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763 (eval "$ac_compile") 2>conftest.er1
17765 grep -v '^ *+' conftest.er1 >conftest.err
17767 cat conftest.err >&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } && {
17770 test -z "$ac_c_werror_flag" ||
17771 test ! -s conftest.err
17772 } && test -s conftest.$ac_objext; then
17773 bakefile_cv_c_compiler___HP_cc=yes
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17778 bakefile_cv_c_compiler___HP_cc=no
17782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17786 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17787 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17788 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17794 ac_cpp='$CPP $CPPFLAGS'
17795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17807 ac_cpp='$CPP $CPPFLAGS'
17808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17812 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17813 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17814 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17815 echo $ECHO_N "(cached) $ECHO_C" >&6
17817 cat >conftest.$ac_ext <<_ACEOF
17820 cat confdefs.h >>conftest.$ac_ext
17821 cat >>conftest.$ac_ext <<_ACEOF
17822 /* end confdefs.h. */
17836 rm -f conftest.$ac_objext
17837 if { (ac_try="$ac_compile"
17838 case "(($ac_try" in
17839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17840 *) ac_try_echo=$ac_try;;
17842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17843 (eval "$ac_compile") 2>conftest.er1
17845 grep -v '^ *+' conftest.er1 >conftest.err
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } && {
17850 test -z "$ac_c_werror_flag" ||
17851 test ! -s conftest.err
17852 } && test -s conftest.$ac_objext; then
17853 bakefile_cv_c_compiler___DECC=yes
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17858 bakefile_cv_c_compiler___DECC=no
17862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17866 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17867 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17868 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17874 ac_cpp='$CPP $CPPFLAGS'
17875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17887 ac_cpp='$CPP $CPPFLAGS'
17888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17892 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17893 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17894 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17895 echo $ECHO_N "(cached) $ECHO_C" >&6
17897 cat >conftest.$ac_ext <<_ACEOF
17900 cat confdefs.h >>conftest.$ac_ext
17901 cat >>conftest.$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17916 rm -f conftest.$ac_objext
17917 if { (ac_try="$ac_compile"
17918 case "(($ac_try" in
17919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17920 *) ac_try_echo=$ac_try;;
17922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17923 (eval "$ac_compile") 2>conftest.er1
17925 grep -v '^ *+' conftest.er1 >conftest.err
17927 cat conftest.err >&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); } && {
17930 test -z "$ac_c_werror_flag" ||
17931 test ! -s conftest.err
17932 } && test -s conftest.$ac_objext; then
17933 bakefile_cv_c_compiler___SUNPRO_C=yes
17935 echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.$ac_ext >&5
17938 bakefile_cv_c_compiler___SUNPRO_C=no
17942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17946 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17947 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17948 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17954 ac_cpp='$CPP $CPPFLAGS'
17955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17968 ac_cpp='$CPP $CPPFLAGS'
17969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17972 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17973 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17974 # On Suns, sometimes $CPP names a directory.
17975 if test -n "$CPP" && test -d "$CPP"; then
17978 if test -z "$CPP"; then
17979 if test "${ac_cv_prog_CPP+set}" = set; then
17980 echo $ECHO_N "(cached) $ECHO_C" >&6
17982 # Double quotes because CPP needs to be expanded
17983 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17985 ac_preproc_ok=false
17986 for ac_c_preproc_warn_flag in '' yes
17988 # Use a header file that comes with gcc, so configuring glibc
17989 # with a fresh cross-compiler works.
17990 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17991 # <limits.h> exists even on freestanding compilers.
17992 # On the NeXT, cc -E runs the code through the compiler's parser,
17993 # not just through cpp. "Syntax error" is here to catch this case.
17994 cat >conftest.$ac_ext <<_ACEOF
17997 cat confdefs.h >>conftest.$ac_ext
17998 cat >>conftest.$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18001 # include <limits.h>
18003 # include <assert.h>
18007 if { (ac_try="$ac_cpp conftest.$ac_ext"
18008 case "(($ac_try" in
18009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18010 *) ac_try_echo=$ac_try;;
18012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18015 grep -v '^ *+' conftest.er1 >conftest.err
18017 cat conftest.err >&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); } >/dev/null && {
18020 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18021 test ! -s conftest.err
18025 echo "$as_me: failed program was:" >&5
18026 sed 's/^/| /' conftest.$ac_ext >&5
18028 # Broken: fails on valid input.
18032 rm -f conftest.err conftest.$ac_ext
18034 # OK, works on sane cases. Now check whether nonexistent headers
18035 # can be detected and how.
18036 cat >conftest.$ac_ext <<_ACEOF
18039 cat confdefs.h >>conftest.$ac_ext
18040 cat >>conftest.$ac_ext <<_ACEOF
18041 /* end confdefs.h. */
18042 #include <ac_nonexistent.h>
18044 if { (ac_try="$ac_cpp conftest.$ac_ext"
18045 case "(($ac_try" in
18046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18047 *) ac_try_echo=$ac_try;;
18049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18052 grep -v '^ *+' conftest.er1 >conftest.err
18054 cat conftest.err >&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); } >/dev/null && {
18057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18058 test ! -s conftest.err
18060 # Broken: success on invalid input.
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.$ac_ext >&5
18066 # Passes both tests.
18071 rm -f conftest.err conftest.$ac_ext
18074 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18075 rm -f conftest.err conftest.$ac_ext
18076 if $ac_preproc_ok; then
18081 ac_cv_prog_CPP=$CPP
18084 CPP=$ac_cv_prog_CPP
18086 ac_cv_prog_CPP=$CPP
18088 { echo "$as_me:$LINENO: result: $CPP" >&5
18089 echo "${ECHO_T}$CPP" >&6; }
18090 ac_preproc_ok=false
18091 for ac_c_preproc_warn_flag in '' yes
18093 # Use a header file that comes with gcc, so configuring glibc
18094 # with a fresh cross-compiler works.
18095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18096 # <limits.h> exists even on freestanding compilers.
18097 # On the NeXT, cc -E runs the code through the compiler's parser,
18098 # not just through cpp. "Syntax error" is here to catch this case.
18099 cat >conftest.$ac_ext <<_ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18106 # include <limits.h>
18108 # include <assert.h>
18112 if { (ac_try="$ac_cpp conftest.$ac_ext"
18113 case "(($ac_try" in
18114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18115 *) ac_try_echo=$ac_try;;
18117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18120 grep -v '^ *+' conftest.er1 >conftest.err
18122 cat conftest.err >&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); } >/dev/null && {
18125 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18126 test ! -s conftest.err
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.$ac_ext >&5
18133 # Broken: fails on valid input.
18137 rm -f conftest.err conftest.$ac_ext
18139 # OK, works on sane cases. Now check whether nonexistent headers
18140 # can be detected and how.
18141 cat >conftest.$ac_ext <<_ACEOF
18144 cat confdefs.h >>conftest.$ac_ext
18145 cat >>conftest.$ac_ext <<_ACEOF
18146 /* end confdefs.h. */
18147 #include <ac_nonexistent.h>
18149 if { (ac_try="$ac_cpp conftest.$ac_ext"
18150 case "(($ac_try" in
18151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18152 *) ac_try_echo=$ac_try;;
18154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18155 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18157 grep -v '^ *+' conftest.er1 >conftest.err
18159 cat conftest.err >&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } >/dev/null && {
18162 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18163 test ! -s conftest.err
18165 # Broken: success on invalid input.
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18171 # Passes both tests.
18176 rm -f conftest.err conftest.$ac_ext
18179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18180 rm -f conftest.err conftest.$ac_ext
18181 if $ac_preproc_ok; then
18184 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18185 See \`config.log' for more details." >&5
18186 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18187 See \`config.log' for more details." >&2;}
18188 { (exit 1); exit 1; }; }
18192 ac_cpp='$CPP $CPPFLAGS'
18193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18198 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18199 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18200 if test "${ac_cv_path_GREP+set}" = set; then
18201 echo $ECHO_N "(cached) $ECHO_C" >&6
18203 # Extract the first word of "grep ggrep" to use in msg output
18204 if test -z "$GREP"; then
18205 set dummy grep ggrep; ac_prog_name=$2
18206 if test "${ac_cv_path_GREP+set}" = set; then
18207 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 ac_path_GREP_found=false
18210 # Loop through the user's path and test for each of PROGNAME-LIST
18211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18212 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18215 test -z "$as_dir" && as_dir=.
18216 for ac_prog in grep ggrep; do
18217 for ac_exec_ext in '' $ac_executable_extensions; do
18218 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18219 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18220 # Check for GNU ac_path_GREP and select it if it is found.
18221 # Check for GNU $ac_path_GREP
18222 case `"$ac_path_GREP" --version 2>&1` in
18224 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18227 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18230 cat "conftest.in" "conftest.in" >"conftest.tmp"
18231 mv "conftest.tmp" "conftest.in"
18232 cp "conftest.in" "conftest.nl"
18233 echo 'GREP' >> "conftest.nl"
18234 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18235 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18236 ac_count=`expr $ac_count + 1`
18237 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18238 # Best one so far, save it but keep looking for a better one
18239 ac_cv_path_GREP="$ac_path_GREP"
18240 ac_path_GREP_max=$ac_count
18242 # 10*(2^10) chars as input seems more than enough
18243 test $ac_count -gt 10 && break
18245 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18249 $ac_path_GREP_found && break 3
18259 GREP="$ac_cv_path_GREP"
18260 if test -z "$GREP"; then
18261 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18262 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18263 { (exit 1); exit 1; }; }
18267 ac_cv_path_GREP=$GREP
18272 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18273 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18274 GREP="$ac_cv_path_GREP"
18277 { echo "$as_me:$LINENO: checking for egrep" >&5
18278 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18279 if test "${ac_cv_path_EGREP+set}" = set; then
18280 echo $ECHO_N "(cached) $ECHO_C" >&6
18282 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18283 then ac_cv_path_EGREP="$GREP -E"
18285 # Extract the first word of "egrep" to use in msg output
18286 if test -z "$EGREP"; then
18287 set dummy egrep; ac_prog_name=$2
18288 if test "${ac_cv_path_EGREP+set}" = set; then
18289 echo $ECHO_N "(cached) $ECHO_C" >&6
18291 ac_path_EGREP_found=false
18292 # Loop through the user's path and test for each of PROGNAME-LIST
18293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18297 test -z "$as_dir" && as_dir=.
18298 for ac_prog in egrep; do
18299 for ac_exec_ext in '' $ac_executable_extensions; do
18300 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18301 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18302 # Check for GNU ac_path_EGREP and select it if it is found.
18303 # Check for GNU $ac_path_EGREP
18304 case `"$ac_path_EGREP" --version 2>&1` in
18306 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18309 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18312 cat "conftest.in" "conftest.in" >"conftest.tmp"
18313 mv "conftest.tmp" "conftest.in"
18314 cp "conftest.in" "conftest.nl"
18315 echo 'EGREP' >> "conftest.nl"
18316 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18318 ac_count=`expr $ac_count + 1`
18319 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18320 # Best one so far, save it but keep looking for a better one
18321 ac_cv_path_EGREP="$ac_path_EGREP"
18322 ac_path_EGREP_max=$ac_count
18324 # 10*(2^10) chars as input seems more than enough
18325 test $ac_count -gt 10 && break
18327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18331 $ac_path_EGREP_found && break 3
18341 EGREP="$ac_cv_path_EGREP"
18342 if test -z "$EGREP"; then
18343 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18344 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18345 { (exit 1); exit 1; }; }
18349 ac_cv_path_EGREP=$EGREP
18355 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18356 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18357 EGREP="$ac_cv_path_EGREP"
18360 if test $ac_cv_c_compiler_gnu = yes; then
18361 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18362 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18363 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 ac_pattern="Autoconf.*'x'"
18367 cat >conftest.$ac_ext <<_ACEOF
18370 cat confdefs.h >>conftest.$ac_ext
18371 cat >>conftest.$ac_ext <<_ACEOF
18372 /* end confdefs.h. */
18376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18377 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18378 ac_cv_prog_gcc_traditional=yes
18380 ac_cv_prog_gcc_traditional=no
18385 if test $ac_cv_prog_gcc_traditional = no; then
18386 cat >conftest.$ac_ext <<_ACEOF
18389 cat confdefs.h >>conftest.$ac_ext
18390 cat >>conftest.$ac_ext <<_ACEOF
18391 /* end confdefs.h. */
18392 #include <termio.h>
18395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18396 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18397 ac_cv_prog_gcc_traditional=yes
18403 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18404 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18405 if test $ac_cv_prog_gcc_traditional = yes; then
18406 CC="$CC -traditional"
18411 CXXFLAGS=${CXXFLAGS:=}
18416 ac_cpp='$CXXCPP $CPPFLAGS'
18417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18420 if test -z "$CXX"; then
18421 if test -n "$CCC"; then
18424 if test -n "$ac_tool_prefix"; then
18425 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18428 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18431 if test "${ac_cv_prog_CXX+set}" = set; then
18432 echo $ECHO_N "(cached) $ECHO_C" >&6
18434 if test -n "$CXX"; then
18435 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18438 for as_dir in $PATH
18441 test -z "$as_dir" && as_dir=.
18442 for ac_exec_ext in '' $ac_executable_extensions; do
18443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18444 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18454 CXX=$ac_cv_prog_CXX
18455 if test -n "$CXX"; then
18456 { echo "$as_me:$LINENO: result: $CXX" >&5
18457 echo "${ECHO_T}$CXX" >&6; }
18459 { echo "$as_me:$LINENO: result: no" >&5
18460 echo "${ECHO_T}no" >&6; }
18464 test -n "$CXX" && break
18467 if test -z "$CXX"; then
18469 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18471 # Extract the first word of "$ac_prog", so it can be a program name with args.
18472 set dummy $ac_prog; ac_word=$2
18473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18475 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18476 echo $ECHO_N "(cached) $ECHO_C" >&6
18478 if test -n "$ac_ct_CXX"; then
18479 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18482 for as_dir in $PATH
18485 test -z "$as_dir" && as_dir=.
18486 for ac_exec_ext in '' $ac_executable_extensions; do
18487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18488 ac_cv_prog_ac_ct_CXX="$ac_prog"
18489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18498 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18499 if test -n "$ac_ct_CXX"; then
18500 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18501 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18503 { echo "$as_me:$LINENO: result: no" >&5
18504 echo "${ECHO_T}no" >&6; }
18508 test -n "$ac_ct_CXX" && break
18511 if test "x$ac_ct_CXX" = x; then
18514 case $cross_compiling:$ac_tool_warned in
18516 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18517 whose name does not start with the host triplet. If you think this
18518 configuration is useful to you, please write to autoconf@gnu.org." >&5
18519 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18520 whose name does not start with the host triplet. If you think this
18521 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18522 ac_tool_warned=yes ;;
18530 # Provide some information about the compiler.
18531 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18532 ac_compiler=`set X $ac_compile; echo $2`
18533 { (ac_try="$ac_compiler --version >&5"
18534 case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_compiler --version >&5") 2>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }
18543 { (ac_try="$ac_compiler -v >&5"
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_compiler -v >&5") 2>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }
18553 { (ac_try="$ac_compiler -V >&5"
18554 case "(($ac_try" in
18555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18556 *) ac_try_echo=$ac_try;;
18558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18559 (eval "$ac_compiler -V >&5") 2>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }
18564 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18565 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18566 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18567 echo $ECHO_N "(cached) $ECHO_C" >&6
18569 cat >conftest.$ac_ext <<_ACEOF
18572 cat confdefs.h >>conftest.$ac_ext
18573 cat >>conftest.$ac_ext <<_ACEOF
18574 /* end confdefs.h. */
18587 rm -f conftest.$ac_objext
18588 if { (ac_try="$ac_compile"
18589 case "(($ac_try" in
18590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18591 *) ac_try_echo=$ac_try;;
18593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18594 (eval "$ac_compile") 2>conftest.er1
18596 grep -v '^ *+' conftest.er1 >conftest.err
18598 cat conftest.err >&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); } && {
18601 test -z "$ac_cxx_werror_flag" ||
18602 test ! -s conftest.err
18603 } && test -s conftest.$ac_objext; then
18604 ac_compiler_gnu=yes
18606 echo "$as_me: failed program was:" >&5
18607 sed 's/^/| /' conftest.$ac_ext >&5
18612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18613 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18616 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18617 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18618 GXX=`test $ac_compiler_gnu = yes && echo yes`
18619 ac_test_CXXFLAGS=${CXXFLAGS+set}
18620 ac_save_CXXFLAGS=$CXXFLAGS
18621 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18623 if test "${ac_cv_prog_cxx_g+set}" = set; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18627 ac_cxx_werror_flag=yes
18628 ac_cv_prog_cxx_g=no
18630 cat >conftest.$ac_ext <<_ACEOF
18633 cat confdefs.h >>conftest.$ac_ext
18634 cat >>conftest.$ac_ext <<_ACEOF
18635 /* end confdefs.h. */
18645 rm -f conftest.$ac_objext
18646 if { (ac_try="$ac_compile"
18647 case "(($ac_try" in
18648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18649 *) ac_try_echo=$ac_try;;
18651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18652 (eval "$ac_compile") 2>conftest.er1
18654 grep -v '^ *+' conftest.er1 >conftest.err
18656 cat conftest.err >&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } && {
18659 test -z "$ac_cxx_werror_flag" ||
18660 test ! -s conftest.err
18661 } && test -s conftest.$ac_objext; then
18662 ac_cv_prog_cxx_g=yes
18664 echo "$as_me: failed program was:" >&5
18665 sed 's/^/| /' conftest.$ac_ext >&5
18668 cat >conftest.$ac_ext <<_ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18683 rm -f conftest.$ac_objext
18684 if { (ac_try="$ac_compile"
18685 case "(($ac_try" in
18686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18687 *) ac_try_echo=$ac_try;;
18689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18690 (eval "$ac_compile") 2>conftest.er1
18692 grep -v '^ *+' conftest.er1 >conftest.err
18694 cat conftest.err >&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } && {
18697 test -z "$ac_cxx_werror_flag" ||
18698 test ! -s conftest.err
18699 } && test -s conftest.$ac_objext; then
18702 echo "$as_me: failed program was:" >&5
18703 sed 's/^/| /' conftest.$ac_ext >&5
18705 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18707 cat >conftest.$ac_ext <<_ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18722 rm -f conftest.$ac_objext
18723 if { (ac_try="$ac_compile"
18724 case "(($ac_try" in
18725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18726 *) ac_try_echo=$ac_try;;
18728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18729 (eval "$ac_compile") 2>conftest.er1
18731 grep -v '^ *+' conftest.er1 >conftest.err
18733 cat conftest.err >&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } && {
18736 test -z "$ac_cxx_werror_flag" ||
18737 test ! -s conftest.err
18738 } && test -s conftest.$ac_objext; then
18739 ac_cv_prog_cxx_g=yes
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18754 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18756 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18757 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18758 if test "$ac_test_CXXFLAGS" = set; then
18759 CXXFLAGS=$ac_save_CXXFLAGS
18760 elif test $ac_cv_prog_cxx_g = yes; then
18761 if test "$GXX" = yes; then
18767 if test "$GXX" = yes; then
18774 ac_cpp='$CPP $CPPFLAGS'
18775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18783 ac_cpp='$CXXCPP $CPPFLAGS'
18784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18788 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18789 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18790 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18791 echo $ECHO_N "(cached) $ECHO_C" >&6
18793 cat >conftest.$ac_ext <<_ACEOF
18796 cat confdefs.h >>conftest.$ac_ext
18797 cat >>conftest.$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18804 #ifndef __INTEL_COMPILER
18812 rm -f conftest.$ac_objext
18813 if { (ac_try="$ac_compile"
18814 case "(($ac_try" in
18815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18816 *) ac_try_echo=$ac_try;;
18818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18819 (eval "$ac_compile") 2>conftest.er1
18821 grep -v '^ *+' conftest.er1 >conftest.err
18823 cat conftest.err >&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } && {
18826 test -z "$ac_cxx_werror_flag" ||
18827 test ! -s conftest.err
18828 } && test -s conftest.$ac_objext; then
18829 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18831 echo "$as_me: failed program was:" >&5
18832 sed 's/^/| /' conftest.$ac_ext >&5
18834 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18842 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18843 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18844 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18850 ac_cpp='$CPP $CPPFLAGS'
18851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18858 if test "x$GCXX" != "xyes"; then
18859 if test "xCXX" = "xC"; then
18860 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18861 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18862 if test "${bakefile_cv_c_exto+set}" = set; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18865 cat >conftest.$ac_ext <<_ACEOF
18868 cat confdefs.h >>conftest.$ac_ext
18869 cat >>conftest.$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18880 rm -f conftest.$ac_objext conftest.$ac_ext.o
18881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18882 (eval $ac_compile) 2>&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); }; then
18886 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18888 conftest.$ac_ext.o)
18889 bakefile_cv_c_exto="-ext o"
18896 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18897 See \`config.log' for more details." >&5
18898 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18899 See \`config.log' for more details." >&2;}
18900 { (exit 1); exit 1; }; }
18904 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18907 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18908 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18909 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18910 if test "c" = "c"; then
18911 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18913 if test "c" = "cxx"; then
18914 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18918 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18919 unset ac_cv_prog_cc_g
18920 ac_test_CFLAGS=${CFLAGS+set}
18921 ac_save_CFLAGS=$CFLAGS
18922 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18923 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18924 if test "${ac_cv_prog_cc_g+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 ac_save_c_werror_flag=$ac_c_werror_flag
18928 ac_c_werror_flag=yes
18931 cat >conftest.$ac_ext <<_ACEOF
18934 cat confdefs.h >>conftest.$ac_ext
18935 cat >>conftest.$ac_ext <<_ACEOF
18936 /* end confdefs.h. */
18946 rm -f conftest.$ac_objext
18947 if { (ac_try="$ac_compile"
18948 case "(($ac_try" in
18949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18950 *) ac_try_echo=$ac_try;;
18952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18953 (eval "$ac_compile") 2>conftest.er1
18955 grep -v '^ *+' conftest.er1 >conftest.err
18957 cat conftest.err >&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } && {
18960 test -z "$ac_c_werror_flag" ||
18961 test ! -s conftest.err
18962 } && test -s conftest.$ac_objext; then
18963 ac_cv_prog_cc_g=yes
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.$ac_ext >&5
18969 cat >conftest.$ac_ext <<_ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18984 rm -f conftest.$ac_objext
18985 if { (ac_try="$ac_compile"
18986 case "(($ac_try" in
18987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18988 *) ac_try_echo=$ac_try;;
18990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18991 (eval "$ac_compile") 2>conftest.er1
18993 grep -v '^ *+' conftest.er1 >conftest.err
18995 cat conftest.err >&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); } && {
18998 test -z "$ac_c_werror_flag" ||
18999 test ! -s conftest.err
19000 } && test -s conftest.$ac_objext; then
19003 echo "$as_me: failed program was:" >&5
19004 sed 's/^/| /' conftest.$ac_ext >&5
19006 ac_c_werror_flag=$ac_save_c_werror_flag
19008 cat >conftest.$ac_ext <<_ACEOF
19011 cat confdefs.h >>conftest.$ac_ext
19012 cat >>conftest.$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19023 rm -f conftest.$ac_objext
19024 if { (ac_try="$ac_compile"
19025 case "(($ac_try" in
19026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19027 *) ac_try_echo=$ac_try;;
19029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19030 (eval "$ac_compile") 2>conftest.er1
19032 grep -v '^ *+' conftest.er1 >conftest.err
19034 cat conftest.err >&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } && {
19037 test -z "$ac_c_werror_flag" ||
19038 test ! -s conftest.err
19039 } && test -s conftest.$ac_objext; then
19040 ac_cv_prog_cc_g=yes
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.$ac_ext >&5
19048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19055 ac_c_werror_flag=$ac_save_c_werror_flag
19057 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19058 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19059 if test "$ac_test_CFLAGS" = set; then
19060 CFLAGS=$ac_save_CFLAGS
19061 elif test $ac_cv_prog_cc_g = yes; then
19062 if test "$GCC" = yes; then
19068 if test "$GCC" = yes; then
19082 ac_cpp='$CXXCPP $CPPFLAGS'
19083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19087 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19088 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19089 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19090 echo $ECHO_N "(cached) $ECHO_C" >&6
19092 cat >conftest.$ac_ext <<_ACEOF
19095 cat confdefs.h >>conftest.$ac_ext
19096 cat >>conftest.$ac_ext <<_ACEOF
19097 /* end confdefs.h. */
19111 rm -f conftest.$ac_objext
19112 if { (ac_try="$ac_compile"
19113 case "(($ac_try" in
19114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19115 *) ac_try_echo=$ac_try;;
19117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19118 (eval "$ac_compile") 2>conftest.er1
19120 grep -v '^ *+' conftest.er1 >conftest.err
19122 cat conftest.err >&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } && {
19125 test -z "$ac_cxx_werror_flag" ||
19126 test ! -s conftest.err
19127 } && test -s conftest.$ac_objext; then
19128 bakefile_cv_cxx_compiler___xlC__=yes
19130 echo "$as_me: failed program was:" >&5
19131 sed 's/^/| /' conftest.$ac_ext >&5
19133 bakefile_cv_cxx_compiler___xlC__=no
19137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19142 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19143 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19149 ac_cpp='$CPP $CPPFLAGS'
19150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19162 ac_cpp='$CXXCPP $CPPFLAGS'
19163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19167 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19168 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19169 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19172 cat >conftest.$ac_ext <<_ACEOF
19175 cat confdefs.h >>conftest.$ac_ext
19176 cat >>conftest.$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19191 rm -f conftest.$ac_objext
19192 if { (ac_try="$ac_compile"
19193 case "(($ac_try" in
19194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19195 *) ac_try_echo=$ac_try;;
19197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19198 (eval "$ac_compile") 2>conftest.er1
19200 grep -v '^ *+' conftest.er1 >conftest.err
19202 cat conftest.err >&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } && {
19205 test -z "$ac_cxx_werror_flag" ||
19206 test ! -s conftest.err
19207 } && test -s conftest.$ac_objext; then
19208 bakefile_cv_cxx_compiler___MWERKS__=yes
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19213 bakefile_cv_cxx_compiler___MWERKS__=no
19217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19221 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19222 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19223 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19229 ac_cpp='$CPP $CPPFLAGS'
19230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19239 ac_cpp='$CXXCPP $CPPFLAGS'
19240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19244 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19245 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19246 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19247 echo $ECHO_N "(cached) $ECHO_C" >&6
19249 cat >conftest.$ac_ext <<_ACEOF
19252 cat confdefs.h >>conftest.$ac_ext
19253 cat >>conftest.$ac_ext <<_ACEOF
19254 /* end confdefs.h. */
19268 rm -f conftest.$ac_objext
19269 if { (ac_try="$ac_compile"
19270 case "(($ac_try" in
19271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19272 *) ac_try_echo=$ac_try;;
19274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19275 (eval "$ac_compile") 2>conftest.er1
19277 grep -v '^ *+' conftest.er1 >conftest.err
19279 cat conftest.err >&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); } && {
19282 test -z "$ac_cxx_werror_flag" ||
19283 test ! -s conftest.err
19284 } && test -s conftest.$ac_objext; then
19285 bakefile_cv_cxx_compiler___xlC__=yes
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.$ac_ext >&5
19290 bakefile_cv_cxx_compiler___xlC__=no
19294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19298 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19299 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19300 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19306 ac_cpp='$CPP $CPPFLAGS'
19307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19319 ac_cpp='$CXXCPP $CPPFLAGS'
19320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19324 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19325 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19326 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19329 cat >conftest.$ac_ext <<_ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19340 #ifndef _SGI_COMPILER_VERSION
19348 rm -f conftest.$ac_objext
19349 if { (ac_try="$ac_compile"
19350 case "(($ac_try" in
19351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19352 *) ac_try_echo=$ac_try;;
19354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19355 (eval "$ac_compile") 2>conftest.er1
19357 grep -v '^ *+' conftest.er1 >conftest.err
19359 cat conftest.err >&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } && {
19362 test -z "$ac_cxx_werror_flag" ||
19363 test ! -s conftest.err
19364 } && test -s conftest.$ac_objext; then
19365 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19367 echo "$as_me: failed program was:" >&5
19368 sed 's/^/| /' conftest.$ac_ext >&5
19370 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19378 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19379 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19380 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19386 ac_cpp='$CPP $CPPFLAGS'
19387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19399 ac_cpp='$CXXCPP $CPPFLAGS'
19400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19404 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19405 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19406 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19407 echo $ECHO_N "(cached) $ECHO_C" >&6
19409 cat >conftest.$ac_ext <<_ACEOF
19412 cat confdefs.h >>conftest.$ac_ext
19413 cat >>conftest.$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19420 #ifndef __SUNPRO_CC
19428 rm -f conftest.$ac_objext
19429 if { (ac_try="$ac_compile"
19430 case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_compile") 2>conftest.er1
19437 grep -v '^ *+' conftest.er1 >conftest.err
19439 cat conftest.err >&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } && {
19442 test -z "$ac_cxx_werror_flag" ||
19443 test ! -s conftest.err
19444 } && test -s conftest.$ac_objext; then
19445 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.$ac_ext >&5
19450 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19458 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19459 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19460 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19466 ac_cpp='$CPP $CPPFLAGS'
19467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19479 ac_cpp='$CXXCPP $CPPFLAGS'
19480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19484 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19485 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19486 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19487 echo $ECHO_N "(cached) $ECHO_C" >&6
19489 cat >conftest.$ac_ext <<_ACEOF
19492 cat confdefs.h >>conftest.$ac_ext
19493 cat >>conftest.$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19508 rm -f conftest.$ac_objext
19509 if { (ac_try="$ac_compile"
19510 case "(($ac_try" in
19511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19512 *) ac_try_echo=$ac_try;;
19514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19515 (eval "$ac_compile") 2>conftest.er1
19517 grep -v '^ *+' conftest.er1 >conftest.err
19519 cat conftest.err >&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } && {
19522 test -z "$ac_cxx_werror_flag" ||
19523 test ! -s conftest.err
19524 } && test -s conftest.$ac_objext; then
19525 bakefile_cv_cxx_compiler___HP_aCC=yes
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.$ac_ext >&5
19530 bakefile_cv_cxx_compiler___HP_aCC=no
19534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19538 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19539 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19540 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19546 ac_cpp='$CPP $CPPFLAGS'
19547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19559 ac_cpp='$CXXCPP $CPPFLAGS'
19560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19564 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19565 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19566 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19567 echo $ECHO_N "(cached) $ECHO_C" >&6
19569 cat >conftest.$ac_ext <<_ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19588 rm -f conftest.$ac_objext
19589 if { (ac_try="$ac_compile"
19590 case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 *) ac_try_echo=$ac_try;;
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_compile") 2>conftest.er1
19597 grep -v '^ *+' conftest.er1 >conftest.err
19599 cat conftest.err >&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && {
19602 test -z "$ac_cxx_werror_flag" ||
19603 test ! -s conftest.err
19604 } && test -s conftest.$ac_objext; then
19605 bakefile_cv_cxx_compiler___DECCXX=yes
19607 echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.$ac_ext >&5
19610 bakefile_cv_cxx_compiler___DECCXX=no
19614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19618 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19619 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19620 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19626 ac_cpp='$CPP $CPPFLAGS'
19627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19639 ac_cpp='$CXXCPP $CPPFLAGS'
19640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19644 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19645 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19646 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19647 echo $ECHO_N "(cached) $ECHO_C" >&6
19649 cat >conftest.$ac_ext <<_ACEOF
19652 cat confdefs.h >>conftest.$ac_ext
19653 cat >>conftest.$ac_ext <<_ACEOF
19654 /* end confdefs.h. */
19660 #ifndef __SUNPRO_CC
19668 rm -f conftest.$ac_objext
19669 if { (ac_try="$ac_compile"
19670 case "(($ac_try" in
19671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19672 *) ac_try_echo=$ac_try;;
19674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19675 (eval "$ac_compile") 2>conftest.er1
19677 grep -v '^ *+' conftest.er1 >conftest.err
19679 cat conftest.err >&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } && {
19682 test -z "$ac_cxx_werror_flag" ||
19683 test ! -s conftest.err
19684 } && test -s conftest.$ac_objext; then
19685 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19687 echo "$as_me: failed program was:" >&5
19688 sed 's/^/| /' conftest.$ac_ext >&5
19690 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19698 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19699 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19700 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19706 ac_cpp='$CPP $CPPFLAGS'
19707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19719 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19720 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19721 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19722 { (exit 1); exit 1; }; }
19725 if test -n "$ac_tool_prefix"; then
19726 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19727 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19730 if test "${ac_cv_prog_RANLIB+set}" = set; then
19731 echo $ECHO_N "(cached) $ECHO_C" >&6
19733 if test -n "$RANLIB"; then
19734 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19737 for as_dir in $PATH
19740 test -z "$as_dir" && as_dir=.
19741 for ac_exec_ext in '' $ac_executable_extensions; do
19742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19743 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19753 RANLIB=$ac_cv_prog_RANLIB
19754 if test -n "$RANLIB"; then
19755 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19756 echo "${ECHO_T}$RANLIB" >&6; }
19758 { echo "$as_me:$LINENO: result: no" >&5
19759 echo "${ECHO_T}no" >&6; }
19764 if test -z "$ac_cv_prog_RANLIB"; then
19765 ac_ct_RANLIB=$RANLIB
19766 # Extract the first word of "ranlib", so it can be a program name with args.
19767 set dummy ranlib; ac_word=$2
19768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19770 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19771 echo $ECHO_N "(cached) $ECHO_C" >&6
19773 if test -n "$ac_ct_RANLIB"; then
19774 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19777 for as_dir in $PATH
19780 test -z "$as_dir" && as_dir=.
19781 for ac_exec_ext in '' $ac_executable_extensions; do
19782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19783 ac_cv_prog_ac_ct_RANLIB="ranlib"
19784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19793 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19794 if test -n "$ac_ct_RANLIB"; then
19795 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19796 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19798 { echo "$as_me:$LINENO: result: no" >&5
19799 echo "${ECHO_T}no" >&6; }
19802 if test "x$ac_ct_RANLIB" = x; then
19805 case $cross_compiling:$ac_tool_warned in
19807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19808 whose name does not start with the host triplet. If you think this
19809 configuration is useful to you, please write to autoconf@gnu.org." >&5
19810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19811 whose name does not start with the host triplet. If you think this
19812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19813 ac_tool_warned=yes ;;
19815 RANLIB=$ac_ct_RANLIB
19818 RANLIB="$ac_cv_prog_RANLIB"
19822 if test "x$SUNCXX" != xyes; then
19823 if test -n "$ac_tool_prefix"; then
19824 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19825 set dummy ${ac_tool_prefix}ar; ac_word=$2
19826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19828 if test "${ac_cv_prog_AR+set}" = set; then
19829 echo $ECHO_N "(cached) $ECHO_C" >&6
19831 if test -n "$AR"; then
19832 ac_cv_prog_AR="$AR" # Let the user override the test.
19834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19835 for as_dir in $PATH
19838 test -z "$as_dir" && as_dir=.
19839 for ac_exec_ext in '' $ac_executable_extensions; do
19840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19841 ac_cv_prog_AR="${ac_tool_prefix}ar"
19842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19852 if test -n "$AR"; then
19853 { echo "$as_me:$LINENO: result: $AR" >&5
19854 echo "${ECHO_T}$AR" >&6; }
19856 { echo "$as_me:$LINENO: result: no" >&5
19857 echo "${ECHO_T}no" >&6; }
19862 if test -z "$ac_cv_prog_AR"; then
19864 # Extract the first word of "ar", so it can be a program name with args.
19865 set dummy ar; ac_word=$2
19866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19868 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19869 echo $ECHO_N "(cached) $ECHO_C" >&6
19871 if test -n "$ac_ct_AR"; then
19872 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19875 for as_dir in $PATH
19878 test -z "$as_dir" && as_dir=.
19879 for ac_exec_ext in '' $ac_executable_extensions; do
19880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19881 ac_cv_prog_ac_ct_AR="ar"
19882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19891 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19892 if test -n "$ac_ct_AR"; then
19893 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19894 echo "${ECHO_T}$ac_ct_AR" >&6; }
19896 { echo "$as_me:$LINENO: result: no" >&5
19897 echo "${ECHO_T}no" >&6; }
19900 if test "x$ac_ct_AR" = x; then
19903 case $cross_compiling:$ac_tool_warned in
19905 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19906 whose name does not start with the host triplet. If you think this
19907 configuration is useful to you, please write to autoconf@gnu.org." >&5
19908 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19909 whose name does not start with the host triplet. If you think this
19910 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19911 ac_tool_warned=yes ;;
19916 AR="$ac_cv_prog_AR"
19919 if test "x$AR" = "x" ; then
19920 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19921 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19922 { (exit 1); exit 1; }; }
19926 # Find a good install program. We prefer a C program (faster),
19927 # so one script is as good as another. But avoid the broken or
19928 # incompatible versions:
19929 # SysV /etc/install, /usr/sbin/install
19930 # SunOS /usr/etc/install
19931 # IRIX /sbin/install
19933 # AmigaOS /C/install, which installs bootblocks on floppy discs
19934 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19935 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19936 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19937 # OS/2's system install, which has a completely different semantic
19938 # ./install, which can be erroneously created by make from ./install.sh.
19939 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19940 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19941 if test -z "$INSTALL"; then
19942 if test "${ac_cv_path_install+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19946 for as_dir in $PATH
19949 test -z "$as_dir" && as_dir=.
19950 # Account for people who put trailing slashes in PATH elements.
19952 ./ | .// | /cC/* | \
19953 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19954 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19957 # OSF1 and SCO ODT 3.0 have their own names for install.
19958 # Don't use installbsd from OSF since it installs stuff as root
19960 for ac_prog in ginstall scoinst install; do
19961 for ac_exec_ext in '' $ac_executable_extensions; do
19962 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19963 if test $ac_prog = install &&
19964 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19965 # AIX install. It has an incompatible calling convention.
19967 elif test $ac_prog = install &&
19968 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19969 # program-specific install script used by HP pwplus--don't use.
19972 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19985 if test "${ac_cv_path_install+set}" = set; then
19986 INSTALL=$ac_cv_path_install
19988 # As a last resort, use the slow shell script. Don't cache a
19989 # value for INSTALL within a source directory, because that will
19990 # break other packages using the cache if that directory is
19991 # removed, or if the value is a relative name.
19992 INSTALL=$ac_install_sh
19995 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19996 echo "${ECHO_T}$INSTALL" >&6; }
19998 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19999 # It thinks the first close brace ends the variable substitution.
20000 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
20002 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
20004 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
20010 ?:* ) # Drive letter, considered as absolute.
20013 INSTALL=`pwd`/${INSTALL} ;;
20016 retest_macosx_linking=no
20018 #if test "$wxUSE_MAC" = 1; then
20019 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20020 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20021 # Implicitly turn on the new --with-macosx-sdk using the default
20022 # SDK which provides the behavior this option has always had.
20023 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20024 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20025 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20026 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20027 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20028 wxUSE_MACOSX_SDK=yes
20031 # Complain to user if he specified an argument to --enable-universal_binary
20032 # and also 1) specified --with-macosx-sdk using the default (yes) or
20033 # 2) specified --with-macosx-sdk using a path or 3) specified
20034 # --without-macosx-sdk (no).
20035 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20036 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20037 See \`config.log' for more details." >&5
20038 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20039 See \`config.log' for more details." >&2;}
20040 { (exit 1); exit 1; }; }
20042 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20043 # special-case the empty string because the below test simply
20044 # converts "no" to the empty string anyway.
20045 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20046 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20047 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20050 OSX_UNIV_OPTS="-arch ppc -arch i386"
20051 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20052 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20053 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20054 retest_macosx_linking=yes
20056 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20057 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20062 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20064 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20065 # TODO: Search for most recent SDK and use it.
20066 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20070 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20071 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20072 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20073 if ! test -d "$wxUSE_MACOSX_SDK"; then
20074 { { echo "$as_me:$LINENO: error: not found
20075 See \`config.log' for more details." >&5
20076 echo "$as_me: error: not found
20077 See \`config.log' for more details." >&2;}
20078 { (exit 1); exit 1; }; }
20080 { echo "$as_me:$LINENO: result: exists" >&5
20081 echo "${ECHO_T}exists" >&6; }
20083 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20084 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20085 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20086 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20087 retest_macosx_linking=yes
20090 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20091 wxUSE_MACOSX_VERSION_MIN=
20092 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20093 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20094 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20095 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20097 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20099 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20100 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20101 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20102 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20104 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20105 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20106 wxUSE_MACOSX_VERSION_MIN=
20109 wxUSE_MACOSX_VERSION_MIN=
20113 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20114 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20115 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20116 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20117 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20118 retest_macosx_linking=yes
20121 if test "x$retest_macosx_linking" = "xyes"; then
20123 ac_cpp='$CPP $CPPFLAGS'
20124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20128 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20129 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20130 cat >conftest.$ac_ext <<_ACEOF
20133 cat confdefs.h >>conftest.$ac_ext
20134 cat >>conftest.$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20145 rm -f conftest.$ac_objext conftest$ac_exeext
20146 if { (ac_try="$ac_link"
20147 case "(($ac_try" in
20148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20149 *) ac_try_echo=$ac_try;;
20151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20152 (eval "$ac_link") 2>conftest.er1
20154 grep -v '^ *+' conftest.er1 >conftest.err
20156 cat conftest.err >&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); } && {
20159 test -z "$ac_c_werror_flag" ||
20160 test ! -s conftest.err
20161 } && test -s conftest$ac_exeext &&
20162 $as_test_x conftest$ac_exeext; then
20163 { echo "$as_me:$LINENO: result: yes" >&5
20164 echo "${ECHO_T}yes" >&6; }
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20169 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20170 See \`config.log' for more details." >&5
20171 echo "$as_me: error: no. Try a different SDK
20172 See \`config.log' for more details." >&2;}
20173 { (exit 1); exit 1; }; }; exit 1
20176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20177 conftest$ac_exeext conftest.$ac_ext
20179 ac_cpp='$CPP $CPPFLAGS'
20180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20186 ac_cpp='$CXXCPP $CPPFLAGS'
20187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20191 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20192 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20193 cat >conftest.$ac_ext <<_ACEOF
20196 cat confdefs.h >>conftest.$ac_ext
20197 cat >>conftest.$ac_ext <<_ACEOF
20198 /* end confdefs.h. */
20208 rm -f conftest.$ac_objext conftest$ac_exeext
20209 if { (ac_try="$ac_link"
20210 case "(($ac_try" in
20211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20212 *) ac_try_echo=$ac_try;;
20214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20215 (eval "$ac_link") 2>conftest.er1
20217 grep -v '^ *+' conftest.er1 >conftest.err
20219 cat conftest.err >&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); } && {
20222 test -z "$ac_cxx_werror_flag" ||
20223 test ! -s conftest.err
20224 } && test -s conftest$ac_exeext &&
20225 $as_test_x conftest$ac_exeext; then
20226 { echo "$as_me:$LINENO: result: yes" >&5
20227 echo "${ECHO_T}yes" >&6; }
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.$ac_ext >&5
20232 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20233 See \`config.log' for more details." >&5
20234 echo "$as_me: error: no. Try a different SDK
20235 See \`config.log' for more details." >&2;}
20236 { (exit 1); exit 1; }; }; exit 1
20239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20240 conftest$ac_exeext conftest.$ac_ext
20242 ac_cpp='$CPP $CPPFLAGS'
20243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20253 INSTALL_PROGRAM="cp -fp"
20254 INSTALL_DATA="cp -fp"
20260 if test -n "$ac_tool_prefix"; then
20261 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
20262 set dummy ${ac_tool_prefix}strip; ac_word=$2
20263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20265 if test "${ac_cv_prog_STRIP+set}" = set; then
20266 echo $ECHO_N "(cached) $ECHO_C" >&6
20268 if test -n "$STRIP"; then
20269 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
20271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20272 for as_dir in $PATH
20275 test -z "$as_dir" && as_dir=.
20276 for ac_exec_ext in '' $ac_executable_extensions; do
20277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20278 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
20279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20288 STRIP=$ac_cv_prog_STRIP
20289 if test -n "$STRIP"; then
20290 { echo "$as_me:$LINENO: result: $STRIP" >&5
20291 echo "${ECHO_T}$STRIP" >&6; }
20293 { echo "$as_me:$LINENO: result: no" >&5
20294 echo "${ECHO_T}no" >&6; }
20299 if test -z "$ac_cv_prog_STRIP"; then
20301 # Extract the first word of "strip", so it can be a program name with args.
20302 set dummy strip; ac_word=$2
20303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20305 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
20306 echo $ECHO_N "(cached) $ECHO_C" >&6
20308 if test -n "$ac_ct_STRIP"; then
20309 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
20311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20312 for as_dir in $PATH
20315 test -z "$as_dir" && as_dir=.
20316 for ac_exec_ext in '' $ac_executable_extensions; do
20317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20318 ac_cv_prog_ac_ct_STRIP="strip"
20319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20328 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
20329 if test -n "$ac_ct_STRIP"; then
20330 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
20331 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
20333 { echo "$as_me:$LINENO: result: no" >&5
20334 echo "${ECHO_T}no" >&6; }
20337 if test "x$ac_ct_STRIP" = x; then
20340 case $cross_compiling:$ac_tool_warned in
20342 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20343 whose name does not start with the host triplet. If you think this
20344 configuration is useful to you, please write to autoconf@gnu.org." >&5
20345 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20346 whose name does not start with the host triplet. If you think this
20347 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20348 ac_tool_warned=yes ;;
20353 STRIP="$ac_cv_prog_STRIP"
20357 if test "$wxUSE_WINE" = "yes"; then
20358 if test -n "$ac_tool_prefix"; then
20359 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
20360 set dummy ${ac_tool_prefix}wrc; ac_word=$2
20361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20363 if test "${ac_cv_prog_WINDRES+set}" = set; then
20364 echo $ECHO_N "(cached) $ECHO_C" >&6
20366 if test -n "$WINDRES"; then
20367 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20370 for as_dir in $PATH
20373 test -z "$as_dir" && as_dir=.
20374 for ac_exec_ext in '' $ac_executable_extensions; do
20375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20376 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
20377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20386 WINDRES=$ac_cv_prog_WINDRES
20387 if test -n "$WINDRES"; then
20388 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20389 echo "${ECHO_T}$WINDRES" >&6; }
20391 { echo "$as_me:$LINENO: result: no" >&5
20392 echo "${ECHO_T}no" >&6; }
20397 if test -z "$ac_cv_prog_WINDRES"; then
20398 ac_ct_WINDRES=$WINDRES
20399 # Extract the first word of "wrc", so it can be a program name with args.
20400 set dummy wrc; ac_word=$2
20401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20403 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20404 echo $ECHO_N "(cached) $ECHO_C" >&6
20406 if test -n "$ac_ct_WINDRES"; then
20407 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20410 for as_dir in $PATH
20413 test -z "$as_dir" && as_dir=.
20414 for ac_exec_ext in '' $ac_executable_extensions; do
20415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20416 ac_cv_prog_ac_ct_WINDRES="wrc"
20417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20426 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20427 if test -n "$ac_ct_WINDRES"; then
20428 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20429 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20431 { echo "$as_me:$LINENO: result: no" >&5
20432 echo "${ECHO_T}no" >&6; }
20435 if test "x$ac_ct_WINDRES" = x; then
20438 case $cross_compiling:$ac_tool_warned in
20440 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20441 whose name does not start with the host triplet. If you think this
20442 configuration is useful to you, please write to autoconf@gnu.org." >&5
20443 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20444 whose name does not start with the host triplet. If you think this
20445 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20446 ac_tool_warned=yes ;;
20448 WINDRES=$ac_ct_WINDRES
20451 WINDRES="$ac_cv_prog_WINDRES"
20457 *-*-cygwin* | *-*-mingw32* )
20458 if test -n "$ac_tool_prefix"; then
20459 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20460 set dummy ${ac_tool_prefix}windres; ac_word=$2
20461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20463 if test "${ac_cv_prog_WINDRES+set}" = set; then
20464 echo $ECHO_N "(cached) $ECHO_C" >&6
20466 if test -n "$WINDRES"; then
20467 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20470 for as_dir in $PATH
20473 test -z "$as_dir" && as_dir=.
20474 for ac_exec_ext in '' $ac_executable_extensions; do
20475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20476 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20486 WINDRES=$ac_cv_prog_WINDRES
20487 if test -n "$WINDRES"; then
20488 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20489 echo "${ECHO_T}$WINDRES" >&6; }
20491 { echo "$as_me:$LINENO: result: no" >&5
20492 echo "${ECHO_T}no" >&6; }
20497 if test -z "$ac_cv_prog_WINDRES"; then
20498 ac_ct_WINDRES=$WINDRES
20499 # Extract the first word of "windres", so it can be a program name with args.
20500 set dummy windres; ac_word=$2
20501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20503 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20504 echo $ECHO_N "(cached) $ECHO_C" >&6
20506 if test -n "$ac_ct_WINDRES"; then
20507 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20510 for as_dir in $PATH
20513 test -z "$as_dir" && as_dir=.
20514 for ac_exec_ext in '' $ac_executable_extensions; do
20515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20516 ac_cv_prog_ac_ct_WINDRES="windres"
20517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20526 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20527 if test -n "$ac_ct_WINDRES"; then
20528 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20529 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20531 { echo "$as_me:$LINENO: result: no" >&5
20532 echo "${ECHO_T}no" >&6; }
20535 if test "x$ac_ct_WINDRES" = x; then
20538 case $cross_compiling:$ac_tool_warned in
20540 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20541 whose name does not start with the host triplet. If you think this
20542 configuration is useful to you, please write to autoconf@gnu.org." >&5
20543 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20544 whose name does not start with the host triplet. If you think this
20545 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20546 ac_tool_warned=yes ;;
20548 WINDRES=$ac_ct_WINDRES
20551 WINDRES="$ac_cv_prog_WINDRES"
20555 if test -n "$ac_tool_prefix"; then
20556 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20557 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20560 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 if test -n "$DLLTOOL"; then
20564 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20567 for as_dir in $PATH
20570 test -z "$as_dir" && as_dir=.
20571 for ac_exec_ext in '' $ac_executable_extensions; do
20572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20573 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20583 DLLTOOL=$ac_cv_prog_DLLTOOL
20584 if test -n "$DLLTOOL"; then
20585 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20586 echo "${ECHO_T}$DLLTOOL" >&6; }
20588 { echo "$as_me:$LINENO: result: no" >&5
20589 echo "${ECHO_T}no" >&6; }
20594 if test -z "$ac_cv_prog_DLLTOOL"; then
20595 ac_ct_DLLTOOL=$DLLTOOL
20596 # Extract the first word of "dlltool", so it can be a program name with args.
20597 set dummy dlltool; ac_word=$2
20598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20600 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20601 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 if test -n "$ac_ct_DLLTOOL"; then
20604 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20607 for as_dir in $PATH
20610 test -z "$as_dir" && as_dir=.
20611 for ac_exec_ext in '' $ac_executable_extensions; do
20612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20613 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20623 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20624 if test -n "$ac_ct_DLLTOOL"; then
20625 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20626 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20628 { echo "$as_me:$LINENO: result: no" >&5
20629 echo "${ECHO_T}no" >&6; }
20632 if test "x$ac_ct_DLLTOOL" = x; then
20635 case $cross_compiling:$ac_tool_warned in
20637 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20638 whose name does not start with the host triplet. If you think this
20639 configuration is useful to you, please write to autoconf@gnu.org." >&5
20640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20641 whose name does not start with the host triplet. If you think this
20642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20643 ac_tool_warned=yes ;;
20645 DLLTOOL=$ac_ct_DLLTOOL
20648 DLLTOOL="$ac_cv_prog_DLLTOOL"
20655 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20656 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20657 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20661 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20662 $EGREP -s GNU > /dev/null); then
20663 wx_cv_prog_makeisgnu="yes"
20665 wx_cv_prog_makeisgnu="no"
20669 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20670 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20672 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20680 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20681 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20682 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20683 if test "${wx_cv_prog_makevpath+set}" = set; then
20684 echo $ECHO_N "(cached) $ECHO_C" >&6
20687 cat - << EOF > confMake
20693 if test ! -d sub ; then
20696 echo dummy > sub/file
20697 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20699 rm -f sub/file check final_file confMake
20701 if test "$RESULT" = 0; then
20702 wx_cv_prog_makevpath="yes"
20704 wx_cv_prog_makevpath="no"
20708 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20709 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20711 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20712 { { echo "$as_me:$LINENO: error:
20713 You need a make-utility that is able to use the variable
20715 If your version of make does not support VPATH correctly,
20716 please install GNU-make (possibly as gmake), and start
20717 configure with the following command:
20718 export MAKE=gmake; ./configure for sh-type shells
20719 setenv MAKE gmake; ./configure for csh-type shells
20720 Also please do remember to use gmake in this case every time
20721 you are trying to compile.
20723 echo "$as_me: error:
20724 You need a make-utility that is able to use the variable
20726 If your version of make does not support VPATH correctly,
20727 please install GNU-make (possibly as gmake), and start
20728 configure with the following command:
20729 export MAKE=gmake; ./configure for sh-type shells
20730 setenv MAKE gmake; ./configure for csh-type shells
20731 Also please do remember to use gmake in this case every time
20732 you are trying to compile.
20734 { (exit 1); exit 1; }; }
20736 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20737 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20739 if test "$LN_S" = "ln -s"; then
20740 { echo "$as_me:$LINENO: result: yes" >&5
20741 echo "${ECHO_T}yes" >&6; }
20743 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20744 echo "${ECHO_T}no, using $LN_S" >&6; }
20750 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20751 CXXFLAGS="-qunique $CXXFLAGS"
20755 powerpc-*-darwin* )
20756 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20757 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20758 cat >conftest.$ac_ext <<_ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20768 #ifndef __POWERPC__
20769 choke me for lack of PowerPC
20776 rm -f conftest.$ac_objext
20777 if { (ac_try="$ac_compile"
20778 case "(($ac_try" in
20779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20780 *) ac_try_echo=$ac_try;;
20782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20783 (eval "$ac_compile") 2>conftest.er1
20785 grep -v '^ *+' conftest.er1 >conftest.err
20787 cat conftest.err >&5
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); } && {
20790 test -z "$ac_c_werror_flag" ||
20791 test ! -s conftest.err
20792 } && test -s conftest.$ac_objext; then
20793 { echo "$as_me:$LINENO: result: yes" >&5
20794 echo "${ECHO_T}yes" >&6; }
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20799 { echo "$as_me:$LINENO: result: no" >&5
20800 echo "${ECHO_T}no" >&6; }
20801 cat >>confdefs.h <<\_ACEOF
20802 #define __POWERPC__ 1
20808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20814 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20815 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20816 cat >conftest.$ac_ext <<_ACEOF
20819 cat confdefs.h >>conftest.$ac_ext
20820 cat >>conftest.$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 #include <CoreFoundation/CFBase.h>
20832 rm -f conftest.$ac_objext
20833 if { (ac_try="$ac_compile"
20834 case "(($ac_try" in
20835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20836 *) ac_try_echo=$ac_try;;
20838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20839 (eval "$ac_compile") 2>conftest.er1
20841 grep -v '^ *+' conftest.er1 >conftest.err
20843 cat conftest.err >&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); } && {
20846 test -z "$ac_c_werror_flag" ||
20847 test ! -s conftest.err
20848 } && test -s conftest.$ac_objext; then
20849 { echo "$as_me:$LINENO: result: yes" >&5
20850 echo "${ECHO_T}yes" >&6; }
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20855 { echo "$as_me:$LINENO: result: no" >&5
20856 echo "${ECHO_T}no" >&6; }
20857 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20858 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20859 cat >conftest.$ac_ext <<_ACEOF
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 #define __CF_USE_FRAMEWORK_INCLUDES__
20866 #include <CoreFoundation/CFBase.h>
20876 rm -f conftest.$ac_objext
20877 if { (ac_try="$ac_compile"
20878 case "(($ac_try" in
20879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20880 *) ac_try_echo=$ac_try;;
20882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20883 (eval "$ac_compile") 2>conftest.er1
20885 grep -v '^ *+' conftest.er1 >conftest.err
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } && {
20890 test -z "$ac_c_werror_flag" ||
20891 test ! -s conftest.err
20892 } && test -s conftest.$ac_objext; then
20893 { echo "$as_me:$LINENO: result: yes" >&5
20894 echo "${ECHO_T}yes" >&6; }
20895 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.$ac_ext >&5
20900 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20901 See \`config.log' for more details." >&5
20902 echo "$as_me: error: no. CoreFoundation not available.
20903 See \`config.log' for more details." >&2;}
20904 { (exit 1); exit 1; }; }
20908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20918 doesnt_want_win32=0
20921 if test "$wxUSE_MSW" = 1 ; then
20924 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20925 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20926 if test "${wx_cv_nocygwin+set}" = set; then
20927 echo $ECHO_N "(cached) $ECHO_C" >&6
20930 cat >conftest.$ac_ext <<_ACEOF
20933 cat confdefs.h >>conftest.$ac_ext
20934 cat >>conftest.$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20949 rm -f conftest.$ac_objext
20950 if { (ac_try="$ac_compile"
20951 case "(($ac_try" in
20952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20953 *) ac_try_echo=$ac_try;;
20955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20956 (eval "$ac_compile") 2>conftest.er1
20958 grep -v '^ *+' conftest.er1 >conftest.err
20960 cat conftest.err >&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } && {
20963 test -z "$ac_c_werror_flag" ||
20964 test ! -s conftest.err
20965 } && test -s conftest.$ac_objext; then
20968 echo "$as_me: failed program was:" >&5
20969 sed 's/^/| /' conftest.$ac_ext >&5
20975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20979 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20980 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20982 if test "$wx_cv_nocygwin" = "yes"; then
20985 doesnt_want_win32=1
20988 if test "$wants_win32" = 1 ; then
20989 BAKEFILE_FORCE_PLATFORM=win32
20997 if test "$wxUSE_WINE" = "yes"; then
20999 LDFLAGS_GUI="-mwindows"
21002 if test "$wants_win32" = 1 ; then
21005 cat >>confdefs.h <<\_ACEOF
21006 #define __WIN32__ 1
21009 cat >>confdefs.h <<\_ACEOF
21010 #define __WIN95__ 1
21013 cat >>confdefs.h <<\_ACEOF
21014 #define __WINDOWS__ 1
21017 cat >>confdefs.h <<\_ACEOF
21018 #define __GNUWIN32__ 1
21021 cat >>confdefs.h <<\_ACEOF
21026 if test "$doesnt_want_win32" = 1 ; then
21031 if test "$USE_UNIX" = 1 ; then
21033 cat >>confdefs.h <<\_ACEOF
21040 *-pc-os2_emx | *-pc-os2-emx )
21041 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
21042 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
21043 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
21044 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
21045 echo $ECHO_N "(cached) $ECHO_C" >&6
21047 ac_check_lib_save_LIBS=$LIBS
21048 LIBS="-lcExt $LIBS"
21049 cat >conftest.$ac_ext <<_ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21056 /* Override any GCC internal prototype to avoid an error.
21057 Use char because int might match the return type of a GCC
21058 builtin and then its argument prototype would still apply. */
21071 rm -f conftest.$ac_objext conftest$ac_exeext
21072 if { (ac_try="$ac_link"
21073 case "(($ac_try" in
21074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21075 *) ac_try_echo=$ac_try;;
21077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21078 (eval "$ac_link") 2>conftest.er1
21080 grep -v '^ *+' conftest.er1 >conftest.err
21082 cat conftest.err >&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } && {
21085 test -z "$ac_c_werror_flag" ||
21086 test ! -s conftest.err
21087 } && test -s conftest$ac_exeext &&
21088 $as_test_x conftest$ac_exeext; then
21089 ac_cv_lib_cExt_drand48=yes
21091 echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.$ac_ext >&5
21094 ac_cv_lib_cExt_drand48=no
21097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21098 conftest$ac_exeext conftest.$ac_ext
21099 LIBS=$ac_check_lib_save_LIBS
21101 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
21102 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
21103 if test $ac_cv_lib_cExt_drand48 = yes; then
21104 LIBS="$LIBS -lcExt"
21108 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
21110 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
21111 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
21112 if test "${wx_cv_gccversion+set}" = set; then
21113 echo $ECHO_N "(cached) $ECHO_C" >&6
21116 if test "$cross_compiling" = yes; then
21117 wx_cv_gccversion="EMX2"
21120 cat >conftest.$ac_ext <<_ACEOF
21123 cat confdefs.h >>conftest.$ac_ext
21124 cat >>conftest.$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21131 FILE *f=fopen("conftestval", "w");
21136 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
21138 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
21148 rm -f conftest$ac_exeext
21149 if { (ac_try="$ac_link"
21150 case "(($ac_try" in
21151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21152 *) ac_try_echo=$ac_try;;
21154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21155 (eval "$ac_link") 2>&5
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21159 { (case "(($ac_try" in
21160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21161 *) ac_try_echo=$ac_try;;
21163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21164 (eval "$ac_try") 2>&5
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); }; }; then
21168 wx_cv_gccversion=`cat conftestval`
21170 echo "$as_me: program exited with status $ac_status" >&5
21171 echo "$as_me: failed program was:" >&5
21172 sed 's/^/| /' conftest.$ac_ext >&5
21174 ( exit $ac_status )
21175 wx_cv_gccversion="EMX2"
21177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21183 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21184 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21185 if test "$wx_cv_gccversion" = "EMX2"; then
21186 LIBS="$LIBS -lstdcpp"
21187 LDFLAGS="$LDFLAGS -Zsysv-signals"
21189 if test "$wx_cv_gccversion" = "EMX3"; then
21190 LIBS="$LIBS -lstdcxx -lgcc"
21191 LDFLAGS="$LDFLAGS -Zsysv-signals"
21193 LIBS="$LIBS -lstdc++"
21196 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21197 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21198 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21205 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21206 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21207 if test "${ac_cv_string_strcasecmp+set}" = set; then
21208 echo $ECHO_N "(cached) $ECHO_C" >&6
21211 cat >conftest.$ac_ext <<_ACEOF
21214 cat confdefs.h >>conftest.$ac_ext
21215 cat >>conftest.$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21218 #include <string.h>
21224 strcasecmp("foo", "bar");
21230 rm -f conftest.$ac_objext conftest$ac_exeext
21231 if { (ac_try="$ac_link"
21232 case "(($ac_try" in
21233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21234 *) ac_try_echo=$ac_try;;
21236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21237 (eval "$ac_link") 2>conftest.er1
21239 grep -v '^ *+' conftest.er1 >conftest.err
21241 cat conftest.err >&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); } && {
21244 test -z "$ac_c_werror_flag" ||
21245 test ! -s conftest.err
21246 } && test -s conftest$ac_exeext &&
21247 $as_test_x conftest$ac_exeext; then
21248 ac_cv_string_strcasecmp=yes
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21253 ac_cv_string_strcasecmp=no
21257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21258 conftest$ac_exeext conftest.$ac_ext
21261 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21262 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21264 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21265 cat >>confdefs.h <<\_ACEOF
21266 #define HAVE_STRCASECMP_IN_STRING_H 1
21270 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21271 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21272 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21273 echo $ECHO_N "(cached) $ECHO_C" >&6
21276 cat >conftest.$ac_ext <<_ACEOF
21279 cat confdefs.h >>conftest.$ac_ext
21280 cat >>conftest.$ac_ext <<_ACEOF
21281 /* end confdefs.h. */
21283 #include <strings.h>
21289 strcasecmp("foo", "bar");
21295 rm -f conftest.$ac_objext conftest$ac_exeext
21296 if { (ac_try="$ac_link"
21297 case "(($ac_try" in
21298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21299 *) ac_try_echo=$ac_try;;
21301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21302 (eval "$ac_link") 2>conftest.er1
21304 grep -v '^ *+' conftest.er1 >conftest.err
21306 cat conftest.err >&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } && {
21309 test -z "$ac_c_werror_flag" ||
21310 test ! -s conftest.err
21311 } && test -s conftest$ac_exeext &&
21312 $as_test_x conftest$ac_exeext; then
21313 ac_cv_strings_strcasecmp=yes
21315 echo "$as_me: failed program was:" >&5
21316 sed 's/^/| /' conftest.$ac_ext >&5
21318 ac_cv_strings_strcasecmp=no
21322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21323 conftest$ac_exeext conftest.$ac_ext
21326 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21327 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21329 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21330 cat >>confdefs.h <<\_ACEOF
21331 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21335 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21336 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21337 { (exit 1); exit 1; }; }
21345 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21346 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21347 if test "${ac_cv_header_stdc+set}" = set; then
21348 echo $ECHO_N "(cached) $ECHO_C" >&6
21350 cat >conftest.$ac_ext <<_ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 #include <stdlib.h>
21357 #include <stdarg.h>
21358 #include <string.h>
21369 rm -f conftest.$ac_objext
21370 if { (ac_try="$ac_compile"
21371 case "(($ac_try" in
21372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21373 *) ac_try_echo=$ac_try;;
21375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21376 (eval "$ac_compile") 2>conftest.er1
21378 grep -v '^ *+' conftest.er1 >conftest.err
21380 cat conftest.err >&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } && {
21383 test -z "$ac_c_werror_flag" ||
21384 test ! -s conftest.err
21385 } && test -s conftest.$ac_objext; then
21386 ac_cv_header_stdc=yes
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.$ac_ext >&5
21391 ac_cv_header_stdc=no
21394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21396 if test $ac_cv_header_stdc = yes; then
21397 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21398 cat >conftest.$ac_ext <<_ACEOF
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 #include <string.h>
21407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21408 $EGREP "memchr" >/dev/null 2>&1; then
21411 ac_cv_header_stdc=no
21417 if test $ac_cv_header_stdc = yes; then
21418 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21419 cat >conftest.$ac_ext <<_ACEOF
21422 cat confdefs.h >>conftest.$ac_ext
21423 cat >>conftest.$ac_ext <<_ACEOF
21424 /* end confdefs.h. */
21425 #include <stdlib.h>
21428 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21429 $EGREP "free" >/dev/null 2>&1; then
21432 ac_cv_header_stdc=no
21438 if test $ac_cv_header_stdc = yes; then
21439 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21440 if test "$cross_compiling" = yes; then
21443 cat >conftest.$ac_ext <<_ACEOF
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21450 #include <stdlib.h>
21451 #if ((' ' & 0x0FF) == 0x020)
21452 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21453 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21455 # define ISLOWER(c) \
21456 (('a' <= (c) && (c) <= 'i') \
21457 || ('j' <= (c) && (c) <= 'r') \
21458 || ('s' <= (c) && (c) <= 'z'))
21459 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21462 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21467 for (i = 0; i < 256; i++)
21468 if (XOR (islower (i), ISLOWER (i))
21469 || toupper (i) != TOUPPER (i))
21474 rm -f conftest$ac_exeext
21475 if { (ac_try="$ac_link"
21476 case "(($ac_try" in
21477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21478 *) ac_try_echo=$ac_try;;
21480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21481 (eval "$ac_link") 2>&5
21483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21485 { (case "(($ac_try" in
21486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21487 *) ac_try_echo=$ac_try;;
21489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21490 (eval "$ac_try") 2>&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); }; }; then
21496 echo "$as_me: program exited with status $ac_status" >&5
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.$ac_ext >&5
21500 ( exit $ac_status )
21501 ac_cv_header_stdc=no
21503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21509 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21510 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21511 if test $ac_cv_header_stdc = yes; then
21513 cat >>confdefs.h <<\_ACEOF
21514 #define STDC_HEADERS 1
21519 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21529 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21530 inttypes.h stdint.h unistd.h
21532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21533 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21535 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21536 echo $ECHO_N "(cached) $ECHO_C" >&6
21538 cat >conftest.$ac_ext <<_ACEOF
21541 cat confdefs.h >>conftest.$ac_ext
21542 cat >>conftest.$ac_ext <<_ACEOF
21543 /* end confdefs.h. */
21544 $ac_includes_default
21546 #include <$ac_header>
21548 rm -f conftest.$ac_objext
21549 if { (ac_try="$ac_compile"
21550 case "(($ac_try" in
21551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21552 *) ac_try_echo=$ac_try;;
21554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21555 (eval "$ac_compile") 2>conftest.er1
21557 grep -v '^ *+' conftest.er1 >conftest.err
21559 cat conftest.err >&5
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); } && {
21562 test -z "$ac_c_werror_flag" ||
21563 test ! -s conftest.err
21564 } && test -s conftest.$ac_objext; then
21565 eval "$as_ac_Header=yes"
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.$ac_ext >&5
21570 eval "$as_ac_Header=no"
21573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21575 ac_res=`eval echo '${'$as_ac_Header'}'`
21576 { echo "$as_me:$LINENO: result: $ac_res" >&5
21577 echo "${ECHO_T}$ac_res" >&6; }
21578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21579 cat >>confdefs.h <<_ACEOF
21580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21594 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21600 echo $ECHO_N "(cached) $ECHO_C" >&6
21602 cat >conftest.$ac_ext <<_ACEOF
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21608 $ac_includes_default
21610 #include <$ac_header>
21612 rm -f conftest.$ac_objext
21613 if { (ac_try="$ac_compile"
21614 case "(($ac_try" in
21615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21616 *) ac_try_echo=$ac_try;;
21618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21619 (eval "$ac_compile") 2>conftest.er1
21621 grep -v '^ *+' conftest.er1 >conftest.err
21623 cat conftest.err >&5
21624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21625 (exit $ac_status); } && {
21626 test -z "$ac_c_werror_flag" ||
21627 test ! -s conftest.err
21628 } && test -s conftest.$ac_objext; then
21629 eval "$as_ac_Header=yes"
21631 echo "$as_me: failed program was:" >&5
21632 sed 's/^/| /' conftest.$ac_ext >&5
21634 eval "$as_ac_Header=no"
21637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21639 ac_res=`eval echo '${'$as_ac_Header'}'`
21640 { echo "$as_me:$LINENO: result: $ac_res" >&5
21641 echo "${ECHO_T}$ac_res" >&6; }
21642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21643 cat >>confdefs.h <<_ACEOF
21644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21652 if test "$ac_cv_header_wchar_h" != "yes"; then
21654 for ac_header in wcstr.h
21656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21657 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21660 echo $ECHO_N "(cached) $ECHO_C" >&6
21662 cat >conftest.$ac_ext <<_ACEOF
21665 cat confdefs.h >>conftest.$ac_ext
21666 cat >>conftest.$ac_ext <<_ACEOF
21667 /* end confdefs.h. */
21668 $ac_includes_default
21670 #include <$ac_header>
21672 rm -f conftest.$ac_objext
21673 if { (ac_try="$ac_compile"
21674 case "(($ac_try" in
21675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21676 *) ac_try_echo=$ac_try;;
21678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21679 (eval "$ac_compile") 2>conftest.er1
21681 grep -v '^ *+' conftest.er1 >conftest.err
21683 cat conftest.err >&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } && {
21686 test -z "$ac_c_werror_flag" ||
21687 test ! -s conftest.err
21688 } && test -s conftest.$ac_objext; then
21689 eval "$as_ac_Header=yes"
21691 echo "$as_me: failed program was:" >&5
21692 sed 's/^/| /' conftest.$ac_ext >&5
21694 eval "$as_ac_Header=no"
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21699 ac_res=`eval echo '${'$as_ac_Header'}'`
21700 { echo "$as_me:$LINENO: result: $ac_res" >&5
21701 echo "${ECHO_T}$ac_res" >&6; }
21702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21703 cat >>confdefs.h <<_ACEOF
21704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21714 *-pc-os2_emx | *-pc-os2-emx )
21715 if test $ac_cv_header_langinfo_h = "yes" \
21716 -a \( "$wx_cv_gccversion" = "EMX2" \
21717 -o "$wx_cv_gccversion" = "EMX3" \
21718 -o "$wx_cv_gccversion" = "Innotek5" \); then
21719 LIBS="$LIBS -lintl"
21724 if test "$USE_UNIX" = 1 ; then
21726 for ac_header in sys/select.h
21728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21729 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21732 echo $ECHO_N "(cached) $ECHO_C" >&6
21734 cat >conftest.$ac_ext <<_ACEOF
21737 cat confdefs.h >>conftest.$ac_ext
21738 cat >>conftest.$ac_ext <<_ACEOF
21739 /* end confdefs.h. */
21740 $ac_includes_default
21742 #include <$ac_header>
21744 rm -f conftest.$ac_objext
21745 if { (ac_try="$ac_compile"
21746 case "(($ac_try" in
21747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21748 *) ac_try_echo=$ac_try;;
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_compile") 2>conftest.er1
21753 grep -v '^ *+' conftest.er1 >conftest.err
21755 cat conftest.err >&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } && {
21758 test -z "$ac_c_werror_flag" ||
21759 test ! -s conftest.err
21760 } && test -s conftest.$ac_objext; then
21761 eval "$as_ac_Header=yes"
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21766 eval "$as_ac_Header=no"
21769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21771 ac_res=`eval echo '${'$as_ac_Header'}'`
21772 { echo "$as_me:$LINENO: result: $ac_res" >&5
21773 echo "${ECHO_T}$ac_res" >&6; }
21774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21775 cat >>confdefs.h <<_ACEOF
21776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21786 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21787 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21788 if test "${ac_cv_c_const+set}" = set; then
21789 echo $ECHO_N "(cached) $ECHO_C" >&6
21791 cat >conftest.$ac_ext <<_ACEOF
21794 cat confdefs.h >>conftest.$ac_ext
21795 cat >>conftest.$ac_ext <<_ACEOF
21796 /* end confdefs.h. */
21801 /* FIXME: Include the comments suggested by Paul. */
21802 #ifndef __cplusplus
21803 /* Ultrix mips cc rejects this. */
21804 typedef int charset[2];
21806 /* SunOS 4.1.1 cc rejects this. */
21807 char const *const *pcpcc;
21809 /* NEC SVR4.0.2 mips cc rejects this. */
21810 struct point {int x, y;};
21811 static struct point const zero = {0,0};
21812 /* AIX XL C 1.02.0.0 rejects this.
21813 It does not let you subtract one const X* pointer from another in
21814 an arm of an if-expression whose if-part is not a constant
21816 const char *g = "string";
21817 pcpcc = &g + (g ? g-g : 0);
21818 /* HPUX 7.0 cc rejects these. */
21820 ppc = (char**) pcpcc;
21821 pcpcc = (char const *const *) ppc;
21822 { /* SCO 3.2v4 cc rejects this. */
21824 char const *s = 0 ? (char *) 0 : (char const *) 0;
21829 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21830 int x[] = {25, 17};
21831 const int *foo = &x[0];
21834 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21835 typedef const int *iptr;
21839 { /* AIX XL C 1.02.0.0 rejects this saying
21840 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21841 struct s { int j; const int *ap[3]; };
21842 struct s *b; b->j = 5;
21844 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21845 const int foo = 10;
21846 if (!foo) return 0;
21848 return !cs[0] && !zero.x;
21855 rm -f conftest.$ac_objext
21856 if { (ac_try="$ac_compile"
21857 case "(($ac_try" in
21858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21859 *) ac_try_echo=$ac_try;;
21861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21862 (eval "$ac_compile") 2>conftest.er1
21864 grep -v '^ *+' conftest.er1 >conftest.err
21866 cat conftest.err >&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } && {
21869 test -z "$ac_c_werror_flag" ||
21870 test ! -s conftest.err
21871 } && test -s conftest.$ac_objext; then
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21882 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21883 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21884 if test $ac_cv_c_const = no; then
21886 cat >>confdefs.h <<\_ACEOF
21892 { echo "$as_me:$LINENO: checking for inline" >&5
21893 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21894 if test "${ac_cv_c_inline+set}" = set; then
21895 echo $ECHO_N "(cached) $ECHO_C" >&6
21898 for ac_kw in inline __inline__ __inline; do
21899 cat >conftest.$ac_ext <<_ACEOF
21902 cat confdefs.h >>conftest.$ac_ext
21903 cat >>conftest.$ac_ext <<_ACEOF
21904 /* end confdefs.h. */
21905 #ifndef __cplusplus
21907 static $ac_kw foo_t static_foo () {return 0; }
21908 $ac_kw foo_t foo () {return 0; }
21912 rm -f conftest.$ac_objext
21913 if { (ac_try="$ac_compile"
21914 case "(($ac_try" in
21915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21916 *) ac_try_echo=$ac_try;;
21918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21919 (eval "$ac_compile") 2>conftest.er1
21921 grep -v '^ *+' conftest.er1 >conftest.err
21923 cat conftest.err >&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } && {
21926 test -z "$ac_c_werror_flag" ||
21927 test ! -s conftest.err
21928 } && test -s conftest.$ac_objext; then
21929 ac_cv_c_inline=$ac_kw
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21938 test "$ac_cv_c_inline" != no && break
21942 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21943 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21946 case $ac_cv_c_inline in
21949 case $ac_cv_c_inline in
21951 *) ac_val=$ac_cv_c_inline;;
21953 cat >>confdefs.h <<_ACEOF
21954 #ifndef __cplusplus
21955 #define inline $ac_val
21962 { echo "$as_me:$LINENO: checking for short" >&5
21963 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21964 if test "${ac_cv_type_short+set}" = set; then
21965 echo $ECHO_N "(cached) $ECHO_C" >&6
21967 cat >conftest.$ac_ext <<_ACEOF
21970 cat confdefs.h >>conftest.$ac_ext
21971 cat >>conftest.$ac_ext <<_ACEOF
21972 /* end confdefs.h. */
21973 $ac_includes_default
21974 typedef short ac__type_new_;
21978 if ((ac__type_new_ *) 0)
21980 if (sizeof (ac__type_new_))
21986 rm -f conftest.$ac_objext
21987 if { (ac_try="$ac_compile"
21988 case "(($ac_try" in
21989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21990 *) ac_try_echo=$ac_try;;
21992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21993 (eval "$ac_compile") 2>conftest.er1
21995 grep -v '^ *+' conftest.er1 >conftest.err
21997 cat conftest.err >&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); } && {
22000 test -z "$ac_c_werror_flag" ||
22001 test ! -s conftest.err
22002 } && test -s conftest.$ac_objext; then
22003 ac_cv_type_short=yes
22005 echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.$ac_ext >&5
22008 ac_cv_type_short=no
22011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22013 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
22014 echo "${ECHO_T}$ac_cv_type_short" >&6; }
22016 # The cast to long int works around a bug in the HP C Compiler
22017 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22018 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22019 # This bug is HP SR number 8606223364.
22020 { echo "$as_me:$LINENO: checking size of short" >&5
22021 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
22022 if test "${ac_cv_sizeof_short+set}" = set; then
22023 echo $ECHO_N "(cached) $ECHO_C" >&6
22025 if test "$cross_compiling" = yes; then
22026 # Depending upon the size, compute the lo and hi bounds.
22027 cat >conftest.$ac_ext <<_ACEOF
22030 cat confdefs.h >>conftest.$ac_ext
22031 cat >>conftest.$ac_ext <<_ACEOF
22032 /* end confdefs.h. */
22033 $ac_includes_default
22034 typedef short ac__type_sizeof_;
22038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22045 rm -f conftest.$ac_objext
22046 if { (ac_try="$ac_compile"
22047 case "(($ac_try" in
22048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22049 *) ac_try_echo=$ac_try;;
22051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22052 (eval "$ac_compile") 2>conftest.er1
22054 grep -v '^ *+' conftest.er1 >conftest.err
22056 cat conftest.err >&5
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); } && {
22059 test -z "$ac_c_werror_flag" ||
22060 test ! -s conftest.err
22061 } && test -s conftest.$ac_objext; then
22064 cat >conftest.$ac_ext <<_ACEOF
22067 cat confdefs.h >>conftest.$ac_ext
22068 cat >>conftest.$ac_ext <<_ACEOF
22069 /* end confdefs.h. */
22070 $ac_includes_default
22071 typedef short ac__type_sizeof_;
22075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22082 rm -f conftest.$ac_objext
22083 if { (ac_try="$ac_compile"
22084 case "(($ac_try" in
22085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22086 *) ac_try_echo=$ac_try;;
22088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22089 (eval "$ac_compile") 2>conftest.er1
22091 grep -v '^ *+' conftest.er1 >conftest.err
22093 cat conftest.err >&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); } && {
22096 test -z "$ac_c_werror_flag" ||
22097 test ! -s conftest.err
22098 } && test -s conftest.$ac_objext; then
22099 ac_hi=$ac_mid; break
22101 echo "$as_me: failed program was:" >&5
22102 sed 's/^/| /' conftest.$ac_ext >&5
22104 ac_lo=`expr $ac_mid + 1`
22105 if test $ac_lo -le $ac_mid; then
22109 ac_mid=`expr 2 '*' $ac_mid + 1`
22112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22115 echo "$as_me: failed program was:" >&5
22116 sed 's/^/| /' conftest.$ac_ext >&5
22118 cat >conftest.$ac_ext <<_ACEOF
22121 cat confdefs.h >>conftest.$ac_ext
22122 cat >>conftest.$ac_ext <<_ACEOF
22123 /* end confdefs.h. */
22124 $ac_includes_default
22125 typedef short ac__type_sizeof_;
22129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22136 rm -f conftest.$ac_objext
22137 if { (ac_try="$ac_compile"
22138 case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_compile") 2>conftest.er1
22145 grep -v '^ *+' conftest.er1 >conftest.err
22147 cat conftest.err >&5
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); } && {
22150 test -z "$ac_c_werror_flag" ||
22151 test ! -s conftest.err
22152 } && test -s conftest.$ac_objext; then
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 short ac__type_sizeof_;
22166 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22173 rm -f conftest.$ac_objext
22174 if { (ac_try="$ac_compile"
22175 case "(($ac_try" in
22176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22177 *) ac_try_echo=$ac_try;;
22179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22180 (eval "$ac_compile") 2>conftest.er1
22182 grep -v '^ *+' conftest.er1 >conftest.err
22184 cat conftest.err >&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } && {
22187 test -z "$ac_c_werror_flag" ||
22188 test ! -s conftest.err
22189 } && test -s conftest.$ac_objext; then
22190 ac_lo=$ac_mid; break
22192 echo "$as_me: failed program was:" >&5
22193 sed 's/^/| /' conftest.$ac_ext >&5
22195 ac_hi=`expr '(' $ac_mid ')' - 1`
22196 if test $ac_mid -le $ac_hi; then
22200 ac_mid=`expr 2 '*' $ac_mid`
22203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22216 # Binary search between lo and hi bounds.
22217 while test "x$ac_lo" != "x$ac_hi"; do
22218 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22219 cat >conftest.$ac_ext <<_ACEOF
22222 cat confdefs.h >>conftest.$ac_ext
22223 cat >>conftest.$ac_ext <<_ACEOF
22224 /* end confdefs.h. */
22225 $ac_includes_default
22226 typedef short ac__type_sizeof_;
22230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22237 rm -f conftest.$ac_objext
22238 if { (ac_try="$ac_compile"
22239 case "(($ac_try" in
22240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22241 *) ac_try_echo=$ac_try;;
22243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22244 (eval "$ac_compile") 2>conftest.er1
22246 grep -v '^ *+' conftest.er1 >conftest.err
22248 cat conftest.err >&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); } && {
22251 test -z "$ac_c_werror_flag" ||
22252 test ! -s conftest.err
22253 } && test -s conftest.$ac_objext; then
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.$ac_ext >&5
22259 ac_lo=`expr '(' $ac_mid ')' + 1`
22262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22265 ?*) ac_cv_sizeof_short=$ac_lo;;
22266 '') if test "$ac_cv_type_short" = yes; then
22267 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22268 See \`config.log' for more details." >&5
22269 echo "$as_me: error: cannot compute sizeof (short)
22270 See \`config.log' for more details." >&2;}
22271 { (exit 77); exit 77; }; }
22273 ac_cv_sizeof_short=0
22277 cat >conftest.$ac_ext <<_ACEOF
22280 cat confdefs.h >>conftest.$ac_ext
22281 cat >>conftest.$ac_ext <<_ACEOF
22282 /* end confdefs.h. */
22283 $ac_includes_default
22284 typedef short ac__type_sizeof_;
22285 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22286 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22288 #include <stdlib.h>
22293 FILE *f = fopen ("conftest.val", "w");
22296 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22298 long int i = longval ();
22299 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22301 fprintf (f, "%ld\n", i);
22305 unsigned long int i = ulongval ();
22306 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22308 fprintf (f, "%lu\n", i);
22310 return ferror (f) || fclose (f) != 0;
22316 rm -f conftest$ac_exeext
22317 if { (ac_try="$ac_link"
22318 case "(($ac_try" in
22319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22320 *) ac_try_echo=$ac_try;;
22322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22323 (eval "$ac_link") 2>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22327 { (case "(($ac_try" in
22328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22329 *) ac_try_echo=$ac_try;;
22331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22332 (eval "$ac_try") 2>&5
22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335 (exit $ac_status); }; }; then
22336 ac_cv_sizeof_short=`cat conftest.val`
22338 echo "$as_me: program exited with status $ac_status" >&5
22339 echo "$as_me: failed program was:" >&5
22340 sed 's/^/| /' conftest.$ac_ext >&5
22342 ( exit $ac_status )
22343 if test "$ac_cv_type_short" = yes; then
22344 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22345 See \`config.log' for more details." >&5
22346 echo "$as_me: error: cannot compute sizeof (short)
22347 See \`config.log' for more details." >&2;}
22348 { (exit 77); exit 77; }; }
22350 ac_cv_sizeof_short=0
22353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22357 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22358 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22362 cat >>confdefs.h <<_ACEOF
22363 #define SIZEOF_SHORT $ac_cv_sizeof_short
22367 { echo "$as_me:$LINENO: checking for void *" >&5
22368 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22369 if test "${ac_cv_type_void_p+set}" = set; then
22370 echo $ECHO_N "(cached) $ECHO_C" >&6
22372 cat >conftest.$ac_ext <<_ACEOF
22375 cat confdefs.h >>conftest.$ac_ext
22376 cat >>conftest.$ac_ext <<_ACEOF
22377 /* end confdefs.h. */
22378 $ac_includes_default
22379 typedef void * ac__type_new_;
22383 if ((ac__type_new_ *) 0)
22385 if (sizeof (ac__type_new_))
22391 rm -f conftest.$ac_objext
22392 if { (ac_try="$ac_compile"
22393 case "(($ac_try" in
22394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22395 *) ac_try_echo=$ac_try;;
22397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22398 (eval "$ac_compile") 2>conftest.er1
22400 grep -v '^ *+' conftest.er1 >conftest.err
22402 cat conftest.err >&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } && {
22405 test -z "$ac_c_werror_flag" ||
22406 test ! -s conftest.err
22407 } && test -s conftest.$ac_objext; then
22408 ac_cv_type_void_p=yes
22410 echo "$as_me: failed program was:" >&5
22411 sed 's/^/| /' conftest.$ac_ext >&5
22413 ac_cv_type_void_p=no
22416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22418 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22419 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22421 # The cast to long int works around a bug in the HP C Compiler
22422 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22423 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22424 # This bug is HP SR number 8606223364.
22425 { echo "$as_me:$LINENO: checking size of void *" >&5
22426 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22427 if test "${ac_cv_sizeof_void_p+set}" = set; then
22428 echo $ECHO_N "(cached) $ECHO_C" >&6
22430 if test "$cross_compiling" = yes; then
22431 # Depending upon the size, compute the lo and hi bounds.
22432 cat >conftest.$ac_ext <<_ACEOF
22435 cat confdefs.h >>conftest.$ac_ext
22436 cat >>conftest.$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22438 $ac_includes_default
22439 typedef void * ac__type_sizeof_;
22443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22450 rm -f conftest.$ac_objext
22451 if { (ac_try="$ac_compile"
22452 case "(($ac_try" in
22453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22454 *) ac_try_echo=$ac_try;;
22456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22457 (eval "$ac_compile") 2>conftest.er1
22459 grep -v '^ *+' conftest.er1 >conftest.err
22461 cat conftest.err >&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); } && {
22464 test -z "$ac_c_werror_flag" ||
22465 test ! -s conftest.err
22466 } && test -s conftest.$ac_objext; then
22469 cat >conftest.$ac_ext <<_ACEOF
22472 cat confdefs.h >>conftest.$ac_ext
22473 cat >>conftest.$ac_ext <<_ACEOF
22474 /* end confdefs.h. */
22475 $ac_includes_default
22476 typedef void * ac__type_sizeof_;
22480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22487 rm -f conftest.$ac_objext
22488 if { (ac_try="$ac_compile"
22489 case "(($ac_try" in
22490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22491 *) ac_try_echo=$ac_try;;
22493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22494 (eval "$ac_compile") 2>conftest.er1
22496 grep -v '^ *+' conftest.er1 >conftest.err
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && {
22501 test -z "$ac_c_werror_flag" ||
22502 test ! -s conftest.err
22503 } && test -s conftest.$ac_objext; then
22504 ac_hi=$ac_mid; break
22506 echo "$as_me: failed program was:" >&5
22507 sed 's/^/| /' conftest.$ac_ext >&5
22509 ac_lo=`expr $ac_mid + 1`
22510 if test $ac_lo -le $ac_mid; then
22514 ac_mid=`expr 2 '*' $ac_mid + 1`
22517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22523 cat >conftest.$ac_ext <<_ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 $ac_includes_default
22530 typedef void * ac__type_sizeof_;
22534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22541 rm -f conftest.$ac_objext
22542 if { (ac_try="$ac_compile"
22543 case "(($ac_try" in
22544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22545 *) ac_try_echo=$ac_try;;
22547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22548 (eval "$ac_compile") 2>conftest.er1
22550 grep -v '^ *+' conftest.er1 >conftest.err
22552 cat conftest.err >&5
22553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554 (exit $ac_status); } && {
22555 test -z "$ac_c_werror_flag" ||
22556 test ! -s conftest.err
22557 } && test -s conftest.$ac_objext; then
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 void * ac__type_sizeof_;
22571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22578 rm -f conftest.$ac_objext
22579 if { (ac_try="$ac_compile"
22580 case "(($ac_try" in
22581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22582 *) ac_try_echo=$ac_try;;
22584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22585 (eval "$ac_compile") 2>conftest.er1
22587 grep -v '^ *+' conftest.er1 >conftest.err
22589 cat conftest.err >&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); } && {
22592 test -z "$ac_c_werror_flag" ||
22593 test ! -s conftest.err
22594 } && test -s conftest.$ac_objext; then
22595 ac_lo=$ac_mid; break
22597 echo "$as_me: failed program was:" >&5
22598 sed 's/^/| /' conftest.$ac_ext >&5
22600 ac_hi=`expr '(' $ac_mid ')' - 1`
22601 if test $ac_mid -le $ac_hi; then
22605 ac_mid=`expr 2 '*' $ac_mid`
22608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22611 echo "$as_me: failed program was:" >&5
22612 sed 's/^/| /' conftest.$ac_ext >&5
22617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22621 # Binary search between lo and hi bounds.
22622 while test "x$ac_lo" != "x$ac_hi"; do
22623 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22624 cat >conftest.$ac_ext <<_ACEOF
22627 cat confdefs.h >>conftest.$ac_ext
22628 cat >>conftest.$ac_ext <<_ACEOF
22629 /* end confdefs.h. */
22630 $ac_includes_default
22631 typedef void * ac__type_sizeof_;
22635 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22642 rm -f conftest.$ac_objext
22643 if { (ac_try="$ac_compile"
22644 case "(($ac_try" in
22645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22646 *) ac_try_echo=$ac_try;;
22648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_compile") 2>conftest.er1
22651 grep -v '^ *+' conftest.er1 >conftest.err
22653 cat conftest.err >&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); } && {
22656 test -z "$ac_c_werror_flag" ||
22657 test ! -s conftest.err
22658 } && test -s conftest.$ac_objext; then
22661 echo "$as_me: failed program was:" >&5
22662 sed 's/^/| /' conftest.$ac_ext >&5
22664 ac_lo=`expr '(' $ac_mid ')' + 1`
22667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22670 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22671 '') if test "$ac_cv_type_void_p" = yes; then
22672 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22673 See \`config.log' for more details." >&5
22674 echo "$as_me: error: cannot compute sizeof (void *)
22675 See \`config.log' for more details." >&2;}
22676 { (exit 77); exit 77; }; }
22678 ac_cv_sizeof_void_p=0
22682 cat >conftest.$ac_ext <<_ACEOF
22685 cat confdefs.h >>conftest.$ac_ext
22686 cat >>conftest.$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22688 $ac_includes_default
22689 typedef void * ac__type_sizeof_;
22690 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22691 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22693 #include <stdlib.h>
22698 FILE *f = fopen ("conftest.val", "w");
22701 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22703 long int i = longval ();
22704 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22706 fprintf (f, "%ld\n", i);
22710 unsigned long int i = ulongval ();
22711 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22713 fprintf (f, "%lu\n", i);
22715 return ferror (f) || fclose (f) != 0;
22721 rm -f conftest$ac_exeext
22722 if { (ac_try="$ac_link"
22723 case "(($ac_try" in
22724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22725 *) ac_try_echo=$ac_try;;
22727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22728 (eval "$ac_link") 2>&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22732 { (case "(($ac_try" in
22733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22734 *) ac_try_echo=$ac_try;;
22736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22737 (eval "$ac_try") 2>&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); }; }; then
22741 ac_cv_sizeof_void_p=`cat conftest.val`
22743 echo "$as_me: program exited with status $ac_status" >&5
22744 echo "$as_me: failed program was:" >&5
22745 sed 's/^/| /' conftest.$ac_ext >&5
22747 ( exit $ac_status )
22748 if test "$ac_cv_type_void_p" = yes; then
22749 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22750 See \`config.log' for more details." >&5
22751 echo "$as_me: error: cannot compute sizeof (void *)
22752 See \`config.log' for more details." >&2;}
22753 { (exit 77); exit 77; }; }
22755 ac_cv_sizeof_void_p=0
22758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22762 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22763 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22767 cat >>confdefs.h <<_ACEOF
22768 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22772 { echo "$as_me:$LINENO: checking for int" >&5
22773 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22774 if test "${ac_cv_type_int+set}" = set; then
22775 echo $ECHO_N "(cached) $ECHO_C" >&6
22777 cat >conftest.$ac_ext <<_ACEOF
22780 cat confdefs.h >>conftest.$ac_ext
22781 cat >>conftest.$ac_ext <<_ACEOF
22782 /* end confdefs.h. */
22783 $ac_includes_default
22784 typedef int ac__type_new_;
22788 if ((ac__type_new_ *) 0)
22790 if (sizeof (ac__type_new_))
22796 rm -f conftest.$ac_objext
22797 if { (ac_try="$ac_compile"
22798 case "(($ac_try" in
22799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22800 *) ac_try_echo=$ac_try;;
22802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22803 (eval "$ac_compile") 2>conftest.er1
22805 grep -v '^ *+' conftest.er1 >conftest.err
22807 cat conftest.err >&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); } && {
22810 test -z "$ac_c_werror_flag" ||
22811 test ! -s conftest.err
22812 } && test -s conftest.$ac_objext; then
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.$ac_ext >&5
22821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22823 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22824 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22826 # The cast to long int works around a bug in the HP C Compiler
22827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22829 # This bug is HP SR number 8606223364.
22830 { echo "$as_me:$LINENO: checking size of int" >&5
22831 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22832 if test "${ac_cv_sizeof_int+set}" = set; then
22833 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 if test "$cross_compiling" = yes; then
22836 # Depending upon the size, compute the lo and hi bounds.
22837 cat >conftest.$ac_ext <<_ACEOF
22840 cat confdefs.h >>conftest.$ac_ext
22841 cat >>conftest.$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22843 $ac_includes_default
22844 typedef int ac__type_sizeof_;
22848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22855 rm -f conftest.$ac_objext
22856 if { (ac_try="$ac_compile"
22857 case "(($ac_try" in
22858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22859 *) ac_try_echo=$ac_try;;
22861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22862 (eval "$ac_compile") 2>conftest.er1
22864 grep -v '^ *+' conftest.er1 >conftest.err
22866 cat conftest.err >&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } && {
22869 test -z "$ac_c_werror_flag" ||
22870 test ! -s conftest.err
22871 } && test -s conftest.$ac_objext; then
22874 cat >conftest.$ac_ext <<_ACEOF
22877 cat confdefs.h >>conftest.$ac_ext
22878 cat >>conftest.$ac_ext <<_ACEOF
22879 /* end confdefs.h. */
22880 $ac_includes_default
22881 typedef int ac__type_sizeof_;
22885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22892 rm -f conftest.$ac_objext
22893 if { (ac_try="$ac_compile"
22894 case "(($ac_try" in
22895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22896 *) ac_try_echo=$ac_try;;
22898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22899 (eval "$ac_compile") 2>conftest.er1
22901 grep -v '^ *+' conftest.er1 >conftest.err
22903 cat conftest.err >&5
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); } && {
22906 test -z "$ac_c_werror_flag" ||
22907 test ! -s conftest.err
22908 } && test -s conftest.$ac_objext; then
22909 ac_hi=$ac_mid; break
22911 echo "$as_me: failed program was:" >&5
22912 sed 's/^/| /' conftest.$ac_ext >&5
22914 ac_lo=`expr $ac_mid + 1`
22915 if test $ac_lo -le $ac_mid; then
22919 ac_mid=`expr 2 '*' $ac_mid + 1`
22922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22925 echo "$as_me: failed program was:" >&5
22926 sed 's/^/| /' conftest.$ac_ext >&5
22928 cat >conftest.$ac_ext <<_ACEOF
22931 cat confdefs.h >>conftest.$ac_ext
22932 cat >>conftest.$ac_ext <<_ACEOF
22933 /* end confdefs.h. */
22934 $ac_includes_default
22935 typedef int ac__type_sizeof_;
22939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22946 rm -f conftest.$ac_objext
22947 if { (ac_try="$ac_compile"
22948 case "(($ac_try" in
22949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22950 *) ac_try_echo=$ac_try;;
22952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22953 (eval "$ac_compile") 2>conftest.er1
22955 grep -v '^ *+' conftest.er1 >conftest.err
22957 cat conftest.err >&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && {
22960 test -z "$ac_c_werror_flag" ||
22961 test ! -s conftest.err
22962 } && test -s conftest.$ac_objext; then
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 int ac__type_sizeof_;
22976 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22983 rm -f conftest.$ac_objext
22984 if { (ac_try="$ac_compile"
22985 case "(($ac_try" in
22986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22987 *) ac_try_echo=$ac_try;;
22989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22990 (eval "$ac_compile") 2>conftest.er1
22992 grep -v '^ *+' conftest.er1 >conftest.err
22994 cat conftest.err >&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } && {
22997 test -z "$ac_c_werror_flag" ||
22998 test ! -s conftest.err
22999 } && test -s conftest.$ac_objext; then
23000 ac_lo=$ac_mid; break
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.$ac_ext >&5
23005 ac_hi=`expr '(' $ac_mid ')' - 1`
23006 if test $ac_mid -le $ac_hi; then
23010 ac_mid=`expr 2 '*' $ac_mid`
23013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23016 echo "$as_me: failed program was:" >&5
23017 sed 's/^/| /' conftest.$ac_ext >&5
23022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23026 # Binary search between lo and hi bounds.
23027 while test "x$ac_lo" != "x$ac_hi"; do
23028 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23029 cat >conftest.$ac_ext <<_ACEOF
23032 cat confdefs.h >>conftest.$ac_ext
23033 cat >>conftest.$ac_ext <<_ACEOF
23034 /* end confdefs.h. */
23035 $ac_includes_default
23036 typedef int ac__type_sizeof_;
23040 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23047 rm -f conftest.$ac_objext
23048 if { (ac_try="$ac_compile"
23049 case "(($ac_try" in
23050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23051 *) ac_try_echo=$ac_try;;
23053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_compile") 2>conftest.er1
23056 grep -v '^ *+' conftest.er1 >conftest.err
23058 cat conftest.err >&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } && {
23061 test -z "$ac_c_werror_flag" ||
23062 test ! -s conftest.err
23063 } && test -s conftest.$ac_objext; then
23066 echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.$ac_ext >&5
23069 ac_lo=`expr '(' $ac_mid ')' + 1`
23072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23075 ?*) ac_cv_sizeof_int=$ac_lo;;
23076 '') if test "$ac_cv_type_int" = yes; then
23077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23078 See \`config.log' for more details." >&5
23079 echo "$as_me: error: cannot compute sizeof (int)
23080 See \`config.log' for more details." >&2;}
23081 { (exit 77); exit 77; }; }
23087 cat >conftest.$ac_ext <<_ACEOF
23090 cat confdefs.h >>conftest.$ac_ext
23091 cat >>conftest.$ac_ext <<_ACEOF
23092 /* end confdefs.h. */
23093 $ac_includes_default
23094 typedef int ac__type_sizeof_;
23095 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23096 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23098 #include <stdlib.h>
23103 FILE *f = fopen ("conftest.val", "w");
23106 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23108 long int i = longval ();
23109 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23111 fprintf (f, "%ld\n", i);
23115 unsigned long int i = ulongval ();
23116 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23118 fprintf (f, "%lu\n", i);
23120 return ferror (f) || fclose (f) != 0;
23126 rm -f conftest$ac_exeext
23127 if { (ac_try="$ac_link"
23128 case "(($ac_try" in
23129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23130 *) ac_try_echo=$ac_try;;
23132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23133 (eval "$ac_link") 2>&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23137 { (case "(($ac_try" in
23138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23139 *) ac_try_echo=$ac_try;;
23141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23142 (eval "$ac_try") 2>&5
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); }; }; then
23146 ac_cv_sizeof_int=`cat conftest.val`
23148 echo "$as_me: program exited with status $ac_status" >&5
23149 echo "$as_me: failed program was:" >&5
23150 sed 's/^/| /' conftest.$ac_ext >&5
23152 ( exit $ac_status )
23153 if test "$ac_cv_type_int" = yes; then
23154 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23155 See \`config.log' for more details." >&5
23156 echo "$as_me: error: cannot compute sizeof (int)
23157 See \`config.log' for more details." >&2;}
23158 { (exit 77); exit 77; }; }
23163 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23167 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23168 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23172 cat >>confdefs.h <<_ACEOF
23173 #define SIZEOF_INT $ac_cv_sizeof_int
23177 { echo "$as_me:$LINENO: checking for long" >&5
23178 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23179 if test "${ac_cv_type_long+set}" = set; then
23180 echo $ECHO_N "(cached) $ECHO_C" >&6
23182 cat >conftest.$ac_ext <<_ACEOF
23185 cat confdefs.h >>conftest.$ac_ext
23186 cat >>conftest.$ac_ext <<_ACEOF
23187 /* end confdefs.h. */
23188 $ac_includes_default
23189 typedef long ac__type_new_;
23193 if ((ac__type_new_ *) 0)
23195 if (sizeof (ac__type_new_))
23201 rm -f conftest.$ac_objext
23202 if { (ac_try="$ac_compile"
23203 case "(($ac_try" in
23204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23205 *) ac_try_echo=$ac_try;;
23207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23208 (eval "$ac_compile") 2>conftest.er1
23210 grep -v '^ *+' conftest.er1 >conftest.err
23212 cat conftest.err >&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } && {
23215 test -z "$ac_c_werror_flag" ||
23216 test ! -s conftest.err
23217 } && test -s conftest.$ac_objext; then
23218 ac_cv_type_long=yes
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.$ac_ext >&5
23226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23228 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23229 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23231 # The cast to long int works around a bug in the HP C Compiler
23232 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23233 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23234 # This bug is HP SR number 8606223364.
23235 { echo "$as_me:$LINENO: checking size of long" >&5
23236 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23237 if test "${ac_cv_sizeof_long+set}" = set; then
23238 echo $ECHO_N "(cached) $ECHO_C" >&6
23240 if test "$cross_compiling" = yes; then
23241 # Depending upon the size, compute the lo and hi bounds.
23242 cat >conftest.$ac_ext <<_ACEOF
23245 cat confdefs.h >>conftest.$ac_ext
23246 cat >>conftest.$ac_ext <<_ACEOF
23247 /* end confdefs.h. */
23248 $ac_includes_default
23249 typedef long ac__type_sizeof_;
23253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23260 rm -f conftest.$ac_objext
23261 if { (ac_try="$ac_compile"
23262 case "(($ac_try" in
23263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23264 *) ac_try_echo=$ac_try;;
23266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23267 (eval "$ac_compile") 2>conftest.er1
23269 grep -v '^ *+' conftest.er1 >conftest.err
23271 cat conftest.err >&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } && {
23274 test -z "$ac_c_werror_flag" ||
23275 test ! -s conftest.err
23276 } && test -s conftest.$ac_objext; then
23279 cat >conftest.$ac_ext <<_ACEOF
23282 cat confdefs.h >>conftest.$ac_ext
23283 cat >>conftest.$ac_ext <<_ACEOF
23284 /* end confdefs.h. */
23285 $ac_includes_default
23286 typedef long ac__type_sizeof_;
23290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23297 rm -f conftest.$ac_objext
23298 if { (ac_try="$ac_compile"
23299 case "(($ac_try" in
23300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23304 (eval "$ac_compile") 2>conftest.er1
23306 grep -v '^ *+' conftest.er1 >conftest.err
23308 cat conftest.err >&5
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); } && {
23311 test -z "$ac_c_werror_flag" ||
23312 test ! -s conftest.err
23313 } && test -s conftest.$ac_objext; then
23314 ac_hi=$ac_mid; break
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.$ac_ext >&5
23319 ac_lo=`expr $ac_mid + 1`
23320 if test $ac_lo -le $ac_mid; then
23324 ac_mid=`expr 2 '*' $ac_mid + 1`
23327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23330 echo "$as_me: failed program was:" >&5
23331 sed 's/^/| /' conftest.$ac_ext >&5
23333 cat >conftest.$ac_ext <<_ACEOF
23336 cat confdefs.h >>conftest.$ac_ext
23337 cat >>conftest.$ac_ext <<_ACEOF
23338 /* end confdefs.h. */
23339 $ac_includes_default
23340 typedef long ac__type_sizeof_;
23344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23351 rm -f conftest.$ac_objext
23352 if { (ac_try="$ac_compile"
23353 case "(($ac_try" in
23354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23355 *) ac_try_echo=$ac_try;;
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_compile") 2>conftest.er1
23360 grep -v '^ *+' conftest.er1 >conftest.err
23362 cat conftest.err >&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); } && {
23365 test -z "$ac_c_werror_flag" ||
23366 test ! -s conftest.err
23367 } && test -s conftest.$ac_objext; then
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 long ac__type_sizeof_;
23381 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23388 rm -f conftest.$ac_objext
23389 if { (ac_try="$ac_compile"
23390 case "(($ac_try" in
23391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23392 *) ac_try_echo=$ac_try;;
23394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23395 (eval "$ac_compile") 2>conftest.er1
23397 grep -v '^ *+' conftest.er1 >conftest.err
23399 cat conftest.err >&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } && {
23402 test -z "$ac_c_werror_flag" ||
23403 test ! -s conftest.err
23404 } && test -s conftest.$ac_objext; then
23405 ac_lo=$ac_mid; break
23407 echo "$as_me: failed program was:" >&5
23408 sed 's/^/| /' conftest.$ac_ext >&5
23410 ac_hi=`expr '(' $ac_mid ')' - 1`
23411 if test $ac_mid -le $ac_hi; then
23415 ac_mid=`expr 2 '*' $ac_mid`
23418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23421 echo "$as_me: failed program was:" >&5
23422 sed 's/^/| /' conftest.$ac_ext >&5
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23431 # Binary search between lo and hi bounds.
23432 while test "x$ac_lo" != "x$ac_hi"; do
23433 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23434 cat >conftest.$ac_ext <<_ACEOF
23437 cat confdefs.h >>conftest.$ac_ext
23438 cat >>conftest.$ac_ext <<_ACEOF
23439 /* end confdefs.h. */
23440 $ac_includes_default
23441 typedef long ac__type_sizeof_;
23445 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23452 rm -f conftest.$ac_objext
23453 if { (ac_try="$ac_compile"
23454 case "(($ac_try" in
23455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23456 *) ac_try_echo=$ac_try;;
23458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23459 (eval "$ac_compile") 2>conftest.er1
23461 grep -v '^ *+' conftest.er1 >conftest.err
23463 cat conftest.err >&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } && {
23466 test -z "$ac_c_werror_flag" ||
23467 test ! -s conftest.err
23468 } && test -s conftest.$ac_objext; then
23471 echo "$as_me: failed program was:" >&5
23472 sed 's/^/| /' conftest.$ac_ext >&5
23474 ac_lo=`expr '(' $ac_mid ')' + 1`
23477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 ?*) ac_cv_sizeof_long=$ac_lo;;
23481 '') if test "$ac_cv_type_long" = yes; then
23482 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23483 See \`config.log' for more details." >&5
23484 echo "$as_me: error: cannot compute sizeof (long)
23485 See \`config.log' for more details." >&2;}
23486 { (exit 77); exit 77; }; }
23488 ac_cv_sizeof_long=0
23492 cat >conftest.$ac_ext <<_ACEOF
23495 cat confdefs.h >>conftest.$ac_ext
23496 cat >>conftest.$ac_ext <<_ACEOF
23497 /* end confdefs.h. */
23498 $ac_includes_default
23499 typedef long ac__type_sizeof_;
23500 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23501 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23503 #include <stdlib.h>
23508 FILE *f = fopen ("conftest.val", "w");
23511 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23513 long int i = longval ();
23514 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23516 fprintf (f, "%ld\n", i);
23520 unsigned long int i = ulongval ();
23521 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23523 fprintf (f, "%lu\n", i);
23525 return ferror (f) || fclose (f) != 0;
23531 rm -f conftest$ac_exeext
23532 if { (ac_try="$ac_link"
23533 case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_link") 2>&5
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23542 { (case "(($ac_try" in
23543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23544 *) ac_try_echo=$ac_try;;
23546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23547 (eval "$ac_try") 2>&5
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); }; }; then
23551 ac_cv_sizeof_long=`cat conftest.val`
23553 echo "$as_me: program exited with status $ac_status" >&5
23554 echo "$as_me: failed program was:" >&5
23555 sed 's/^/| /' conftest.$ac_ext >&5
23557 ( exit $ac_status )
23558 if test "$ac_cv_type_long" = yes; then
23559 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23560 See \`config.log' for more details." >&5
23561 echo "$as_me: error: cannot compute sizeof (long)
23562 See \`config.log' for more details." >&2;}
23563 { (exit 77); exit 77; }; }
23565 ac_cv_sizeof_long=0
23568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23572 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23573 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23577 cat >>confdefs.h <<_ACEOF
23578 #define SIZEOF_LONG $ac_cv_sizeof_long
23582 { echo "$as_me:$LINENO: checking for size_t" >&5
23583 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23584 if test "${ac_cv_type_size_t+set}" = set; then
23585 echo $ECHO_N "(cached) $ECHO_C" >&6
23587 cat >conftest.$ac_ext <<_ACEOF
23590 cat confdefs.h >>conftest.$ac_ext
23591 cat >>conftest.$ac_ext <<_ACEOF
23592 /* end confdefs.h. */
23593 $ac_includes_default
23594 typedef size_t ac__type_new_;
23598 if ((ac__type_new_ *) 0)
23600 if (sizeof (ac__type_new_))
23606 rm -f conftest.$ac_objext
23607 if { (ac_try="$ac_compile"
23608 case "(($ac_try" in
23609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23610 *) ac_try_echo=$ac_try;;
23612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23613 (eval "$ac_compile") 2>conftest.er1
23615 grep -v '^ *+' conftest.er1 >conftest.err
23617 cat conftest.err >&5
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); } && {
23620 test -z "$ac_c_werror_flag" ||
23621 test ! -s conftest.err
23622 } && test -s conftest.$ac_objext; then
23623 ac_cv_type_size_t=yes
23625 echo "$as_me: failed program was:" >&5
23626 sed 's/^/| /' conftest.$ac_ext >&5
23628 ac_cv_type_size_t=no
23631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23633 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23634 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23636 # The cast to long int works around a bug in the HP C Compiler
23637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23638 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23639 # This bug is HP SR number 8606223364.
23640 { echo "$as_me:$LINENO: checking size of size_t" >&5
23641 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23642 if test "${ac_cv_sizeof_size_t+set}" = set; then
23643 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 if test "$cross_compiling" = yes; then
23646 # Depending upon the size, compute the lo and hi bounds.
23647 cat >conftest.$ac_ext <<_ACEOF
23650 cat confdefs.h >>conftest.$ac_ext
23651 cat >>conftest.$ac_ext <<_ACEOF
23652 /* end confdefs.h. */
23653 $ac_includes_default
23654 typedef size_t ac__type_sizeof_;
23658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23665 rm -f conftest.$ac_objext
23666 if { (ac_try="$ac_compile"
23667 case "(($ac_try" in
23668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23669 *) ac_try_echo=$ac_try;;
23671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23672 (eval "$ac_compile") 2>conftest.er1
23674 grep -v '^ *+' conftest.er1 >conftest.err
23676 cat conftest.err >&5
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); } && {
23679 test -z "$ac_c_werror_flag" ||
23680 test ! -s conftest.err
23681 } && test -s conftest.$ac_objext; then
23684 cat >conftest.$ac_ext <<_ACEOF
23687 cat confdefs.h >>conftest.$ac_ext
23688 cat >>conftest.$ac_ext <<_ACEOF
23689 /* end confdefs.h. */
23690 $ac_includes_default
23691 typedef size_t ac__type_sizeof_;
23695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23702 rm -f conftest.$ac_objext
23703 if { (ac_try="$ac_compile"
23704 case "(($ac_try" in
23705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23706 *) ac_try_echo=$ac_try;;
23708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23709 (eval "$ac_compile") 2>conftest.er1
23711 grep -v '^ *+' conftest.er1 >conftest.err
23713 cat conftest.err >&5
23714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23715 (exit $ac_status); } && {
23716 test -z "$ac_c_werror_flag" ||
23717 test ! -s conftest.err
23718 } && test -s conftest.$ac_objext; then
23719 ac_hi=$ac_mid; break
23721 echo "$as_me: failed program was:" >&5
23722 sed 's/^/| /' conftest.$ac_ext >&5
23724 ac_lo=`expr $ac_mid + 1`
23725 if test $ac_lo -le $ac_mid; then
23729 ac_mid=`expr 2 '*' $ac_mid + 1`
23732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23735 echo "$as_me: failed program was:" >&5
23736 sed 's/^/| /' conftest.$ac_ext >&5
23738 cat >conftest.$ac_ext <<_ACEOF
23741 cat confdefs.h >>conftest.$ac_ext
23742 cat >>conftest.$ac_ext <<_ACEOF
23743 /* end confdefs.h. */
23744 $ac_includes_default
23745 typedef size_t ac__type_sizeof_;
23749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23756 rm -f conftest.$ac_objext
23757 if { (ac_try="$ac_compile"
23758 case "(($ac_try" in
23759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23760 *) ac_try_echo=$ac_try;;
23762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23763 (eval "$ac_compile") 2>conftest.er1
23765 grep -v '^ *+' conftest.er1 >conftest.err
23767 cat conftest.err >&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); } && {
23770 test -z "$ac_c_werror_flag" ||
23771 test ! -s conftest.err
23772 } && test -s conftest.$ac_objext; then
23775 cat >conftest.$ac_ext <<_ACEOF
23778 cat confdefs.h >>conftest.$ac_ext
23779 cat >>conftest.$ac_ext <<_ACEOF
23780 /* end confdefs.h. */
23781 $ac_includes_default
23782 typedef size_t ac__type_sizeof_;
23786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23793 rm -f conftest.$ac_objext
23794 if { (ac_try="$ac_compile"
23795 case "(($ac_try" in
23796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23800 (eval "$ac_compile") 2>conftest.er1
23802 grep -v '^ *+' conftest.er1 >conftest.err
23804 cat conftest.err >&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); } && {
23807 test -z "$ac_c_werror_flag" ||
23808 test ! -s conftest.err
23809 } && test -s conftest.$ac_objext; then
23810 ac_lo=$ac_mid; break
23812 echo "$as_me: failed program was:" >&5
23813 sed 's/^/| /' conftest.$ac_ext >&5
23815 ac_hi=`expr '(' $ac_mid ')' - 1`
23816 if test $ac_mid -le $ac_hi; then
23820 ac_mid=`expr 2 '*' $ac_mid`
23823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23826 echo "$as_me: failed program was:" >&5
23827 sed 's/^/| /' conftest.$ac_ext >&5
23832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23836 # Binary search between lo and hi bounds.
23837 while test "x$ac_lo" != "x$ac_hi"; do
23838 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23839 cat >conftest.$ac_ext <<_ACEOF
23842 cat confdefs.h >>conftest.$ac_ext
23843 cat >>conftest.$ac_ext <<_ACEOF
23844 /* end confdefs.h. */
23845 $ac_includes_default
23846 typedef size_t ac__type_sizeof_;
23850 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23857 rm -f conftest.$ac_objext
23858 if { (ac_try="$ac_compile"
23859 case "(($ac_try" in
23860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23861 *) ac_try_echo=$ac_try;;
23863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23864 (eval "$ac_compile") 2>conftest.er1
23866 grep -v '^ *+' conftest.er1 >conftest.err
23868 cat conftest.err >&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); } && {
23871 test -z "$ac_c_werror_flag" ||
23872 test ! -s conftest.err
23873 } && test -s conftest.$ac_objext; then
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.$ac_ext >&5
23879 ac_lo=`expr '(' $ac_mid ')' + 1`
23882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23885 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23886 '') if test "$ac_cv_type_size_t" = yes; then
23887 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23888 See \`config.log' for more details." >&5
23889 echo "$as_me: error: cannot compute sizeof (size_t)
23890 See \`config.log' for more details." >&2;}
23891 { (exit 77); exit 77; }; }
23893 ac_cv_sizeof_size_t=0
23897 cat >conftest.$ac_ext <<_ACEOF
23900 cat confdefs.h >>conftest.$ac_ext
23901 cat >>conftest.$ac_ext <<_ACEOF
23902 /* end confdefs.h. */
23903 $ac_includes_default
23904 typedef size_t ac__type_sizeof_;
23905 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23906 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23908 #include <stdlib.h>
23913 FILE *f = fopen ("conftest.val", "w");
23916 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23918 long int i = longval ();
23919 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23921 fprintf (f, "%ld\n", i);
23925 unsigned long int i = ulongval ();
23926 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23928 fprintf (f, "%lu\n", i);
23930 return ferror (f) || fclose (f) != 0;
23936 rm -f conftest$ac_exeext
23937 if { (ac_try="$ac_link"
23938 case "(($ac_try" in
23939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23940 *) ac_try_echo=$ac_try;;
23942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23943 (eval "$ac_link") 2>&5
23945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23947 { (case "(($ac_try" in
23948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23949 *) ac_try_echo=$ac_try;;
23951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23952 (eval "$ac_try") 2>&5
23954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955 (exit $ac_status); }; }; then
23956 ac_cv_sizeof_size_t=`cat conftest.val`
23958 echo "$as_me: program exited with status $ac_status" >&5
23959 echo "$as_me: failed program was:" >&5
23960 sed 's/^/| /' conftest.$ac_ext >&5
23962 ( exit $ac_status )
23963 if test "$ac_cv_type_size_t" = yes; then
23964 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23965 See \`config.log' for more details." >&5
23966 echo "$as_me: error: cannot compute sizeof (size_t)
23967 See \`config.log' for more details." >&2;}
23968 { (exit 77); exit 77; }; }
23970 ac_cv_sizeof_size_t=0
23973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23977 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23978 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23982 cat >>confdefs.h <<_ACEOF
23983 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23990 { echo "$as_me:$LINENO: checking for long long" >&5
23991 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23992 if test "${ac_cv_type_long_long+set}" = set; then
23993 echo $ECHO_N "(cached) $ECHO_C" >&6
23995 cat >conftest.$ac_ext <<_ACEOF
23998 cat confdefs.h >>conftest.$ac_ext
23999 cat >>conftest.$ac_ext <<_ACEOF
24000 /* end confdefs.h. */
24001 $ac_includes_default
24002 typedef long long ac__type_new_;
24006 if ((ac__type_new_ *) 0)
24008 if (sizeof (ac__type_new_))
24014 rm -f conftest.$ac_objext
24015 if { (ac_try="$ac_compile"
24016 case "(($ac_try" in
24017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24018 *) ac_try_echo=$ac_try;;
24020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24021 (eval "$ac_compile") 2>conftest.er1
24023 grep -v '^ *+' conftest.er1 >conftest.err
24025 cat conftest.err >&5
24026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027 (exit $ac_status); } && {
24028 test -z "$ac_c_werror_flag" ||
24029 test ! -s conftest.err
24030 } && test -s conftest.$ac_objext; then
24031 ac_cv_type_long_long=yes
24033 echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.$ac_ext >&5
24036 ac_cv_type_long_long=no
24039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24041 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24042 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24044 # The cast to long int works around a bug in the HP C Compiler
24045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24047 # This bug is HP SR number 8606223364.
24048 { echo "$as_me:$LINENO: checking size of long long" >&5
24049 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24050 if test "${ac_cv_sizeof_long_long+set}" = set; then
24051 echo $ECHO_N "(cached) $ECHO_C" >&6
24053 if test "$cross_compiling" = yes; then
24054 # Depending upon the size, compute the lo and hi bounds.
24055 cat >conftest.$ac_ext <<_ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24061 $ac_includes_default
24062 typedef long long ac__type_sizeof_;
24066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24073 rm -f conftest.$ac_objext
24074 if { (ac_try="$ac_compile"
24075 case "(($ac_try" in
24076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24077 *) ac_try_echo=$ac_try;;
24079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24080 (eval "$ac_compile") 2>conftest.er1
24082 grep -v '^ *+' conftest.er1 >conftest.err
24084 cat conftest.err >&5
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); } && {
24087 test -z "$ac_c_werror_flag" ||
24088 test ! -s conftest.err
24089 } && test -s conftest.$ac_objext; then
24092 cat >conftest.$ac_ext <<_ACEOF
24095 cat confdefs.h >>conftest.$ac_ext
24096 cat >>conftest.$ac_ext <<_ACEOF
24097 /* end confdefs.h. */
24098 $ac_includes_default
24099 typedef long long ac__type_sizeof_;
24103 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24110 rm -f conftest.$ac_objext
24111 if { (ac_try="$ac_compile"
24112 case "(($ac_try" in
24113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24114 *) ac_try_echo=$ac_try;;
24116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24117 (eval "$ac_compile") 2>conftest.er1
24119 grep -v '^ *+' conftest.er1 >conftest.err
24121 cat conftest.err >&5
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123 (exit $ac_status); } && {
24124 test -z "$ac_c_werror_flag" ||
24125 test ! -s conftest.err
24126 } && test -s conftest.$ac_objext; then
24127 ac_hi=$ac_mid; break
24129 echo "$as_me: failed program was:" >&5
24130 sed 's/^/| /' conftest.$ac_ext >&5
24132 ac_lo=`expr $ac_mid + 1`
24133 if test $ac_lo -le $ac_mid; then
24137 ac_mid=`expr 2 '*' $ac_mid + 1`
24140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24143 echo "$as_me: failed program was:" >&5
24144 sed 's/^/| /' conftest.$ac_ext >&5
24146 cat >conftest.$ac_ext <<_ACEOF
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h. */
24152 $ac_includes_default
24153 typedef long long ac__type_sizeof_;
24157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24164 rm -f conftest.$ac_objext
24165 if { (ac_try="$ac_compile"
24166 case "(($ac_try" in
24167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24168 *) ac_try_echo=$ac_try;;
24170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24171 (eval "$ac_compile") 2>conftest.er1
24173 grep -v '^ *+' conftest.er1 >conftest.err
24175 cat conftest.err >&5
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); } && {
24178 test -z "$ac_c_werror_flag" ||
24179 test ! -s conftest.err
24180 } && test -s conftest.$ac_objext; then
24183 cat >conftest.$ac_ext <<_ACEOF
24186 cat confdefs.h >>conftest.$ac_ext
24187 cat >>conftest.$ac_ext <<_ACEOF
24188 /* end confdefs.h. */
24189 $ac_includes_default
24190 typedef long long ac__type_sizeof_;
24194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24201 rm -f conftest.$ac_objext
24202 if { (ac_try="$ac_compile"
24203 case "(($ac_try" in
24204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24205 *) ac_try_echo=$ac_try;;
24207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24208 (eval "$ac_compile") 2>conftest.er1
24210 grep -v '^ *+' conftest.er1 >conftest.err
24212 cat conftest.err >&5
24213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214 (exit $ac_status); } && {
24215 test -z "$ac_c_werror_flag" ||
24216 test ! -s conftest.err
24217 } && test -s conftest.$ac_objext; then
24218 ac_lo=$ac_mid; break
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.$ac_ext >&5
24223 ac_hi=`expr '(' $ac_mid ')' - 1`
24224 if test $ac_mid -le $ac_hi; then
24228 ac_mid=`expr 2 '*' $ac_mid`
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24234 echo "$as_me: failed program was:" >&5
24235 sed 's/^/| /' conftest.$ac_ext >&5
24240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24244 # Binary search between lo and hi bounds.
24245 while test "x$ac_lo" != "x$ac_hi"; do
24246 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24247 cat >conftest.$ac_ext <<_ACEOF
24250 cat confdefs.h >>conftest.$ac_ext
24251 cat >>conftest.$ac_ext <<_ACEOF
24252 /* end confdefs.h. */
24253 $ac_includes_default
24254 typedef long long ac__type_sizeof_;
24258 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24265 rm -f conftest.$ac_objext
24266 if { (ac_try="$ac_compile"
24267 case "(($ac_try" in
24268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24269 *) ac_try_echo=$ac_try;;
24271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24272 (eval "$ac_compile") 2>conftest.er1
24274 grep -v '^ *+' conftest.er1 >conftest.err
24276 cat conftest.err >&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); } && {
24279 test -z "$ac_c_werror_flag" ||
24280 test ! -s conftest.err
24281 } && test -s conftest.$ac_objext; then
24284 echo "$as_me: failed program was:" >&5
24285 sed 's/^/| /' conftest.$ac_ext >&5
24287 ac_lo=`expr '(' $ac_mid ')' + 1`
24290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24293 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24294 '') if test "$ac_cv_type_long_long" = yes; then
24295 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24296 See \`config.log' for more details." >&5
24297 echo "$as_me: error: cannot compute sizeof (long long)
24298 See \`config.log' for more details." >&2;}
24299 { (exit 77); exit 77; }; }
24301 ac_cv_sizeof_long_long=0
24305 cat >conftest.$ac_ext <<_ACEOF
24308 cat confdefs.h >>conftest.$ac_ext
24309 cat >>conftest.$ac_ext <<_ACEOF
24310 /* end confdefs.h. */
24311 $ac_includes_default
24312 typedef long long ac__type_sizeof_;
24313 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24314 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24316 #include <stdlib.h>
24321 FILE *f = fopen ("conftest.val", "w");
24324 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24326 long int i = longval ();
24327 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24329 fprintf (f, "%ld\n", i);
24333 unsigned long int i = ulongval ();
24334 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24336 fprintf (f, "%lu\n", i);
24338 return ferror (f) || fclose (f) != 0;
24344 rm -f conftest$ac_exeext
24345 if { (ac_try="$ac_link"
24346 case "(($ac_try" in
24347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24348 *) ac_try_echo=$ac_try;;
24350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24351 (eval "$ac_link") 2>&5
24353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24354 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24355 { (case "(($ac_try" in
24356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24357 *) ac_try_echo=$ac_try;;
24359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24360 (eval "$ac_try") 2>&5
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); }; }; then
24364 ac_cv_sizeof_long_long=`cat conftest.val`
24366 echo "$as_me: program exited with status $ac_status" >&5
24367 echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.$ac_ext >&5
24370 ( exit $ac_status )
24371 if test "$ac_cv_type_long_long" = yes; then
24372 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24373 See \`config.log' for more details." >&5
24374 echo "$as_me: error: cannot compute sizeof (long long)
24375 See \`config.log' for more details." >&2;}
24376 { (exit 77); exit 77; }; }
24378 ac_cv_sizeof_long_long=0
24381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24385 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24386 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24390 cat >>confdefs.h <<_ACEOF
24391 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24397 { echo "$as_me:$LINENO: checking for long long" >&5
24398 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24399 if test "${ac_cv_type_long_long+set}" = set; then
24400 echo $ECHO_N "(cached) $ECHO_C" >&6
24402 cat >conftest.$ac_ext <<_ACEOF
24405 cat confdefs.h >>conftest.$ac_ext
24406 cat >>conftest.$ac_ext <<_ACEOF
24407 /* end confdefs.h. */
24408 $ac_includes_default
24409 typedef long long ac__type_new_;
24413 if ((ac__type_new_ *) 0)
24415 if (sizeof (ac__type_new_))
24421 rm -f conftest.$ac_objext
24422 if { (ac_try="$ac_compile"
24423 case "(($ac_try" in
24424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24425 *) ac_try_echo=$ac_try;;
24427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24428 (eval "$ac_compile") 2>conftest.er1
24430 grep -v '^ *+' conftest.er1 >conftest.err
24432 cat conftest.err >&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); } && {
24435 test -z "$ac_c_werror_flag" ||
24436 test ! -s conftest.err
24437 } && test -s conftest.$ac_objext; then
24438 ac_cv_type_long_long=yes
24440 echo "$as_me: failed program was:" >&5
24441 sed 's/^/| /' conftest.$ac_ext >&5
24443 ac_cv_type_long_long=no
24446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24448 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24449 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24451 # The cast to long int works around a bug in the HP C Compiler
24452 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24453 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24454 # This bug is HP SR number 8606223364.
24455 { echo "$as_me:$LINENO: checking size of long long" >&5
24456 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24457 if test "${ac_cv_sizeof_long_long+set}" = set; then
24458 echo $ECHO_N "(cached) $ECHO_C" >&6
24460 if test "$cross_compiling" = yes; then
24461 # Depending upon the size, compute the lo and hi bounds.
24462 cat >conftest.$ac_ext <<_ACEOF
24465 cat confdefs.h >>conftest.$ac_ext
24466 cat >>conftest.$ac_ext <<_ACEOF
24467 /* end confdefs.h. */
24468 $ac_includes_default
24469 typedef long long ac__type_sizeof_;
24473 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24480 rm -f conftest.$ac_objext
24481 if { (ac_try="$ac_compile"
24482 case "(($ac_try" in
24483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24484 *) ac_try_echo=$ac_try;;
24486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24487 (eval "$ac_compile") 2>conftest.er1
24489 grep -v '^ *+' conftest.er1 >conftest.err
24491 cat conftest.err >&5
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); } && {
24494 test -z "$ac_c_werror_flag" ||
24495 test ! -s conftest.err
24496 } && test -s conftest.$ac_objext; then
24499 cat >conftest.$ac_ext <<_ACEOF
24502 cat confdefs.h >>conftest.$ac_ext
24503 cat >>conftest.$ac_ext <<_ACEOF
24504 /* end confdefs.h. */
24505 $ac_includes_default
24506 typedef long long ac__type_sizeof_;
24510 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24517 rm -f conftest.$ac_objext
24518 if { (ac_try="$ac_compile"
24519 case "(($ac_try" in
24520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24521 *) ac_try_echo=$ac_try;;
24523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24524 (eval "$ac_compile") 2>conftest.er1
24526 grep -v '^ *+' conftest.er1 >conftest.err
24528 cat conftest.err >&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); } && {
24531 test -z "$ac_c_werror_flag" ||
24532 test ! -s conftest.err
24533 } && test -s conftest.$ac_objext; then
24534 ac_hi=$ac_mid; break
24536 echo "$as_me: failed program was:" >&5
24537 sed 's/^/| /' conftest.$ac_ext >&5
24539 ac_lo=`expr $ac_mid + 1`
24540 if test $ac_lo -le $ac_mid; then
24544 ac_mid=`expr 2 '*' $ac_mid + 1`
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24553 cat >conftest.$ac_ext <<_ACEOF
24556 cat confdefs.h >>conftest.$ac_ext
24557 cat >>conftest.$ac_ext <<_ACEOF
24558 /* end confdefs.h. */
24559 $ac_includes_default
24560 typedef long long ac__type_sizeof_;
24564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24571 rm -f conftest.$ac_objext
24572 if { (ac_try="$ac_compile"
24573 case "(($ac_try" in
24574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24575 *) ac_try_echo=$ac_try;;
24577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24578 (eval "$ac_compile") 2>conftest.er1
24580 grep -v '^ *+' conftest.er1 >conftest.err
24582 cat conftest.err >&5
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); } && {
24585 test -z "$ac_c_werror_flag" ||
24586 test ! -s conftest.err
24587 } && test -s conftest.$ac_objext; then
24590 cat >conftest.$ac_ext <<_ACEOF
24593 cat confdefs.h >>conftest.$ac_ext
24594 cat >>conftest.$ac_ext <<_ACEOF
24595 /* end confdefs.h. */
24596 $ac_includes_default
24597 typedef long long ac__type_sizeof_;
24601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24608 rm -f conftest.$ac_objext
24609 if { (ac_try="$ac_compile"
24610 case "(($ac_try" in
24611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24612 *) ac_try_echo=$ac_try;;
24614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24615 (eval "$ac_compile") 2>conftest.er1
24617 grep -v '^ *+' conftest.er1 >conftest.err
24619 cat conftest.err >&5
24620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621 (exit $ac_status); } && {
24622 test -z "$ac_c_werror_flag" ||
24623 test ! -s conftest.err
24624 } && test -s conftest.$ac_objext; then
24625 ac_lo=$ac_mid; break
24627 echo "$as_me: failed program was:" >&5
24628 sed 's/^/| /' conftest.$ac_ext >&5
24630 ac_hi=`expr '(' $ac_mid ')' - 1`
24631 if test $ac_mid -le $ac_hi; then
24635 ac_mid=`expr 2 '*' $ac_mid`
24638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24641 echo "$as_me: failed program was:" >&5
24642 sed 's/^/| /' conftest.$ac_ext >&5
24647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651 # Binary search between lo and hi bounds.
24652 while test "x$ac_lo" != "x$ac_hi"; do
24653 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24654 cat >conftest.$ac_ext <<_ACEOF
24657 cat confdefs.h >>conftest.$ac_ext
24658 cat >>conftest.$ac_ext <<_ACEOF
24659 /* end confdefs.h. */
24660 $ac_includes_default
24661 typedef long long ac__type_sizeof_;
24665 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24672 rm -f conftest.$ac_objext
24673 if { (ac_try="$ac_compile"
24674 case "(($ac_try" in
24675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24676 *) ac_try_echo=$ac_try;;
24678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24679 (eval "$ac_compile") 2>conftest.er1
24681 grep -v '^ *+' conftest.er1 >conftest.err
24683 cat conftest.err >&5
24684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24685 (exit $ac_status); } && {
24686 test -z "$ac_c_werror_flag" ||
24687 test ! -s conftest.err
24688 } && test -s conftest.$ac_objext; then
24691 echo "$as_me: failed program was:" >&5
24692 sed 's/^/| /' conftest.$ac_ext >&5
24694 ac_lo=`expr '(' $ac_mid ')' + 1`
24697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24700 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24701 '') if test "$ac_cv_type_long_long" = yes; then
24702 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24703 See \`config.log' for more details." >&5
24704 echo "$as_me: error: cannot compute sizeof (long long)
24705 See \`config.log' for more details." >&2;}
24706 { (exit 77); exit 77; }; }
24708 ac_cv_sizeof_long_long=0
24712 cat >conftest.$ac_ext <<_ACEOF
24715 cat confdefs.h >>conftest.$ac_ext
24716 cat >>conftest.$ac_ext <<_ACEOF
24717 /* end confdefs.h. */
24718 $ac_includes_default
24719 typedef long long ac__type_sizeof_;
24720 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24721 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24723 #include <stdlib.h>
24728 FILE *f = fopen ("conftest.val", "w");
24731 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24733 long int i = longval ();
24734 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24736 fprintf (f, "%ld\n", i);
24740 unsigned long int i = ulongval ();
24741 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24743 fprintf (f, "%lu\n", i);
24745 return ferror (f) || fclose (f) != 0;
24751 rm -f conftest$ac_exeext
24752 if { (ac_try="$ac_link"
24753 case "(($ac_try" in
24754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24755 *) ac_try_echo=$ac_try;;
24757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24758 (eval "$ac_link") 2>&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24762 { (case "(($ac_try" in
24763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24764 *) ac_try_echo=$ac_try;;
24766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24767 (eval "$ac_try") 2>&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); }; }; then
24771 ac_cv_sizeof_long_long=`cat conftest.val`
24773 echo "$as_me: program exited with status $ac_status" >&5
24774 echo "$as_me: failed program was:" >&5
24775 sed 's/^/| /' conftest.$ac_ext >&5
24777 ( exit $ac_status )
24778 if test "$ac_cv_type_long_long" = yes; then
24779 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24780 See \`config.log' for more details." >&5
24781 echo "$as_me: error: cannot compute sizeof (long long)
24782 See \`config.log' for more details." >&2;}
24783 { (exit 77); exit 77; }; }
24785 ac_cv_sizeof_long_long=0
24788 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24792 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24793 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24797 cat >>confdefs.h <<_ACEOF
24798 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24802 if test "$ac_cv_sizeof_long_long" != "0"; then
24803 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24807 { echo "$as_me:$LINENO: checking for long long" >&5
24808 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24809 if test "${ac_cv_type_long_long+set}" = set; then
24810 echo $ECHO_N "(cached) $ECHO_C" >&6
24812 cat >conftest.$ac_ext <<_ACEOF
24815 cat confdefs.h >>conftest.$ac_ext
24816 cat >>conftest.$ac_ext <<_ACEOF
24817 /* end confdefs.h. */
24818 $ac_includes_default
24819 typedef long long ac__type_new_;
24823 if ((ac__type_new_ *) 0)
24825 if (sizeof (ac__type_new_))
24831 rm -f conftest.$ac_objext
24832 if { (ac_try="$ac_compile"
24833 case "(($ac_try" in
24834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24835 *) ac_try_echo=$ac_try;;
24837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24838 (eval "$ac_compile") 2>conftest.er1
24840 grep -v '^ *+' conftest.er1 >conftest.err
24842 cat conftest.err >&5
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); } && {
24845 test -z "$ac_c_werror_flag" ||
24846 test ! -s conftest.err
24847 } && test -s conftest.$ac_objext; then
24848 ac_cv_type_long_long=yes
24850 echo "$as_me: failed program was:" >&5
24851 sed 's/^/| /' conftest.$ac_ext >&5
24853 ac_cv_type_long_long=no
24856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24858 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24859 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24861 # The cast to long int works around a bug in the HP C Compiler
24862 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24863 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24864 # This bug is HP SR number 8606223364.
24865 { echo "$as_me:$LINENO: checking size of long long" >&5
24866 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24867 if test "${ac_cv_sizeof_long_long+set}" = set; then
24868 echo $ECHO_N "(cached) $ECHO_C" >&6
24870 if test "$cross_compiling" = yes; then
24871 # Depending upon the size, compute the lo and hi bounds.
24872 cat >conftest.$ac_ext <<_ACEOF
24875 cat confdefs.h >>conftest.$ac_ext
24876 cat >>conftest.$ac_ext <<_ACEOF
24877 /* end confdefs.h. */
24878 $ac_includes_default
24879 typedef long long ac__type_sizeof_;
24883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24890 rm -f conftest.$ac_objext
24891 if { (ac_try="$ac_compile"
24892 case "(($ac_try" in
24893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24894 *) ac_try_echo=$ac_try;;
24896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24897 (eval "$ac_compile") 2>conftest.er1
24899 grep -v '^ *+' conftest.er1 >conftest.err
24901 cat conftest.err >&5
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); } && {
24904 test -z "$ac_c_werror_flag" ||
24905 test ! -s conftest.err
24906 } && test -s conftest.$ac_objext; then
24909 cat >conftest.$ac_ext <<_ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24915 $ac_includes_default
24916 typedef long long ac__type_sizeof_;
24920 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24927 rm -f conftest.$ac_objext
24928 if { (ac_try="$ac_compile"
24929 case "(($ac_try" in
24930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24931 *) ac_try_echo=$ac_try;;
24933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24934 (eval "$ac_compile") 2>conftest.er1
24936 grep -v '^ *+' conftest.er1 >conftest.err
24938 cat conftest.err >&5
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); } && {
24941 test -z "$ac_c_werror_flag" ||
24942 test ! -s conftest.err
24943 } && test -s conftest.$ac_objext; then
24944 ac_hi=$ac_mid; break
24946 echo "$as_me: failed program was:" >&5
24947 sed 's/^/| /' conftest.$ac_ext >&5
24949 ac_lo=`expr $ac_mid + 1`
24950 if test $ac_lo -le $ac_mid; then
24954 ac_mid=`expr 2 '*' $ac_mid + 1`
24957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24960 echo "$as_me: failed program was:" >&5
24961 sed 's/^/| /' conftest.$ac_ext >&5
24963 cat >conftest.$ac_ext <<_ACEOF
24966 cat confdefs.h >>conftest.$ac_ext
24967 cat >>conftest.$ac_ext <<_ACEOF
24968 /* end confdefs.h. */
24969 $ac_includes_default
24970 typedef long long ac__type_sizeof_;
24974 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24981 rm -f conftest.$ac_objext
24982 if { (ac_try="$ac_compile"
24983 case "(($ac_try" in
24984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24985 *) ac_try_echo=$ac_try;;
24987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24988 (eval "$ac_compile") 2>conftest.er1
24990 grep -v '^ *+' conftest.er1 >conftest.err
24992 cat conftest.err >&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); } && {
24995 test -z "$ac_c_werror_flag" ||
24996 test ! -s conftest.err
24997 } && test -s conftest.$ac_objext; then
25000 cat >conftest.$ac_ext <<_ACEOF
25003 cat confdefs.h >>conftest.$ac_ext
25004 cat >>conftest.$ac_ext <<_ACEOF
25005 /* end confdefs.h. */
25006 $ac_includes_default
25007 typedef long long ac__type_sizeof_;
25011 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25018 rm -f conftest.$ac_objext
25019 if { (ac_try="$ac_compile"
25020 case "(($ac_try" in
25021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_compile") 2>conftest.er1
25027 grep -v '^ *+' conftest.er1 >conftest.err
25029 cat conftest.err >&5
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); } && {
25032 test -z "$ac_c_werror_flag" ||
25033 test ! -s conftest.err
25034 } && test -s conftest.$ac_objext; then
25035 ac_lo=$ac_mid; break
25037 echo "$as_me: failed program was:" >&5
25038 sed 's/^/| /' conftest.$ac_ext >&5
25040 ac_hi=`expr '(' $ac_mid ')' - 1`
25041 if test $ac_mid -le $ac_hi; then
25045 ac_mid=`expr 2 '*' $ac_mid`
25048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25051 echo "$as_me: failed program was:" >&5
25052 sed 's/^/| /' conftest.$ac_ext >&5
25057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25061 # Binary search between lo and hi bounds.
25062 while test "x$ac_lo" != "x$ac_hi"; do
25063 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25064 cat >conftest.$ac_ext <<_ACEOF
25067 cat confdefs.h >>conftest.$ac_ext
25068 cat >>conftest.$ac_ext <<_ACEOF
25069 /* end confdefs.h. */
25070 $ac_includes_default
25071 typedef long long ac__type_sizeof_;
25075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25082 rm -f conftest.$ac_objext
25083 if { (ac_try="$ac_compile"
25084 case "(($ac_try" in
25085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25086 *) ac_try_echo=$ac_try;;
25088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25089 (eval "$ac_compile") 2>conftest.er1
25091 grep -v '^ *+' conftest.er1 >conftest.err
25093 cat conftest.err >&5
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); } && {
25096 test -z "$ac_c_werror_flag" ||
25097 test ! -s conftest.err
25098 } && test -s conftest.$ac_objext; then
25101 echo "$as_me: failed program was:" >&5
25102 sed 's/^/| /' conftest.$ac_ext >&5
25104 ac_lo=`expr '(' $ac_mid ')' + 1`
25107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25110 ?*) ac_cv_sizeof_long_long=$ac_lo;;
25111 '') if test "$ac_cv_type_long_long" = yes; then
25112 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25113 See \`config.log' for more details." >&5
25114 echo "$as_me: error: cannot compute sizeof (long long)
25115 See \`config.log' for more details." >&2;}
25116 { (exit 77); exit 77; }; }
25118 ac_cv_sizeof_long_long=0
25122 cat >conftest.$ac_ext <<_ACEOF
25125 cat confdefs.h >>conftest.$ac_ext
25126 cat >>conftest.$ac_ext <<_ACEOF
25127 /* end confdefs.h. */
25128 $ac_includes_default
25129 typedef long long ac__type_sizeof_;
25130 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25131 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25133 #include <stdlib.h>
25138 FILE *f = fopen ("conftest.val", "w");
25141 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25143 long int i = longval ();
25144 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25146 fprintf (f, "%ld\n", i);
25150 unsigned long int i = ulongval ();
25151 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25153 fprintf (f, "%lu\n", i);
25155 return ferror (f) || fclose (f) != 0;
25161 rm -f conftest$ac_exeext
25162 if { (ac_try="$ac_link"
25163 case "(($ac_try" in
25164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25165 *) ac_try_echo=$ac_try;;
25167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25168 (eval "$ac_link") 2>&5
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25172 { (case "(($ac_try" in
25173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25174 *) ac_try_echo=$ac_try;;
25176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25177 (eval "$ac_try") 2>&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); }; }; then
25181 ac_cv_sizeof_long_long=`cat conftest.val`
25183 echo "$as_me: program exited with status $ac_status" >&5
25184 echo "$as_me: failed program was:" >&5
25185 sed 's/^/| /' conftest.$ac_ext >&5
25187 ( exit $ac_status )
25188 if test "$ac_cv_type_long_long" = yes; then
25189 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25190 See \`config.log' for more details." >&5
25191 echo "$as_me: error: cannot compute sizeof (long long)
25192 See \`config.log' for more details." >&2;}
25193 { (exit 77); exit 77; }; }
25195 ac_cv_sizeof_long_long=0
25198 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25202 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25203 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25207 cat >>confdefs.h <<_ACEOF
25208 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25214 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25215 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25216 if test "${ac_cv_type_wchar_t+set}" = set; then
25217 echo $ECHO_N "(cached) $ECHO_C" >&6
25219 cat >conftest.$ac_ext <<_ACEOF
25222 cat confdefs.h >>conftest.$ac_ext
25223 cat >>conftest.$ac_ext <<_ACEOF
25224 /* end confdefs.h. */
25226 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25227 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25228 # error "fake wchar_t"
25230 #ifdef HAVE_WCHAR_H
25232 # include <stddef.h>
25234 # include <wchar.h>
25236 #ifdef HAVE_STDLIB_H
25237 # include <stdlib.h>
25243 typedef wchar_t ac__type_new_;
25247 if ((ac__type_new_ *) 0)
25249 if (sizeof (ac__type_new_))
25255 rm -f conftest.$ac_objext
25256 if { (ac_try="$ac_compile"
25257 case "(($ac_try" in
25258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25259 *) ac_try_echo=$ac_try;;
25261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25262 (eval "$ac_compile") 2>conftest.er1
25264 grep -v '^ *+' conftest.er1 >conftest.err
25266 cat conftest.err >&5
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); } && {
25269 test -z "$ac_c_werror_flag" ||
25270 test ! -s conftest.err
25271 } && test -s conftest.$ac_objext; then
25272 ac_cv_type_wchar_t=yes
25274 echo "$as_me: failed program was:" >&5
25275 sed 's/^/| /' conftest.$ac_ext >&5
25277 ac_cv_type_wchar_t=no
25280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25282 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25283 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25285 # The cast to long int works around a bug in the HP C Compiler
25286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25288 # This bug is HP SR number 8606223364.
25289 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25290 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25291 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25292 echo $ECHO_N "(cached) $ECHO_C" >&6
25294 if test "$cross_compiling" = yes; then
25295 # Depending upon the size, compute the lo and hi bounds.
25296 cat >conftest.$ac_ext <<_ACEOF
25299 cat confdefs.h >>conftest.$ac_ext
25300 cat >>conftest.$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25303 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25304 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25305 # error "fake wchar_t"
25307 #ifdef HAVE_WCHAR_H
25309 # include <stddef.h>
25311 # include <wchar.h>
25313 #ifdef HAVE_STDLIB_H
25314 # include <stdlib.h>
25320 typedef wchar_t ac__type_sizeof_;
25324 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25331 rm -f conftest.$ac_objext
25332 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
25340 grep -v '^ *+' conftest.er1 >conftest.err
25342 cat conftest.err >&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); } && {
25345 test -z "$ac_c_werror_flag" ||
25346 test ! -s conftest.err
25347 } && test -s conftest.$ac_objext; then
25350 cat >conftest.$ac_ext <<_ACEOF
25353 cat confdefs.h >>conftest.$ac_ext
25354 cat >>conftest.$ac_ext <<_ACEOF
25355 /* end confdefs.h. */
25357 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25358 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25359 # error "fake wchar_t"
25361 #ifdef HAVE_WCHAR_H
25363 # include <stddef.h>
25365 # include <wchar.h>
25367 #ifdef HAVE_STDLIB_H
25368 # include <stdlib.h>
25374 typedef wchar_t ac__type_sizeof_;
25378 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25385 rm -f conftest.$ac_objext
25386 if { (ac_try="$ac_compile"
25387 case "(($ac_try" in
25388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25389 *) ac_try_echo=$ac_try;;
25391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25392 (eval "$ac_compile") 2>conftest.er1
25394 grep -v '^ *+' conftest.er1 >conftest.err
25396 cat conftest.err >&5
25397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25398 (exit $ac_status); } && {
25399 test -z "$ac_c_werror_flag" ||
25400 test ! -s conftest.err
25401 } && test -s conftest.$ac_objext; then
25402 ac_hi=$ac_mid; break
25404 echo "$as_me: failed program was:" >&5
25405 sed 's/^/| /' conftest.$ac_ext >&5
25407 ac_lo=`expr $ac_mid + 1`
25408 if test $ac_lo -le $ac_mid; then
25412 ac_mid=`expr 2 '*' $ac_mid + 1`
25415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25418 echo "$as_me: failed program was:" >&5
25419 sed 's/^/| /' conftest.$ac_ext >&5
25421 cat >conftest.$ac_ext <<_ACEOF
25424 cat confdefs.h >>conftest.$ac_ext
25425 cat >>conftest.$ac_ext <<_ACEOF
25426 /* end confdefs.h. */
25428 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25429 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25430 # error "fake wchar_t"
25432 #ifdef HAVE_WCHAR_H
25434 # include <stddef.h>
25436 # include <wchar.h>
25438 #ifdef HAVE_STDLIB_H
25439 # include <stdlib.h>
25445 typedef wchar_t ac__type_sizeof_;
25449 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25456 rm -f conftest.$ac_objext
25457 if { (ac_try="$ac_compile"
25458 case "(($ac_try" in
25459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25460 *) ac_try_echo=$ac_try;;
25462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25463 (eval "$ac_compile") 2>conftest.er1
25465 grep -v '^ *+' conftest.er1 >conftest.err
25467 cat conftest.err >&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); } && {
25470 test -z "$ac_c_werror_flag" ||
25471 test ! -s conftest.err
25472 } && test -s conftest.$ac_objext; then
25475 cat >conftest.$ac_ext <<_ACEOF
25478 cat confdefs.h >>conftest.$ac_ext
25479 cat >>conftest.$ac_ext <<_ACEOF
25480 /* end confdefs.h. */
25482 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25483 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25484 # error "fake wchar_t"
25486 #ifdef HAVE_WCHAR_H
25488 # include <stddef.h>
25490 # include <wchar.h>
25492 #ifdef HAVE_STDLIB_H
25493 # include <stdlib.h>
25499 typedef wchar_t ac__type_sizeof_;
25503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25510 rm -f conftest.$ac_objext
25511 if { (ac_try="$ac_compile"
25512 case "(($ac_try" in
25513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25514 *) ac_try_echo=$ac_try;;
25516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25517 (eval "$ac_compile") 2>conftest.er1
25519 grep -v '^ *+' conftest.er1 >conftest.err
25521 cat conftest.err >&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } && {
25524 test -z "$ac_c_werror_flag" ||
25525 test ! -s conftest.err
25526 } && test -s conftest.$ac_objext; then
25527 ac_lo=$ac_mid; break
25529 echo "$as_me: failed program was:" >&5
25530 sed 's/^/| /' conftest.$ac_ext >&5
25532 ac_hi=`expr '(' $ac_mid ')' - 1`
25533 if test $ac_mid -le $ac_hi; then
25537 ac_mid=`expr 2 '*' $ac_mid`
25540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25543 echo "$as_me: failed program was:" >&5
25544 sed 's/^/| /' conftest.$ac_ext >&5
25549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25553 # Binary search between lo and hi bounds.
25554 while test "x$ac_lo" != "x$ac_hi"; do
25555 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25556 cat >conftest.$ac_ext <<_ACEOF
25559 cat confdefs.h >>conftest.$ac_ext
25560 cat >>conftest.$ac_ext <<_ACEOF
25561 /* end confdefs.h. */
25563 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25564 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25565 # error "fake wchar_t"
25567 #ifdef HAVE_WCHAR_H
25569 # include <stddef.h>
25571 # include <wchar.h>
25573 #ifdef HAVE_STDLIB_H
25574 # include <stdlib.h>
25580 typedef wchar_t ac__type_sizeof_;
25584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25591 rm -f conftest.$ac_objext
25592 if { (ac_try="$ac_compile"
25593 case "(($ac_try" in
25594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25595 *) ac_try_echo=$ac_try;;
25597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_compile") 2>conftest.er1
25600 grep -v '^ *+' conftest.er1 >conftest.err
25602 cat conftest.err >&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } && {
25605 test -z "$ac_c_werror_flag" ||
25606 test ! -s conftest.err
25607 } && test -s conftest.$ac_objext; then
25610 echo "$as_me: failed program was:" >&5
25611 sed 's/^/| /' conftest.$ac_ext >&5
25613 ac_lo=`expr '(' $ac_mid ')' + 1`
25616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25619 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25620 '') if test "$ac_cv_type_wchar_t" = yes; then
25621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25622 See \`config.log' for more details." >&5
25623 echo "$as_me: error: cannot compute sizeof (wchar_t)
25624 See \`config.log' for more details." >&2;}
25625 { (exit 77); exit 77; }; }
25627 ac_cv_sizeof_wchar_t=0
25631 cat >conftest.$ac_ext <<_ACEOF
25634 cat confdefs.h >>conftest.$ac_ext
25635 cat >>conftest.$ac_ext <<_ACEOF
25636 /* end confdefs.h. */
25638 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25639 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25640 # error "fake wchar_t"
25642 #ifdef HAVE_WCHAR_H
25644 # include <stddef.h>
25646 # include <wchar.h>
25648 #ifdef HAVE_STDLIB_H
25649 # include <stdlib.h>
25655 typedef wchar_t ac__type_sizeof_;
25656 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25657 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25659 #include <stdlib.h>
25664 FILE *f = fopen ("conftest.val", "w");
25667 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25669 long int i = longval ();
25670 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25672 fprintf (f, "%ld\n", i);
25676 unsigned long int i = ulongval ();
25677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25679 fprintf (f, "%lu\n", i);
25681 return ferror (f) || fclose (f) != 0;
25687 rm -f conftest$ac_exeext
25688 if { (ac_try="$ac_link"
25689 case "(($ac_try" in
25690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25691 *) ac_try_echo=$ac_try;;
25693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25694 (eval "$ac_link") 2>&5
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25698 { (case "(($ac_try" in
25699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25700 *) ac_try_echo=$ac_try;;
25702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25703 (eval "$ac_try") 2>&5
25705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706 (exit $ac_status); }; }; then
25707 ac_cv_sizeof_wchar_t=`cat conftest.val`
25709 echo "$as_me: program exited with status $ac_status" >&5
25710 echo "$as_me: failed program was:" >&5
25711 sed 's/^/| /' conftest.$ac_ext >&5
25713 ( exit $ac_status )
25714 if test "$ac_cv_type_wchar_t" = yes; then
25715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25716 See \`config.log' for more details." >&5
25717 echo "$as_me: error: cannot compute sizeof (wchar_t)
25718 See \`config.log' for more details." >&2;}
25719 { (exit 77); exit 77; }; }
25721 ac_cv_sizeof_wchar_t=0
25724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25728 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25729 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25733 cat >>confdefs.h <<_ACEOF
25734 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25738 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25744 { echo "$as_me:$LINENO: checking for va_copy" >&5
25745 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25746 if test "${wx_cv_func_va_copy+set}" = set; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25751 ac_cpp='$CXXCPP $CPPFLAGS'
25752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25756 cat >conftest.$ac_ext <<_ACEOF
25758 #include <stdarg.h>
25759 void foo(char *f, ...)
25773 rm -f conftest.$ac_objext conftest$ac_exeext
25774 if { (ac_try="$ac_link"
25775 case "(($ac_try" in
25776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25777 *) ac_try_echo=$ac_try;;
25779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25780 (eval "$ac_link") 2>conftest.er1
25782 grep -v '^ *+' conftest.er1 >conftest.err
25784 cat conftest.err >&5
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); } && {
25787 test -z "$ac_cxx_werror_flag" ||
25788 test ! -s conftest.err
25789 } && test -s conftest$ac_exeext &&
25790 $as_test_x conftest$ac_exeext; then
25791 wx_cv_func_va_copy=yes
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.$ac_ext >&5
25796 wx_cv_func_va_copy=no
25800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25801 conftest$ac_exeext conftest.$ac_ext
25803 ac_cpp='$CPP $CPPFLAGS'
25804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25811 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25812 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25814 if test $wx_cv_func_va_copy = "yes"; then
25815 cat >>confdefs.h <<\_ACEOF
25816 #define HAVE_VA_COPY 1
25820 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25821 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25822 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25823 echo $ECHO_N "(cached) $ECHO_C" >&6
25826 if test "$cross_compiling" = yes; then
25827 wx_cv_type_va_list_lvalue=yes
25830 cat >conftest.$ac_ext <<_ACEOF
25832 #include <stdarg.h>
25833 int foo(char *f, ...)
25838 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25846 return foo("hi", 17);
25849 rm -f conftest$ac_exeext
25850 if { (ac_try="$ac_link"
25851 case "(($ac_try" in
25852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25853 *) ac_try_echo=$ac_try;;
25855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25856 (eval "$ac_link") 2>&5
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25860 { (case "(($ac_try" in
25861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25862 *) ac_try_echo=$ac_try;;
25864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25865 (eval "$ac_try") 2>&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); }; }; then
25869 wx_cv_type_va_list_lvalue=yes
25871 echo "$as_me: program exited with status $ac_status" >&5
25872 echo "$as_me: failed program was:" >&5
25873 sed 's/^/| /' conftest.$ac_ext >&5
25875 ( exit $ac_status )
25876 wx_cv_type_va_list_lvalue=no
25878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25885 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25886 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25888 if test $wx_cv_type_va_list_lvalue != "yes"; then
25889 cat >>confdefs.h <<\_ACEOF
25890 #define VA_LIST_IS_ARRAY 1
25896 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25898 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25899 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25900 if test "${wx_cv_have_variadic_macros+set}" = set; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25905 ac_cpp='$CXXCPP $CPPFLAGS'
25906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25910 cat >conftest.$ac_ext <<_ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25918 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25924 test("%s %d %p", "test", 1, 0);
25931 rm -f conftest.$ac_objext
25932 if { (ac_try="$ac_compile"
25933 case "(($ac_try" in
25934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25935 *) ac_try_echo=$ac_try;;
25937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25938 (eval "$ac_compile") 2>conftest.er1
25940 grep -v '^ *+' conftest.er1 >conftest.err
25942 cat conftest.err >&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); } && {
25945 test -z "$ac_cxx_werror_flag" ||
25946 test ! -s conftest.err
25947 } && test -s conftest.$ac_objext; then
25948 wx_cv_have_variadic_macros=yes
25950 echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.$ac_ext >&5
25953 wx_cv_have_variadic_macros=no
25957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25959 ac_cpp='$CPP $CPPFLAGS'
25960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25967 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25968 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25970 if test $wx_cv_have_variadic_macros = "yes"; then
25971 cat >>confdefs.h <<\_ACEOF
25972 #define HAVE_VARIADIC_MACROS 1
25978 # Check whether --enable-largefile was given.
25979 if test "${enable_largefile+set}" = set; then
25980 enableval=$enable_largefile;
25983 if test "$enable_largefile" != no; then
25986 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25987 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25988 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25989 echo $ECHO_N "(cached) $ECHO_C" >&6
25992 cat >conftest.$ac_ext <<_ACEOF
25995 cat confdefs.h >>conftest.$ac_ext
25996 cat >>conftest.$ac_ext <<_ACEOF
25997 /* end confdefs.h. */
25998 #define _FILE_OFFSET_BITS 64
25999 #include <sys/types.h>
26004 unsigned int field: sizeof(off_t) == 8;
26011 rm -f conftest.$ac_objext
26012 if { (ac_try="$ac_compile"
26013 case "(($ac_try" in
26014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26015 *) ac_try_echo=$ac_try;;
26017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26018 (eval "$ac_compile") 2>conftest.er1
26020 grep -v '^ *+' conftest.er1 >conftest.err
26022 cat conftest.err >&5
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); } && {
26025 test -z "$ac_c_werror_flag" ||
26026 test ! -s conftest.err
26027 } && test -s conftest.$ac_objext; then
26028 ac_cv_sys_file_offset_bits=64
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.$ac_ext >&5
26033 ac_cv_sys_file_offset_bits=no
26036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26040 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
26041 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
26043 if test "$ac_cv_sys_file_offset_bits" != no; then
26045 cat >>confdefs.h <<_ACEOF
26046 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
26051 if test "x$wx_largefile" != "xyes"; then
26053 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
26054 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
26055 if test "${ac_cv_sys_large_files+set}" = set; then
26056 echo $ECHO_N "(cached) $ECHO_C" >&6
26059 cat >conftest.$ac_ext <<_ACEOF
26062 cat confdefs.h >>conftest.$ac_ext
26063 cat >>conftest.$ac_ext <<_ACEOF
26064 /* end confdefs.h. */
26065 #define _LARGE_FILES 1
26066 #include <sys/types.h>
26071 unsigned int field: sizeof(off_t) == 8;
26078 rm -f conftest.$ac_objext
26079 if { (ac_try="$ac_compile"
26080 case "(($ac_try" in
26081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26082 *) ac_try_echo=$ac_try;;
26084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26085 (eval "$ac_compile") 2>conftest.er1
26087 grep -v '^ *+' conftest.er1 >conftest.err
26089 cat conftest.err >&5
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); } && {
26092 test -z "$ac_c_werror_flag" ||
26093 test ! -s conftest.err
26094 } && test -s conftest.$ac_objext; then
26095 ac_cv_sys_large_files=1
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.$ac_ext >&5
26100 ac_cv_sys_large_files=no
26103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26107 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
26108 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
26110 if test "$ac_cv_sys_large_files" != no; then
26112 cat >>confdefs.h <<_ACEOF
26113 #define _LARGE_FILES $ac_cv_sys_large_files
26120 { echo "$as_me:$LINENO: checking if large file support is available" >&5
26121 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
26122 if test "x$wx_largefile" = "xyes"; then
26123 cat >>confdefs.h <<\_ACEOF
26124 #define HAVE_LARGEFILE_SUPPORT 1
26128 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
26129 echo "${ECHO_T}$wx_largefile" >&6; }
26133 if test "x$wx_largefile" = "xyes"; then
26134 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
26135 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
26137 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
26138 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
26139 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
26140 if test "${wx_cv_STDC_EXT_required+set}" = set; then
26141 echo $ECHO_N "(cached) $ECHO_C" >&6
26145 ac_cpp='$CXXCPP $CPPFLAGS'
26146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26150 cat >conftest.$ac_ext <<_ACEOF
26153 cat confdefs.h >>conftest.$ac_ext
26154 cat >>conftest.$ac_ext <<_ACEOF
26155 /* end confdefs.h. */
26161 #ifndef __STDC_EXT__
26169 rm -f conftest.$ac_objext
26170 if { (ac_try="$ac_compile"
26171 case "(($ac_try" in
26172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26173 *) ac_try_echo=$ac_try;;
26175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26176 (eval "$ac_compile") 2>conftest.er1
26178 grep -v '^ *+' conftest.er1 >conftest.err
26180 cat conftest.err >&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } && {
26183 test -z "$ac_cxx_werror_flag" ||
26184 test ! -s conftest.err
26185 } && test -s conftest.$ac_objext; then
26186 wx_cv_STDC_EXT_required=no
26188 echo "$as_me: failed program was:" >&5
26189 sed 's/^/| /' conftest.$ac_ext >&5
26191 wx_cv_STDC_EXT_required=yes
26195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26197 ac_cpp='$CPP $CPPFLAGS'
26198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26205 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26206 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26207 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26208 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26212 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26214 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26215 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26216 if test "${ac_cv_sys_largefile_source+set}" = set; then
26217 echo $ECHO_N "(cached) $ECHO_C" >&6
26220 cat >conftest.$ac_ext <<_ACEOF
26223 cat confdefs.h >>conftest.$ac_ext
26224 cat >>conftest.$ac_ext <<_ACEOF
26225 /* end confdefs.h. */
26226 #include <sys/types.h> /* for off_t */
26231 int (*fp) (FILE *, off_t, int) = fseeko;
26232 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26237 rm -f conftest.$ac_objext conftest$ac_exeext
26238 if { (ac_try="$ac_link"
26239 case "(($ac_try" in
26240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26241 *) ac_try_echo=$ac_try;;
26243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26244 (eval "$ac_link") 2>conftest.er1
26246 grep -v '^ *+' conftest.er1 >conftest.err
26248 cat conftest.err >&5
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); } && {
26251 test -z "$ac_c_werror_flag" ||
26252 test ! -s conftest.err
26253 } && test -s conftest$ac_exeext &&
26254 $as_test_x conftest$ac_exeext; then
26255 ac_cv_sys_largefile_source=no; break
26257 echo "$as_me: failed program was:" >&5
26258 sed 's/^/| /' conftest.$ac_ext >&5
26263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26264 conftest$ac_exeext conftest.$ac_ext
26265 cat >conftest.$ac_ext <<_ACEOF
26268 cat confdefs.h >>conftest.$ac_ext
26269 cat >>conftest.$ac_ext <<_ACEOF
26270 /* end confdefs.h. */
26271 #define _LARGEFILE_SOURCE 1
26272 #include <sys/types.h> /* for off_t */
26277 int (*fp) (FILE *, off_t, int) = fseeko;
26278 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26283 rm -f conftest.$ac_objext conftest$ac_exeext
26284 if { (ac_try="$ac_link"
26285 case "(($ac_try" in
26286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26287 *) ac_try_echo=$ac_try;;
26289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26290 (eval "$ac_link") 2>conftest.er1
26292 grep -v '^ *+' conftest.er1 >conftest.err
26294 cat conftest.err >&5
26295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26296 (exit $ac_status); } && {
26297 test -z "$ac_c_werror_flag" ||
26298 test ! -s conftest.err
26299 } && test -s conftest$ac_exeext &&
26300 $as_test_x conftest$ac_exeext; then
26301 ac_cv_sys_largefile_source=1; break
26303 echo "$as_me: failed program was:" >&5
26304 sed 's/^/| /' conftest.$ac_ext >&5
26309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26310 conftest$ac_exeext conftest.$ac_ext
26311 ac_cv_sys_largefile_source=unknown
26315 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26316 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26317 case $ac_cv_sys_largefile_source in #(
26320 cat >>confdefs.h <<_ACEOF
26321 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26327 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26328 # in glibc 2.1.3, but that breaks too many other things.
26329 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26330 if test $ac_cv_sys_largefile_source != unknown; then
26332 cat >>confdefs.h <<\_ACEOF
26333 #define HAVE_FSEEKO 1
26338 if test "$ac_cv_sys_largefile_source" != no; then
26339 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26343 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26344 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26345 if test "${ac_cv_c_bigendian+set}" = set; then
26346 echo $ECHO_N "(cached) $ECHO_C" >&6
26348 ac_cv_c_bigendian=unknown
26349 # See if sys/param.h defines the BYTE_ORDER macro.
26350 cat >conftest.$ac_ext <<_ACEOF
26353 cat confdefs.h >>conftest.$ac_ext
26354 cat >>conftest.$ac_ext <<_ACEOF
26355 /* end confdefs.h. */
26356 #include <sys/types.h>
26357 #include <sys/param.h>
26362 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26363 bogus endian macros
26369 rm -f conftest.$ac_objext
26370 if { (ac_try="$ac_compile"
26371 case "(($ac_try" in
26372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26373 *) ac_try_echo=$ac_try;;
26375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26376 (eval "$ac_compile") 2>conftest.er1
26378 grep -v '^ *+' conftest.er1 >conftest.err
26380 cat conftest.err >&5
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); } && {
26383 test -z "$ac_c_werror_flag" ||
26384 test ! -s conftest.err
26385 } && test -s conftest.$ac_objext; then
26386 # It does; now see whether it defined to BIG_ENDIAN or not.
26387 cat >conftest.$ac_ext <<_ACEOF
26390 cat confdefs.h >>conftest.$ac_ext
26391 cat >>conftest.$ac_ext <<_ACEOF
26392 /* end confdefs.h. */
26393 #include <sys/types.h>
26394 #include <sys/param.h>
26399 #if BYTE_ORDER != BIG_ENDIAN
26406 rm -f conftest.$ac_objext
26407 if { (ac_try="$ac_compile"
26408 case "(($ac_try" in
26409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26410 *) ac_try_echo=$ac_try;;
26412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26413 (eval "$ac_compile") 2>conftest.er1
26415 grep -v '^ *+' conftest.er1 >conftest.err
26417 cat conftest.err >&5
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); } && {
26420 test -z "$ac_c_werror_flag" ||
26421 test ! -s conftest.err
26422 } && test -s conftest.$ac_objext; then
26423 ac_cv_c_bigendian=yes
26425 echo "$as_me: failed program was:" >&5
26426 sed 's/^/| /' conftest.$ac_ext >&5
26428 ac_cv_c_bigendian=no
26431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.$ac_ext >&5
26439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26440 if test $ac_cv_c_bigendian = unknown; then
26441 if test "$cross_compiling" = yes; then
26442 ac_cv_c_bigendian=unknown
26444 cat >conftest.$ac_ext <<_ACEOF
26447 cat confdefs.h >>conftest.$ac_ext
26448 cat >>conftest.$ac_ext <<_ACEOF
26449 /* end confdefs.h. */
26451 /* Are we little or big endian? From Harbison&Steele. */
26455 char c[sizeof (long)];
26458 exit (u.c[sizeof (long) - 1] == 1);
26461 rm -f conftest$ac_exeext
26462 if { (ac_try="$ac_link"
26463 case "(($ac_try" in
26464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26465 *) ac_try_echo=$ac_try;;
26467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26468 (eval "$ac_link") 2>&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26472 { (case "(($ac_try" in
26473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26474 *) ac_try_echo=$ac_try;;
26476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26477 (eval "$ac_try") 2>&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; }; then
26481 ac_cv_c_bigendian=no
26483 echo "$as_me: program exited with status $ac_status" >&5
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.$ac_ext >&5
26487 ( exit $ac_status )
26488 ac_cv_c_bigendian=yes
26490 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26496 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26497 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26498 if test $ac_cv_c_bigendian = unknown; then
26499 { 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
26500 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;}
26502 if test $ac_cv_c_bigendian = yes; then
26503 cat >>confdefs.h <<\_ACEOF
26504 #define WORDS_BIGENDIAN 1
26513 ac_cpp='$CXXCPP $CPPFLAGS'
26514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26520 for ac_header in iostream
26522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26523 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26526 echo $ECHO_N "(cached) $ECHO_C" >&6
26528 cat >conftest.$ac_ext <<_ACEOF
26531 cat confdefs.h >>conftest.$ac_ext
26532 cat >>conftest.$ac_ext <<_ACEOF
26533 /* end confdefs.h. */
26536 #include <$ac_header>
26538 rm -f conftest.$ac_objext
26539 if { (ac_try="$ac_compile"
26540 case "(($ac_try" in
26541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26542 *) ac_try_echo=$ac_try;;
26544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26545 (eval "$ac_compile") 2>conftest.er1
26547 grep -v '^ *+' conftest.er1 >conftest.err
26549 cat conftest.err >&5
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); } && {
26552 test -z "$ac_cxx_werror_flag" ||
26553 test ! -s conftest.err
26554 } && test -s conftest.$ac_objext; then
26555 eval "$as_ac_Header=yes"
26557 echo "$as_me: failed program was:" >&5
26558 sed 's/^/| /' conftest.$ac_ext >&5
26560 eval "$as_ac_Header=no"
26563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26565 ac_res=`eval echo '${'$as_ac_Header'}'`
26566 { echo "$as_me:$LINENO: result: $ac_res" >&5
26567 echo "${ECHO_T}$ac_res" >&6; }
26568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26569 cat >>confdefs.h <<_ACEOF
26570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26578 if test "$ac_cv_header_iostream" = "yes" ; then
26581 cat >>confdefs.h <<\_ACEOF
26582 #define wxUSE_IOSTREAMH 1
26588 ac_cpp='$CPP $CPPFLAGS'
26589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26596 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26597 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26598 if test "${wx_cv_cpp_bool+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26604 ac_cpp='$CXXCPP $CPPFLAGS'
26605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26610 cat >conftest.$ac_ext <<_ACEOF
26613 cat confdefs.h >>conftest.$ac_ext
26614 cat >>conftest.$ac_ext <<_ACEOF
26615 /* end confdefs.h. */
26630 rm -f conftest.$ac_objext
26631 if { (ac_try="$ac_compile"
26632 case "(($ac_try" in
26633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26634 *) ac_try_echo=$ac_try;;
26636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26637 (eval "$ac_compile") 2>conftest.er1
26639 grep -v '^ *+' conftest.er1 >conftest.err
26641 cat conftest.err >&5
26642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26643 (exit $ac_status); } && {
26644 test -z "$ac_cxx_werror_flag" ||
26645 test ! -s conftest.err
26646 } && test -s conftest.$ac_objext; then
26651 echo "$as_me: failed program was:" >&5
26652 sed 's/^/| /' conftest.$ac_ext >&5
26660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26663 ac_cpp='$CPP $CPPFLAGS'
26664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26670 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26671 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26673 if test "$wx_cv_cpp_bool" = "yes"; then
26674 cat >>confdefs.h <<\_ACEOF
26675 #define HAVE_BOOL 1
26682 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26683 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26684 if test "${wx_cv_explicit+set}" = set; then
26685 echo $ECHO_N "(cached) $ECHO_C" >&6
26690 ac_cpp='$CXXCPP $CPPFLAGS'
26691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26696 cat >conftest.$ac_ext <<_ACEOF
26699 cat confdefs.h >>conftest.$ac_ext
26700 cat >>conftest.$ac_ext <<_ACEOF
26701 /* end confdefs.h. */
26703 class Foo { public: explicit Foo(int) {} };
26715 rm -f conftest.$ac_objext
26716 if { (ac_try="$ac_compile"
26717 case "(($ac_try" in
26718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26719 *) ac_try_echo=$ac_try;;
26721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26722 (eval "$ac_compile") 2>conftest.er1
26724 grep -v '^ *+' conftest.er1 >conftest.err
26726 cat conftest.err >&5
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); } && {
26729 test -z "$ac_cxx_werror_flag" ||
26730 test ! -s conftest.err
26731 } && test -s conftest.$ac_objext; then
26733 cat >conftest.$ac_ext <<_ACEOF
26736 cat confdefs.h >>conftest.$ac_ext
26737 cat >>conftest.$ac_ext <<_ACEOF
26738 /* end confdefs.h. */
26740 class Foo { public: explicit Foo(int) {} };
26741 static void TakeFoo(const Foo& foo) { }
26754 rm -f conftest.$ac_objext
26755 if { (ac_try="$ac_compile"
26756 case "(($ac_try" in
26757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26758 *) ac_try_echo=$ac_try;;
26760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26761 (eval "$ac_compile") 2>conftest.er1
26763 grep -v '^ *+' conftest.er1 >conftest.err
26765 cat conftest.err >&5
26766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767 (exit $ac_status); } && {
26768 test -z "$ac_cxx_werror_flag" ||
26769 test ! -s conftest.err
26770 } && test -s conftest.$ac_objext; then
26773 echo "$as_me: failed program was:" >&5
26774 sed 's/^/| /' conftest.$ac_ext >&5
26780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26783 echo "$as_me: failed program was:" >&5
26784 sed 's/^/| /' conftest.$ac_ext >&5
26790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26793 ac_cpp='$CPP $CPPFLAGS'
26794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26800 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26801 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26803 if test "$wx_cv_explicit" = "yes"; then
26804 cat >>confdefs.h <<\_ACEOF
26805 #define HAVE_EXPLICIT 1
26811 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26812 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26813 if test "${ac_cv_cxx_const_cast+set}" = set; then
26814 echo $ECHO_N "(cached) $ECHO_C" >&6
26818 ac_cpp='$CXXCPP $CPPFLAGS'
26819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26823 cat >conftest.$ac_ext <<_ACEOF
26826 cat confdefs.h >>conftest.$ac_ext
26827 cat >>conftest.$ac_ext <<_ACEOF
26828 /* end confdefs.h. */
26833 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26838 rm -f conftest.$ac_objext
26839 if { (ac_try="$ac_compile"
26840 case "(($ac_try" in
26841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26842 *) ac_try_echo=$ac_try;;
26844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26845 (eval "$ac_compile") 2>conftest.er1
26847 grep -v '^ *+' conftest.er1 >conftest.err
26849 cat conftest.err >&5
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); } && {
26852 test -z "$ac_cxx_werror_flag" ||
26853 test ! -s conftest.err
26854 } && test -s conftest.$ac_objext; then
26855 ac_cv_cxx_const_cast=yes
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.$ac_ext >&5
26860 ac_cv_cxx_const_cast=no
26863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26865 ac_cpp='$CPP $CPPFLAGS'
26866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26872 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26873 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26874 if test "$ac_cv_cxx_const_cast" = yes; then
26876 cat >>confdefs.h <<\_ACEOF
26877 #define HAVE_CONST_CAST
26882 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26883 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26884 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26885 echo $ECHO_N "(cached) $ECHO_C" >&6
26889 ac_cpp='$CXXCPP $CPPFLAGS'
26890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26894 cat >conftest.$ac_ext <<_ACEOF
26897 cat confdefs.h >>conftest.$ac_ext
26898 cat >>conftest.$ac_ext <<_ACEOF
26899 /* end confdefs.h. */
26900 #include <typeinfo>
26901 class Base { public : Base () {} virtual void f () = 0;};
26902 class Derived : public Base { public : Derived () {} virtual void f () {} };
26903 class Unrelated { public : Unrelated () {} };
26904 int g (Unrelated&) { return 0; }
26909 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26914 rm -f conftest.$ac_objext
26915 if { (ac_try="$ac_compile"
26916 case "(($ac_try" in
26917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26918 *) ac_try_echo=$ac_try;;
26920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26921 (eval "$ac_compile") 2>conftest.er1
26923 grep -v '^ *+' conftest.er1 >conftest.err
26925 cat conftest.err >&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } && {
26928 test -z "$ac_cxx_werror_flag" ||
26929 test ! -s conftest.err
26930 } && test -s conftest.$ac_objext; then
26931 ac_cv_cxx_reinterpret_cast=yes
26933 echo "$as_me: failed program was:" >&5
26934 sed 's/^/| /' conftest.$ac_ext >&5
26936 ac_cv_cxx_reinterpret_cast=no
26939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26941 ac_cpp='$CPP $CPPFLAGS'
26942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26948 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26949 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26950 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26952 cat >>confdefs.h <<\_ACEOF
26953 #define HAVE_REINTERPRET_CAST
26958 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26959 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26960 if test "${ac_cv_cxx_static_cast+set}" = set; then
26961 echo $ECHO_N "(cached) $ECHO_C" >&6
26965 ac_cpp='$CXXCPP $CPPFLAGS'
26966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26970 cat >conftest.$ac_ext <<_ACEOF
26973 cat confdefs.h >>conftest.$ac_ext
26974 cat >>conftest.$ac_ext <<_ACEOF
26975 /* end confdefs.h. */
26976 #include <typeinfo>
26977 class Base { public : Base () {} virtual void f () = 0; };
26978 class Derived : public Base { public : Derived () {} virtual void f () {} };
26979 int g (Derived&) { return 0; }
26984 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26989 rm -f conftest.$ac_objext
26990 if { (ac_try="$ac_compile"
26991 case "(($ac_try" in
26992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26993 *) ac_try_echo=$ac_try;;
26995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26996 (eval "$ac_compile") 2>conftest.er1
26998 grep -v '^ *+' conftest.er1 >conftest.err
27000 cat conftest.err >&5
27001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002 (exit $ac_status); } && {
27003 test -z "$ac_cxx_werror_flag" ||
27004 test ! -s conftest.err
27005 } && test -s conftest.$ac_objext; then
27006 ac_cv_cxx_static_cast=yes
27008 echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27011 ac_cv_cxx_static_cast=no
27014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27016 ac_cpp='$CPP $CPPFLAGS'
27017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27023 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
27024 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
27025 if test "$ac_cv_cxx_static_cast" = yes; then
27027 cat >>confdefs.h <<\_ACEOF
27028 #define HAVE_STATIC_CAST
27034 if test "x$SUNCXX" = xyes; then
27035 CXXFLAGS="-features=tmplife $CXXFLAGS"
27038 if test "x$SUNCC" = xyes; then
27039 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
27042 if test "x$SGICC" = "xyes"; then
27043 CFLAGS="-woff 3970 $CFLAGS"
27045 if test "x$SGICXX" = "xyes"; then
27046 CXXFLAGS="-woff 3970 $CXXFLAGS"
27049 if test "x$HPCC" = "xyes"; then
27050 CFLAGS="+W 2011,2450 $CFLAGS"
27052 if test "x$HPCXX" = "xyes"; then
27053 CXXFLAGS="+W 2340 $CXXFLAGS"
27056 if test "x$COMPAQCXX" = "xyes"; then
27057 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
27061 ac_cpp='$CXXCPP $CPPFLAGS'
27062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27067 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
27068 if test "$wxUSE_UNICODE" = "yes"; then
27069 std_string="std::wstring"
27070 char_type="wchar_t"
27072 std_string="std::string"
27076 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
27077 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
27078 if test "${wx_cv_class_stdstring+set}" = set; then
27079 echo $ECHO_N "(cached) $ECHO_C" >&6
27082 cat >conftest.$ac_ext <<_ACEOF
27085 cat confdefs.h >>conftest.$ac_ext
27086 cat >>conftest.$ac_ext <<_ACEOF
27087 /* end confdefs.h. */
27097 rm -f conftest.$ac_objext
27098 if { (ac_try="$ac_compile"
27099 case "(($ac_try" in
27100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27101 *) ac_try_echo=$ac_try;;
27103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27104 (eval "$ac_compile") 2>conftest.er1
27106 grep -v '^ *+' conftest.er1 >conftest.err
27108 cat conftest.err >&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); } && {
27111 test -z "$ac_cxx_werror_flag" ||
27112 test ! -s conftest.err
27113 } && test -s conftest.$ac_objext; then
27114 wx_cv_class_stdstring=yes
27116 echo "$as_me: failed program was:" >&5
27117 sed 's/^/| /' conftest.$ac_ext >&5
27119 wx_cv_class_stdstring=no
27123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27127 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
27128 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
27130 if test "$wx_cv_class_stdstring" = yes; then
27131 if test "$wxUSE_UNICODE" = "yes"; then
27132 cat >>confdefs.h <<\_ACEOF
27133 #define HAVE_STD_WSTRING 1
27138 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
27139 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
27140 if test "${wx_cv_class_stdbasicstring+set}" = set; then
27141 echo $ECHO_N "(cached) $ECHO_C" >&6
27144 cat >conftest.$ac_ext <<_ACEOF
27147 cat confdefs.h >>conftest.$ac_ext
27148 cat >>conftest.$ac_ext <<_ACEOF
27149 /* end confdefs.h. */
27151 #ifdef HAVE_WCHAR_H
27153 # include <stddef.h>
27155 # include <wchar.h>
27157 #ifdef HAVE_STDLIB_H
27158 # include <stdlib.h>
27166 std::basic_string<$char_type> foo;
27167 const $char_type* dummy = foo.c_str();
27172 rm -f conftest.$ac_objext
27173 if { (ac_try="$ac_compile"
27174 case "(($ac_try" in
27175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27176 *) ac_try_echo=$ac_try;;
27178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27179 (eval "$ac_compile") 2>conftest.er1
27181 grep -v '^ *+' conftest.er1 >conftest.err
27183 cat conftest.err >&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); } && {
27186 test -z "$ac_cxx_werror_flag" ||
27187 test ! -s conftest.err
27188 } && test -s conftest.$ac_objext; then
27189 wx_cv_class_stdbasicstring=yes
27191 echo "$as_me: failed program was:" >&5
27192 sed 's/^/| /' conftest.$ac_ext >&5
27194 wx_cv_class_stdbasicstring=no
27198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27202 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27203 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27205 if test "$wx_cv_class_stdbasicstring" != yes; then
27206 if test "$wxUSE_STL" = "yes"; then
27207 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27208 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27209 { (exit 1); exit 1; }; }
27210 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27211 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27212 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27213 { (exit 1); exit 1; }; }
27215 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27216 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27217 wxUSE_STD_STRING=no
27223 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27224 { echo "$as_me:$LINENO: checking for std::istream" >&5
27225 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27226 if test "${ac_cv_type_std__istream+set}" = set; then
27227 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 cat >conftest.$ac_ext <<_ACEOF
27232 cat confdefs.h >>conftest.$ac_ext
27233 cat >>conftest.$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27235 #include <iostream>
27237 typedef std::istream ac__type_new_;
27241 if ((ac__type_new_ *) 0)
27243 if (sizeof (ac__type_new_))
27249 rm -f conftest.$ac_objext
27250 if { (ac_try="$ac_compile"
27251 case "(($ac_try" in
27252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27253 *) ac_try_echo=$ac_try;;
27255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27256 (eval "$ac_compile") 2>conftest.er1
27258 grep -v '^ *+' conftest.er1 >conftest.err
27260 cat conftest.err >&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); } && {
27263 test -z "$ac_cxx_werror_flag" ||
27264 test ! -s conftest.err
27265 } && test -s conftest.$ac_objext; then
27266 ac_cv_type_std__istream=yes
27268 echo "$as_me: failed program was:" >&5
27269 sed 's/^/| /' conftest.$ac_ext >&5
27271 ac_cv_type_std__istream=no
27274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27276 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27277 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27278 if test $ac_cv_type_std__istream = yes; then
27280 cat >>confdefs.h <<_ACEOF
27281 #define HAVE_STD__ISTREAM 1
27286 wxUSE_STD_IOSTREAM=no
27288 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27289 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27290 if test "${ac_cv_type_std__ostream+set}" = set; then
27291 echo $ECHO_N "(cached) $ECHO_C" >&6
27293 cat >conftest.$ac_ext <<_ACEOF
27296 cat confdefs.h >>conftest.$ac_ext
27297 cat >>conftest.$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27299 #include <iostream>
27301 typedef std::ostream ac__type_new_;
27305 if ((ac__type_new_ *) 0)
27307 if (sizeof (ac__type_new_))
27313 rm -f conftest.$ac_objext
27314 if { (ac_try="$ac_compile"
27315 case "(($ac_try" in
27316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27317 *) ac_try_echo=$ac_try;;
27319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27320 (eval "$ac_compile") 2>conftest.er1
27322 grep -v '^ *+' conftest.er1 >conftest.err
27324 cat conftest.err >&5
27325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27326 (exit $ac_status); } && {
27327 test -z "$ac_cxx_werror_flag" ||
27328 test ! -s conftest.err
27329 } && test -s conftest.$ac_objext; then
27330 ac_cv_type_std__ostream=yes
27332 echo "$as_me: failed program was:" >&5
27333 sed 's/^/| /' conftest.$ac_ext >&5
27335 ac_cv_type_std__ostream=no
27338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27340 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27341 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27342 if test $ac_cv_type_std__ostream = yes; then
27344 cat >>confdefs.h <<_ACEOF
27345 #define HAVE_STD__OSTREAM 1
27350 wxUSE_STD_IOSTREAM=no
27354 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27355 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27356 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27357 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27358 { (exit 1); exit 1; }; }
27360 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27361 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27366 if test "$wxUSE_STL" = "yes"; then
27367 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27368 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27369 if test "${wx_cv_lib_stl+set}" = set; then
27370 echo $ECHO_N "(cached) $ECHO_C" >&6
27372 cat >conftest.$ac_ext <<_ACEOF
27375 cat confdefs.h >>conftest.$ac_ext
27376 cat >>conftest.$ac_ext <<_ACEOF
27377 /* end confdefs.h. */
27379 #include <functional>
27380 #include <algorithm>
27386 std::vector<int> moo;
27387 std::list<int> foo;
27388 std::vector<int>::iterator it =
27389 std::find_if(moo.begin(), moo.end(),
27390 std::bind2nd(std::less<int>(), 3));
27395 rm -f conftest.$ac_objext
27396 if { (ac_try="$ac_compile"
27397 case "(($ac_try" in
27398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27399 *) ac_try_echo=$ac_try;;
27401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27402 (eval "$ac_compile") 2>conftest.er1
27404 grep -v '^ *+' conftest.er1 >conftest.err
27406 cat conftest.err >&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); } && {
27409 test -z "$ac_cxx_werror_flag" ||
27410 test ! -s conftest.err
27411 } && test -s conftest.$ac_objext; then
27414 echo "$as_me: failed program was:" >&5
27415 sed 's/^/| /' conftest.$ac_ext >&5
27421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27424 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27425 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27427 if test "$wx_cv_lib_stl" != yes; then
27428 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27429 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27430 { (exit 1); exit 1; }; }
27433 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27434 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27435 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27436 echo $ECHO_N "(cached) $ECHO_C" >&6
27438 cat >conftest.$ac_ext <<_ACEOF
27441 cat confdefs.h >>conftest.$ac_ext
27442 cat >>conftest.$ac_ext <<_ACEOF
27443 /* end confdefs.h. */
27448 std::string foo, bar;
27450 foo.compare(1, 1, bar);
27451 foo.compare(1, 1, bar, 1, 1);
27453 foo.compare(1, 1, "");
27454 foo.compare(1, 1, "", 2);
27459 rm -f conftest.$ac_objext
27460 if { (ac_try="$ac_compile"
27461 case "(($ac_try" in
27462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27463 *) ac_try_echo=$ac_try;;
27465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27466 (eval "$ac_compile") 2>conftest.er1
27468 grep -v '^ *+' conftest.er1 >conftest.err
27470 cat conftest.err >&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); } && {
27473 test -z "$ac_cxx_werror_flag" ||
27474 test ! -s conftest.err
27475 } && test -s conftest.$ac_objext; then
27476 wx_cv_func_stdstring_compare=yes
27478 echo "$as_me: failed program was:" >&5
27479 sed 's/^/| /' conftest.$ac_ext >&5
27481 wx_cv_func_stdstring_compare=no
27485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27488 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27489 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27491 if test "$wx_cv_func_stdstring_compare" = yes; then
27492 cat >>confdefs.h <<\_ACEOF
27493 #define HAVE_STD_STRING_COMPARE 1
27498 { echo "$as_me:$LINENO: checking for hash_map" >&5
27499 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27500 if test "${ac_cv_header_hash_map+set}" = set; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 cat >conftest.$ac_ext <<_ACEOF
27506 cat confdefs.h >>conftest.$ac_ext
27507 cat >>conftest.$ac_ext <<_ACEOF
27508 /* end confdefs.h. */
27512 #include <hash_map>
27514 rm -f conftest.$ac_objext
27515 if { (ac_try="$ac_compile"
27516 case "(($ac_try" in
27517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27518 *) ac_try_echo=$ac_try;;
27520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27521 (eval "$ac_compile") 2>conftest.er1
27523 grep -v '^ *+' conftest.er1 >conftest.err
27525 cat conftest.err >&5
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); } && {
27528 test -z "$ac_cxx_werror_flag" ||
27529 test ! -s conftest.err
27530 } && test -s conftest.$ac_objext; then
27531 ac_cv_header_hash_map=yes
27533 echo "$as_me: failed program was:" >&5
27534 sed 's/^/| /' conftest.$ac_ext >&5
27536 ac_cv_header_hash_map=no
27539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27541 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27542 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27543 if test $ac_cv_header_hash_map = yes; then
27544 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27545 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27546 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27547 echo $ECHO_N "(cached) $ECHO_C" >&6
27549 cat >conftest.$ac_ext <<_ACEOF
27552 cat confdefs.h >>conftest.$ac_ext
27553 cat >>conftest.$ac_ext <<_ACEOF
27554 /* end confdefs.h. */
27555 #include <hash_map>
27556 #include <hash_set>
27560 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27561 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27566 rm -f conftest.$ac_objext
27567 if { (ac_try="$ac_compile"
27568 case "(($ac_try" in
27569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27570 *) ac_try_echo=$ac_try;;
27572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27573 (eval "$ac_compile") 2>conftest.er1
27575 grep -v '^ *+' conftest.er1 >conftest.err
27577 cat conftest.err >&5
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); } && {
27580 test -z "$ac_cxx_werror_flag" ||
27581 test ! -s conftest.err
27582 } && test -s conftest.$ac_objext; then
27583 wx_cv_class_stdhashmapset=yes
27585 echo "$as_me: failed program was:" >&5
27586 sed 's/^/| /' conftest.$ac_ext >&5
27588 wx_cv_class_stdhashmapset=no
27591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27595 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27596 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27601 if test "$wx_cv_class_stdhashmapset" = yes; then
27602 cat >>confdefs.h <<\_ACEOF
27603 #define HAVE_HASH_MAP 1
27606 cat >>confdefs.h <<\_ACEOF
27607 #define HAVE_STD_HASH_MAP 1
27612 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27613 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27614 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27617 cat >conftest.$ac_ext <<_ACEOF
27620 cat confdefs.h >>conftest.$ac_ext
27621 cat >>conftest.$ac_ext <<_ACEOF
27622 /* end confdefs.h. */
27626 #include <ext/hash_map>
27628 rm -f conftest.$ac_objext
27629 if { (ac_try="$ac_compile"
27630 case "(($ac_try" in
27631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27632 *) ac_try_echo=$ac_try;;
27634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27635 (eval "$ac_compile") 2>conftest.er1
27637 grep -v '^ *+' conftest.er1 >conftest.err
27639 cat conftest.err >&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); } && {
27642 test -z "$ac_cxx_werror_flag" ||
27643 test ! -s conftest.err
27644 } && test -s conftest.$ac_objext; then
27645 ac_cv_header_ext_hash_map=yes
27647 echo "$as_me: failed program was:" >&5
27648 sed 's/^/| /' conftest.$ac_ext >&5
27650 ac_cv_header_ext_hash_map=no
27653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27655 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27656 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27657 if test $ac_cv_header_ext_hash_map = yes; then
27658 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27659 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27660 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27661 echo $ECHO_N "(cached) $ECHO_C" >&6
27663 cat >conftest.$ac_ext <<_ACEOF
27666 cat confdefs.h >>conftest.$ac_ext
27667 cat >>conftest.$ac_ext <<_ACEOF
27668 /* end confdefs.h. */
27669 #include <ext/hash_map>
27670 #include <ext/hash_set>
27674 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27675 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27680 rm -f conftest.$ac_objext
27681 if { (ac_try="$ac_compile"
27682 case "(($ac_try" in
27683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27684 *) ac_try_echo=$ac_try;;
27686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27687 (eval "$ac_compile") 2>conftest.er1
27689 grep -v '^ *+' conftest.er1 >conftest.err
27691 cat conftest.err >&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); } && {
27694 test -z "$ac_cxx_werror_flag" ||
27695 test ! -s conftest.err
27696 } && test -s conftest.$ac_objext; then
27697 wx_cv_class_gnuhashmapset=yes
27699 echo "$as_me: failed program was:" >&5
27700 sed 's/^/| /' conftest.$ac_ext >&5
27702 wx_cv_class_gnuhashmapset=no
27705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27709 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27710 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27715 if test "$wx_cv_class_gnuhashmapset" = yes; then
27716 cat >>confdefs.h <<\_ACEOF
27717 #define HAVE_EXT_HASH_MAP 1
27720 cat >>confdefs.h <<\_ACEOF
27721 #define HAVE_GNU_CXX_HASH_MAP 1
27728 ac_cpp='$CPP $CPPFLAGS'
27729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27736 /usr/local/include \
27738 /usr/Motif-2.1/include \
27739 /usr/Motif-1.2/include \
27740 /usr/include/Motif1.2 \
27743 /usr/openwin/include \
27747 /usr/X11R6/include \
27748 /usr/X11R6.4/include \
27749 /usr/X11R5/include \
27750 /usr/X11R4/include \
27752 /usr/include/X11R6 \
27753 /usr/include/X11R5 \
27754 /usr/include/X11R4 \
27756 /usr/local/X11R6/include \
27757 /usr/local/X11R5/include \
27758 /usr/local/X11R4/include \
27760 /usr/local/include/X11R6 \
27761 /usr/local/include/X11R5 \
27762 /usr/local/include/X11R4 \
27766 /usr/local/X11/include \
27767 /usr/local/include/X11 \
27769 /usr/XFree86/include/X11 \
27772 /usr/openwin/share/include"
27774 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27775 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27779 if test "${wx_cv_std_libpath+set}" = set; then
27780 echo $ECHO_N "(cached) $ECHO_C" >&6
27783 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27784 for e in a so sl dylib dll.a; do
27786 if test -f $libc; then
27789 cat >conftest.$ac_ext <<_ACEOF
27790 int main() { return 0; }
27792 rm -f conftest.$ac_objext conftest$ac_exeext
27793 if { (ac_try="$ac_link"
27794 case "(($ac_try" in
27795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27796 *) ac_try_echo=$ac_try;;
27798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27799 (eval "$ac_link") 2>conftest.er1
27801 grep -v '^ *+' conftest.er1 >conftest.err
27803 cat conftest.err >&5
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); } && {
27806 test -z "$ac_c_werror_flag" ||
27807 test ! -s conftest.err
27808 } && test -s conftest$ac_exeext &&
27809 $as_test_x conftest$ac_exeext; then
27810 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27812 echo "$as_me: failed program was:" >&5
27813 sed 's/^/| /' conftest.$ac_ext >&5
27818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27819 conftest$ac_exeext conftest.$ac_ext
27821 if test "x$wx_cv_std_libpath" != "x"; then
27827 if test "x$wx_cv_std_libpath" = "x"; then
27828 wx_cv_std_libpath="lib"
27837 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27838 wx_cv_std_libpath="lib/64"
27840 wx_cv_std_libpath="lib"
27845 if test "$ac_cv_sizeof_void_p" = 8 -a \
27846 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27847 wx_cv_std_libpath="lib64"
27849 wx_cv_std_libpath="lib"
27854 wx_cv_std_libpath="lib";
27858 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27859 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27861 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27863 if test "$build" != "$host" -a "$GCC" = yes; then
27864 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27865 cross_root=`dirname $cross_root`
27866 cross_root=`dirname $cross_root`
27868 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27869 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27870 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27872 if test -z "$PKG_CONFIG_PATH"; then
27873 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27874 export PKG_CONFIG_PATH
27877 if test -z "$x_includes" -o "$x_includes" = NONE; then
27880 for ac_dir in $SEARCH_INCLUDE /usr/include;
27882 if test -f "$ac_dir/X11/Intrinsic.h"; then
27883 ac_find_includes=$ac_dir
27888 x_includes=$ac_find_includes
27890 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27893 for ac_dir in $SEARCH_LIB;
27895 for ac_extension in a so sl dylib dll.a; do
27896 if test -f "$ac_dir/libXt.$ac_extension"; then
27897 ac_find_libraries=$ac_dir
27903 x_libraries=$ac_find_libraries
27909 cat >confcache <<\_ACEOF
27910 # This file is a shell script that caches the results of configure
27911 # tests run on this system so they can be shared between configure
27912 # scripts and configure runs, see configure's option --config-cache.
27913 # It is not useful on other systems. If it contains results you don't
27914 # want to keep, you may remove or edit it.
27916 # config.status only pays attention to the cache file if you give it
27917 # the --recheck option to rerun configure.
27919 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27920 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27921 # following values.
27925 # The following way of writing the cache mishandles newlines in values,
27926 # but we know of no workaround that is simple, portable, and efficient.
27927 # So, we kill variables containing newlines.
27928 # Ultrix sh set writes to stderr and can't be redirected directly,
27929 # and sets the high bit in the cache file unless we assign to the vars.
27931 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27932 eval ac_val=\$$ac_var
27936 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27937 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27940 _ | IFS | as_nl) ;; #(
27941 *) $as_unset $ac_var ;;
27947 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27948 *${as_nl}ac_space=\ *)
27949 # `set' does not quote correctly, so add quotes (double-quote
27950 # substitution turns \\\\ into \\, and sed turns \\ into \).
27953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27956 # `set' quotes correctly as required by POSIX, so do not add quotes.
27957 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27966 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27968 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27970 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27971 if test -w "$cache_file"; then
27972 test "x$cache_file" != "x/dev/null" &&
27973 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27974 echo "$as_me: updating cache $cache_file" >&6;}
27975 cat confcache >$cache_file
27977 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27978 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27983 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27984 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27985 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27986 if test "${wx_cv_lib_glibc21+set}" = set; then
27987 echo $ECHO_N "(cached) $ECHO_C" >&6
27990 cat >conftest.$ac_ext <<_ACEOF
27993 cat confdefs.h >>conftest.$ac_ext
27994 cat >>conftest.$ac_ext <<_ACEOF
27995 /* end confdefs.h. */
27996 #include <features.h>
28001 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
28009 rm -f conftest.$ac_objext
28010 if { (ac_try="$ac_compile"
28011 case "(($ac_try" in
28012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28013 *) ac_try_echo=$ac_try;;
28015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28016 (eval "$ac_compile") 2>conftest.er1
28018 grep -v '^ *+' conftest.er1 >conftest.err
28020 cat conftest.err >&5
28021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28022 (exit $ac_status); } && {
28023 test -z "$ac_c_werror_flag" ||
28024 test ! -s conftest.err
28025 } && test -s conftest.$ac_objext; then
28027 wx_cv_lib_glibc21=yes
28030 echo "$as_me: failed program was:" >&5
28031 sed 's/^/| /' conftest.$ac_ext >&5
28034 wx_cv_lib_glibc21=no
28039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28042 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
28043 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
28044 if test "$wx_cv_lib_glibc21" = "yes"; then
28045 cat >>confdefs.h <<\_ACEOF
28046 #define wxHAVE_GLIBC2 1
28052 if test "x$wx_cv_lib_glibc21" = "xyes"; then
28053 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
28054 cat >>confdefs.h <<\_ACEOF
28055 #define _GNU_SOURCE 1
28066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28067 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28069 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28070 echo $ECHO_N "(cached) $ECHO_C" >&6
28072 cat >conftest.$ac_ext <<_ACEOF
28075 cat confdefs.h >>conftest.$ac_ext
28076 cat >>conftest.$ac_ext <<_ACEOF
28077 /* end confdefs.h. */
28078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28080 #define $ac_func innocuous_$ac_func
28082 /* System header to define __stub macros and hopefully few prototypes,
28083 which can conflict with char $ac_func (); below.
28084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28085 <limits.h> exists even on freestanding compilers. */
28088 # include <limits.h>
28090 # include <assert.h>
28095 /* Override any GCC internal prototype to avoid an error.
28096 Use char because int might match the return type of a GCC
28097 builtin and then its argument prototype would still apply. */
28102 /* The GNU C library defines this for functions which it implements
28103 to always fail with ENOSYS. Some functions are actually named
28104 something starting with __ and the normal name is an alias. */
28105 #if defined __stub_$ac_func || defined __stub___$ac_func
28112 return $ac_func ();
28117 rm -f conftest.$ac_objext conftest$ac_exeext
28118 if { (ac_try="$ac_link"
28119 case "(($ac_try" in
28120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28121 *) ac_try_echo=$ac_try;;
28123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28124 (eval "$ac_link") 2>conftest.er1
28126 grep -v '^ *+' conftest.er1 >conftest.err
28128 cat conftest.err >&5
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); } && {
28131 test -z "$ac_c_werror_flag" ||
28132 test ! -s conftest.err
28133 } && test -s conftest$ac_exeext &&
28134 $as_test_x conftest$ac_exeext; then
28135 eval "$as_ac_var=yes"
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28140 eval "$as_ac_var=no"
28143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28144 conftest$ac_exeext conftest.$ac_ext
28146 ac_res=`eval echo '${'$as_ac_var'}'`
28147 { echo "$as_me:$LINENO: result: $ac_res" >&5
28148 echo "${ECHO_T}$ac_res" >&6; }
28149 if test `eval echo '${'$as_ac_var'}'` = yes; then
28150 cat >>confdefs.h <<_ACEOF
28151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28158 for ac_func in floor
28160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28164 echo $ECHO_N "(cached) $ECHO_C" >&6
28166 cat >conftest.$ac_ext <<_ACEOF
28169 cat confdefs.h >>conftest.$ac_ext
28170 cat >>conftest.$ac_ext <<_ACEOF
28171 /* end confdefs.h. */
28172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28174 #define $ac_func innocuous_$ac_func
28176 /* System header to define __stub macros and hopefully few prototypes,
28177 which can conflict with char $ac_func (); below.
28178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28179 <limits.h> exists even on freestanding compilers. */
28182 # include <limits.h>
28184 # include <assert.h>
28189 /* Override any GCC internal prototype to avoid an error.
28190 Use char because int might match the return type of a GCC
28191 builtin and then its argument prototype would still apply. */
28196 /* The GNU C library defines this for functions which it implements
28197 to always fail with ENOSYS. Some functions are actually named
28198 something starting with __ and the normal name is an alias. */
28199 #if defined __stub_$ac_func || defined __stub___$ac_func
28206 return $ac_func ();
28211 rm -f conftest.$ac_objext conftest$ac_exeext
28212 if { (ac_try="$ac_link"
28213 case "(($ac_try" in
28214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28215 *) ac_try_echo=$ac_try;;
28217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28218 (eval "$ac_link") 2>conftest.er1
28220 grep -v '^ *+' conftest.er1 >conftest.err
28222 cat conftest.err >&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); } && {
28225 test -z "$ac_c_werror_flag" ||
28226 test ! -s conftest.err
28227 } && test -s conftest$ac_exeext &&
28228 $as_test_x conftest$ac_exeext; then
28229 eval "$as_ac_var=yes"
28231 echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28234 eval "$as_ac_var=no"
28237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28238 conftest$ac_exeext conftest.$ac_ext
28240 ac_res=`eval echo '${'$as_ac_var'}'`
28241 { echo "$as_me:$LINENO: result: $ac_res" >&5
28242 echo "${ECHO_T}$ac_res" >&6; }
28243 if test `eval echo '${'$as_ac_var'}'` = yes; then
28244 cat >>confdefs.h <<_ACEOF
28245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28251 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28252 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28253 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28254 { echo "$as_me:$LINENO: result: yes" >&5
28255 echo "${ECHO_T}yes" >&6; }
28257 { echo "$as_me:$LINENO: result: no" >&5
28258 echo "${ECHO_T}no" >&6; }
28260 # use different functions to avoid configure caching
28266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28267 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28269 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 cat >conftest.$ac_ext <<_ACEOF
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28280 #define $ac_func innocuous_$ac_func
28282 /* System header to define __stub macros and hopefully few prototypes,
28283 which can conflict with char $ac_func (); below.
28284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28285 <limits.h> exists even on freestanding compilers. */
28288 # include <limits.h>
28290 # include <assert.h>
28295 /* Override any GCC internal prototype to avoid an error.
28296 Use char because int might match the return type of a GCC
28297 builtin and then its argument prototype would still apply. */
28302 /* The GNU C library defines this for functions which it implements
28303 to always fail with ENOSYS. Some functions are actually named
28304 something starting with __ and the normal name is an alias. */
28305 #if defined __stub_$ac_func || defined __stub___$ac_func
28312 return $ac_func ();
28317 rm -f conftest.$ac_objext conftest$ac_exeext
28318 if { (ac_try="$ac_link"
28319 case "(($ac_try" in
28320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28321 *) ac_try_echo=$ac_try;;
28323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28324 (eval "$ac_link") 2>conftest.er1
28326 grep -v '^ *+' conftest.er1 >conftest.err
28328 cat conftest.err >&5
28329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 (exit $ac_status); } && {
28331 test -z "$ac_c_werror_flag" ||
28332 test ! -s conftest.err
28333 } && test -s conftest$ac_exeext &&
28334 $as_test_x conftest$ac_exeext; then
28335 eval "$as_ac_var=yes"
28337 echo "$as_me: failed program was:" >&5
28338 sed 's/^/| /' conftest.$ac_ext >&5
28340 eval "$as_ac_var=no"
28343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28344 conftest$ac_exeext conftest.$ac_ext
28346 ac_res=`eval echo '${'$as_ac_var'}'`
28347 { echo "$as_me:$LINENO: result: $ac_res" >&5
28348 echo "${ECHO_T}$ac_res" >&6; }
28349 if test `eval echo '${'$as_ac_var'}'` = yes; then
28350 cat >>confdefs.h <<_ACEOF
28351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28358 for ac_func in ceil
28360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28361 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28363 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28364 echo $ECHO_N "(cached) $ECHO_C" >&6
28366 cat >conftest.$ac_ext <<_ACEOF
28369 cat confdefs.h >>conftest.$ac_ext
28370 cat >>conftest.$ac_ext <<_ACEOF
28371 /* end confdefs.h. */
28372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28374 #define $ac_func innocuous_$ac_func
28376 /* System header to define __stub macros and hopefully few prototypes,
28377 which can conflict with char $ac_func (); below.
28378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28379 <limits.h> exists even on freestanding compilers. */
28382 # include <limits.h>
28384 # include <assert.h>
28389 /* Override any GCC internal prototype to avoid an error.
28390 Use char because int might match the return type of a GCC
28391 builtin and then its argument prototype would still apply. */
28396 /* The GNU C library defines this for functions which it implements
28397 to always fail with ENOSYS. Some functions are actually named
28398 something starting with __ and the normal name is an alias. */
28399 #if defined __stub_$ac_func || defined __stub___$ac_func
28406 return $ac_func ();
28411 rm -f conftest.$ac_objext conftest$ac_exeext
28412 if { (ac_try="$ac_link"
28413 case "(($ac_try" in
28414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28415 *) ac_try_echo=$ac_try;;
28417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28418 (eval "$ac_link") 2>conftest.er1
28420 grep -v '^ *+' conftest.er1 >conftest.err
28422 cat conftest.err >&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); } && {
28425 test -z "$ac_c_werror_flag" ||
28426 test ! -s conftest.err
28427 } && test -s conftest$ac_exeext &&
28428 $as_test_x conftest$ac_exeext; then
28429 eval "$as_ac_var=yes"
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.$ac_ext >&5
28434 eval "$as_ac_var=no"
28437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28438 conftest$ac_exeext conftest.$ac_ext
28440 ac_res=`eval echo '${'$as_ac_var'}'`
28441 { echo "$as_me:$LINENO: result: $ac_res" >&5
28442 echo "${ECHO_T}$ac_res" >&6; }
28443 if test `eval echo '${'$as_ac_var'}'` = yes; then
28444 cat >>confdefs.h <<_ACEOF
28445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28451 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28452 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28453 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28454 { echo "$as_me:$LINENO: result: yes" >&5
28455 echo "${ECHO_T}yes" >&6; }
28457 { echo "$as_me:$LINENO: result: no" >&5
28458 echo "${ECHO_T}no" >&6; }
28459 # not sure we should warn the user, crash, etc.
28464 ac_cpp='$CXXCPP $CPPFLAGS'
28465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28469 if test "wxUSE_UNICODE" = "yes"; then
28471 for wx_func in wcstoull
28473 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28474 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28475 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28476 echo $ECHO_N "(cached) $ECHO_C" >&6
28479 cat >conftest.$ac_ext <<_ACEOF
28483 cat confdefs.h >>conftest.$ac_ext
28484 cat >>conftest.$ac_ext <<_ACEOF
28485 /* end confdefs.h. */
28488 $ac_includes_default
28504 rm -f conftest.$ac_objext conftest$ac_exeext
28505 if { (ac_try="$ac_link"
28506 case "(($ac_try" in
28507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28508 *) ac_try_echo=$ac_try;;
28510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28511 (eval "$ac_link") 2>conftest.er1
28513 grep -v '^ *+' conftest.er1 >conftest.err
28515 cat conftest.err >&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } && {
28518 test -z "$ac_cxx_werror_flag" ||
28519 test ! -s conftest.err
28520 } && test -s conftest$ac_exeext &&
28521 $as_test_x conftest$ac_exeext; then
28522 eval wx_cv_func_$wx_func=yes
28524 echo "$as_me: failed program was:" >&5
28525 sed 's/^/| /' conftest.$ac_ext >&5
28527 eval wx_cv_func_$wx_func=no
28530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28531 conftest$ac_exeext conftest.$ac_ext
28534 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28535 { echo "$as_me:$LINENO: result: $ac_res" >&5
28536 echo "${ECHO_T}$ac_res" >&6; }
28538 if eval test \$wx_cv_func_$wx_func = yes
28540 cat >>confdefs.h <<_ACEOF
28541 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28553 for wx_func in strtoull
28555 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28556 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28557 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28558 echo $ECHO_N "(cached) $ECHO_C" >&6
28561 cat >conftest.$ac_ext <<_ACEOF
28565 cat confdefs.h >>conftest.$ac_ext
28566 cat >>conftest.$ac_ext <<_ACEOF
28567 /* end confdefs.h. */
28570 $ac_includes_default
28586 rm -f conftest.$ac_objext conftest$ac_exeext
28587 if { (ac_try="$ac_link"
28588 case "(($ac_try" in
28589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28590 *) ac_try_echo=$ac_try;;
28592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28593 (eval "$ac_link") 2>conftest.er1
28595 grep -v '^ *+' conftest.er1 >conftest.err
28597 cat conftest.err >&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); } && {
28600 test -z "$ac_cxx_werror_flag" ||
28601 test ! -s conftest.err
28602 } && test -s conftest$ac_exeext &&
28603 $as_test_x conftest$ac_exeext; then
28604 eval wx_cv_func_$wx_func=yes
28606 echo "$as_me: failed program was:" >&5
28607 sed 's/^/| /' conftest.$ac_ext >&5
28609 eval wx_cv_func_$wx_func=no
28612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28613 conftest$ac_exeext conftest.$ac_ext
28616 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28617 { echo "$as_me:$LINENO: result: $ac_res" >&5
28618 echo "${ECHO_T}$ac_res" >&6; }
28620 if eval test \$wx_cv_func_$wx_func = yes
28622 cat >>confdefs.h <<_ACEOF
28623 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28635 ac_cpp='$CPP $CPPFLAGS'
28636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28643 if test "$wxUSE_REGEX" != "no"; then
28644 cat >>confdefs.h <<\_ACEOF
28645 #define wxUSE_REGEX 1
28649 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28650 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28651 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28652 wxUSE_REGEX=builtin
28655 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28656 { echo "$as_me:$LINENO: checking for regex.h" >&5
28657 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28658 if test "${ac_cv_header_regex_h+set}" = set; then
28659 echo $ECHO_N "(cached) $ECHO_C" >&6
28661 cat >conftest.$ac_ext <<_ACEOF
28664 cat confdefs.h >>conftest.$ac_ext
28665 cat >>conftest.$ac_ext <<_ACEOF
28666 /* end confdefs.h. */
28671 rm -f conftest.$ac_objext
28672 if { (ac_try="$ac_compile"
28673 case "(($ac_try" in
28674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28675 *) ac_try_echo=$ac_try;;
28677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28678 (eval "$ac_compile") 2>conftest.er1
28680 grep -v '^ *+' conftest.er1 >conftest.err
28682 cat conftest.err >&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); } && {
28685 test -z "$ac_c_werror_flag" ||
28686 test ! -s conftest.err
28687 } && test -s conftest.$ac_objext; then
28688 ac_cv_header_regex_h=yes
28690 echo "$as_me: failed program was:" >&5
28691 sed 's/^/| /' conftest.$ac_ext >&5
28693 ac_cv_header_regex_h=no
28696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28698 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28699 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28700 if test $ac_cv_header_regex_h = yes; then
28703 for ac_func in regcomp re_search
28705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28706 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28708 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28709 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 cat >conftest.$ac_ext <<_ACEOF
28714 cat confdefs.h >>conftest.$ac_ext
28715 cat >>conftest.$ac_ext <<_ACEOF
28716 /* end confdefs.h. */
28717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28719 #define $ac_func innocuous_$ac_func
28721 /* System header to define __stub macros and hopefully few prototypes,
28722 which can conflict with char $ac_func (); below.
28723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28724 <limits.h> exists even on freestanding compilers. */
28727 # include <limits.h>
28729 # include <assert.h>
28734 /* Override any GCC internal prototype to avoid an error.
28735 Use char because int might match the return type of a GCC
28736 builtin and then its argument prototype would still apply. */
28741 /* The GNU C library defines this for functions which it implements
28742 to always fail with ENOSYS. Some functions are actually named
28743 something starting with __ and the normal name is an alias. */
28744 #if defined __stub_$ac_func || defined __stub___$ac_func
28751 return $ac_func ();
28756 rm -f conftest.$ac_objext conftest$ac_exeext
28757 if { (ac_try="$ac_link"
28758 case "(($ac_try" in
28759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28760 *) ac_try_echo=$ac_try;;
28762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28763 (eval "$ac_link") 2>conftest.er1
28765 grep -v '^ *+' conftest.er1 >conftest.err
28767 cat conftest.err >&5
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); } && {
28770 test -z "$ac_c_werror_flag" ||
28771 test ! -s conftest.err
28772 } && test -s conftest$ac_exeext &&
28773 $as_test_x conftest$ac_exeext; then
28774 eval "$as_ac_var=yes"
28776 echo "$as_me: failed program was:" >&5
28777 sed 's/^/| /' conftest.$ac_ext >&5
28779 eval "$as_ac_var=no"
28782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28783 conftest$ac_exeext conftest.$ac_ext
28785 ac_res=`eval echo '${'$as_ac_var'}'`
28786 { echo "$as_me:$LINENO: result: $ac_res" >&5
28787 echo "${ECHO_T}$ac_res" >&6; }
28788 if test `eval echo '${'$as_ac_var'}'` = yes; then
28789 cat >>confdefs.h <<_ACEOF
28790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28800 if test "x$ac_cv_func_regcomp" != "xyes"; then
28801 if test "$wxUSE_REGEX" = "sys" ; then
28802 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28803 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28804 { (exit 1); exit 1; }; }
28806 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28807 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28808 wxUSE_REGEX=builtin
28812 cat >>confdefs.h <<\_ACEOF
28813 #define WX_NO_REGEX_ADVANCED 1
28822 if test "$wxUSE_ZLIB" != "no" ; then
28823 cat >>confdefs.h <<\_ACEOF
28824 #define wxUSE_ZLIB 1
28828 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28829 if test "$USE_DARWIN" = 1; then
28830 system_zlib_h_ok="yes"
28832 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28833 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28834 if test "${ac_cv_header_zlib_h+set}" = set; then
28835 echo $ECHO_N "(cached) $ECHO_C" >&6
28837 if test "$cross_compiling" = yes; then
28838 unset ac_cv_header_zlib_h
28841 cat >conftest.$ac_ext <<_ACEOF
28844 cat confdefs.h >>conftest.$ac_ext
28845 cat >>conftest.$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28853 FILE *f=fopen("conftestval", "w");
28856 ZLIB_VERSION[0] == '1' &&
28857 (ZLIB_VERSION[2] > '1' ||
28858 (ZLIB_VERSION[2] == '1' &&
28859 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28864 rm -f conftest$ac_exeext
28865 if { (ac_try="$ac_link"
28866 case "(($ac_try" in
28867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28868 *) ac_try_echo=$ac_try;;
28870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28871 (eval "$ac_link") 2>&5
28873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28875 { (case "(($ac_try" in
28876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28877 *) ac_try_echo=$ac_try;;
28879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28880 (eval "$ac_try") 2>&5
28882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28883 (exit $ac_status); }; }; then
28884 ac_cv_header_zlib_h=`cat conftestval`
28886 echo "$as_me: program exited with status $ac_status" >&5
28887 echo "$as_me: failed program was:" >&5
28888 sed 's/^/| /' conftest.$ac_ext >&5
28890 ( exit $ac_status )
28891 ac_cv_header_zlib_h=no
28893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28899 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28900 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28901 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28902 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28903 if test "${ac_cv_header_zlib_h+set}" = set; then
28904 echo $ECHO_N "(cached) $ECHO_C" >&6
28906 cat >conftest.$ac_ext <<_ACEOF
28909 cat confdefs.h >>conftest.$ac_ext
28910 cat >>conftest.$ac_ext <<_ACEOF
28911 /* end confdefs.h. */
28916 rm -f conftest.$ac_objext
28917 if { (ac_try="$ac_compile"
28918 case "(($ac_try" in
28919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28920 *) ac_try_echo=$ac_try;;
28922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28923 (eval "$ac_compile") 2>conftest.er1
28925 grep -v '^ *+' conftest.er1 >conftest.err
28927 cat conftest.err >&5
28928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28929 (exit $ac_status); } && {
28930 test -z "$ac_c_werror_flag" ||
28931 test ! -s conftest.err
28932 } && test -s conftest.$ac_objext; then
28933 ac_cv_header_zlib_h=yes
28935 echo "$as_me: failed program was:" >&5
28936 sed 's/^/| /' conftest.$ac_ext >&5
28938 ac_cv_header_zlib_h=no
28941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28943 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28944 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28948 system_zlib_h_ok=$ac_cv_header_zlib_h
28951 if test "$system_zlib_h_ok" = "yes"; then
28952 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28953 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28954 if test "${ac_cv_lib_z_deflate+set}" = set; then
28955 echo $ECHO_N "(cached) $ECHO_C" >&6
28957 ac_check_lib_save_LIBS=$LIBS
28959 cat >conftest.$ac_ext <<_ACEOF
28962 cat confdefs.h >>conftest.$ac_ext
28963 cat >>conftest.$ac_ext <<_ACEOF
28964 /* end confdefs.h. */
28966 /* Override any GCC internal prototype to avoid an error.
28967 Use char because int might match the return type of a GCC
28968 builtin and then its argument prototype would still apply. */
28981 rm -f conftest.$ac_objext conftest$ac_exeext
28982 if { (ac_try="$ac_link"
28983 case "(($ac_try" in
28984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28985 *) ac_try_echo=$ac_try;;
28987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28988 (eval "$ac_link") 2>conftest.er1
28990 grep -v '^ *+' conftest.er1 >conftest.err
28992 cat conftest.err >&5
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); } && {
28995 test -z "$ac_c_werror_flag" ||
28996 test ! -s conftest.err
28997 } && test -s conftest$ac_exeext &&
28998 $as_test_x conftest$ac_exeext; then
28999 ac_cv_lib_z_deflate=yes
29001 echo "$as_me: failed program was:" >&5
29002 sed 's/^/| /' conftest.$ac_ext >&5
29004 ac_cv_lib_z_deflate=no
29007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29008 conftest$ac_exeext conftest.$ac_ext
29009 LIBS=$ac_check_lib_save_LIBS
29011 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29012 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29013 if test $ac_cv_lib_z_deflate = yes; then
29019 if test "x$ZLIB_LINK" = "x" ; then
29020 if test "$wxUSE_ZLIB" = "sys" ; then
29021 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29022 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29023 { (exit 1); exit 1; }; }
29025 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29026 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29037 if test "$wxUSE_LIBPNG" != "no" ; then
29038 cat >>confdefs.h <<\_ACEOF
29039 #define wxUSE_LIBPNG 1
29043 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29044 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29045 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29049 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29050 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29051 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29052 wxUSE_LIBPNG=builtin
29055 if test "$wxUSE_MGL" != 1 ; then
29056 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29057 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29058 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29059 if test "${ac_cv_header_png_h+set}" = set; then
29060 echo $ECHO_N "(cached) $ECHO_C" >&6
29062 if test "$cross_compiling" = yes; then
29063 unset ac_cv_header_png_h
29066 cat >conftest.$ac_ext <<_ACEOF
29069 cat confdefs.h >>conftest.$ac_ext
29070 cat >>conftest.$ac_ext <<_ACEOF
29071 /* end confdefs.h. */
29078 FILE *f=fopen("conftestval", "w");
29081 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29086 rm -f conftest$ac_exeext
29087 if { (ac_try="$ac_link"
29088 case "(($ac_try" in
29089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29090 *) ac_try_echo=$ac_try;;
29092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29093 (eval "$ac_link") 2>&5
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29097 { (case "(($ac_try" in
29098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29099 *) ac_try_echo=$ac_try;;
29101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29102 (eval "$ac_try") 2>&5
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); }; }; then
29106 ac_cv_header_png_h=`cat conftestval`
29108 echo "$as_me: program exited with status $ac_status" >&5
29109 echo "$as_me: failed program was:" >&5
29110 sed 's/^/| /' conftest.$ac_ext >&5
29112 ( exit $ac_status )
29113 ac_cv_header_png_h=no
29115 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29121 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29122 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29123 { echo "$as_me:$LINENO: checking for png.h" >&5
29124 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29125 if test "${ac_cv_header_png_h+set}" = set; then
29126 echo $ECHO_N "(cached) $ECHO_C" >&6
29128 cat >conftest.$ac_ext <<_ACEOF
29131 cat confdefs.h >>conftest.$ac_ext
29132 cat >>conftest.$ac_ext <<_ACEOF
29133 /* end confdefs.h. */
29138 rm -f conftest.$ac_objext
29139 if { (ac_try="$ac_compile"
29140 case "(($ac_try" in
29141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29142 *) ac_try_echo=$ac_try;;
29144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29145 (eval "$ac_compile") 2>conftest.er1
29147 grep -v '^ *+' conftest.er1 >conftest.err
29149 cat conftest.err >&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); } && {
29152 test -z "$ac_c_werror_flag" ||
29153 test ! -s conftest.err
29154 } && test -s conftest.$ac_objext; then
29155 ac_cv_header_png_h=yes
29157 echo "$as_me: failed program was:" >&5
29158 sed 's/^/| /' conftest.$ac_ext >&5
29160 ac_cv_header_png_h=no
29163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29165 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29166 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29170 if test "$ac_cv_header_png_h" = "yes"; then
29171 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29172 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29173 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29174 echo $ECHO_N "(cached) $ECHO_C" >&6
29176 ac_check_lib_save_LIBS=$LIBS
29177 LIBS="-lpng -lz -lm $LIBS"
29178 cat >conftest.$ac_ext <<_ACEOF
29181 cat confdefs.h >>conftest.$ac_ext
29182 cat >>conftest.$ac_ext <<_ACEOF
29183 /* end confdefs.h. */
29185 /* Override any GCC internal prototype to avoid an error.
29186 Use char because int might match the return type of a GCC
29187 builtin and then its argument prototype would still apply. */
29191 char png_check_sig ();
29195 return png_check_sig ();
29200 rm -f conftest.$ac_objext conftest$ac_exeext
29201 if { (ac_try="$ac_link"
29202 case "(($ac_try" in
29203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29204 *) ac_try_echo=$ac_try;;
29206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29207 (eval "$ac_link") 2>conftest.er1
29209 grep -v '^ *+' conftest.er1 >conftest.err
29211 cat conftest.err >&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); } && {
29214 test -z "$ac_c_werror_flag" ||
29215 test ! -s conftest.err
29216 } && test -s conftest$ac_exeext &&
29217 $as_test_x conftest$ac_exeext; then
29218 ac_cv_lib_png_png_check_sig=yes
29220 echo "$as_me: failed program was:" >&5
29221 sed 's/^/| /' conftest.$ac_ext >&5
29223 ac_cv_lib_png_png_check_sig=no
29226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29227 conftest$ac_exeext conftest.$ac_ext
29228 LIBS=$ac_check_lib_save_LIBS
29230 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29231 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29232 if test $ac_cv_lib_png_png_check_sig = yes; then
29233 PNG_LINK=" -lpng -lz"
29238 if test "x$PNG_LINK" = "x" ; then
29239 if test "$wxUSE_LIBPNG" = "sys" ; then
29240 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29241 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29242 { (exit 1); exit 1; }; }
29244 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29245 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29246 wxUSE_LIBPNG=builtin
29254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
29259 if test "$wxUSE_LIBJPEG" != "no" ; then
29260 cat >>confdefs.h <<\_ACEOF
29261 #define wxUSE_LIBJPEG 1
29265 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29266 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29267 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29271 if test "$wxUSE_MGL" != 1 ; then
29272 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29273 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29274 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29275 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29276 echo $ECHO_N "(cached) $ECHO_C" >&6
29278 cat >conftest.$ac_ext <<_ACEOF
29281 cat confdefs.h >>conftest.$ac_ext
29282 cat >>conftest.$ac_ext <<_ACEOF
29283 /* end confdefs.h. */
29285 #undef HAVE_STDLIB_H
29287 #include <jpeglib.h>
29298 rm -f conftest.$ac_objext
29299 if { (ac_try="$ac_compile"
29300 case "(($ac_try" in
29301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29302 *) ac_try_echo=$ac_try;;
29304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29305 (eval "$ac_compile") 2>conftest.er1
29307 grep -v '^ *+' conftest.er1 >conftest.err
29309 cat conftest.err >&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); } && {
29312 test -z "$ac_c_werror_flag" ||
29313 test ! -s conftest.err
29314 } && test -s conftest.$ac_objext; then
29315 ac_cv_header_jpeglib_h=yes
29317 echo "$as_me: failed program was:" >&5
29318 sed 's/^/| /' conftest.$ac_ext >&5
29320 ac_cv_header_jpeglib_h=no
29324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29328 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29329 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29331 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29332 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29333 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29334 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29335 echo $ECHO_N "(cached) $ECHO_C" >&6
29337 ac_check_lib_save_LIBS=$LIBS
29338 LIBS="-ljpeg $LIBS"
29339 cat >conftest.$ac_ext <<_ACEOF
29342 cat confdefs.h >>conftest.$ac_ext
29343 cat >>conftest.$ac_ext <<_ACEOF
29344 /* end confdefs.h. */
29346 /* Override any GCC internal prototype to avoid an error.
29347 Use char because int might match the return type of a GCC
29348 builtin and then its argument prototype would still apply. */
29352 char jpeg_read_header ();
29356 return jpeg_read_header ();
29361 rm -f conftest.$ac_objext conftest$ac_exeext
29362 if { (ac_try="$ac_link"
29363 case "(($ac_try" in
29364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29365 *) ac_try_echo=$ac_try;;
29367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29368 (eval "$ac_link") 2>conftest.er1
29370 grep -v '^ *+' conftest.er1 >conftest.err
29372 cat conftest.err >&5
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); } && {
29375 test -z "$ac_c_werror_flag" ||
29376 test ! -s conftest.err
29377 } && test -s conftest$ac_exeext &&
29378 $as_test_x conftest$ac_exeext; then
29379 ac_cv_lib_jpeg_jpeg_read_header=yes
29381 echo "$as_me: failed program was:" >&5
29382 sed 's/^/| /' conftest.$ac_ext >&5
29384 ac_cv_lib_jpeg_jpeg_read_header=no
29387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29388 conftest$ac_exeext conftest.$ac_ext
29389 LIBS=$ac_check_lib_save_LIBS
29391 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29392 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29393 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29394 JPEG_LINK=" -ljpeg"
29399 if test "x$JPEG_LINK" = "x" ; then
29400 if test "$wxUSE_LIBJPEG" = "sys" ; then
29401 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29402 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29403 { (exit 1); exit 1; }; }
29405 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29406 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29407 wxUSE_LIBJPEG=builtin
29412 if test "$wxUSE_MSW" = 1; then
29413 { echo "$as_me:$LINENO: checking for boolean" >&5
29414 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29415 if test "${ac_cv_type_boolean+set}" = set; then
29416 echo $ECHO_N "(cached) $ECHO_C" >&6
29418 cat >conftest.$ac_ext <<_ACEOF
29421 cat confdefs.h >>conftest.$ac_ext
29422 cat >>conftest.$ac_ext <<_ACEOF
29423 /* end confdefs.h. */
29424 #include <windows.h>
29426 typedef boolean ac__type_new_;
29430 if ((ac__type_new_ *) 0)
29432 if (sizeof (ac__type_new_))
29438 rm -f conftest.$ac_objext
29439 if { (ac_try="$ac_compile"
29440 case "(($ac_try" in
29441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29442 *) ac_try_echo=$ac_try;;
29444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29445 (eval "$ac_compile") 2>conftest.er1
29447 grep -v '^ *+' conftest.er1 >conftest.err
29449 cat conftest.err >&5
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); } && {
29452 test -z "$ac_c_werror_flag" ||
29453 test ! -s conftest.err
29454 } && test -s conftest.$ac_objext; then
29455 ac_cv_type_boolean=yes
29457 echo "$as_me: failed program was:" >&5
29458 sed 's/^/| /' conftest.$ac_ext >&5
29460 ac_cv_type_boolean=no
29463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29465 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29466 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29467 if test $ac_cv_type_boolean = yes; then
29469 cat >>confdefs.h <<_ACEOF
29470 #define HAVE_BOOLEAN 1
29474 { echo "$as_me:$LINENO: checking for boolean" >&5
29475 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29476 if test "${ac_cv_type_boolean+set}" = set; then
29477 echo $ECHO_N "(cached) $ECHO_C" >&6
29479 cat >conftest.$ac_ext <<_ACEOF
29482 cat confdefs.h >>conftest.$ac_ext
29483 cat >>conftest.$ac_ext <<_ACEOF
29484 /* end confdefs.h. */
29486 #undef HAVE_BOOLEAN
29488 #include <jpeglib.h>
29491 typedef boolean ac__type_new_;
29495 if ((ac__type_new_ *) 0)
29497 if (sizeof (ac__type_new_))
29503 rm -f conftest.$ac_objext
29504 if { (ac_try="$ac_compile"
29505 case "(($ac_try" in
29506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29507 *) ac_try_echo=$ac_try;;
29509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29510 (eval "$ac_compile") 2>conftest.er1
29512 grep -v '^ *+' conftest.er1 >conftest.err
29514 cat conftest.err >&5
29515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29516 (exit $ac_status); } && {
29517 test -z "$ac_c_werror_flag" ||
29518 test ! -s conftest.err
29519 } && test -s conftest.$ac_objext; then
29520 ac_cv_type_boolean=yes
29522 echo "$as_me: failed program was:" >&5
29523 sed 's/^/| /' conftest.$ac_ext >&5
29525 ac_cv_type_boolean=no
29528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29530 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29531 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29533 # The cast to long int works around a bug in the HP C Compiler
29534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29536 # This bug is HP SR number 8606223364.
29537 { echo "$as_me:$LINENO: checking size of boolean" >&5
29538 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29539 if test "${ac_cv_sizeof_boolean+set}" = set; then
29540 echo $ECHO_N "(cached) $ECHO_C" >&6
29542 if test "$cross_compiling" = yes; then
29543 # Depending upon the size, compute the lo and hi bounds.
29544 cat >conftest.$ac_ext <<_ACEOF
29547 cat confdefs.h >>conftest.$ac_ext
29548 cat >>conftest.$ac_ext <<_ACEOF
29549 /* end confdefs.h. */
29551 #undef HAVE_BOOLEAN
29553 #include <jpeglib.h>
29556 typedef boolean ac__type_sizeof_;
29560 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29567 rm -f conftest.$ac_objext
29568 if { (ac_try="$ac_compile"
29569 case "(($ac_try" in
29570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29571 *) ac_try_echo=$ac_try;;
29573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29574 (eval "$ac_compile") 2>conftest.er1
29576 grep -v '^ *+' conftest.er1 >conftest.err
29578 cat conftest.err >&5
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); } && {
29581 test -z "$ac_c_werror_flag" ||
29582 test ! -s conftest.err
29583 } && test -s conftest.$ac_objext; then
29586 cat >conftest.$ac_ext <<_ACEOF
29589 cat confdefs.h >>conftest.$ac_ext
29590 cat >>conftest.$ac_ext <<_ACEOF
29591 /* end confdefs.h. */
29593 #undef HAVE_BOOLEAN
29595 #include <jpeglib.h>
29598 typedef boolean ac__type_sizeof_;
29602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29609 rm -f conftest.$ac_objext
29610 if { (ac_try="$ac_compile"
29611 case "(($ac_try" in
29612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29613 *) ac_try_echo=$ac_try;;
29615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29616 (eval "$ac_compile") 2>conftest.er1
29618 grep -v '^ *+' conftest.er1 >conftest.err
29620 cat conftest.err >&5
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); } && {
29623 test -z "$ac_c_werror_flag" ||
29624 test ! -s conftest.err
29625 } && test -s conftest.$ac_objext; then
29626 ac_hi=$ac_mid; break
29628 echo "$as_me: failed program was:" >&5
29629 sed 's/^/| /' conftest.$ac_ext >&5
29631 ac_lo=`expr $ac_mid + 1`
29632 if test $ac_lo -le $ac_mid; then
29636 ac_mid=`expr 2 '*' $ac_mid + 1`
29639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29642 echo "$as_me: failed program was:" >&5
29643 sed 's/^/| /' conftest.$ac_ext >&5
29645 cat >conftest.$ac_ext <<_ACEOF
29648 cat confdefs.h >>conftest.$ac_ext
29649 cat >>conftest.$ac_ext <<_ACEOF
29650 /* end confdefs.h. */
29652 #undef HAVE_BOOLEAN
29654 #include <jpeglib.h>
29657 typedef boolean ac__type_sizeof_;
29661 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29668 rm -f conftest.$ac_objext
29669 if { (ac_try="$ac_compile"
29670 case "(($ac_try" in
29671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29672 *) ac_try_echo=$ac_try;;
29674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29675 (eval "$ac_compile") 2>conftest.er1
29677 grep -v '^ *+' conftest.er1 >conftest.err
29679 cat conftest.err >&5
29680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29681 (exit $ac_status); } && {
29682 test -z "$ac_c_werror_flag" ||
29683 test ! -s conftest.err
29684 } && test -s conftest.$ac_objext; then
29687 cat >conftest.$ac_ext <<_ACEOF
29690 cat confdefs.h >>conftest.$ac_ext
29691 cat >>conftest.$ac_ext <<_ACEOF
29692 /* end confdefs.h. */
29694 #undef HAVE_BOOLEAN
29696 #include <jpeglib.h>
29699 typedef boolean ac__type_sizeof_;
29703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29710 rm -f conftest.$ac_objext
29711 if { (ac_try="$ac_compile"
29712 case "(($ac_try" in
29713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29714 *) ac_try_echo=$ac_try;;
29716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29717 (eval "$ac_compile") 2>conftest.er1
29719 grep -v '^ *+' conftest.er1 >conftest.err
29721 cat conftest.err >&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); } && {
29724 test -z "$ac_c_werror_flag" ||
29725 test ! -s conftest.err
29726 } && test -s conftest.$ac_objext; then
29727 ac_lo=$ac_mid; break
29729 echo "$as_me: failed program was:" >&5
29730 sed 's/^/| /' conftest.$ac_ext >&5
29732 ac_hi=`expr '(' $ac_mid ')' - 1`
29733 if test $ac_mid -le $ac_hi; then
29737 ac_mid=`expr 2 '*' $ac_mid`
29740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29743 echo "$as_me: failed program was:" >&5
29744 sed 's/^/| /' conftest.$ac_ext >&5
29749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29753 # Binary search between lo and hi bounds.
29754 while test "x$ac_lo" != "x$ac_hi"; do
29755 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29756 cat >conftest.$ac_ext <<_ACEOF
29759 cat confdefs.h >>conftest.$ac_ext
29760 cat >>conftest.$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29763 #undef HAVE_BOOLEAN
29765 #include <jpeglib.h>
29768 typedef boolean ac__type_sizeof_;
29772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29779 rm -f conftest.$ac_objext
29780 if { (ac_try="$ac_compile"
29781 case "(($ac_try" in
29782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29783 *) ac_try_echo=$ac_try;;
29785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29786 (eval "$ac_compile") 2>conftest.er1
29788 grep -v '^ *+' conftest.er1 >conftest.err
29790 cat conftest.err >&5
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); } && {
29793 test -z "$ac_c_werror_flag" ||
29794 test ! -s conftest.err
29795 } && test -s conftest.$ac_objext; then
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29801 ac_lo=`expr '(' $ac_mid ')' + 1`
29804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29807 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29808 '') if test "$ac_cv_type_boolean" = yes; then
29809 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29810 See \`config.log' for more details." >&5
29811 echo "$as_me: error: cannot compute sizeof (boolean)
29812 See \`config.log' for more details." >&2;}
29813 { (exit 77); exit 77; }; }
29815 ac_cv_sizeof_boolean=0
29819 cat >conftest.$ac_ext <<_ACEOF
29822 cat confdefs.h >>conftest.$ac_ext
29823 cat >>conftest.$ac_ext <<_ACEOF
29824 /* end confdefs.h. */
29826 #undef HAVE_BOOLEAN
29828 #include <jpeglib.h>
29831 typedef boolean ac__type_sizeof_;
29832 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29833 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29835 #include <stdlib.h>
29840 FILE *f = fopen ("conftest.val", "w");
29843 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29845 long int i = longval ();
29846 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29848 fprintf (f, "%ld\n", i);
29852 unsigned long int i = ulongval ();
29853 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29855 fprintf (f, "%lu\n", i);
29857 return ferror (f) || fclose (f) != 0;
29863 rm -f conftest$ac_exeext
29864 if { (ac_try="$ac_link"
29865 case "(($ac_try" in
29866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29867 *) ac_try_echo=$ac_try;;
29869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29870 (eval "$ac_link") 2>&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29874 { (case "(($ac_try" in
29875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29876 *) ac_try_echo=$ac_try;;
29878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29879 (eval "$ac_try") 2>&5
29881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 (exit $ac_status); }; }; then
29883 ac_cv_sizeof_boolean=`cat conftest.val`
29885 echo "$as_me: program exited with status $ac_status" >&5
29886 echo "$as_me: failed program was:" >&5
29887 sed 's/^/| /' conftest.$ac_ext >&5
29889 ( exit $ac_status )
29890 if test "$ac_cv_type_boolean" = yes; then
29891 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29892 See \`config.log' for more details." >&5
29893 echo "$as_me: error: cannot compute sizeof (boolean)
29894 See \`config.log' for more details." >&2;}
29895 { (exit 77); exit 77; }; }
29897 ac_cv_sizeof_boolean=0
29900 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29904 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29905 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29909 cat >>confdefs.h <<_ACEOF
29910 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29914 cat >>confdefs.h <<_ACEOF
29915 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29929 TIFF_PREREQ_LINKS=-lm
29930 if test "$wxUSE_LIBTIFF" != "no" ; then
29931 cat >>confdefs.h <<\_ACEOF
29932 #define wxUSE_LIBTIFF 1
29936 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29937 if test "$wxUSE_LIBJPEG" = "sys"; then
29938 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29940 if test "$wxUSE_ZLIB" = "sys"; then
29941 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29943 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29944 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29945 if test "${ac_cv_header_tiffio_h+set}" = set; then
29946 echo $ECHO_N "(cached) $ECHO_C" >&6
29948 cat >conftest.$ac_ext <<_ACEOF
29951 cat confdefs.h >>conftest.$ac_ext
29952 cat >>conftest.$ac_ext <<_ACEOF
29953 /* end confdefs.h. */
29957 #include <tiffio.h>
29959 rm -f conftest.$ac_objext
29960 if { (ac_try="$ac_compile"
29961 case "(($ac_try" in
29962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29963 *) ac_try_echo=$ac_try;;
29965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29966 (eval "$ac_compile") 2>conftest.er1
29968 grep -v '^ *+' conftest.er1 >conftest.err
29970 cat conftest.err >&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); } && {
29973 test -z "$ac_c_werror_flag" ||
29974 test ! -s conftest.err
29975 } && test -s conftest.$ac_objext; then
29976 ac_cv_header_tiffio_h=yes
29978 echo "$as_me: failed program was:" >&5
29979 sed 's/^/| /' conftest.$ac_ext >&5
29981 ac_cv_header_tiffio_h=no
29984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29986 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29987 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29988 if test $ac_cv_header_tiffio_h = yes; then
29990 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29991 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29992 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29993 echo $ECHO_N "(cached) $ECHO_C" >&6
29995 ac_check_lib_save_LIBS=$LIBS
29996 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29997 cat >conftest.$ac_ext <<_ACEOF
30000 cat confdefs.h >>conftest.$ac_ext
30001 cat >>conftest.$ac_ext <<_ACEOF
30002 /* end confdefs.h. */
30004 /* Override any GCC internal prototype to avoid an error.
30005 Use char because int might match the return type of a GCC
30006 builtin and then its argument prototype would still apply. */
30014 return TIFFError ();
30019 rm -f conftest.$ac_objext conftest$ac_exeext
30020 if { (ac_try="$ac_link"
30021 case "(($ac_try" in
30022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30023 *) ac_try_echo=$ac_try;;
30025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30026 (eval "$ac_link") 2>conftest.er1
30028 grep -v '^ *+' conftest.er1 >conftest.err
30030 cat conftest.err >&5
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); } && {
30033 test -z "$ac_c_werror_flag" ||
30034 test ! -s conftest.err
30035 } && test -s conftest$ac_exeext &&
30036 $as_test_x conftest$ac_exeext; then
30037 ac_cv_lib_tiff_TIFFError=yes
30039 echo "$as_me: failed program was:" >&5
30040 sed 's/^/| /' conftest.$ac_ext >&5
30042 ac_cv_lib_tiff_TIFFError=no
30045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30046 conftest$ac_exeext conftest.$ac_ext
30047 LIBS=$ac_check_lib_save_LIBS
30049 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
30050 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30051 if test $ac_cv_lib_tiff_TIFFError = yes; then
30052 TIFF_LINK=" -ltiff"
30060 if test "x$TIFF_LINK" = "x" ; then
30061 if test "$wxUSE_LIBTIFF" = "sys" ; then
30062 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
30063 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
30064 { (exit 1); exit 1; }; }
30066 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
30067 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30068 wxUSE_LIBTIFF=builtin
30077 if test "$wxUSE_WCHAR_T" != "yes"; then
30078 if test "$wxUSE_EXPAT" != "no"; then
30079 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30080 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30083 if test "$wxUSE_XML" != "no"; then
30084 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30085 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30090 if test "$wxUSE_EXPAT" != "no"; then
30092 cat >>confdefs.h <<\_ACEOF
30093 #define wxUSE_EXPAT 1
30096 cat >>confdefs.h <<\_ACEOF
30097 #define wxUSE_XML 1
30101 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30102 { echo "$as_me:$LINENO: checking for expat.h" >&5
30103 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30104 if test "${ac_cv_header_expat_h+set}" = set; then
30105 echo $ECHO_N "(cached) $ECHO_C" >&6
30107 cat >conftest.$ac_ext <<_ACEOF
30110 cat confdefs.h >>conftest.$ac_ext
30111 cat >>conftest.$ac_ext <<_ACEOF
30112 /* end confdefs.h. */
30117 rm -f conftest.$ac_objext
30118 if { (ac_try="$ac_compile"
30119 case "(($ac_try" in
30120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30121 *) ac_try_echo=$ac_try;;
30123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30124 (eval "$ac_compile") 2>conftest.er1
30126 grep -v '^ *+' conftest.er1 >conftest.err
30128 cat conftest.err >&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); } && {
30131 test -z "$ac_c_werror_flag" ||
30132 test ! -s conftest.err
30133 } && test -s conftest.$ac_objext; then
30134 ac_cv_header_expat_h=yes
30136 echo "$as_me: failed program was:" >&5
30137 sed 's/^/| /' conftest.$ac_ext >&5
30139 ac_cv_header_expat_h=no
30142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30144 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30145 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30146 if test $ac_cv_header_expat_h = yes; then
30151 if test "x$found_expat_h" = "x1"; then
30152 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30153 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30154 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30155 echo $ECHO_N "(cached) $ECHO_C" >&6
30159 ac_cpp='$CXXCPP $CPPFLAGS'
30160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30164 cat >conftest.$ac_ext <<_ACEOF
30167 cat confdefs.h >>conftest.$ac_ext
30168 cat >>conftest.$ac_ext <<_ACEOF
30169 /* end confdefs.h. */
30179 rm -f conftest.$ac_objext
30180 if { (ac_try="$ac_compile"
30181 case "(($ac_try" in
30182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30183 *) ac_try_echo=$ac_try;;
30185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30186 (eval "$ac_compile") 2>conftest.er1
30188 grep -v '^ *+' conftest.er1 >conftest.err
30190 cat conftest.err >&5
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); } && {
30193 test -z "$ac_cxx_werror_flag" ||
30194 test ! -s conftest.err
30195 } && test -s conftest.$ac_objext; then
30196 wx_cv_expat_is_not_broken=yes
30198 echo "$as_me: failed program was:" >&5
30199 sed 's/^/| /' conftest.$ac_ext >&5
30201 wx_cv_expat_is_not_broken=no
30205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30207 ac_cpp='$CPP $CPPFLAGS'
30208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30215 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30216 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30217 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30218 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30219 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30220 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30221 echo $ECHO_N "(cached) $ECHO_C" >&6
30223 ac_check_lib_save_LIBS=$LIBS
30224 LIBS="-lexpat $LIBS"
30225 cat >conftest.$ac_ext <<_ACEOF
30228 cat confdefs.h >>conftest.$ac_ext
30229 cat >>conftest.$ac_ext <<_ACEOF
30230 /* end confdefs.h. */
30232 /* Override any GCC internal prototype to avoid an error.
30233 Use char because int might match the return type of a GCC
30234 builtin and then its argument prototype would still apply. */
30238 char XML_ParserCreate ();
30242 return XML_ParserCreate ();
30247 rm -f conftest.$ac_objext conftest$ac_exeext
30248 if { (ac_try="$ac_link"
30249 case "(($ac_try" in
30250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30251 *) ac_try_echo=$ac_try;;
30253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30254 (eval "$ac_link") 2>conftest.er1
30256 grep -v '^ *+' conftest.er1 >conftest.err
30258 cat conftest.err >&5
30259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260 (exit $ac_status); } && {
30261 test -z "$ac_c_werror_flag" ||
30262 test ! -s conftest.err
30263 } && test -s conftest$ac_exeext &&
30264 $as_test_x conftest$ac_exeext; then
30265 ac_cv_lib_expat_XML_ParserCreate=yes
30267 echo "$as_me: failed program was:" >&5
30268 sed 's/^/| /' conftest.$ac_ext >&5
30270 ac_cv_lib_expat_XML_ParserCreate=no
30273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30274 conftest$ac_exeext conftest.$ac_ext
30275 LIBS=$ac_check_lib_save_LIBS
30277 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30278 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30279 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30280 EXPAT_LINK=" -lexpat"
30285 if test "x$EXPAT_LINK" = "x" ; then
30286 if test "$wxUSE_EXPAT" = "sys" ; then
30287 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30288 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30289 { (exit 1); exit 1; }; }
30291 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30292 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30293 wxUSE_EXPAT=builtin
30299 if test "$wxUSE_EXPAT" = "builtin" ; then
30300 subdirs="$subdirs src/expat"
30307 if test "$wxUSE_LIBMSPACK" != "no"; then
30308 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30309 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30310 if test "${ac_cv_header_mspack_h+set}" = set; then
30311 echo $ECHO_N "(cached) $ECHO_C" >&6
30313 cat >conftest.$ac_ext <<_ACEOF
30316 cat confdefs.h >>conftest.$ac_ext
30317 cat >>conftest.$ac_ext <<_ACEOF
30318 /* end confdefs.h. */
30321 #include <mspack.h>
30323 rm -f conftest.$ac_objext
30324 if { (ac_try="$ac_compile"
30325 case "(($ac_try" in
30326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30327 *) ac_try_echo=$ac_try;;
30329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30330 (eval "$ac_compile") 2>conftest.er1
30332 grep -v '^ *+' conftest.er1 >conftest.err
30334 cat conftest.err >&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); } && {
30337 test -z "$ac_c_werror_flag" ||
30338 test ! -s conftest.err
30339 } && test -s conftest.$ac_objext; then
30340 ac_cv_header_mspack_h=yes
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.$ac_ext >&5
30345 ac_cv_header_mspack_h=no
30348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30350 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30351 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30352 if test $ac_cv_header_mspack_h = yes; then
30357 if test "x$found_mspack_h" = "x1"; then
30358 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30359 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30360 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30361 echo $ECHO_N "(cached) $ECHO_C" >&6
30363 ac_check_lib_save_LIBS=$LIBS
30364 LIBS="-lmspack $LIBS"
30365 cat >conftest.$ac_ext <<_ACEOF
30368 cat confdefs.h >>conftest.$ac_ext
30369 cat >>conftest.$ac_ext <<_ACEOF
30370 /* end confdefs.h. */
30372 /* Override any GCC internal prototype to avoid an error.
30373 Use char because int might match the return type of a GCC
30374 builtin and then its argument prototype would still apply. */
30378 char mspack_create_chm_decompressor ();
30382 return mspack_create_chm_decompressor ();
30387 rm -f conftest.$ac_objext conftest$ac_exeext
30388 if { (ac_try="$ac_link"
30389 case "(($ac_try" in
30390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30391 *) ac_try_echo=$ac_try;;
30393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30394 (eval "$ac_link") 2>conftest.er1
30396 grep -v '^ *+' conftest.er1 >conftest.err
30398 cat conftest.err >&5
30399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400 (exit $ac_status); } && {
30401 test -z "$ac_c_werror_flag" ||
30402 test ! -s conftest.err
30403 } && test -s conftest$ac_exeext &&
30404 $as_test_x conftest$ac_exeext; then
30405 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30407 echo "$as_me: failed program was:" >&5
30408 sed 's/^/| /' conftest.$ac_ext >&5
30410 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30414 conftest$ac_exeext conftest.$ac_ext
30415 LIBS=$ac_check_lib_save_LIBS
30417 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30418 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30419 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30420 MSPACK_LINK=" -lmspack"
30424 if test "x$MSPACK_LINK" = "x" ; then
30429 if test "$wxUSE_LIBMSPACK" != "no"; then
30430 cat >>confdefs.h <<\_ACEOF
30431 #define wxUSE_LIBMSPACK 1
30445 if test "$USE_WIN32" = 1 ; then
30447 for ac_header in w32api.h
30449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30450 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30452 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30455 cat >conftest.$ac_ext <<_ACEOF
30458 cat confdefs.h >>conftest.$ac_ext
30459 cat >>conftest.$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30463 #include <$ac_header>
30465 rm -f conftest.$ac_objext
30466 if { (ac_try="$ac_compile"
30467 case "(($ac_try" in
30468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30469 *) ac_try_echo=$ac_try;;
30471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30472 (eval "$ac_compile") 2>conftest.er1
30474 grep -v '^ *+' conftest.er1 >conftest.err
30476 cat conftest.err >&5
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); } && {
30479 test -z "$ac_c_werror_flag" ||
30480 test ! -s conftest.err
30481 } && test -s conftest.$ac_objext; then
30482 eval "$as_ac_Header=yes"
30484 echo "$as_me: failed program was:" >&5
30485 sed 's/^/| /' conftest.$ac_ext >&5
30487 eval "$as_ac_Header=no"
30490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30492 ac_res=`eval echo '${'$as_ac_Header'}'`
30493 { echo "$as_me:$LINENO: result: $ac_res" >&5
30494 echo "${ECHO_T}$ac_res" >&6; }
30495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30496 cat >>confdefs.h <<_ACEOF
30497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30504 { echo "$as_me:$LINENO: checking for windows.h" >&5
30505 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30506 if test "${ac_cv_header_windows_h+set}" = set; then
30507 echo $ECHO_N "(cached) $ECHO_C" >&6
30509 cat >conftest.$ac_ext <<_ACEOF
30512 cat confdefs.h >>conftest.$ac_ext
30513 cat >>conftest.$ac_ext <<_ACEOF
30514 /* end confdefs.h. */
30517 #include <windows.h>
30519 rm -f conftest.$ac_objext
30520 if { (ac_try="$ac_compile"
30521 case "(($ac_try" in
30522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30523 *) ac_try_echo=$ac_try;;
30525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30526 (eval "$ac_compile") 2>conftest.er1
30528 grep -v '^ *+' conftest.er1 >conftest.err
30530 cat conftest.err >&5
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); } && {
30533 test -z "$ac_c_werror_flag" ||
30534 test ! -s conftest.err
30535 } && test -s conftest.$ac_objext; then
30536 ac_cv_header_windows_h=yes
30538 echo "$as_me: failed program was:" >&5
30539 sed 's/^/| /' conftest.$ac_ext >&5
30541 ac_cv_header_windows_h=no
30544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30546 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30547 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30548 if test $ac_cv_header_windows_h = yes; then
30552 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30553 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30554 { (exit 1); exit 1; }; }
30560 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30562 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30563 LIBS="$LIBS -loleacc"
30568 LIBS="$LIBS -lkernel32 -luser32"
30571 if test "$wxUSE_ODBC" = "sys" ; then
30574 if test "$wxUSE_ODBC" = "yes" ; then
30575 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30576 cat >>confdefs.h <<\_ACEOF
30577 #define wxUSE_ODBC 1
30582 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30583 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30585 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30587 WIN32INSTALL=win32install
30589 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30590 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30591 if test "${ac_cv_header_pbt_h+set}" = set; then
30592 echo $ECHO_N "(cached) $ECHO_C" >&6
30594 cat >conftest.$ac_ext <<_ACEOF
30597 cat confdefs.h >>conftest.$ac_ext
30598 cat >>conftest.$ac_ext <<_ACEOF
30599 /* end confdefs.h. */
30604 rm -f conftest.$ac_objext
30605 if { (ac_try="$ac_compile"
30606 case "(($ac_try" in
30607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30608 *) ac_try_echo=$ac_try;;
30610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30611 (eval "$ac_compile") 2>conftest.er1
30613 grep -v '^ *+' conftest.er1 >conftest.err
30615 cat conftest.err >&5
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); } && {
30618 test -z "$ac_c_werror_flag" ||
30619 test ! -s conftest.err
30620 } && test -s conftest.$ac_objext; then
30621 ac_cv_header_pbt_h=yes
30623 echo "$as_me: failed program was:" >&5
30624 sed 's/^/| /' conftest.$ac_ext >&5
30626 ac_cv_header_pbt_h=no
30629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30631 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30632 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30633 if test $ac_cv_header_pbt_h = yes; then
30636 cat >>confdefs.h <<\_ACEOF
30637 #define NEED_PBT_H 1
30645 if test "$wxUSE_GUI" = "yes"; then
30655 if test "$wxUSE_COCOA" = 1 ; then
30656 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30657 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30658 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30659 wxUSE_PRINTING_ARCHITECTURE=no
30661 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30662 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30663 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30664 wxUSE_DRAG_AND_DROP=no
30666 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30667 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30668 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30673 if test "$wxUSE_MSW" = 1 ; then
30679 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30683 if test "$wxUSE_GTK" = 1; then
30684 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30685 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30687 gtk_version_cached=1
30688 if test "${wx_cv_lib_gtk+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30692 gtk_version_cached=0
30693 { echo "$as_me:$LINENO: result: " >&5
30694 echo "${ECHO_T}" >&6; }
30697 if test "$wxUSE_THREADS" = "yes"; then
30698 GTK_MODULES=gthread
30702 if test "x$wxGTK_VERSION" != "x1"
30706 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30711 # Check whether --enable-gtktest was given.
30712 if test "${enable_gtktest+set}" = set; then
30713 enableval=$enable_gtktest;
30719 pkg_config_args=gtk+-2.0
30720 for module in . $GTK_MODULES
30724 pkg_config_args="$pkg_config_args gthread-2.0"
30731 # Extract the first word of "pkg-config", so it can be a program name with args.
30732 set dummy pkg-config; ac_word=$2
30733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30735 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30736 echo $ECHO_N "(cached) $ECHO_C" >&6
30738 case $PKG_CONFIG in
30740 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30744 for as_dir in $PATH
30747 test -z "$as_dir" && as_dir=.
30748 for ac_exec_ext in '' $ac_executable_extensions; do
30749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30750 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30758 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30762 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30763 if test -n "$PKG_CONFIG"; then
30764 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30765 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30767 { echo "$as_me:$LINENO: result: no" >&5
30768 echo "${ECHO_T}no" >&6; }
30773 if test x$PKG_CONFIG != xno ; then
30774 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30777 echo "*** pkg-config too old; version 0.7 or better required."
30785 min_gtk_version=2.0.0
30786 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30787 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30789 if test x$PKG_CONFIG != xno ; then
30790 ## don't try to run the test against uninstalled libtool libs
30791 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30792 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30796 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30803 if test x"$no_gtk" = x ; then
30804 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30805 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30806 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30807 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30808 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30809 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30810 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30811 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30812 if test "x$enable_gtktest" = "xyes" ; then
30813 ac_save_CFLAGS="$CFLAGS"
30814 ac_save_LIBS="$LIBS"
30815 CFLAGS="$CFLAGS $GTK_CFLAGS"
30816 LIBS="$GTK_LIBS $LIBS"
30818 if test "$cross_compiling" = yes; then
30819 echo $ac_n "cross compiling; assumed OK... $ac_c"
30821 cat >conftest.$ac_ext <<_ACEOF
30824 cat confdefs.h >>conftest.$ac_ext
30825 cat >>conftest.$ac_ext <<_ACEOF
30826 /* end confdefs.h. */
30828 #include <gtk/gtk.h>
30830 #include <stdlib.h>
30835 int major, minor, micro;
30838 system ("touch conf.gtktest");
30840 /* HP/UX 9 (%@#!) writes to sscanf strings */
30841 tmp_version = g_strdup("$min_gtk_version");
30842 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30843 printf("%s, bad version string\n", "$min_gtk_version");
30847 if ((gtk_major_version != $gtk_config_major_version) ||
30848 (gtk_minor_version != $gtk_config_minor_version) ||
30849 (gtk_micro_version != $gtk_config_micro_version))
30851 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30852 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30853 gtk_major_version, gtk_minor_version, gtk_micro_version);
30854 printf ("*** was found! If pkg-config was correct, then it is best\n");
30855 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30856 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30857 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30858 printf("*** required on your system.\n");
30859 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30860 printf("*** to point to the correct configuration files\n");
30862 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30863 (gtk_minor_version != GTK_MINOR_VERSION) ||
30864 (gtk_micro_version != GTK_MICRO_VERSION))
30866 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30867 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30868 printf("*** library (version %d.%d.%d)\n",
30869 gtk_major_version, gtk_minor_version, gtk_micro_version);
30873 if ((gtk_major_version > major) ||
30874 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30875 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30881 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30882 gtk_major_version, gtk_minor_version, gtk_micro_version);
30883 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30884 major, minor, micro);
30885 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30887 printf("*** If you have already installed a sufficiently new version, this error\n");
30888 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30889 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30890 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30891 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30892 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30893 printf("*** so that the correct libraries are found at run-time))\n");
30900 rm -f conftest$ac_exeext
30901 if { (ac_try="$ac_link"
30902 case "(($ac_try" in
30903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30904 *) ac_try_echo=$ac_try;;
30906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30907 (eval "$ac_link") 2>&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30911 { (case "(($ac_try" in
30912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30913 *) ac_try_echo=$ac_try;;
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_try") 2>&5
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); }; }; then
30922 echo "$as_me: program exited with status $ac_status" >&5
30923 echo "$as_me: failed program was:" >&5
30924 sed 's/^/| /' conftest.$ac_ext >&5
30926 ( exit $ac_status )
30929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30933 CFLAGS="$ac_save_CFLAGS"
30934 LIBS="$ac_save_LIBS"
30937 if test "x$no_gtk" = x ; then
30938 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30939 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30942 { echo "$as_me:$LINENO: result: no" >&5
30943 echo "${ECHO_T}no" >&6; }
30944 if test "$PKG_CONFIG" = "no" ; then
30945 echo "*** A new enough version of pkg-config was not found."
30946 echo "*** See http://pkgconfig.sourceforge.net"
30948 if test -f conf.gtktest ; then
30951 echo "*** Could not run GTK+ test program, checking why..."
30952 ac_save_CFLAGS="$CFLAGS"
30953 ac_save_LIBS="$LIBS"
30954 CFLAGS="$CFLAGS $GTK_CFLAGS"
30955 LIBS="$LIBS $GTK_LIBS"
30956 cat >conftest.$ac_ext <<_ACEOF
30959 cat confdefs.h >>conftest.$ac_ext
30960 cat >>conftest.$ac_ext <<_ACEOF
30961 /* end confdefs.h. */
30963 #include <gtk/gtk.h>
30969 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30974 rm -f conftest.$ac_objext conftest$ac_exeext
30975 if { (ac_try="$ac_link"
30976 case "(($ac_try" in
30977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30978 *) ac_try_echo=$ac_try;;
30980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30981 (eval "$ac_link") 2>conftest.er1
30983 grep -v '^ *+' conftest.er1 >conftest.err
30985 cat conftest.err >&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); } && {
30988 test -z "$ac_c_werror_flag" ||
30989 test ! -s conftest.err
30990 } && test -s conftest$ac_exeext &&
30991 $as_test_x conftest$ac_exeext; then
30992 echo "*** The test program compiled, but did not run. This usually means"
30993 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30994 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30995 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30996 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30997 echo "*** is required on your system"
30999 echo "*** If you have an old version installed, it is best to remove it, although"
31000 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31002 echo "$as_me: failed program was:" >&5
31003 sed 's/^/| /' conftest.$ac_ext >&5
31005 echo "*** The test program failed to compile or link. See the file config.log for the"
31006 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
31009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31010 conftest$ac_exeext conftest.$ac_ext
31011 CFLAGS="$ac_save_CFLAGS"
31012 LIBS="$ac_save_LIBS"
31026 if test "$wxUSE_SHARED" != "yes"; then
31027 GTK_LIBS="$GTK_LIBS -lX11"
31032 if test -z "$wx_cv_lib_gtk"; then
31033 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
31035 # Check whether --with-gtk-prefix was given.
31036 if test "${with_gtk_prefix+set}" = set; then
31037 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31039 gtk_config_prefix=""
31043 # Check whether --with-gtk-exec-prefix was given.
31044 if test "${with_gtk_exec_prefix+set}" = set; then
31045 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31047 gtk_config_exec_prefix=""
31050 # Check whether --enable-gtktest was given.
31051 if test "${enable_gtktest+set}" = set; then
31052 enableval=$enable_gtktest;
31058 for module in . $GTK_MODULES
31062 gtk_config_args="$gtk_config_args gthread"
31067 if test x$gtk_config_exec_prefix != x ; then
31068 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31069 if test x${GTK_CONFIG+set} != xset ; then
31070 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31073 if test x$gtk_config_prefix != x ; then
31074 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31075 if test x${GTK_CONFIG+set} != xset ; then
31076 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31080 # Extract the first word of "gtk-config", so it can be a program name with args.
31081 set dummy gtk-config; ac_word=$2
31082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31084 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31085 echo $ECHO_N "(cached) $ECHO_C" >&6
31087 case $GTK_CONFIG in
31089 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31093 for as_dir in $PATH
31096 test -z "$as_dir" && as_dir=.
31097 for ac_exec_ext in '' $ac_executable_extensions; do
31098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31099 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31107 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31111 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31112 if test -n "$GTK_CONFIG"; then
31113 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31114 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31116 { echo "$as_me:$LINENO: result: no" >&5
31117 echo "${ECHO_T}no" >&6; }
31121 min_gtk_version=1.2.7
31122 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31123 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31125 if test "$GTK_CONFIG" = "no" ; then
31128 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31129 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31130 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31132 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31134 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31136 if test "x$enable_gtktest" = "xyes" ; then
31137 ac_save_CFLAGS="$CFLAGS"
31138 ac_save_LIBS="$LIBS"
31139 CFLAGS="$CFLAGS $GTK_CFLAGS"
31140 LIBS="$GTK_LIBS $LIBS"
31142 if test "$cross_compiling" = yes; then
31143 echo $ac_n "cross compiling; assumed OK... $ac_c"
31145 cat >conftest.$ac_ext <<_ACEOF
31148 cat confdefs.h >>conftest.$ac_ext
31149 cat >>conftest.$ac_ext <<_ACEOF
31150 /* end confdefs.h. */
31152 #include <gtk/gtk.h>
31154 #include <stdlib.h>
31159 int major, minor, micro;
31162 system ("touch conf.gtktest");
31164 /* HP/UX 9 (%@#!) writes to sscanf strings */
31165 tmp_version = g_strdup("$min_gtk_version");
31166 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31167 printf("%s, bad version string\n", "$min_gtk_version");
31171 if ((gtk_major_version != $gtk_config_major_version) ||
31172 (gtk_minor_version != $gtk_config_minor_version) ||
31173 (gtk_micro_version != $gtk_config_micro_version))
31175 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31176 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31177 gtk_major_version, gtk_minor_version, gtk_micro_version);
31178 printf ("*** was found! If gtk-config was correct, then it is best\n");
31179 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31180 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31181 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31182 printf("*** required on your system.\n");
31183 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31184 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31185 printf("*** before re-running configure\n");
31187 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31188 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31189 (gtk_minor_version != GTK_MINOR_VERSION) ||
31190 (gtk_micro_version != GTK_MICRO_VERSION))
31192 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31193 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31194 printf("*** library (version %d.%d.%d)\n",
31195 gtk_major_version, gtk_minor_version, gtk_micro_version);
31197 #endif /* defined (GTK_MAJOR_VERSION) ... */
31200 if ((gtk_major_version > major) ||
31201 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31202 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31208 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31209 gtk_major_version, gtk_minor_version, gtk_micro_version);
31210 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31211 major, minor, micro);
31212 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31214 printf("*** If you have already installed a sufficiently new version, this error\n");
31215 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31216 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31217 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31218 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31219 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31220 printf("*** so that the correct libraries are found at run-time))\n");
31227 rm -f conftest$ac_exeext
31228 if { (ac_try="$ac_link"
31229 case "(($ac_try" in
31230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31231 *) ac_try_echo=$ac_try;;
31233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31234 (eval "$ac_link") 2>&5
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31238 { (case "(($ac_try" in
31239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31240 *) ac_try_echo=$ac_try;;
31242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31243 (eval "$ac_try") 2>&5
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); }; }; then
31249 echo "$as_me: program exited with status $ac_status" >&5
31250 echo "$as_me: failed program was:" >&5
31251 sed 's/^/| /' conftest.$ac_ext >&5
31253 ( exit $ac_status )
31256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31260 CFLAGS="$ac_save_CFLAGS"
31261 LIBS="$ac_save_LIBS"
31264 if test "x$no_gtk" = x ; then
31265 { echo "$as_me:$LINENO: result: yes" >&5
31266 echo "${ECHO_T}yes" >&6; }
31267 wx_cv_lib_gtk=1.2.7
31269 { echo "$as_me:$LINENO: result: no" >&5
31270 echo "${ECHO_T}no" >&6; }
31271 if test "$GTK_CONFIG" = "no" ; then
31272 echo "*** The gtk-config script installed by GTK could not be found"
31273 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31274 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31275 echo "*** full path to gtk-config."
31277 if test -f conf.gtktest ; then
31280 echo "*** Could not run GTK test program, checking why..."
31281 CFLAGS="$CFLAGS $GTK_CFLAGS"
31282 LIBS="$LIBS $GTK_LIBS"
31283 cat >conftest.$ac_ext <<_ACEOF
31286 cat confdefs.h >>conftest.$ac_ext
31287 cat >>conftest.$ac_ext <<_ACEOF
31288 /* end confdefs.h. */
31290 #include <gtk/gtk.h>
31296 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31301 rm -f conftest.$ac_objext conftest$ac_exeext
31302 if { (ac_try="$ac_link"
31303 case "(($ac_try" in
31304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31305 *) ac_try_echo=$ac_try;;
31307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31308 (eval "$ac_link") 2>conftest.er1
31310 grep -v '^ *+' conftest.er1 >conftest.err
31312 cat conftest.err >&5
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); } && {
31315 test -z "$ac_c_werror_flag" ||
31316 test ! -s conftest.err
31317 } && test -s conftest$ac_exeext &&
31318 $as_test_x conftest$ac_exeext; then
31319 echo "*** The test program compiled, but did not run. This usually means"
31320 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31321 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31322 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31323 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31324 echo "*** is required on your system"
31326 echo "*** If you have an old version installed, it is best to remove it, although"
31327 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31329 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31330 echo "*** came with the system with the command"
31332 echo "*** rpm --erase --nodeps gtk gtk-devel"
31334 echo "$as_me: failed program was:" >&5
31335 sed 's/^/| /' conftest.$ac_ext >&5
31337 echo "*** The test program failed to compile or link. See the file config.log for the"
31338 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31339 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31340 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31344 conftest$ac_exeext conftest.$ac_ext
31345 CFLAGS="$ac_save_CFLAGS"
31346 LIBS="$ac_save_LIBS"
31358 if test -z "$wx_cv_lib_gtk"; then
31360 # Check whether --with-gtk-prefix was given.
31361 if test "${with_gtk_prefix+set}" = set; then
31362 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31364 gtk_config_prefix=""
31368 # Check whether --with-gtk-exec-prefix was given.
31369 if test "${with_gtk_exec_prefix+set}" = set; then
31370 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31372 gtk_config_exec_prefix=""
31375 # Check whether --enable-gtktest was given.
31376 if test "${enable_gtktest+set}" = set; then
31377 enableval=$enable_gtktest;
31383 for module in . $GTK_MODULES
31387 gtk_config_args="$gtk_config_args gthread"
31392 if test x$gtk_config_exec_prefix != x ; then
31393 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31394 if test x${GTK_CONFIG+set} != xset ; then
31395 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31398 if test x$gtk_config_prefix != x ; then
31399 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31400 if test x${GTK_CONFIG+set} != xset ; then
31401 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31405 # Extract the first word of "gtk-config", so it can be a program name with args.
31406 set dummy gtk-config; ac_word=$2
31407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31409 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31410 echo $ECHO_N "(cached) $ECHO_C" >&6
31412 case $GTK_CONFIG in
31414 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31418 for as_dir in $PATH
31421 test -z "$as_dir" && as_dir=.
31422 for ac_exec_ext in '' $ac_executable_extensions; do
31423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31424 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31432 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31436 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31437 if test -n "$GTK_CONFIG"; then
31438 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31439 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31441 { echo "$as_me:$LINENO: result: no" >&5
31442 echo "${ECHO_T}no" >&6; }
31446 min_gtk_version=1.2.3
31447 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31448 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31450 if test "$GTK_CONFIG" = "no" ; then
31453 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31454 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31455 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31456 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31457 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31458 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31459 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31460 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31461 if test "x$enable_gtktest" = "xyes" ; then
31462 ac_save_CFLAGS="$CFLAGS"
31463 ac_save_LIBS="$LIBS"
31464 CFLAGS="$CFLAGS $GTK_CFLAGS"
31465 LIBS="$GTK_LIBS $LIBS"
31467 if test "$cross_compiling" = yes; then
31468 echo $ac_n "cross compiling; assumed OK... $ac_c"
31470 cat >conftest.$ac_ext <<_ACEOF
31473 cat confdefs.h >>conftest.$ac_ext
31474 cat >>conftest.$ac_ext <<_ACEOF
31475 /* end confdefs.h. */
31477 #include <gtk/gtk.h>
31479 #include <stdlib.h>
31484 int major, minor, micro;
31487 system ("touch conf.gtktest");
31489 /* HP/UX 9 (%@#!) writes to sscanf strings */
31490 tmp_version = g_strdup("$min_gtk_version");
31491 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31492 printf("%s, bad version string\n", "$min_gtk_version");
31496 if ((gtk_major_version != $gtk_config_major_version) ||
31497 (gtk_minor_version != $gtk_config_minor_version) ||
31498 (gtk_micro_version != $gtk_config_micro_version))
31500 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31501 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31502 gtk_major_version, gtk_minor_version, gtk_micro_version);
31503 printf ("*** was found! If gtk-config was correct, then it is best\n");
31504 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31505 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31506 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31507 printf("*** required on your system.\n");
31508 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31509 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31510 printf("*** before re-running configure\n");
31512 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31513 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31514 (gtk_minor_version != GTK_MINOR_VERSION) ||
31515 (gtk_micro_version != GTK_MICRO_VERSION))
31517 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31518 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31519 printf("*** library (version %d.%d.%d)\n",
31520 gtk_major_version, gtk_minor_version, gtk_micro_version);
31522 #endif /* defined (GTK_MAJOR_VERSION) ... */
31525 if ((gtk_major_version > major) ||
31526 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31527 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31533 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31534 gtk_major_version, gtk_minor_version, gtk_micro_version);
31535 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31536 major, minor, micro);
31537 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31539 printf("*** If you have already installed a sufficiently new version, this error\n");
31540 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31541 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31542 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31543 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31544 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31545 printf("*** so that the correct libraries are found at run-time))\n");
31552 rm -f conftest$ac_exeext
31553 if { (ac_try="$ac_link"
31554 case "(($ac_try" in
31555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31556 *) ac_try_echo=$ac_try;;
31558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31559 (eval "$ac_link") 2>&5
31561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31563 { (case "(($ac_try" in
31564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31565 *) ac_try_echo=$ac_try;;
31567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31568 (eval "$ac_try") 2>&5
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; }; then
31574 echo "$as_me: program exited with status $ac_status" >&5
31575 echo "$as_me: failed program was:" >&5
31576 sed 's/^/| /' conftest.$ac_ext >&5
31578 ( exit $ac_status )
31581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31585 CFLAGS="$ac_save_CFLAGS"
31586 LIBS="$ac_save_LIBS"
31589 if test "x$no_gtk" = x ; then
31590 { echo "$as_me:$LINENO: result: yes" >&5
31591 echo "${ECHO_T}yes" >&6; }
31592 wx_cv_lib_gtk=1.2.3
31594 { echo "$as_me:$LINENO: result: no" >&5
31595 echo "${ECHO_T}no" >&6; }
31596 if test "$GTK_CONFIG" = "no" ; then
31597 echo "*** The gtk-config script installed by GTK could not be found"
31598 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31599 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31600 echo "*** full path to gtk-config."
31602 if test -f conf.gtktest ; then
31605 echo "*** Could not run GTK test program, checking why..."
31606 CFLAGS="$CFLAGS $GTK_CFLAGS"
31607 LIBS="$LIBS $GTK_LIBS"
31608 cat >conftest.$ac_ext <<_ACEOF
31611 cat confdefs.h >>conftest.$ac_ext
31612 cat >>conftest.$ac_ext <<_ACEOF
31613 /* end confdefs.h. */
31615 #include <gtk/gtk.h>
31621 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31626 rm -f conftest.$ac_objext conftest$ac_exeext
31627 if { (ac_try="$ac_link"
31628 case "(($ac_try" in
31629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31630 *) ac_try_echo=$ac_try;;
31632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31633 (eval "$ac_link") 2>conftest.er1
31635 grep -v '^ *+' conftest.er1 >conftest.err
31637 cat conftest.err >&5
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); } && {
31640 test -z "$ac_c_werror_flag" ||
31641 test ! -s conftest.err
31642 } && test -s conftest$ac_exeext &&
31643 $as_test_x conftest$ac_exeext; then
31644 echo "*** The test program compiled, but did not run. This usually means"
31645 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31646 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31647 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31648 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31649 echo "*** is required on your system"
31651 echo "*** If you have an old version installed, it is best to remove it, although"
31652 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31654 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31655 echo "*** came with the system with the command"
31657 echo "*** rpm --erase --nodeps gtk gtk-devel"
31659 echo "$as_me: failed program was:" >&5
31660 sed 's/^/| /' conftest.$ac_ext >&5
31662 echo "*** The test program failed to compile or link. See the file config.log for the"
31663 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31664 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31665 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31669 conftest$ac_exeext conftest.$ac_ext
31670 CFLAGS="$ac_save_CFLAGS"
31671 LIBS="$ac_save_LIBS"
31686 if test -z "$wx_cv_lib_gtk"; then
31689 wx_cv_cflags_gtk=$GTK_CFLAGS
31690 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31697 if test "$gtk_version_cached" = 1; then
31698 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31699 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31702 case "$wx_cv_lib_gtk" in
31711 *) { { echo "$as_me:$LINENO: error:
31712 The development files for GTK+ were not found. For GTK+ 2, please
31713 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31714 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31715 and that the version is 1.2.3 or above. Also check that the
31716 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31717 --libs' are in the LD_LIBRARY_PATH or equivalent.
31719 echo "$as_me: error:
31720 The development files for GTK+ were not found. For GTK+ 2, please
31721 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31722 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31723 and that the version is 1.2.3 or above. Also check that the
31724 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31725 --libs' are in the LD_LIBRARY_PATH or equivalent.
31727 { (exit 1); exit 1; }; }
31731 if test "$WXGTK20" = 1; then
31732 save_CFLAGS="$CFLAGS"
31734 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31735 LIBS="$LIBS $wx_cv_libs_gtk"
31737 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31738 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31739 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31740 echo $ECHO_N "(cached) $ECHO_C" >&6
31742 cat >conftest.$ac_ext <<_ACEOF
31745 cat confdefs.h >>conftest.$ac_ext
31746 cat >>conftest.$ac_ext <<_ACEOF
31747 /* end confdefs.h. */
31748 #include <gtk/gtk.h>
31753 #ifndef gtk_icon_size_lookup
31754 (void) gtk_icon_size_lookup;
31761 rm -f conftest.$ac_objext
31762 if { (ac_try="$ac_compile"
31763 case "(($ac_try" in
31764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31765 *) ac_try_echo=$ac_try;;
31767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31768 (eval "$ac_compile") 2>conftest.er1
31770 grep -v '^ *+' conftest.er1 >conftest.err
31772 cat conftest.err >&5
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); } && {
31775 test -z "$ac_c_werror_flag" ||
31776 test ! -s conftest.err
31777 } && test -s conftest.$ac_objext; then
31778 ac_cv_have_decl_gtk_icon_size_lookup=yes
31780 echo "$as_me: failed program was:" >&5
31781 sed 's/^/| /' conftest.$ac_ext >&5
31783 ac_cv_have_decl_gtk_icon_size_lookup=no
31786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31788 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31789 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31790 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31792 cat >>confdefs.h <<_ACEOF
31793 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31798 cat >>confdefs.h <<_ACEOF
31799 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31802 cat >>confdefs.h <<\_ACEOF
31803 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31811 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31812 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31813 cat >conftest.$ac_ext <<_ACEOF
31816 cat confdefs.h >>conftest.$ac_ext
31817 cat >>conftest.$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31820 #include <gtk/gtk.h>
31826 #if !GTK_CHECK_VERSION(2,10,0)
31834 rm -f conftest.$ac_objext
31835 if { (ac_try="$ac_compile"
31836 case "(($ac_try" in
31837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31838 *) ac_try_echo=$ac_try;;
31840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31841 (eval "$ac_compile") 2>conftest.er1
31843 grep -v '^ *+' conftest.er1 >conftest.err
31845 cat conftest.err >&5
31846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31847 (exit $ac_status); } && {
31848 test -z "$ac_c_werror_flag" ||
31849 test ! -s conftest.err
31850 } && test -s conftest.$ac_objext; then
31852 cat >>confdefs.h <<\_ACEOF
31853 #define __WXGTK210__ 1
31856 cat >>confdefs.h <<\_ACEOF
31857 #define __WXGTK26__ 1
31860 cat >>confdefs.h <<\_ACEOF
31861 #define __WXGTK24__ 1
31864 { echo "$as_me:$LINENO: result: yes" >&5
31865 echo "${ECHO_T}yes" >&6; }
31869 echo "$as_me: failed program was:" >&5
31870 sed 's/^/| /' conftest.$ac_ext >&5
31873 { echo "$as_me:$LINENO: result: no" >&5
31874 echo "${ECHO_T}no" >&6; }
31879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31881 if test "$ac_wxgtk210" = 0; then
31882 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31883 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31884 cat >conftest.$ac_ext <<_ACEOF
31887 cat confdefs.h >>conftest.$ac_ext
31888 cat >>conftest.$ac_ext <<_ACEOF
31889 /* end confdefs.h. */
31891 #include <gtk/gtk.h>
31897 #if !GTK_CHECK_VERSION(2,6,0)
31905 rm -f conftest.$ac_objext
31906 if { (ac_try="$ac_compile"
31907 case "(($ac_try" in
31908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31909 *) ac_try_echo=$ac_try;;
31911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31912 (eval "$ac_compile") 2>conftest.er1
31914 grep -v '^ *+' conftest.er1 >conftest.err
31916 cat conftest.err >&5
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); } && {
31919 test -z "$ac_c_werror_flag" ||
31920 test ! -s conftest.err
31921 } && test -s conftest.$ac_objext; then
31923 cat >>confdefs.h <<\_ACEOF
31924 #define __WXGTK26__ 1
31927 cat >>confdefs.h <<\_ACEOF
31928 #define __WXGTK24__ 1
31931 { echo "$as_me:$LINENO: result: yes" >&5
31932 echo "${ECHO_T}yes" >&6; }
31936 echo "$as_me: failed program was:" >&5
31937 sed 's/^/| /' conftest.$ac_ext >&5
31940 { echo "$as_me:$LINENO: result: no" >&5
31941 echo "${ECHO_T}no" >&6; }
31946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31949 if test "$ac_wxgtk26" = 0; then
31950 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31951 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31952 cat >conftest.$ac_ext <<_ACEOF
31955 cat confdefs.h >>conftest.$ac_ext
31956 cat >>conftest.$ac_ext <<_ACEOF
31957 /* end confdefs.h. */
31959 #include <gtk/gtk.h>
31965 #if !GTK_CHECK_VERSION(2,4,0)
31973 rm -f conftest.$ac_objext
31974 if { (ac_try="$ac_compile"
31975 case "(($ac_try" in
31976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31977 *) ac_try_echo=$ac_try;;
31979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31980 (eval "$ac_compile") 2>conftest.er1
31982 grep -v '^ *+' conftest.er1 >conftest.err
31984 cat conftest.err >&5
31985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31986 (exit $ac_status); } && {
31987 test -z "$ac_c_werror_flag" ||
31988 test ! -s conftest.err
31989 } && test -s conftest.$ac_objext; then
31991 cat >>confdefs.h <<\_ACEOF
31992 #define __WXGTK24__ 1
31995 { echo "$as_me:$LINENO: result: yes" >&5
31996 echo "${ECHO_T}yes" >&6; }
31999 echo "$as_me: failed program was:" >&5
32000 sed 's/^/| /' conftest.$ac_ext >&5
32003 { echo "$as_me:$LINENO: result: no" >&5
32004 echo "${ECHO_T}no" >&6; }
32008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32011 CFLAGS="$save_CFLAGS"
32014 if test "$wxUSE_UNICODE" = "yes"; then
32015 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
32016 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
32020 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
32021 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
32022 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
32023 echo $ECHO_N "(cached) $ECHO_C" >&6
32025 ac_check_lib_save_LIBS=$LIBS
32027 cat >conftest.$ac_ext <<_ACEOF
32030 cat confdefs.h >>conftest.$ac_ext
32031 cat >>conftest.$ac_ext <<_ACEOF
32032 /* end confdefs.h. */
32034 /* Override any GCC internal prototype to avoid an error.
32035 Use char because int might match the return type of a GCC
32036 builtin and then its argument prototype would still apply. */
32040 char gdk_im_open ();
32044 return gdk_im_open ();
32049 rm -f conftest.$ac_objext conftest$ac_exeext
32050 if { (ac_try="$ac_link"
32051 case "(($ac_try" in
32052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32053 *) ac_try_echo=$ac_try;;
32055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32056 (eval "$ac_link") 2>conftest.er1
32058 grep -v '^ *+' conftest.er1 >conftest.err
32060 cat conftest.err >&5
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); } && {
32063 test -z "$ac_c_werror_flag" ||
32064 test ! -s conftest.err
32065 } && test -s conftest$ac_exeext &&
32066 $as_test_x conftest$ac_exeext; then
32067 ac_cv_lib_gdk_gdk_im_open=yes
32069 echo "$as_me: failed program was:" >&5
32070 sed 's/^/| /' conftest.$ac_ext >&5
32072 ac_cv_lib_gdk_gdk_im_open=no
32075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32076 conftest$ac_exeext conftest.$ac_ext
32077 LIBS=$ac_check_lib_save_LIBS
32079 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
32080 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
32081 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
32082 cat >>confdefs.h <<\_ACEOF
32089 if test "$USE_DARWIN" != 1; then
32091 for ac_func in poll
32093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32094 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32096 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32097 echo $ECHO_N "(cached) $ECHO_C" >&6
32099 cat >conftest.$ac_ext <<_ACEOF
32102 cat confdefs.h >>conftest.$ac_ext
32103 cat >>conftest.$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32107 #define $ac_func innocuous_$ac_func
32109 /* System header to define __stub macros and hopefully few prototypes,
32110 which can conflict with char $ac_func (); below.
32111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32112 <limits.h> exists even on freestanding compilers. */
32115 # include <limits.h>
32117 # include <assert.h>
32122 /* Override any GCC internal prototype to avoid an error.
32123 Use char because int might match the return type of a GCC
32124 builtin and then its argument prototype would still apply. */
32129 /* The GNU C library defines this for functions which it implements
32130 to always fail with ENOSYS. Some functions are actually named
32131 something starting with __ and the normal name is an alias. */
32132 #if defined __stub_$ac_func || defined __stub___$ac_func
32139 return $ac_func ();
32144 rm -f conftest.$ac_objext conftest$ac_exeext
32145 if { (ac_try="$ac_link"
32146 case "(($ac_try" in
32147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32148 *) ac_try_echo=$ac_try;;
32150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32151 (eval "$ac_link") 2>conftest.er1
32153 grep -v '^ *+' conftest.er1 >conftest.err
32155 cat conftest.err >&5
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); } && {
32158 test -z "$ac_c_werror_flag" ||
32159 test ! -s conftest.err
32160 } && test -s conftest$ac_exeext &&
32161 $as_test_x conftest$ac_exeext; then
32162 eval "$as_ac_var=yes"
32164 echo "$as_me: failed program was:" >&5
32165 sed 's/^/| /' conftest.$ac_ext >&5
32167 eval "$as_ac_var=no"
32170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32171 conftest$ac_exeext conftest.$ac_ext
32173 ac_res=`eval echo '${'$as_ac_var'}'`
32174 { echo "$as_me:$LINENO: result: $ac_res" >&5
32175 echo "${ECHO_T}$ac_res" >&6; }
32176 if test `eval echo '${'$as_ac_var'}'` = yes; then
32177 cat >>confdefs.h <<_ACEOF
32178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32187 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32188 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32190 AFMINSTALL=afminstall
32194 if test "$wxUSE_GPE" = "yes"; then
32195 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32196 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32199 for ac_dir in $SEARCH_LIB;
32201 for ac_extension in a so sl dylib dll.a; do
32202 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32203 ac_find_libraries=$ac_dir
32209 if test "$ac_find_libraries" != "" ; then
32211 if test "$ac_find_libraries" = "default location"; then
32214 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32216 if test $result = 0; then
32219 ac_path_to_link=" -L$ac_find_libraries"
32223 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32225 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32226 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32228 { echo "$as_me:$LINENO: result: not found" >&5
32229 echo "${ECHO_T}not found" >&6; }
32235 if test "$wxUSE_MGL" = 1; then
32236 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32237 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32238 if test "x$MGL_ROOT" = x ; then
32239 { echo "$as_me:$LINENO: result: not found" >&5
32240 echo "${ECHO_T}not found" >&6; }
32241 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32242 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32243 { (exit 1); exit 1; }; }
32245 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32246 echo "${ECHO_T}$MGL_ROOT" >&6; }
32249 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32250 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32253 if test "x$wxUSE_SHARED" = xyes ; then
32254 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32256 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32260 mgl_os_candidates="dos32/dj2"
32263 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32264 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32265 { (exit 1); exit 1; }; }
32271 for mgl_os_i in $mgl_os_candidates ; do
32272 if test "x$mgl_os" = x ; then
32273 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32274 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32275 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32280 if test "x$mgl_lib_type" = x ; then
32281 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32282 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32283 mgl_lib_type=release
32290 if test "x$mgl_os" = x ; then
32291 { echo "$as_me:$LINENO: result: not found" >&5
32292 echo "${ECHO_T}not found" >&6; }
32293 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32294 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32295 { (exit 1); exit 1; }; }
32297 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32298 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32300 wxUSE_UNIVERSAL="yes"
32302 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32303 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32305 AFMINSTALL=afminstall
32310 if test "$wxUSE_DFB" = 1; then
32313 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32314 if test -n "$ac_tool_prefix"; then
32315 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32316 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32319 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32320 echo $ECHO_N "(cached) $ECHO_C" >&6
32322 case $PKG_CONFIG in
32324 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32328 for as_dir in $PATH
32331 test -z "$as_dir" && as_dir=.
32332 for ac_exec_ext in '' $ac_executable_extensions; do
32333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32334 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32345 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32346 if test -n "$PKG_CONFIG"; then
32347 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32348 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32350 { echo "$as_me:$LINENO: result: no" >&5
32351 echo "${ECHO_T}no" >&6; }
32356 if test -z "$ac_cv_path_PKG_CONFIG"; then
32357 ac_pt_PKG_CONFIG=$PKG_CONFIG
32358 # Extract the first word of "pkg-config", so it can be a program name with args.
32359 set dummy pkg-config; ac_word=$2
32360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32362 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 case $ac_pt_PKG_CONFIG in
32367 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32371 for as_dir in $PATH
32374 test -z "$as_dir" && as_dir=.
32375 for ac_exec_ext in '' $ac_executable_extensions; do
32376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32377 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32388 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32389 if test -n "$ac_pt_PKG_CONFIG"; then
32390 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32391 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32393 { echo "$as_me:$LINENO: result: no" >&5
32394 echo "${ECHO_T}no" >&6; }
32397 if test "x$ac_pt_PKG_CONFIG" = x; then
32400 case $cross_compiling:$ac_tool_warned in
32402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32403 whose name does not start with the host triplet. If you think this
32404 configuration is useful to you, please write to autoconf@gnu.org." >&5
32405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32406 whose name does not start with the host triplet. If you think this
32407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32408 ac_tool_warned=yes ;;
32410 PKG_CONFIG=$ac_pt_PKG_CONFIG
32413 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32417 if test -n "$PKG_CONFIG"; then
32418 _pkg_min_version=0.9.0
32419 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32420 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32421 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32422 { echo "$as_me:$LINENO: result: yes" >&5
32423 echo "${ECHO_T}yes" >&6; }
32425 { echo "$as_me:$LINENO: result: no" >&5
32426 echo "${ECHO_T}no" >&6; }
32434 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32435 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32437 if test -n "$PKG_CONFIG"; then
32438 if test -n "$DIRECTFB_CFLAGS"; then
32439 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32441 if test -n "$PKG_CONFIG" && \
32442 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32443 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); }; then
32447 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32455 if test -n "$PKG_CONFIG"; then
32456 if test -n "$DIRECTFB_LIBS"; then
32457 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32459 if test -n "$PKG_CONFIG" && \
32460 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32461 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); }; then
32465 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32476 if test $pkg_failed = yes; then
32478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32479 _pkg_short_errors_supported=yes
32481 _pkg_short_errors_supported=no
32483 if test $_pkg_short_errors_supported = yes; then
32484 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32486 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32488 # Put the nasty error message in config.log where it belongs
32489 echo "$DIRECTFB_PKG_ERRORS" >&5
32492 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32493 echo "$as_me: error: DirectFB not found." >&2;}
32494 { (exit 1); exit 1; }; }
32497 elif test $pkg_failed = untried; then
32499 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32500 echo "$as_me: error: DirectFB not found." >&2;}
32501 { (exit 1); exit 1; }; }
32505 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32506 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32507 { echo "$as_me:$LINENO: result: yes" >&5
32508 echo "${ECHO_T}yes" >&6; }
32510 wxUSE_UNIVERSAL="yes"
32511 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32512 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32519 if test "$wxUSE_MICROWIN" = 1; then
32520 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32521 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32522 if test "x$MICROWINDOWS" = x ; then
32523 { echo "$as_me:$LINENO: result: not found" >&5
32524 echo "${ECHO_T}not found" >&6; }
32525 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32526 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32527 { (exit 1); exit 1; }; }
32529 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32530 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32533 if test -f $MICROWINDOWS/lib/libmwin.a; then
32534 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32535 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32537 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32538 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32539 { (exit 1); exit 1; }; }
32542 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32543 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32545 wxUSE_UNIVERSAL="yes"
32547 AFMINSTALL=afminstall
32549 GUIDIST=MICROWIN_DIST
32551 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32554 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32555 { echo "$as_me:$LINENO: checking for X" >&5
32556 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32559 # Check whether --with-x was given.
32560 if test "${with_x+set}" = set; then
32564 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32565 if test "x$with_x" = xno; then
32566 # The user explicitly disabled X.
32569 case $x_includes,$x_libraries in #(
32570 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32571 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32572 { (exit 1); exit 1; }; };; #(
32573 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32574 echo $ECHO_N "(cached) $ECHO_C" >&6
32576 # One or both of the vars are not set, and there is no cached value.
32577 ac_x_includes=no ac_x_libraries=no
32578 rm -f -r conftest.dir
32579 if mkdir conftest.dir; then
32581 cat >Imakefile <<'_ACEOF'
32583 @echo incroot='${INCROOT}'
32585 @echo usrlibdir='${USRLIBDIR}'
32587 @echo libdir='${LIBDIR}'
32589 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32590 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32591 for ac_var in incroot usrlibdir libdir; do
32592 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32594 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32595 for ac_extension in a so sl; do
32596 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32597 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32598 ac_im_usrlibdir=$ac_im_libdir; break
32601 # Screen out bogus values from the imake configuration. They are
32602 # bogus both because they are the default anyway, and because
32603 # using them would break gcc on systems where it needs fixed includes.
32604 case $ac_im_incroot in
32605 /usr/include) ac_x_includes= ;;
32606 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32608 case $ac_im_usrlibdir in
32609 /usr/lib | /lib) ;;
32610 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32614 rm -f -r conftest.dir
32617 # Standard set of common directories for X headers.
32618 # Check X11 before X11Rn because it is often a symlink to the current release.
32630 /usr/local/X11/include
32631 /usr/local/X11R6/include
32632 /usr/local/X11R5/include
32633 /usr/local/X11R4/include
32635 /usr/local/include/X11
32636 /usr/local/include/X11R6
32637 /usr/local/include/X11R5
32638 /usr/local/include/X11R4
32642 /usr/XFree86/include/X11
32646 /usr/unsupported/include
32647 /usr/athena/include
32648 /usr/local/x11r5/include
32649 /usr/lpp/Xamples/include
32651 /usr/openwin/include
32652 /usr/openwin/share/include'
32654 if test "$ac_x_includes" = no; then
32655 # Guess where to find include files, by looking for Xlib.h.
32656 # First, try using that file with no special directory specified.
32657 cat >conftest.$ac_ext <<_ACEOF
32660 cat confdefs.h >>conftest.$ac_ext
32661 cat >>conftest.$ac_ext <<_ACEOF
32662 /* end confdefs.h. */
32663 #include <X11/Xlib.h>
32665 if { (ac_try="$ac_cpp conftest.$ac_ext"
32666 case "(($ac_try" in
32667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32668 *) ac_try_echo=$ac_try;;
32670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32673 grep -v '^ *+' conftest.er1 >conftest.err
32675 cat conftest.err >&5
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); } >/dev/null && {
32678 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32679 test ! -s conftest.err
32681 # We can compile using X headers with no special include directory.
32684 echo "$as_me: failed program was:" >&5
32685 sed 's/^/| /' conftest.$ac_ext >&5
32687 for ac_dir in $ac_x_header_dirs; do
32688 if test -r "$ac_dir/X11/Xlib.h"; then
32689 ac_x_includes=$ac_dir
32695 rm -f conftest.err conftest.$ac_ext
32696 fi # $ac_x_includes = no
32698 if test "$ac_x_libraries" = no; then
32699 # Check for the libraries.
32700 # See if we find them without any special options.
32701 # Don't add to $LIBS permanently.
32704 cat >conftest.$ac_ext <<_ACEOF
32707 cat confdefs.h >>conftest.$ac_ext
32708 cat >>conftest.$ac_ext <<_ACEOF
32709 /* end confdefs.h. */
32710 #include <X11/Xlib.h>
32719 rm -f conftest.$ac_objext conftest$ac_exeext
32720 if { (ac_try="$ac_link"
32721 case "(($ac_try" in
32722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32723 *) ac_try_echo=$ac_try;;
32725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32726 (eval "$ac_link") 2>conftest.er1
32728 grep -v '^ *+' conftest.er1 >conftest.err
32730 cat conftest.err >&5
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); } && {
32733 test -z "$ac_c_werror_flag" ||
32734 test ! -s conftest.err
32735 } && test -s conftest$ac_exeext &&
32736 $as_test_x conftest$ac_exeext; then
32738 # We can link X programs with no special library path.
32741 echo "$as_me: failed program was:" >&5
32742 sed 's/^/| /' conftest.$ac_ext >&5
32745 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32747 # Don't even attempt the hair of trying to link an X program!
32748 for ac_extension in a so sl; do
32749 if test -r "$ac_dir/libX11.$ac_extension"; then
32750 ac_x_libraries=$ac_dir
32757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32758 conftest$ac_exeext conftest.$ac_ext
32759 fi # $ac_x_libraries = no
32761 case $ac_x_includes,$ac_x_libraries in #(
32762 no,* | *,no | *\'*)
32763 # Didn't find X, or a directory has "'" in its name.
32764 ac_cv_have_x="have_x=no";; #(
32766 # Record where we found X for the cache.
32767 ac_cv_have_x="have_x=yes\
32768 ac_x_includes='$ac_x_includes'\
32769 ac_x_libraries='$ac_x_libraries'"
32775 eval "$ac_cv_have_x"
32778 if test "$have_x" != yes; then
32779 { echo "$as_me:$LINENO: result: $have_x" >&5
32780 echo "${ECHO_T}$have_x" >&6; }
32783 # If each of the values was on the command line, it overrides each guess.
32784 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32785 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32786 # Update the cache value to reflect the command line values.
32787 ac_cv_have_x="have_x=yes\
32788 ac_x_includes='$x_includes'\
32789 ac_x_libraries='$x_libraries'"
32790 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32791 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32794 if test "$no_x" = yes; then
32795 # Not all programs may use this symbol, but it does not hurt to define it.
32797 cat >>confdefs.h <<\_ACEOF
32798 #define X_DISPLAY_MISSING 1
32801 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32803 if test -n "$x_includes"; then
32804 X_CFLAGS="$X_CFLAGS -I$x_includes"
32807 # It would also be nice to do this for all -L options, not just this one.
32808 if test -n "$x_libraries"; then
32809 X_LIBS="$X_LIBS -L$x_libraries"
32810 # For Solaris; some versions of Sun CC require a space after -R and
32811 # others require no space. Words are not sufficient . . . .
32812 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32813 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32814 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32815 ac_xsave_c_werror_flag=$ac_c_werror_flag
32816 ac_c_werror_flag=yes
32817 cat >conftest.$ac_ext <<_ACEOF
32820 cat confdefs.h >>conftest.$ac_ext
32821 cat >>conftest.$ac_ext <<_ACEOF
32822 /* end confdefs.h. */
32832 rm -f conftest.$ac_objext conftest$ac_exeext
32833 if { (ac_try="$ac_link"
32834 case "(($ac_try" in
32835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32836 *) ac_try_echo=$ac_try;;
32838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32839 (eval "$ac_link") 2>conftest.er1
32841 grep -v '^ *+' conftest.er1 >conftest.err
32843 cat conftest.err >&5
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); } && {
32846 test -z "$ac_c_werror_flag" ||
32847 test ! -s conftest.err
32848 } && test -s conftest$ac_exeext &&
32849 $as_test_x conftest$ac_exeext; then
32850 { echo "$as_me:$LINENO: result: no" >&5
32851 echo "${ECHO_T}no" >&6; }
32852 X_LIBS="$X_LIBS -R$x_libraries"
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32857 LIBS="$ac_xsave_LIBS -R $x_libraries"
32858 cat >conftest.$ac_ext <<_ACEOF
32861 cat confdefs.h >>conftest.$ac_ext
32862 cat >>conftest.$ac_ext <<_ACEOF
32863 /* end confdefs.h. */
32873 rm -f conftest.$ac_objext conftest$ac_exeext
32874 if { (ac_try="$ac_link"
32875 case "(($ac_try" in
32876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32877 *) ac_try_echo=$ac_try;;
32879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32880 (eval "$ac_link") 2>conftest.er1
32882 grep -v '^ *+' conftest.er1 >conftest.err
32884 cat conftest.err >&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } && {
32887 test -z "$ac_c_werror_flag" ||
32888 test ! -s conftest.err
32889 } && test -s conftest$ac_exeext &&
32890 $as_test_x conftest$ac_exeext; then
32891 { echo "$as_me:$LINENO: result: yes" >&5
32892 echo "${ECHO_T}yes" >&6; }
32893 X_LIBS="$X_LIBS -R $x_libraries"
32895 echo "$as_me: failed program was:" >&5
32896 sed 's/^/| /' conftest.$ac_ext >&5
32898 { echo "$as_me:$LINENO: result: neither works" >&5
32899 echo "${ECHO_T}neither works" >&6; }
32902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32903 conftest$ac_exeext conftest.$ac_ext
32906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32907 conftest$ac_exeext conftest.$ac_ext
32908 ac_c_werror_flag=$ac_xsave_c_werror_flag
32909 LIBS=$ac_xsave_LIBS
32912 # Check for system-dependent libraries X programs must link with.
32913 # Do this before checking for the system-independent R6 libraries
32914 # (-lICE), since we may need -lsocket or whatever for X linking.
32916 if test "$ISC" = yes; then
32917 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32919 # Martyn Johnson says this is needed for Ultrix, if the X
32920 # libraries were built with DECnet support. And Karl Berry says
32921 # the Alpha needs dnet_stub (dnet does not exist).
32922 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32923 cat >conftest.$ac_ext <<_ACEOF
32926 cat confdefs.h >>conftest.$ac_ext
32927 cat >>conftest.$ac_ext <<_ACEOF
32928 /* end confdefs.h. */
32930 /* Override any GCC internal prototype to avoid an error.
32931 Use char because int might match the return type of a GCC
32932 builtin and then its argument prototype would still apply. */
32936 char XOpenDisplay ();
32940 return XOpenDisplay ();
32945 rm -f conftest.$ac_objext conftest$ac_exeext
32946 if { (ac_try="$ac_link"
32947 case "(($ac_try" in
32948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32949 *) ac_try_echo=$ac_try;;
32951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32952 (eval "$ac_link") 2>conftest.er1
32954 grep -v '^ *+' conftest.er1 >conftest.err
32956 cat conftest.err >&5
32957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32958 (exit $ac_status); } && {
32959 test -z "$ac_c_werror_flag" ||
32960 test ! -s conftest.err
32961 } && test -s conftest$ac_exeext &&
32962 $as_test_x conftest$ac_exeext; then
32965 echo "$as_me: failed program was:" >&5
32966 sed 's/^/| /' conftest.$ac_ext >&5
32968 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32969 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32970 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32971 echo $ECHO_N "(cached) $ECHO_C" >&6
32973 ac_check_lib_save_LIBS=$LIBS
32974 LIBS="-ldnet $LIBS"
32975 cat >conftest.$ac_ext <<_ACEOF
32978 cat confdefs.h >>conftest.$ac_ext
32979 cat >>conftest.$ac_ext <<_ACEOF
32980 /* end confdefs.h. */
32982 /* Override any GCC internal prototype to avoid an error.
32983 Use char because int might match the return type of a GCC
32984 builtin and then its argument prototype would still apply. */
32992 return dnet_ntoa ();
32997 rm -f conftest.$ac_objext conftest$ac_exeext
32998 if { (ac_try="$ac_link"
32999 case "(($ac_try" in
33000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33001 *) ac_try_echo=$ac_try;;
33003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33004 (eval "$ac_link") 2>conftest.er1
33006 grep -v '^ *+' conftest.er1 >conftest.err
33008 cat conftest.err >&5
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); } && {
33011 test -z "$ac_c_werror_flag" ||
33012 test ! -s conftest.err
33013 } && test -s conftest$ac_exeext &&
33014 $as_test_x conftest$ac_exeext; then
33015 ac_cv_lib_dnet_dnet_ntoa=yes
33017 echo "$as_me: failed program was:" >&5
33018 sed 's/^/| /' conftest.$ac_ext >&5
33020 ac_cv_lib_dnet_dnet_ntoa=no
33023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33024 conftest$ac_exeext conftest.$ac_ext
33025 LIBS=$ac_check_lib_save_LIBS
33027 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
33028 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
33029 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
33030 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
33033 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
33034 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
33035 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
33036 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
33037 echo $ECHO_N "(cached) $ECHO_C" >&6
33039 ac_check_lib_save_LIBS=$LIBS
33040 LIBS="-ldnet_stub $LIBS"
33041 cat >conftest.$ac_ext <<_ACEOF
33044 cat confdefs.h >>conftest.$ac_ext
33045 cat >>conftest.$ac_ext <<_ACEOF
33046 /* end confdefs.h. */
33048 /* Override any GCC internal prototype to avoid an error.
33049 Use char because int might match the return type of a GCC
33050 builtin and then its argument prototype would still apply. */
33058 return dnet_ntoa ();
33063 rm -f conftest.$ac_objext conftest$ac_exeext
33064 if { (ac_try="$ac_link"
33065 case "(($ac_try" in
33066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33067 *) ac_try_echo=$ac_try;;
33069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33070 (eval "$ac_link") 2>conftest.er1
33072 grep -v '^ *+' conftest.er1 >conftest.err
33074 cat conftest.err >&5
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); } && {
33077 test -z "$ac_c_werror_flag" ||
33078 test ! -s conftest.err
33079 } && test -s conftest$ac_exeext &&
33080 $as_test_x conftest$ac_exeext; then
33081 ac_cv_lib_dnet_stub_dnet_ntoa=yes
33083 echo "$as_me: failed program was:" >&5
33084 sed 's/^/| /' conftest.$ac_ext >&5
33086 ac_cv_lib_dnet_stub_dnet_ntoa=no
33089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33090 conftest$ac_exeext conftest.$ac_ext
33091 LIBS=$ac_check_lib_save_LIBS
33093 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
33094 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
33095 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
33096 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
33102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33103 conftest$ac_exeext conftest.$ac_ext
33104 LIBS="$ac_xsave_LIBS"
33106 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33107 # to get the SysV transport functions.
33108 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33110 # The nsl library prevents programs from opening the X display
33111 # on Irix 5.2, according to T.E. Dickey.
33112 # The functions gethostbyname, getservbyname, and inet_addr are
33113 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33114 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33115 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33116 if test "${ac_cv_func_gethostbyname+set}" = set; then
33117 echo $ECHO_N "(cached) $ECHO_C" >&6
33119 cat >conftest.$ac_ext <<_ACEOF
33122 cat confdefs.h >>conftest.$ac_ext
33123 cat >>conftest.$ac_ext <<_ACEOF
33124 /* end confdefs.h. */
33125 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33127 #define gethostbyname innocuous_gethostbyname
33129 /* System header to define __stub macros and hopefully few prototypes,
33130 which can conflict with char gethostbyname (); below.
33131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33132 <limits.h> exists even on freestanding compilers. */
33135 # include <limits.h>
33137 # include <assert.h>
33140 #undef gethostbyname
33142 /* Override any GCC internal prototype to avoid an error.
33143 Use char because int might match the return type of a GCC
33144 builtin and then its argument prototype would still apply. */
33148 char gethostbyname ();
33149 /* The GNU C library defines this for functions which it implements
33150 to always fail with ENOSYS. Some functions are actually named
33151 something starting with __ and the normal name is an alias. */
33152 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33159 return gethostbyname ();
33164 rm -f conftest.$ac_objext conftest$ac_exeext
33165 if { (ac_try="$ac_link"
33166 case "(($ac_try" in
33167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33168 *) ac_try_echo=$ac_try;;
33170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33171 (eval "$ac_link") 2>conftest.er1
33173 grep -v '^ *+' conftest.er1 >conftest.err
33175 cat conftest.err >&5
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); } && {
33178 test -z "$ac_c_werror_flag" ||
33179 test ! -s conftest.err
33180 } && test -s conftest$ac_exeext &&
33181 $as_test_x conftest$ac_exeext; then
33182 ac_cv_func_gethostbyname=yes
33184 echo "$as_me: failed program was:" >&5
33185 sed 's/^/| /' conftest.$ac_ext >&5
33187 ac_cv_func_gethostbyname=no
33190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33191 conftest$ac_exeext conftest.$ac_ext
33193 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33194 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33196 if test $ac_cv_func_gethostbyname = no; then
33197 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33198 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33199 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33200 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 ac_check_lib_save_LIBS=$LIBS
33204 cat >conftest.$ac_ext <<_ACEOF
33207 cat confdefs.h >>conftest.$ac_ext
33208 cat >>conftest.$ac_ext <<_ACEOF
33209 /* end confdefs.h. */
33211 /* Override any GCC internal prototype to avoid an error.
33212 Use char because int might match the return type of a GCC
33213 builtin and then its argument prototype would still apply. */
33217 char gethostbyname ();
33221 return gethostbyname ();
33226 rm -f conftest.$ac_objext conftest$ac_exeext
33227 if { (ac_try="$ac_link"
33228 case "(($ac_try" in
33229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33230 *) ac_try_echo=$ac_try;;
33232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33233 (eval "$ac_link") 2>conftest.er1
33235 grep -v '^ *+' conftest.er1 >conftest.err
33237 cat conftest.err >&5
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); } && {
33240 test -z "$ac_c_werror_flag" ||
33241 test ! -s conftest.err
33242 } && test -s conftest$ac_exeext &&
33243 $as_test_x conftest$ac_exeext; then
33244 ac_cv_lib_nsl_gethostbyname=yes
33246 echo "$as_me: failed program was:" >&5
33247 sed 's/^/| /' conftest.$ac_ext >&5
33249 ac_cv_lib_nsl_gethostbyname=no
33252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33253 conftest$ac_exeext conftest.$ac_ext
33254 LIBS=$ac_check_lib_save_LIBS
33256 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33257 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33258 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33259 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33262 if test $ac_cv_lib_nsl_gethostbyname = no; then
33263 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33264 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33265 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33266 echo $ECHO_N "(cached) $ECHO_C" >&6
33268 ac_check_lib_save_LIBS=$LIBS
33270 cat >conftest.$ac_ext <<_ACEOF
33273 cat confdefs.h >>conftest.$ac_ext
33274 cat >>conftest.$ac_ext <<_ACEOF
33275 /* end confdefs.h. */
33277 /* Override any GCC internal prototype to avoid an error.
33278 Use char because int might match the return type of a GCC
33279 builtin and then its argument prototype would still apply. */
33283 char gethostbyname ();
33287 return gethostbyname ();
33292 rm -f conftest.$ac_objext conftest$ac_exeext
33293 if { (ac_try="$ac_link"
33294 case "(($ac_try" in
33295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33296 *) ac_try_echo=$ac_try;;
33298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33299 (eval "$ac_link") 2>conftest.er1
33301 grep -v '^ *+' conftest.er1 >conftest.err
33303 cat conftest.err >&5
33304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33305 (exit $ac_status); } && {
33306 test -z "$ac_c_werror_flag" ||
33307 test ! -s conftest.err
33308 } && test -s conftest$ac_exeext &&
33309 $as_test_x conftest$ac_exeext; then
33310 ac_cv_lib_bsd_gethostbyname=yes
33312 echo "$as_me: failed program was:" >&5
33313 sed 's/^/| /' conftest.$ac_ext >&5
33315 ac_cv_lib_bsd_gethostbyname=no
33318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33319 conftest$ac_exeext conftest.$ac_ext
33320 LIBS=$ac_check_lib_save_LIBS
33322 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33323 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33324 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33325 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33331 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33332 # socket/setsockopt and other routines are undefined under SCO ODT
33333 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33334 # on later versions), says Simon Leinen: it contains gethostby*
33335 # variants that don't use the name server (or something). -lsocket
33336 # must be given before -lnsl if both are needed. We assume that
33337 # if connect needs -lnsl, so does gethostbyname.
33338 { echo "$as_me:$LINENO: checking for connect" >&5
33339 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33340 if test "${ac_cv_func_connect+set}" = set; then
33341 echo $ECHO_N "(cached) $ECHO_C" >&6
33343 cat >conftest.$ac_ext <<_ACEOF
33346 cat confdefs.h >>conftest.$ac_ext
33347 cat >>conftest.$ac_ext <<_ACEOF
33348 /* end confdefs.h. */
33349 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33351 #define connect innocuous_connect
33353 /* System header to define __stub macros and hopefully few prototypes,
33354 which can conflict with char connect (); below.
33355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33356 <limits.h> exists even on freestanding compilers. */
33359 # include <limits.h>
33361 # include <assert.h>
33366 /* Override any GCC internal prototype to avoid an error.
33367 Use char because int might match the return type of a GCC
33368 builtin and then its argument prototype would still apply. */
33373 /* The GNU C library defines this for functions which it implements
33374 to always fail with ENOSYS. Some functions are actually named
33375 something starting with __ and the normal name is an alias. */
33376 #if defined __stub_connect || defined __stub___connect
33388 rm -f conftest.$ac_objext conftest$ac_exeext
33389 if { (ac_try="$ac_link"
33390 case "(($ac_try" in
33391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33392 *) ac_try_echo=$ac_try;;
33394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33395 (eval "$ac_link") 2>conftest.er1
33397 grep -v '^ *+' conftest.er1 >conftest.err
33399 cat conftest.err >&5
33400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401 (exit $ac_status); } && {
33402 test -z "$ac_c_werror_flag" ||
33403 test ! -s conftest.err
33404 } && test -s conftest$ac_exeext &&
33405 $as_test_x conftest$ac_exeext; then
33406 ac_cv_func_connect=yes
33408 echo "$as_me: failed program was:" >&5
33409 sed 's/^/| /' conftest.$ac_ext >&5
33411 ac_cv_func_connect=no
33414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33415 conftest$ac_exeext conftest.$ac_ext
33417 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33418 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33420 if test $ac_cv_func_connect = no; then
33421 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33422 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33423 if test "${ac_cv_lib_socket_connect+set}" = set; then
33424 echo $ECHO_N "(cached) $ECHO_C" >&6
33426 ac_check_lib_save_LIBS=$LIBS
33427 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33428 cat >conftest.$ac_ext <<_ACEOF
33431 cat confdefs.h >>conftest.$ac_ext
33432 cat >>conftest.$ac_ext <<_ACEOF
33433 /* end confdefs.h. */
33435 /* Override any GCC internal prototype to avoid an error.
33436 Use char because int might match the return type of a GCC
33437 builtin and then its argument prototype would still apply. */
33450 rm -f conftest.$ac_objext conftest$ac_exeext
33451 if { (ac_try="$ac_link"
33452 case "(($ac_try" in
33453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33454 *) ac_try_echo=$ac_try;;
33456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33457 (eval "$ac_link") 2>conftest.er1
33459 grep -v '^ *+' conftest.er1 >conftest.err
33461 cat conftest.err >&5
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); } && {
33464 test -z "$ac_c_werror_flag" ||
33465 test ! -s conftest.err
33466 } && test -s conftest$ac_exeext &&
33467 $as_test_x conftest$ac_exeext; then
33468 ac_cv_lib_socket_connect=yes
33470 echo "$as_me: failed program was:" >&5
33471 sed 's/^/| /' conftest.$ac_ext >&5
33473 ac_cv_lib_socket_connect=no
33476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33477 conftest$ac_exeext conftest.$ac_ext
33478 LIBS=$ac_check_lib_save_LIBS
33480 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33481 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33482 if test $ac_cv_lib_socket_connect = yes; then
33483 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33488 # Guillermo Gomez says -lposix is necessary on A/UX.
33489 { echo "$as_me:$LINENO: checking for remove" >&5
33490 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33491 if test "${ac_cv_func_remove+set}" = set; then
33492 echo $ECHO_N "(cached) $ECHO_C" >&6
33494 cat >conftest.$ac_ext <<_ACEOF
33497 cat confdefs.h >>conftest.$ac_ext
33498 cat >>conftest.$ac_ext <<_ACEOF
33499 /* end confdefs.h. */
33500 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33502 #define remove innocuous_remove
33504 /* System header to define __stub macros and hopefully few prototypes,
33505 which can conflict with char remove (); below.
33506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33507 <limits.h> exists even on freestanding compilers. */
33510 # include <limits.h>
33512 # include <assert.h>
33517 /* Override any GCC internal prototype to avoid an error.
33518 Use char because int might match the return type of a GCC
33519 builtin and then its argument prototype would still apply. */
33524 /* The GNU C library defines this for functions which it implements
33525 to always fail with ENOSYS. Some functions are actually named
33526 something starting with __ and the normal name is an alias. */
33527 #if defined __stub_remove || defined __stub___remove
33539 rm -f conftest.$ac_objext conftest$ac_exeext
33540 if { (ac_try="$ac_link"
33541 case "(($ac_try" in
33542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33543 *) ac_try_echo=$ac_try;;
33545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33546 (eval "$ac_link") 2>conftest.er1
33548 grep -v '^ *+' conftest.er1 >conftest.err
33550 cat conftest.err >&5
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); } && {
33553 test -z "$ac_c_werror_flag" ||
33554 test ! -s conftest.err
33555 } && test -s conftest$ac_exeext &&
33556 $as_test_x conftest$ac_exeext; then
33557 ac_cv_func_remove=yes
33559 echo "$as_me: failed program was:" >&5
33560 sed 's/^/| /' conftest.$ac_ext >&5
33562 ac_cv_func_remove=no
33565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33566 conftest$ac_exeext conftest.$ac_ext
33568 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33569 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33571 if test $ac_cv_func_remove = no; then
33572 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33573 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33574 if test "${ac_cv_lib_posix_remove+set}" = set; then
33575 echo $ECHO_N "(cached) $ECHO_C" >&6
33577 ac_check_lib_save_LIBS=$LIBS
33578 LIBS="-lposix $LIBS"
33579 cat >conftest.$ac_ext <<_ACEOF
33582 cat confdefs.h >>conftest.$ac_ext
33583 cat >>conftest.$ac_ext <<_ACEOF
33584 /* end confdefs.h. */
33586 /* Override any GCC internal prototype to avoid an error.
33587 Use char because int might match the return type of a GCC
33588 builtin and then its argument prototype would still apply. */
33601 rm -f conftest.$ac_objext conftest$ac_exeext
33602 if { (ac_try="$ac_link"
33603 case "(($ac_try" in
33604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33605 *) ac_try_echo=$ac_try;;
33607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33608 (eval "$ac_link") 2>conftest.er1
33610 grep -v '^ *+' conftest.er1 >conftest.err
33612 cat conftest.err >&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); } && {
33615 test -z "$ac_c_werror_flag" ||
33616 test ! -s conftest.err
33617 } && test -s conftest$ac_exeext &&
33618 $as_test_x conftest$ac_exeext; then
33619 ac_cv_lib_posix_remove=yes
33621 echo "$as_me: failed program was:" >&5
33622 sed 's/^/| /' conftest.$ac_ext >&5
33624 ac_cv_lib_posix_remove=no
33627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33628 conftest$ac_exeext conftest.$ac_ext
33629 LIBS=$ac_check_lib_save_LIBS
33631 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33632 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33633 if test $ac_cv_lib_posix_remove = yes; then
33634 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33639 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33640 { echo "$as_me:$LINENO: checking for shmat" >&5
33641 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33642 if test "${ac_cv_func_shmat+set}" = set; then
33643 echo $ECHO_N "(cached) $ECHO_C" >&6
33645 cat >conftest.$ac_ext <<_ACEOF
33648 cat confdefs.h >>conftest.$ac_ext
33649 cat >>conftest.$ac_ext <<_ACEOF
33650 /* end confdefs.h. */
33651 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33653 #define shmat innocuous_shmat
33655 /* System header to define __stub macros and hopefully few prototypes,
33656 which can conflict with char shmat (); below.
33657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33658 <limits.h> exists even on freestanding compilers. */
33661 # include <limits.h>
33663 # include <assert.h>
33668 /* Override any GCC internal prototype to avoid an error.
33669 Use char because int might match the return type of a GCC
33670 builtin and then its argument prototype would still apply. */
33675 /* The GNU C library defines this for functions which it implements
33676 to always fail with ENOSYS. Some functions are actually named
33677 something starting with __ and the normal name is an alias. */
33678 #if defined __stub_shmat || defined __stub___shmat
33690 rm -f conftest.$ac_objext conftest$ac_exeext
33691 if { (ac_try="$ac_link"
33692 case "(($ac_try" in
33693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33694 *) ac_try_echo=$ac_try;;
33696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33697 (eval "$ac_link") 2>conftest.er1
33699 grep -v '^ *+' conftest.er1 >conftest.err
33701 cat conftest.err >&5
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); } && {
33704 test -z "$ac_c_werror_flag" ||
33705 test ! -s conftest.err
33706 } && test -s conftest$ac_exeext &&
33707 $as_test_x conftest$ac_exeext; then
33708 ac_cv_func_shmat=yes
33710 echo "$as_me: failed program was:" >&5
33711 sed 's/^/| /' conftest.$ac_ext >&5
33713 ac_cv_func_shmat=no
33716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33717 conftest$ac_exeext conftest.$ac_ext
33719 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33720 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33722 if test $ac_cv_func_shmat = no; then
33723 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33724 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33725 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33726 echo $ECHO_N "(cached) $ECHO_C" >&6
33728 ac_check_lib_save_LIBS=$LIBS
33730 cat >conftest.$ac_ext <<_ACEOF
33733 cat confdefs.h >>conftest.$ac_ext
33734 cat >>conftest.$ac_ext <<_ACEOF
33735 /* end confdefs.h. */
33737 /* Override any GCC internal prototype to avoid an error.
33738 Use char because int might match the return type of a GCC
33739 builtin and then its argument prototype would still apply. */
33752 rm -f conftest.$ac_objext conftest$ac_exeext
33753 if { (ac_try="$ac_link"
33754 case "(($ac_try" in
33755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33756 *) ac_try_echo=$ac_try;;
33758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33759 (eval "$ac_link") 2>conftest.er1
33761 grep -v '^ *+' conftest.er1 >conftest.err
33763 cat conftest.err >&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); } && {
33766 test -z "$ac_c_werror_flag" ||
33767 test ! -s conftest.err
33768 } && test -s conftest$ac_exeext &&
33769 $as_test_x conftest$ac_exeext; then
33770 ac_cv_lib_ipc_shmat=yes
33772 echo "$as_me: failed program was:" >&5
33773 sed 's/^/| /' conftest.$ac_ext >&5
33775 ac_cv_lib_ipc_shmat=no
33778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33779 conftest$ac_exeext conftest.$ac_ext
33780 LIBS=$ac_check_lib_save_LIBS
33782 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33783 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33784 if test $ac_cv_lib_ipc_shmat = yes; then
33785 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33791 # Check for libraries that X11R6 Xt/Xaw programs need.
33792 ac_save_LDFLAGS=$LDFLAGS
33793 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33794 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33795 # check for ICE first), but we must link in the order -lSM -lICE or
33796 # we get undefined symbols. So assume we have SM if we have ICE.
33797 # These have to be linked with before -lX11, unlike the other
33798 # libraries we check for below, so use a different variable.
33799 # John Interrante, Karl Berry
33800 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33801 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33802 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33803 echo $ECHO_N "(cached) $ECHO_C" >&6
33805 ac_check_lib_save_LIBS=$LIBS
33806 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33807 cat >conftest.$ac_ext <<_ACEOF
33810 cat confdefs.h >>conftest.$ac_ext
33811 cat >>conftest.$ac_ext <<_ACEOF
33812 /* end confdefs.h. */
33814 /* Override any GCC internal prototype to avoid an error.
33815 Use char because int might match the return type of a GCC
33816 builtin and then its argument prototype would still apply. */
33820 char IceConnectionNumber ();
33824 return IceConnectionNumber ();
33829 rm -f conftest.$ac_objext conftest$ac_exeext
33830 if { (ac_try="$ac_link"
33831 case "(($ac_try" in
33832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33833 *) ac_try_echo=$ac_try;;
33835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33836 (eval "$ac_link") 2>conftest.er1
33838 grep -v '^ *+' conftest.er1 >conftest.err
33840 cat conftest.err >&5
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); } && {
33843 test -z "$ac_c_werror_flag" ||
33844 test ! -s conftest.err
33845 } && test -s conftest$ac_exeext &&
33846 $as_test_x conftest$ac_exeext; then
33847 ac_cv_lib_ICE_IceConnectionNumber=yes
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.$ac_ext >&5
33852 ac_cv_lib_ICE_IceConnectionNumber=no
33855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33856 conftest$ac_exeext conftest.$ac_ext
33857 LIBS=$ac_check_lib_save_LIBS
33859 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33860 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33861 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33862 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33865 LDFLAGS=$ac_save_LDFLAGS
33870 if test "$no_x" = "yes"; then
33871 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33872 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33873 { (exit 1); exit 1; }; }
33876 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33877 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33878 AFMINSTALL=afminstall
33879 COMPILED_X_PROGRAM=0
33883 if test "$wxUSE_X11" = 1; then
33884 if test "$wxUSE_NANOX" = "yes"; then
33885 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33886 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33887 if test "x$MICROWIN" = x ; then
33888 { echo "$as_me:$LINENO: result: not found" >&5
33889 echo "${ECHO_T}not found" >&6; }
33890 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33891 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33892 { (exit 1); exit 1; }; }
33894 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33895 echo "${ECHO_T}$MICROWIN" >&6; }
33896 cat >>confdefs.h <<\_ACEOF
33897 #define wxUSE_NANOX 1
33903 if test "$wxUSE_UNICODE" = "yes"; then
33906 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33907 if test -n "$ac_tool_prefix"; then
33908 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33909 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33912 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33913 echo $ECHO_N "(cached) $ECHO_C" >&6
33915 case $PKG_CONFIG in
33917 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33921 for as_dir in $PATH
33924 test -z "$as_dir" && as_dir=.
33925 for ac_exec_ext in '' $ac_executable_extensions; do
33926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33927 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33938 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33939 if test -n "$PKG_CONFIG"; then
33940 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33941 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33943 { echo "$as_me:$LINENO: result: no" >&5
33944 echo "${ECHO_T}no" >&6; }
33949 if test -z "$ac_cv_path_PKG_CONFIG"; then
33950 ac_pt_PKG_CONFIG=$PKG_CONFIG
33951 # Extract the first word of "pkg-config", so it can be a program name with args.
33952 set dummy pkg-config; ac_word=$2
33953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33955 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33956 echo $ECHO_N "(cached) $ECHO_C" >&6
33958 case $ac_pt_PKG_CONFIG in
33960 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33964 for as_dir in $PATH
33967 test -z "$as_dir" && as_dir=.
33968 for ac_exec_ext in '' $ac_executable_extensions; do
33969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33970 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33981 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33982 if test -n "$ac_pt_PKG_CONFIG"; then
33983 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33984 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33986 { echo "$as_me:$LINENO: result: no" >&5
33987 echo "${ECHO_T}no" >&6; }
33990 if test "x$ac_pt_PKG_CONFIG" = x; then
33993 case $cross_compiling:$ac_tool_warned in
33995 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33996 whose name does not start with the host triplet. If you think this
33997 configuration is useful to you, please write to autoconf@gnu.org." >&5
33998 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33999 whose name does not start with the host triplet. If you think this
34000 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34001 ac_tool_warned=yes ;;
34003 PKG_CONFIG=$ac_pt_PKG_CONFIG
34006 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34010 if test -n "$PKG_CONFIG"; then
34011 _pkg_min_version=0.9.0
34012 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34013 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34014 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34015 { echo "$as_me:$LINENO: result: yes" >&5
34016 echo "${ECHO_T}yes" >&6; }
34018 { echo "$as_me:$LINENO: result: no" >&5
34019 echo "${ECHO_T}no" >&6; }
34027 { echo "$as_me:$LINENO: checking for PANGOX" >&5
34028 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
34030 if test -n "$PKG_CONFIG"; then
34031 if test -n "$PANGOX_CFLAGS"; then
34032 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
34034 if test -n "$PKG_CONFIG" && \
34035 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34036 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); }; then
34040 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
34048 if test -n "$PKG_CONFIG"; then
34049 if test -n "$PANGOX_LIBS"; then
34050 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
34052 if test -n "$PKG_CONFIG" && \
34053 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
34054 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); }; then
34058 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
34069 if test $pkg_failed = yes; then
34071 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34072 _pkg_short_errors_supported=yes
34074 _pkg_short_errors_supported=no
34076 if test $_pkg_short_errors_supported = yes; then
34077 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
34079 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
34081 # Put the nasty error message in config.log where it belongs
34082 echo "$PANGOX_PKG_ERRORS" >&5
34085 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34086 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34087 { (exit 1); exit 1; }; }
34090 elif test $pkg_failed = untried; then
34092 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
34093 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
34094 { (exit 1); exit 1; }; }
34098 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
34099 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
34100 { echo "$as_me:$LINENO: result: yes" >&5
34101 echo "${ECHO_T}yes" >&6; }
34103 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
34104 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
34105 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
34110 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34111 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34113 if test -n "$PKG_CONFIG"; then
34114 if test -n "$PANGOFT2_CFLAGS"; then
34115 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
34117 if test -n "$PKG_CONFIG" && \
34118 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34119 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); }; then
34123 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34131 if test -n "$PKG_CONFIG"; then
34132 if test -n "$PANGOFT2_LIBS"; then
34133 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
34135 if test -n "$PKG_CONFIG" && \
34136 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34137 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34140 (exit $ac_status); }; then
34141 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34152 if test $pkg_failed = yes; then
34154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34155 _pkg_short_errors_supported=yes
34157 _pkg_short_errors_supported=no
34159 if test $_pkg_short_errors_supported = yes; then
34160 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34162 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34164 # Put the nasty error message in config.log where it belongs
34165 echo "$PANGOFT2_PKG_ERRORS" >&5
34168 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34169 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34170 wxUSE_PRINTING_ARCHITECTURE="no"
34173 elif test $pkg_failed = untried; then
34175 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34176 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34177 wxUSE_PRINTING_ARCHITECTURE="no"
34181 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34182 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34183 { echo "$as_me:$LINENO: result: yes" >&5
34184 echo "${ECHO_T}yes" >&6; }
34186 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34187 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34188 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34193 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34194 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34196 if test -n "$PKG_CONFIG"; then
34197 if test -n "$PANGOXFT_CFLAGS"; then
34198 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34200 if test -n "$PKG_CONFIG" && \
34201 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34202 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); }; then
34206 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34214 if test -n "$PKG_CONFIG"; then
34215 if test -n "$PANGOXFT_LIBS"; then
34216 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34218 if test -n "$PKG_CONFIG" && \
34219 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34220 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); }; then
34224 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34235 if test $pkg_failed = yes; then
34237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34238 _pkg_short_errors_supported=yes
34240 _pkg_short_errors_supported=no
34242 if test $_pkg_short_errors_supported = yes; then
34243 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34245 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34247 # Put the nasty error message in config.log where it belongs
34248 echo "$PANGOXFT_PKG_ERRORS" >&5
34251 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34252 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34255 elif test $pkg_failed = untried; then
34257 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34258 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34262 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34263 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34264 { echo "$as_me:$LINENO: result: yes" >&5
34265 echo "${ECHO_T}yes" >&6; }
34267 cat >>confdefs.h <<\_ACEOF
34268 #define HAVE_PANGO_XFT 1
34271 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34272 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34273 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34277 LIBS="$LIBS $PANGOX_LIBS"
34279 for ac_func in pango_font_family_is_monospace
34281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34284 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34285 echo $ECHO_N "(cached) $ECHO_C" >&6
34287 cat >conftest.$ac_ext <<_ACEOF
34290 cat confdefs.h >>conftest.$ac_ext
34291 cat >>conftest.$ac_ext <<_ACEOF
34292 /* end confdefs.h. */
34293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34295 #define $ac_func innocuous_$ac_func
34297 /* System header to define __stub macros and hopefully few prototypes,
34298 which can conflict with char $ac_func (); below.
34299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34300 <limits.h> exists even on freestanding compilers. */
34303 # include <limits.h>
34305 # include <assert.h>
34310 /* Override any GCC internal prototype to avoid an error.
34311 Use char because int might match the return type of a GCC
34312 builtin and then its argument prototype would still apply. */
34317 /* The GNU C library defines this for functions which it implements
34318 to always fail with ENOSYS. Some functions are actually named
34319 something starting with __ and the normal name is an alias. */
34320 #if defined __stub_$ac_func || defined __stub___$ac_func
34327 return $ac_func ();
34332 rm -f conftest.$ac_objext conftest$ac_exeext
34333 if { (ac_try="$ac_link"
34334 case "(($ac_try" in
34335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34336 *) ac_try_echo=$ac_try;;
34338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34339 (eval "$ac_link") 2>conftest.er1
34341 grep -v '^ *+' conftest.er1 >conftest.err
34343 cat conftest.err >&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); } && {
34346 test -z "$ac_c_werror_flag" ||
34347 test ! -s conftest.err
34348 } && test -s conftest$ac_exeext &&
34349 $as_test_x conftest$ac_exeext; then
34350 eval "$as_ac_var=yes"
34352 echo "$as_me: failed program was:" >&5
34353 sed 's/^/| /' conftest.$ac_ext >&5
34355 eval "$as_ac_var=no"
34358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34359 conftest$ac_exeext conftest.$ac_ext
34361 ac_res=`eval echo '${'$as_ac_var'}'`
34362 { echo "$as_me:$LINENO: result: $ac_res" >&5
34363 echo "${ECHO_T}$ac_res" >&6; }
34364 if test `eval echo '${'$as_ac_var'}'` = yes; then
34365 cat >>confdefs.h <<_ACEOF
34366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34375 wxUSE_UNIVERSAL="yes"
34377 if test "$wxUSE_NANOX" = "yes"; then
34378 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34379 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"
34380 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34382 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34389 if test "$wxUSE_MOTIF" = 1; then
34390 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34391 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34394 for ac_dir in $SEARCH_INCLUDE /usr/include;
34396 if test -f "$ac_dir/Xm/Xm.h"; then
34397 ac_find_includes=$ac_dir
34402 if test "$ac_find_includes" != "" ; then
34403 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34404 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34406 if test "x$ac_find_includes" = "x/usr/include"; then
34407 ac_path_to_include=""
34409 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34411 if test $result = 0; then
34412 ac_path_to_include=""
34414 ac_path_to_include=" -I$ac_find_includes"
34418 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34420 save_CFLAGS=$CFLAGS
34421 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34423 cat >conftest.$ac_ext <<_ACEOF
34426 cat confdefs.h >>conftest.$ac_ext
34427 cat >>conftest.$ac_ext <<_ACEOF
34428 /* end confdefs.h. */
34437 version = xmUseVersion;
34443 rm -f conftest.$ac_objext
34444 if { (ac_try="$ac_compile"
34445 case "(($ac_try" in
34446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34447 *) ac_try_echo=$ac_try;;
34449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34450 (eval "$ac_compile") 2>conftest.er1
34452 grep -v '^ *+' conftest.er1 >conftest.err
34454 cat conftest.err >&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); } && {
34457 test -z "$ac_c_werror_flag" ||
34458 test ! -s conftest.err
34459 } && test -s conftest.$ac_objext; then
34461 { echo "$as_me:$LINENO: result: found in default search path" >&5
34462 echo "${ECHO_T}found in default search path" >&6; }
34463 COMPILED_X_PROGRAM=1
34466 echo "$as_me: failed program was:" >&5
34467 sed 's/^/| /' conftest.$ac_ext >&5
34470 { echo "$as_me:$LINENO: result: no" >&5
34471 echo "${ECHO_T}no" >&6; }
34472 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34473 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34474 { (exit 1); exit 1; }; }
34479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34481 CFLAGS=$save_CFLAGS
34485 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34486 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34489 for ac_dir in $SEARCH_LIB;
34491 for ac_extension in a so sl dylib dll.a; do
34492 if test -f "$ac_dir/libXm.$ac_extension"; then
34493 ac_find_libraries=$ac_dir
34500 if test "x$ac_find_libraries" != "x" ; then
34501 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34502 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34505 if test "$ac_find_libraries" = "default location"; then
34508 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34510 if test $result = 0; then
34513 ac_path_to_link=" -L$ac_find_libraries"
34517 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34519 save_CFLAGS=$CFLAGS
34520 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34522 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34524 cat >conftest.$ac_ext <<_ACEOF
34527 cat confdefs.h >>conftest.$ac_ext
34528 cat >>conftest.$ac_ext <<_ACEOF
34529 /* end confdefs.h. */
34538 version = xmUseVersion;
34544 rm -f conftest.$ac_objext conftest$ac_exeext
34545 if { (ac_try="$ac_link"
34546 case "(($ac_try" in
34547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34548 *) ac_try_echo=$ac_try;;
34550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34551 (eval "$ac_link") 2>conftest.er1
34553 grep -v '^ *+' conftest.er1 >conftest.err
34555 cat conftest.err >&5
34556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34557 (exit $ac_status); } && {
34558 test -z "$ac_c_werror_flag" ||
34559 test ! -s conftest.err
34560 } && test -s conftest$ac_exeext &&
34561 $as_test_x conftest$ac_exeext; then
34563 { echo "$as_me:$LINENO: result: found in default search path" >&5
34564 echo "${ECHO_T}found in default search path" >&6; }
34565 COMPILED_X_PROGRAM=1
34568 echo "$as_me: failed program was:" >&5
34569 sed 's/^/| /' conftest.$ac_ext >&5
34572 { echo "$as_me:$LINENO: result: no" >&5
34573 echo "${ECHO_T}no" >&6; }
34574 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34575 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34576 { (exit 1); exit 1; }; }
34581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34582 conftest$ac_exeext conftest.$ac_ext
34584 CFLAGS=$save_CFLAGS
34588 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34589 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34593 for libp in "" " -lXp"; do
34594 if test "$libs_found" = "0"; then
34595 for libsm_ice in "" " -lSM -lICE"; do
34596 if test "$libs_found" = "0"; then
34598 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34599 save_CFLAGS=$CFLAGS
34600 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34602 cat >conftest.$ac_ext <<_ACEOF
34605 cat confdefs.h >>conftest.$ac_ext
34606 cat >>conftest.$ac_ext <<_ACEOF
34607 /* end confdefs.h. */
34610 #include <Xm/List.h>
34616 XmString string = NULL;
34619 XmListAddItem(w, string, position);
34625 rm -f conftest.$ac_objext conftest$ac_exeext
34626 if { (ac_try="$ac_link"
34627 case "(($ac_try" in
34628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34629 *) ac_try_echo=$ac_try;;
34631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34632 (eval "$ac_link") 2>conftest.er1
34634 grep -v '^ *+' conftest.er1 >conftest.err
34636 cat conftest.err >&5
34637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34638 (exit $ac_status); } && {
34639 test -z "$ac_c_werror_flag" ||
34640 test ! -s conftest.err
34641 } && test -s conftest$ac_exeext &&
34642 $as_test_x conftest$ac_exeext; then
34645 libsm_ice_link="$libsm_ice"
34646 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34647 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34651 echo "$as_me: failed program was:" >&5
34652 sed 's/^/| /' conftest.$ac_ext >&5
34658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34659 conftest$ac_exeext conftest.$ac_ext
34662 CFLAGS=$save_CFLAGS
34668 if test "$libs_found" = "0"; then
34669 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34670 echo "${ECHO_T}can't find the right libraries" >&6; }
34671 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34672 echo "$as_me: error: can't link a simple motif program" >&2;}
34673 { (exit 1); exit 1; }; }
34676 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34677 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34678 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34679 echo $ECHO_N "(cached) $ECHO_C" >&6
34681 ac_check_lib_save_LIBS=$LIBS
34683 cat >conftest.$ac_ext <<_ACEOF
34686 cat confdefs.h >>conftest.$ac_ext
34687 cat >>conftest.$ac_ext <<_ACEOF
34688 /* end confdefs.h. */
34690 /* Override any GCC internal prototype to avoid an error.
34691 Use char because int might match the return type of a GCC
34692 builtin and then its argument prototype would still apply. */
34696 char SgCreateList ();
34700 return SgCreateList ();
34705 rm -f conftest.$ac_objext conftest$ac_exeext
34706 if { (ac_try="$ac_link"
34707 case "(($ac_try" in
34708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34709 *) ac_try_echo=$ac_try;;
34711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34712 (eval "$ac_link") 2>conftest.er1
34714 grep -v '^ *+' conftest.er1 >conftest.err
34716 cat conftest.err >&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); } && {
34719 test -z "$ac_c_werror_flag" ||
34720 test ! -s conftest.err
34721 } && test -s conftest$ac_exeext &&
34722 $as_test_x conftest$ac_exeext; then
34723 ac_cv_lib_Sgm_SgCreateList=yes
34725 echo "$as_me: failed program was:" >&5
34726 sed 's/^/| /' conftest.$ac_ext >&5
34728 ac_cv_lib_Sgm_SgCreateList=no
34731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34732 conftest$ac_exeext conftest.$ac_ext
34733 LIBS=$ac_check_lib_save_LIBS
34735 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34736 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34737 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34738 libsgm_link=" -lSgm"
34742 save_CFLAGS=$CFLAGS
34743 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34745 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34746 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34747 if test "${wx_cv_lib_motif2+set}" = set; then
34748 echo $ECHO_N "(cached) $ECHO_C" >&6
34750 cat >conftest.$ac_ext <<_ACEOF
34753 cat confdefs.h >>conftest.$ac_ext
34754 cat >>conftest.$ac_ext <<_ACEOF
34755 /* end confdefs.h. */
34763 #if XmVersion < 2000
34771 rm -f conftest.$ac_objext
34772 if { (ac_try="$ac_compile"
34773 case "(($ac_try" in
34774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34775 *) ac_try_echo=$ac_try;;
34777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34778 (eval "$ac_compile") 2>conftest.er1
34780 grep -v '^ *+' conftest.er1 >conftest.err
34782 cat conftest.err >&5
34783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784 (exit $ac_status); } && {
34785 test -z "$ac_c_werror_flag" ||
34786 test ! -s conftest.err
34787 } && test -s conftest.$ac_objext; then
34788 wx_cv_lib_motif2="yes"
34790 echo "$as_me: failed program was:" >&5
34791 sed 's/^/| /' conftest.$ac_ext >&5
34793 wx_cv_lib_motif2="no"
34796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34798 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34799 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34800 if test "$wx_cv_lib_motif2" = "yes"; then
34801 cat >>confdefs.h <<\_ACEOF
34802 #define __WXMOTIF20__ 1
34806 cat >>confdefs.h <<\_ACEOF
34807 #define __WXMOTIF20__ 0
34812 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34813 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34814 if test "${wx_cv_lib_lesstif+set}" = set; then
34815 echo $ECHO_N "(cached) $ECHO_C" >&6
34817 cat >conftest.$ac_ext <<_ACEOF
34820 cat confdefs.h >>conftest.$ac_ext
34821 cat >>conftest.$ac_ext <<_ACEOF
34822 /* end confdefs.h. */
34830 #if !defined(LesstifVersion) || LesstifVersion <= 0
34838 rm -f conftest.$ac_objext
34839 if { (ac_try="$ac_compile"
34840 case "(($ac_try" in
34841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34842 *) ac_try_echo=$ac_try;;
34844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34845 (eval "$ac_compile") 2>conftest.er1
34847 grep -v '^ *+' conftest.er1 >conftest.err
34849 cat conftest.err >&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); } && {
34852 test -z "$ac_c_werror_flag" ||
34853 test ! -s conftest.err
34854 } && test -s conftest.$ac_objext; then
34855 wx_cv_lib_lesstif="yes"
34857 echo "$as_me: failed program was:" >&5
34858 sed 's/^/| /' conftest.$ac_ext >&5
34860 wx_cv_lib_lesstif="no"
34863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34866 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34867 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34868 if test "$wx_cv_lib_lesstif" = "yes"; then
34869 cat >>confdefs.h <<\_ACEOF
34870 #define __WXLESSTIF__ 1
34874 cat >>confdefs.h <<\_ACEOF
34875 #define __WXLESSTIF__ 0
34880 CFLAGS=$save_CFLAGS
34882 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34887 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34888 if test "$wxUSE_LIBXPM" = "sys"; then
34889 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34890 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34893 for ac_dir in $SEARCH_LIB;
34895 for ac_extension in a so sl dylib dll.a; do
34896 if test -f "$ac_dir/libXpm.$ac_extension"; then
34897 ac_find_libraries=$ac_dir
34903 if test "$ac_find_libraries" != "" ; then
34905 if test "$ac_find_libraries" = "default location"; then
34908 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34910 if test $result = 0; then
34913 ac_path_to_link=" -L$ac_find_libraries"
34917 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34918 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34919 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34921 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34922 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34923 if test "${wx_cv_x11_xpm_h+set}" = set; then
34924 echo $ECHO_N "(cached) $ECHO_C" >&6
34927 save_CFLAGS=$CFLAGS
34928 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34930 cat >conftest.$ac_ext <<_ACEOF
34933 cat confdefs.h >>conftest.$ac_ext
34934 cat >>conftest.$ac_ext <<_ACEOF
34935 /* end confdefs.h. */
34937 #include <X11/xpm.h>
34944 version = XpmLibraryVersion();
34950 rm -f conftest.$ac_objext
34951 if { (ac_try="$ac_compile"
34952 case "(($ac_try" in
34953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34954 *) ac_try_echo=$ac_try;;
34956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34957 (eval "$ac_compile") 2>conftest.er1
34959 grep -v '^ *+' conftest.er1 >conftest.err
34961 cat conftest.err >&5
34962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34963 (exit $ac_status); } && {
34964 test -z "$ac_c_werror_flag" ||
34965 test ! -s conftest.err
34966 } && test -s conftest.$ac_objext; then
34967 wx_cv_x11_xpm_h=yes
34969 echo "$as_me: failed program was:" >&5
34970 sed 's/^/| /' conftest.$ac_ext >&5
34976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34978 CFLAGS=$save_CFLAGS
34982 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34983 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34985 if test $wx_cv_x11_xpm_h = "yes"; then
34986 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34987 cat >>confdefs.h <<\_ACEOF
34988 #define wxHAVE_LIB_XPM 1
34992 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34993 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34999 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
35000 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
35001 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
35002 echo $ECHO_N "(cached) $ECHO_C" >&6
35004 ac_check_lib_save_LIBS=$LIBS
35005 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
35006 cat >conftest.$ac_ext <<_ACEOF
35009 cat confdefs.h >>conftest.$ac_ext
35010 cat >>conftest.$ac_ext <<_ACEOF
35011 /* end confdefs.h. */
35013 /* Override any GCC internal prototype to avoid an error.
35014 Use char because int might match the return type of a GCC
35015 builtin and then its argument prototype would still apply. */
35019 char XShapeQueryExtension ();
35023 return XShapeQueryExtension ();
35028 rm -f conftest.$ac_objext conftest$ac_exeext
35029 if { (ac_try="$ac_link"
35030 case "(($ac_try" in
35031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35032 *) ac_try_echo=$ac_try;;
35034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35035 (eval "$ac_link") 2>conftest.er1
35037 grep -v '^ *+' conftest.er1 >conftest.err
35039 cat conftest.err >&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); } && {
35042 test -z "$ac_c_werror_flag" ||
35043 test ! -s conftest.err
35044 } && test -s conftest$ac_exeext &&
35045 $as_test_x conftest$ac_exeext; then
35046 ac_cv_lib_Xext_XShapeQueryExtension=yes
35048 echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.$ac_ext >&5
35051 ac_cv_lib_Xext_XShapeQueryExtension=no
35054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35055 conftest$ac_exeext conftest.$ac_ext
35056 LIBS=$ac_check_lib_save_LIBS
35058 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
35059 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
35060 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
35062 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
35068 if test "$wxHAVE_XEXT_LIB" = 1; then
35069 save_CFLAGS="$CFLAGS"
35070 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35072 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
35073 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
35074 cat >conftest.$ac_ext <<_ACEOF
35077 cat confdefs.h >>conftest.$ac_ext
35078 cat >>conftest.$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35081 #include <X11/Xlib.h>
35082 #include <X11/extensions/shape.h>
35088 int dummy1, dummy2;
35089 XShapeQueryExtension((Display*)NULL,
35090 (int*)NULL, (int*)NULL);
35096 rm -f conftest.$ac_objext
35097 if { (ac_try="$ac_compile"
35098 case "(($ac_try" in
35099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35100 *) ac_try_echo=$ac_try;;
35102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35103 (eval "$ac_compile") 2>conftest.er1
35105 grep -v '^ *+' conftest.er1 >conftest.err
35107 cat conftest.err >&5
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); } && {
35110 test -z "$ac_c_werror_flag" ||
35111 test ! -s conftest.err
35112 } && test -s conftest.$ac_objext; then
35114 cat >>confdefs.h <<\_ACEOF
35115 #define HAVE_XSHAPE 1
35118 { echo "$as_me:$LINENO: result: found" >&5
35119 echo "${ECHO_T}found" >&6; }
35122 echo "$as_me: failed program was:" >&5
35123 sed 's/^/| /' conftest.$ac_ext >&5
35126 { echo "$as_me:$LINENO: result: not found" >&5
35127 echo "${ECHO_T}not found" >&6; }
35131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35132 CFLAGS="$save_CFLAGS"
35137 if test "$wxUSE_MAC" = 1; then
35138 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35139 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35140 if test "$GCC" = yes; then
35141 { echo "$as_me:$LINENO: result: gcc" >&5
35142 echo "${ECHO_T}gcc" >&6; }
35143 CPPFLAGS_PASCAL="-fpascal-strings"
35144 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35145 { echo "$as_me:$LINENO: result: xlc" >&5
35146 echo "${ECHO_T}xlc" >&6; }
35147 CPPFLAGS_PASCAL="-qmacpstr"
35149 { echo "$as_me:$LINENO: result: none" >&5
35150 echo "${ECHO_T}none" >&6; }
35153 if test "x$wxUSE_UNIX" = "xyes"; then
35154 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35156 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35161 WXBASEPORT="_carbon"
35164 if test "$wxUSE_COCOA" = 1; then
35169 if test "$wxUSE_PM" = 1; then
35172 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35173 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35174 if test "${wx_cv_spbcdata+set}" = set; then
35175 echo $ECHO_N "(cached) $ECHO_C" >&6
35178 cat >conftest.$ac_ext <<_ACEOF
35181 cat confdefs.h >>conftest.$ac_ext
35182 cat >>conftest.$ac_ext <<_ACEOF
35183 /* end confdefs.h. */
35198 rm -f conftest.$ac_objext
35199 if { (ac_try="$ac_compile"
35200 case "(($ac_try" in
35201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35202 *) ac_try_echo=$ac_try;;
35204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35205 (eval "$ac_compile") 2>conftest.er1
35207 grep -v '^ *+' conftest.er1 >conftest.err
35209 cat conftest.err >&5
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); } && {
35212 test -z "$ac_c_werror_flag" ||
35213 test ! -s conftest.err
35214 } && test -s conftest.$ac_objext; then
35217 echo "$as_me: failed program was:" >&5
35218 sed 's/^/| /' conftest.$ac_ext >&5
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35228 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35229 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35231 if test $wx_cv_spbcdata = "yes"; then
35232 cat >>confdefs.h <<\_ACEOF
35233 #define HAVE_SPBCDATA 1
35239 if test "$TOOLKIT" = "PM" ; then
35242 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35245 if test "$wxUSE_UNIVERSAL" = "yes"; then
35246 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35250 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35251 DISTDIR="wx\$(TOOLKIT)"
35257 if test "$USE_WIN32" = 1 ; then
35261 GUIDIST="BASE_DIST"
35267 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35268 if test "$TOOLKIT" = "DFB" ; then
35269 wxUSE_UNICODE_UTF8=yes
35270 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
35271 wxUSE_UNICODE_UTF8=yes
35272 elif test "$USE_OS2" = "1" ; then
35273 wxUSE_UNICODE_UTF8=yes
35275 wxUSE_UNICODE_UTF8=no
35280 if test "$wxUSE_GUI" = "yes"; then
35281 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35283 for ac_header in X11/Xlib.h
35285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35286 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35288 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35289 echo $ECHO_N "(cached) $ECHO_C" >&6
35291 cat >conftest.$ac_ext <<_ACEOF
35294 cat confdefs.h >>conftest.$ac_ext
35295 cat >>conftest.$ac_ext <<_ACEOF
35296 /* end confdefs.h. */
35299 #include <$ac_header>
35301 rm -f conftest.$ac_objext
35302 if { (ac_try="$ac_compile"
35303 case "(($ac_try" in
35304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35305 *) ac_try_echo=$ac_try;;
35307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35308 (eval "$ac_compile") 2>conftest.er1
35310 grep -v '^ *+' conftest.er1 >conftest.err
35312 cat conftest.err >&5
35313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35314 (exit $ac_status); } && {
35315 test -z "$ac_c_werror_flag" ||
35316 test ! -s conftest.err
35317 } && test -s conftest.$ac_objext; then
35318 eval "$as_ac_Header=yes"
35320 echo "$as_me: failed program was:" >&5
35321 sed 's/^/| /' conftest.$ac_ext >&5
35323 eval "$as_ac_Header=no"
35326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35328 ac_res=`eval echo '${'$as_ac_Header'}'`
35329 { echo "$as_me:$LINENO: result: $ac_res" >&5
35330 echo "${ECHO_T}$ac_res" >&6; }
35331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35332 cat >>confdefs.h <<_ACEOF
35333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35341 for ac_header in X11/XKBlib.h
35343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35344 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35346 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35347 echo $ECHO_N "(cached) $ECHO_C" >&6
35349 cat >conftest.$ac_ext <<_ACEOF
35352 cat confdefs.h >>conftest.$ac_ext
35353 cat >>conftest.$ac_ext <<_ACEOF
35354 /* end confdefs.h. */
35356 #if HAVE_X11_XLIB_H
35357 #include <X11/Xlib.h>
35361 #include <$ac_header>
35363 rm -f conftest.$ac_objext
35364 if { (ac_try="$ac_compile"
35365 case "(($ac_try" in
35366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35367 *) ac_try_echo=$ac_try;;
35369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35370 (eval "$ac_compile") 2>conftest.er1
35372 grep -v '^ *+' conftest.er1 >conftest.err
35374 cat conftest.err >&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); } && {
35377 test -z "$ac_c_werror_flag" ||
35378 test ! -s conftest.err
35379 } && test -s conftest.$ac_objext; then
35380 eval "$as_ac_Header=yes"
35382 echo "$as_me: failed program was:" >&5
35383 sed 's/^/| /' conftest.$ac_ext >&5
35385 eval "$as_ac_Header=no"
35388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35390 ac_res=`eval echo '${'$as_ac_Header'}'`
35391 { echo "$as_me:$LINENO: result: $ac_res" >&5
35392 echo "${ECHO_T}$ac_res" >&6; }
35393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35394 cat >>confdefs.h <<_ACEOF
35395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35410 if test "$TOOLKIT" != "MSW" ; then
35412 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35414 { echo "$as_me:$LINENO: checking for sql.h" >&5
35415 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35416 if test "${ac_cv_header_sql_h+set}" = set; then
35417 echo $ECHO_N "(cached) $ECHO_C" >&6
35419 cat >conftest.$ac_ext <<_ACEOF
35422 cat confdefs.h >>conftest.$ac_ext
35423 cat >>conftest.$ac_ext <<_ACEOF
35424 /* end confdefs.h. */
35429 rm -f conftest.$ac_objext
35430 if { (ac_try="$ac_compile"
35431 case "(($ac_try" in
35432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35433 *) ac_try_echo=$ac_try;;
35435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35436 (eval "$ac_compile") 2>conftest.er1
35438 grep -v '^ *+' conftest.er1 >conftest.err
35440 cat conftest.err >&5
35441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35442 (exit $ac_status); } && {
35443 test -z "$ac_c_werror_flag" ||
35444 test ! -s conftest.err
35445 } && test -s conftest.$ac_objext; then
35446 ac_cv_header_sql_h=yes
35448 echo "$as_me: failed program was:" >&5
35449 sed 's/^/| /' conftest.$ac_ext >&5
35451 ac_cv_header_sql_h=no
35454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35456 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35457 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35458 if test $ac_cv_header_sql_h = yes; then
35463 if test "x$found_sql_h" = "x1" ; then
35464 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35465 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35466 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35467 echo $ECHO_N "(cached) $ECHO_C" >&6
35469 ac_check_lib_save_LIBS=$LIBS
35470 LIBS="-liodbc $LIBS"
35471 cat >conftest.$ac_ext <<_ACEOF
35474 cat confdefs.h >>conftest.$ac_ext
35475 cat >>conftest.$ac_ext <<_ACEOF
35476 /* end confdefs.h. */
35478 /* Override any GCC internal prototype to avoid an error.
35479 Use char because int might match the return type of a GCC
35480 builtin and then its argument prototype would still apply. */
35484 char SQLAllocEnv ();
35488 return SQLAllocEnv ();
35493 rm -f conftest.$ac_objext conftest$ac_exeext
35494 if { (ac_try="$ac_link"
35495 case "(($ac_try" in
35496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35497 *) ac_try_echo=$ac_try;;
35499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35500 (eval "$ac_link") 2>conftest.er1
35502 grep -v '^ *+' conftest.er1 >conftest.err
35504 cat conftest.err >&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); } && {
35507 test -z "$ac_c_werror_flag" ||
35508 test ! -s conftest.err
35509 } && test -s conftest$ac_exeext &&
35510 $as_test_x conftest$ac_exeext; then
35511 ac_cv_lib_iodbc_SQLAllocEnv=yes
35513 echo "$as_me: failed program was:" >&5
35514 sed 's/^/| /' conftest.$ac_ext >&5
35516 ac_cv_lib_iodbc_SQLAllocEnv=no
35519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35520 conftest$ac_exeext conftest.$ac_ext
35521 LIBS=$ac_check_lib_save_LIBS
35523 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35524 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35525 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35526 ODBC_LINK=" -liodbc"
35529 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35530 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35531 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35532 echo $ECHO_N "(cached) $ECHO_C" >&6
35534 ac_check_lib_save_LIBS=$LIBS
35535 LIBS="-lunixodbc $LIBS"
35536 cat >conftest.$ac_ext <<_ACEOF
35539 cat confdefs.h >>conftest.$ac_ext
35540 cat >>conftest.$ac_ext <<_ACEOF
35541 /* end confdefs.h. */
35543 /* Override any GCC internal prototype to avoid an error.
35544 Use char because int might match the return type of a GCC
35545 builtin and then its argument prototype would still apply. */
35549 char SQLAllocEnv ();
35553 return SQLAllocEnv ();
35558 rm -f conftest.$ac_objext conftest$ac_exeext
35559 if { (ac_try="$ac_link"
35560 case "(($ac_try" in
35561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35562 *) ac_try_echo=$ac_try;;
35564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35565 (eval "$ac_link") 2>conftest.er1
35567 grep -v '^ *+' conftest.er1 >conftest.err
35569 cat conftest.err >&5
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); } && {
35572 test -z "$ac_c_werror_flag" ||
35573 test ! -s conftest.err
35574 } && test -s conftest$ac_exeext &&
35575 $as_test_x conftest$ac_exeext; then
35576 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35581 ac_cv_lib_unixodbc_SQLAllocEnv=no
35584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35585 conftest$ac_exeext conftest.$ac_ext
35586 LIBS=$ac_check_lib_save_LIBS
35588 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35589 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35590 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35591 ODBC_LINK=" -lunixodbc"
35594 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35595 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35596 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35597 echo $ECHO_N "(cached) $ECHO_C" >&6
35599 ac_check_lib_save_LIBS=$LIBS
35600 LIBS="-lodbc $LIBS"
35601 cat >conftest.$ac_ext <<_ACEOF
35604 cat confdefs.h >>conftest.$ac_ext
35605 cat >>conftest.$ac_ext <<_ACEOF
35606 /* end confdefs.h. */
35608 /* Override any GCC internal prototype to avoid an error.
35609 Use char because int might match the return type of a GCC
35610 builtin and then its argument prototype would still apply. */
35614 char SQLAllocEnv ();
35618 return SQLAllocEnv ();
35623 rm -f conftest.$ac_objext conftest$ac_exeext
35624 if { (ac_try="$ac_link"
35625 case "(($ac_try" in
35626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35627 *) ac_try_echo=$ac_try;;
35629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35630 (eval "$ac_link") 2>conftest.er1
35632 grep -v '^ *+' conftest.er1 >conftest.err
35634 cat conftest.err >&5
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); } && {
35637 test -z "$ac_c_werror_flag" ||
35638 test ! -s conftest.err
35639 } && test -s conftest$ac_exeext &&
35640 $as_test_x conftest$ac_exeext; then
35641 ac_cv_lib_odbc_SQLAllocEnv=yes
35643 echo "$as_me: failed program was:" >&5
35644 sed 's/^/| /' conftest.$ac_ext >&5
35646 ac_cv_lib_odbc_SQLAllocEnv=no
35649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35650 conftest$ac_exeext conftest.$ac_ext
35651 LIBS=$ac_check_lib_save_LIBS
35653 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35654 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35655 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35656 ODBC_LINK=" -lodbc"
35666 if test "x$ODBC_LINK" = "x" ; then
35667 if test "$wxUSE_ODBC" = "sys" ; then
35668 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35669 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35670 { (exit 1); exit 1; }; }
35672 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35673 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35681 if test "$wxUSE_ODBC" = "builtin" ; then
35682 cat >>confdefs.h <<\_ACEOF
35683 #define wxUSE_BUILTIN_IODBC 1
35689 if test "$wxUSE_ODBC" != "no" ; then
35690 cat >>confdefs.h <<\_ACEOF
35691 #define wxUSE_ODBC 1
35694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35696 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35700 if test "$wxUSE_DISPLAY" = "yes"; then
35701 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35702 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35703 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35706 for ac_dir in $SEARCH_LIB;
35708 for ac_extension in a so sl dylib dll.a; do
35709 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35710 ac_find_libraries=$ac_dir
35716 if test "$ac_find_libraries" != "" ; then
35718 if test "$ac_find_libraries" = "default location"; then
35721 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35723 if test $result = 0; then
35726 ac_path_to_link=" -L$ac_find_libraries"
35730 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35731 LDFLAGS="$LDFLAGS $ac_path_to_link"
35733 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35734 { echo "$as_me:$LINENO: result: yes" >&5
35735 echo "${ECHO_T}yes" >&6; }
35737 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35738 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35741 for ac_dir in $SEARCH_LIB;
35743 for ac_extension in a so sl dylib dll.a; do
35744 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35745 ac_find_libraries=$ac_dir
35751 if test "$ac_find_libraries" != "" ; then
35752 { echo "$as_me:$LINENO: result: yes" >&5
35753 echo "${ECHO_T}yes" >&6; }
35755 for ac_header in X11/extensions/xf86vmode.h
35757 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35758 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35761 echo $ECHO_N "(cached) $ECHO_C" >&6
35763 cat >conftest.$ac_ext <<_ACEOF
35766 cat confdefs.h >>conftest.$ac_ext
35767 cat >>conftest.$ac_ext <<_ACEOF
35768 /* end confdefs.h. */
35770 #if HAVE_X11_XLIB_H
35771 #include <X11/Xlib.h>
35775 #include <$ac_header>
35777 rm -f conftest.$ac_objext
35778 if { (ac_try="$ac_compile"
35779 case "(($ac_try" in
35780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35781 *) ac_try_echo=$ac_try;;
35783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35784 (eval "$ac_compile") 2>conftest.er1
35786 grep -v '^ *+' conftest.er1 >conftest.err
35788 cat conftest.err >&5
35789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790 (exit $ac_status); } && {
35791 test -z "$ac_c_werror_flag" ||
35792 test ! -s conftest.err
35793 } && test -s conftest.$ac_objext; then
35794 eval "$as_ac_Header=yes"
35796 echo "$as_me: failed program was:" >&5
35797 sed 's/^/| /' conftest.$ac_ext >&5
35799 eval "$as_ac_Header=no"
35802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35804 ac_res=`eval echo '${'$as_ac_Header'}'`
35805 { echo "$as_me:$LINENO: result: $ac_res" >&5
35806 echo "${ECHO_T}$ac_res" >&6; }
35807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35808 cat >>confdefs.h <<_ACEOF
35809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35812 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35819 { echo "$as_me:$LINENO: result: no" >&5
35820 echo "${ECHO_T}no" >&6; }
35824 { echo "$as_me:$LINENO: result: no" >&5
35825 echo "${ECHO_T}no" >&6; }
35826 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35827 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35830 elif test "$wxUSE_MSW" = 1; then
35831 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35832 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35833 if test "${ac_cv_header_ddraw_h+set}" = set; then
35834 echo $ECHO_N "(cached) $ECHO_C" >&6
35836 cat >conftest.$ac_ext <<_ACEOF
35839 cat confdefs.h >>conftest.$ac_ext
35840 cat >>conftest.$ac_ext <<_ACEOF
35841 /* end confdefs.h. */
35842 #include <windows.h>
35846 rm -f conftest.$ac_objext
35847 if { (ac_try="$ac_compile"
35848 case "(($ac_try" in
35849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35850 *) ac_try_echo=$ac_try;;
35852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35853 (eval "$ac_compile") 2>conftest.er1
35855 grep -v '^ *+' conftest.er1 >conftest.err
35857 cat conftest.err >&5
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); } && {
35860 test -z "$ac_c_werror_flag" ||
35861 test ! -s conftest.err
35862 } && test -s conftest.$ac_objext; then
35863 ac_cv_header_ddraw_h=yes
35865 echo "$as_me: failed program was:" >&5
35866 sed 's/^/| /' conftest.$ac_ext >&5
35868 ac_cv_header_ddraw_h=no
35871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35873 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35874 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35880 if test "$wxUSE_DETECT_SM" = "yes"; then
35881 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35882 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35883 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35886 for ac_dir in $SEARCH_LIB;
35888 for ac_extension in a so sl dylib dll.a; do
35889 if test -f "$ac_dir/libSM.$ac_extension"; then
35890 ac_find_libraries=$ac_dir
35896 if test "$ac_find_libraries" != "" ; then
35898 if test "$ac_find_libraries" = "default location"; then
35901 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35903 if test $result = 0; then
35906 ac_path_to_link=" -L$ac_find_libraries"
35910 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35911 LDFLAGS="$LDFLAGS $ac_path_to_link"
35913 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35914 { echo "$as_me:$LINENO: result: yes" >&5
35915 echo "${ECHO_T}yes" >&6; }
35917 { echo "$as_me:$LINENO: result: no" >&5
35918 echo "${ECHO_T}no" >&6; }
35919 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35920 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35921 wxUSE_DETECT_SM="no"
35924 wxUSE_DETECT_SM="no"
35931 if test "$wxUSE_OPENGL" = "yes"; then
35932 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35933 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35934 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35936 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35937 OPENGL_LIBS="-framework OpenGL -framework AGL"
35938 elif test "$wxUSE_MSW" = 1; then
35939 OPENGL_LIBS="-lopengl32 -lglu32"
35941 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35942 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35945 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35947 if test -f "$ac_dir/GL/gl.h"; then
35948 ac_find_includes=$ac_dir
35953 if test "$ac_find_includes" != "" ; then
35954 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35955 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35957 if test "x$ac_find_includes" = "x/usr/include"; then
35958 ac_path_to_include=""
35960 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35962 if test $result = 0; then
35963 ac_path_to_include=""
35965 ac_path_to_include=" -I$ac_find_includes"
35969 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35971 { echo "$as_me:$LINENO: result: not found" >&5
35972 echo "${ECHO_T}not found" >&6; }
35975 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35976 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35977 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35978 echo $ECHO_N "(cached) $ECHO_C" >&6
35980 cat >conftest.$ac_ext <<_ACEOF
35983 cat confdefs.h >>conftest.$ac_ext
35984 cat >>conftest.$ac_ext <<_ACEOF
35985 /* end confdefs.h. */
35990 rm -f conftest.$ac_objext
35991 if { (ac_try="$ac_compile"
35992 case "(($ac_try" in
35993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35994 *) ac_try_echo=$ac_try;;
35996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35997 (eval "$ac_compile") 2>conftest.er1
35999 grep -v '^ *+' conftest.er1 >conftest.err
36001 cat conftest.err >&5
36002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36003 (exit $ac_status); } && {
36004 test -z "$ac_c_werror_flag" ||
36005 test ! -s conftest.err
36006 } && test -s conftest.$ac_objext; then
36007 ac_cv_header_GL_gl_h=yes
36009 echo "$as_me: failed program was:" >&5
36010 sed 's/^/| /' conftest.$ac_ext >&5
36012 ac_cv_header_GL_gl_h=no
36015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36017 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36018 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36019 if test $ac_cv_header_GL_gl_h = yes; then
36021 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36022 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36023 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36024 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36025 echo $ECHO_N "(cached) $ECHO_C" >&6
36027 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36028 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36030 # Is the header compilable?
36031 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
36032 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
36033 cat >conftest.$ac_ext <<_ACEOF
36036 cat confdefs.h >>conftest.$ac_ext
36037 cat >>conftest.$ac_ext <<_ACEOF
36038 /* end confdefs.h. */
36039 $ac_includes_default
36040 #include <GL/glu.h>
36042 rm -f conftest.$ac_objext
36043 if { (ac_try="$ac_compile"
36044 case "(($ac_try" in
36045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36046 *) ac_try_echo=$ac_try;;
36048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36049 (eval "$ac_compile") 2>conftest.er1
36051 grep -v '^ *+' conftest.er1 >conftest.err
36053 cat conftest.err >&5
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); } && {
36056 test -z "$ac_c_werror_flag" ||
36057 test ! -s conftest.err
36058 } && test -s conftest.$ac_objext; then
36059 ac_header_compiler=yes
36061 echo "$as_me: failed program was:" >&5
36062 sed 's/^/| /' conftest.$ac_ext >&5
36064 ac_header_compiler=no
36067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36068 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36069 echo "${ECHO_T}$ac_header_compiler" >&6; }
36071 # Is the header present?
36072 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
36073 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
36074 cat >conftest.$ac_ext <<_ACEOF
36077 cat confdefs.h >>conftest.$ac_ext
36078 cat >>conftest.$ac_ext <<_ACEOF
36079 /* end confdefs.h. */
36080 #include <GL/glu.h>
36082 if { (ac_try="$ac_cpp conftest.$ac_ext"
36083 case "(($ac_try" in
36084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36085 *) ac_try_echo=$ac_try;;
36087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36090 grep -v '^ *+' conftest.er1 >conftest.err
36092 cat conftest.err >&5
36093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36094 (exit $ac_status); } >/dev/null && {
36095 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36096 test ! -s conftest.err
36098 ac_header_preproc=yes
36100 echo "$as_me: failed program was:" >&5
36101 sed 's/^/| /' conftest.$ac_ext >&5
36103 ac_header_preproc=no
36106 rm -f conftest.err conftest.$ac_ext
36107 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36108 echo "${ECHO_T}$ac_header_preproc" >&6; }
36110 # So? What about this header?
36111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36113 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
36114 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
36115 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
36116 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
36117 ac_header_preproc=yes
36120 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
36121 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
36122 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
36123 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
36124 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
36125 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
36126 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
36127 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
36128 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
36129 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
36130 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
36131 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
36133 ## ----------------------------------------- ##
36134 ## Report this to wx-dev@lists.wxwidgets.org ##
36135 ## ----------------------------------------- ##
36137 ) | sed "s/^/$as_me: WARNING: /" >&2
36140 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36141 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36142 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36143 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 ac_cv_header_GL_glu_h=$ac_header_preproc
36147 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36148 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36151 if test $ac_cv_header_GL_glu_h = yes; then
36155 { echo "$as_me:$LINENO: checking for -lGL" >&5
36156 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
36159 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
36161 for ac_extension in a so sl dylib dll.a; do
36162 if test -f "$ac_dir/libGL.$ac_extension"; then
36163 ac_find_libraries=$ac_dir
36169 if test "$ac_find_libraries" != "" ; then
36170 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36171 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36174 if test "$ac_find_libraries" = "default location"; then
36177 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36179 if test $result = 0; then
36182 ac_path_to_link=" -L$ac_find_libraries"
36186 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36187 LDFLAGS_GL="$ac_path_to_link"
36190 { echo "$as_me:$LINENO: checking for -lGLU" >&5
36191 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
36194 for ac_dir in $SEARCH_LIB;
36196 for ac_extension in a so sl dylib dll.a; do
36197 if test -f "$ac_dir/libGLU.$ac_extension"; then
36198 ac_find_libraries=$ac_dir
36204 if test "$ac_find_libraries" != "" ; then
36206 if test "$ac_find_libraries" = "default location"; then
36209 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36211 if test $result = 0; then
36214 ac_path_to_link=" -L$ac_find_libraries"
36218 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36219 "$ac_path_to_link" != "$LDFLAGS_GL"; then
36220 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36224 OPENGL_LIBS="-lGL -lGLU"
36225 { echo "$as_me:$LINENO: result: yes" >&5
36226 echo "${ECHO_T}yes" >&6; }
36228 { echo "$as_me:$LINENO: result: no" >&5
36229 echo "${ECHO_T}no" >&6; }
36232 { echo "$as_me:$LINENO: result: no" >&5
36233 echo "${ECHO_T}no" >&6; }
36236 if test "$found_gl" != 1; then
36237 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
36238 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
36241 for ac_dir in $SEARCH_LIB;
36243 for ac_extension in a so sl dylib dll.a; do
36244 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
36245 ac_find_libraries=$ac_dir
36251 if test "$ac_find_libraries" != "" ; then
36253 if test "$ac_find_libraries" = "default location"; then
36256 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36258 if test $result = 0; then
36261 ac_path_to_link=" -L$ac_find_libraries"
36265 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
36266 OPENGL_LIBS="-lMesaGL -lMesaGLU"
36267 { echo "$as_me:$LINENO: result: yes" >&5
36268 echo "${ECHO_T}yes" >&6; }
36270 { echo "$as_me:$LINENO: result: no" >&5
36271 echo "${ECHO_T}no" >&6; }
36283 if test "x$OPENGL_LIBS" = "x"; then
36284 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
36285 echo "$as_me: error: OpenGL libraries not available" >&2;}
36286 { (exit 1); exit 1; }; }
36290 if test "$wxUSE_OPENGL" = "yes"; then
36292 cat >>confdefs.h <<\_ACEOF
36293 #define wxUSE_OPENGL 1
36296 cat >>confdefs.h <<\_ACEOF
36297 #define wxUSE_GLCANVAS 1
36300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36305 if test -n "$TOOLKIT" ; then
36306 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36311 if test "$wxUSE_SHARED" = "yes"; then
36315 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36316 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36321 if test "$wxUSE_SHARED" = "yes"; then
36325 *-*-cygwin* | *-*-mingw* )
36326 wx_cv_version_script=no
36330 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36331 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36332 if test "${wx_cv_version_script+set}" = set; then
36333 echo $ECHO_N "(cached) $ECHO_C" >&6
36336 echo "VER_1 { *; };" >conftest.sym
36337 echo "int main() { return 0; }" >conftest.cpp
36340 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36341 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36343 (eval $ac_try) 2>&5
36345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36346 (exit $ac_status); }; } ; then
36347 if test -s conftest.stderr ; then
36348 wx_cv_version_script=no
36350 wx_cv_version_script=yes
36353 wx_cv_version_script=no
36356 if test $wx_cv_version_script = yes
36358 echo "struct B { virtual ~B() { } }; \
36359 struct D : public B { }; \
36360 void F() { D d; }" > conftest.cpp
36363 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36364 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36366 (eval $ac_try) 2>&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); }; } &&
36371 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36372 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36374 (eval $ac_try) 2>&5
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); }; }
36380 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36381 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36383 (eval $ac_try) 2>&5
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); }; }
36388 wx_cv_version_script=yes
36390 wx_cv_version_script=no
36395 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36396 rm -f conftest1.output conftest2.output conftest3.output
36399 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36400 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36402 if test $wx_cv_version_script = yes ; then
36403 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36409 if test "$wxUSE_VISIBILITY" != "no"; then
36412 if test -n "$GCC"; then
36413 CFLAGS_VISIBILITY="-fvisibility=hidden"
36414 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36415 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36416 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36417 if test "${wx_cv_cc_visibility+set}" = set; then
36418 echo $ECHO_N "(cached) $ECHO_C" >&6
36421 wx_save_CXXFLAGS="$CXXFLAGS"
36422 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36424 ac_cpp='$CXXCPP $CPPFLAGS'
36425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36429 cat >conftest.$ac_ext <<_ACEOF
36432 cat confdefs.h >>conftest.$ac_ext
36433 cat >>conftest.$ac_ext <<_ACEOF
36434 /* end confdefs.h. */
36436 /* we need gcc >= 4.0, older versions with visibility support
36437 didn't have class visibility: */
36438 #if defined(__GNUC__) && __GNUC__ < 4
36439 error this gcc is too old;
36442 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36443 extern __attribute__((__visibility__("default"))) int exportedvar;
36444 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36445 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36446 class __attribute__((__visibility__("default"))) Foo {
36458 rm -f conftest.$ac_objext
36459 if { (ac_try="$ac_compile"
36460 case "(($ac_try" in
36461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36462 *) ac_try_echo=$ac_try;;
36464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36465 (eval "$ac_compile") 2>conftest.er1
36467 grep -v '^ *+' conftest.er1 >conftest.err
36469 cat conftest.err >&5
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); } && {
36472 test -z "$ac_cxx_werror_flag" ||
36473 test ! -s conftest.err
36474 } && test -s conftest.$ac_objext; then
36475 wx_cv_cc_visibility=yes
36477 echo "$as_me: failed program was:" >&5
36478 sed 's/^/| /' conftest.$ac_ext >&5
36480 wx_cv_cc_visibility=no
36483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36485 ac_cpp='$CPP $CPPFLAGS'
36486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36490 CXXFLAGS="$wx_save_CXXFLAGS"
36493 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36494 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36495 if test $wx_cv_cc_visibility = yes; then
36496 cat >>confdefs.h <<\_ACEOF
36497 #define HAVE_VISIBILITY 1
36501 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36502 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36503 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36504 echo $ECHO_N "(cached) $ECHO_C" >&6
36507 wx_save_CXXFLAGS="$CXXFLAGS"
36508 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36510 ac_cpp='$CXXCPP $CPPFLAGS'
36511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36515 cat >conftest.$ac_ext <<_ACEOF
36518 cat confdefs.h >>conftest.$ac_ext
36519 cat >>conftest.$ac_ext <<_ACEOF
36520 /* end confdefs.h. */
36534 rm -f conftest.$ac_objext conftest$ac_exeext
36535 if { (ac_try="$ac_link"
36536 case "(($ac_try" in
36537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36538 *) ac_try_echo=$ac_try;;
36540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36541 (eval "$ac_link") 2>conftest.er1
36543 grep -v '^ *+' conftest.er1 >conftest.err
36545 cat conftest.err >&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } && {
36548 test -z "$ac_cxx_werror_flag" ||
36549 test ! -s conftest.err
36550 } && test -s conftest$ac_exeext &&
36551 $as_test_x conftest$ac_exeext; then
36552 wx_cv_cc_broken_libstdcxx_visibility=no
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36557 wx_cv_cc_broken_libstdcxx_visibility=yes
36560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36561 conftest$ac_exeext conftest.$ac_ext
36563 ac_cpp='$CPP $CPPFLAGS'
36564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36568 CXXFLAGS="$wx_save_CXXFLAGS"
36571 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36572 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36573 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36574 cat >>confdefs.h <<\_ACEOF
36575 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36581 CFLAGS_VISIBILITY=""
36582 CXXFLAGS_VISIBILITY=""
36590 if test "x$SUNCXX" = xyes; then
36591 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36592 WXCONFIG_RPATH="-R\$libdir"
36595 *-*-linux* | *-*-gnu* )
36596 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36597 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36602 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36604 saveLdflags="$LDFLAGS"
36605 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36606 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36607 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36608 cat >conftest.$ac_ext <<_ACEOF
36611 cat confdefs.h >>conftest.$ac_ext
36612 cat >>conftest.$ac_ext <<_ACEOF
36613 /* end confdefs.h. */
36623 rm -f conftest.$ac_objext conftest$ac_exeext
36624 if { (ac_try="$ac_link"
36625 case "(($ac_try" in
36626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36627 *) ac_try_echo=$ac_try;;
36629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36630 (eval "$ac_link") 2>conftest.er1
36632 grep -v '^ *+' conftest.er1 >conftest.err
36634 cat conftest.err >&5
36635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36636 (exit $ac_status); } && {
36637 test -z "$ac_c_werror_flag" ||
36638 test ! -s conftest.err
36639 } && test -s conftest$ac_exeext &&
36640 $as_test_x conftest$ac_exeext; then
36642 { echo "$as_me:$LINENO: result: yes" >&5
36643 echo "${ECHO_T}yes" >&6; }
36644 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36645 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36648 echo "$as_me: failed program was:" >&5
36649 sed 's/^/| /' conftest.$ac_ext >&5
36652 { echo "$as_me:$LINENO: result: no" >&5
36653 echo "${ECHO_T}no" >&6; }
36654 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36655 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36656 LDFLAGS="$saveLdflags -Wl,-R,/"
36657 cat >conftest.$ac_ext <<_ACEOF
36660 cat confdefs.h >>conftest.$ac_ext
36661 cat >>conftest.$ac_ext <<_ACEOF
36662 /* end confdefs.h. */
36672 rm -f conftest.$ac_objext conftest$ac_exeext
36673 if { (ac_try="$ac_link"
36674 case "(($ac_try" in
36675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36676 *) ac_try_echo=$ac_try;;
36678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36679 (eval "$ac_link") 2>conftest.er1
36681 grep -v '^ *+' conftest.er1 >conftest.err
36683 cat conftest.err >&5
36684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36685 (exit $ac_status); } && {
36686 test -z "$ac_c_werror_flag" ||
36687 test ! -s conftest.err
36688 } && test -s conftest$ac_exeext &&
36689 $as_test_x conftest$ac_exeext; then
36691 { echo "$as_me:$LINENO: result: yes" >&5
36692 echo "${ECHO_T}yes" >&6; }
36693 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36694 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36697 echo "$as_me: failed program was:" >&5
36698 sed 's/^/| /' conftest.$ac_ext >&5
36701 { echo "$as_me:$LINENO: result: no" >&5
36702 echo "${ECHO_T}no" >&6; }
36706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36707 conftest$ac_exeext conftest.$ac_ext
36711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36712 conftest$ac_exeext conftest.$ac_ext
36713 LDFLAGS="$saveLdflags"
36717 install_name_tool=`which install_name_tool`
36718 if test "$install_name_tool" -a -x "$install_name_tool"; then
36719 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36720 cat <<EOF >change-install-names
36722 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36723 inst_cmd="install_name_tool "
36724 for i in \${libnames} ; do
36725 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36729 chmod +x change-install-names
36733 *-*-cygwin* | *-*-mingw32* )
36734 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36738 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36739 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36745 if test $wxUSE_RPATH = "no"; then
36746 SAMPLES_RPATH_FLAG=''
36747 SAMPLES_RPATH_POSTLINK=''
36755 config_linkage_component="-static"
36762 lib_unicode_suffix=
36764 if test "$wxUSE_UNICODE" = "yes"; then
36765 lib_unicode_suffix=u
36766 WX_CHARTYPE="unicode"
36771 WX_DEBUGTYPE="release"
36773 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36775 WX_DEBUGTYPE="debug"
36779 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36780 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36783 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36787 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36789 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36791 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36793 if test "$cross_compiling" = "yes"; then
36794 HOST_SUFFIX="-$host_alias"
36795 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36796 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36799 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36800 if test "${TOOLKIT_DIR}" = "os2"; then
36801 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36803 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36808 if test "$wxUSE_COCOA" = 1; then
36811 ac_cpp='$CPP $CPPFLAGS'
36812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36818 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36819 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36820 cat >conftest.$ac_ext <<_ACEOF
36823 cat confdefs.h >>conftest.$ac_ext
36824 cat >>conftest.$ac_ext <<_ACEOF
36825 /* end confdefs.h. */
36826 #include <AppKit/NSEvent.h>
36827 #include <CoreFoundation/CoreFoundation.h>
36837 rm -f conftest.$ac_objext
36838 if { (ac_try="$ac_compile"
36839 case "(($ac_try" in
36840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36841 *) ac_try_echo=$ac_try;;
36843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36844 (eval "$ac_compile") 2>conftest.er1
36846 grep -v '^ *+' conftest.er1 >conftest.err
36848 cat conftest.err >&5
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); } && {
36851 test -z "$ac_c_werror_flag" ||
36852 test ! -s conftest.err
36853 } && test -s conftest.$ac_objext; then
36854 { echo "$as_me:$LINENO: result: no" >&5
36855 echo "${ECHO_T}no" >&6; }
36857 echo "$as_me: failed program was:" >&5
36858 sed 's/^/| /' conftest.$ac_ext >&5
36860 { echo "$as_me:$LINENO: result: yes" >&5
36861 echo "${ECHO_T}yes" >&6; }
36862 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36863 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36864 cat >conftest.$ac_ext <<_ACEOF
36867 cat confdefs.h >>conftest.$ac_ext
36868 cat >>conftest.$ac_ext <<_ACEOF
36869 /* end confdefs.h. */
36870 #define __Point__ 1
36871 #include <AppKit/NSEvent.h>
36872 #include <CoreFoundation/CoreFoundation.h>
36882 rm -f conftest.$ac_objext
36883 if { (ac_try="$ac_compile"
36884 case "(($ac_try" in
36885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36886 *) ac_try_echo=$ac_try;;
36888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36889 (eval "$ac_compile") 2>conftest.er1
36891 grep -v '^ *+' conftest.er1 >conftest.err
36893 cat conftest.err >&5
36894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36895 (exit $ac_status); } && {
36896 test -z "$ac_c_werror_flag" ||
36897 test ! -s conftest.err
36898 } && test -s conftest.$ac_objext; then
36899 { echo "$as_me:$LINENO: result: yes" >&5
36900 echo "${ECHO_T}yes" >&6; }
36901 cat >>confdefs.h <<\_ACEOF
36902 #define __Point__ 1
36907 echo "$as_me: failed program was:" >&5
36908 sed 's/^/| /' conftest.$ac_ext >&5
36910 { { echo "$as_me:$LINENO: error: no
36911 See \`config.log' for more details." >&5
36912 echo "$as_me: error: no
36913 See \`config.log' for more details." >&2;}
36914 { (exit 1); exit 1; }; }
36918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36924 ac_cpp='$CPP $CPPFLAGS'
36925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36931 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36932 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36933 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36935 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36937 # Extract the first word of "Rez", so it can be a program name with args.
36938 set dummy Rez; ac_word=$2
36939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36941 if test "${ac_cv_prog_REZ+set}" = set; then
36942 echo $ECHO_N "(cached) $ECHO_C" >&6
36944 if test -n "$REZ"; then
36945 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36948 for as_dir in $PATH
36951 test -z "$as_dir" && as_dir=.
36952 for ac_exec_ext in '' $ac_executable_extensions; do
36953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36954 ac_cv_prog_REZ="Rez"
36955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36962 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36965 REZ=$ac_cv_prog_REZ
36966 if test -n "$REZ"; then
36967 { echo "$as_me:$LINENO: result: $REZ" >&5
36968 echo "${ECHO_T}$REZ" >&6; }
36970 { echo "$as_me:$LINENO: result: no" >&5
36971 echo "${ECHO_T}no" >&6; }
36975 # Extract the first word of "DeRez", so it can be a program name with args.
36976 set dummy DeRez; ac_word=$2
36977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36979 if test "${ac_cv_prog_DEREZ+set}" = set; then
36980 echo $ECHO_N "(cached) $ECHO_C" >&6
36982 if test -n "$DEREZ"; then
36983 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36986 for as_dir in $PATH
36989 test -z "$as_dir" && as_dir=.
36990 for ac_exec_ext in '' $ac_executable_extensions; do
36991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36992 ac_cv_prog_DEREZ="DeRez"
36993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37000 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
37003 DEREZ=$ac_cv_prog_DEREZ
37004 if test -n "$DEREZ"; then
37005 { echo "$as_me:$LINENO: result: $DEREZ" >&5
37006 echo "${ECHO_T}$DEREZ" >&6; }
37008 { echo "$as_me:$LINENO: result: no" >&5
37009 echo "${ECHO_T}no" >&6; }
37013 # Extract the first word of "SetFile", so it can be a program name with args.
37014 set dummy SetFile; ac_word=$2
37015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
37016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37017 if test "${ac_cv_prog_SETFILE+set}" = set; then
37018 echo $ECHO_N "(cached) $ECHO_C" >&6
37020 if test -n "$SETFILE"; then
37021 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
37023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37024 for as_dir in $PATH
37027 test -z "$as_dir" && as_dir=.
37028 for ac_exec_ext in '' $ac_executable_extensions; do
37029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37030 ac_cv_prog_SETFILE="SetFile"
37031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37038 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
37041 SETFILE=$ac_cv_prog_SETFILE
37042 if test -n "$SETFILE"; then
37043 { echo "$as_me:$LINENO: result: $SETFILE" >&5
37044 echo "${ECHO_T}$SETFILE" >&6; }
37046 { echo "$as_me:$LINENO: result: no" >&5
37047 echo "${ECHO_T}no" >&6; }
37052 MACSETFILE="\$(SETFILE)"
37054 if test "$wxUSE_MAC" = 1; then
37055 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
37057 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
37059 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
37060 RESCOMP="echo -n \| $REZ"
37061 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
37067 if test "$wxUSE_PM" = 1; then
37069 WXCONFIG_RESFLAGS="-ep"
37071 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
37073 POSTLINK_COMMAND="@true"
37080 { echo "$as_me:$LINENO: checking for mode_t" >&5
37081 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
37082 if test "${ac_cv_type_mode_t+set}" = set; then
37083 echo $ECHO_N "(cached) $ECHO_C" >&6
37085 cat >conftest.$ac_ext <<_ACEOF
37088 cat confdefs.h >>conftest.$ac_ext
37089 cat >>conftest.$ac_ext <<_ACEOF
37090 /* end confdefs.h. */
37091 $ac_includes_default
37092 typedef mode_t ac__type_new_;
37096 if ((ac__type_new_ *) 0)
37098 if (sizeof (ac__type_new_))
37104 rm -f conftest.$ac_objext
37105 if { (ac_try="$ac_compile"
37106 case "(($ac_try" in
37107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37108 *) ac_try_echo=$ac_try;;
37110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37111 (eval "$ac_compile") 2>conftest.er1
37113 grep -v '^ *+' conftest.er1 >conftest.err
37115 cat conftest.err >&5
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); } && {
37118 test -z "$ac_c_werror_flag" ||
37119 test ! -s conftest.err
37120 } && test -s conftest.$ac_objext; then
37121 ac_cv_type_mode_t=yes
37123 echo "$as_me: failed program was:" >&5
37124 sed 's/^/| /' conftest.$ac_ext >&5
37126 ac_cv_type_mode_t=no
37129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37131 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
37132 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
37133 if test $ac_cv_type_mode_t = yes; then
37137 cat >>confdefs.h <<_ACEOF
37143 { echo "$as_me:$LINENO: checking for off_t" >&5
37144 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
37145 if test "${ac_cv_type_off_t+set}" = set; then
37146 echo $ECHO_N "(cached) $ECHO_C" >&6
37148 cat >conftest.$ac_ext <<_ACEOF
37151 cat confdefs.h >>conftest.$ac_ext
37152 cat >>conftest.$ac_ext <<_ACEOF
37153 /* end confdefs.h. */
37154 $ac_includes_default
37155 typedef off_t ac__type_new_;
37159 if ((ac__type_new_ *) 0)
37161 if (sizeof (ac__type_new_))
37167 rm -f conftest.$ac_objext
37168 if { (ac_try="$ac_compile"
37169 case "(($ac_try" in
37170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37171 *) ac_try_echo=$ac_try;;
37173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37174 (eval "$ac_compile") 2>conftest.er1
37176 grep -v '^ *+' conftest.er1 >conftest.err
37178 cat conftest.err >&5
37179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180 (exit $ac_status); } && {
37181 test -z "$ac_c_werror_flag" ||
37182 test ! -s conftest.err
37183 } && test -s conftest.$ac_objext; then
37184 ac_cv_type_off_t=yes
37186 echo "$as_me: failed program was:" >&5
37187 sed 's/^/| /' conftest.$ac_ext >&5
37189 ac_cv_type_off_t=no
37192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37194 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
37195 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
37196 if test $ac_cv_type_off_t = yes; then
37200 cat >>confdefs.h <<_ACEOF
37201 #define off_t long int
37206 { echo "$as_me:$LINENO: checking for pid_t" >&5
37207 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
37208 if test "${ac_cv_type_pid_t+set}" = set; then
37209 echo $ECHO_N "(cached) $ECHO_C" >&6
37211 cat >conftest.$ac_ext <<_ACEOF
37214 cat confdefs.h >>conftest.$ac_ext
37215 cat >>conftest.$ac_ext <<_ACEOF
37216 /* end confdefs.h. */
37217 $ac_includes_default
37218 typedef pid_t ac__type_new_;
37222 if ((ac__type_new_ *) 0)
37224 if (sizeof (ac__type_new_))
37230 rm -f conftest.$ac_objext
37231 if { (ac_try="$ac_compile"
37232 case "(($ac_try" in
37233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37234 *) ac_try_echo=$ac_try;;
37236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37237 (eval "$ac_compile") 2>conftest.er1
37239 grep -v '^ *+' conftest.er1 >conftest.err
37241 cat conftest.err >&5
37242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 (exit $ac_status); } && {
37244 test -z "$ac_c_werror_flag" ||
37245 test ! -s conftest.err
37246 } && test -s conftest.$ac_objext; then
37247 ac_cv_type_pid_t=yes
37249 echo "$as_me: failed program was:" >&5
37250 sed 's/^/| /' conftest.$ac_ext >&5
37252 ac_cv_type_pid_t=no
37255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37257 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
37258 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
37259 if test $ac_cv_type_pid_t = yes; then
37263 cat >>confdefs.h <<_ACEOF
37269 { echo "$as_me:$LINENO: checking for size_t" >&5
37270 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
37271 if test "${ac_cv_type_size_t+set}" = set; then
37272 echo $ECHO_N "(cached) $ECHO_C" >&6
37274 cat >conftest.$ac_ext <<_ACEOF
37277 cat confdefs.h >>conftest.$ac_ext
37278 cat >>conftest.$ac_ext <<_ACEOF
37279 /* end confdefs.h. */
37280 $ac_includes_default
37281 typedef size_t ac__type_new_;
37285 if ((ac__type_new_ *) 0)
37287 if (sizeof (ac__type_new_))
37293 rm -f conftest.$ac_objext
37294 if { (ac_try="$ac_compile"
37295 case "(($ac_try" in
37296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37297 *) ac_try_echo=$ac_try;;
37299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37300 (eval "$ac_compile") 2>conftest.er1
37302 grep -v '^ *+' conftest.er1 >conftest.err
37304 cat conftest.err >&5
37305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306 (exit $ac_status); } && {
37307 test -z "$ac_c_werror_flag" ||
37308 test ! -s conftest.err
37309 } && test -s conftest.$ac_objext; then
37310 ac_cv_type_size_t=yes
37312 echo "$as_me: failed program was:" >&5
37313 sed 's/^/| /' conftest.$ac_ext >&5
37315 ac_cv_type_size_t=no
37318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37320 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
37321 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
37322 if test $ac_cv_type_size_t = yes; then
37326 cat >>confdefs.h <<_ACEOF
37327 #define size_t unsigned int
37332 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
37333 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
37334 if test "${ac_cv_type_uid_t+set}" = set; then
37335 echo $ECHO_N "(cached) $ECHO_C" >&6
37337 cat >conftest.$ac_ext <<_ACEOF
37340 cat confdefs.h >>conftest.$ac_ext
37341 cat >>conftest.$ac_ext <<_ACEOF
37342 /* end confdefs.h. */
37343 #include <sys/types.h>
37346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
37347 $EGREP "uid_t" >/dev/null 2>&1; then
37348 ac_cv_type_uid_t=yes
37350 ac_cv_type_uid_t=no
37355 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
37356 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
37357 if test $ac_cv_type_uid_t = no; then
37359 cat >>confdefs.h <<\_ACEOF
37364 cat >>confdefs.h <<\_ACEOF
37371 { echo "$as_me:$LINENO: checking for ssize_t" >&5
37372 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
37373 if test "${ac_cv_type_ssize_t+set}" = set; then
37374 echo $ECHO_N "(cached) $ECHO_C" >&6
37376 cat >conftest.$ac_ext <<_ACEOF
37379 cat confdefs.h >>conftest.$ac_ext
37380 cat >>conftest.$ac_ext <<_ACEOF
37381 /* end confdefs.h. */
37382 $ac_includes_default
37383 typedef ssize_t ac__type_new_;
37387 if ((ac__type_new_ *) 0)
37389 if (sizeof (ac__type_new_))
37395 rm -f conftest.$ac_objext
37396 if { (ac_try="$ac_compile"
37397 case "(($ac_try" in
37398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37399 *) ac_try_echo=$ac_try;;
37401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37402 (eval "$ac_compile") 2>conftest.er1
37404 grep -v '^ *+' conftest.er1 >conftest.err
37406 cat conftest.err >&5
37407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37408 (exit $ac_status); } && {
37409 test -z "$ac_c_werror_flag" ||
37410 test ! -s conftest.err
37411 } && test -s conftest.$ac_objext; then
37412 ac_cv_type_ssize_t=yes
37414 echo "$as_me: failed program was:" >&5
37415 sed 's/^/| /' conftest.$ac_ext >&5
37417 ac_cv_type_ssize_t=no
37420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37422 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37423 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37424 if test $ac_cv_type_ssize_t = yes; then
37426 cat >>confdefs.h <<_ACEOF
37427 #define HAVE_SSIZE_T 1
37435 ac_cpp='$CXXCPP $CPPFLAGS'
37436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37439 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37440 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37441 if test "${wx_cv_size_t_is_uint+set}" = set; then
37442 echo $ECHO_N "(cached) $ECHO_C" >&6
37445 cat >conftest.$ac_ext <<_ACEOF
37448 cat confdefs.h >>conftest.$ac_ext
37449 cat >>conftest.$ac_ext <<_ACEOF
37450 /* end confdefs.h. */
37451 #include <stddef.h>
37458 struct Foo { void foo(size_t); void foo(unsigned int); };
37466 rm -f conftest.$ac_objext
37467 if { (ac_try="$ac_compile"
37468 case "(($ac_try" in
37469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37470 *) ac_try_echo=$ac_try;;
37472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37473 (eval "$ac_compile") 2>conftest.er1
37475 grep -v '^ *+' conftest.er1 >conftest.err
37477 cat conftest.err >&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); } && {
37480 test -z "$ac_cxx_werror_flag" ||
37481 test ! -s conftest.err
37482 } && test -s conftest.$ac_objext; then
37483 wx_cv_size_t_is_uint=no
37485 echo "$as_me: failed program was:" >&5
37486 sed 's/^/| /' conftest.$ac_ext >&5
37488 wx_cv_size_t_is_uint=yes
37492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37496 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37497 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37499 if test "$wx_cv_size_t_is_uint" = "yes"; then
37500 cat >>confdefs.h <<\_ACEOF
37501 #define wxSIZE_T_IS_UINT 1
37505 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37506 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37507 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37508 echo $ECHO_N "(cached) $ECHO_C" >&6
37510 cat >conftest.$ac_ext <<_ACEOF
37513 cat confdefs.h >>conftest.$ac_ext
37514 cat >>conftest.$ac_ext <<_ACEOF
37515 /* end confdefs.h. */
37516 #include <stddef.h>
37523 struct Foo { void foo(size_t); void foo(unsigned long); };
37531 rm -f conftest.$ac_objext
37532 if { (ac_try="$ac_compile"
37533 case "(($ac_try" in
37534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37535 *) ac_try_echo=$ac_try;;
37537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37538 (eval "$ac_compile") 2>conftest.er1
37540 grep -v '^ *+' conftest.er1 >conftest.err
37542 cat conftest.err >&5
37543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544 (exit $ac_status); } && {
37545 test -z "$ac_cxx_werror_flag" ||
37546 test ! -s conftest.err
37547 } && test -s conftest.$ac_objext; then
37548 wx_cv_size_t_is_ulong=no
37550 echo "$as_me: failed program was:" >&5
37551 sed 's/^/| /' conftest.$ac_ext >&5
37553 wx_cv_size_t_is_ulong=yes
37557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37560 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37561 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37563 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37564 cat >>confdefs.h <<\_ACEOF
37565 #define wxSIZE_T_IS_ULONG 1
37571 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37572 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37573 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37574 echo $ECHO_N "(cached) $ECHO_C" >&6
37576 cat >conftest.$ac_ext <<_ACEOF
37579 cat confdefs.h >>conftest.$ac_ext
37580 cat >>conftest.$ac_ext <<_ACEOF
37581 /* end confdefs.h. */
37589 struct Foo { void foo(wchar_t);
37590 void foo(unsigned short);
37591 void foo(unsigned int);
37592 void foo(unsigned long); };
37600 rm -f conftest.$ac_objext
37601 if { (ac_try="$ac_compile"
37602 case "(($ac_try" in
37603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37604 *) ac_try_echo=$ac_try;;
37606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37607 (eval "$ac_compile") 2>conftest.er1
37609 grep -v '^ *+' conftest.er1 >conftest.err
37611 cat conftest.err >&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); } && {
37614 test -z "$ac_cxx_werror_flag" ||
37615 test ! -s conftest.err
37616 } && test -s conftest.$ac_objext; then
37617 wx_cv_wchar_t_is_separate_type=yes
37619 echo "$as_me: failed program was:" >&5
37620 sed 's/^/| /' conftest.$ac_ext >&5
37622 wx_cv_wchar_t_is_separate_type=no
37626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37629 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37630 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37632 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37633 cat >>confdefs.h <<\_ACEOF
37634 #define wxWCHAR_T_IS_REAL_TYPE 1
37638 cat >>confdefs.h <<\_ACEOF
37639 #define wxWCHAR_T_IS_REAL_TYPE 0
37645 ac_cpp='$CPP $CPPFLAGS'
37646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37651 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37652 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37653 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37654 echo $ECHO_N "(cached) $ECHO_C" >&6
37657 cat >conftest.$ac_ext <<_ACEOF
37660 cat confdefs.h >>conftest.$ac_ext
37661 cat >>conftest.$ac_ext <<_ACEOF
37662 /* end confdefs.h. */
37676 rm -f conftest.$ac_objext
37677 if { (ac_try="$ac_compile"
37678 case "(($ac_try" in
37679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37680 *) ac_try_echo=$ac_try;;
37682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37683 (eval "$ac_compile") 2>conftest.er1
37685 grep -v '^ *+' conftest.er1 >conftest.err
37687 cat conftest.err >&5
37688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689 (exit $ac_status); } && {
37690 test -z "$ac_c_werror_flag" ||
37691 test ! -s conftest.err
37692 } && test -s conftest.$ac_objext; then
37694 wx_cv_struct_pw_gecos=yes
37697 echo "$as_me: failed program was:" >&5
37698 sed 's/^/| /' conftest.$ac_ext >&5
37701 wx_cv_struct_pw_gecos=no
37706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37710 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37711 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37713 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37714 cat >>confdefs.h <<\_ACEOF
37715 #define HAVE_PW_GECOS 1
37721 if test "$wxUSE_WCHAR_T" = "yes"; then
37722 cat >>confdefs.h <<\_ACEOF
37723 #define wxUSE_WCHAR_T 1
37730 for ac_func in wcslen
37732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37735 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 cat >conftest.$ac_ext <<_ACEOF
37741 cat confdefs.h >>conftest.$ac_ext
37742 cat >>conftest.$ac_ext <<_ACEOF
37743 /* end confdefs.h. */
37744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37746 #define $ac_func innocuous_$ac_func
37748 /* System header to define __stub macros and hopefully few prototypes,
37749 which can conflict with char $ac_func (); below.
37750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37751 <limits.h> exists even on freestanding compilers. */
37754 # include <limits.h>
37756 # include <assert.h>
37761 /* Override any GCC internal prototype to avoid an error.
37762 Use char because int might match the return type of a GCC
37763 builtin and then its argument prototype would still apply. */
37768 /* The GNU C library defines this for functions which it implements
37769 to always fail with ENOSYS. Some functions are actually named
37770 something starting with __ and the normal name is an alias. */
37771 #if defined __stub_$ac_func || defined __stub___$ac_func
37778 return $ac_func ();
37783 rm -f conftest.$ac_objext conftest$ac_exeext
37784 if { (ac_try="$ac_link"
37785 case "(($ac_try" in
37786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37787 *) ac_try_echo=$ac_try;;
37789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37790 (eval "$ac_link") 2>conftest.er1
37792 grep -v '^ *+' conftest.er1 >conftest.err
37794 cat conftest.err >&5
37795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37796 (exit $ac_status); } && {
37797 test -z "$ac_c_werror_flag" ||
37798 test ! -s conftest.err
37799 } && test -s conftest$ac_exeext &&
37800 $as_test_x conftest$ac_exeext; then
37801 eval "$as_ac_var=yes"
37803 echo "$as_me: failed program was:" >&5
37804 sed 's/^/| /' conftest.$ac_ext >&5
37806 eval "$as_ac_var=no"
37809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37810 conftest$ac_exeext conftest.$ac_ext
37812 ac_res=`eval echo '${'$as_ac_var'}'`
37813 { echo "$as_me:$LINENO: result: $ac_res" >&5
37814 echo "${ECHO_T}$ac_res" >&6; }
37815 if test `eval echo '${'$as_ac_var'}'` = yes; then
37816 cat >>confdefs.h <<_ACEOF
37817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37824 if test "$WCSLEN_FOUND" = 0; then
37825 if test "$TOOLKIT" = "MSW"; then
37826 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37827 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37828 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37829 echo $ECHO_N "(cached) $ECHO_C" >&6
37831 ac_check_lib_save_LIBS=$LIBS
37832 LIBS="-lmsvcrt $LIBS"
37833 cat >conftest.$ac_ext <<_ACEOF
37836 cat confdefs.h >>conftest.$ac_ext
37837 cat >>conftest.$ac_ext <<_ACEOF
37838 /* end confdefs.h. */
37840 /* Override any GCC internal prototype to avoid an error.
37841 Use char because int might match the return type of a GCC
37842 builtin and then its argument prototype would still apply. */
37855 rm -f conftest.$ac_objext conftest$ac_exeext
37856 if { (ac_try="$ac_link"
37857 case "(($ac_try" in
37858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37859 *) ac_try_echo=$ac_try;;
37861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37862 (eval "$ac_link") 2>conftest.er1
37864 grep -v '^ *+' conftest.er1 >conftest.err
37866 cat conftest.err >&5
37867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37868 (exit $ac_status); } && {
37869 test -z "$ac_c_werror_flag" ||
37870 test ! -s conftest.err
37871 } && test -s conftest$ac_exeext &&
37872 $as_test_x conftest$ac_exeext; then
37873 ac_cv_lib_msvcrt_wcslen=yes
37875 echo "$as_me: failed program was:" >&5
37876 sed 's/^/| /' conftest.$ac_ext >&5
37878 ac_cv_lib_msvcrt_wcslen=no
37881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37882 conftest$ac_exeext conftest.$ac_ext
37883 LIBS=$ac_check_lib_save_LIBS
37885 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37886 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37887 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37892 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37893 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37894 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37895 echo $ECHO_N "(cached) $ECHO_C" >&6
37897 ac_check_lib_save_LIBS=$LIBS
37899 cat >conftest.$ac_ext <<_ACEOF
37902 cat confdefs.h >>conftest.$ac_ext
37903 cat >>conftest.$ac_ext <<_ACEOF
37904 /* end confdefs.h. */
37906 /* Override any GCC internal prototype to avoid an error.
37907 Use char because int might match the return type of a GCC
37908 builtin and then its argument prototype would still apply. */
37921 rm -f conftest.$ac_objext conftest$ac_exeext
37922 if { (ac_try="$ac_link"
37923 case "(($ac_try" in
37924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37925 *) ac_try_echo=$ac_try;;
37927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37928 (eval "$ac_link") 2>conftest.er1
37930 grep -v '^ *+' conftest.er1 >conftest.err
37932 cat conftest.err >&5
37933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37934 (exit $ac_status); } && {
37935 test -z "$ac_c_werror_flag" ||
37936 test ! -s conftest.err
37937 } && test -s conftest$ac_exeext &&
37938 $as_test_x conftest$ac_exeext; then
37939 ac_cv_lib_w_wcslen=yes
37941 echo "$as_me: failed program was:" >&5
37942 sed 's/^/| /' conftest.$ac_ext >&5
37944 ac_cv_lib_w_wcslen=no
37947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37948 conftest$ac_exeext conftest.$ac_ext
37949 LIBS=$ac_check_lib_save_LIBS
37951 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37952 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37953 if test $ac_cv_lib_w_wcslen = yes; then
37963 if test "$WCSLEN_FOUND" = 1; then
37964 cat >>confdefs.h <<\_ACEOF
37965 #define HAVE_WCSLEN 1
37971 for ac_func in wcsdup
37973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37974 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37976 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37977 echo $ECHO_N "(cached) $ECHO_C" >&6
37979 cat >conftest.$ac_ext <<_ACEOF
37982 cat confdefs.h >>conftest.$ac_ext
37983 cat >>conftest.$ac_ext <<_ACEOF
37984 /* end confdefs.h. */
37985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37987 #define $ac_func innocuous_$ac_func
37989 /* System header to define __stub macros and hopefully few prototypes,
37990 which can conflict with char $ac_func (); below.
37991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37992 <limits.h> exists even on freestanding compilers. */
37995 # include <limits.h>
37997 # include <assert.h>
38002 /* Override any GCC internal prototype to avoid an error.
38003 Use char because int might match the return type of a GCC
38004 builtin and then its argument prototype would still apply. */
38009 /* The GNU C library defines this for functions which it implements
38010 to always fail with ENOSYS. Some functions are actually named
38011 something starting with __ and the normal name is an alias. */
38012 #if defined __stub_$ac_func || defined __stub___$ac_func
38019 return $ac_func ();
38024 rm -f conftest.$ac_objext conftest$ac_exeext
38025 if { (ac_try="$ac_link"
38026 case "(($ac_try" in
38027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38028 *) ac_try_echo=$ac_try;;
38030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38031 (eval "$ac_link") 2>conftest.er1
38033 grep -v '^ *+' conftest.er1 >conftest.err
38035 cat conftest.err >&5
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); } && {
38038 test -z "$ac_c_werror_flag" ||
38039 test ! -s conftest.err
38040 } && test -s conftest$ac_exeext &&
38041 $as_test_x conftest$ac_exeext; then
38042 eval "$as_ac_var=yes"
38044 echo "$as_me: failed program was:" >&5
38045 sed 's/^/| /' conftest.$ac_ext >&5
38047 eval "$as_ac_var=no"
38050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38051 conftest$ac_exeext conftest.$ac_ext
38053 ac_res=`eval echo '${'$as_ac_var'}'`
38054 { echo "$as_me:$LINENO: result: $ac_res" >&5
38055 echo "${ECHO_T}$ac_res" >&6; }
38056 if test `eval echo '${'$as_ac_var'}'` = yes; then
38057 cat >>confdefs.h <<_ACEOF
38058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38065 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
38066 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
38069 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
38070 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
38071 if test "${ac_cv_type_mbstate_t+set}" = set; then
38072 echo $ECHO_N "(cached) $ECHO_C" >&6
38074 cat >conftest.$ac_ext <<_ACEOF
38077 cat confdefs.h >>conftest.$ac_ext
38078 cat >>conftest.$ac_ext <<_ACEOF
38079 /* end confdefs.h. */
38082 typedef mbstate_t ac__type_new_;
38086 if ((ac__type_new_ *) 0)
38088 if (sizeof (ac__type_new_))
38094 rm -f conftest.$ac_objext
38095 if { (ac_try="$ac_compile"
38096 case "(($ac_try" in
38097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38098 *) ac_try_echo=$ac_try;;
38100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38101 (eval "$ac_compile") 2>conftest.er1
38103 grep -v '^ *+' conftest.er1 >conftest.err
38105 cat conftest.err >&5
38106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38107 (exit $ac_status); } && {
38108 test -z "$ac_c_werror_flag" ||
38109 test ! -s conftest.err
38110 } && test -s conftest.$ac_objext; then
38111 ac_cv_type_mbstate_t=yes
38113 echo "$as_me: failed program was:" >&5
38114 sed 's/^/| /' conftest.$ac_ext >&5
38116 ac_cv_type_mbstate_t=no
38119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38121 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
38122 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
38123 if test $ac_cv_type_mbstate_t = yes; then
38125 cat >>confdefs.h <<_ACEOF
38126 #define HAVE_MBSTATE_T 1
38130 for ac_func in wcsrtombs
38132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38138 cat >conftest.$ac_ext <<_ACEOF
38141 cat confdefs.h >>conftest.$ac_ext
38142 cat >>conftest.$ac_ext <<_ACEOF
38143 /* end confdefs.h. */
38144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38146 #define $ac_func innocuous_$ac_func
38148 /* System header to define __stub macros and hopefully few prototypes,
38149 which can conflict with char $ac_func (); below.
38150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38151 <limits.h> exists even on freestanding compilers. */
38154 # include <limits.h>
38156 # include <assert.h>
38161 /* Override any GCC internal prototype to avoid an error.
38162 Use char because int might match the return type of a GCC
38163 builtin and then its argument prototype would still apply. */
38168 /* The GNU C library defines this for functions which it implements
38169 to always fail with ENOSYS. Some functions are actually named
38170 something starting with __ and the normal name is an alias. */
38171 #if defined __stub_$ac_func || defined __stub___$ac_func
38178 return $ac_func ();
38183 rm -f conftest.$ac_objext conftest$ac_exeext
38184 if { (ac_try="$ac_link"
38185 case "(($ac_try" in
38186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38187 *) ac_try_echo=$ac_try;;
38189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38190 (eval "$ac_link") 2>conftest.er1
38192 grep -v '^ *+' conftest.er1 >conftest.err
38194 cat conftest.err >&5
38195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196 (exit $ac_status); } && {
38197 test -z "$ac_c_werror_flag" ||
38198 test ! -s conftest.err
38199 } && test -s conftest$ac_exeext &&
38200 $as_test_x conftest$ac_exeext; then
38201 eval "$as_ac_var=yes"
38203 echo "$as_me: failed program was:" >&5
38204 sed 's/^/| /' conftest.$ac_ext >&5
38206 eval "$as_ac_var=no"
38209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38210 conftest$ac_exeext conftest.$ac_ext
38212 ac_res=`eval echo '${'$as_ac_var'}'`
38213 { echo "$as_me:$LINENO: result: $ac_res" >&5
38214 echo "${ECHO_T}$ac_res" >&6; }
38215 if test `eval echo '${'$as_ac_var'}'` = yes; then
38216 cat >>confdefs.h <<_ACEOF
38217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38226 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
38227 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
38232 for ac_func in snprintf vsnprintf
38234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38235 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38237 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38238 echo $ECHO_N "(cached) $ECHO_C" >&6
38240 cat >conftest.$ac_ext <<_ACEOF
38243 cat confdefs.h >>conftest.$ac_ext
38244 cat >>conftest.$ac_ext <<_ACEOF
38245 /* end confdefs.h. */
38246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38248 #define $ac_func innocuous_$ac_func
38250 /* System header to define __stub macros and hopefully few prototypes,
38251 which can conflict with char $ac_func (); below.
38252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38253 <limits.h> exists even on freestanding compilers. */
38256 # include <limits.h>
38258 # include <assert.h>
38263 /* Override any GCC internal prototype to avoid an error.
38264 Use char because int might match the return type of a GCC
38265 builtin and then its argument prototype would still apply. */
38270 /* The GNU C library defines this for functions which it implements
38271 to always fail with ENOSYS. Some functions are actually named
38272 something starting with __ and the normal name is an alias. */
38273 #if defined __stub_$ac_func || defined __stub___$ac_func
38280 return $ac_func ();
38285 rm -f conftest.$ac_objext conftest$ac_exeext
38286 if { (ac_try="$ac_link"
38287 case "(($ac_try" in
38288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38289 *) ac_try_echo=$ac_try;;
38291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38292 (eval "$ac_link") 2>conftest.er1
38294 grep -v '^ *+' conftest.er1 >conftest.err
38296 cat conftest.err >&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); } && {
38299 test -z "$ac_c_werror_flag" ||
38300 test ! -s conftest.err
38301 } && test -s conftest$ac_exeext &&
38302 $as_test_x conftest$ac_exeext; then
38303 eval "$as_ac_var=yes"
38305 echo "$as_me: failed program was:" >&5
38306 sed 's/^/| /' conftest.$ac_ext >&5
38308 eval "$as_ac_var=no"
38311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38312 conftest$ac_exeext conftest.$ac_ext
38314 ac_res=`eval echo '${'$as_ac_var'}'`
38315 { echo "$as_me:$LINENO: result: $ac_res" >&5
38316 echo "${ECHO_T}$ac_res" >&6; }
38317 if test `eval echo '${'$as_ac_var'}'` = yes; then
38318 cat >>confdefs.h <<_ACEOF
38319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38326 if test "$ac_cv_func_vsnprintf" = "yes"; then
38327 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
38328 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
38329 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
38330 echo $ECHO_N "(cached) $ECHO_C" >&6
38333 cat >conftest.$ac_ext <<_ACEOF
38336 cat confdefs.h >>conftest.$ac_ext
38337 cat >>conftest.$ac_ext <<_ACEOF
38338 /* end confdefs.h. */
38341 #include <stdarg.h>
38343 #if __MSL__ >= 0x6000
38345 using namespace std;
38355 vsnprintf(buf, 10u, "%s", ap);
38361 rm -f conftest.$ac_objext
38362 if { (ac_try="$ac_compile"
38363 case "(($ac_try" in
38364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38365 *) ac_try_echo=$ac_try;;
38367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38368 (eval "$ac_compile") 2>conftest.er1
38370 grep -v '^ *+' conftest.er1 >conftest.err
38372 cat conftest.err >&5
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); } && {
38375 test -z "$ac_c_werror_flag" ||
38376 test ! -s conftest.err
38377 } && test -s conftest.$ac_objext; then
38378 wx_cv_func_vsnprintf_decl=yes
38380 echo "$as_me: failed program was:" >&5
38381 sed 's/^/| /' conftest.$ac_ext >&5
38383 wx_cv_func_vsnprintf_decl=no
38387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38391 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
38392 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
38394 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
38395 cat >>confdefs.h <<\_ACEOF
38396 #define HAVE_VSNPRINTF_DECL 1
38400 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
38401 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
38402 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
38403 echo $ECHO_N "(cached) $ECHO_C" >&6
38406 cat >conftest.$ac_ext <<_ACEOF
38409 cat confdefs.h >>conftest.$ac_ext
38410 cat >>conftest.$ac_ext <<_ACEOF
38411 /* end confdefs.h. */
38414 #include <stdarg.h>
38416 #if __MSL__ >= 0x6000
38418 using namespace std;
38428 const char *fmt = "%s";
38429 vsnprintf(buf, 10u, fmt, ap);
38435 rm -f conftest.$ac_objext
38436 if { (ac_try="$ac_compile"
38437 case "(($ac_try" in
38438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38439 *) ac_try_echo=$ac_try;;
38441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38442 (eval "$ac_compile") 2>conftest.er1
38444 grep -v '^ *+' conftest.er1 >conftest.err
38446 cat conftest.err >&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); } && {
38449 test -z "$ac_c_werror_flag" ||
38450 test ! -s conftest.err
38451 } && test -s conftest.$ac_objext; then
38452 wx_cv_func_broken_vsnprintf_decl=no
38454 echo "$as_me: failed program was:" >&5
38455 sed 's/^/| /' conftest.$ac_ext >&5
38457 wx_cv_func_broken_vsnprintf_decl=yes
38461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38465 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38466 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38468 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38469 cat >>confdefs.h <<\_ACEOF
38470 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38477 if test "$ac_cv_func_snprintf" = "yes"; then
38478 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38479 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38480 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38481 echo $ECHO_N "(cached) $ECHO_C" >&6
38484 cat >conftest.$ac_ext <<_ACEOF
38487 cat confdefs.h >>conftest.$ac_ext
38488 cat >>conftest.$ac_ext <<_ACEOF
38489 /* end confdefs.h. */
38492 #include <stdarg.h>
38494 #if __MSL__ >= 0x6000
38496 using namespace std;
38505 snprintf(buf, 10u, "%s", "wx");
38511 rm -f conftest.$ac_objext
38512 if { (ac_try="$ac_compile"
38513 case "(($ac_try" in
38514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38515 *) ac_try_echo=$ac_try;;
38517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38518 (eval "$ac_compile") 2>conftest.er1
38520 grep -v '^ *+' conftest.er1 >conftest.err
38522 cat conftest.err >&5
38523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524 (exit $ac_status); } && {
38525 test -z "$ac_c_werror_flag" ||
38526 test ! -s conftest.err
38527 } && test -s conftest.$ac_objext; then
38528 wx_cv_func_snprintf_decl=yes
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.$ac_ext >&5
38533 wx_cv_func_snprintf_decl=no
38537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38541 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38542 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38544 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38545 cat >>confdefs.h <<\_ACEOF
38546 #define HAVE_SNPRINTF_DECL 1
38550 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38551 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38552 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38553 echo $ECHO_N "(cached) $ECHO_C" >&6
38556 cat >conftest.$ac_ext <<_ACEOF
38559 cat confdefs.h >>conftest.$ac_ext
38560 cat >>conftest.$ac_ext <<_ACEOF
38561 /* end confdefs.h. */
38564 #include <stdarg.h>
38566 #if __MSL__ >= 0x6000
38568 using namespace std;
38577 const char *fmt = "%s";
38578 snprintf(buf, 10u, fmt, "wx");
38584 rm -f conftest.$ac_objext
38585 if { (ac_try="$ac_compile"
38586 case "(($ac_try" in
38587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38588 *) ac_try_echo=$ac_try;;
38590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38591 (eval "$ac_compile") 2>conftest.er1
38593 grep -v '^ *+' conftest.er1 >conftest.err
38595 cat conftest.err >&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); } && {
38598 test -z "$ac_c_werror_flag" ||
38599 test ! -s conftest.err
38600 } && test -s conftest.$ac_objext; then
38601 wx_cv_func_broken_snprintf_decl=no
38603 echo "$as_me: failed program was:" >&5
38604 sed 's/^/| /' conftest.$ac_ext >&5
38606 wx_cv_func_broken_snprintf_decl=yes
38610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38614 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38615 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38617 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38618 cat >>confdefs.h <<\_ACEOF
38619 #define HAVE_BROKEN_SNPRINTF_DECL 1
38625 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38627 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38628 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38629 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38630 echo $ECHO_N "(cached) $ECHO_C" >&6
38633 if test "$cross_compiling" = yes; then
38635 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38636 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38637 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38638 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38639 wx_cv_func_snprintf_pos_params=no
38643 cat >conftest.$ac_ext <<_ACEOF
38646 cat confdefs.h >>conftest.$ac_ext
38647 cat >>conftest.$ac_ext <<_ACEOF
38648 /* end confdefs.h. */
38655 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38656 if (strcmp ("2 3 1", buffer) == 0)
38662 rm -f conftest$ac_exeext
38663 if { (ac_try="$ac_link"
38664 case "(($ac_try" in
38665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38666 *) ac_try_echo=$ac_try;;
38668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38669 (eval "$ac_link") 2>&5
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38673 { (case "(($ac_try" in
38674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38675 *) ac_try_echo=$ac_try;;
38677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38678 (eval "$ac_try") 2>&5
38680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38681 (exit $ac_status); }; }; then
38682 wx_cv_func_snprintf_pos_params=no
38684 echo "$as_me: program exited with status $ac_status" >&5
38685 echo "$as_me: failed program was:" >&5
38686 sed 's/^/| /' conftest.$ac_ext >&5
38688 ( exit $ac_status )
38689 wx_cv_func_snprintf_pos_params=yes
38691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38698 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38699 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38701 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38702 cat >>confdefs.h <<\_ACEOF
38703 #define HAVE_UNIX98_PRINTF 1
38710 if test "$wxUSE_UNICODE" = yes; then
38713 for ac_func in swprintf
38715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38716 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38718 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38719 echo $ECHO_N "(cached) $ECHO_C" >&6
38721 cat >conftest.$ac_ext <<_ACEOF
38724 cat confdefs.h >>conftest.$ac_ext
38725 cat >>conftest.$ac_ext <<_ACEOF
38726 /* end confdefs.h. */
38727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38729 #define $ac_func innocuous_$ac_func
38731 /* System header to define __stub macros and hopefully few prototypes,
38732 which can conflict with char $ac_func (); below.
38733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38734 <limits.h> exists even on freestanding compilers. */
38737 # include <limits.h>
38739 # include <assert.h>
38744 /* Override any GCC internal prototype to avoid an error.
38745 Use char because int might match the return type of a GCC
38746 builtin and then its argument prototype would still apply. */
38751 /* The GNU C library defines this for functions which it implements
38752 to always fail with ENOSYS. Some functions are actually named
38753 something starting with __ and the normal name is an alias. */
38754 #if defined __stub_$ac_func || defined __stub___$ac_func
38761 return $ac_func ();
38766 rm -f conftest.$ac_objext conftest$ac_exeext
38767 if { (ac_try="$ac_link"
38768 case "(($ac_try" in
38769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38770 *) ac_try_echo=$ac_try;;
38772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38773 (eval "$ac_link") 2>conftest.er1
38775 grep -v '^ *+' conftest.er1 >conftest.err
38777 cat conftest.err >&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); } && {
38780 test -z "$ac_c_werror_flag" ||
38781 test ! -s conftest.err
38782 } && test -s conftest$ac_exeext &&
38783 $as_test_x conftest$ac_exeext; then
38784 eval "$as_ac_var=yes"
38786 echo "$as_me: failed program was:" >&5
38787 sed 's/^/| /' conftest.$ac_ext >&5
38789 eval "$as_ac_var=no"
38792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38793 conftest$ac_exeext conftest.$ac_ext
38795 ac_res=`eval echo '${'$as_ac_var'}'`
38796 { echo "$as_me:$LINENO: result: $ac_res" >&5
38797 echo "${ECHO_T}$ac_res" >&6; }
38798 if test `eval echo '${'$as_ac_var'}'` = yes; then
38799 cat >>confdefs.h <<_ACEOF
38800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38807 if test "$ac_cv_func_swprintf" = "yes"; then
38808 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38809 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38810 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38811 echo $ECHO_N "(cached) $ECHO_C" >&6
38814 cat >conftest.$ac_ext <<_ACEOF
38817 cat confdefs.h >>conftest.$ac_ext
38818 cat >>conftest.$ac_ext <<_ACEOF
38819 /* end confdefs.h. */
38822 #include <stdarg.h>
38830 const wchar_t *fmt = L"test";
38831 swprintf(buf, 10u, fmt);
38837 rm -f conftest.$ac_objext
38838 if { (ac_try="$ac_compile"
38839 case "(($ac_try" in
38840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38841 *) ac_try_echo=$ac_try;;
38843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38844 (eval "$ac_compile") 2>conftest.er1
38846 grep -v '^ *+' conftest.er1 >conftest.err
38848 cat conftest.err >&5
38849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850 (exit $ac_status); } && {
38851 test -z "$ac_c_werror_flag" ||
38852 test ! -s conftest.err
38853 } && test -s conftest.$ac_objext; then
38854 wx_cv_func_broken_swprintf_decl=no
38856 echo "$as_me: failed program was:" >&5
38857 sed 's/^/| /' conftest.$ac_ext >&5
38859 wx_cv_func_broken_swprintf_decl=yes
38863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38867 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38868 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38870 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38871 cat >>confdefs.h <<\_ACEOF
38872 #define HAVE_BROKEN_SWPRINTF_DECL 1
38878 wchar_headers="#include <stdio.h>
38879 #include <wchar.h>"
38883 for ac_header in widec.h
38885 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38886 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38889 echo $ECHO_N "(cached) $ECHO_C" >&6
38891 cat >conftest.$ac_ext <<_ACEOF
38894 cat confdefs.h >>conftest.$ac_ext
38895 cat >>conftest.$ac_ext <<_ACEOF
38896 /* end confdefs.h. */
38897 $ac_includes_default
38899 #include <$ac_header>
38901 rm -f conftest.$ac_objext
38902 if { (ac_try="$ac_compile"
38903 case "(($ac_try" in
38904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38905 *) ac_try_echo=$ac_try;;
38907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38908 (eval "$ac_compile") 2>conftest.er1
38910 grep -v '^ *+' conftest.er1 >conftest.err
38912 cat conftest.err >&5
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); } && {
38915 test -z "$ac_c_werror_flag" ||
38916 test ! -s conftest.err
38917 } && test -s conftest.$ac_objext; then
38918 eval "$as_ac_Header=yes"
38920 echo "$as_me: failed program was:" >&5
38921 sed 's/^/| /' conftest.$ac_ext >&5
38923 eval "$as_ac_Header=no"
38926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38928 ac_res=`eval echo '${'$as_ac_Header'}'`
38929 { echo "$as_me:$LINENO: result: $ac_res" >&5
38930 echo "${ECHO_T}$ac_res" >&6; }
38931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38932 cat >>confdefs.h <<_ACEOF
38933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38940 if test "$ac_cv_header_widec_h" = "yes"; then
38941 wchar_headers="$wchar_headers
38942 #include <widec.h>"
38947 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38949 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38950 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38951 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38952 echo $ECHO_N "(cached) $ECHO_C" >&6
38955 cat >conftest.$ac_ext <<_ACEOF
38959 cat confdefs.h >>conftest.$ac_ext
38960 cat >>conftest.$ac_ext <<_ACEOF
38961 /* end confdefs.h. */
38964 $ac_includes_default
38980 rm -f conftest.$ac_objext conftest$ac_exeext
38981 if { (ac_try="$ac_link"
38982 case "(($ac_try" in
38983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38984 *) ac_try_echo=$ac_try;;
38986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38987 (eval "$ac_link") 2>conftest.er1
38989 grep -v '^ *+' conftest.er1 >conftest.err
38991 cat conftest.err >&5
38992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38993 (exit $ac_status); } && {
38994 test -z "$ac_c_werror_flag" ||
38995 test ! -s conftest.err
38996 } && test -s conftest$ac_exeext &&
38997 $as_test_x conftest$ac_exeext; then
38998 eval wx_cv_func_$wx_func=yes
39000 echo "$as_me: failed program was:" >&5
39001 sed 's/^/| /' conftest.$ac_ext >&5
39003 eval wx_cv_func_$wx_func=no
39006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39007 conftest$ac_exeext conftest.$ac_ext
39010 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39011 { echo "$as_me:$LINENO: result: $ac_res" >&5
39012 echo "${ECHO_T}$ac_res" >&6; }
39014 if eval test \$wx_cv_func_$wx_func = yes
39016 cat >>confdefs.h <<_ACEOF
39017 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39028 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39029 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39030 cat >conftest.$ac_ext <<_ACEOF
39033 cat confdefs.h >>conftest.$ac_ext
39034 cat >>conftest.$ac_ext <<_ACEOF
39035 /* end confdefs.h. */
39045 rm -f conftest.$ac_objext
39046 if { (ac_try="$ac_compile"
39047 case "(($ac_try" in
39048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39049 *) ac_try_echo=$ac_try;;
39051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39052 (eval "$ac_compile") 2>conftest.er1
39054 grep -v '^ *+' conftest.er1 >conftest.err
39056 cat conftest.err >&5
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); } && {
39059 test -z "$ac_c_werror_flag" ||
39060 test ! -s conftest.err
39061 } && test -s conftest.$ac_objext; then
39062 { echo "$as_me:$LINENO: result: yes" >&5
39063 echo "${ECHO_T}yes" >&6; }
39064 cat >>confdefs.h <<\_ACEOF
39065 #define HAVE__VSNWPRINTF 1
39069 echo "$as_me: failed program was:" >&5
39070 sed 's/^/| /' conftest.$ac_ext >&5
39072 { echo "$as_me:$LINENO: result: no" >&5
39073 echo "${ECHO_T}no" >&6; }
39076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39079 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
39081 for wx_func in fnmatch
39083 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39084 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39085 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39086 echo $ECHO_N "(cached) $ECHO_C" >&6
39089 cat >conftest.$ac_ext <<_ACEOF
39093 cat confdefs.h >>conftest.$ac_ext
39094 cat >>conftest.$ac_ext <<_ACEOF
39095 /* end confdefs.h. */
39097 #include <fnmatch.h>
39098 $ac_includes_default
39114 rm -f conftest.$ac_objext conftest$ac_exeext
39115 if { (ac_try="$ac_link"
39116 case "(($ac_try" in
39117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39118 *) ac_try_echo=$ac_try;;
39120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39121 (eval "$ac_link") 2>conftest.er1
39123 grep -v '^ *+' conftest.er1 >conftest.err
39125 cat conftest.err >&5
39126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39127 (exit $ac_status); } && {
39128 test -z "$ac_c_werror_flag" ||
39129 test ! -s conftest.err
39130 } && test -s conftest$ac_exeext &&
39131 $as_test_x conftest$ac_exeext; then
39132 eval wx_cv_func_$wx_func=yes
39134 echo "$as_me: failed program was:" >&5
39135 sed 's/^/| /' conftest.$ac_ext >&5
39137 eval wx_cv_func_$wx_func=no
39140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39141 conftest$ac_exeext conftest.$ac_ext
39144 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39145 { echo "$as_me:$LINENO: result: $ac_res" >&5
39146 echo "${ECHO_T}$ac_res" >&6; }
39148 if eval test \$wx_cv_func_$wx_func = yes
39150 cat >>confdefs.h <<_ACEOF
39151 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39163 if test "$wxUSE_FILE" = "yes"; then
39165 for wx_func in fsync
39167 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39168 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39169 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39170 echo $ECHO_N "(cached) $ECHO_C" >&6
39173 cat >conftest.$ac_ext <<_ACEOF
39177 cat confdefs.h >>conftest.$ac_ext
39178 cat >>conftest.$ac_ext <<_ACEOF
39179 /* end confdefs.h. */
39182 $ac_includes_default
39198 rm -f conftest.$ac_objext conftest$ac_exeext
39199 if { (ac_try="$ac_link"
39200 case "(($ac_try" in
39201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39202 *) ac_try_echo=$ac_try;;
39204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39205 (eval "$ac_link") 2>conftest.er1
39207 grep -v '^ *+' conftest.er1 >conftest.err
39209 cat conftest.err >&5
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); } && {
39212 test -z "$ac_c_werror_flag" ||
39213 test ! -s conftest.err
39214 } && test -s conftest$ac_exeext &&
39215 $as_test_x conftest$ac_exeext; then
39216 eval wx_cv_func_$wx_func=yes
39218 echo "$as_me: failed program was:" >&5
39219 sed 's/^/| /' conftest.$ac_ext >&5
39221 eval wx_cv_func_$wx_func=no
39224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39225 conftest$ac_exeext conftest.$ac_ext
39228 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39229 { echo "$as_me:$LINENO: result: $ac_res" >&5
39230 echo "${ECHO_T}$ac_res" >&6; }
39232 if eval test \$wx_cv_func_$wx_func = yes
39234 cat >>confdefs.h <<_ACEOF
39235 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39248 ac_cpp='$CXXCPP $CPPFLAGS'
39249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39254 for wx_func in round
39256 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39257 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39258 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39259 echo $ECHO_N "(cached) $ECHO_C" >&6
39262 cat >conftest.$ac_ext <<_ACEOF
39266 cat confdefs.h >>conftest.$ac_ext
39267 cat >>conftest.$ac_ext <<_ACEOF
39268 /* end confdefs.h. */
39271 $ac_includes_default
39287 rm -f conftest.$ac_objext conftest$ac_exeext
39288 if { (ac_try="$ac_link"
39289 case "(($ac_try" in
39290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39291 *) ac_try_echo=$ac_try;;
39293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39294 (eval "$ac_link") 2>conftest.er1
39296 grep -v '^ *+' conftest.er1 >conftest.err
39298 cat conftest.err >&5
39299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300 (exit $ac_status); } && {
39301 test -z "$ac_cxx_werror_flag" ||
39302 test ! -s conftest.err
39303 } && test -s conftest$ac_exeext &&
39304 $as_test_x conftest$ac_exeext; then
39305 eval wx_cv_func_$wx_func=yes
39307 echo "$as_me: failed program was:" >&5
39308 sed 's/^/| /' conftest.$ac_ext >&5
39310 eval wx_cv_func_$wx_func=no
39313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39314 conftest$ac_exeext conftest.$ac_ext
39317 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39318 { echo "$as_me:$LINENO: result: $ac_res" >&5
39319 echo "${ECHO_T}$ac_res" >&6; }
39321 if eval test \$wx_cv_func_$wx_func = yes
39323 cat >>confdefs.h <<_ACEOF
39324 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39335 ac_cpp='$CPP $CPPFLAGS'
39336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39341 if test "$TOOLKIT" != "MSW"; then
39347 # Check whether --with-libiconv-prefix was given.
39348 if test "${with_libiconv_prefix+set}" = set; then
39349 withval=$with_libiconv_prefix;
39350 for dir in `echo "$withval" | tr : ' '`; do
39351 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39352 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
39358 { echo "$as_me:$LINENO: checking for iconv" >&5
39359 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39360 if test "${am_cv_func_iconv+set}" = set; then
39361 echo $ECHO_N "(cached) $ECHO_C" >&6
39364 am_cv_func_iconv="no, consider installing GNU libiconv"
39366 cat >conftest.$ac_ext <<_ACEOF
39369 cat confdefs.h >>conftest.$ac_ext
39370 cat >>conftest.$ac_ext <<_ACEOF
39371 /* end confdefs.h. */
39372 #include <stdlib.h>
39377 iconv_t cd = iconv_open("","");
39378 iconv(cd,NULL,NULL,NULL,NULL);
39384 rm -f conftest.$ac_objext conftest$ac_exeext
39385 if { (ac_try="$ac_link"
39386 case "(($ac_try" in
39387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39388 *) ac_try_echo=$ac_try;;
39390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39391 (eval "$ac_link") 2>conftest.er1
39393 grep -v '^ *+' conftest.er1 >conftest.err
39395 cat conftest.err >&5
39396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39397 (exit $ac_status); } && {
39398 test -z "$ac_c_werror_flag" ||
39399 test ! -s conftest.err
39400 } && test -s conftest$ac_exeext &&
39401 $as_test_x conftest$ac_exeext; then
39402 am_cv_func_iconv=yes
39404 echo "$as_me: failed program was:" >&5
39405 sed 's/^/| /' conftest.$ac_ext >&5
39410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39411 conftest$ac_exeext conftest.$ac_ext
39412 if test "$am_cv_func_iconv" != yes; then
39413 am_save_LIBS="$LIBS"
39414 LIBS="$LIBS -liconv"
39415 cat >conftest.$ac_ext <<_ACEOF
39418 cat confdefs.h >>conftest.$ac_ext
39419 cat >>conftest.$ac_ext <<_ACEOF
39420 /* end confdefs.h. */
39421 #include <stdlib.h>
39426 iconv_t cd = iconv_open("","");
39427 iconv(cd,NULL,NULL,NULL,NULL);
39433 rm -f conftest.$ac_objext conftest$ac_exeext
39434 if { (ac_try="$ac_link"
39435 case "(($ac_try" in
39436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39437 *) ac_try_echo=$ac_try;;
39439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39440 (eval "$ac_link") 2>conftest.er1
39442 grep -v '^ *+' conftest.er1 >conftest.err
39444 cat conftest.err >&5
39445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39446 (exit $ac_status); } && {
39447 test -z "$ac_c_werror_flag" ||
39448 test ! -s conftest.err
39449 } && test -s conftest$ac_exeext &&
39450 $as_test_x conftest$ac_exeext; then
39451 am_cv_lib_iconv=yes
39452 am_cv_func_iconv=yes
39454 echo "$as_me: failed program was:" >&5
39455 sed 's/^/| /' conftest.$ac_ext >&5
39460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39461 conftest$ac_exeext conftest.$ac_ext
39462 LIBS="$am_save_LIBS"
39466 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39467 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39468 if test "$am_cv_func_iconv" = yes; then
39470 cat >>confdefs.h <<\_ACEOF
39471 #define HAVE_ICONV 1
39474 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39475 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39476 if test "${wx_cv_func_iconv_const+set}" = set; then
39477 echo $ECHO_N "(cached) $ECHO_C" >&6
39479 cat >conftest.$ac_ext <<_ACEOF
39482 cat confdefs.h >>conftest.$ac_ext
39483 cat >>conftest.$ac_ext <<_ACEOF
39484 /* end confdefs.h. */
39486 #include <stdlib.h>
39492 #if defined(__STDC__) || defined(__cplusplus)
39493 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39506 rm -f conftest.$ac_objext
39507 if { (ac_try="$ac_compile"
39508 case "(($ac_try" in
39509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39510 *) ac_try_echo=$ac_try;;
39512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39513 (eval "$ac_compile") 2>conftest.er1
39515 grep -v '^ *+' conftest.er1 >conftest.err
39517 cat conftest.err >&5
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); } && {
39520 test -z "$ac_c_werror_flag" ||
39521 test ! -s conftest.err
39522 } && test -s conftest.$ac_objext; then
39523 wx_cv_func_iconv_const="no"
39525 echo "$as_me: failed program was:" >&5
39526 sed 's/^/| /' conftest.$ac_ext >&5
39528 wx_cv_func_iconv_const="yes"
39532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39535 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39536 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39539 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39540 iconv_const="const"
39544 cat >>confdefs.h <<_ACEOF
39545 #define ICONV_CONST $iconv_const
39550 if test "$am_cv_lib_iconv" = yes; then
39555 LIBS="$LIBICONV $LIBS"
39557 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39559 for ac_func in sigaction
39561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39562 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39564 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39565 echo $ECHO_N "(cached) $ECHO_C" >&6
39567 cat >conftest.$ac_ext <<_ACEOF
39570 cat confdefs.h >>conftest.$ac_ext
39571 cat >>conftest.$ac_ext <<_ACEOF
39572 /* end confdefs.h. */
39573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39575 #define $ac_func innocuous_$ac_func
39577 /* System header to define __stub macros and hopefully few prototypes,
39578 which can conflict with char $ac_func (); below.
39579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39580 <limits.h> exists even on freestanding compilers. */
39583 # include <limits.h>
39585 # include <assert.h>
39590 /* Override any GCC internal prototype to avoid an error.
39591 Use char because int might match the return type of a GCC
39592 builtin and then its argument prototype would still apply. */
39597 /* The GNU C library defines this for functions which it implements
39598 to always fail with ENOSYS. Some functions are actually named
39599 something starting with __ and the normal name is an alias. */
39600 #if defined __stub_$ac_func || defined __stub___$ac_func
39607 return $ac_func ();
39612 rm -f conftest.$ac_objext conftest$ac_exeext
39613 if { (ac_try="$ac_link"
39614 case "(($ac_try" in
39615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39616 *) ac_try_echo=$ac_try;;
39618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39619 (eval "$ac_link") 2>conftest.er1
39621 grep -v '^ *+' conftest.er1 >conftest.err
39623 cat conftest.err >&5
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); } && {
39626 test -z "$ac_c_werror_flag" ||
39627 test ! -s conftest.err
39628 } && test -s conftest$ac_exeext &&
39629 $as_test_x conftest$ac_exeext; then
39630 eval "$as_ac_var=yes"
39632 echo "$as_me: failed program was:" >&5
39633 sed 's/^/| /' conftest.$ac_ext >&5
39635 eval "$as_ac_var=no"
39638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39639 conftest$ac_exeext conftest.$ac_ext
39641 ac_res=`eval echo '${'$as_ac_var'}'`
39642 { echo "$as_me:$LINENO: result: $ac_res" >&5
39643 echo "${ECHO_T}$ac_res" >&6; }
39644 if test `eval echo '${'$as_ac_var'}'` = yes; then
39645 cat >>confdefs.h <<_ACEOF
39646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39653 if test "$ac_cv_func_sigaction" = "no"; then
39654 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39655 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39656 wxUSE_ON_FATAL_EXCEPTION=no
39659 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39660 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39661 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39662 if test "${wx_cv_type_sa_handler+set}" = set; then
39663 echo $ECHO_N "(cached) $ECHO_C" >&6
39667 ac_cpp='$CXXCPP $CPPFLAGS'
39668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39672 cat >conftest.$ac_ext <<_ACEOF
39675 cat confdefs.h >>conftest.$ac_ext
39676 cat >>conftest.$ac_ext <<_ACEOF
39677 /* end confdefs.h. */
39678 #include <signal.h>
39683 extern void testSigHandler(int);
39685 struct sigaction sa;
39686 sa.sa_handler = testSigHandler;
39692 rm -f conftest.$ac_objext
39693 if { (ac_try="$ac_compile"
39694 case "(($ac_try" in
39695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39696 *) ac_try_echo=$ac_try;;
39698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39699 (eval "$ac_compile") 2>conftest.er1
39701 grep -v '^ *+' conftest.er1 >conftest.err
39703 cat conftest.err >&5
39704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39705 (exit $ac_status); } && {
39706 test -z "$ac_cxx_werror_flag" ||
39707 test ! -s conftest.err
39708 } && test -s conftest.$ac_objext; then
39710 wx_cv_type_sa_handler=int
39713 echo "$as_me: failed program was:" >&5
39714 sed 's/^/| /' conftest.$ac_ext >&5
39717 wx_cv_type_sa_handler=void
39721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39723 ac_cpp='$CPP $CPPFLAGS'
39724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39730 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39731 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39733 cat >>confdefs.h <<_ACEOF
39734 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39740 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39741 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39742 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39743 if test "${wx_cv_func_backtrace+set}" = set; then
39744 echo $ECHO_N "(cached) $ECHO_C" >&6
39748 ac_cpp='$CXXCPP $CPPFLAGS'
39749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39753 cat >conftest.$ac_ext <<_ACEOF
39756 cat confdefs.h >>conftest.$ac_ext
39757 cat >>conftest.$ac_ext <<_ACEOF
39758 /* end confdefs.h. */
39759 #include <execinfo.h>
39767 backtrace(trace, 1);
39768 messages = backtrace_symbols(trace, 1);
39774 rm -f conftest.$ac_objext
39775 if { (ac_try="$ac_compile"
39776 case "(($ac_try" in
39777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39778 *) ac_try_echo=$ac_try;;
39780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39781 (eval "$ac_compile") 2>conftest.er1
39783 grep -v '^ *+' conftest.er1 >conftest.err
39785 cat conftest.err >&5
39786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39787 (exit $ac_status); } && {
39788 test -z "$ac_cxx_werror_flag" ||
39789 test ! -s conftest.err
39790 } && test -s conftest.$ac_objext; then
39791 wx_cv_func_backtrace=yes
39793 echo "$as_me: failed program was:" >&5
39794 sed 's/^/| /' conftest.$ac_ext >&5
39796 wx_cv_func_backtrace=no
39800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39802 ac_cpp='$CPP $CPPFLAGS'
39803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39810 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39811 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39814 if test "$wx_cv_func_backtrace" = "no"; then
39815 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39816 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39817 wxUSE_STACKWALKER=no
39819 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39820 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39821 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39822 echo $ECHO_N "(cached) $ECHO_C" >&6
39826 ac_cpp='$CXXCPP $CPPFLAGS'
39827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39831 cat >conftest.$ac_ext <<_ACEOF
39834 cat confdefs.h >>conftest.$ac_ext
39835 cat >>conftest.$ac_ext <<_ACEOF
39836 /* end confdefs.h. */
39837 #include <cxxabi.h>
39843 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39849 rm -f conftest.$ac_objext conftest$ac_exeext
39850 if { (ac_try="$ac_link"
39851 case "(($ac_try" in
39852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39853 *) ac_try_echo=$ac_try;;
39855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39856 (eval "$ac_link") 2>conftest.er1
39858 grep -v '^ *+' conftest.er1 >conftest.err
39860 cat conftest.err >&5
39861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39862 (exit $ac_status); } && {
39863 test -z "$ac_cxx_werror_flag" ||
39864 test ! -s conftest.err
39865 } && test -s conftest$ac_exeext &&
39866 $as_test_x conftest$ac_exeext; then
39867 wx_cv_func_cxa_demangle=yes
39869 echo "$as_me: failed program was:" >&5
39870 sed 's/^/| /' conftest.$ac_ext >&5
39872 wx_cv_func_cxa_demangle=no
39876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39877 conftest$ac_exeext conftest.$ac_ext
39879 ac_cpp='$CPP $CPPFLAGS'
39880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39887 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39888 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39890 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39891 cat >>confdefs.h <<\_ACEOF
39892 #define HAVE_CXA_DEMANGLE 1
39899 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39900 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39901 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39902 wxUSE_STACKWALKER=no
39908 for ac_func in mkstemp mktemp
39910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39914 echo $ECHO_N "(cached) $ECHO_C" >&6
39916 cat >conftest.$ac_ext <<_ACEOF
39919 cat confdefs.h >>conftest.$ac_ext
39920 cat >>conftest.$ac_ext <<_ACEOF
39921 /* end confdefs.h. */
39922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39924 #define $ac_func innocuous_$ac_func
39926 /* System header to define __stub macros and hopefully few prototypes,
39927 which can conflict with char $ac_func (); below.
39928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39929 <limits.h> exists even on freestanding compilers. */
39932 # include <limits.h>
39934 # include <assert.h>
39939 /* Override any GCC internal prototype to avoid an error.
39940 Use char because int might match the return type of a GCC
39941 builtin and then its argument prototype would still apply. */
39946 /* The GNU C library defines this for functions which it implements
39947 to always fail with ENOSYS. Some functions are actually named
39948 something starting with __ and the normal name is an alias. */
39949 #if defined __stub_$ac_func || defined __stub___$ac_func
39956 return $ac_func ();
39961 rm -f conftest.$ac_objext conftest$ac_exeext
39962 if { (ac_try="$ac_link"
39963 case "(($ac_try" in
39964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39965 *) ac_try_echo=$ac_try;;
39967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39968 (eval "$ac_link") 2>conftest.er1
39970 grep -v '^ *+' conftest.er1 >conftest.err
39972 cat conftest.err >&5
39973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39974 (exit $ac_status); } && {
39975 test -z "$ac_c_werror_flag" ||
39976 test ! -s conftest.err
39977 } && test -s conftest$ac_exeext &&
39978 $as_test_x conftest$ac_exeext; then
39979 eval "$as_ac_var=yes"
39981 echo "$as_me: failed program was:" >&5
39982 sed 's/^/| /' conftest.$ac_ext >&5
39984 eval "$as_ac_var=no"
39987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39988 conftest$ac_exeext conftest.$ac_ext
39990 ac_res=`eval echo '${'$as_ac_var'}'`
39991 { echo "$as_me:$LINENO: result: $ac_res" >&5
39992 echo "${ECHO_T}$ac_res" >&6; }
39993 if test `eval echo '${'$as_ac_var'}'` = yes; then
39994 cat >>confdefs.h <<_ACEOF
39995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40002 { echo "$as_me:$LINENO: checking for statfs" >&5
40003 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40004 if test "${wx_cv_func_statfs+set}" = set; then
40005 echo $ECHO_N "(cached) $ECHO_C" >&6
40007 cat >conftest.$ac_ext <<_ACEOF
40010 cat confdefs.h >>conftest.$ac_ext
40011 cat >>conftest.$ac_ext <<_ACEOF
40012 /* end confdefs.h. */
40014 #if defined(__BSD__)
40015 #include <sys/param.h>
40016 #include <sys/mount.h>
40018 #include <sys/vfs.h>
40036 rm -f conftest.$ac_objext
40037 if { (ac_try="$ac_compile"
40038 case "(($ac_try" in
40039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40040 *) ac_try_echo=$ac_try;;
40042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40043 (eval "$ac_compile") 2>conftest.er1
40045 grep -v '^ *+' conftest.er1 >conftest.err
40047 cat conftest.err >&5
40048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40049 (exit $ac_status); } && {
40050 test -z "$ac_c_werror_flag" ||
40051 test ! -s conftest.err
40052 } && test -s conftest.$ac_objext; then
40053 wx_cv_func_statfs=yes
40055 echo "$as_me: failed program was:" >&5
40056 sed 's/^/| /' conftest.$ac_ext >&5
40058 wx_cv_func_statfs=no
40062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40065 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40066 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40068 if test "$wx_cv_func_statfs" = "yes"; then
40069 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40070 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40071 if test "${wx_cv_func_statfs_decl+set}" = set; then
40072 echo $ECHO_N "(cached) $ECHO_C" >&6
40075 ac_cpp='$CXXCPP $CPPFLAGS'
40076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40080 cat >conftest.$ac_ext <<_ACEOF
40083 cat confdefs.h >>conftest.$ac_ext
40084 cat >>conftest.$ac_ext <<_ACEOF
40085 /* end confdefs.h. */
40087 #if defined(__BSD__)
40088 #include <sys/param.h>
40089 #include <sys/mount.h>
40091 #include <sys/vfs.h>
40105 rm -f conftest.$ac_objext
40106 if { (ac_try="$ac_compile"
40107 case "(($ac_try" in
40108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40109 *) ac_try_echo=$ac_try;;
40111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40112 (eval "$ac_compile") 2>conftest.er1
40114 grep -v '^ *+' conftest.er1 >conftest.err
40116 cat conftest.err >&5
40117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40118 (exit $ac_status); } && {
40119 test -z "$ac_cxx_werror_flag" ||
40120 test ! -s conftest.err
40121 } && test -s conftest.$ac_objext; then
40122 wx_cv_func_statfs_decl=yes
40124 echo "$as_me: failed program was:" >&5
40125 sed 's/^/| /' conftest.$ac_ext >&5
40127 wx_cv_func_statfs_decl=no
40131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40133 ac_cpp='$CPP $CPPFLAGS'
40134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40140 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40141 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40143 if test "$wx_cv_func_statfs_decl" = "yes"; then
40144 cat >>confdefs.h <<\_ACEOF
40145 #define HAVE_STATFS_DECL 1
40150 wx_cv_type_statvfs_t="struct statfs"
40151 cat >>confdefs.h <<\_ACEOF
40152 #define HAVE_STATFS 1
40156 { echo "$as_me:$LINENO: checking for statvfs" >&5
40157 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40158 if test "${wx_cv_func_statvfs+set}" = set; then
40159 echo $ECHO_N "(cached) $ECHO_C" >&6
40161 cat >conftest.$ac_ext <<_ACEOF
40164 cat confdefs.h >>conftest.$ac_ext
40165 cat >>conftest.$ac_ext <<_ACEOF
40166 /* end confdefs.h. */
40168 #include <stddef.h>
40169 #include <sys/statvfs.h>
40175 statvfs("/", NULL);
40181 rm -f conftest.$ac_objext
40182 if { (ac_try="$ac_compile"
40183 case "(($ac_try" in
40184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40185 *) ac_try_echo=$ac_try;;
40187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40188 (eval "$ac_compile") 2>conftest.er1
40190 grep -v '^ *+' conftest.er1 >conftest.err
40192 cat conftest.err >&5
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); } && {
40195 test -z "$ac_c_werror_flag" ||
40196 test ! -s conftest.err
40197 } && test -s conftest.$ac_objext; then
40198 wx_cv_func_statvfs=yes
40200 echo "$as_me: failed program was:" >&5
40201 sed 's/^/| /' conftest.$ac_ext >&5
40203 wx_cv_func_statvfs=no
40207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40210 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40211 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40213 if test "$wx_cv_func_statvfs" = "yes"; then
40214 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40215 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40216 if test "${wx_cv_type_statvfs_t+set}" = set; then
40217 echo $ECHO_N "(cached) $ECHO_C" >&6
40220 ac_cpp='$CXXCPP $CPPFLAGS'
40221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40225 cat >conftest.$ac_ext <<_ACEOF
40228 cat confdefs.h >>conftest.$ac_ext
40229 cat >>conftest.$ac_ext <<_ACEOF
40230 /* end confdefs.h. */
40232 #include <sys/statvfs.h>
40249 rm -f conftest.$ac_objext
40250 if { (ac_try="$ac_compile"
40251 case "(($ac_try" in
40252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40253 *) ac_try_echo=$ac_try;;
40255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40256 (eval "$ac_compile") 2>conftest.er1
40258 grep -v '^ *+' conftest.er1 >conftest.err
40260 cat conftest.err >&5
40261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262 (exit $ac_status); } && {
40263 test -z "$ac_cxx_werror_flag" ||
40264 test ! -s conftest.err
40265 } && test -s conftest.$ac_objext; then
40266 wx_cv_type_statvfs_t=statvfs_t
40268 echo "$as_me: failed program was:" >&5
40269 sed 's/^/| /' conftest.$ac_ext >&5
40272 cat >conftest.$ac_ext <<_ACEOF
40275 cat confdefs.h >>conftest.$ac_ext
40276 cat >>conftest.$ac_ext <<_ACEOF
40277 /* end confdefs.h. */
40279 #include <sys/statvfs.h>
40296 rm -f conftest.$ac_objext
40297 if { (ac_try="$ac_compile"
40298 case "(($ac_try" in
40299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40300 *) ac_try_echo=$ac_try;;
40302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40303 (eval "$ac_compile") 2>conftest.er1
40305 grep -v '^ *+' conftest.er1 >conftest.err
40307 cat conftest.err >&5
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); } && {
40310 test -z "$ac_cxx_werror_flag" ||
40311 test ! -s conftest.err
40312 } && test -s conftest.$ac_objext; then
40313 wx_cv_type_statvfs_t="struct statvfs"
40315 echo "$as_me: failed program was:" >&5
40316 sed 's/^/| /' conftest.$ac_ext >&5
40318 wx_cv_type_statvfs_t="unknown"
40322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40329 ac_cpp='$CPP $CPPFLAGS'
40330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40336 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40337 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40339 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40340 cat >>confdefs.h <<\_ACEOF
40341 #define HAVE_STATVFS 1
40346 wx_cv_type_statvfs_t="unknown"
40350 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40351 cat >>confdefs.h <<_ACEOF
40352 #define WX_STATFS_T $wx_cv_type_statvfs_t
40356 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40357 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40360 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40363 for ac_func in fcntl flock
40365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40369 echo $ECHO_N "(cached) $ECHO_C" >&6
40371 cat >conftest.$ac_ext <<_ACEOF
40374 cat confdefs.h >>conftest.$ac_ext
40375 cat >>conftest.$ac_ext <<_ACEOF
40376 /* end confdefs.h. */
40377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40379 #define $ac_func innocuous_$ac_func
40381 /* System header to define __stub macros and hopefully few prototypes,
40382 which can conflict with char $ac_func (); below.
40383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40384 <limits.h> exists even on freestanding compilers. */
40387 # include <limits.h>
40389 # include <assert.h>
40394 /* Override any GCC internal prototype to avoid an error.
40395 Use char because int might match the return type of a GCC
40396 builtin and then its argument prototype would still apply. */
40401 /* The GNU C library defines this for functions which it implements
40402 to always fail with ENOSYS. Some functions are actually named
40403 something starting with __ and the normal name is an alias. */
40404 #if defined __stub_$ac_func || defined __stub___$ac_func
40411 return $ac_func ();
40416 rm -f conftest.$ac_objext conftest$ac_exeext
40417 if { (ac_try="$ac_link"
40418 case "(($ac_try" in
40419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40420 *) ac_try_echo=$ac_try;;
40422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40423 (eval "$ac_link") 2>conftest.er1
40425 grep -v '^ *+' conftest.er1 >conftest.err
40427 cat conftest.err >&5
40428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40429 (exit $ac_status); } && {
40430 test -z "$ac_c_werror_flag" ||
40431 test ! -s conftest.err
40432 } && test -s conftest$ac_exeext &&
40433 $as_test_x conftest$ac_exeext; then
40434 eval "$as_ac_var=yes"
40436 echo "$as_me: failed program was:" >&5
40437 sed 's/^/| /' conftest.$ac_ext >&5
40439 eval "$as_ac_var=no"
40442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40443 conftest$ac_exeext conftest.$ac_ext
40445 ac_res=`eval echo '${'$as_ac_var'}'`
40446 { echo "$as_me:$LINENO: result: $ac_res" >&5
40447 echo "${ECHO_T}$ac_res" >&6; }
40448 if test `eval echo '${'$as_ac_var'}'` = yes; then
40449 cat >>confdefs.h <<_ACEOF
40450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40457 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40458 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40459 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40460 wxUSE_SNGLINST_CHECKER=no
40465 for ac_func in timegm
40467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40468 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40470 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40471 echo $ECHO_N "(cached) $ECHO_C" >&6
40473 cat >conftest.$ac_ext <<_ACEOF
40476 cat confdefs.h >>conftest.$ac_ext
40477 cat >>conftest.$ac_ext <<_ACEOF
40478 /* end confdefs.h. */
40479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40481 #define $ac_func innocuous_$ac_func
40483 /* System header to define __stub macros and hopefully few prototypes,
40484 which can conflict with char $ac_func (); below.
40485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40486 <limits.h> exists even on freestanding compilers. */
40489 # include <limits.h>
40491 # include <assert.h>
40496 /* Override any GCC internal prototype to avoid an error.
40497 Use char because int might match the return type of a GCC
40498 builtin and then its argument prototype would still apply. */
40503 /* The GNU C library defines this for functions which it implements
40504 to always fail with ENOSYS. Some functions are actually named
40505 something starting with __ and the normal name is an alias. */
40506 #if defined __stub_$ac_func || defined __stub___$ac_func
40513 return $ac_func ();
40518 rm -f conftest.$ac_objext conftest$ac_exeext
40519 if { (ac_try="$ac_link"
40520 case "(($ac_try" in
40521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40522 *) ac_try_echo=$ac_try;;
40524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40525 (eval "$ac_link") 2>conftest.er1
40527 grep -v '^ *+' conftest.er1 >conftest.err
40529 cat conftest.err >&5
40530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40531 (exit $ac_status); } && {
40532 test -z "$ac_c_werror_flag" ||
40533 test ! -s conftest.err
40534 } && test -s conftest$ac_exeext &&
40535 $as_test_x conftest$ac_exeext; then
40536 eval "$as_ac_var=yes"
40538 echo "$as_me: failed program was:" >&5
40539 sed 's/^/| /' conftest.$ac_ext >&5
40541 eval "$as_ac_var=no"
40544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40545 conftest$ac_exeext conftest.$ac_ext
40547 ac_res=`eval echo '${'$as_ac_var'}'`
40548 { echo "$as_me:$LINENO: result: $ac_res" >&5
40549 echo "${ECHO_T}$ac_res" >&6; }
40550 if test `eval echo '${'$as_ac_var'}'` = yes; then
40551 cat >>confdefs.h <<_ACEOF
40552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40561 for ac_func in setenv putenv
40563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40567 echo $ECHO_N "(cached) $ECHO_C" >&6
40569 cat >conftest.$ac_ext <<_ACEOF
40572 cat confdefs.h >>conftest.$ac_ext
40573 cat >>conftest.$ac_ext <<_ACEOF
40574 /* end confdefs.h. */
40575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40577 #define $ac_func innocuous_$ac_func
40579 /* System header to define __stub macros and hopefully few prototypes,
40580 which can conflict with char $ac_func (); below.
40581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40582 <limits.h> exists even on freestanding compilers. */
40585 # include <limits.h>
40587 # include <assert.h>
40592 /* Override any GCC internal prototype to avoid an error.
40593 Use char because int might match the return type of a GCC
40594 builtin and then its argument prototype would still apply. */
40599 /* The GNU C library defines this for functions which it implements
40600 to always fail with ENOSYS. Some functions are actually named
40601 something starting with __ and the normal name is an alias. */
40602 #if defined __stub_$ac_func || defined __stub___$ac_func
40609 return $ac_func ();
40614 rm -f conftest.$ac_objext conftest$ac_exeext
40615 if { (ac_try="$ac_link"
40616 case "(($ac_try" in
40617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40618 *) ac_try_echo=$ac_try;;
40620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40621 (eval "$ac_link") 2>conftest.er1
40623 grep -v '^ *+' conftest.er1 >conftest.err
40625 cat conftest.err >&5
40626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40627 (exit $ac_status); } && {
40628 test -z "$ac_c_werror_flag" ||
40629 test ! -s conftest.err
40630 } && test -s conftest$ac_exeext &&
40631 $as_test_x conftest$ac_exeext; then
40632 eval "$as_ac_var=yes"
40634 echo "$as_me: failed program was:" >&5
40635 sed 's/^/| /' conftest.$ac_ext >&5
40637 eval "$as_ac_var=no"
40640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40641 conftest$ac_exeext conftest.$ac_ext
40643 ac_res=`eval echo '${'$as_ac_var'}'`
40644 { echo "$as_me:$LINENO: result: $ac_res" >&5
40645 echo "${ECHO_T}$ac_res" >&6; }
40646 if test `eval echo '${'$as_ac_var'}'` = yes; then
40647 cat >>confdefs.h <<_ACEOF
40648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40655 HAVE_SOME_SLEEP_FUNC=0
40656 if test "$USE_BEOS" = 1; then
40657 cat >>confdefs.h <<\_ACEOF
40658 #define HAVE_SLEEP 1
40661 HAVE_SOME_SLEEP_FUNC=1
40664 if test "$USE_DARWIN" = 1; then
40665 cat >>confdefs.h <<\_ACEOF
40666 #define HAVE_USLEEP 1
40669 HAVE_SOME_SLEEP_FUNC=1
40672 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40675 for ac_func in nanosleep
40677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40681 echo $ECHO_N "(cached) $ECHO_C" >&6
40683 cat >conftest.$ac_ext <<_ACEOF
40686 cat confdefs.h >>conftest.$ac_ext
40687 cat >>conftest.$ac_ext <<_ACEOF
40688 /* end confdefs.h. */
40689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40691 #define $ac_func innocuous_$ac_func
40693 /* System header to define __stub macros and hopefully few prototypes,
40694 which can conflict with char $ac_func (); below.
40695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40696 <limits.h> exists even on freestanding compilers. */
40699 # include <limits.h>
40701 # include <assert.h>
40706 /* Override any GCC internal prototype to avoid an error.
40707 Use char because int might match the return type of a GCC
40708 builtin and then its argument prototype would still apply. */
40713 /* The GNU C library defines this for functions which it implements
40714 to always fail with ENOSYS. Some functions are actually named
40715 something starting with __ and the normal name is an alias. */
40716 #if defined __stub_$ac_func || defined __stub___$ac_func
40723 return $ac_func ();
40728 rm -f conftest.$ac_objext conftest$ac_exeext
40729 if { (ac_try="$ac_link"
40730 case "(($ac_try" in
40731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40732 *) ac_try_echo=$ac_try;;
40734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40735 (eval "$ac_link") 2>conftest.er1
40737 grep -v '^ *+' conftest.er1 >conftest.err
40739 cat conftest.err >&5
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); } && {
40742 test -z "$ac_c_werror_flag" ||
40743 test ! -s conftest.err
40744 } && test -s conftest$ac_exeext &&
40745 $as_test_x conftest$ac_exeext; then
40746 eval "$as_ac_var=yes"
40748 echo "$as_me: failed program was:" >&5
40749 sed 's/^/| /' conftest.$ac_ext >&5
40751 eval "$as_ac_var=no"
40754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40755 conftest$ac_exeext conftest.$ac_ext
40757 ac_res=`eval echo '${'$as_ac_var'}'`
40758 { echo "$as_me:$LINENO: result: $ac_res" >&5
40759 echo "${ECHO_T}$ac_res" >&6; }
40760 if test `eval echo '${'$as_ac_var'}'` = yes; then
40761 cat >>confdefs.h <<_ACEOF
40762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40764 cat >>confdefs.h <<\_ACEOF
40765 #define HAVE_NANOSLEEP 1
40770 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40771 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40772 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40775 ac_check_lib_save_LIBS=$LIBS
40776 LIBS="-lposix4 $LIBS"
40777 cat >conftest.$ac_ext <<_ACEOF
40780 cat confdefs.h >>conftest.$ac_ext
40781 cat >>conftest.$ac_ext <<_ACEOF
40782 /* end confdefs.h. */
40784 /* Override any GCC internal prototype to avoid an error.
40785 Use char because int might match the return type of a GCC
40786 builtin and then its argument prototype would still apply. */
40794 return nanosleep ();
40799 rm -f conftest.$ac_objext conftest$ac_exeext
40800 if { (ac_try="$ac_link"
40801 case "(($ac_try" in
40802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40803 *) ac_try_echo=$ac_try;;
40805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40806 (eval "$ac_link") 2>conftest.er1
40808 grep -v '^ *+' conftest.er1 >conftest.err
40810 cat conftest.err >&5
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); } && {
40813 test -z "$ac_c_werror_flag" ||
40814 test ! -s conftest.err
40815 } && test -s conftest$ac_exeext &&
40816 $as_test_x conftest$ac_exeext; then
40817 ac_cv_lib_posix4_nanosleep=yes
40819 echo "$as_me: failed program was:" >&5
40820 sed 's/^/| /' conftest.$ac_ext >&5
40822 ac_cv_lib_posix4_nanosleep=no
40825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40826 conftest$ac_exeext conftest.$ac_ext
40827 LIBS=$ac_check_lib_save_LIBS
40829 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40830 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40831 if test $ac_cv_lib_posix4_nanosleep = yes; then
40833 cat >>confdefs.h <<\_ACEOF
40834 #define HAVE_NANOSLEEP 1
40837 POSIX4_LINK=" -lposix4"
40842 for wx_func in usleep
40844 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40845 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40846 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40847 echo $ECHO_N "(cached) $ECHO_C" >&6
40850 cat >conftest.$ac_ext <<_ACEOF
40854 cat confdefs.h >>conftest.$ac_ext
40855 cat >>conftest.$ac_ext <<_ACEOF
40856 /* end confdefs.h. */
40859 $ac_includes_default
40875 rm -f conftest.$ac_objext conftest$ac_exeext
40876 if { (ac_try="$ac_link"
40877 case "(($ac_try" in
40878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40879 *) ac_try_echo=$ac_try;;
40881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40882 (eval "$ac_link") 2>conftest.er1
40884 grep -v '^ *+' conftest.er1 >conftest.err
40886 cat conftest.err >&5
40887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888 (exit $ac_status); } && {
40889 test -z "$ac_c_werror_flag" ||
40890 test ! -s conftest.err
40891 } && test -s conftest$ac_exeext &&
40892 $as_test_x conftest$ac_exeext; then
40893 eval wx_cv_func_$wx_func=yes
40895 echo "$as_me: failed program was:" >&5
40896 sed 's/^/| /' conftest.$ac_ext >&5
40898 eval wx_cv_func_$wx_func=no
40901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40902 conftest$ac_exeext conftest.$ac_ext
40905 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40906 { echo "$as_me:$LINENO: result: $ac_res" >&5
40907 echo "${ECHO_T}$ac_res" >&6; }
40909 if eval test \$wx_cv_func_$wx_func = yes
40911 cat >>confdefs.h <<_ACEOF
40912 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40918 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40919 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40936 for wx_func in uname
40938 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40939 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40940 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40941 echo $ECHO_N "(cached) $ECHO_C" >&6
40944 cat >conftest.$ac_ext <<_ACEOF
40948 cat confdefs.h >>conftest.$ac_ext
40949 cat >>conftest.$ac_ext <<_ACEOF
40950 /* end confdefs.h. */
40952 #include <sys/utsname.h>
40953 $ac_includes_default
40969 rm -f conftest.$ac_objext conftest$ac_exeext
40970 if { (ac_try="$ac_link"
40971 case "(($ac_try" in
40972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40973 *) ac_try_echo=$ac_try;;
40975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40976 (eval "$ac_link") 2>conftest.er1
40978 grep -v '^ *+' conftest.er1 >conftest.err
40980 cat conftest.err >&5
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); } && {
40983 test -z "$ac_c_werror_flag" ||
40984 test ! -s conftest.err
40985 } && test -s conftest$ac_exeext &&
40986 $as_test_x conftest$ac_exeext; then
40987 eval wx_cv_func_$wx_func=yes
40989 echo "$as_me: failed program was:" >&5
40990 sed 's/^/| /' conftest.$ac_ext >&5
40992 eval wx_cv_func_$wx_func=no
40995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40996 conftest$ac_exeext conftest.$ac_ext
40999 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41000 { echo "$as_me:$LINENO: result: $ac_res" >&5
41001 echo "${ECHO_T}$ac_res" >&6; }
41003 if eval test \$wx_cv_func_$wx_func = yes
41005 cat >>confdefs.h <<_ACEOF
41006 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41016 if test "$wx_cv_func_uname" != yes; then
41018 for wx_func in gethostname
41020 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41021 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41022 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41023 echo $ECHO_N "(cached) $ECHO_C" >&6
41026 cat >conftest.$ac_ext <<_ACEOF
41030 cat confdefs.h >>conftest.$ac_ext
41031 cat >>conftest.$ac_ext <<_ACEOF
41032 /* end confdefs.h. */
41035 $ac_includes_default
41051 rm -f conftest.$ac_objext conftest$ac_exeext
41052 if { (ac_try="$ac_link"
41053 case "(($ac_try" in
41054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41055 *) ac_try_echo=$ac_try;;
41057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41058 (eval "$ac_link") 2>conftest.er1
41060 grep -v '^ *+' conftest.er1 >conftest.err
41062 cat conftest.err >&5
41063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41064 (exit $ac_status); } && {
41065 test -z "$ac_c_werror_flag" ||
41066 test ! -s conftest.err
41067 } && test -s conftest$ac_exeext &&
41068 $as_test_x conftest$ac_exeext; then
41069 eval wx_cv_func_$wx_func=yes
41071 echo "$as_me: failed program was:" >&5
41072 sed 's/^/| /' conftest.$ac_ext >&5
41074 eval wx_cv_func_$wx_func=no
41077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41078 conftest$ac_exeext conftest.$ac_ext
41081 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41082 { echo "$as_me:$LINENO: result: $ac_res" >&5
41083 echo "${ECHO_T}$ac_res" >&6; }
41085 if eval test \$wx_cv_func_$wx_func = yes
41087 cat >>confdefs.h <<_ACEOF
41088 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41101 for wx_func in strtok_r
41103 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41104 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41105 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41106 echo $ECHO_N "(cached) $ECHO_C" >&6
41109 cat >conftest.$ac_ext <<_ACEOF
41113 cat confdefs.h >>conftest.$ac_ext
41114 cat >>conftest.$ac_ext <<_ACEOF
41115 /* end confdefs.h. */
41118 $ac_includes_default
41134 rm -f conftest.$ac_objext conftest$ac_exeext
41135 if { (ac_try="$ac_link"
41136 case "(($ac_try" in
41137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41138 *) ac_try_echo=$ac_try;;
41140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41141 (eval "$ac_link") 2>conftest.er1
41143 grep -v '^ *+' conftest.er1 >conftest.err
41145 cat conftest.err >&5
41146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41147 (exit $ac_status); } && {
41148 test -z "$ac_c_werror_flag" ||
41149 test ! -s conftest.err
41150 } && test -s conftest$ac_exeext &&
41151 $as_test_x conftest$ac_exeext; then
41152 eval wx_cv_func_$wx_func=yes
41154 echo "$as_me: failed program was:" >&5
41155 sed 's/^/| /' conftest.$ac_ext >&5
41157 eval wx_cv_func_$wx_func=no
41160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41161 conftest$ac_exeext conftest.$ac_ext
41164 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41165 { echo "$as_me:$LINENO: result: $ac_res" >&5
41166 echo "${ECHO_T}$ac_res" >&6; }
41168 if eval test \$wx_cv_func_$wx_func = yes
41170 cat >>confdefs.h <<_ACEOF
41171 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41184 for ac_func in inet_addr
41186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41187 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41189 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41190 echo $ECHO_N "(cached) $ECHO_C" >&6
41192 cat >conftest.$ac_ext <<_ACEOF
41195 cat confdefs.h >>conftest.$ac_ext
41196 cat >>conftest.$ac_ext <<_ACEOF
41197 /* end confdefs.h. */
41198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41200 #define $ac_func innocuous_$ac_func
41202 /* System header to define __stub macros and hopefully few prototypes,
41203 which can conflict with char $ac_func (); below.
41204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41205 <limits.h> exists even on freestanding compilers. */
41208 # include <limits.h>
41210 # include <assert.h>
41215 /* Override any GCC internal prototype to avoid an error.
41216 Use char because int might match the return type of a GCC
41217 builtin and then its argument prototype would still apply. */
41222 /* The GNU C library defines this for functions which it implements
41223 to always fail with ENOSYS. Some functions are actually named
41224 something starting with __ and the normal name is an alias. */
41225 #if defined __stub_$ac_func || defined __stub___$ac_func
41232 return $ac_func ();
41237 rm -f conftest.$ac_objext conftest$ac_exeext
41238 if { (ac_try="$ac_link"
41239 case "(($ac_try" in
41240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41241 *) ac_try_echo=$ac_try;;
41243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41244 (eval "$ac_link") 2>conftest.er1
41246 grep -v '^ *+' conftest.er1 >conftest.err
41248 cat conftest.err >&5
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); } && {
41251 test -z "$ac_c_werror_flag" ||
41252 test ! -s conftest.err
41253 } && test -s conftest$ac_exeext &&
41254 $as_test_x conftest$ac_exeext; then
41255 eval "$as_ac_var=yes"
41257 echo "$as_me: failed program was:" >&5
41258 sed 's/^/| /' conftest.$ac_ext >&5
41260 eval "$as_ac_var=no"
41263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41264 conftest$ac_exeext conftest.$ac_ext
41266 ac_res=`eval echo '${'$as_ac_var'}'`
41267 { echo "$as_me:$LINENO: result: $ac_res" >&5
41268 echo "${ECHO_T}$ac_res" >&6; }
41269 if test `eval echo '${'$as_ac_var'}'` = yes; then
41270 cat >>confdefs.h <<_ACEOF
41271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41273 cat >>confdefs.h <<\_ACEOF
41274 #define HAVE_INET_ADDR 1
41279 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41280 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41281 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41282 echo $ECHO_N "(cached) $ECHO_C" >&6
41284 ac_check_lib_save_LIBS=$LIBS
41286 cat >conftest.$ac_ext <<_ACEOF
41289 cat confdefs.h >>conftest.$ac_ext
41290 cat >>conftest.$ac_ext <<_ACEOF
41291 /* end confdefs.h. */
41293 /* Override any GCC internal prototype to avoid an error.
41294 Use char because int might match the return type of a GCC
41295 builtin and then its argument prototype would still apply. */
41303 return inet_addr ();
41308 rm -f conftest.$ac_objext conftest$ac_exeext
41309 if { (ac_try="$ac_link"
41310 case "(($ac_try" in
41311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41312 *) ac_try_echo=$ac_try;;
41314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41315 (eval "$ac_link") 2>conftest.er1
41317 grep -v '^ *+' conftest.er1 >conftest.err
41319 cat conftest.err >&5
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); } && {
41322 test -z "$ac_c_werror_flag" ||
41323 test ! -s conftest.err
41324 } && test -s conftest$ac_exeext &&
41325 $as_test_x conftest$ac_exeext; then
41326 ac_cv_lib_nsl_inet_addr=yes
41328 echo "$as_me: failed program was:" >&5
41329 sed 's/^/| /' conftest.$ac_ext >&5
41331 ac_cv_lib_nsl_inet_addr=no
41334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41335 conftest$ac_exeext conftest.$ac_ext
41336 LIBS=$ac_check_lib_save_LIBS
41338 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41339 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41340 if test $ac_cv_lib_nsl_inet_addr = yes; then
41344 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41345 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41346 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41347 echo $ECHO_N "(cached) $ECHO_C" >&6
41349 ac_check_lib_save_LIBS=$LIBS
41350 LIBS="-lresolv $LIBS"
41351 cat >conftest.$ac_ext <<_ACEOF
41354 cat confdefs.h >>conftest.$ac_ext
41355 cat >>conftest.$ac_ext <<_ACEOF
41356 /* end confdefs.h. */
41358 /* Override any GCC internal prototype to avoid an error.
41359 Use char because int might match the return type of a GCC
41360 builtin and then its argument prototype would still apply. */
41368 return inet_addr ();
41373 rm -f conftest.$ac_objext conftest$ac_exeext
41374 if { (ac_try="$ac_link"
41375 case "(($ac_try" in
41376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41377 *) ac_try_echo=$ac_try;;
41379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41380 (eval "$ac_link") 2>conftest.er1
41382 grep -v '^ *+' conftest.er1 >conftest.err
41384 cat conftest.err >&5
41385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41386 (exit $ac_status); } && {
41387 test -z "$ac_c_werror_flag" ||
41388 test ! -s conftest.err
41389 } && test -s conftest$ac_exeext &&
41390 $as_test_x conftest$ac_exeext; then
41391 ac_cv_lib_resolv_inet_addr=yes
41393 echo "$as_me: failed program was:" >&5
41394 sed 's/^/| /' conftest.$ac_ext >&5
41396 ac_cv_lib_resolv_inet_addr=no
41399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41400 conftest$ac_exeext conftest.$ac_ext
41401 LIBS=$ac_check_lib_save_LIBS
41403 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41404 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41405 if test $ac_cv_lib_resolv_inet_addr = yes; then
41409 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41410 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41411 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41412 echo $ECHO_N "(cached) $ECHO_C" >&6
41414 ac_check_lib_save_LIBS=$LIBS
41415 LIBS="-lsocket $LIBS"
41416 cat >conftest.$ac_ext <<_ACEOF
41419 cat confdefs.h >>conftest.$ac_ext
41420 cat >>conftest.$ac_ext <<_ACEOF
41421 /* end confdefs.h. */
41423 /* Override any GCC internal prototype to avoid an error.
41424 Use char because int might match the return type of a GCC
41425 builtin and then its argument prototype would still apply. */
41433 return inet_addr ();
41438 rm -f conftest.$ac_objext conftest$ac_exeext
41439 if { (ac_try="$ac_link"
41440 case "(($ac_try" in
41441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41442 *) ac_try_echo=$ac_try;;
41444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41445 (eval "$ac_link") 2>conftest.er1
41447 grep -v '^ *+' conftest.er1 >conftest.err
41449 cat conftest.err >&5
41450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451 (exit $ac_status); } && {
41452 test -z "$ac_c_werror_flag" ||
41453 test ! -s conftest.err
41454 } && test -s conftest$ac_exeext &&
41455 $as_test_x conftest$ac_exeext; then
41456 ac_cv_lib_socket_inet_addr=yes
41458 echo "$as_me: failed program was:" >&5
41459 sed 's/^/| /' conftest.$ac_ext >&5
41461 ac_cv_lib_socket_inet_addr=no
41464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41465 conftest$ac_exeext conftest.$ac_ext
41466 LIBS=$ac_check_lib_save_LIBS
41468 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41469 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41470 if test $ac_cv_lib_socket_inet_addr = yes; then
41490 for ac_func in inet_aton
41492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41495 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41496 echo $ECHO_N "(cached) $ECHO_C" >&6
41498 cat >conftest.$ac_ext <<_ACEOF
41501 cat confdefs.h >>conftest.$ac_ext
41502 cat >>conftest.$ac_ext <<_ACEOF
41503 /* end confdefs.h. */
41504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41506 #define $ac_func innocuous_$ac_func
41508 /* System header to define __stub macros and hopefully few prototypes,
41509 which can conflict with char $ac_func (); below.
41510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41511 <limits.h> exists even on freestanding compilers. */
41514 # include <limits.h>
41516 # include <assert.h>
41521 /* Override any GCC internal prototype to avoid an error.
41522 Use char because int might match the return type of a GCC
41523 builtin and then its argument prototype would still apply. */
41528 /* The GNU C library defines this for functions which it implements
41529 to always fail with ENOSYS. Some functions are actually named
41530 something starting with __ and the normal name is an alias. */
41531 #if defined __stub_$ac_func || defined __stub___$ac_func
41538 return $ac_func ();
41543 rm -f conftest.$ac_objext conftest$ac_exeext
41544 if { (ac_try="$ac_link"
41545 case "(($ac_try" in
41546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41547 *) ac_try_echo=$ac_try;;
41549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41550 (eval "$ac_link") 2>conftest.er1
41552 grep -v '^ *+' conftest.er1 >conftest.err
41554 cat conftest.err >&5
41555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41556 (exit $ac_status); } && {
41557 test -z "$ac_c_werror_flag" ||
41558 test ! -s conftest.err
41559 } && test -s conftest$ac_exeext &&
41560 $as_test_x conftest$ac_exeext; then
41561 eval "$as_ac_var=yes"
41563 echo "$as_me: failed program was:" >&5
41564 sed 's/^/| /' conftest.$ac_ext >&5
41566 eval "$as_ac_var=no"
41569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41570 conftest$ac_exeext conftest.$ac_ext
41572 ac_res=`eval echo '${'$as_ac_var'}'`
41573 { echo "$as_me:$LINENO: result: $ac_res" >&5
41574 echo "${ECHO_T}$ac_res" >&6; }
41575 if test `eval echo '${'$as_ac_var'}'` = yes; then
41576 cat >>confdefs.h <<_ACEOF
41577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41579 cat >>confdefs.h <<\_ACEOF
41580 #define HAVE_INET_ATON 1
41585 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41586 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41587 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41588 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41589 echo $ECHO_N "(cached) $ECHO_C" >&6
41591 ac_check_lib_save_LIBS=$LIBS
41592 LIBS="-l$INET_LINK $LIBS"
41593 cat >conftest.$ac_ext <<_ACEOF
41596 cat confdefs.h >>conftest.$ac_ext
41597 cat >>conftest.$ac_ext <<_ACEOF
41598 /* end confdefs.h. */
41600 /* Override any GCC internal prototype to avoid an error.
41601 Use char because int might match the return type of a GCC
41602 builtin and then its argument prototype would still apply. */
41610 return inet_aton ();
41615 rm -f conftest.$ac_objext conftest$ac_exeext
41616 if { (ac_try="$ac_link"
41617 case "(($ac_try" in
41618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41619 *) ac_try_echo=$ac_try;;
41621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41622 (eval "$ac_link") 2>conftest.er1
41624 grep -v '^ *+' conftest.er1 >conftest.err
41626 cat conftest.err >&5
41627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41628 (exit $ac_status); } && {
41629 test -z "$ac_c_werror_flag" ||
41630 test ! -s conftest.err
41631 } && test -s conftest$ac_exeext &&
41632 $as_test_x conftest$ac_exeext; then
41633 eval "$as_ac_Lib=yes"
41635 echo "$as_me: failed program was:" >&5
41636 sed 's/^/| /' conftest.$ac_ext >&5
41638 eval "$as_ac_Lib=no"
41641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41642 conftest$ac_exeext conftest.$ac_ext
41643 LIBS=$ac_check_lib_save_LIBS
41645 ac_res=`eval echo '${'$as_ac_Lib'}'`
41646 { echo "$as_me:$LINENO: result: $ac_res" >&5
41647 echo "${ECHO_T}$ac_res" >&6; }
41648 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41649 cat >>confdefs.h <<\_ACEOF
41650 #define HAVE_INET_ATON 1
41660 if test "x$INET_LINK" != "x"; then
41661 cat >>confdefs.h <<\_ACEOF
41662 #define HAVE_INET_ADDR 1
41665 INET_LINK=" -l$INET_LINK"
41669 for wx_func in fdopen
41671 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41672 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41673 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41674 echo $ECHO_N "(cached) $ECHO_C" >&6
41677 cat >conftest.$ac_ext <<_ACEOF
41681 cat confdefs.h >>conftest.$ac_ext
41682 cat >>conftest.$ac_ext <<_ACEOF
41683 /* end confdefs.h. */
41686 $ac_includes_default
41702 rm -f conftest.$ac_objext conftest$ac_exeext
41703 if { (ac_try="$ac_link"
41704 case "(($ac_try" in
41705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41706 *) ac_try_echo=$ac_try;;
41708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41709 (eval "$ac_link") 2>conftest.er1
41711 grep -v '^ *+' conftest.er1 >conftest.err
41713 cat conftest.err >&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); } && {
41716 test -z "$ac_c_werror_flag" ||
41717 test ! -s conftest.err
41718 } && test -s conftest$ac_exeext &&
41719 $as_test_x conftest$ac_exeext; then
41720 eval wx_cv_func_$wx_func=yes
41722 echo "$as_me: failed program was:" >&5
41723 sed 's/^/| /' conftest.$ac_ext >&5
41725 eval wx_cv_func_$wx_func=no
41728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41729 conftest$ac_exeext conftest.$ac_ext
41732 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41733 { echo "$as_me:$LINENO: result: $ac_res" >&5
41734 echo "${ECHO_T}$ac_res" >&6; }
41736 if eval test \$wx_cv_func_$wx_func = yes
41738 cat >>confdefs.h <<_ACEOF
41739 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41754 cat >confcache <<\_ACEOF
41755 # This file is a shell script that caches the results of configure
41756 # tests run on this system so they can be shared between configure
41757 # scripts and configure runs, see configure's option --config-cache.
41758 # It is not useful on other systems. If it contains results you don't
41759 # want to keep, you may remove or edit it.
41761 # config.status only pays attention to the cache file if you give it
41762 # the --recheck option to rerun configure.
41764 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41765 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41766 # following values.
41770 # The following way of writing the cache mishandles newlines in values,
41771 # but we know of no workaround that is simple, portable, and efficient.
41772 # So, we kill variables containing newlines.
41773 # Ultrix sh set writes to stderr and can't be redirected directly,
41774 # and sets the high bit in the cache file unless we assign to the vars.
41776 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41777 eval ac_val=\$$ac_var
41781 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41782 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41785 _ | IFS | as_nl) ;; #(
41786 *) $as_unset $ac_var ;;
41792 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41793 *${as_nl}ac_space=\ *)
41794 # `set' does not quote correctly, so add quotes (double-quote
41795 # substitution turns \\\\ into \\, and sed turns \\ into \).
41798 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41801 # `set' quotes correctly as required by POSIX, so do not add quotes.
41802 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41813 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41815 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41816 if test -w "$cache_file"; then
41817 test "x$cache_file" != "x/dev/null" &&
41818 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41819 echo "$as_me: updating cache $cache_file" >&6;}
41820 cat confcache >$cache_file
41822 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41823 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41829 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41835 if test "$wxUSE_THREADS" = "yes" ; then
41836 if test "$USE_BEOS" = 1; then
41837 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41838 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41843 if test "$wxUSE_THREADS" = "yes" ; then
41846 THREAD_OPTS="-pthread"
41847 if test "x$SUNCXX" = xyes; then
41848 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41852 *-*-solaris2* | *-*-sunos4* )
41853 if test "x$GCC" = "xyes"; then
41854 THREAD_OPTS="-pthreads $THREAD_OPTS"
41858 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41860 *-*-darwin* | *-*-cygwin* )
41864 THREAD_OPTS="pthreads"
41867 if test "x$GCC" = "xyes"; then
41868 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41876 if test "x$GCC" = "xyes"; then
41882 if test "x$GCC" != "xyes"; then
41883 THREAD_OPTS="-Ethread"
41888 THREAD_OPTS="$THREAD_OPTS pthread none"
41891 for flag in $THREAD_OPTS; do
41894 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41895 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41899 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41900 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41901 THREADS_CFLAGS="$flag"
41905 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41906 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41907 THREADS_LINK="-l$flag"
41912 save_CFLAGS="$CFLAGS"
41913 LIBS="$THREADS_LINK $LIBS"
41914 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41916 cat >conftest.$ac_ext <<_ACEOF
41919 cat confdefs.h >>conftest.$ac_ext
41920 cat >>conftest.$ac_ext <<_ACEOF
41921 /* end confdefs.h. */
41922 #include <pthread.h>
41926 pthread_create(0,0,0,0);
41931 rm -f conftest.$ac_objext conftest$ac_exeext
41932 if { (ac_try="$ac_link"
41933 case "(($ac_try" in
41934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41935 *) ac_try_echo=$ac_try;;
41937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41938 (eval "$ac_link") 2>conftest.er1
41940 grep -v '^ *+' conftest.er1 >conftest.err
41942 cat conftest.err >&5
41943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41944 (exit $ac_status); } && {
41945 test -z "$ac_c_werror_flag" ||
41946 test ! -s conftest.err
41947 } && test -s conftest$ac_exeext &&
41948 $as_test_x conftest$ac_exeext; then
41951 echo "$as_me: failed program was:" >&5
41952 sed 's/^/| /' conftest.$ac_ext >&5
41957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41958 conftest$ac_exeext conftest.$ac_ext
41961 CFLAGS="$save_CFLAGS"
41963 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41964 echo "${ECHO_T}$THREADS_OK" >&6; }
41965 if test "x$THREADS_OK" = "xyes"; then
41973 if test "x$THREADS_OK" != "xyes"; then
41975 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41976 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41978 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41979 LIBS="$THREADS_LINK $LIBS"
41981 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41982 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41986 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41987 flag="-D_THREAD_SAFE"
41990 flag="-D_THREAD_SAFE"
41993 flag="-D_REENTRANT"
41994 if test "x$GCC" != "xyes"; then
41995 flag="$flag -D_RWSTD_MULTI_THREAD"
41998 *solaris* | alpha*-osf*)
41999 flag="-D_REENTRANT"
42002 { echo "$as_me:$LINENO: result: ${flag}" >&5
42003 echo "${ECHO_T}${flag}" >&6; }
42004 if test "x$flag" != xno; then
42005 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42008 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42012 if test "$wxUSE_THREADS" = "yes" ; then
42014 for ac_func in thr_setconcurrency
42016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42017 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42019 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42020 echo $ECHO_N "(cached) $ECHO_C" >&6
42022 cat >conftest.$ac_ext <<_ACEOF
42025 cat confdefs.h >>conftest.$ac_ext
42026 cat >>conftest.$ac_ext <<_ACEOF
42027 /* end confdefs.h. */
42028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42030 #define $ac_func innocuous_$ac_func
42032 /* System header to define __stub macros and hopefully few prototypes,
42033 which can conflict with char $ac_func (); below.
42034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42035 <limits.h> exists even on freestanding compilers. */
42038 # include <limits.h>
42040 # include <assert.h>
42045 /* Override any GCC internal prototype to avoid an error.
42046 Use char because int might match the return type of a GCC
42047 builtin and then its argument prototype would still apply. */
42052 /* The GNU C library defines this for functions which it implements
42053 to always fail with ENOSYS. Some functions are actually named
42054 something starting with __ and the normal name is an alias. */
42055 #if defined __stub_$ac_func || defined __stub___$ac_func
42062 return $ac_func ();
42067 rm -f conftest.$ac_objext conftest$ac_exeext
42068 if { (ac_try="$ac_link"
42069 case "(($ac_try" in
42070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42071 *) ac_try_echo=$ac_try;;
42073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42074 (eval "$ac_link") 2>conftest.er1
42076 grep -v '^ *+' conftest.er1 >conftest.err
42078 cat conftest.err >&5
42079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42080 (exit $ac_status); } && {
42081 test -z "$ac_c_werror_flag" ||
42082 test ! -s conftest.err
42083 } && test -s conftest$ac_exeext &&
42084 $as_test_x conftest$ac_exeext; then
42085 eval "$as_ac_var=yes"
42087 echo "$as_me: failed program was:" >&5
42088 sed 's/^/| /' conftest.$ac_ext >&5
42090 eval "$as_ac_var=no"
42093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42094 conftest$ac_exeext conftest.$ac_ext
42096 ac_res=`eval echo '${'$as_ac_var'}'`
42097 { echo "$as_me:$LINENO: result: $ac_res" >&5
42098 echo "${ECHO_T}$ac_res" >&6; }
42099 if test `eval echo '${'$as_ac_var'}'` = yes; then
42100 cat >>confdefs.h <<_ACEOF
42101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42108 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
42109 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
42110 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
42111 echo $ECHO_N "(cached) $ECHO_C" >&6
42115 ac_cpp='$CXXCPP $CPPFLAGS'
42116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42120 cat >conftest.$ac_ext <<_ACEOF
42123 cat confdefs.h >>conftest.$ac_ext
42124 cat >>conftest.$ac_ext <<_ACEOF
42125 /* end confdefs.h. */
42126 #include <pthread.h>
42127 void ThreadCleanupFunc(void *p);
42134 pthread_cleanup_push(ThreadCleanupFunc, p);
42135 pthread_cleanup_pop(0);
42141 rm -f conftest.$ac_objext
42142 if { (ac_try="$ac_compile"
42143 case "(($ac_try" in
42144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42145 *) ac_try_echo=$ac_try;;
42147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42148 (eval "$ac_compile") 2>conftest.er1
42150 grep -v '^ *+' conftest.er1 >conftest.err
42152 cat conftest.err >&5
42153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42154 (exit $ac_status); } && {
42155 test -z "$ac_cxx_werror_flag" ||
42156 test ! -s conftest.err
42157 } && test -s conftest.$ac_objext; then
42159 wx_cv_func_pthread_cleanup=yes
42162 echo "$as_me: failed program was:" >&5
42163 sed 's/^/| /' conftest.$ac_ext >&5
42166 wx_cv_func_pthread_cleanup=no
42171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42173 ac_cpp='$CPP $CPPFLAGS'
42174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42180 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
42181 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
42182 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
42183 cat >>confdefs.h <<\_ACEOF
42184 #define wxHAVE_PTHREAD_CLEANUP 1
42190 for ac_header in sched.h
42192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42193 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42196 echo $ECHO_N "(cached) $ECHO_C" >&6
42198 cat >conftest.$ac_ext <<_ACEOF
42201 cat confdefs.h >>conftest.$ac_ext
42202 cat >>conftest.$ac_ext <<_ACEOF
42203 /* end confdefs.h. */
42204 $ac_includes_default
42206 #include <$ac_header>
42208 rm -f conftest.$ac_objext
42209 if { (ac_try="$ac_compile"
42210 case "(($ac_try" in
42211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42212 *) ac_try_echo=$ac_try;;
42214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42215 (eval "$ac_compile") 2>conftest.er1
42217 grep -v '^ *+' conftest.er1 >conftest.err
42219 cat conftest.err >&5
42220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42221 (exit $ac_status); } && {
42222 test -z "$ac_c_werror_flag" ||
42223 test ! -s conftest.err
42224 } && test -s conftest.$ac_objext; then
42225 eval "$as_ac_Header=yes"
42227 echo "$as_me: failed program was:" >&5
42228 sed 's/^/| /' conftest.$ac_ext >&5
42230 eval "$as_ac_Header=no"
42233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42235 ac_res=`eval echo '${'$as_ac_Header'}'`
42236 { echo "$as_me:$LINENO: result: $ac_res" >&5
42237 echo "${ECHO_T}$ac_res" >&6; }
42238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42239 cat >>confdefs.h <<_ACEOF
42240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42247 if test "$ac_cv_header_sched_h" = "yes"; then
42248 { echo "$as_me:$LINENO: checking for sched_yield" >&5
42249 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
42250 if test "${ac_cv_func_sched_yield+set}" = set; then
42251 echo $ECHO_N "(cached) $ECHO_C" >&6
42253 cat >conftest.$ac_ext <<_ACEOF
42256 cat confdefs.h >>conftest.$ac_ext
42257 cat >>conftest.$ac_ext <<_ACEOF
42258 /* end confdefs.h. */
42259 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
42260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42261 #define sched_yield innocuous_sched_yield
42263 /* System header to define __stub macros and hopefully few prototypes,
42264 which can conflict with char sched_yield (); below.
42265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42266 <limits.h> exists even on freestanding compilers. */
42269 # include <limits.h>
42271 # include <assert.h>
42276 /* Override any GCC internal prototype to avoid an error.
42277 Use char because int might match the return type of a GCC
42278 builtin and then its argument prototype would still apply. */
42282 char sched_yield ();
42283 /* The GNU C library defines this for functions which it implements
42284 to always fail with ENOSYS. Some functions are actually named
42285 something starting with __ and the normal name is an alias. */
42286 #if defined __stub_sched_yield || defined __stub___sched_yield
42293 return sched_yield ();
42298 rm -f conftest.$ac_objext conftest$ac_exeext
42299 if { (ac_try="$ac_link"
42300 case "(($ac_try" in
42301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42302 *) ac_try_echo=$ac_try;;
42304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42305 (eval "$ac_link") 2>conftest.er1
42307 grep -v '^ *+' conftest.er1 >conftest.err
42309 cat conftest.err >&5
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); } && {
42312 test -z "$ac_c_werror_flag" ||
42313 test ! -s conftest.err
42314 } && test -s conftest$ac_exeext &&
42315 $as_test_x conftest$ac_exeext; then
42316 ac_cv_func_sched_yield=yes
42318 echo "$as_me: failed program was:" >&5
42319 sed 's/^/| /' conftest.$ac_ext >&5
42321 ac_cv_func_sched_yield=no
42324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42325 conftest$ac_exeext conftest.$ac_ext
42327 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
42328 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
42329 if test $ac_cv_func_sched_yield = yes; then
42330 cat >>confdefs.h <<\_ACEOF
42331 #define HAVE_SCHED_YIELD 1
42336 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42337 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42338 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42339 echo $ECHO_N "(cached) $ECHO_C" >&6
42341 ac_check_lib_save_LIBS=$LIBS
42342 LIBS="-lposix4 $LIBS"
42343 cat >conftest.$ac_ext <<_ACEOF
42346 cat confdefs.h >>conftest.$ac_ext
42347 cat >>conftest.$ac_ext <<_ACEOF
42348 /* end confdefs.h. */
42350 /* Override any GCC internal prototype to avoid an error.
42351 Use char because int might match the return type of a GCC
42352 builtin and then its argument prototype would still apply. */
42356 char sched_yield ();
42360 return sched_yield ();
42365 rm -f conftest.$ac_objext conftest$ac_exeext
42366 if { (ac_try="$ac_link"
42367 case "(($ac_try" in
42368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42369 *) ac_try_echo=$ac_try;;
42371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42372 (eval "$ac_link") 2>conftest.er1
42374 grep -v '^ *+' conftest.er1 >conftest.err
42376 cat conftest.err >&5
42377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42378 (exit $ac_status); } && {
42379 test -z "$ac_c_werror_flag" ||
42380 test ! -s conftest.err
42381 } && test -s conftest$ac_exeext &&
42382 $as_test_x conftest$ac_exeext; then
42383 ac_cv_lib_posix4_sched_yield=yes
42385 echo "$as_me: failed program was:" >&5
42386 sed 's/^/| /' conftest.$ac_ext >&5
42388 ac_cv_lib_posix4_sched_yield=no
42391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42392 conftest$ac_exeext conftest.$ac_ext
42393 LIBS=$ac_check_lib_save_LIBS
42395 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42396 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42397 if test $ac_cv_lib_posix4_sched_yield = yes; then
42398 cat >>confdefs.h <<\_ACEOF
42399 #define HAVE_SCHED_YIELD 1
42401 POSIX4_LINK=" -lposix4"
42403 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42404 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42415 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42416 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42417 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42418 echo $ECHO_N "(cached) $ECHO_C" >&6
42420 cat >conftest.$ac_ext <<_ACEOF
42423 cat confdefs.h >>conftest.$ac_ext
42424 cat >>conftest.$ac_ext <<_ACEOF
42425 /* end confdefs.h. */
42426 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42428 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42430 /* System header to define __stub macros and hopefully few prototypes,
42431 which can conflict with char pthread_attr_getschedpolicy (); below.
42432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42433 <limits.h> exists even on freestanding compilers. */
42436 # include <limits.h>
42438 # include <assert.h>
42441 #undef pthread_attr_getschedpolicy
42443 /* Override any GCC internal prototype to avoid an error.
42444 Use char because int might match the return type of a GCC
42445 builtin and then its argument prototype would still apply. */
42449 char pthread_attr_getschedpolicy ();
42450 /* The GNU C library defines this for functions which it implements
42451 to always fail with ENOSYS. Some functions are actually named
42452 something starting with __ and the normal name is an alias. */
42453 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42460 return pthread_attr_getschedpolicy ();
42465 rm -f conftest.$ac_objext conftest$ac_exeext
42466 if { (ac_try="$ac_link"
42467 case "(($ac_try" in
42468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42469 *) ac_try_echo=$ac_try;;
42471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42472 (eval "$ac_link") 2>conftest.er1
42474 grep -v '^ *+' conftest.er1 >conftest.err
42476 cat conftest.err >&5
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); } && {
42479 test -z "$ac_c_werror_flag" ||
42480 test ! -s conftest.err
42481 } && test -s conftest$ac_exeext &&
42482 $as_test_x conftest$ac_exeext; then
42483 ac_cv_func_pthread_attr_getschedpolicy=yes
42485 echo "$as_me: failed program was:" >&5
42486 sed 's/^/| /' conftest.$ac_ext >&5
42488 ac_cv_func_pthread_attr_getschedpolicy=no
42491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42492 conftest$ac_exeext conftest.$ac_ext
42494 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42495 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42496 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42497 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42498 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42499 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42500 echo $ECHO_N "(cached) $ECHO_C" >&6
42502 cat >conftest.$ac_ext <<_ACEOF
42505 cat confdefs.h >>conftest.$ac_ext
42506 cat >>conftest.$ac_ext <<_ACEOF
42507 /* end confdefs.h. */
42508 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42510 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42512 /* System header to define __stub macros and hopefully few prototypes,
42513 which can conflict with char pthread_attr_setschedparam (); below.
42514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42515 <limits.h> exists even on freestanding compilers. */
42518 # include <limits.h>
42520 # include <assert.h>
42523 #undef pthread_attr_setschedparam
42525 /* Override any GCC internal prototype to avoid an error.
42526 Use char because int might match the return type of a GCC
42527 builtin and then its argument prototype would still apply. */
42531 char pthread_attr_setschedparam ();
42532 /* The GNU C library defines this for functions which it implements
42533 to always fail with ENOSYS. Some functions are actually named
42534 something starting with __ and the normal name is an alias. */
42535 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42542 return pthread_attr_setschedparam ();
42547 rm -f conftest.$ac_objext conftest$ac_exeext
42548 if { (ac_try="$ac_link"
42549 case "(($ac_try" in
42550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42551 *) ac_try_echo=$ac_try;;
42553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42554 (eval "$ac_link") 2>conftest.er1
42556 grep -v '^ *+' conftest.er1 >conftest.err
42558 cat conftest.err >&5
42559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42560 (exit $ac_status); } && {
42561 test -z "$ac_c_werror_flag" ||
42562 test ! -s conftest.err
42563 } && test -s conftest$ac_exeext &&
42564 $as_test_x conftest$ac_exeext; then
42565 ac_cv_func_pthread_attr_setschedparam=yes
42567 echo "$as_me: failed program was:" >&5
42568 sed 's/^/| /' conftest.$ac_ext >&5
42570 ac_cv_func_pthread_attr_setschedparam=no
42573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42574 conftest$ac_exeext conftest.$ac_ext
42576 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42577 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42578 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42579 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42580 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42581 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42582 echo $ECHO_N "(cached) $ECHO_C" >&6
42584 cat >conftest.$ac_ext <<_ACEOF
42587 cat confdefs.h >>conftest.$ac_ext
42588 cat >>conftest.$ac_ext <<_ACEOF
42589 /* end confdefs.h. */
42590 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42592 #define sched_get_priority_max innocuous_sched_get_priority_max
42594 /* System header to define __stub macros and hopefully few prototypes,
42595 which can conflict with char sched_get_priority_max (); below.
42596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42597 <limits.h> exists even on freestanding compilers. */
42600 # include <limits.h>
42602 # include <assert.h>
42605 #undef sched_get_priority_max
42607 /* Override any GCC internal prototype to avoid an error.
42608 Use char because int might match the return type of a GCC
42609 builtin and then its argument prototype would still apply. */
42613 char sched_get_priority_max ();
42614 /* The GNU C library defines this for functions which it implements
42615 to always fail with ENOSYS. Some functions are actually named
42616 something starting with __ and the normal name is an alias. */
42617 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42624 return sched_get_priority_max ();
42629 rm -f conftest.$ac_objext conftest$ac_exeext
42630 if { (ac_try="$ac_link"
42631 case "(($ac_try" in
42632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42633 *) ac_try_echo=$ac_try;;
42635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42636 (eval "$ac_link") 2>conftest.er1
42638 grep -v '^ *+' conftest.er1 >conftest.err
42640 cat conftest.err >&5
42641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42642 (exit $ac_status); } && {
42643 test -z "$ac_c_werror_flag" ||
42644 test ! -s conftest.err
42645 } && test -s conftest$ac_exeext &&
42646 $as_test_x conftest$ac_exeext; then
42647 ac_cv_func_sched_get_priority_max=yes
42649 echo "$as_me: failed program was:" >&5
42650 sed 's/^/| /' conftest.$ac_ext >&5
42652 ac_cv_func_sched_get_priority_max=no
42655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42656 conftest$ac_exeext conftest.$ac_ext
42658 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42659 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42660 if test $ac_cv_func_sched_get_priority_max = yes; then
42663 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42664 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42665 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42666 echo $ECHO_N "(cached) $ECHO_C" >&6
42668 ac_check_lib_save_LIBS=$LIBS
42669 LIBS="-lposix4 $LIBS"
42670 cat >conftest.$ac_ext <<_ACEOF
42673 cat confdefs.h >>conftest.$ac_ext
42674 cat >>conftest.$ac_ext <<_ACEOF
42675 /* end confdefs.h. */
42677 /* Override any GCC internal prototype to avoid an error.
42678 Use char because int might match the return type of a GCC
42679 builtin and then its argument prototype would still apply. */
42683 char sched_get_priority_max ();
42687 return sched_get_priority_max ();
42692 rm -f conftest.$ac_objext conftest$ac_exeext
42693 if { (ac_try="$ac_link"
42694 case "(($ac_try" in
42695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42696 *) ac_try_echo=$ac_try;;
42698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42699 (eval "$ac_link") 2>conftest.er1
42701 grep -v '^ *+' conftest.er1 >conftest.err
42703 cat conftest.err >&5
42704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42705 (exit $ac_status); } && {
42706 test -z "$ac_c_werror_flag" ||
42707 test ! -s conftest.err
42708 } && test -s conftest$ac_exeext &&
42709 $as_test_x conftest$ac_exeext; then
42710 ac_cv_lib_posix4_sched_get_priority_max=yes
42712 echo "$as_me: failed program was:" >&5
42713 sed 's/^/| /' conftest.$ac_ext >&5
42715 ac_cv_lib_posix4_sched_get_priority_max=no
42718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42719 conftest$ac_exeext conftest.$ac_ext
42720 LIBS=$ac_check_lib_save_LIBS
42722 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42723 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42724 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42727 POSIX4_LINK=" -lposix4"
42741 if test "$HAVE_PRIOR_FUNCS" = 1; then
42742 cat >>confdefs.h <<\_ACEOF
42743 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42747 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42748 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42751 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42752 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42753 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42754 echo $ECHO_N "(cached) $ECHO_C" >&6
42756 cat >conftest.$ac_ext <<_ACEOF
42759 cat confdefs.h >>conftest.$ac_ext
42760 cat >>conftest.$ac_ext <<_ACEOF
42761 /* end confdefs.h. */
42762 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42764 #define pthread_cancel innocuous_pthread_cancel
42766 /* System header to define __stub macros and hopefully few prototypes,
42767 which can conflict with char pthread_cancel (); below.
42768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42769 <limits.h> exists even on freestanding compilers. */
42772 # include <limits.h>
42774 # include <assert.h>
42777 #undef pthread_cancel
42779 /* Override any GCC internal prototype to avoid an error.
42780 Use char because int might match the return type of a GCC
42781 builtin and then its argument prototype would still apply. */
42785 char pthread_cancel ();
42786 /* The GNU C library defines this for functions which it implements
42787 to always fail with ENOSYS. Some functions are actually named
42788 something starting with __ and the normal name is an alias. */
42789 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42796 return pthread_cancel ();
42801 rm -f conftest.$ac_objext conftest$ac_exeext
42802 if { (ac_try="$ac_link"
42803 case "(($ac_try" in
42804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42805 *) ac_try_echo=$ac_try;;
42807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42808 (eval "$ac_link") 2>conftest.er1
42810 grep -v '^ *+' conftest.er1 >conftest.err
42812 cat conftest.err >&5
42813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42814 (exit $ac_status); } && {
42815 test -z "$ac_c_werror_flag" ||
42816 test ! -s conftest.err
42817 } && test -s conftest$ac_exeext &&
42818 $as_test_x conftest$ac_exeext; then
42819 ac_cv_func_pthread_cancel=yes
42821 echo "$as_me: failed program was:" >&5
42822 sed 's/^/| /' conftest.$ac_ext >&5
42824 ac_cv_func_pthread_cancel=no
42827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42828 conftest$ac_exeext conftest.$ac_ext
42830 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42831 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42832 if test $ac_cv_func_pthread_cancel = yes; then
42833 cat >>confdefs.h <<\_ACEOF
42834 #define HAVE_PTHREAD_CANCEL 1
42838 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42839 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42843 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42844 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42845 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42846 echo $ECHO_N "(cached) $ECHO_C" >&6
42848 cat >conftest.$ac_ext <<_ACEOF
42851 cat confdefs.h >>conftest.$ac_ext
42852 cat >>conftest.$ac_ext <<_ACEOF
42853 /* end confdefs.h. */
42854 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42856 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42858 /* System header to define __stub macros and hopefully few prototypes,
42859 which can conflict with char pthread_mutex_timedlock (); below.
42860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42861 <limits.h> exists even on freestanding compilers. */
42864 # include <limits.h>
42866 # include <assert.h>
42869 #undef pthread_mutex_timedlock
42871 /* Override any GCC internal prototype to avoid an error.
42872 Use char because int might match the return type of a GCC
42873 builtin and then its argument prototype would still apply. */
42877 char pthread_mutex_timedlock ();
42878 /* The GNU C library defines this for functions which it implements
42879 to always fail with ENOSYS. Some functions are actually named
42880 something starting with __ and the normal name is an alias. */
42881 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42888 return pthread_mutex_timedlock ();
42893 rm -f conftest.$ac_objext conftest$ac_exeext
42894 if { (ac_try="$ac_link"
42895 case "(($ac_try" in
42896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42897 *) ac_try_echo=$ac_try;;
42899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42900 (eval "$ac_link") 2>conftest.er1
42902 grep -v '^ *+' conftest.er1 >conftest.err
42904 cat conftest.err >&5
42905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42906 (exit $ac_status); } && {
42907 test -z "$ac_c_werror_flag" ||
42908 test ! -s conftest.err
42909 } && test -s conftest$ac_exeext &&
42910 $as_test_x conftest$ac_exeext; then
42911 ac_cv_func_pthread_mutex_timedlock=yes
42913 echo "$as_me: failed program was:" >&5
42914 sed 's/^/| /' conftest.$ac_ext >&5
42916 ac_cv_func_pthread_mutex_timedlock=no
42919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42920 conftest$ac_exeext conftest.$ac_ext
42922 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42923 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42924 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42925 cat >>confdefs.h <<\_ACEOF
42926 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42930 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42931 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42935 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42936 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42937 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42938 echo $ECHO_N "(cached) $ECHO_C" >&6
42940 cat >conftest.$ac_ext <<_ACEOF
42943 cat confdefs.h >>conftest.$ac_ext
42944 cat >>conftest.$ac_ext <<_ACEOF
42945 /* end confdefs.h. */
42946 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42948 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42950 /* System header to define __stub macros and hopefully few prototypes,
42951 which can conflict with char pthread_attr_setstacksize (); below.
42952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42953 <limits.h> exists even on freestanding compilers. */
42956 # include <limits.h>
42958 # include <assert.h>
42961 #undef pthread_attr_setstacksize
42963 /* Override any GCC internal prototype to avoid an error.
42964 Use char because int might match the return type of a GCC
42965 builtin and then its argument prototype would still apply. */
42969 char pthread_attr_setstacksize ();
42970 /* The GNU C library defines this for functions which it implements
42971 to always fail with ENOSYS. Some functions are actually named
42972 something starting with __ and the normal name is an alias. */
42973 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42980 return pthread_attr_setstacksize ();
42985 rm -f conftest.$ac_objext conftest$ac_exeext
42986 if { (ac_try="$ac_link"
42987 case "(($ac_try" in
42988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42989 *) ac_try_echo=$ac_try;;
42991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42992 (eval "$ac_link") 2>conftest.er1
42994 grep -v '^ *+' conftest.er1 >conftest.err
42996 cat conftest.err >&5
42997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998 (exit $ac_status); } && {
42999 test -z "$ac_c_werror_flag" ||
43000 test ! -s conftest.err
43001 } && test -s conftest$ac_exeext &&
43002 $as_test_x conftest$ac_exeext; then
43003 ac_cv_func_pthread_attr_setstacksize=yes
43005 echo "$as_me: failed program was:" >&5
43006 sed 's/^/| /' conftest.$ac_ext >&5
43008 ac_cv_func_pthread_attr_setstacksize=no
43011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43012 conftest$ac_exeext conftest.$ac_ext
43014 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
43015 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
43016 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
43017 cat >>confdefs.h <<\_ACEOF
43018 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
43025 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
43026 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
43027 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
43028 echo $ECHO_N "(cached) $ECHO_C" >&6
43031 cat >conftest.$ac_ext <<_ACEOF
43034 cat confdefs.h >>conftest.$ac_ext
43035 cat >>conftest.$ac_ext <<_ACEOF
43036 /* end confdefs.h. */
43037 #include <pthread.h>
43042 pthread_mutexattr_t attr;
43043 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43049 rm -f conftest.$ac_objext
43050 if { (ac_try="$ac_compile"
43051 case "(($ac_try" in
43052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43053 *) ac_try_echo=$ac_try;;
43055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43056 (eval "$ac_compile") 2>conftest.er1
43058 grep -v '^ *+' conftest.er1 >conftest.err
43060 cat conftest.err >&5
43061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43062 (exit $ac_status); } && {
43063 test -z "$ac_c_werror_flag" ||
43064 test ! -s conftest.err
43065 } && test -s conftest.$ac_objext; then
43066 wx_cv_type_pthread_mutexattr_t=yes
43068 echo "$as_me: failed program was:" >&5
43069 sed 's/^/| /' conftest.$ac_ext >&5
43071 wx_cv_type_pthread_mutexattr_t=no
43075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43078 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
43079 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
43081 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
43082 cat >>confdefs.h <<\_ACEOF
43083 #define HAVE_PTHREAD_MUTEXATTR_T 1
43087 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
43088 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
43089 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
43090 echo $ECHO_N "(cached) $ECHO_C" >&6
43093 cat >conftest.$ac_ext <<_ACEOF
43096 cat confdefs.h >>conftest.$ac_ext
43097 cat >>conftest.$ac_ext <<_ACEOF
43098 /* end confdefs.h. */
43099 #include <pthread.h>
43104 pthread_mutexattr_t attr;
43105 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43111 rm -f conftest.$ac_objext
43112 if { (ac_try="$ac_compile"
43113 case "(($ac_try" in
43114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43115 *) ac_try_echo=$ac_try;;
43117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43118 (eval "$ac_compile") 2>conftest.er1
43120 grep -v '^ *+' conftest.er1 >conftest.err
43122 cat conftest.err >&5
43123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43124 (exit $ac_status); } && {
43125 test -z "$ac_c_werror_flag" ||
43126 test ! -s conftest.err
43127 } && test -s conftest.$ac_objext; then
43128 wx_cv_func_pthread_mutexattr_settype_decl=yes
43130 echo "$as_me: failed program was:" >&5
43131 sed 's/^/| /' conftest.$ac_ext >&5
43133 wx_cv_func_pthread_mutexattr_settype_decl=no
43137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43140 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
43141 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
43142 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
43143 cat >>confdefs.h <<\_ACEOF
43144 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
43149 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
43150 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
43151 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
43152 echo $ECHO_N "(cached) $ECHO_C" >&6
43155 cat >conftest.$ac_ext <<_ACEOF
43158 cat confdefs.h >>conftest.$ac_ext
43159 cat >>conftest.$ac_ext <<_ACEOF
43160 /* end confdefs.h. */
43161 #include <pthread.h>
43166 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
43172 rm -f conftest.$ac_objext
43173 if { (ac_try="$ac_compile"
43174 case "(($ac_try" in
43175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43176 *) ac_try_echo=$ac_try;;
43178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43179 (eval "$ac_compile") 2>conftest.er1
43181 grep -v '^ *+' conftest.er1 >conftest.err
43183 cat conftest.err >&5
43184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43185 (exit $ac_status); } && {
43186 test -z "$ac_c_werror_flag" ||
43187 test ! -s conftest.err
43188 } && test -s conftest.$ac_objext; then
43190 wx_cv_type_pthread_rec_mutex_init=yes
43193 echo "$as_me: failed program was:" >&5
43194 sed 's/^/| /' conftest.$ac_ext >&5
43197 wx_cv_type_pthread_rec_mutex_init=no
43202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43205 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
43206 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
43207 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
43208 cat >>confdefs.h <<\_ACEOF
43209 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
43213 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
43214 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
43220 if test "$wxUSE_THREADS" = "yes" ; then
43223 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
43224 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
43225 if test "${wx_cv_cflags_mthread+set}" = set; then
43226 echo $ECHO_N "(cached) $ECHO_C" >&6
43229 CFLAGS_OLD="$CFLAGS"
43230 CFLAGS="-mthreads $CFLAGS"
43231 cat >conftest.$ac_ext <<_ACEOF
43234 cat confdefs.h >>conftest.$ac_ext
43235 cat >>conftest.$ac_ext <<_ACEOF
43236 /* end confdefs.h. */
43246 rm -f conftest.$ac_objext
43247 if { (ac_try="$ac_compile"
43248 case "(($ac_try" in
43249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43250 *) ac_try_echo=$ac_try;;
43252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43253 (eval "$ac_compile") 2>conftest.er1
43255 grep -v '^ *+' conftest.er1 >conftest.err
43257 cat conftest.err >&5
43258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43259 (exit $ac_status); } && {
43260 test -z "$ac_c_werror_flag" ||
43261 test ! -s conftest.err
43262 } && test -s conftest.$ac_objext; then
43263 wx_cv_cflags_mthread=yes
43265 echo "$as_me: failed program was:" >&5
43266 sed 's/^/| /' conftest.$ac_ext >&5
43268 wx_cv_cflags_mthread=no
43272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43276 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
43277 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
43279 if test "$wx_cv_cflags_mthread" = "yes"; then
43280 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
43281 LDFLAGS="$LDFLAGS -mthreads"
43283 CFLAGS="$CFLAGS_OLD"
43287 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
43288 LDFLAGS="$LDFLAGS -Zmt"
43294 { echo "$as_me:$LINENO: checking for localtime_r" >&5
43295 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
43296 if test "${ac_cv_func_localtime_r+set}" = set; then
43297 echo $ECHO_N "(cached) $ECHO_C" >&6
43299 cat >conftest.$ac_ext <<_ACEOF
43302 cat confdefs.h >>conftest.$ac_ext
43303 cat >>conftest.$ac_ext <<_ACEOF
43304 /* end confdefs.h. */
43305 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
43306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43307 #define localtime_r innocuous_localtime_r
43309 /* System header to define __stub macros and hopefully few prototypes,
43310 which can conflict with char localtime_r (); below.
43311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43312 <limits.h> exists even on freestanding compilers. */
43315 # include <limits.h>
43317 # include <assert.h>
43322 /* Override any GCC internal prototype to avoid an error.
43323 Use char because int might match the return type of a GCC
43324 builtin and then its argument prototype would still apply. */
43328 char localtime_r ();
43329 /* The GNU C library defines this for functions which it implements
43330 to always fail with ENOSYS. Some functions are actually named
43331 something starting with __ and the normal name is an alias. */
43332 #if defined __stub_localtime_r || defined __stub___localtime_r
43339 return localtime_r ();
43344 rm -f conftest.$ac_objext conftest$ac_exeext
43345 if { (ac_try="$ac_link"
43346 case "(($ac_try" in
43347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43348 *) ac_try_echo=$ac_try;;
43350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43351 (eval "$ac_link") 2>conftest.er1
43353 grep -v '^ *+' conftest.er1 >conftest.err
43355 cat conftest.err >&5
43356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43357 (exit $ac_status); } && {
43358 test -z "$ac_c_werror_flag" ||
43359 test ! -s conftest.err
43360 } && test -s conftest$ac_exeext &&
43361 $as_test_x conftest$ac_exeext; then
43362 ac_cv_func_localtime_r=yes
43364 echo "$as_me: failed program was:" >&5
43365 sed 's/^/| /' conftest.$ac_ext >&5
43367 ac_cv_func_localtime_r=no
43370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43371 conftest$ac_exeext conftest.$ac_ext
43373 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43374 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43375 if test $ac_cv_func_localtime_r = yes; then
43376 cat >>confdefs.h <<\_ACEOF
43377 #define HAVE_LOCALTIME_R 1
43382 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43383 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43384 if test "${ac_cv_func_gmtime_r+set}" = set; then
43385 echo $ECHO_N "(cached) $ECHO_C" >&6
43387 cat >conftest.$ac_ext <<_ACEOF
43390 cat confdefs.h >>conftest.$ac_ext
43391 cat >>conftest.$ac_ext <<_ACEOF
43392 /* end confdefs.h. */
43393 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43395 #define gmtime_r innocuous_gmtime_r
43397 /* System header to define __stub macros and hopefully few prototypes,
43398 which can conflict with char gmtime_r (); below.
43399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43400 <limits.h> exists even on freestanding compilers. */
43403 # include <limits.h>
43405 # include <assert.h>
43410 /* Override any GCC internal prototype to avoid an error.
43411 Use char because int might match the return type of a GCC
43412 builtin and then its argument prototype would still apply. */
43417 /* The GNU C library defines this for functions which it implements
43418 to always fail with ENOSYS. Some functions are actually named
43419 something starting with __ and the normal name is an alias. */
43420 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43427 return gmtime_r ();
43432 rm -f conftest.$ac_objext conftest$ac_exeext
43433 if { (ac_try="$ac_link"
43434 case "(($ac_try" in
43435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43436 *) ac_try_echo=$ac_try;;
43438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43439 (eval "$ac_link") 2>conftest.er1
43441 grep -v '^ *+' conftest.er1 >conftest.err
43443 cat conftest.err >&5
43444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43445 (exit $ac_status); } && {
43446 test -z "$ac_c_werror_flag" ||
43447 test ! -s conftest.err
43448 } && test -s conftest$ac_exeext &&
43449 $as_test_x conftest$ac_exeext; then
43450 ac_cv_func_gmtime_r=yes
43452 echo "$as_me: failed program was:" >&5
43453 sed 's/^/| /' conftest.$ac_ext >&5
43455 ac_cv_func_gmtime_r=no
43458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43459 conftest$ac_exeext conftest.$ac_ext
43461 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43462 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43463 if test $ac_cv_func_gmtime_r = yes; then
43464 cat >>confdefs.h <<\_ACEOF
43465 #define HAVE_GMTIME_R 1
43470 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43471 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43472 if test "${ac_cv_func_readdir_r+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 readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43483 #define readdir_r innocuous_readdir_r
43485 /* System header to define __stub macros and hopefully few prototypes,
43486 which can conflict with char readdir_r (); 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_readdir_r || defined __stub___readdir_r
43515 return readdir_r ();
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 ac_cv_func_readdir_r=yes
43540 echo "$as_me: failed program was:" >&5
43541 sed 's/^/| /' conftest.$ac_ext >&5
43543 ac_cv_func_readdir_r=no
43546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43547 conftest$ac_exeext conftest.$ac_ext
43549 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43550 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43551 if test $ac_cv_func_readdir_r = yes; then
43552 cat >>confdefs.h <<\_ACEOF
43553 #define HAVE_READDIR_R 1
43562 ac_cpp='$CPP $CPPFLAGS'
43563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43567 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43568 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43570 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43571 echo $ECHO_N "(cached) $ECHO_C" >&6
43575 ################################################################
43577 ac_cv_func_which_gethostbyname_r=unknown
43580 # ONE ARGUMENT (sanity check)
43583 # This should fail, as there is no variant of gethostbyname_r() that takes
43584 # a single argument. If it actually compiles, then we can assume that
43585 # netdb.h is not declaring the function, and the compiler is thereby
43586 # assuming an implicit prototype. In which case, we're out of luck.
43588 cat >conftest.$ac_ext <<_ACEOF
43591 cat confdefs.h >>conftest.$ac_ext
43592 cat >>conftest.$ac_ext <<_ACEOF
43593 /* end confdefs.h. */
43599 char *name = "www.gnu.org";
43600 (void)gethostbyname_r(name) /* ; */
43606 rm -f conftest.$ac_objext
43607 if { (ac_try="$ac_compile"
43608 case "(($ac_try" in
43609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43610 *) ac_try_echo=$ac_try;;
43612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43613 (eval "$ac_compile") 2>conftest.er1
43615 grep -v '^ *+' conftest.er1 >conftest.err
43617 cat conftest.err >&5
43618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43619 (exit $ac_status); } && {
43620 test -z "$ac_c_werror_flag" ||
43621 test ! -s conftest.err
43622 } && test -s conftest.$ac_objext; then
43623 ac_cv_func_which_gethostbyname_r=no
43625 echo "$as_me: failed program was:" >&5
43626 sed 's/^/| /' conftest.$ac_ext >&5
43631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43638 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43640 cat >conftest.$ac_ext <<_ACEOF
43643 cat confdefs.h >>conftest.$ac_ext
43644 cat >>conftest.$ac_ext <<_ACEOF
43645 /* end confdefs.h. */
43651 char *name = "www.gnu.org";
43652 struct hostent ret, *retp;
43656 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43662 rm -f conftest.$ac_objext
43663 if { (ac_try="$ac_compile"
43664 case "(($ac_try" in
43665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43666 *) ac_try_echo=$ac_try;;
43668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43669 (eval "$ac_compile") 2>conftest.er1
43671 grep -v '^ *+' conftest.er1 >conftest.err
43673 cat conftest.err >&5
43674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43675 (exit $ac_status); } && {
43676 test -z "$ac_c_werror_flag" ||
43677 test ! -s conftest.err
43678 } && test -s conftest.$ac_objext; then
43679 ac_cv_func_which_gethostbyname_r=six
43681 echo "$as_me: failed program was:" >&5
43682 sed 's/^/| /' conftest.$ac_ext >&5
43687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43696 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43698 cat >conftest.$ac_ext <<_ACEOF
43701 cat confdefs.h >>conftest.$ac_ext
43702 cat >>conftest.$ac_ext <<_ACEOF
43703 /* end confdefs.h. */
43709 char *name = "www.gnu.org";
43710 struct hostent ret;
43714 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43720 rm -f conftest.$ac_objext
43721 if { (ac_try="$ac_compile"
43722 case "(($ac_try" in
43723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43724 *) ac_try_echo=$ac_try;;
43726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43727 (eval "$ac_compile") 2>conftest.er1
43729 grep -v '^ *+' conftest.er1 >conftest.err
43731 cat conftest.err >&5
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); } && {
43734 test -z "$ac_c_werror_flag" ||
43735 test ! -s conftest.err
43736 } && test -s conftest.$ac_objext; then
43737 ac_cv_func_which_gethostbyname_r=five
43739 echo "$as_me: failed program was:" >&5
43740 sed 's/^/| /' conftest.$ac_ext >&5
43745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43751 # (e.g. AIX, HP-UX, Tru64)
43754 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43756 cat >conftest.$ac_ext <<_ACEOF
43759 cat confdefs.h >>conftest.$ac_ext
43760 cat >>conftest.$ac_ext <<_ACEOF
43761 /* end confdefs.h. */
43767 char *name = "www.gnu.org";
43768 struct hostent ret;
43769 struct hostent_data data;
43770 (void)gethostbyname_r(name, &ret, &data) /* ; */
43776 rm -f conftest.$ac_objext
43777 if { (ac_try="$ac_compile"
43778 case "(($ac_try" in
43779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43780 *) ac_try_echo=$ac_try;;
43782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43783 (eval "$ac_compile") 2>conftest.er1
43785 grep -v '^ *+' conftest.er1 >conftest.err
43787 cat conftest.err >&5
43788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43789 (exit $ac_status); } && {
43790 test -z "$ac_c_werror_flag" ||
43791 test ! -s conftest.err
43792 } && test -s conftest.$ac_objext; then
43793 ac_cv_func_which_gethostbyname_r=three
43795 echo "$as_me: failed program was:" >&5
43796 sed 's/^/| /' conftest.$ac_ext >&5
43801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43805 ################################################################
43810 case "$ac_cv_func_which_gethostbyname_r" in
43812 { echo "$as_me:$LINENO: result: three" >&5
43813 echo "${ECHO_T}three" >&6; }
43814 cat >>confdefs.h <<\_ACEOF
43815 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43821 { echo "$as_me:$LINENO: result: five" >&5
43822 echo "${ECHO_T}five" >&6; }
43823 cat >>confdefs.h <<\_ACEOF
43824 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43830 { echo "$as_me:$LINENO: result: six" >&5
43831 echo "${ECHO_T}six" >&6; }
43832 cat >>confdefs.h <<\_ACEOF
43833 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43839 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43840 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43844 { echo "$as_me:$LINENO: result: can't tell" >&5
43845 echo "${ECHO_T}can't tell" >&6; }
43849 { { echo "$as_me:$LINENO: error: internal error" >&5
43850 echo "$as_me: error: internal error" >&2;}
43851 { (exit 1); exit 1; }; }
43856 ac_cpp='$CPP $CPPFLAGS'
43857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43863 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43864 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43865 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43866 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43867 if test "${ac_cv_func_gethostbyname+set}" = set; then
43868 echo $ECHO_N "(cached) $ECHO_C" >&6
43870 cat >conftest.$ac_ext <<_ACEOF
43873 cat confdefs.h >>conftest.$ac_ext
43874 cat >>conftest.$ac_ext <<_ACEOF
43875 /* end confdefs.h. */
43876 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43878 #define gethostbyname innocuous_gethostbyname
43880 /* System header to define __stub macros and hopefully few prototypes,
43881 which can conflict with char gethostbyname (); below.
43882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43883 <limits.h> exists even on freestanding compilers. */
43886 # include <limits.h>
43888 # include <assert.h>
43891 #undef gethostbyname
43893 /* Override any GCC internal prototype to avoid an error.
43894 Use char because int might match the return type of a GCC
43895 builtin and then its argument prototype would still apply. */
43899 char gethostbyname ();
43900 /* The GNU C library defines this for functions which it implements
43901 to always fail with ENOSYS. Some functions are actually named
43902 something starting with __ and the normal name is an alias. */
43903 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43910 return gethostbyname ();
43915 rm -f conftest.$ac_objext conftest$ac_exeext
43916 if { (ac_try="$ac_link"
43917 case "(($ac_try" in
43918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43919 *) ac_try_echo=$ac_try;;
43921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43922 (eval "$ac_link") 2>conftest.er1
43924 grep -v '^ *+' conftest.er1 >conftest.err
43926 cat conftest.err >&5
43927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43928 (exit $ac_status); } && {
43929 test -z "$ac_c_werror_flag" ||
43930 test ! -s conftest.err
43931 } && test -s conftest$ac_exeext &&
43932 $as_test_x conftest$ac_exeext; then
43933 ac_cv_func_gethostbyname=yes
43935 echo "$as_me: failed program was:" >&5
43936 sed 's/^/| /' conftest.$ac_ext >&5
43938 ac_cv_func_gethostbyname=no
43941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43942 conftest$ac_exeext conftest.$ac_ext
43944 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43945 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43946 if test $ac_cv_func_gethostbyname = yes; then
43947 cat >>confdefs.h <<\_ACEOF
43948 #define HAVE_GETHOSTBYNAME 1
43955 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43956 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43957 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43958 echo $ECHO_N "(cached) $ECHO_C" >&6
43962 ac_cpp='$CXXCPP $CPPFLAGS'
43963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43968 cat >conftest.$ac_ext <<_ACEOF
43971 cat confdefs.h >>conftest.$ac_ext
43972 cat >>conftest.$ac_ext <<_ACEOF
43973 /* end confdefs.h. */
43981 struct servent *se, *res;
43984 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43990 rm -f conftest.$ac_objext
43991 if { (ac_try="$ac_compile"
43992 case "(($ac_try" in
43993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43994 *) ac_try_echo=$ac_try;;
43996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43997 (eval "$ac_compile") 2>conftest.er1
43999 grep -v '^ *+' conftest.er1 >conftest.err
44001 cat conftest.err >&5
44002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003 (exit $ac_status); } && {
44004 test -z "$ac_cxx_werror_flag" ||
44005 test ! -s conftest.err
44006 } && test -s conftest.$ac_objext; then
44007 ac_cv_func_which_getservbyname_r=six
44009 echo "$as_me: failed program was:" >&5
44010 sed 's/^/| /' conftest.$ac_ext >&5
44013 cat >conftest.$ac_ext <<_ACEOF
44016 cat confdefs.h >>conftest.$ac_ext
44017 cat >>conftest.$ac_ext <<_ACEOF
44018 /* end confdefs.h. */
44026 struct servent *se;
44029 (void) getservbyname_r(name, proto, se, buffer, buflen)
44035 rm -f conftest.$ac_objext
44036 if { (ac_try="$ac_compile"
44037 case "(($ac_try" in
44038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44039 *) ac_try_echo=$ac_try;;
44041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44042 (eval "$ac_compile") 2>conftest.er1
44044 grep -v '^ *+' conftest.er1 >conftest.err
44046 cat conftest.err >&5
44047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44048 (exit $ac_status); } && {
44049 test -z "$ac_cxx_werror_flag" ||
44050 test ! -s conftest.err
44051 } && test -s conftest.$ac_objext; then
44052 ac_cv_func_which_getservbyname_r=five
44054 echo "$as_me: failed program was:" >&5
44055 sed 's/^/| /' conftest.$ac_ext >&5
44058 cat >conftest.$ac_ext <<_ACEOF
44061 cat confdefs.h >>conftest.$ac_ext
44062 cat >>conftest.$ac_ext <<_ACEOF
44063 /* end confdefs.h. */
44071 struct servent *se;
44072 struct servent_data data;
44073 (void) getservbyname_r(name, proto, se, &data);
44079 rm -f conftest.$ac_objext
44080 if { (ac_try="$ac_compile"
44081 case "(($ac_try" in
44082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44083 *) ac_try_echo=$ac_try;;
44085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44086 (eval "$ac_compile") 2>conftest.er1
44088 grep -v '^ *+' conftest.er1 >conftest.err
44090 cat conftest.err >&5
44091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44092 (exit $ac_status); } && {
44093 test -z "$ac_cxx_werror_flag" ||
44094 test ! -s conftest.err
44095 } && test -s conftest.$ac_objext; then
44096 ac_cv_func_which_getservbyname_r=four
44098 echo "$as_me: failed program was:" >&5
44099 sed 's/^/| /' conftest.$ac_ext >&5
44101 ac_cv_func_which_getservbyname_r=no
44105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44117 ac_cpp='$CPP $CPPFLAGS'
44118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44125 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
44126 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
44128 if test $ac_cv_func_which_getservbyname_r = six; then
44129 cat >>confdefs.h <<\_ACEOF
44130 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
44133 elif test $ac_cv_func_which_getservbyname_r = five; then
44134 cat >>confdefs.h <<\_ACEOF
44135 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
44138 elif test $ac_cv_func_which_getservbyname_r = four; then
44139 cat >>confdefs.h <<\_ACEOF
44140 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
44146 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
44147 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
44149 for ac_func in getservbyname
44151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44152 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44154 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44155 echo $ECHO_N "(cached) $ECHO_C" >&6
44157 cat >conftest.$ac_ext <<_ACEOF
44160 cat confdefs.h >>conftest.$ac_ext
44161 cat >>conftest.$ac_ext <<_ACEOF
44162 /* end confdefs.h. */
44163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44165 #define $ac_func innocuous_$ac_func
44167 /* System header to define __stub macros and hopefully few prototypes,
44168 which can conflict with char $ac_func (); below.
44169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44170 <limits.h> exists even on freestanding compilers. */
44173 # include <limits.h>
44175 # include <assert.h>
44180 /* Override any GCC internal prototype to avoid an error.
44181 Use char because int might match the return type of a GCC
44182 builtin and then its argument prototype would still apply. */
44187 /* The GNU C library defines this for functions which it implements
44188 to always fail with ENOSYS. Some functions are actually named
44189 something starting with __ and the normal name is an alias. */
44190 #if defined __stub_$ac_func || defined __stub___$ac_func
44197 return $ac_func ();
44202 rm -f conftest.$ac_objext conftest$ac_exeext
44203 if { (ac_try="$ac_link"
44204 case "(($ac_try" in
44205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44206 *) ac_try_echo=$ac_try;;
44208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44209 (eval "$ac_link") 2>conftest.er1
44211 grep -v '^ *+' conftest.er1 >conftest.err
44213 cat conftest.err >&5
44214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44215 (exit $ac_status); } && {
44216 test -z "$ac_c_werror_flag" ||
44217 test ! -s conftest.err
44218 } && test -s conftest$ac_exeext &&
44219 $as_test_x conftest$ac_exeext; then
44220 eval "$as_ac_var=yes"
44222 echo "$as_me: failed program was:" >&5
44223 sed 's/^/| /' conftest.$ac_ext >&5
44225 eval "$as_ac_var=no"
44228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44229 conftest$ac_exeext conftest.$ac_ext
44231 ac_res=`eval echo '${'$as_ac_var'}'`
44232 { echo "$as_me:$LINENO: result: $ac_res" >&5
44233 echo "${ECHO_T}$ac_res" >&6; }
44234 if test `eval echo '${'$as_ac_var'}'` = yes; then
44235 cat >>confdefs.h <<_ACEOF
44236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44238 cat >>confdefs.h <<\_ACEOF
44239 #define HAVE_GETSERVBYNAME 1
44247 if test "$wxUSE_THREADS" = "yes"; then
44248 cat >>confdefs.h <<\_ACEOF
44249 #define wxUSE_THREADS 1
44253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
44255 if test "$wx_cv_func_strtok_r" = "yes"; then
44256 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
44257 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
44258 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
44259 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
44260 { echo "$as_me:$LINENO: result: yes" >&5
44261 echo "${ECHO_T}yes" >&6; }
44263 { echo "$as_me:$LINENO: result: no" >&5
44264 echo "${ECHO_T}no" >&6; }
44269 if test "$WXGTK20" = 1 ; then
44270 cat >>confdefs.h <<_ACEOF
44271 #define __WXGTK20__ $WXGTK20
44277 if test "$WXGTK12" = 1 ; then
44278 cat >>confdefs.h <<_ACEOF
44279 #define __WXGTK12__ $WXGTK12
44284 if test "$WXGTK127" = 1 ; then
44285 cat >>confdefs.h <<_ACEOF
44286 #define __WXGTK127__ $WXGTK127
44291 if test "$WXGPE" = 1 ; then
44292 cat >>confdefs.h <<_ACEOF
44293 #define __WXGPE__ $WXGPE
44299 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
44304 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
44305 wxUSE_DEBUG_INFO=yes
44306 if test "$GCC" = yes; then
44307 DEBUG_CFLAGS="-ggdb"
44311 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
44312 cat >>confdefs.h <<\_ACEOF
44316 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
44318 if test "$wxUSE_GTK" = 1 ; then
44319 if test "x$wxGTK_VERSION" = "x1" ; then
44320 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
44325 if test "$wxUSE_MEM_TRACING" = "yes" ; then
44326 cat >>confdefs.h <<\_ACEOF
44327 #define wxUSE_MEMORY_TRACING 1
44330 cat >>confdefs.h <<\_ACEOF
44331 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
44334 cat >>confdefs.h <<\_ACEOF
44335 #define wxUSE_DEBUG_NEW_ALWAYS 1
44338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44341 if test "$wxUSE_DMALLOC" = "yes" ; then
44342 DMALLOC_LIBS="-ldmallocthcxx"
44346 if test "$wxUSE_PROFILE" = "yes" ; then
44347 PROFILE_FLAGS=" -pg"
44350 if test "$GCC" = "yes" ; then
44351 if test "$wxUSE_NO_RTTI" = "yes" ; then
44352 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44354 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44355 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44357 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44358 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44363 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44366 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44372 if test "$wxUSE_OPTIMISE" = "no" ; then
44373 if test "$GCC" = yes ; then
44374 OPTIMISE_CFLAGS="-O0"
44377 if test "$GCC" = yes ; then
44379 *-pc-os2_emx | *-pc-os2-emx )
44380 OPTIMISE_CFLAGS="-O2"
44383 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44387 OPTIMISE_CFLAGS="-O"
44392 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44393 cat >>confdefs.h <<\_ACEOF
44394 #define WXWIN_COMPATIBILITY_2_6 1
44398 WXWIN_COMPATIBILITY_2_8="yes"
44401 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44402 cat >>confdefs.h <<\_ACEOF
44403 #define WXWIN_COMPATIBILITY_2_8 1
44409 if test "$wxUSE_GUI" = "yes"; then
44410 cat >>confdefs.h <<\_ACEOF
44411 #define wxUSE_GUI 1
44418 if test "$wxUSE_UNIX" = "yes"; then
44419 cat >>confdefs.h <<\_ACEOF
44420 #define wxUSE_UNIX 1
44426 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44430 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44431 if test "$USE_DARWIN" = 1; then
44433 elif test "$USE_DOS" = 1; then
44437 for ac_func in dlopen
44439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44443 echo $ECHO_N "(cached) $ECHO_C" >&6
44445 cat >conftest.$ac_ext <<_ACEOF
44448 cat confdefs.h >>conftest.$ac_ext
44449 cat >>conftest.$ac_ext <<_ACEOF
44450 /* end confdefs.h. */
44451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44453 #define $ac_func innocuous_$ac_func
44455 /* System header to define __stub macros and hopefully few prototypes,
44456 which can conflict with char $ac_func (); below.
44457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44458 <limits.h> exists even on freestanding compilers. */
44461 # include <limits.h>
44463 # include <assert.h>
44468 /* Override any GCC internal prototype to avoid an error.
44469 Use char because int might match the return type of a GCC
44470 builtin and then its argument prototype would still apply. */
44475 /* The GNU C library defines this for functions which it implements
44476 to always fail with ENOSYS. Some functions are actually named
44477 something starting with __ and the normal name is an alias. */
44478 #if defined __stub_$ac_func || defined __stub___$ac_func
44485 return $ac_func ();
44490 rm -f conftest.$ac_objext conftest$ac_exeext
44491 if { (ac_try="$ac_link"
44492 case "(($ac_try" in
44493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44494 *) ac_try_echo=$ac_try;;
44496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44497 (eval "$ac_link") 2>conftest.er1
44499 grep -v '^ *+' conftest.er1 >conftest.err
44501 cat conftest.err >&5
44502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44503 (exit $ac_status); } && {
44504 test -z "$ac_c_werror_flag" ||
44505 test ! -s conftest.err
44506 } && test -s conftest$ac_exeext &&
44507 $as_test_x conftest$ac_exeext; then
44508 eval "$as_ac_var=yes"
44510 echo "$as_me: failed program was:" >&5
44511 sed 's/^/| /' conftest.$ac_ext >&5
44513 eval "$as_ac_var=no"
44516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44517 conftest$ac_exeext conftest.$ac_ext
44519 ac_res=`eval echo '${'$as_ac_var'}'`
44520 { echo "$as_me:$LINENO: result: $ac_res" >&5
44521 echo "${ECHO_T}$ac_res" >&6; }
44522 if test `eval echo '${'$as_ac_var'}'` = yes; then
44523 cat >>confdefs.h <<_ACEOF
44524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44527 cat >>confdefs.h <<\_ACEOF
44528 #define HAVE_DLOPEN 1
44535 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44536 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44537 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44538 echo $ECHO_N "(cached) $ECHO_C" >&6
44540 ac_check_lib_save_LIBS=$LIBS
44542 cat >conftest.$ac_ext <<_ACEOF
44545 cat confdefs.h >>conftest.$ac_ext
44546 cat >>conftest.$ac_ext <<_ACEOF
44547 /* end confdefs.h. */
44549 /* Override any GCC internal prototype to avoid an error.
44550 Use char because int might match the return type of a GCC
44551 builtin and then its argument prototype would still apply. */
44564 rm -f conftest.$ac_objext conftest$ac_exeext
44565 if { (ac_try="$ac_link"
44566 case "(($ac_try" in
44567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44568 *) ac_try_echo=$ac_try;;
44570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44571 (eval "$ac_link") 2>conftest.er1
44573 grep -v '^ *+' conftest.er1 >conftest.err
44575 cat conftest.err >&5
44576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44577 (exit $ac_status); } && {
44578 test -z "$ac_c_werror_flag" ||
44579 test ! -s conftest.err
44580 } && test -s conftest$ac_exeext &&
44581 $as_test_x conftest$ac_exeext; then
44582 ac_cv_lib_dl_dlopen=yes
44584 echo "$as_me: failed program was:" >&5
44585 sed 's/^/| /' conftest.$ac_ext >&5
44587 ac_cv_lib_dl_dlopen=no
44590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44591 conftest$ac_exeext conftest.$ac_ext
44592 LIBS=$ac_check_lib_save_LIBS
44594 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44595 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44596 if test $ac_cv_lib_dl_dlopen = yes; then
44598 cat >>confdefs.h <<\_ACEOF
44599 #define HAVE_DLOPEN 1
44603 DL_LINK=" -ldl$DL_LINK"
44608 for ac_func in shl_load
44610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44611 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44613 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44614 echo $ECHO_N "(cached) $ECHO_C" >&6
44616 cat >conftest.$ac_ext <<_ACEOF
44619 cat confdefs.h >>conftest.$ac_ext
44620 cat >>conftest.$ac_ext <<_ACEOF
44621 /* end confdefs.h. */
44622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44624 #define $ac_func innocuous_$ac_func
44626 /* System header to define __stub macros and hopefully few prototypes,
44627 which can conflict with char $ac_func (); below.
44628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44629 <limits.h> exists even on freestanding compilers. */
44632 # include <limits.h>
44634 # include <assert.h>
44639 /* Override any GCC internal prototype to avoid an error.
44640 Use char because int might match the return type of a GCC
44641 builtin and then its argument prototype would still apply. */
44646 /* The GNU C library defines this for functions which it implements
44647 to always fail with ENOSYS. Some functions are actually named
44648 something starting with __ and the normal name is an alias. */
44649 #if defined __stub_$ac_func || defined __stub___$ac_func
44656 return $ac_func ();
44661 rm -f conftest.$ac_objext conftest$ac_exeext
44662 if { (ac_try="$ac_link"
44663 case "(($ac_try" in
44664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44665 *) ac_try_echo=$ac_try;;
44667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44668 (eval "$ac_link") 2>conftest.er1
44670 grep -v '^ *+' conftest.er1 >conftest.err
44672 cat conftest.err >&5
44673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44674 (exit $ac_status); } && {
44675 test -z "$ac_c_werror_flag" ||
44676 test ! -s conftest.err
44677 } && test -s conftest$ac_exeext &&
44678 $as_test_x conftest$ac_exeext; then
44679 eval "$as_ac_var=yes"
44681 echo "$as_me: failed program was:" >&5
44682 sed 's/^/| /' conftest.$ac_ext >&5
44684 eval "$as_ac_var=no"
44687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44688 conftest$ac_exeext conftest.$ac_ext
44690 ac_res=`eval echo '${'$as_ac_var'}'`
44691 { echo "$as_me:$LINENO: result: $ac_res" >&5
44692 echo "${ECHO_T}$ac_res" >&6; }
44693 if test `eval echo '${'$as_ac_var'}'` = yes; then
44694 cat >>confdefs.h <<_ACEOF
44695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44698 cat >>confdefs.h <<\_ACEOF
44699 #define HAVE_SHL_LOAD 1
44706 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44707 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44708 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44709 echo $ECHO_N "(cached) $ECHO_C" >&6
44711 ac_check_lib_save_LIBS=$LIBS
44712 LIBS="-lshl_load $LIBS"
44713 cat >conftest.$ac_ext <<_ACEOF
44716 cat confdefs.h >>conftest.$ac_ext
44717 cat >>conftest.$ac_ext <<_ACEOF
44718 /* end confdefs.h. */
44720 /* Override any GCC internal prototype to avoid an error.
44721 Use char because int might match the return type of a GCC
44722 builtin and then its argument prototype would still apply. */
44735 rm -f conftest.$ac_objext conftest$ac_exeext
44736 if { (ac_try="$ac_link"
44737 case "(($ac_try" in
44738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44739 *) ac_try_echo=$ac_try;;
44741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44742 (eval "$ac_link") 2>conftest.er1
44744 grep -v '^ *+' conftest.er1 >conftest.err
44746 cat conftest.err >&5
44747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44748 (exit $ac_status); } && {
44749 test -z "$ac_c_werror_flag" ||
44750 test ! -s conftest.err
44751 } && test -s conftest$ac_exeext &&
44752 $as_test_x conftest$ac_exeext; then
44753 ac_cv_lib_shl_load_dld=yes
44755 echo "$as_me: failed program was:" >&5
44756 sed 's/^/| /' conftest.$ac_ext >&5
44758 ac_cv_lib_shl_load_dld=no
44761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44762 conftest$ac_exeext conftest.$ac_ext
44763 LIBS=$ac_check_lib_save_LIBS
44765 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44766 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44767 if test $ac_cv_lib_shl_load_dld = yes; then
44770 DL_LINK=" -ldld$DL_LINK"
44786 if test "$HAVE_DL_FUNCS" = 1; then
44788 for ac_func in dlerror
44790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44791 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44793 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44794 echo $ECHO_N "(cached) $ECHO_C" >&6
44796 cat >conftest.$ac_ext <<_ACEOF
44799 cat confdefs.h >>conftest.$ac_ext
44800 cat >>conftest.$ac_ext <<_ACEOF
44801 /* end confdefs.h. */
44802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44804 #define $ac_func innocuous_$ac_func
44806 /* System header to define __stub macros and hopefully few prototypes,
44807 which can conflict with char $ac_func (); below.
44808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44809 <limits.h> exists even on freestanding compilers. */
44812 # include <limits.h>
44814 # include <assert.h>
44819 /* Override any GCC internal prototype to avoid an error.
44820 Use char because int might match the return type of a GCC
44821 builtin and then its argument prototype would still apply. */
44826 /* The GNU C library defines this for functions which it implements
44827 to always fail with ENOSYS. Some functions are actually named
44828 something starting with __ and the normal name is an alias. */
44829 #if defined __stub_$ac_func || defined __stub___$ac_func
44836 return $ac_func ();
44841 rm -f conftest.$ac_objext conftest$ac_exeext
44842 if { (ac_try="$ac_link"
44843 case "(($ac_try" in
44844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44845 *) ac_try_echo=$ac_try;;
44847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44848 (eval "$ac_link") 2>conftest.er1
44850 grep -v '^ *+' conftest.er1 >conftest.err
44852 cat conftest.err >&5
44853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44854 (exit $ac_status); } && {
44855 test -z "$ac_c_werror_flag" ||
44856 test ! -s conftest.err
44857 } && test -s conftest$ac_exeext &&
44858 $as_test_x conftest$ac_exeext; then
44859 eval "$as_ac_var=yes"
44861 echo "$as_me: failed program was:" >&5
44862 sed 's/^/| /' conftest.$ac_ext >&5
44864 eval "$as_ac_var=no"
44867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44868 conftest$ac_exeext conftest.$ac_ext
44870 ac_res=`eval echo '${'$as_ac_var'}'`
44871 { echo "$as_me:$LINENO: result: $ac_res" >&5
44872 echo "${ECHO_T}$ac_res" >&6; }
44873 if test `eval echo '${'$as_ac_var'}'` = yes; then
44874 cat >>confdefs.h <<_ACEOF
44875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44877 cat >>confdefs.h <<\_ACEOF
44878 #define HAVE_DLERROR 1
44883 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44884 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44885 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44886 echo $ECHO_N "(cached) $ECHO_C" >&6
44888 ac_check_lib_save_LIBS=$LIBS
44890 cat >conftest.$ac_ext <<_ACEOF
44893 cat confdefs.h >>conftest.$ac_ext
44894 cat >>conftest.$ac_ext <<_ACEOF
44895 /* end confdefs.h. */
44897 /* Override any GCC internal prototype to avoid an error.
44898 Use char because int might match the return type of a GCC
44899 builtin and then its argument prototype would still apply. */
44912 rm -f conftest.$ac_objext conftest$ac_exeext
44913 if { (ac_try="$ac_link"
44914 case "(($ac_try" in
44915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44916 *) ac_try_echo=$ac_try;;
44918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44919 (eval "$ac_link") 2>conftest.er1
44921 grep -v '^ *+' conftest.er1 >conftest.err
44923 cat conftest.err >&5
44924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44925 (exit $ac_status); } && {
44926 test -z "$ac_c_werror_flag" ||
44927 test ! -s conftest.err
44928 } && test -s conftest$ac_exeext &&
44929 $as_test_x conftest$ac_exeext; then
44930 ac_cv_lib_dl_dlerror=yes
44932 echo "$as_me: failed program was:" >&5
44933 sed 's/^/| /' conftest.$ac_ext >&5
44935 ac_cv_lib_dl_dlerror=no
44938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44939 conftest$ac_exeext conftest.$ac_ext
44940 LIBS=$ac_check_lib_save_LIBS
44942 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44943 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44944 if test $ac_cv_lib_dl_dlerror = yes; then
44945 cat >>confdefs.h <<\_ACEOF
44946 #define HAVE_DLERROR 1
44959 if test "$HAVE_DL_FUNCS" = 0; then
44960 if test "$HAVE_SHL_FUNCS" = 0; then
44961 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44962 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44963 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44964 wxUSE_DYNAMIC_LOADER=no
44965 wxUSE_DYNLIB_CLASS=no
44967 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44968 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44975 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_DYNAMIC_LOADER 1
44981 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44982 cat >>confdefs.h <<\_ACEOF
44983 #define wxUSE_DYNLIB_CLASS 1
44990 if test "$wxUSE_PLUGINS" = "yes" ; then
44991 if test "$wxUSE_SHARED" = "no" ; then
44992 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44993 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44996 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44997 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44998 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
45001 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
45002 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
45003 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
45006 if test "$wxUSE_PLUGINS" = "yes" ; then
45007 cat >>confdefs.h <<\_ACEOF
45008 #define wxUSE_PLUGINS 1
45015 if test "$wxUSE_STL" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_STL 1
45022 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
45023 cat >>confdefs.h <<\_ACEOF
45024 #define wxUSE_EXTENDED_RTTI 1
45029 if test "$wxUSE_APPLE_IEEE" = "yes"; then
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_APPLE_IEEE 1
45036 if test "$wxUSE_TIMER" = "yes"; then
45037 cat >>confdefs.h <<\_ACEOF
45038 #define wxUSE_TIMER 1
45043 if test "$USE_UNIX" = "1" ; then
45044 if test "$wxUSE_MGL" != 1; then
45045 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
45046 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
45047 if test "${ac_cv_header_sys_soundcard+set}" = set; then
45048 echo $ECHO_N "(cached) $ECHO_C" >&6
45051 cat >conftest.$ac_ext <<_ACEOF
45054 cat confdefs.h >>conftest.$ac_ext
45055 cat >>conftest.$ac_ext <<_ACEOF
45056 /* end confdefs.h. */
45058 #include <sys/ioctl.h>
45059 #include <sys/soundcard.h>
45065 ioctl(0, SNDCTL_DSP_SPEED, 0);
45071 rm -f conftest.$ac_objext conftest$ac_exeext
45072 if { (ac_try="$ac_link"
45073 case "(($ac_try" in
45074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45075 *) ac_try_echo=$ac_try;;
45077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45078 (eval "$ac_link") 2>conftest.er1
45080 grep -v '^ *+' conftest.er1 >conftest.err
45082 cat conftest.err >&5
45083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45084 (exit $ac_status); } && {
45085 test -z "$ac_c_werror_flag" ||
45086 test ! -s conftest.err
45087 } && test -s conftest$ac_exeext &&
45088 $as_test_x conftest$ac_exeext; then
45089 ac_cv_header_sys_soundcard=yes
45091 echo "$as_me: failed program was:" >&5
45092 sed 's/^/| /' conftest.$ac_ext >&5
45096 LIBS="$saveLibs -lossaudio"
45097 cat >conftest.$ac_ext <<_ACEOF
45100 cat confdefs.h >>conftest.$ac_ext
45101 cat >>conftest.$ac_ext <<_ACEOF
45102 /* end confdefs.h. */
45104 #include <sys/ioctl.h>
45105 #include <sys/soundcard.h>
45111 ioctl(0, SNDCTL_DSP_SPEED, 0);
45117 rm -f conftest.$ac_objext conftest$ac_exeext
45118 if { (ac_try="$ac_link"
45119 case "(($ac_try" in
45120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45121 *) ac_try_echo=$ac_try;;
45123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45124 (eval "$ac_link") 2>conftest.er1
45126 grep -v '^ *+' conftest.er1 >conftest.err
45128 cat conftest.err >&5
45129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45130 (exit $ac_status); } && {
45131 test -z "$ac_c_werror_flag" ||
45132 test ! -s conftest.err
45133 } && test -s conftest$ac_exeext &&
45134 $as_test_x conftest$ac_exeext; then
45135 ac_cv_header_sys_soundcard=yes
45137 echo "$as_me: failed program was:" >&5
45138 sed 's/^/| /' conftest.$ac_ext >&5
45142 ac_cv_header_sys_soundcard=no
45147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45148 conftest$ac_exeext conftest.$ac_ext
45153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45154 conftest$ac_exeext conftest.$ac_ext
45157 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
45158 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
45161 if test "$ac_cv_header_sys_soundcard" = "yes"; then
45162 cat >>confdefs.h <<\_ACEOF
45163 #define HAVE_SYS_SOUNDCARD_H 1
45170 if test "$wxUSE_SOUND" = "yes"; then
45171 if test "$USE_UNIX" = "1" ; then
45172 if test "$wxUSE_LIBSDL" != "no"; then
45174 # Check whether --with-sdl-prefix was given.
45175 if test "${with_sdl_prefix+set}" = set; then
45176 withval=$with_sdl_prefix; sdl_prefix="$withval"
45182 # Check whether --with-sdl-exec-prefix was given.
45183 if test "${with_sdl_exec_prefix+set}" = set; then
45184 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
45189 # Check whether --enable-sdltest was given.
45190 if test "${enable_sdltest+set}" = set; then
45191 enableval=$enable_sdltest;
45197 if test x$sdl_exec_prefix != x ; then
45198 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
45199 if test x${SDL_CONFIG+set} != xset ; then
45200 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
45203 if test x$sdl_prefix != x ; then
45204 sdl_args="$sdl_args --prefix=$sdl_prefix"
45205 if test x${SDL_CONFIG+set} != xset ; then
45206 SDL_CONFIG=$sdl_prefix/bin/sdl-config
45210 if test "x$prefix" != xNONE; then
45211 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
45213 # Extract the first word of "sdl-config", so it can be a program name with args.
45214 set dummy sdl-config; ac_word=$2
45215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45217 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
45218 echo $ECHO_N "(cached) $ECHO_C" >&6
45220 case $SDL_CONFIG in
45222 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
45225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45226 for as_dir in $PATH
45229 test -z "$as_dir" && as_dir=.
45230 for ac_exec_ext in '' $ac_executable_extensions; do
45231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45232 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45240 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
45244 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
45245 if test -n "$SDL_CONFIG"; then
45246 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
45247 echo "${ECHO_T}$SDL_CONFIG" >&6; }
45249 { echo "$as_me:$LINENO: result: no" >&5
45250 echo "${ECHO_T}no" >&6; }
45254 min_sdl_version=1.2.0
45255 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
45256 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
45258 if test "$SDL_CONFIG" = "no" ; then
45261 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
45262 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
45264 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
45265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45266 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
45267 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45268 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
45269 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45270 if test "x$enable_sdltest" = "xyes" ; then
45271 ac_save_CFLAGS="$CFLAGS"
45272 ac_save_CXXFLAGS="$CXXFLAGS"
45273 ac_save_LIBS="$LIBS"
45274 CFLAGS="$CFLAGS $SDL_CFLAGS"
45275 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45276 LIBS="$LIBS $SDL_LIBS"
45278 if test "$cross_compiling" = yes; then
45279 echo $ac_n "cross compiling; assumed OK... $ac_c"
45281 cat >conftest.$ac_ext <<_ACEOF
45284 cat confdefs.h >>conftest.$ac_ext
45285 cat >>conftest.$ac_ext <<_ACEOF
45286 /* end confdefs.h. */
45289 #include <stdlib.h>
45290 #include <string.h>
45294 my_strdup (char *str)
45300 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
45301 strcpy (new_str, str);
45309 int main (int argc, char *argv[])
45311 int major, minor, micro;
45314 /* This hangs on some systems (?)
45315 system ("touch conf.sdltest");
45317 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
45319 /* HP/UX 9 (%@#!) writes to sscanf strings */
45320 tmp_version = my_strdup("$min_sdl_version");
45321 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
45322 printf("%s, bad version string\n", "$min_sdl_version");
45326 if (($sdl_major_version > major) ||
45327 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
45328 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
45334 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
45335 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
45336 printf("*** best to upgrade to the required version.\n");
45337 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
45338 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
45339 printf("*** config.cache before re-running configure\n");
45346 rm -f conftest$ac_exeext
45347 if { (ac_try="$ac_link"
45348 case "(($ac_try" in
45349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45350 *) ac_try_echo=$ac_try;;
45352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45353 (eval "$ac_link") 2>&5
45355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45356 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45357 { (case "(($ac_try" in
45358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45359 *) ac_try_echo=$ac_try;;
45361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45362 (eval "$ac_try") 2>&5
45364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45365 (exit $ac_status); }; }; then
45368 echo "$as_me: program exited with status $ac_status" >&5
45369 echo "$as_me: failed program was:" >&5
45370 sed 's/^/| /' conftest.$ac_ext >&5
45372 ( exit $ac_status )
45375 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45379 CFLAGS="$ac_save_CFLAGS"
45380 CXXFLAGS="$ac_save_CXXFLAGS"
45381 LIBS="$ac_save_LIBS"
45384 if test "x$no_sdl" = x ; then
45385 { echo "$as_me:$LINENO: result: yes" >&5
45386 echo "${ECHO_T}yes" >&6; }
45388 EXTRALIBS_SDL="$SDL_LIBS"
45389 CFLAGS="$SDL_CFLAGS $CFLAGS"
45390 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_LIBSDL 1
45397 { echo "$as_me:$LINENO: result: no" >&5
45398 echo "${ECHO_T}no" >&6; }
45399 if test "$SDL_CONFIG" = "no" ; then
45400 echo "*** The sdl-config script installed by SDL could not be found"
45401 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45402 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45403 echo "*** full path to sdl-config."
45405 if test -f conf.sdltest ; then
45408 echo "*** Could not run SDL test program, checking why..."
45409 CFLAGS="$CFLAGS $SDL_CFLAGS"
45410 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45411 LIBS="$LIBS $SDL_LIBS"
45412 cat >conftest.$ac_ext <<_ACEOF
45415 cat confdefs.h >>conftest.$ac_ext
45416 cat >>conftest.$ac_ext <<_ACEOF
45417 /* end confdefs.h. */
45422 int main(int argc, char *argv[])
45425 #define main K_and_R_C_main
45435 rm -f conftest.$ac_objext conftest$ac_exeext
45436 if { (ac_try="$ac_link"
45437 case "(($ac_try" in
45438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45439 *) ac_try_echo=$ac_try;;
45441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45442 (eval "$ac_link") 2>conftest.er1
45444 grep -v '^ *+' conftest.er1 >conftest.err
45446 cat conftest.err >&5
45447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45448 (exit $ac_status); } && {
45449 test -z "$ac_c_werror_flag" ||
45450 test ! -s conftest.err
45451 } && test -s conftest$ac_exeext &&
45452 $as_test_x conftest$ac_exeext; then
45453 echo "*** The test program compiled, but did not run. This usually means"
45454 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45455 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45456 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45457 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45458 echo "*** is required on your system"
45460 echo "*** If you have an old version installed, it is best to remove it, although"
45461 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45463 echo "$as_me: failed program was:" >&5
45464 sed 's/^/| /' conftest.$ac_ext >&5
45466 echo "*** The test program failed to compile or link. See the file config.log for the"
45467 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45468 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45469 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45473 conftest$ac_exeext conftest.$ac_ext
45474 CFLAGS="$ac_save_CFLAGS"
45475 CXXFLAGS="$ac_save_CXXFLAGS"
45476 LIBS="$ac_save_LIBS"
45487 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45492 if test "$wxUSE_MGL" = 1; then
45493 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45494 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45500 if test "$wxUSE_SOUND" = "yes"; then
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_SOUND 1
45505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45508 if test "$WXGTK20" = 1; then
45511 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45512 if test -n "$ac_tool_prefix"; then
45513 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45514 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45517 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45518 echo $ECHO_N "(cached) $ECHO_C" >&6
45520 case $PKG_CONFIG in
45522 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45526 for as_dir in $PATH
45529 test -z "$as_dir" && as_dir=.
45530 for ac_exec_ext in '' $ac_executable_extensions; do
45531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45532 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45543 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45544 if test -n "$PKG_CONFIG"; then
45545 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45546 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45548 { echo "$as_me:$LINENO: result: no" >&5
45549 echo "${ECHO_T}no" >&6; }
45554 if test -z "$ac_cv_path_PKG_CONFIG"; then
45555 ac_pt_PKG_CONFIG=$PKG_CONFIG
45556 # Extract the first word of "pkg-config", so it can be a program name with args.
45557 set dummy pkg-config; ac_word=$2
45558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45560 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45561 echo $ECHO_N "(cached) $ECHO_C" >&6
45563 case $ac_pt_PKG_CONFIG in
45565 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45569 for as_dir in $PATH
45572 test -z "$as_dir" && as_dir=.
45573 for ac_exec_ext in '' $ac_executable_extensions; do
45574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45575 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45586 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45587 if test -n "$ac_pt_PKG_CONFIG"; then
45588 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45589 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45591 { echo "$as_me:$LINENO: result: no" >&5
45592 echo "${ECHO_T}no" >&6; }
45595 if test "x$ac_pt_PKG_CONFIG" = x; then
45598 case $cross_compiling:$ac_tool_warned in
45600 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45601 whose name does not start with the host triplet. If you think this
45602 configuration is useful to you, please write to autoconf@gnu.org." >&5
45603 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45604 whose name does not start with the host triplet. If you think this
45605 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45606 ac_tool_warned=yes ;;
45608 PKG_CONFIG=$ac_pt_PKG_CONFIG
45611 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45615 if test -n "$PKG_CONFIG"; then
45616 _pkg_min_version=0.9.0
45617 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45618 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45619 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45620 { echo "$as_me:$LINENO: result: yes" >&5
45621 echo "${ECHO_T}yes" >&6; }
45623 { echo "$as_me:$LINENO: result: no" >&5
45624 echo "${ECHO_T}no" >&6; }
45630 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45631 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45635 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45636 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45638 if test -n "$PKG_CONFIG"; then
45639 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45640 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45642 if test -n "$PKG_CONFIG" && \
45643 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45644 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45647 (exit $ac_status); }; then
45648 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45656 if test -n "$PKG_CONFIG"; then
45657 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45658 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45660 if test -n "$PKG_CONFIG" && \
45661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45662 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45665 (exit $ac_status); }; then
45666 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45677 if test $pkg_failed = yes; then
45679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45680 _pkg_short_errors_supported=yes
45682 _pkg_short_errors_supported=no
45684 if test $_pkg_short_errors_supported = yes; then
45685 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45687 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45689 # Put the nasty error message in config.log where it belongs
45690 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45693 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45694 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45695 wxUSE_LIBGNOMEPRINT="no"
45698 elif test $pkg_failed = untried; then
45700 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45701 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45702 wxUSE_LIBGNOMEPRINT="no"
45706 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45707 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45708 { echo "$as_me:$LINENO: result: yes" >&5
45709 echo "${ECHO_T}yes" >&6; }
45711 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45712 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45713 cat >>confdefs.h <<\_ACEOF
45714 #define wxUSE_LIBGNOMEPRINT 1
45722 if test "$wxUSE_MIMETYPE" = "yes" ; then
45723 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45727 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45728 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45730 if test -n "$PKG_CONFIG"; then
45731 if test -n "$GNOMEVFS_CFLAGS"; then
45732 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45734 if test -n "$PKG_CONFIG" && \
45735 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45736 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45739 (exit $ac_status); }; then
45740 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45748 if test -n "$PKG_CONFIG"; then
45749 if test -n "$GNOMEVFS_LIBS"; then
45750 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45752 if test -n "$PKG_CONFIG" && \
45753 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45754 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45757 (exit $ac_status); }; then
45758 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45769 if test $pkg_failed = yes; then
45771 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45772 _pkg_short_errors_supported=yes
45774 _pkg_short_errors_supported=no
45776 if test $_pkg_short_errors_supported = yes; then
45777 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45779 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45781 # Put the nasty error message in config.log where it belongs
45782 echo "$GNOMEVFS_PKG_ERRORS" >&5
45785 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45786 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45787 wxUSE_LIBGNOMEVFS="no"
45790 elif test $pkg_failed = untried; then
45792 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45793 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45794 wxUSE_LIBGNOMEVFS="no"
45798 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45799 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45800 { echo "$as_me:$LINENO: result: yes" >&5
45801 echo "${ECHO_T}yes" >&6; }
45803 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45804 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_LIBGNOMEVFS 1
45814 if test "$wxUSE_LIBHILDON" = "yes" ; then
45817 { echo "$as_me:$LINENO: checking for HILDON" >&5
45818 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45820 if test -n "$PKG_CONFIG"; then
45821 if test -n "$HILDON_CFLAGS"; then
45822 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45824 if test -n "$PKG_CONFIG" && \
45825 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45826 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829 (exit $ac_status); }; then
45830 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45838 if test -n "$PKG_CONFIG"; then
45839 if test -n "$HILDON_LIBS"; then
45840 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45842 if test -n "$PKG_CONFIG" && \
45843 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45844 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45847 (exit $ac_status); }; then
45848 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45859 if test $pkg_failed = yes; then
45861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45862 _pkg_short_errors_supported=yes
45864 _pkg_short_errors_supported=no
45866 if test $_pkg_short_errors_supported = yes; then
45867 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45869 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45871 # Put the nasty error message in config.log where it belongs
45872 echo "$HILDON_PKG_ERRORS" >&5
45875 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45876 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45877 wxUSE_LIBHILDON="no"
45880 elif test $pkg_failed = untried; then
45882 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45883 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45884 wxUSE_LIBHILDON="no"
45888 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45889 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45890 { echo "$as_me:$LINENO: result: yes" >&5
45891 echo "${ECHO_T}yes" >&6; }
45893 EXTRALIBS_HILDON="$HILDON_LIBS"
45894 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45895 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_LIBHILDON 1
45905 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45906 cat >>confdefs.h <<\_ACEOF
45907 #define wxUSE_CMDLINE_PARSER 1
45912 if test "$wxUSE_STOPWATCH" = "yes"; then
45913 cat >>confdefs.h <<\_ACEOF
45914 #define wxUSE_STOPWATCH 1
45919 if test "$wxUSE_DATETIME" = "yes"; then
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_DATETIME 1
45926 if test "$wxUSE_FILE" = "yes"; then
45927 cat >>confdefs.h <<\_ACEOF
45928 #define wxUSE_FILE 1
45933 if test "$wxUSE_FFILE" = "yes"; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_FFILE 1
45940 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45941 if test "$wxUSE_STREAMS" != yes; then
45942 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45943 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45944 wxUSE_ARCHIVE_STREAMS=no
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_ARCHIVE_STREAMS 1
45953 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45954 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45955 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45956 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45957 elif test "$wxUSE_ZLIB" = "no"; then
45958 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45959 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45961 cat >>confdefs.h <<\_ACEOF
45962 #define wxUSE_ZIPSTREAM 1
45968 if test "$wxUSE_TARSTREAM" = "yes"; then
45969 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45970 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45971 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45973 cat >>confdefs.h <<\_ACEOF
45974 #define wxUSE_TARSTREAM 1
45980 if test "$wxUSE_FILESYSTEM" = "yes"; then
45981 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45982 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45983 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45984 wxUSE_FILESYSTEM=no
45986 cat >>confdefs.h <<\_ACEOF
45987 #define wxUSE_FILESYSTEM 1
45993 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45994 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45995 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45996 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45998 cat >>confdefs.h <<\_ACEOF
45999 #define wxUSE_FS_ARCHIVE 1
46005 if test "$wxUSE_FS_ZIP" = "yes"; then
46006 if test "$wxUSE_FS_ARCHIVE" != yes; then
46007 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
46008 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_FS_ZIP 1
46017 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
46018 if test "$USE_UNIX" != 1; then
46019 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
46020 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
46021 wxUSE_ON_FATAL_EXCEPTION=no
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_ON_FATAL_EXCEPTION 1
46030 if test "$wxUSE_STACKWALKER" = "yes"; then
46031 cat >>confdefs.h <<\_ACEOF
46032 #define wxUSE_STACKWALKER 1
46037 if test "$wxUSE_DEBUGREPORT" = "yes"; then
46038 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
46039 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
46040 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
46041 wxUSE_DEBUGREPORT=no
46043 cat >>confdefs.h <<\_ACEOF
46044 #define wxUSE_DEBUGREPORT 1
46047 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
46048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
46053 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
46054 cat >>confdefs.h <<\_ACEOF
46055 #define wxUSE_SNGLINST_CHECKER 1
46060 if test "$wxUSE_BUSYINFO" = "yes"; then
46061 cat >>confdefs.h <<\_ACEOF
46062 #define wxUSE_BUSYINFO 1
46067 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
46068 cat >>confdefs.h <<\_ACEOF
46069 #define wxUSE_STD_IOSTREAM 1
46074 if test "$wxUSE_STD_STRING" = "yes"; then
46075 cat >>confdefs.h <<\_ACEOF
46076 #define wxUSE_STD_STRING 1
46081 if test "$wxUSE_STDPATHS" = "yes"; then
46082 cat >>confdefs.h <<\_ACEOF
46083 #define wxUSE_STDPATHS 1
46088 if test "$wxUSE_TEXTBUFFER" = "yes"; then
46089 cat >>confdefs.h <<\_ACEOF
46090 #define wxUSE_TEXTBUFFER 1
46095 if test "$wxUSE_TEXTFILE" = "yes"; then
46096 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
46097 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
46098 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
46100 cat >>confdefs.h <<\_ACEOF
46101 #define wxUSE_TEXTFILE 1
46107 if test "$wxUSE_CONFIG" = "yes" ; then
46108 if test "$wxUSE_TEXTFILE" != "yes"; then
46109 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
46110 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
46112 cat >>confdefs.h <<\_ACEOF
46113 #define wxUSE_CONFIG 1
46116 cat >>confdefs.h <<\_ACEOF
46117 #define wxUSE_CONFIG_NATIVE 1
46120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
46124 if test "$wxUSE_INTL" = "yes" ; then
46125 if test "$wxUSE_FILE" != "yes"; then
46126 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
46127 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
46129 cat >>confdefs.h <<\_ACEOF
46130 #define wxUSE_INTL 1
46133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
46134 GUIDIST="$GUIDIST INTL_DIST"
46138 if test "$wxUSE_LOG" = "yes"; then
46139 cat >>confdefs.h <<\_ACEOF
46140 #define wxUSE_LOG 1
46144 if test "$wxUSE_LOGGUI" = "yes"; then
46145 cat >>confdefs.h <<\_ACEOF
46146 #define wxUSE_LOGGUI 1
46151 if test "$wxUSE_LOGWINDOW" = "yes"; then
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_LOGWINDOW 1
46158 if test "$wxUSE_LOGDIALOG" = "yes"; then
46159 cat >>confdefs.h <<\_ACEOF
46160 #define wxUSE_LOG_DIALOG 1
46165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
46168 if test "$wxUSE_LONGLONG" = "yes"; then
46169 cat >>confdefs.h <<\_ACEOF
46170 #define wxUSE_LONGLONG 1
46175 if test "$wxUSE_GEOMETRY" = "yes"; then
46176 cat >>confdefs.h <<\_ACEOF
46177 #define wxUSE_GEOMETRY 1
46182 if test "$wxUSE_BASE64" = "yes"; then
46183 cat >>confdefs.h <<\_ACEOF
46184 #define wxUSE_BASE64 1
46189 if test "$wxUSE_STREAMS" = "yes" ; then
46190 cat >>confdefs.h <<\_ACEOF
46191 #define wxUSE_STREAMS 1
46196 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
46197 cat >>confdefs.h <<\_ACEOF
46198 #define wxUSE_PRINTF_POS_PARAMS 1
46203 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_OBJC_UNIQUIFYING 1
46211 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_CONSOLE_EVENTLOOP 1
46217 if test "$wxUSE_UNIX" = "yes"; then
46218 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_SELECT_DISPATCHER 1
46225 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
46227 for ac_header in sys/epoll.h
46229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46234 echo $ECHO_N "(cached) $ECHO_C" >&6
46236 ac_res=`eval echo '${'$as_ac_Header'}'`
46237 { echo "$as_me:$LINENO: result: $ac_res" >&5
46238 echo "${ECHO_T}$ac_res" >&6; }
46240 # Is the header compilable?
46241 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
46242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
46243 cat >conftest.$ac_ext <<_ACEOF
46246 cat confdefs.h >>conftest.$ac_ext
46247 cat >>conftest.$ac_ext <<_ACEOF
46248 /* end confdefs.h. */
46249 $ac_includes_default
46250 #include <$ac_header>
46252 rm -f conftest.$ac_objext
46253 if { (ac_try="$ac_compile"
46254 case "(($ac_try" in
46255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46256 *) ac_try_echo=$ac_try;;
46258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46259 (eval "$ac_compile") 2>conftest.er1
46261 grep -v '^ *+' conftest.er1 >conftest.err
46263 cat conftest.err >&5
46264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46265 (exit $ac_status); } && {
46266 test -z "$ac_c_werror_flag" ||
46267 test ! -s conftest.err
46268 } && test -s conftest.$ac_objext; then
46269 ac_header_compiler=yes
46271 echo "$as_me: failed program was:" >&5
46272 sed 's/^/| /' conftest.$ac_ext >&5
46274 ac_header_compiler=no
46277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46278 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46279 echo "${ECHO_T}$ac_header_compiler" >&6; }
46281 # Is the header present?
46282 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
46283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
46284 cat >conftest.$ac_ext <<_ACEOF
46287 cat confdefs.h >>conftest.$ac_ext
46288 cat >>conftest.$ac_ext <<_ACEOF
46289 /* end confdefs.h. */
46290 #include <$ac_header>
46292 if { (ac_try="$ac_cpp conftest.$ac_ext"
46293 case "(($ac_try" in
46294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46295 *) ac_try_echo=$ac_try;;
46297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46298 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46300 grep -v '^ *+' conftest.er1 >conftest.err
46302 cat conftest.err >&5
46303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46304 (exit $ac_status); } >/dev/null && {
46305 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46306 test ! -s conftest.err
46308 ac_header_preproc=yes
46310 echo "$as_me: failed program was:" >&5
46311 sed 's/^/| /' conftest.$ac_ext >&5
46313 ac_header_preproc=no
46316 rm -f conftest.err conftest.$ac_ext
46317 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46318 echo "${ECHO_T}$ac_header_preproc" >&6; }
46320 # So? What about this header?
46321 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
46323 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46324 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
46326 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
46327 ac_header_preproc=yes
46330 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46331 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46332 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46333 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46334 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
46335 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
46336 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
46337 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
46338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46339 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46340 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
46341 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
46343 ## ----------------------------------------- ##
46344 ## Report this to wx-dev@lists.wxwidgets.org ##
46345 ## ----------------------------------------- ##
46347 ) | sed "s/^/$as_me: WARNING: /" >&2
46350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46353 echo $ECHO_N "(cached) $ECHO_C" >&6
46355 eval "$as_ac_Header=\$ac_header_preproc"
46357 ac_res=`eval echo '${'$as_ac_Header'}'`
46358 { echo "$as_me:$LINENO: result: $ac_res" >&5
46359 echo "${ECHO_T}$ac_res" >&6; }
46362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46363 cat >>confdefs.h <<_ACEOF
46364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46371 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
46372 cat >>confdefs.h <<\_ACEOF
46373 #define wxUSE_EPOLL_DISPATCHER 1
46377 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
46378 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
46387 for ac_func in gettimeofday ftime
46389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46390 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46392 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46393 echo $ECHO_N "(cached) $ECHO_C" >&6
46395 cat >conftest.$ac_ext <<_ACEOF
46398 cat confdefs.h >>conftest.$ac_ext
46399 cat >>conftest.$ac_ext <<_ACEOF
46400 /* end confdefs.h. */
46401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46403 #define $ac_func innocuous_$ac_func
46405 /* System header to define __stub macros and hopefully few prototypes,
46406 which can conflict with char $ac_func (); below.
46407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46408 <limits.h> exists even on freestanding compilers. */
46411 # include <limits.h>
46413 # include <assert.h>
46418 /* Override any GCC internal prototype to avoid an error.
46419 Use char because int might match the return type of a GCC
46420 builtin and then its argument prototype would still apply. */
46425 /* The GNU C library defines this for functions which it implements
46426 to always fail with ENOSYS. Some functions are actually named
46427 something starting with __ and the normal name is an alias. */
46428 #if defined __stub_$ac_func || defined __stub___$ac_func
46435 return $ac_func ();
46440 rm -f conftest.$ac_objext conftest$ac_exeext
46441 if { (ac_try="$ac_link"
46442 case "(($ac_try" in
46443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46444 *) ac_try_echo=$ac_try;;
46446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46447 (eval "$ac_link") 2>conftest.er1
46449 grep -v '^ *+' conftest.er1 >conftest.err
46451 cat conftest.err >&5
46452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453 (exit $ac_status); } && {
46454 test -z "$ac_c_werror_flag" ||
46455 test ! -s conftest.err
46456 } && test -s conftest$ac_exeext &&
46457 $as_test_x conftest$ac_exeext; then
46458 eval "$as_ac_var=yes"
46460 echo "$as_me: failed program was:" >&5
46461 sed 's/^/| /' conftest.$ac_ext >&5
46463 eval "$as_ac_var=no"
46466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46467 conftest$ac_exeext conftest.$ac_ext
46469 ac_res=`eval echo '${'$as_ac_var'}'`
46470 { echo "$as_me:$LINENO: result: $ac_res" >&5
46471 echo "${ECHO_T}$ac_res" >&6; }
46472 if test `eval echo '${'$as_ac_var'}'` = yes; then
46473 cat >>confdefs.h <<_ACEOF
46474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46481 if test "$ac_cv_func_gettimeofday" = "yes"; then
46482 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46483 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46484 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46485 echo $ECHO_N "(cached) $ECHO_C" >&6
46488 cat >conftest.$ac_ext <<_ACEOF
46491 cat confdefs.h >>conftest.$ac_ext
46492 cat >>conftest.$ac_ext <<_ACEOF
46493 /* end confdefs.h. */
46495 #include <sys/time.h>
46496 #include <unistd.h>
46503 gettimeofday(&tv, NULL);
46509 rm -f conftest.$ac_objext
46510 if { (ac_try="$ac_compile"
46511 case "(($ac_try" in
46512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46513 *) ac_try_echo=$ac_try;;
46515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46516 (eval "$ac_compile") 2>conftest.er1
46518 grep -v '^ *+' conftest.er1 >conftest.err
46520 cat conftest.err >&5
46521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46522 (exit $ac_status); } && {
46523 test -z "$ac_c_werror_flag" ||
46524 test ! -s conftest.err
46525 } && test -s conftest.$ac_objext; then
46526 wx_cv_func_gettimeofday_has_2_args=yes
46528 echo "$as_me: failed program was:" >&5
46529 sed 's/^/| /' conftest.$ac_ext >&5
46531 cat >conftest.$ac_ext <<_ACEOF
46534 cat confdefs.h >>conftest.$ac_ext
46535 cat >>conftest.$ac_ext <<_ACEOF
46536 /* end confdefs.h. */
46538 #include <sys/time.h>
46539 #include <unistd.h>
46552 rm -f conftest.$ac_objext
46553 if { (ac_try="$ac_compile"
46554 case "(($ac_try" in
46555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46556 *) ac_try_echo=$ac_try;;
46558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46559 (eval "$ac_compile") 2>conftest.er1
46561 grep -v '^ *+' conftest.er1 >conftest.err
46563 cat conftest.err >&5
46564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46565 (exit $ac_status); } && {
46566 test -z "$ac_c_werror_flag" ||
46567 test ! -s conftest.err
46568 } && test -s conftest.$ac_objext; then
46569 wx_cv_func_gettimeofday_has_2_args=no
46571 echo "$as_me: failed program was:" >&5
46572 sed 's/^/| /' conftest.$ac_ext >&5
46575 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46576 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46577 wx_cv_func_gettimeofday_has_2_args=unknown
46582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46589 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46590 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46592 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46593 cat >>confdefs.h <<\_ACEOF
46594 #define WX_GETTIMEOFDAY_NO_TZ 1
46600 if test "$wxUSE_DATETIME" = "yes"; then
46601 { echo "$as_me:$LINENO: checking for strptime" >&5
46602 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46603 if test "${ac_cv_func_strptime+set}" = set; then
46604 echo $ECHO_N "(cached) $ECHO_C" >&6
46606 cat >conftest.$ac_ext <<_ACEOF
46609 cat confdefs.h >>conftest.$ac_ext
46610 cat >>conftest.$ac_ext <<_ACEOF
46611 /* end confdefs.h. */
46612 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46614 #define strptime innocuous_strptime
46616 /* System header to define __stub macros and hopefully few prototypes,
46617 which can conflict with char strptime (); below.
46618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46619 <limits.h> exists even on freestanding compilers. */
46622 # include <limits.h>
46624 # include <assert.h>
46629 /* Override any GCC internal prototype to avoid an error.
46630 Use char because int might match the return type of a GCC
46631 builtin and then its argument prototype would still apply. */
46636 /* The GNU C library defines this for functions which it implements
46637 to always fail with ENOSYS. Some functions are actually named
46638 something starting with __ and the normal name is an alias. */
46639 #if defined __stub_strptime || defined __stub___strptime
46646 return strptime ();
46651 rm -f conftest.$ac_objext conftest$ac_exeext
46652 if { (ac_try="$ac_link"
46653 case "(($ac_try" in
46654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46655 *) ac_try_echo=$ac_try;;
46657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46658 (eval "$ac_link") 2>conftest.er1
46660 grep -v '^ *+' conftest.er1 >conftest.err
46662 cat conftest.err >&5
46663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46664 (exit $ac_status); } && {
46665 test -z "$ac_c_werror_flag" ||
46666 test ! -s conftest.err
46667 } && test -s conftest$ac_exeext &&
46668 $as_test_x conftest$ac_exeext; then
46669 ac_cv_func_strptime=yes
46671 echo "$as_me: failed program was:" >&5
46672 sed 's/^/| /' conftest.$ac_ext >&5
46674 ac_cv_func_strptime=no
46677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46678 conftest$ac_exeext conftest.$ac_ext
46680 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46681 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46683 if test "$ac_cv_func_strptime" = "yes"; then
46684 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46685 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46686 if test "${wx_cv_func_strptime_decl+set}" = set; then
46687 echo $ECHO_N "(cached) $ECHO_C" >&6
46691 ac_cpp='$CXXCPP $CPPFLAGS'
46692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46696 cat >conftest.$ac_ext <<_ACEOF
46699 cat confdefs.h >>conftest.$ac_ext
46700 cat >>conftest.$ac_ext <<_ACEOF
46701 /* end confdefs.h. */
46710 strptime("foo", "bar", &t);
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_func_strptime_decl=yes
46735 echo "$as_me: failed program was:" >&5
46736 sed 's/^/| /' conftest.$ac_ext >&5
46738 wx_cv_func_strptime_decl=no
46742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46744 ac_cpp='$CPP $CPPFLAGS'
46745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46752 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46753 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46755 if test "$wx_cv_func_strptime_decl" = "yes"; then
46756 cat >>confdefs.h <<\_ACEOF
46757 #define HAVE_STRPTIME_DECL 1
46761 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46763 if test "$ac_cv_func_strptime" = "yes"; then
46764 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46765 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46766 if test "${wx_cv_func_strptime_ok+set}" = set; then
46767 echo $ECHO_N "(cached) $ECHO_C" >&6
46769 if test "$cross_compiling" = yes; then
46770 wx_cv_func_strptime_ok=no
46773 cat >conftest.$ac_ext <<_ACEOF
46775 #include <stdlib.h>
46777 #include "confdefs.h"
46784 return !!strptime("", "%x", &t);
46788 rm -f conftest$ac_exeext
46789 if { (ac_try="$ac_link"
46790 case "(($ac_try" in
46791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46792 *) ac_try_echo=$ac_try;;
46794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46795 (eval "$ac_link") 2>&5
46797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46798 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46799 { (case "(($ac_try" in
46800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46801 *) ac_try_echo=$ac_try;;
46803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46804 (eval "$ac_try") 2>&5
46806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46807 (exit $ac_status); }; }; then
46808 wx_cv_func_strptime_ok=yes
46810 echo "$as_me: program exited with status $ac_status" >&5
46811 echo "$as_me: failed program was:" >&5
46812 sed 's/^/| /' conftest.$ac_ext >&5
46814 ( exit $ac_status )
46815 wx_cv_func_strptime_ok=no
46817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46823 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46824 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46826 if test "$wx_cv_func_strptime_ok" = "yes"; then
46827 cat >>confdefs.h <<\_ACEOF
46828 #define HAVE_STRPTIME 1
46834 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46835 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46836 if test "${wx_cv_var_timezone+set}" = set; then
46837 echo $ECHO_N "(cached) $ECHO_C" >&6
46841 ac_cpp='$CXXCPP $CPPFLAGS'
46842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46846 cat >conftest.$ac_ext <<_ACEOF
46849 cat confdefs.h >>conftest.$ac_ext
46850 cat >>conftest.$ac_ext <<_ACEOF
46851 /* end confdefs.h. */
46866 rm -f conftest.$ac_objext
46867 if { (ac_try="$ac_compile"
46868 case "(($ac_try" in
46869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46870 *) ac_try_echo=$ac_try;;
46872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46873 (eval "$ac_compile") 2>conftest.er1
46875 grep -v '^ *+' conftest.er1 >conftest.err
46877 cat conftest.err >&5
46878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46879 (exit $ac_status); } && {
46880 test -z "$ac_cxx_werror_flag" ||
46881 test ! -s conftest.err
46882 } && test -s conftest.$ac_objext; then
46884 wx_cv_var_timezone=timezone
46887 echo "$as_me: failed program was:" >&5
46888 sed 's/^/| /' conftest.$ac_ext >&5
46891 cat >conftest.$ac_ext <<_ACEOF
46894 cat confdefs.h >>conftest.$ac_ext
46895 cat >>conftest.$ac_ext <<_ACEOF
46896 /* end confdefs.h. */
46911 rm -f conftest.$ac_objext
46912 if { (ac_try="$ac_compile"
46913 case "(($ac_try" in
46914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46915 *) ac_try_echo=$ac_try;;
46917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46918 (eval "$ac_compile") 2>conftest.er1
46920 grep -v '^ *+' conftest.er1 >conftest.err
46922 cat conftest.err >&5
46923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46924 (exit $ac_status); } && {
46925 test -z "$ac_cxx_werror_flag" ||
46926 test ! -s conftest.err
46927 } && test -s conftest.$ac_objext; then
46929 wx_cv_var_timezone=_timezone
46932 echo "$as_me: failed program was:" >&5
46933 sed 's/^/| /' conftest.$ac_ext >&5
46936 cat >conftest.$ac_ext <<_ACEOF
46939 cat confdefs.h >>conftest.$ac_ext
46940 cat >>conftest.$ac_ext <<_ACEOF
46941 /* end confdefs.h. */
46956 rm -f conftest.$ac_objext
46957 if { (ac_try="$ac_compile"
46958 case "(($ac_try" in
46959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46960 *) ac_try_echo=$ac_try;;
46962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46963 (eval "$ac_compile") 2>conftest.er1
46965 grep -v '^ *+' conftest.er1 >conftest.err
46967 cat conftest.err >&5
46968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969 (exit $ac_status); } && {
46970 test -z "$ac_cxx_werror_flag" ||
46971 test ! -s conftest.err
46972 } && test -s conftest.$ac_objext; then
46974 wx_cv_var_timezone=__timezone
46977 echo "$as_me: failed program was:" >&5
46978 sed 's/^/| /' conftest.$ac_ext >&5
46981 if test "$USE_DOS" = 0 ; then
46982 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46983 echo "$as_me: WARNING: no timezone variable" >&2;}
46989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47001 ac_cpp='$CPP $CPPFLAGS'
47002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47009 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
47010 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
47012 if test "x$wx_cv_var_timezone" != x ; then
47013 cat >>confdefs.h <<_ACEOF
47014 #define WX_TIMEZONE $wx_cv_var_timezone
47020 for ac_func in localtime
47022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47023 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47026 echo $ECHO_N "(cached) $ECHO_C" >&6
47028 cat >conftest.$ac_ext <<_ACEOF
47031 cat confdefs.h >>conftest.$ac_ext
47032 cat >>conftest.$ac_ext <<_ACEOF
47033 /* end confdefs.h. */
47034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47036 #define $ac_func innocuous_$ac_func
47038 /* System header to define __stub macros and hopefully few prototypes,
47039 which can conflict with char $ac_func (); below.
47040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47041 <limits.h> exists even on freestanding compilers. */
47044 # include <limits.h>
47046 # include <assert.h>
47051 /* Override any GCC internal prototype to avoid an error.
47052 Use char because int might match the return type of a GCC
47053 builtin and then its argument prototype would still apply. */
47058 /* The GNU C library defines this for functions which it implements
47059 to always fail with ENOSYS. Some functions are actually named
47060 something starting with __ and the normal name is an alias. */
47061 #if defined __stub_$ac_func || defined __stub___$ac_func
47068 return $ac_func ();
47073 rm -f conftest.$ac_objext conftest$ac_exeext
47074 if { (ac_try="$ac_link"
47075 case "(($ac_try" in
47076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47077 *) ac_try_echo=$ac_try;;
47079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47080 (eval "$ac_link") 2>conftest.er1
47082 grep -v '^ *+' conftest.er1 >conftest.err
47084 cat conftest.err >&5
47085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47086 (exit $ac_status); } && {
47087 test -z "$ac_c_werror_flag" ||
47088 test ! -s conftest.err
47089 } && test -s conftest$ac_exeext &&
47090 $as_test_x conftest$ac_exeext; then
47091 eval "$as_ac_var=yes"
47093 echo "$as_me: failed program was:" >&5
47094 sed 's/^/| /' conftest.$ac_ext >&5
47096 eval "$as_ac_var=no"
47099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47100 conftest$ac_exeext conftest.$ac_ext
47102 ac_res=`eval echo '${'$as_ac_var'}'`
47103 { echo "$as_me:$LINENO: result: $ac_res" >&5
47104 echo "${ECHO_T}$ac_res" >&6; }
47105 if test `eval echo '${'$as_ac_var'}'` = yes; then
47106 cat >>confdefs.h <<_ACEOF
47107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47114 if test "$ac_cv_func_localtime" = "yes"; then
47115 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
47116 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
47117 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
47118 echo $ECHO_N "(cached) $ECHO_C" >&6
47121 cat >conftest.$ac_ext <<_ACEOF
47124 cat confdefs.h >>conftest.$ac_ext
47125 cat >>conftest.$ac_ext <<_ACEOF
47126 /* end confdefs.h. */
47141 rm -f conftest.$ac_objext
47142 if { (ac_try="$ac_compile"
47143 case "(($ac_try" in
47144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47145 *) ac_try_echo=$ac_try;;
47147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47148 (eval "$ac_compile") 2>conftest.er1
47150 grep -v '^ *+' conftest.er1 >conftest.err
47152 cat conftest.err >&5
47153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47154 (exit $ac_status); } && {
47155 test -z "$ac_c_werror_flag" ||
47156 test ! -s conftest.err
47157 } && test -s conftest.$ac_objext; then
47159 wx_cv_struct_tm_has_gmtoff=yes
47162 echo "$as_me: failed program was:" >&5
47163 sed 's/^/| /' conftest.$ac_ext >&5
47165 wx_cv_struct_tm_has_gmtoff=no
47169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47172 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
47173 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
47176 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
47177 cat >>confdefs.h <<\_ACEOF
47178 #define WX_GMTOFF_IN_TM 1
47183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
47187 if test "$wxUSE_SOCKETS" = "yes"; then
47188 if test "$wxUSE_MGL" = "1"; then
47189 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
47190 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
47195 if test "$wxUSE_SOCKETS" = "yes"; then
47196 if test "$TOOLKIT" != "MSW"; then
47197 { echo "$as_me:$LINENO: checking for socket" >&5
47198 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
47199 if test "${ac_cv_func_socket+set}" = set; then
47200 echo $ECHO_N "(cached) $ECHO_C" >&6
47202 cat >conftest.$ac_ext <<_ACEOF
47205 cat confdefs.h >>conftest.$ac_ext
47206 cat >>conftest.$ac_ext <<_ACEOF
47207 /* end confdefs.h. */
47208 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
47209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47210 #define socket innocuous_socket
47212 /* System header to define __stub macros and hopefully few prototypes,
47213 which can conflict with char socket (); below.
47214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47215 <limits.h> exists even on freestanding compilers. */
47218 # include <limits.h>
47220 # include <assert.h>
47225 /* Override any GCC internal prototype to avoid an error.
47226 Use char because int might match the return type of a GCC
47227 builtin and then its argument prototype would still apply. */
47232 /* The GNU C library defines this for functions which it implements
47233 to always fail with ENOSYS. Some functions are actually named
47234 something starting with __ and the normal name is an alias. */
47235 #if defined __stub_socket || defined __stub___socket
47247 rm -f conftest.$ac_objext conftest$ac_exeext
47248 if { (ac_try="$ac_link"
47249 case "(($ac_try" in
47250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47251 *) ac_try_echo=$ac_try;;
47253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47254 (eval "$ac_link") 2>conftest.er1
47256 grep -v '^ *+' conftest.er1 >conftest.err
47258 cat conftest.err >&5
47259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47260 (exit $ac_status); } && {
47261 test -z "$ac_c_werror_flag" ||
47262 test ! -s conftest.err
47263 } && test -s conftest$ac_exeext &&
47264 $as_test_x conftest$ac_exeext; then
47265 ac_cv_func_socket=yes
47267 echo "$as_me: failed program was:" >&5
47268 sed 's/^/| /' conftest.$ac_ext >&5
47270 ac_cv_func_socket=no
47273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47274 conftest$ac_exeext conftest.$ac_ext
47276 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
47277 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
47278 if test $ac_cv_func_socket = yes; then
47282 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
47283 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
47284 if test "${ac_cv_lib_socket_socket+set}" = set; then
47285 echo $ECHO_N "(cached) $ECHO_C" >&6
47287 ac_check_lib_save_LIBS=$LIBS
47288 LIBS="-lsocket $LIBS"
47289 cat >conftest.$ac_ext <<_ACEOF
47292 cat confdefs.h >>conftest.$ac_ext
47293 cat >>conftest.$ac_ext <<_ACEOF
47294 /* end confdefs.h. */
47296 /* Override any GCC internal prototype to avoid an error.
47297 Use char because int might match the return type of a GCC
47298 builtin and then its argument prototype would still apply. */
47311 rm -f conftest.$ac_objext conftest$ac_exeext
47312 if { (ac_try="$ac_link"
47313 case "(($ac_try" in
47314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47315 *) ac_try_echo=$ac_try;;
47317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47318 (eval "$ac_link") 2>conftest.er1
47320 grep -v '^ *+' conftest.er1 >conftest.err
47322 cat conftest.err >&5
47323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47324 (exit $ac_status); } && {
47325 test -z "$ac_c_werror_flag" ||
47326 test ! -s conftest.err
47327 } && test -s conftest$ac_exeext &&
47328 $as_test_x conftest$ac_exeext; then
47329 ac_cv_lib_socket_socket=yes
47331 echo "$as_me: failed program was:" >&5
47332 sed 's/^/| /' conftest.$ac_ext >&5
47334 ac_cv_lib_socket_socket=no
47337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47338 conftest$ac_exeext conftest.$ac_ext
47339 LIBS=$ac_check_lib_save_LIBS
47341 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
47342 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
47343 if test $ac_cv_lib_socket_socket = yes; then
47344 if test "$INET_LINK" != " -lsocket"; then
47345 INET_LINK="$INET_LINK -lsocket"
47349 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47350 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47363 if test "$wxUSE_SOCKETS" = "yes" ; then
47364 if test "$TOOLKIT" != "MSW"; then
47365 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47366 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
47367 if test "${wx_cv_type_getsockname3+set}" = set; then
47368 echo $ECHO_N "(cached) $ECHO_C" >&6
47372 ac_cpp='$CXXCPP $CPPFLAGS'
47373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47377 cat >conftest.$ac_ext <<_ACEOF
47380 cat confdefs.h >>conftest.$ac_ext
47381 cat >>conftest.$ac_ext <<_ACEOF
47382 /* end confdefs.h. */
47384 #include <sys/types.h>
47385 #include <sys/socket.h>
47392 getsockname(0, 0, &len);
47398 rm -f conftest.$ac_objext
47399 if { (ac_try="$ac_compile"
47400 case "(($ac_try" in
47401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47402 *) ac_try_echo=$ac_try;;
47404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47405 (eval "$ac_compile") 2>conftest.er1
47407 grep -v '^ *+' conftest.er1 >conftest.err
47409 cat conftest.err >&5
47410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47411 (exit $ac_status); } && {
47412 test -z "$ac_cxx_werror_flag" ||
47413 test ! -s conftest.err
47414 } && test -s conftest.$ac_objext; then
47415 wx_cv_type_getsockname3=socklen_t
47417 echo "$as_me: failed program was:" >&5
47418 sed 's/^/| /' conftest.$ac_ext >&5
47421 CFLAGS_OLD="$CFLAGS"
47422 if test "$GCC" = yes ; then
47423 CFLAGS="-Werror $CFLAGS"
47426 cat >conftest.$ac_ext <<_ACEOF
47429 cat confdefs.h >>conftest.$ac_ext
47430 cat >>conftest.$ac_ext <<_ACEOF
47431 /* end confdefs.h. */
47433 #include <sys/types.h>
47434 #include <sys/socket.h>
47441 getsockname(0, 0, &len);
47447 rm -f conftest.$ac_objext
47448 if { (ac_try="$ac_compile"
47449 case "(($ac_try" in
47450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47451 *) ac_try_echo=$ac_try;;
47453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47454 (eval "$ac_compile") 2>conftest.er1
47456 grep -v '^ *+' conftest.er1 >conftest.err
47458 cat conftest.err >&5
47459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47460 (exit $ac_status); } && {
47461 test -z "$ac_cxx_werror_flag" ||
47462 test ! -s conftest.err
47463 } && test -s conftest.$ac_objext; then
47464 wx_cv_type_getsockname3=size_t
47466 echo "$as_me: failed program was:" >&5
47467 sed 's/^/| /' conftest.$ac_ext >&5
47469 cat >conftest.$ac_ext <<_ACEOF
47472 cat confdefs.h >>conftest.$ac_ext
47473 cat >>conftest.$ac_ext <<_ACEOF
47474 /* end confdefs.h. */
47476 #include <sys/types.h>
47477 #include <sys/socket.h>
47484 getsockname(0, 0, &len);
47490 rm -f conftest.$ac_objext
47491 if { (ac_try="$ac_compile"
47492 case "(($ac_try" in
47493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47494 *) ac_try_echo=$ac_try;;
47496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47497 (eval "$ac_compile") 2>conftest.er1
47499 grep -v '^ *+' conftest.er1 >conftest.err
47501 cat conftest.err >&5
47502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47503 (exit $ac_status); } && {
47504 test -z "$ac_cxx_werror_flag" ||
47505 test ! -s conftest.err
47506 } && test -s conftest.$ac_objext; then
47507 wx_cv_type_getsockname3=int
47509 echo "$as_me: failed program was:" >&5
47510 sed 's/^/| /' conftest.$ac_ext >&5
47512 wx_cv_type_getsockname3=unknown
47516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47522 CFLAGS="$CFLAGS_OLD"
47527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47529 ac_cpp='$CPP $CPPFLAGS'
47530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47536 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47537 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47539 if test "$wx_cv_type_getsockname3" = "unknown"; then
47541 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47542 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47544 cat >>confdefs.h <<_ACEOF
47545 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47549 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47550 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47551 if test "${wx_cv_type_getsockopt5+set}" = set; then
47552 echo $ECHO_N "(cached) $ECHO_C" >&6
47556 ac_cpp='$CXXCPP $CPPFLAGS'
47557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47561 cat >conftest.$ac_ext <<_ACEOF
47564 cat confdefs.h >>conftest.$ac_ext
47565 cat >>conftest.$ac_ext <<_ACEOF
47566 /* end confdefs.h. */
47568 #include <sys/types.h>
47569 #include <sys/socket.h>
47576 getsockopt(0, 0, 0, 0, &len);
47582 rm -f conftest.$ac_objext
47583 if { (ac_try="$ac_compile"
47584 case "(($ac_try" in
47585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47586 *) ac_try_echo=$ac_try;;
47588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47589 (eval "$ac_compile") 2>conftest.er1
47591 grep -v '^ *+' conftest.er1 >conftest.err
47593 cat conftest.err >&5
47594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47595 (exit $ac_status); } && {
47596 test -z "$ac_cxx_werror_flag" ||
47597 test ! -s conftest.err
47598 } && test -s conftest.$ac_objext; then
47599 wx_cv_type_getsockopt5=socklen_t
47601 echo "$as_me: failed program was:" >&5
47602 sed 's/^/| /' conftest.$ac_ext >&5
47605 cat >conftest.$ac_ext <<_ACEOF
47608 cat confdefs.h >>conftest.$ac_ext
47609 cat >>conftest.$ac_ext <<_ACEOF
47610 /* end confdefs.h. */
47612 #include <sys/types.h>
47613 #include <sys/socket.h>
47620 getsockopt(0, 0, 0, 0, &len);
47626 rm -f conftest.$ac_objext
47627 if { (ac_try="$ac_compile"
47628 case "(($ac_try" in
47629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47630 *) ac_try_echo=$ac_try;;
47632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47633 (eval "$ac_compile") 2>conftest.er1
47635 grep -v '^ *+' conftest.er1 >conftest.err
47637 cat conftest.err >&5
47638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47639 (exit $ac_status); } && {
47640 test -z "$ac_cxx_werror_flag" ||
47641 test ! -s conftest.err
47642 } && test -s conftest.$ac_objext; then
47643 wx_cv_type_getsockopt5=size_t
47645 echo "$as_me: failed program was:" >&5
47646 sed 's/^/| /' conftest.$ac_ext >&5
47648 cat >conftest.$ac_ext <<_ACEOF
47651 cat confdefs.h >>conftest.$ac_ext
47652 cat >>conftest.$ac_ext <<_ACEOF
47653 /* end confdefs.h. */
47655 #include <sys/types.h>
47656 #include <sys/socket.h>
47663 getsockopt(0, 0, 0, 0, &len);
47669 rm -f conftest.$ac_objext
47670 if { (ac_try="$ac_compile"
47671 case "(($ac_try" in
47672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47673 *) ac_try_echo=$ac_try;;
47675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47676 (eval "$ac_compile") 2>conftest.er1
47678 grep -v '^ *+' conftest.er1 >conftest.err
47680 cat conftest.err >&5
47681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47682 (exit $ac_status); } && {
47683 test -z "$ac_cxx_werror_flag" ||
47684 test ! -s conftest.err
47685 } && test -s conftest.$ac_objext; then
47686 wx_cv_type_getsockopt5=int
47688 echo "$as_me: failed program was:" >&5
47689 sed 's/^/| /' conftest.$ac_ext >&5
47691 wx_cv_type_getsockopt5=unknown
47695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47706 ac_cpp='$CPP $CPPFLAGS'
47707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47713 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47714 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47716 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47718 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47719 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47721 cat >>confdefs.h <<_ACEOF
47722 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47729 if test "$wxUSE_SOCKETS" = "yes" ; then
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_SOCKETS 1
47734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47737 if test "$wxUSE_PROTOCOL" = "yes"; then
47738 if test "$wxUSE_SOCKETS" != "yes"; then
47739 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47740 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47745 if test "$wxUSE_PROTOCOL" = "yes"; then
47746 cat >>confdefs.h <<\_ACEOF
47747 #define wxUSE_PROTOCOL 1
47751 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47752 cat >>confdefs.h <<\_ACEOF
47753 #define wxUSE_PROTOCOL_HTTP 1
47757 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47758 cat >>confdefs.h <<\_ACEOF
47759 #define wxUSE_PROTOCOL_FTP 1
47763 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47764 cat >>confdefs.h <<\_ACEOF
47765 #define wxUSE_PROTOCOL_FILE 1
47770 if test "$wxUSE_FS_INET" = "yes"; then
47771 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47772 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47777 if test "$wxUSE_URL" = "yes"; then
47778 if test "$wxUSE_PROTOCOL" != "yes"; then
47779 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47780 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47783 if test "$wxUSE_URL" = "yes"; then
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_URL 1
47791 if test "$wxUSE_VARIANT" = "yes"; then
47792 cat >>confdefs.h <<\_ACEOF
47793 #define wxUSE_VARIANT 1
47798 if test "$wxUSE_FS_INET" = "yes"; then
47799 cat >>confdefs.h <<\_ACEOF
47800 #define wxUSE_FS_INET 1
47806 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47809 if test "$TOOLKIT" = "MSW"; then
47812 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47813 if test "$USE_DARWIN" = 1; then
47814 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47815 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47817 ac_cpp='$CXXCPP $CPPFLAGS'
47818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47822 cat >conftest.$ac_ext <<_ACEOF
47825 cat confdefs.h >>conftest.$ac_ext
47826 cat >>conftest.$ac_ext <<_ACEOF
47827 /* end confdefs.h. */
47828 #include <IOKit/hid/IOHIDLib.h>
47832 IOHIDQueueInterface *qi = NULL;
47833 IOHIDCallbackFunction cb = NULL;
47834 qi->setEventCallout(NULL, cb, NULL, NULL);
47839 rm -f conftest.$ac_objext
47840 if { (ac_try="$ac_compile"
47841 case "(($ac_try" in
47842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47843 *) ac_try_echo=$ac_try;;
47845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47846 (eval "$ac_compile") 2>conftest.er1
47848 grep -v '^ *+' conftest.er1 >conftest.err
47850 cat conftest.err >&5
47851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47852 (exit $ac_status); } && {
47853 test -z "$ac_cxx_werror_flag" ||
47854 test ! -s conftest.err
47855 } && test -s conftest.$ac_objext; then
47859 echo "$as_me: failed program was:" >&5
47860 sed 's/^/| /' conftest.$ac_ext >&5
47865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47867 ac_cpp='$CPP $CPPFLAGS'
47868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47872 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47873 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47877 if test "$wxUSE_MGL" != "1"; then
47879 for ac_header in linux/joystick.h
47881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47882 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47885 echo $ECHO_N "(cached) $ECHO_C" >&6
47887 cat >conftest.$ac_ext <<_ACEOF
47890 cat confdefs.h >>conftest.$ac_ext
47891 cat >>conftest.$ac_ext <<_ACEOF
47892 /* end confdefs.h. */
47893 $ac_includes_default
47895 #include <$ac_header>
47897 rm -f conftest.$ac_objext
47898 if { (ac_try="$ac_compile"
47899 case "(($ac_try" in
47900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47901 *) ac_try_echo=$ac_try;;
47903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47904 (eval "$ac_compile") 2>conftest.er1
47906 grep -v '^ *+' conftest.er1 >conftest.err
47908 cat conftest.err >&5
47909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47910 (exit $ac_status); } && {
47911 test -z "$ac_c_werror_flag" ||
47912 test ! -s conftest.err
47913 } && test -s conftest.$ac_objext; then
47914 eval "$as_ac_Header=yes"
47916 echo "$as_me: failed program was:" >&5
47917 sed 's/^/| /' conftest.$ac_ext >&5
47919 eval "$as_ac_Header=no"
47922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47924 ac_res=`eval echo '${'$as_ac_Header'}'`
47925 { echo "$as_me:$LINENO: result: $ac_res" >&5
47926 echo "${ECHO_T}$ac_res" >&6; }
47927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47928 cat >>confdefs.h <<_ACEOF
47929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47939 if test "$wxUSE_JOYSTICK" = "yes"; then
47940 cat >>confdefs.h <<\_ACEOF
47941 #define wxUSE_JOYSTICK 1
47944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47946 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47947 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47953 if test "$wxUSE_FONTENUM" = "yes" ; then
47954 cat >>confdefs.h <<\_ACEOF
47955 #define wxUSE_FONTENUM 1
47960 if test "$wxUSE_FONTMAP" = "yes" ; then
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_FONTMAP 1
47967 if test "$wxUSE_UNICODE" = "yes" ; then
47968 cat >>confdefs.h <<\_ACEOF
47969 #define wxUSE_UNICODE 1
47973 if test "$USE_WIN32" != 1; then
47974 wxUSE_UNICODE_MSLU=no
47977 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47978 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47979 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47980 if test "${ac_cv_lib_unicows_main+set}" = set; then
47981 echo $ECHO_N "(cached) $ECHO_C" >&6
47983 ac_check_lib_save_LIBS=$LIBS
47984 LIBS="-lunicows $LIBS"
47985 cat >conftest.$ac_ext <<_ACEOF
47988 cat confdefs.h >>conftest.$ac_ext
47989 cat >>conftest.$ac_ext <<_ACEOF
47990 /* end confdefs.h. */
48001 rm -f conftest.$ac_objext conftest$ac_exeext
48002 if { (ac_try="$ac_link"
48003 case "(($ac_try" in
48004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48005 *) ac_try_echo=$ac_try;;
48007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48008 (eval "$ac_link") 2>conftest.er1
48010 grep -v '^ *+' conftest.er1 >conftest.err
48012 cat conftest.err >&5
48013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48014 (exit $ac_status); } && {
48015 test -z "$ac_c_werror_flag" ||
48016 test ! -s conftest.err
48017 } && test -s conftest$ac_exeext &&
48018 $as_test_x conftest$ac_exeext; then
48019 ac_cv_lib_unicows_main=yes
48021 echo "$as_me: failed program was:" >&5
48022 sed 's/^/| /' conftest.$ac_ext >&5
48024 ac_cv_lib_unicows_main=no
48027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48028 conftest$ac_exeext conftest.$ac_ext
48029 LIBS=$ac_check_lib_save_LIBS
48031 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
48032 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
48033 if test $ac_cv_lib_unicows_main = yes; then
48035 cat >>confdefs.h <<\_ACEOF
48036 #define wxUSE_UNICODE_MSLU 1
48042 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
48043 Applications will only run on Windows NT/2000/XP!" >&5
48044 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
48045 Applications will only run on Windows NT/2000/XP!" >&2;}
48046 wxUSE_UNICODE_MSLU=no
48053 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
48054 cat >>confdefs.h <<\_ACEOF
48055 #define wxUSE_UNICODE_UTF8 1
48059 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_UTF8_LOCALE_ONLY 1
48067 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
48068 cat >>confdefs.h <<\_ACEOF
48069 #define wxUSE_EXPERIMENTAL_PRINTF 1
48075 if test "$wxUSE_CONSTRAINTS" = "yes"; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_CONSTRAINTS 1
48080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
48083 if test "$wxUSE_MDI" = "yes"; then
48084 cat >>confdefs.h <<\_ACEOF
48085 #define wxUSE_MDI 1
48089 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
48090 cat >>confdefs.h <<\_ACEOF
48091 #define wxUSE_MDI_ARCHITECTURE 1
48094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
48098 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
48099 cat >>confdefs.h <<\_ACEOF
48100 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
48103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
48104 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
48105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
48109 if test "$wxUSE_HELP" = "yes"; then
48110 cat >>confdefs.h <<\_ACEOF
48111 #define wxUSE_HELP 1
48114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
48116 if test "$wxUSE_MSW" = 1; then
48117 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
48118 cat >>confdefs.h <<\_ACEOF
48119 #define wxUSE_MS_HTML_HELP 1
48125 if test "$wxUSE_WXHTML_HELP" = "yes"; then
48126 if test "$wxUSE_HTML" = "yes"; then
48127 cat >>confdefs.h <<\_ACEOF
48128 #define wxUSE_WXHTML_HELP 1
48132 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
48133 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
48134 wxUSE_WXHTML_HELP=no
48139 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
48140 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48141 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
48142 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
48144 cat >>confdefs.h <<\_ACEOF
48145 #define wxUSE_PRINTING_ARCHITECTURE 1
48149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
48152 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_POSTSCRIPT 1
48159 cat >>confdefs.h <<\_ACEOF
48160 #define wxUSE_AFM_FOR_POSTSCRIPT 1
48164 cat >>confdefs.h <<\_ACEOF
48165 #define wxUSE_NORMALIZED_PS_FONTS 1
48169 if test "$wxUSE_SVG" = "yes"; then
48170 cat >>confdefs.h <<\_ACEOF
48171 #define wxUSE_SVG 1
48177 if test "$wxUSE_METAFILE" = "yes"; then
48178 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
48179 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
48180 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
48186 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
48187 -o "$wxUSE_CLIPBOARD" = "yes" \
48188 -o "$wxUSE_OLE" = "yes" \
48189 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
48190 { echo "$as_me:$LINENO: checking for ole2.h" >&5
48191 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
48192 if test "${ac_cv_header_ole2_h+set}" = set; then
48193 echo $ECHO_N "(cached) $ECHO_C" >&6
48195 cat >conftest.$ac_ext <<_ACEOF
48198 cat confdefs.h >>conftest.$ac_ext
48199 cat >>conftest.$ac_ext <<_ACEOF
48200 /* end confdefs.h. */
48205 rm -f conftest.$ac_objext
48206 if { (ac_try="$ac_compile"
48207 case "(($ac_try" in
48208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48209 *) ac_try_echo=$ac_try;;
48211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48212 (eval "$ac_compile") 2>conftest.er1
48214 grep -v '^ *+' conftest.er1 >conftest.err
48216 cat conftest.err >&5
48217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48218 (exit $ac_status); } && {
48219 test -z "$ac_c_werror_flag" ||
48220 test ! -s conftest.err
48221 } && test -s conftest.$ac_objext; then
48222 ac_cv_header_ole2_h=yes
48224 echo "$as_me: failed program was:" >&5
48225 sed 's/^/| /' conftest.$ac_ext >&5
48227 ac_cv_header_ole2_h=no
48230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48232 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
48233 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
48237 if test "$ac_cv_header_ole2_h" = "yes" ; then
48238 if test "$GCC" = yes ; then
48239 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
48240 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
48241 cat >conftest.$ac_ext <<_ACEOF
48244 cat confdefs.h >>conftest.$ac_ext
48245 cat >>conftest.$ac_ext <<_ACEOF
48246 /* end confdefs.h. */
48247 #include <windows.h>
48257 rm -f conftest.$ac_objext
48258 if { (ac_try="$ac_compile"
48259 case "(($ac_try" in
48260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48261 *) ac_try_echo=$ac_try;;
48263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48264 (eval "$ac_compile") 2>conftest.er1
48266 grep -v '^ *+' conftest.er1 >conftest.err
48268 cat conftest.err >&5
48269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48270 (exit $ac_status); } && {
48271 test -z "$ac_c_werror_flag" ||
48272 test ! -s conftest.err
48273 } && test -s conftest.$ac_objext; then
48274 { echo "$as_me:$LINENO: result: no" >&5
48275 echo "${ECHO_T}no" >&6; }
48277 echo "$as_me: failed program was:" >&5
48278 sed 's/^/| /' conftest.$ac_ext >&5
48280 { echo "$as_me:$LINENO: result: yes" >&5
48281 echo "${ECHO_T}yes" >&6; }
48282 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
48285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48286 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
48287 if test "$wxUSE_OLE" = "yes" ; then
48288 cat >>confdefs.h <<\_ACEOF
48289 #define wxUSE_OLE 1
48292 cat >>confdefs.h <<\_ACEOF
48293 #define wxUSE_OLE_AUTOMATION 1
48296 cat >>confdefs.h <<\_ACEOF
48297 #define wxUSE_ACTIVEX 1
48300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
48304 if test "$wxUSE_DATAOBJ" = "yes" ; then
48305 cat >>confdefs.h <<\_ACEOF
48306 #define wxUSE_DATAOBJ 1
48311 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
48312 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
48315 wxUSE_DRAG_AND_DROP=no
48320 if test "$wxUSE_METAFILE" = "yes"; then
48321 cat >>confdefs.h <<\_ACEOF
48322 #define wxUSE_METAFILE 1
48326 cat >>confdefs.h <<\_ACEOF
48327 #define wxUSE_ENH_METAFILE 1
48333 if test "$wxUSE_IPC" = "yes"; then
48334 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
48335 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
48336 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
48340 if test "$wxUSE_IPC" = "yes"; then
48341 cat >>confdefs.h <<\_ACEOF
48342 #define wxUSE_IPC 1
48345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48349 if test "$wxUSE_DATAOBJ" = "yes"; then
48350 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48351 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48352 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48355 cat >>confdefs.h <<\_ACEOF
48356 #define wxUSE_DATAOBJ 1
48361 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48362 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48364 wxUSE_DRAG_AND_DROP=no
48367 if test "$wxUSE_CLIPBOARD" = "yes"; then
48368 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48369 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48370 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48374 if test "$wxUSE_CLIPBOARD" = "yes"; then
48375 cat >>confdefs.h <<\_ACEOF
48376 #define wxUSE_CLIPBOARD 1
48382 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48383 if test "$wxUSE_GTK" = 1; then
48384 if test "$WXGTK12" != 1; then
48385 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48386 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48387 wxUSE_DRAG_AND_DROP=no
48391 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48392 "$wxUSE_DFB" = 1; then
48393 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48394 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48395 wxUSE_DRAG_AND_DROP=no
48398 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48399 cat >>confdefs.h <<\_ACEOF
48400 #define wxUSE_DRAG_AND_DROP 1
48407 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
48411 if test "$wxUSE_SPLINES" = "yes" ; then
48412 cat >>confdefs.h <<\_ACEOF
48413 #define wxUSE_SPLINES 1
48418 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48419 cat >>confdefs.h <<\_ACEOF
48420 #define wxUSE_MOUSEWHEEL 1
48427 if test "$wxUSE_CONTROLS" = "yes"; then
48431 if test "$wxUSE_ACCEL" = "yes"; then
48432 cat >>confdefs.h <<\_ACEOF
48433 #define wxUSE_ACCEL 1
48439 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48440 cat >>confdefs.h <<\_ACEOF
48441 #define wxUSE_ANIMATIONCTRL 1
48445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48448 if test "$wxUSE_BUTTON" = "yes"; then
48449 cat >>confdefs.h <<\_ACEOF
48450 #define wxUSE_BUTTON 1
48456 if test "$wxUSE_BMPBUTTON" = "yes"; then
48457 cat >>confdefs.h <<\_ACEOF
48458 #define wxUSE_BMPBUTTON 1
48464 if test "$wxUSE_CALCTRL" = "yes"; then
48465 cat >>confdefs.h <<\_ACEOF
48466 #define wxUSE_CALENDARCTRL 1
48470 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48473 if test "$wxUSE_CARET" = "yes"; then
48474 cat >>confdefs.h <<\_ACEOF
48475 #define wxUSE_CARET 1
48479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48482 if test "$wxUSE_COLLPANE" = "yes"; then
48483 cat >>confdefs.h <<\_ACEOF
48484 #define wxUSE_COLLPANE 1
48488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48491 if test "$wxUSE_COMBOBOX" = "yes"; then
48492 cat >>confdefs.h <<\_ACEOF
48493 #define wxUSE_COMBOBOX 1
48499 if test "$wxUSE_COMBOCTRL" = "yes"; then
48500 cat >>confdefs.h <<\_ACEOF
48501 #define wxUSE_COMBOCTRL 1
48507 if test "$wxUSE_CHOICE" = "yes"; then
48508 cat >>confdefs.h <<\_ACEOF
48509 #define wxUSE_CHOICE 1
48515 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48516 cat >>confdefs.h <<\_ACEOF
48517 #define wxUSE_CHOICEBOOK 1
48523 if test "$wxUSE_CHECKBOX" = "yes"; then
48524 cat >>confdefs.h <<\_ACEOF
48525 #define wxUSE_CHECKBOX 1
48531 if test "$wxUSE_CHECKLST" = "yes"; then
48532 cat >>confdefs.h <<\_ACEOF
48533 #define wxUSE_CHECKLISTBOX 1
48537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
48540 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48541 cat >>confdefs.h <<\_ACEOF
48542 #define wxUSE_COLOURPICKERCTRL 1
48548 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48549 cat >>confdefs.h <<\_ACEOF
48550 #define wxUSE_DATEPICKCTRL 1
48556 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48557 cat >>confdefs.h <<\_ACEOF
48558 #define wxUSE_DIRPICKERCTRL 1
48564 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48565 cat >>confdefs.h <<\_ACEOF
48566 #define wxUSE_FILEPICKERCTRL 1
48572 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48573 cat >>confdefs.h <<\_ACEOF
48574 #define wxUSE_FONTPICKERCTRL 1
48580 if test "$wxUSE_DISPLAY" = "yes"; then
48581 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48582 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48583 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48586 cat >>confdefs.h <<\_ACEOF
48587 #define wxUSE_DISPLAY 1
48590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
48594 if test "$wxUSE_DETECT_SM" = "yes"; then
48595 cat >>confdefs.h <<\_ACEOF
48596 #define wxUSE_DETECT_SM 1
48601 if test "$wxUSE_GAUGE" = "yes"; then
48602 cat >>confdefs.h <<\_ACEOF
48603 #define wxUSE_GAUGE 1
48609 if test "$wxUSE_GRID" = "yes"; then
48610 cat >>confdefs.h <<\_ACEOF
48611 #define wxUSE_GRID 1
48615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48618 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48619 cat >>confdefs.h <<\_ACEOF
48620 #define wxUSE_HYPERLINKCTRL 1
48626 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48627 cat >>confdefs.h <<\_ACEOF
48628 #define wxUSE_BITMAPCOMBOBOX 1
48634 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48635 cat >>confdefs.h <<\_ACEOF
48636 #define wxUSE_DATAVIEWCTRL 1
48640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48643 if test "$wxUSE_IMAGLIST" = "yes"; then
48644 cat >>confdefs.h <<\_ACEOF
48645 #define wxUSE_IMAGLIST 1
48650 if test "$wxUSE_LISTBOOK" = "yes"; then
48651 cat >>confdefs.h <<\_ACEOF
48652 #define wxUSE_LISTBOOK 1
48658 if test "$wxUSE_LISTBOX" = "yes"; then
48659 cat >>confdefs.h <<\_ACEOF
48660 #define wxUSE_LISTBOX 1
48664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48667 if test "$wxUSE_LISTCTRL" = "yes"; then
48668 if test "$wxUSE_IMAGLIST" = "yes"; then
48669 cat >>confdefs.h <<\_ACEOF
48670 #define wxUSE_LISTCTRL 1
48674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48676 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48677 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48681 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48682 cat >>confdefs.h <<\_ACEOF
48683 #define wxUSE_EDITABLELISTBOX 1
48687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48690 if test "$wxUSE_NOTEBOOK" = "yes"; then
48691 cat >>confdefs.h <<\_ACEOF
48692 #define wxUSE_NOTEBOOK 1
48696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48699 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48700 cat >>confdefs.h <<\_ACEOF
48701 #define wxUSE_ODCOMBOBOX 1
48705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48709 if test "$wxUSE_RADIOBOX" = "yes"; then
48710 cat >>confdefs.h <<\_ACEOF
48711 #define wxUSE_RADIOBOX 1
48717 if test "$wxUSE_RADIOBTN" = "yes"; then
48718 cat >>confdefs.h <<\_ACEOF
48719 #define wxUSE_RADIOBTN 1
48725 if test "$wxUSE_SASH" = "yes"; then
48726 cat >>confdefs.h <<\_ACEOF
48727 #define wxUSE_SASH 1
48730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48733 if test "$wxUSE_SCROLLBAR" = "yes"; then
48734 cat >>confdefs.h <<\_ACEOF
48735 #define wxUSE_SCROLLBAR 1
48739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48742 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48743 cat >>confdefs.h <<\_ACEOF
48744 #define wxUSE_SEARCHCTRL 1
48750 if test "$wxUSE_SLIDER" = "yes"; then
48751 cat >>confdefs.h <<\_ACEOF
48752 #define wxUSE_SLIDER 1
48758 if test "$wxUSE_SPINBTN" = "yes"; then
48759 cat >>confdefs.h <<\_ACEOF
48760 #define wxUSE_SPINBTN 1
48766 if test "$wxUSE_SPINCTRL" = "yes"; then
48767 cat >>confdefs.h <<\_ACEOF
48768 #define wxUSE_SPINCTRL 1
48774 if test "$wxUSE_SPLITTER" = "yes"; then
48775 cat >>confdefs.h <<\_ACEOF
48776 #define wxUSE_SPLITTER 1
48779 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48782 if test "$wxUSE_STATBMP" = "yes"; then
48783 cat >>confdefs.h <<\_ACEOF
48784 #define wxUSE_STATBMP 1
48790 if test "$wxUSE_STATBOX" = "yes"; then
48791 cat >>confdefs.h <<\_ACEOF
48792 #define wxUSE_STATBOX 1
48798 if test "$wxUSE_STATTEXT" = "yes"; then
48799 cat >>confdefs.h <<\_ACEOF
48800 #define wxUSE_STATTEXT 1
48806 if test "$wxUSE_STATLINE" = "yes"; then
48807 cat >>confdefs.h <<\_ACEOF
48808 #define wxUSE_STATLINE 1
48814 if test "$wxUSE_STATUSBAR" = "yes"; then
48815 cat >>confdefs.h <<\_ACEOF
48816 #define wxUSE_NATIVE_STATUSBAR 1
48819 cat >>confdefs.h <<\_ACEOF
48820 #define wxUSE_STATUSBAR 1
48825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48828 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48829 cat >>confdefs.h <<\_ACEOF
48830 #define wxUSE_TAB_DIALOG 1
48835 if test "$wxUSE_TEXTCTRL" = "yes"; then
48836 cat >>confdefs.h <<\_ACEOF
48837 #define wxUSE_TEXTCTRL 1
48841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48844 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48845 if test "$wxUSE_COCOA" = 1 ; then
48846 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48847 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48851 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48852 cat >>confdefs.h <<\_ACEOF
48853 #define wxUSE_TOGGLEBTN 1
48860 if test "$wxUSE_TOOLBAR" = "yes"; then
48861 cat >>confdefs.h <<\_ACEOF
48862 #define wxUSE_TOOLBAR 1
48867 if test "$wxUSE_UNIVERSAL" = "yes"; then
48868 wxUSE_TOOLBAR_NATIVE="no"
48870 wxUSE_TOOLBAR_NATIVE="yes"
48871 cat >>confdefs.h <<\_ACEOF
48872 #define wxUSE_TOOLBAR_NATIVE 1
48877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48880 if test "$wxUSE_TOOLTIPS" = "yes"; then
48881 if test "$wxUSE_MOTIF" = 1; then
48882 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48883 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48885 if test "$wxUSE_UNIVERSAL" = "yes"; then
48886 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48887 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48889 cat >>confdefs.h <<\_ACEOF
48890 #define wxUSE_TOOLTIPS 1
48897 if test "$wxUSE_TREEBOOK" = "yes"; then
48898 cat >>confdefs.h <<\_ACEOF
48899 #define wxUSE_TREEBOOK 1
48905 if test "$wxUSE_TOOLBOOK" = "yes"; then
48906 cat >>confdefs.h <<\_ACEOF
48907 #define wxUSE_TOOLBOOK 1
48913 if test "$wxUSE_TREECTRL" = "yes"; then
48914 if test "$wxUSE_IMAGLIST" = "yes"; then
48915 cat >>confdefs.h <<\_ACEOF
48916 #define wxUSE_TREECTRL 1
48920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48922 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48923 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48927 if test "$wxUSE_POPUPWIN" = "yes"; then
48928 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48929 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48930 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48932 if test "$wxUSE_PM" = 1; then
48933 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48934 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48936 cat >>confdefs.h <<\_ACEOF
48937 #define wxUSE_POPUPWIN 1
48940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48947 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48948 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48949 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48950 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48952 cat >>confdefs.h <<\_ACEOF
48953 #define wxUSE_DIALUP_MANAGER 1
48956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48960 if test "$wxUSE_TIPWINDOW" = "yes"; then
48961 if test "$wxUSE_PM" = 1; then
48962 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48963 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48965 cat >>confdefs.h <<\_ACEOF
48966 #define wxUSE_TIPWINDOW 1
48972 if test "$USES_CONTROLS" = 1; then
48973 cat >>confdefs.h <<\_ACEOF
48974 #define wxUSE_CONTROLS 1
48980 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48981 cat >>confdefs.h <<\_ACEOF
48982 #define wxUSE_ACCESSIBILITY 1
48985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48988 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48989 cat >>confdefs.h <<\_ACEOF
48990 #define wxUSE_DRAGIMAGE 1
48993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48996 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48997 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48998 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48999 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
49001 cat >>confdefs.h <<\_ACEOF
49002 #define wxUSE_EXCEPTIONS 1
49005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
49010 if test "$wxUSE_HTML" = "yes"; then
49011 cat >>confdefs.h <<\_ACEOF
49012 #define wxUSE_HTML 1
49016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
49017 if test "$wxUSE_MAC" = 1; then
49018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
49021 if test "$wxUSE_WEBKIT" = "yes"; then
49022 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
49023 old_CPPFLAGS="$CPPFLAGS"
49024 CPPFLAGS="-x objective-c++ $CPPFLAGS"
49025 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
49026 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
49027 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
49028 echo $ECHO_N "(cached) $ECHO_C" >&6
49030 cat >conftest.$ac_ext <<_ACEOF
49033 cat confdefs.h >>conftest.$ac_ext
49034 cat >>conftest.$ac_ext <<_ACEOF
49035 /* end confdefs.h. */
49037 #include <Carbon/Carbon.h>
49038 #include <WebKit/WebKit.h>
49041 #include <WebKit/HIWebView.h>
49043 rm -f conftest.$ac_objext
49044 if { (ac_try="$ac_compile"
49045 case "(($ac_try" in
49046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49047 *) ac_try_echo=$ac_try;;
49049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49050 (eval "$ac_compile") 2>conftest.er1
49052 grep -v '^ *+' conftest.er1 >conftest.err
49054 cat conftest.err >&5
49055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49056 (exit $ac_status); } && {
49057 test -z "$ac_c_werror_flag" ||
49058 test ! -s conftest.err
49059 } && test -s conftest.$ac_objext; then
49060 ac_cv_header_WebKit_HIWebView_h=yes
49062 echo "$as_me: failed program was:" >&5
49063 sed 's/^/| /' conftest.$ac_ext >&5
49065 ac_cv_header_WebKit_HIWebView_h=no
49068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49070 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
49071 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
49072 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
49074 cat >>confdefs.h <<\_ACEOF
49075 #define wxUSE_WEBKIT 1
49078 WEBKIT_LINK="-framework WebKit"
49082 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
49083 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
49089 CPPFLAGS="$old_CPPFLAGS"
49090 elif test "$wxUSE_COCOA" = 1; then
49091 cat >>confdefs.h <<\_ACEOF
49092 #define wxUSE_WEBKIT 1
49101 if test "$wxUSE_XRC" = "yes"; then
49102 if test "$wxUSE_XML" != "yes"; then
49103 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
49104 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
49107 cat >>confdefs.h <<\_ACEOF
49108 #define wxUSE_XRC 1
49112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
49117 if test "$wxUSE_AUI" = "yes"; then
49118 cat >>confdefs.h <<\_ACEOF
49119 #define wxUSE_AUI 1
49123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
49127 if test "$wxUSE_STC" = "yes"; then
49128 cat >>confdefs.h <<\_ACEOF
49129 #define wxUSE_STC 1
49133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
49136 if test "$wxUSE_MENUS" = "yes"; then
49137 cat >>confdefs.h <<\_ACEOF
49138 #define wxUSE_MENUS 1
49141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
49144 if test "$wxUSE_METAFILE" = "yes"; then
49145 cat >>confdefs.h <<\_ACEOF
49146 #define wxUSE_METAFILE 1
49151 if test "$wxUSE_MIMETYPE" = "yes"; then
49152 cat >>confdefs.h <<\_ACEOF
49153 #define wxUSE_MIMETYPE 1
49158 if test "$wxUSE_MINIFRAME" = "yes"; then
49159 cat >>confdefs.h <<\_ACEOF
49160 #define wxUSE_MINIFRAME 1
49163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
49166 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
49167 cat >>confdefs.h <<\_ACEOF
49168 #define wxUSE_SYSTEM_OPTIONS 1
49173 if test "$wxUSE_TASKBARICON" = "yes"; then
49174 cat >>confdefs.h <<\_ACEOF
49175 #define wxUSE_TASKBARICON 1
49178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
49182 if test "$wxUSE_VALIDATORS" = "yes"; then
49183 cat >>confdefs.h <<\_ACEOF
49184 #define wxUSE_VALIDATORS 1
49187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
49190 if test "$wxUSE_PALETTE" = "yes" ; then
49191 if test "$wxUSE_DFB" = 1; then
49192 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
49193 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
49196 cat >>confdefs.h <<\_ACEOF
49197 #define wxUSE_PALETTE 1
49203 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
49204 LIBS=" -lunicows $LIBS"
49208 if test "$wxUSE_RICHTEXT" = "yes"; then
49209 cat >>confdefs.h <<\_ACEOF
49210 #define wxUSE_RICHTEXT 1
49214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
49218 if test "$wxUSE_IMAGE" = "yes" ; then
49219 cat >>confdefs.h <<\_ACEOF
49220 #define wxUSE_IMAGE 1
49224 if test "$wxUSE_GIF" = "yes" ; then
49225 cat >>confdefs.h <<\_ACEOF
49226 #define wxUSE_GIF 1
49231 if test "$wxUSE_PCX" = "yes" ; then
49232 cat >>confdefs.h <<\_ACEOF
49233 #define wxUSE_PCX 1
49238 if test "$wxUSE_TGA" = "yes" ; then
49239 cat >>confdefs.h <<\_ACEOF
49240 #define wxUSE_TGA 1
49245 if test "$wxUSE_IFF" = "yes" ; then
49246 cat >>confdefs.h <<\_ACEOF
49247 #define wxUSE_IFF 1
49252 if test "$wxUSE_PNM" = "yes" ; then
49253 cat >>confdefs.h <<\_ACEOF
49254 #define wxUSE_PNM 1
49259 if test "$wxUSE_XPM" = "yes" ; then
49260 cat >>confdefs.h <<\_ACEOF
49261 #define wxUSE_XPM 1
49266 if test "$wxUSE_ICO_CUR" = "yes" ; then
49267 cat >>confdefs.h <<\_ACEOF
49268 #define wxUSE_ICO_CUR 1
49275 if test "$wxUSE_ABOUTDLG" = "yes"; then
49276 cat >>confdefs.h <<\_ACEOF
49277 #define wxUSE_ABOUTDLG 1
49282 if test "$wxUSE_CHOICEDLG" = "yes"; then
49283 cat >>confdefs.h <<\_ACEOF
49284 #define wxUSE_CHOICEDLG 1
49289 if test "$wxUSE_COLOURDLG" = "yes"; then
49290 cat >>confdefs.h <<\_ACEOF
49291 #define wxUSE_COLOURDLG 1
49296 if test "$wxUSE_FILEDLG" = "yes"; then
49297 cat >>confdefs.h <<\_ACEOF
49298 #define wxUSE_FILEDLG 1
49303 if test "$wxUSE_FINDREPLDLG" = "yes"; then
49304 cat >>confdefs.h <<\_ACEOF
49305 #define wxUSE_FINDREPLDLG 1
49310 if test "$wxUSE_FONTDLG" = "yes"; then
49311 cat >>confdefs.h <<\_ACEOF
49312 #define wxUSE_FONTDLG 1
49317 if test "$wxUSE_DIRDLG" = "yes"; then
49318 if test "$wxUSE_TREECTRL" != "yes"; then
49319 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
49320 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
49322 cat >>confdefs.h <<\_ACEOF
49323 #define wxUSE_DIRDLG 1
49329 if test "$wxUSE_MSGDLG" = "yes"; then
49330 cat >>confdefs.h <<\_ACEOF
49331 #define wxUSE_MSGDLG 1
49336 if test "$wxUSE_NUMBERDLG" = "yes"; then
49337 cat >>confdefs.h <<\_ACEOF
49338 #define wxUSE_NUMBERDLG 1
49343 if test "$wxUSE_PROGRESSDLG" = "yes"; then
49344 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49345 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49346 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49348 cat >>confdefs.h <<\_ACEOF
49349 #define wxUSE_PROGRESSDLG 1
49355 if test "$wxUSE_SPLASH" = "yes"; then
49356 cat >>confdefs.h <<\_ACEOF
49357 #define wxUSE_SPLASH 1
49360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
49363 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49364 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49365 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49366 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49368 cat >>confdefs.h <<\_ACEOF
49369 #define wxUSE_STARTUP_TIPS 1
49375 if test "$wxUSE_TEXTDLG" = "yes"; then
49376 cat >>confdefs.h <<\_ACEOF
49377 #define wxUSE_TEXTDLG 1
49382 if test "$wxUSE_WIZARDDLG" = "yes"; then
49383 cat >>confdefs.h <<\_ACEOF
49384 #define wxUSE_WIZARDDLG 1
49387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
49391 if test "$wxUSE_MSW" = 1 ; then
49393 if test "$wxUSE_DC_CACHEING" = "yes"; then
49394 cat >>confdefs.h <<\_ACEOF
49395 #define wxUSE_DC_CACHEING 1
49400 if test "$wxUSE_INICONF" = "yes"; then
49401 cat >>confdefs.h <<\_ACEOF
49402 #define wxUSE_INICONF 1
49407 if test "$wxUSE_DIB" = "yes"; then
49408 cat >>confdefs.h <<\_ACEOF
49409 #define wxUSE_WXDIB 1
49414 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49415 cat >>confdefs.h <<\_ACEOF
49416 #define wxUSE_OWNER_DRAWN 1
49421 if test "$wxUSE_REGKEY" = "yes"; then
49422 cat >>confdefs.h <<\_ACEOF
49423 #define wxUSE_REGKEY 1
49428 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49429 cat >>confdefs.h <<\_ACEOF
49430 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49435 if test "$wxUSE_UXTHEME" = "yes"; then
49436 cat >>confdefs.h <<\_ACEOF
49437 #define wxUSE_UXTHEME 1
49445 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49446 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49447 cat >>confdefs.h <<\_ACEOF
49448 #define wxUSE_GRAPHICS_CONTEXT 1
49451 elif test "$wxUSE_GTK" != 1; then
49452 cat >>confdefs.h <<\_ACEOF
49453 #define wxUSE_GRAPHICS_CONTEXT 1
49459 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49460 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49462 if test -n "$PKG_CONFIG"; then
49463 if test -n "$CAIRO_CFLAGS"; then
49464 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49466 if test -n "$PKG_CONFIG" && \
49467 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49468 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49471 (exit $ac_status); }; then
49472 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49480 if test -n "$PKG_CONFIG"; then
49481 if test -n "$CAIRO_LIBS"; then
49482 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49484 if test -n "$PKG_CONFIG" && \
49485 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49486 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49489 (exit $ac_status); }; then
49490 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49501 if test $pkg_failed = yes; then
49503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49504 _pkg_short_errors_supported=yes
49506 _pkg_short_errors_supported=no
49508 if test $_pkg_short_errors_supported = yes; then
49509 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49511 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49513 # Put the nasty error message in config.log where it belongs
49514 echo "$CAIRO_PKG_ERRORS" >&5
49516 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49517 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49519 elif test $pkg_failed = untried; then
49520 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49521 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49524 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49525 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49526 { echo "$as_me:$LINENO: result: yes" >&5
49527 echo "${ECHO_T}yes" >&6; }
49528 cat >>confdefs.h <<\_ACEOF
49529 #define wxUSE_GRAPHICS_CONTEXT 1
49539 if test "$wxUSE_MEDIACTRL" = "yes"; then
49542 if test "$wxUSE_GTK" = 1; then
49543 wxUSE_GSTREAMER="no"
49545 GST_VERSION_MAJOR=0
49546 GST_VERSION_MINOR=10
49547 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49549 if test "$wxUSE_GSTREAMER8" = "no"; then
49552 { echo "$as_me:$LINENO: checking for GST" >&5
49553 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49555 if test -n "$PKG_CONFIG"; then
49556 if test -n "$GST_CFLAGS"; then
49557 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49559 if test -n "$PKG_CONFIG" && \
49560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49561 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49564 (exit $ac_status); }; then
49565 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49573 if test -n "$PKG_CONFIG"; then
49574 if test -n "$GST_LIBS"; then
49575 pkg_cv_GST_LIBS="$GST_LIBS"
49577 if test -n "$PKG_CONFIG" && \
49578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49579 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49582 (exit $ac_status); }; then
49583 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49594 if test $pkg_failed = yes; then
49596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49597 _pkg_short_errors_supported=yes
49599 _pkg_short_errors_supported=no
49601 if test $_pkg_short_errors_supported = yes; then
49602 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49604 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49606 # Put the nasty error message in config.log where it belongs
49607 echo "$GST_PKG_ERRORS" >&5
49610 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49611 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49612 GST_VERSION_MINOR=8
49615 elif test $pkg_failed = untried; then
49617 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49618 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49619 GST_VERSION_MINOR=8
49623 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49624 GST_LIBS=$pkg_cv_GST_LIBS
49625 { echo "$as_me:$LINENO: result: yes" >&5
49626 echo "${ECHO_T}yes" >&6; }
49628 wxUSE_GSTREAMER="yes"
49629 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49633 GST_VERSION_MINOR=8
49636 if test $GST_VERSION_MINOR = "8"; then
49637 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49640 { echo "$as_me:$LINENO: checking for GST" >&5
49641 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49643 if test -n "$PKG_CONFIG"; then
49644 if test -n "$GST_CFLAGS"; then
49645 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49647 if test -n "$PKG_CONFIG" && \
49648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49649 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49652 (exit $ac_status); }; then
49653 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49661 if test -n "$PKG_CONFIG"; then
49662 if test -n "$GST_LIBS"; then
49663 pkg_cv_GST_LIBS="$GST_LIBS"
49665 if test -n "$PKG_CONFIG" && \
49666 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49667 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49670 (exit $ac_status); }; then
49671 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49682 if test $pkg_failed = yes; then
49684 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49685 _pkg_short_errors_supported=yes
49687 _pkg_short_errors_supported=no
49689 if test $_pkg_short_errors_supported = yes; then
49690 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49692 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49694 # Put the nasty error message in config.log where it belongs
49695 echo "$GST_PKG_ERRORS" >&5
49698 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49699 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49701 elif test $pkg_failed = untried; then
49703 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49704 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49707 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49708 GST_LIBS=$pkg_cv_GST_LIBS
49709 { echo "$as_me:$LINENO: result: yes" >&5
49710 echo "${ECHO_T}yes" >&6; }
49711 wxUSE_GSTREAMER="yes"
49716 if test "$wxUSE_GSTREAMER" = "yes"; then
49717 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49718 LIBS="$GST_LIBS $LIBS"
49720 cat >>confdefs.h <<\_ACEOF
49721 #define wxUSE_GSTREAMER 1
49729 if test $USE_MEDIA = 1; then
49730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49731 cat >>confdefs.h <<\_ACEOF
49732 #define wxUSE_MEDIACTRL 1
49739 if test "$cross_compiling" = "yes"; then
49742 OSINFO=`uname -s -r -m`
49743 OSINFO="\"$OSINFO\""
49746 cat >>confdefs.h <<_ACEOF
49747 #define WXWIN_OS_DESCRIPTION $OSINFO
49752 if test "x$prefix" != "xNONE"; then
49755 wxPREFIX=$ac_default_prefix
49758 cat >>confdefs.h <<_ACEOF
49759 #define wxINSTALL_PREFIX "$wxPREFIX"
49765 STD_BASE_LIBS="base"
49767 BUILT_WX_LIBS="base"
49768 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49770 if test "$wxUSE_SOCKETS" = "yes" ; then
49771 STD_BASE_LIBS="net $STD_BASE_LIBS"
49772 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49774 if test "$wxUSE_ODBC" != "no" ; then
49775 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49777 if test "$wxUSE_XML" = "yes" ; then
49778 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49779 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49782 if test "$wxUSE_GUI" = "yes"; then
49783 STD_GUI_LIBS="adv core"
49784 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49786 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49787 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49788 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49790 if test "$wxUSE_ODBC" != "no" ; then
49791 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49793 if test "$wxUSE_HTML" = "yes" ; then
49794 STD_GUI_LIBS="html $STD_GUI_LIBS"
49795 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49797 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49798 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49800 if test "$wxUSE_OPENGL" = "yes" ; then
49801 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49803 if test "$wxUSE_AUI" = "yes" ; then
49804 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49806 if test "$wxUSE_STC" = "yes" ; then
49807 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49809 if test "$wxUSE_XRC" = "yes" ; then
49810 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49811 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49822 if test "$wxUSE_MAC" = 1 ; then
49823 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49824 if test "$USE_DARWIN" = 1; then
49825 LDFLAGS="$LDFLAGS -framework QuickTime"
49827 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49830 if test "$USE_DARWIN" = 1; then
49831 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49833 LDFLAGS="$LDFLAGS -lCarbonLib"
49836 if test "$wxUSE_COCOA" = 1 ; then
49837 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49838 if test "$wxUSE_MEDIACTRL" = "yes"; then
49839 LDFLAGS="$LDFLAGS -framework QuickTime"
49842 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49843 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49846 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49848 if test "$wxUSE_GUI" = "yes"; then
49851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49852 dynamic erase event exec font image minimal mobile \
49853 mobile/wxedit mobile/styles propsize render \
49854 rotate shaped svg taborder vscroll widgets"
49856 if test "$wxUSE_MONOLITHIC" != "yes"; then
49857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49859 if test "$TOOLKIT" = "MSW"; then
49860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49861 if test "$wxUSE_UNIVERSAL" != "yes"; then
49862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49865 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49869 SAMPLES_SUBDIRS="console"
49873 if test "x$INTELCC" = "xyes" ; then
49874 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49875 elif test "$GCC" = yes ; then
49876 CWARNINGS="-Wall -Wundef"
49879 if test "x$INTELCXX" = "xyes" ; then
49880 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49881 elif test "$GXX" = yes ; then
49882 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49886 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49887 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49890 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49891 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49892 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49895 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49896 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49897 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49899 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49902 if test "x$MWCC" = "xyes"; then
49904 CC="$CC -cwd source -I-"
49905 CXX="$CXX -cwd source -I-"
49910 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49911 EXTRALIBS_XML="$EXPAT_LINK"
49912 EXTRALIBS_HTML="$MSPACK_LINK"
49913 EXTRALIBS_ODBC="$ODBC_LINK"
49914 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49915 if test "$wxUSE_GUI" = "yes"; then
49916 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49918 if test "$wxUSE_OPENGL" = "yes"; then
49919 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49922 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49924 WXCONFIG_LIBS="$LIBS"
49926 if test "$wxUSE_REGEX" = "builtin" ; then
49927 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49929 if test "$wxUSE_EXPAT" = "builtin" ; then
49930 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49932 if test "$wxUSE_ODBC" = "builtin" ; then
49933 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49935 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49936 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49938 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49939 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49941 if test "$wxUSE_LIBPNG" = "builtin" ; then
49942 wxconfig_3rdparty="png $wxconfig_3rdparty"
49944 if test "$wxUSE_ZLIB" = "builtin" ; then
49945 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49948 for i in $wxconfig_3rdparty ; do
49949 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49953 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49956 case "$wxUNIV_THEMES" in
49958 cat >>confdefs.h <<\_ACEOF
49959 #define wxUSE_ALL_THEMES 1
49965 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49966 cat >>confdefs.h <<_ACEOF
49967 #define wxUSE_THEME_$t 1
49984 if test $wxUSE_MONOLITHIC = "yes" ; then
49990 if test $wxUSE_PLUGINS = "yes" ; then
49996 if test $wxUSE_ODBC != "no" ; then
50002 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
50008 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
50039 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
50050 TOOLKIT_DESC="GTK+"
50051 if test "$WXGTK20" = 1; then
50052 TOOLKIT_DESC="$TOOLKIT_DESC 2"
50053 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
50054 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
50056 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
50057 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
50059 if test "$wxUSE_LIBHILDON" = "yes"; then
50060 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
50063 if test "$TOOLKIT_EXTRA" != ""; then
50064 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
50070 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
50074 TOOLKIT_DESC="base only"
50078 if test "$wxUSE_WINE" = "yes"; then
50079 BAKEFILE_FORCE_PLATFORM=win32
50082 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
50084 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
50085 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
50086 if test "${wx_cv_gcc_pch_bug+set}" = set; then
50087 echo $ECHO_N "(cached) $ECHO_C" >&6
50090 echo '#include <stdio.h>
50091 const wchar_t test_var[] = L"awidetest";' > conftest.h
50093 echo '#include "conftest.h"
50096 printf("%ls", test_var);
50100 wx_cv_gcc_pch_bug="pch not supported"
50102 if $CXX conftest.h >/dev/null 2>&1
50106 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
50108 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
50109 grep awidetest >/dev/null
50111 wx_cv_gcc_pch_bug=no
50113 wx_cv_gcc_pch_bug=yes
50118 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
50121 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
50122 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
50124 if test "$wx_cv_gcc_pch_bug" = yes; then
50132 if test "x$BAKEFILE_HOST" = "x"; then
50133 if test "x${host}" = "x" ; then
50134 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
50135 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
50136 { (exit 1); exit 1; }; }
50139 BAKEFILE_HOST="${host}"
50142 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
50144 if test -n "$ac_tool_prefix"; then
50145 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
50146 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
50147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50149 if test "${ac_cv_prog_RANLIB+set}" = set; then
50150 echo $ECHO_N "(cached) $ECHO_C" >&6
50152 if test -n "$RANLIB"; then
50153 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
50155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50156 for as_dir in $PATH
50159 test -z "$as_dir" && as_dir=.
50160 for ac_exec_ext in '' $ac_executable_extensions; do
50161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50162 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
50163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50172 RANLIB=$ac_cv_prog_RANLIB
50173 if test -n "$RANLIB"; then
50174 { echo "$as_me:$LINENO: result: $RANLIB" >&5
50175 echo "${ECHO_T}$RANLIB" >&6; }
50177 { echo "$as_me:$LINENO: result: no" >&5
50178 echo "${ECHO_T}no" >&6; }
50183 if test -z "$ac_cv_prog_RANLIB"; then
50184 ac_ct_RANLIB=$RANLIB
50185 # Extract the first word of "ranlib", so it can be a program name with args.
50186 set dummy ranlib; ac_word=$2
50187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50189 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
50190 echo $ECHO_N "(cached) $ECHO_C" >&6
50192 if test -n "$ac_ct_RANLIB"; then
50193 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
50195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50196 for as_dir in $PATH
50199 test -z "$as_dir" && as_dir=.
50200 for ac_exec_ext in '' $ac_executable_extensions; do
50201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50202 ac_cv_prog_ac_ct_RANLIB="ranlib"
50203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50212 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50213 if test -n "$ac_ct_RANLIB"; then
50214 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50215 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
50217 { echo "$as_me:$LINENO: result: no" >&5
50218 echo "${ECHO_T}no" >&6; }
50221 if test "x$ac_ct_RANLIB" = x; then
50224 case $cross_compiling:$ac_tool_warned in
50226 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50227 whose name does not start with the host triplet. If you think this
50228 configuration is useful to you, please write to autoconf@gnu.org." >&5
50229 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50230 whose name does not start with the host triplet. If you think this
50231 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50232 ac_tool_warned=yes ;;
50234 RANLIB=$ac_ct_RANLIB
50237 RANLIB="$ac_cv_prog_RANLIB"
50240 # Find a good install program. We prefer a C program (faster),
50241 # so one script is as good as another. But avoid the broken or
50242 # incompatible versions:
50243 # SysV /etc/install, /usr/sbin/install
50244 # SunOS /usr/etc/install
50245 # IRIX /sbin/install
50247 # AmigaOS /C/install, which installs bootblocks on floppy discs
50248 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
50249 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
50250 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
50251 # OS/2's system install, which has a completely different semantic
50252 # ./install, which can be erroneously created by make from ./install.sh.
50253 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
50254 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
50255 if test -z "$INSTALL"; then
50256 if test "${ac_cv_path_install+set}" = set; then
50257 echo $ECHO_N "(cached) $ECHO_C" >&6
50259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50260 for as_dir in $PATH
50263 test -z "$as_dir" && as_dir=.
50264 # Account for people who put trailing slashes in PATH elements.
50266 ./ | .// | /cC/* | \
50267 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
50268 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
50271 # OSF1 and SCO ODT 3.0 have their own names for install.
50272 # Don't use installbsd from OSF since it installs stuff as root
50274 for ac_prog in ginstall scoinst install; do
50275 for ac_exec_ext in '' $ac_executable_extensions; do
50276 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
50277 if test $ac_prog = install &&
50278 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50279 # AIX install. It has an incompatible calling convention.
50281 elif test $ac_prog = install &&
50282 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50283 # program-specific install script used by HP pwplus--don't use.
50286 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
50299 if test "${ac_cv_path_install+set}" = set; then
50300 INSTALL=$ac_cv_path_install
50302 # As a last resort, use the slow shell script. Don't cache a
50303 # value for INSTALL within a source directory, because that will
50304 # break other packages using the cache if that directory is
50305 # removed, or if the value is a relative name.
50306 INSTALL=$ac_install_sh
50309 { echo "$as_me:$LINENO: result: $INSTALL" >&5
50310 echo "${ECHO_T}$INSTALL" >&6; }
50312 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
50313 # It thinks the first close brace ends the variable substitution.
50314 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
50316 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
50318 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
50320 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
50321 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
50323 if test "$LN_S" = "ln -s"; then
50324 { echo "$as_me:$LINENO: result: yes" >&5
50325 echo "${ECHO_T}yes" >&6; }
50327 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50328 echo "${ECHO_T}no, using $LN_S" >&6; }
50332 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50333 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50334 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50335 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50336 echo $ECHO_N "(cached) $ECHO_C" >&6
50338 cat >conftest.make <<\_ACEOF
50341 @echo '@@@%%%=$(MAKE)=@@@%%%'
50343 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50344 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50345 *@@@%%%=?*=@@@%%%*)
50346 eval ac_cv_prog_make_${ac_make}_set=yes;;
50348 eval ac_cv_prog_make_${ac_make}_set=no;;
50350 rm -f conftest.make
50352 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50353 { echo "$as_me:$LINENO: result: yes" >&5
50354 echo "${ECHO_T}yes" >&6; }
50357 { echo "$as_me:$LINENO: result: no" >&5
50358 echo "${ECHO_T}no" >&6; }
50359 SET_MAKE="MAKE=${MAKE-make}"
50364 if test "x$SUNCXX" = "xyes"; then
50366 AROPTIONS="-xar -o"
50368 elif test "x$SGICC" = "xyes"; then
50373 if test -n "$ac_tool_prefix"; then
50374 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50375 set dummy ${ac_tool_prefix}ar; ac_word=$2
50376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50378 if test "${ac_cv_prog_AR+set}" = set; then
50379 echo $ECHO_N "(cached) $ECHO_C" >&6
50381 if test -n "$AR"; then
50382 ac_cv_prog_AR="$AR" # Let the user override the test.
50384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50385 for as_dir in $PATH
50388 test -z "$as_dir" && as_dir=.
50389 for ac_exec_ext in '' $ac_executable_extensions; do
50390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50391 ac_cv_prog_AR="${ac_tool_prefix}ar"
50392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50402 if test -n "$AR"; then
50403 { echo "$as_me:$LINENO: result: $AR" >&5
50404 echo "${ECHO_T}$AR" >&6; }
50406 { echo "$as_me:$LINENO: result: no" >&5
50407 echo "${ECHO_T}no" >&6; }
50412 if test -z "$ac_cv_prog_AR"; then
50414 # Extract the first word of "ar", so it can be a program name with args.
50415 set dummy ar; ac_word=$2
50416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50418 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50419 echo $ECHO_N "(cached) $ECHO_C" >&6
50421 if test -n "$ac_ct_AR"; then
50422 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50425 for as_dir in $PATH
50428 test -z "$as_dir" && as_dir=.
50429 for ac_exec_ext in '' $ac_executable_extensions; do
50430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50431 ac_cv_prog_ac_ct_AR="ar"
50432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50441 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50442 if test -n "$ac_ct_AR"; then
50443 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50444 echo "${ECHO_T}$ac_ct_AR" >&6; }
50446 { echo "$as_me:$LINENO: result: no" >&5
50447 echo "${ECHO_T}no" >&6; }
50450 if test "x$ac_ct_AR" = x; then
50453 case $cross_compiling:$ac_tool_warned in
50455 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50456 whose name does not start with the host triplet. If you think this
50457 configuration is useful to you, please write to autoconf@gnu.org." >&5
50458 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50459 whose name does not start with the host triplet. If you think this
50460 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50461 ac_tool_warned=yes ;;
50466 AR="$ac_cv_prog_AR"
50473 if test -n "$ac_tool_prefix"; then
50474 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50475 set dummy ${ac_tool_prefix}strip; ac_word=$2
50476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50478 if test "${ac_cv_prog_STRIP+set}" = set; then
50479 echo $ECHO_N "(cached) $ECHO_C" >&6
50481 if test -n "$STRIP"; then
50482 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50485 for as_dir in $PATH
50488 test -z "$as_dir" && as_dir=.
50489 for ac_exec_ext in '' $ac_executable_extensions; do
50490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50491 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50501 STRIP=$ac_cv_prog_STRIP
50502 if test -n "$STRIP"; then
50503 { echo "$as_me:$LINENO: result: $STRIP" >&5
50504 echo "${ECHO_T}$STRIP" >&6; }
50506 { echo "$as_me:$LINENO: result: no" >&5
50507 echo "${ECHO_T}no" >&6; }
50512 if test -z "$ac_cv_prog_STRIP"; then
50514 # Extract the first word of "strip", so it can be a program name with args.
50515 set dummy strip; ac_word=$2
50516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50518 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50519 echo $ECHO_N "(cached) $ECHO_C" >&6
50521 if test -n "$ac_ct_STRIP"; then
50522 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50525 for as_dir in $PATH
50528 test -z "$as_dir" && as_dir=.
50529 for ac_exec_ext in '' $ac_executable_extensions; do
50530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50531 ac_cv_prog_ac_ct_STRIP="strip"
50532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50541 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50542 if test -n "$ac_ct_STRIP"; then
50543 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50544 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50546 { echo "$as_me:$LINENO: result: no" >&5
50547 echo "${ECHO_T}no" >&6; }
50550 if test "x$ac_ct_STRIP" = x; then
50553 case $cross_compiling:$ac_tool_warned in
50555 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50556 whose name does not start with the host triplet. If you think this
50557 configuration is useful to you, please write to autoconf@gnu.org." >&5
50558 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50559 whose name does not start with the host triplet. If you think this
50560 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50561 ac_tool_warned=yes ;;
50566 STRIP="$ac_cv_prog_STRIP"
50569 if test -n "$ac_tool_prefix"; then
50570 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50571 set dummy ${ac_tool_prefix}nm; ac_word=$2
50572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50574 if test "${ac_cv_prog_NM+set}" = set; then
50575 echo $ECHO_N "(cached) $ECHO_C" >&6
50577 if test -n "$NM"; then
50578 ac_cv_prog_NM="$NM" # Let the user override the test.
50580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50581 for as_dir in $PATH
50584 test -z "$as_dir" && as_dir=.
50585 for ac_exec_ext in '' $ac_executable_extensions; do
50586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50587 ac_cv_prog_NM="${ac_tool_prefix}nm"
50588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50598 if test -n "$NM"; then
50599 { echo "$as_me:$LINENO: result: $NM" >&5
50600 echo "${ECHO_T}$NM" >&6; }
50602 { echo "$as_me:$LINENO: result: no" >&5
50603 echo "${ECHO_T}no" >&6; }
50608 if test -z "$ac_cv_prog_NM"; then
50610 # Extract the first word of "nm", so it can be a program name with args.
50611 set dummy nm; ac_word=$2
50612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50614 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50615 echo $ECHO_N "(cached) $ECHO_C" >&6
50617 if test -n "$ac_ct_NM"; then
50618 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50621 for as_dir in $PATH
50624 test -z "$as_dir" && as_dir=.
50625 for ac_exec_ext in '' $ac_executable_extensions; do
50626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50627 ac_cv_prog_ac_ct_NM="nm"
50628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50637 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50638 if test -n "$ac_ct_NM"; then
50639 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50640 echo "${ECHO_T}$ac_ct_NM" >&6; }
50642 { echo "$as_me:$LINENO: result: no" >&5
50643 echo "${ECHO_T}no" >&6; }
50646 if test "x$ac_ct_NM" = x; then
50649 case $cross_compiling:$ac_tool_warned in
50651 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50652 whose name does not start with the host triplet. If you think this
50653 configuration is useful to you, please write to autoconf@gnu.org." >&5
50654 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50655 whose name does not start with the host triplet. If you think this
50656 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50657 ac_tool_warned=yes ;;
50662 NM="$ac_cv_prog_NM"
50666 case ${BAKEFILE_HOST} in
50668 INSTALL_DIR="mkdir -p"
50671 INSTALL_DIR='$(INSTALL) -d'
50677 case ${BAKEFILE_HOST} in
50678 *-*-cygwin* | *-*-mingw32* )
50679 LDFLAGS_GUI="-mwindows"
50685 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50686 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50687 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50688 echo $ECHO_N "(cached) $ECHO_C" >&6
50691 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50692 egrep -s GNU > /dev/null); then
50693 bakefile_cv_prog_makeisgnu="yes"
50695 bakefile_cv_prog_makeisgnu="no"
50699 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50700 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50702 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50719 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50720 case "${BAKEFILE_HOST}" in
50727 *-pc-os2_emx | *-pc-os2-emx )
50737 powerpc-apple-macos* )
50746 case "$BAKEFILE_FORCE_PLATFORM" in
50781 # Check whether --enable-omf was given.
50782 if test "${enable_omf+set}" = set; then
50783 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50787 case "${BAKEFILE_HOST}" in
50789 if test "x$GCC" = "xyes"; then
50790 CFLAGS="$CFLAGS -fno-common"
50791 CXXFLAGS="$CXXFLAGS -fno-common"
50793 if test "x$XLCC" = "xyes"; then
50794 CFLAGS="$CFLAGS -qnocommon"
50795 CXXFLAGS="$CXXFLAGS -qnocommon"
50799 *-pc-os2_emx | *-pc-os2-emx )
50800 if test "x$bk_os2_use_omf" = "xyes" ; then
50803 LDFLAGS="-Zomf $LDFLAGS"
50804 CFLAGS="-Zomf $CFLAGS"
50805 CXXFLAGS="-Zomf $CXXFLAGS"
50813 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50819 SO_SUFFIX_MODULE="so"
50824 DLLPREFIX_MODULE=""
50828 case "${BAKEFILE_HOST}" in
50831 SO_SUFFIX_MODULE="sl"
50835 SO_SUFFIX_MODULE="a"
50839 SO_SUFFIX_MODULE="dll"
50840 DLLIMP_SUFFIX="dll.a"
50847 SO_SUFFIX_MODULE="dll"
50848 DLLIMP_SUFFIX="dll.a"
50858 *-pc-os2_emx | *-pc-os2-emx )
50860 SO_SUFFIX_MODULE="dll"
50861 DLLIMP_SUFFIX=$OS2_LIBEXT
50865 LIBEXT=".$OS2_LIBEXT"
50870 SO_SUFFIX_MODULE="bundle"
50874 if test "x$DLLIMP_SUFFIX" = "x" ; then
50875 DLLIMP_SUFFIX="$SO_SUFFIX"
50890 if test "x$GCC" = "xyes"; then
50894 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50895 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50898 case "${BAKEFILE_HOST}" in
50900 if test "x$GCC" != "xyes"; then
50901 LDFLAGS="$LDFLAGS -L/usr/lib"
50903 SHARED_LD_CC="${CC} -b -o"
50904 SHARED_LD_CXX="${CXX} -b -o"
50910 if test "$INTELCC" = "yes"; then
50912 elif test "x$SUNCXX" = "xyes"; then
50913 SHARED_LD_CC="${CC} -G -o"
50914 SHARED_LD_CXX="${CXX} -G -o"
50920 if test "x$SUNCXX" = xyes ; then
50921 SHARED_LD_CC="${CC} -G -o"
50922 SHARED_LD_CXX="${CXX} -G -o"
50930 cat <<EOF >shared-ld-sh
50932 #-----------------------------------------------------------------------------
50933 #-- Name: distrib/mac/shared-ld-sh
50934 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50935 #-- Author: Gilles Depeyrot
50936 #-- Copyright: (c) 2002 Gilles Depeyrot
50937 #-- Licence: any use permitted
50938 #-----------------------------------------------------------------------------
50943 linking_flag="-dynamiclib"
50944 ldargs="-r -keep_private_externs -nostdlib"
50946 while test ${D}# -gt 0; do
50953 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50954 # collect these options and values
50955 args="${D}{args} ${D}1 ${D}2"
50960 # collect these load args
50961 ldargs="${D}{ldargs} ${D}1"
50964 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50965 # collect these options
50966 args="${D}{args} ${D}1"
50969 -dynamiclib|-bundle)
50970 linking_flag="${D}1"
50974 echo "shared-ld: unhandled option '${D}1'"
50978 *.o | *.a | *.dylib)
50979 # collect object files
50980 objects="${D}{objects} ${D}1"
50984 echo "shared-ld: unhandled argument '${D}1'"
50995 # Link one module containing all the others
50997 if test ${D}{verbose} = 1; then
50998 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
51000 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
51004 # Link the shared library from the single module created, but only if the
51005 # previous command didn't fail:
51007 if test ${D}{status} = 0; then
51008 if test ${D}{verbose} = 1; then
51009 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
51011 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
51016 # Remove intermediate module
51018 rm -f master.${D}${D}.o
51023 chmod +x shared-ld-sh
51025 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
51026 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
51029 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
51030 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
51031 if test "${bakefile_cv_gcc31+set}" = set; then
51032 echo $ECHO_N "(cached) $ECHO_C" >&6
51035 cat >conftest.$ac_ext <<_ACEOF
51038 cat confdefs.h >>conftest.$ac_ext
51039 cat >>conftest.$ac_ext <<_ACEOF
51040 /* end confdefs.h. */
51046 #if (__GNUC__ < 3) || \
51047 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
51055 rm -f conftest.$ac_objext
51056 if { (ac_try="$ac_compile"
51057 case "(($ac_try" in
51058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51059 *) ac_try_echo=$ac_try;;
51061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51062 (eval "$ac_compile") 2>conftest.er1
51064 grep -v '^ *+' conftest.er1 >conftest.err
51066 cat conftest.err >&5
51067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51068 (exit $ac_status); } && {
51069 test -z "$ac_c_werror_flag" ||
51070 test ! -s conftest.err
51071 } && test -s conftest.$ac_objext; then
51073 bakefile_cv_gcc31=yes
51076 echo "$as_me: failed program was:" >&5
51077 sed 's/^/| /' conftest.$ac_ext >&5
51080 bakefile_cv_gcc31=no
51085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51088 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
51089 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
51090 if test "$bakefile_cv_gcc31" = "no"; then
51091 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
51092 SHARED_LD_CXX="$SHARED_LD_CC"
51094 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
51095 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
51098 if test "x$GCC" == "xyes"; then
51099 PIC_FLAG="-dynamic -fPIC"
51101 if test "x$XLCC" = "xyes"; then
51102 PIC_FLAG="-dynamic -DPIC"
51107 if test "x$GCC" = "xyes"; then
51110 case "${BAKEFILE_HOST}" in
51112 LD_EXPFULL="-Wl,-bexpfull"
51116 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
51117 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
51119 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
51120 set dummy makeC++SharedLib; ac_word=$2
51121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51123 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
51124 echo $ECHO_N "(cached) $ECHO_C" >&6
51126 if test -n "$AIX_CXX_LD"; then
51127 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
51129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51130 for as_dir in $PATH
51133 test -z "$as_dir" && as_dir=.
51134 for ac_exec_ext in '' $ac_executable_extensions; do
51135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51136 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
51137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51144 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
51147 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
51148 if test -n "$AIX_CXX_LD"; then
51149 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
51150 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
51152 { echo "$as_me:$LINENO: result: no" >&5
51153 echo "${ECHO_T}no" >&6; }
51157 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
51158 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
51163 SHARED_LD_CC="${LD} -nostart -o"
51164 SHARED_LD_CXX="${LD} -nostart -o"
51168 if test "x$GCC" != "xyes"; then
51173 *-*-cygwin* | *-*-mingw32* )
51175 SHARED_LD_CC="\$(CC) -shared -o"
51176 SHARED_LD_CXX="\$(CXX) -shared -o"
51180 *-pc-os2_emx | *-pc-os2-emx )
51181 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51182 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51186 cat <<EOF >dllar.sh
51189 # dllar - a tool to build both a .dll and an .a file
51190 # from a set of object (.o) files for EMX/OS2.
51192 # Written by Andrew Zabolotny, bit@freya.etu.ru
51193 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
51195 # This script will accept a set of files on the command line.
51196 # All the public symbols from the .o files will be exported into
51197 # a .DEF file, then linker will be run (through gcc) against them to
51198 # build a shared library consisting of all given .o files. All libraries
51199 # (.a) will be first decompressed into component .o files then act as
51200 # described above. You can optionally give a description (-d "description")
51201 # which will be put into .DLL. To see the list of accepted options (as well
51202 # as command-line format) simply run this program without options. The .DLL
51203 # is built to be imported by name (there is no guarantee that new versions
51204 # of the library you build will have same ordinals for same symbols).
51206 # dllar is free software; you can redistribute it and/or modify
51207 # it under the terms of the GNU General Public License as published by
51208 # the Free Software Foundation; either version 2, or (at your option)
51209 # any later version.
51211 # dllar is distributed in the hope that it will be useful,
51212 # but WITHOUT ANY WARRANTY; without even the implied warranty of
51213 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51214 # GNU General Public License for more details.
51216 # You should have received a copy of the GNU General Public License
51217 # along with dllar; see the file COPYING. If not, write to the Free
51218 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
51221 # To successfuly run this program you will need:
51222 # - Current drive should have LFN support (HPFS, ext2, network, etc)
51223 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
51225 # (used to build the .dll)
51227 # (used to create .def file from .o files)
51229 # (used to create .a file from .def file)
51230 # - GNU text utilites (cat, sort, uniq)
51231 # used to process emxexp output
51232 # - GNU file utilities (mv, rm)
51234 # - lxlite (optional, see flag below)
51235 # (used for general .dll cleanup)
51242 # basnam, variant of basename, which does _not_ remove the path, _iff_
51243 # second argument (suffix to remove) is given
51247 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
51250 echo ${D}1 | sed 's/'${D}2'${D}//'
51253 echo "error in basnam ${D}*"
51259 # Cleanup temporary files and output
51262 for i in ${D}inputFiles ; do
51265 rm -rf \`basnam ${D}i !\`
51272 # Kill result in case of failure as there is just to many stupid make/nmake
51273 # things out there which doesn't do this.
51274 if [ ${D}# -eq 0 ]; then
51275 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
51279 # Print usage and exit script with rc=1.
51281 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
51282 echo ' [-name-mangler-script script.sh]'
51283 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
51284 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
51285 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
51286 echo ' [*.o] [*.a]'
51287 echo '*> "output_file" should have no extension.'
51288 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
51289 echo ' The import library name is derived from this and is set to "name".a,'
51290 echo ' unless overridden by -import'
51291 echo '*> "importlib_name" should have no extension.'
51292 echo ' If it has the .o, or .a extension, it is automatically removed.'
51293 echo ' This name is used as the import library name and may be longer and'
51294 echo ' more descriptive than the DLL name which has to follow the old '
51295 echo ' 8.3 convention of FAT.'
51296 echo '*> "script.sh may be given to override the output_file name by a'
51297 echo ' different name. It is mainly useful if the regular make process'
51298 echo ' of some package does not take into account OS/2 restriction of'
51299 echo ' DLL name lengths. It takes the importlib name as input and is'
51300 echo ' supposed to procude a shorter name as output. The script should'
51301 echo ' expect to get importlib_name without extension and should produce'
51302 echo ' a (max.) 8 letter name without extension.'
51303 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
51304 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
51305 echo ' These flags will be put at the start of GCC command line.'
51306 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
51307 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
51308 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
51309 echo ' If the last character of a symbol is "*", all symbols beginning'
51310 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
51311 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
51312 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
51313 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
51314 echo ' C runtime DLLs.'
51315 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
51316 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
51317 echo ' unchanged to GCC at the end of command line.'
51318 echo '*> If you create a DLL from a library and you do not specify -o,'
51319 echo ' the basename for DLL and import library will be set to library name,'
51320 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
51321 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
51322 echo ' library will be renamed into gcc_s.a.'
51325 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
51326 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
51331 # Execute a command.
51332 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51333 # @Uses Whatever CleanUp() uses.
51339 if [ ${D}rcCmd -ne 0 ]; then
51340 echo "command failed, exit code="${D}rcCmd
51355 CFLAGS="-s -Zcrtdll"
51357 EXPORT_BY_ORDINALS=0
51362 case ${D}curDirS in
51366 curDirS=${D}{curDirS}"/"
51369 # Parse commandline
51372 while [ ${D}1 ]; do
51375 EXPORT_BY_ORDINALS=1;
51385 -name-mangler-script)
51406 exclude_symbols=${D}{exclude_symbols}${D}1" "
51410 library_flags=${D}{library_flags}${D}1" "
51429 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51432 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51433 if [ ${D}omfLinking -eq 1 ]; then
51434 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51436 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51441 if [ ${D}libsToLink -ne 0 ]; then
51442 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51444 for file in ${D}1 ; do
51445 if [ -f ${D}file ]; then
51446 inputFiles="${D}{inputFiles} ${D}file"
51450 if [ ${D}found -eq 0 ]; then
51451 echo "ERROR: No file(s) found: "${D}1
51458 done # iterate cmdline words
51461 if [ -z "${D}inputFiles" ]; then
51462 echo "dllar: no input files"
51466 # Now extract all .o files from .a files
51468 for file in ${D}inputFiles ; do
51479 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51484 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51486 if [ ${D}? -ne 0 ]; then
51487 echo "Failed to create subdirectory ./${D}dirname"
51491 # Append '!' to indicate archive
51492 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51493 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51496 for subfile in ${D}dirname/*.o* ; do
51497 if [ -f ${D}subfile ]; then
51499 if [ -s ${D}subfile ]; then
51500 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51501 newInputFiles="${D}newInputFiles ${D}subfile"
51505 if [ ${D}found -eq 0 ]; then
51506 echo "WARNING: there are no files in archive \\'${D}file\\'"
51510 newInputFiles="${D}{newInputFiles} ${D}file"
51514 inputFiles="${D}newInputFiles"
51516 # Output filename(s).
51518 if [ -z ${D}outFile ]; then
51520 set outFile ${D}inputFiles; outFile=${D}2
51523 # If it is an archive, remove the '!' and the '_%' suffixes
51524 case ${D}outFile in
51526 outFile=\`basnam ${D}outFile _%!\`
51531 case ${D}outFile in
51533 outFile=\`basnam ${D}outFile .dll\`
51536 outFile=\`basnam ${D}outFile .DLL\`
51539 outFile=\`basnam ${D}outFile .o\`
51542 outFile=\`basnam ${D}outFile .obj\`
51545 outFile=\`basnam ${D}outFile .a\`
51548 outFile=\`basnam ${D}outFile .lib\`
51553 case ${D}outimpFile in
51555 outimpFile=\`basnam ${D}outimpFile .a\`
51558 outimpFile=\`basnam ${D}outimpFile .lib\`
51563 if [ -z ${D}outimpFile ]; then
51564 outimpFile=${D}outFile
51566 defFile="${D}{outFile}.def"
51567 arcFile="${D}{outimpFile}.a"
51568 arcFile2="${D}{outimpFile}.lib"
51570 #create ${D}dllFile as something matching 8.3 restrictions,
51571 if [ -z ${D}renameScript ] ; then
51572 dllFile="${D}outFile"
51574 dllFile=\`${D}renameScript ${D}outimpFile\`
51577 if [ ${D}do_backup -ne 0 ] ; then
51578 if [ -f ${D}arcFile ] ; then
51579 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51581 if [ -f ${D}arcFile2 ] ; then
51582 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51586 # Extract public symbols from all the object files.
51587 tmpdefFile=${D}{defFile}_%
51588 rm -f ${D}tmpdefFile
51589 for file in ${D}inputFiles ; do
51594 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51599 # Create the def file.
51601 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51602 dllFile="${D}{dllFile}.dll"
51603 if [ ! -z ${D}description ]; then
51604 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51606 echo "EXPORTS" >> ${D}defFile
51608 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51609 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51611 # Checks if the export is ok or not.
51612 for word in ${D}exclude_symbols; do
51613 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51614 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51618 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51619 sed "=" < ${D}tmpdefFile | \\
51623 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51625 ' > ${D}{tmpdefFile}%
51626 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51628 rm -f ${D}{tmpdefFile}%
51630 cat ${D}tmpdefFile >> ${D}defFile
51631 rm -f ${D}tmpdefFile
51633 # Do linking, create implib, and apply lxlite.
51635 for file in ${D}inputFiles ; do
51640 gccCmdl="${D}gccCmdl ${D}file"
51644 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51645 touch "${D}{outFile}.dll"
51647 doCommand "emximp -o ${D}arcFile ${D}defFile"
51648 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51650 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51653 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51655 doCommand "emxomf -s -l ${D}arcFile"
51665 powerpc-apple-macos* | \
51666 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51676 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51677 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51678 { (exit 1); exit 1; }; }
51681 if test "x$PIC_FLAG" != "x" ; then
51682 PIC_FLAG="$PIC_FLAG -DPIC"
51685 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51686 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51688 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51689 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51708 case "${BAKEFILE_HOST}" in
51709 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51710 if test "x$SUNCXX" = "xyes"; then
51713 SONAME_FLAG="-Wl,-soname,"
51748 # Check whether --enable-dependency-tracking was given.
51749 if test "${enable_dependency_tracking+set}" = set; then
51750 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51754 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51755 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51758 if test "x$bk_use_trackdeps" = "xno" ; then
51760 { echo "$as_me:$LINENO: result: disabled" >&5
51761 echo "${ECHO_T}disabled" >&6; }
51765 if test "x$GCC" = "xyes"; then
51767 case "${BAKEFILE_HOST}" in
51769 DEPSFLAG="-no-cpp-precomp -MMD"
51775 { echo "$as_me:$LINENO: result: gcc" >&5
51776 echo "${ECHO_T}gcc" >&6; }
51777 elif test "x$MWCC" = "xyes"; then
51780 { echo "$as_me:$LINENO: result: mwcc" >&5
51781 echo "${ECHO_T}mwcc" >&6; }
51782 elif test "x$SUNCC" = "xyes"; then
51785 { echo "$as_me:$LINENO: result: Sun cc" >&5
51786 echo "${ECHO_T}Sun cc" >&6; }
51787 elif test "x$SGICC" = "xyes"; then
51790 { echo "$as_me:$LINENO: result: SGI cc" >&5
51791 echo "${ECHO_T}SGI cc" >&6; }
51792 elif test "x$HPCC" = "xyes"; then
51795 { echo "$as_me:$LINENO: result: HP cc" >&5
51796 echo "${ECHO_T}HP cc" >&6; }
51797 elif test "x$COMPAQCC" = "xyes"; then
51800 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51801 echo "${ECHO_T}Compaq cc" >&6; }
51804 { echo "$as_me:$LINENO: result: none" >&5
51805 echo "${ECHO_T}none" >&6; }
51808 if test $DEPS_TRACKING = 1 ; then
51814 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51815 # script. It is used to track C/C++ files dependencies in portable way.
51817 # Permission is given to use this file in any way.
51819 DEPSMODE=${DEPSMODE}
51821 DEPSFLAG="${DEPSFLAG}"
51823 mkdir -p ${D}DEPSDIR
51825 if test ${D}DEPSMODE = gcc ; then
51826 ${D}* ${D}{DEPSFLAG}
51828 if test ${D}{status} != 0 ; then
51831 # move created file to the location we want it in:
51832 while test ${D}# -gt 0; do
51846 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51847 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51848 if test -f ${D}depfile ; then
51849 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51852 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51853 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51854 if test ! -f ${D}depfile ; then
51855 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51856 depfile="${D}objfile.d"
51858 if test -f ${D}depfile ; then
51859 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51864 elif test ${D}DEPSMODE = mwcc ; then
51865 ${D}* || exit ${D}?
51866 # Run mwcc again with -MM and redirect into the dep file we want
51867 # NOTE: We can't use shift here because we need ${D}* to be valid
51869 for arg in ${D}* ; do
51870 if test "${D}prevarg" = "-o"; then
51883 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51885 elif test ${D}DEPSMODE = unixcc; then
51886 ${D}* || exit ${D}?
51887 # Run compiler again with deps flag and redirect into the dep file.
51888 # It doesn't work if the '-o FILE' option is used, but without it the
51889 # dependency file will contain the wrong name for the object. So it is
51890 # removed from the command line, and the dep file is fixed with sed.
51892 while test ${D}# -gt 0; do
51899 eval arg${D}#=\\${D}1
51900 cmd="${D}cmd \\${D}arg${D}#"
51905 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51914 BK_DEPS="`pwd`/bk-deps"
51922 case ${BAKEFILE_HOST} in
51923 *-*-cygwin* | *-*-mingw32* )
51924 if test -n "$ac_tool_prefix"; then
51925 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51926 set dummy ${ac_tool_prefix}windres; ac_word=$2
51927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51929 if test "${ac_cv_prog_WINDRES+set}" = set; then
51930 echo $ECHO_N "(cached) $ECHO_C" >&6
51932 if test -n "$WINDRES"; then
51933 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51936 for as_dir in $PATH
51939 test -z "$as_dir" && as_dir=.
51940 for ac_exec_ext in '' $ac_executable_extensions; do
51941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51942 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51952 WINDRES=$ac_cv_prog_WINDRES
51953 if test -n "$WINDRES"; then
51954 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51955 echo "${ECHO_T}$WINDRES" >&6; }
51957 { echo "$as_me:$LINENO: result: no" >&5
51958 echo "${ECHO_T}no" >&6; }
51963 if test -z "$ac_cv_prog_WINDRES"; then
51964 ac_ct_WINDRES=$WINDRES
51965 # Extract the first word of "windres", so it can be a program name with args.
51966 set dummy windres; ac_word=$2
51967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51969 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51970 echo $ECHO_N "(cached) $ECHO_C" >&6
51972 if test -n "$ac_ct_WINDRES"; then
51973 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51976 for as_dir in $PATH
51979 test -z "$as_dir" && as_dir=.
51980 for ac_exec_ext in '' $ac_executable_extensions; do
51981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51982 ac_cv_prog_ac_ct_WINDRES="windres"
51983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51992 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51993 if test -n "$ac_ct_WINDRES"; then
51994 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51995 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51997 { echo "$as_me:$LINENO: result: no" >&5
51998 echo "${ECHO_T}no" >&6; }
52001 if test "x$ac_ct_WINDRES" = x; then
52004 case $cross_compiling:$ac_tool_warned in
52006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52007 whose name does not start with the host triplet. If you think this
52008 configuration is useful to you, please write to autoconf@gnu.org." >&5
52009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52010 whose name does not start with the host triplet. If you think this
52011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52012 ac_tool_warned=yes ;;
52014 WINDRES=$ac_ct_WINDRES
52017 WINDRES="$ac_cv_prog_WINDRES"
52022 *-*-darwin* | powerpc-apple-macos* )
52023 # Extract the first word of "Rez", so it can be a program name with args.
52024 set dummy Rez; ac_word=$2
52025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52027 if test "${ac_cv_prog_REZ+set}" = set; then
52028 echo $ECHO_N "(cached) $ECHO_C" >&6
52030 if test -n "$REZ"; then
52031 ac_cv_prog_REZ="$REZ" # Let the user override the test.
52033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52034 for as_dir in $PATH
52037 test -z "$as_dir" && as_dir=.
52038 for ac_exec_ext in '' $ac_executable_extensions; do
52039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52040 ac_cv_prog_REZ="Rez"
52041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52048 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
52051 REZ=$ac_cv_prog_REZ
52052 if test -n "$REZ"; then
52053 { echo "$as_me:$LINENO: result: $REZ" >&5
52054 echo "${ECHO_T}$REZ" >&6; }
52056 { echo "$as_me:$LINENO: result: no" >&5
52057 echo "${ECHO_T}no" >&6; }
52061 # Extract the first word of "SetFile", so it can be a program name with args.
52062 set dummy SetFile; ac_word=$2
52063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52065 if test "${ac_cv_prog_SETFILE+set}" = set; then
52066 echo $ECHO_N "(cached) $ECHO_C" >&6
52068 if test -n "$SETFILE"; then
52069 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
52071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52072 for as_dir in $PATH
52075 test -z "$as_dir" && as_dir=.
52076 for ac_exec_ext in '' $ac_executable_extensions; do
52077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52078 ac_cv_prog_SETFILE="SetFile"
52079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52086 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
52089 SETFILE=$ac_cv_prog_SETFILE
52090 if test -n "$SETFILE"; then
52091 { echo "$as_me:$LINENO: result: $SETFILE" >&5
52092 echo "${ECHO_T}$SETFILE" >&6; }
52094 { echo "$as_me:$LINENO: result: no" >&5
52095 echo "${ECHO_T}no" >&6; }
52107 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
52110 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
52114 # Check whether --enable-precomp-headers was given.
52115 if test "${enable_precomp_headers+set}" = set; then
52116 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
52125 case ${BAKEFILE_HOST} in
52131 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
52132 if test "x$GCC" = "xyes"; then
52133 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
52134 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
52135 cat >conftest.$ac_ext <<_ACEOF
52138 cat confdefs.h >>conftest.$ac_ext
52139 cat >>conftest.$ac_ext <<_ACEOF
52140 /* end confdefs.h. */
52146 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
52147 There is no PCH support
52150 There is no PCH support
52152 #if (__GNUC__ == 3) && \
52153 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
52154 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
52155 ( defined(__INTEL_COMPILER) )
52156 There is no PCH support
52163 rm -f conftest.$ac_objext
52164 if { (ac_try="$ac_compile"
52165 case "(($ac_try" in
52166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52167 *) ac_try_echo=$ac_try;;
52169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52170 (eval "$ac_compile") 2>conftest.er1
52172 grep -v '^ *+' conftest.er1 >conftest.err
52174 cat conftest.err >&5
52175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52176 (exit $ac_status); } && {
52177 test -z "$ac_c_werror_flag" ||
52178 test ! -s conftest.err
52179 } && test -s conftest.$ac_objext; then
52181 { echo "$as_me:$LINENO: result: yes" >&5
52182 echo "${ECHO_T}yes" >&6; }
52186 echo "$as_me: failed program was:" >&5
52187 sed 's/^/| /' conftest.$ac_ext >&5
52190 cat >conftest.$ac_ext <<_ACEOF
52193 cat confdefs.h >>conftest.$ac_ext
52194 cat >>conftest.$ac_ext <<_ACEOF
52195 /* end confdefs.h. */
52201 #if !defined(__INTEL_COMPILER) || \
52202 (__INTEL_COMPILER < 800)
52203 There is no PCH support
52210 rm -f conftest.$ac_objext
52211 if { (ac_try="$ac_compile"
52212 case "(($ac_try" in
52213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52214 *) ac_try_echo=$ac_try;;
52216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52217 (eval "$ac_compile") 2>conftest.er1
52219 grep -v '^ *+' conftest.er1 >conftest.err
52221 cat conftest.err >&5
52222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52223 (exit $ac_status); } && {
52224 test -z "$ac_c_werror_flag" ||
52225 test ! -s conftest.err
52226 } && test -s conftest.$ac_objext; then
52228 { echo "$as_me:$LINENO: result: yes" >&5
52229 echo "${ECHO_T}yes" >&6; }
52233 echo "$as_me: failed program was:" >&5
52234 sed 's/^/| /' conftest.$ac_ext >&5
52237 { echo "$as_me:$LINENO: result: no" >&5
52238 echo "${ECHO_T}no" >&6; }
52242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52247 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
52251 cat <<EOF >bk-make-pch
52254 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
52255 # script. It is used to generated precompiled headers.
52257 # Permission is given to use this file in any way.
52267 while test ${D}{#} -gt 0; do
52271 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
52272 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
52273 headerfile="${D}{incdir}/${D}{header}"
52276 -use-pch|-use_pch )
52281 if test ${D}add_to_cmdline = 1 ; then
52282 compiler="${D}{compiler} ${D}{1}"
52287 if test "x${D}{headerfile}" = "x" ; then
52288 echo "error: can't find header ${D}{header} in include paths" >&2
52290 if test -f ${D}{outfile} ; then
52291 rm -f ${D}{outfile}
52293 mkdir -p \`dirname ${D}{outfile}\`
52295 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
52297 if test "x${GCC_PCH}" = "x1" ; then
52298 # can do this because gcc is >= 3.4:
52299 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
52300 elif test "x${ICC_PCH}" = "x1" ; then
52301 filename=pch_gen-${D}${D}
52302 file=${D}{filename}.c
52303 dfile=${D}{filename}.d
52304 cat > ${D}file <<EOT
52305 #include "${D}header"
52307 # using -MF icc complains about differing command lines in creation/use
52308 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
52309 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
52310 rm -f ${D}file ${D}dfile ${D}{filename}.o
52316 chmod +x bk-make-pch
52317 BK_MAKE_PCH="`pwd`/bk-make-pch"
52326 COND_BUILD_DEBUG="#"
52327 if test "x$BUILD" = "xdebug" ; then
52328 COND_BUILD_DEBUG=""
52331 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
52332 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52333 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52336 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52337 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52338 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52341 COND_BUILD_DEBUG_UNICODE_0="#"
52342 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52343 COND_BUILD_DEBUG_UNICODE_0=""
52346 COND_BUILD_DEBUG_UNICODE_1="#"
52347 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52348 COND_BUILD_DEBUG_UNICODE_1=""
52351 COND_BUILD_RELEASE="#"
52352 if test "x$BUILD" = "xrelease" ; then
52353 COND_BUILD_RELEASE=""
52356 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52357 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52358 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52361 COND_BUILD_RELEASE_UNICODE_0="#"
52362 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52363 COND_BUILD_RELEASE_UNICODE_0=""
52366 COND_BUILD_RELEASE_UNICODE_1="#"
52367 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52368 COND_BUILD_RELEASE_UNICODE_1=""
52371 COND_DEBUG_FLAG_1="#"
52372 if test "x$DEBUG_FLAG" = "x1" ; then
52373 COND_DEBUG_FLAG_1=""
52376 COND_DEBUG_INFO_0="#"
52377 if test "x$DEBUG_INFO" = "x0" ; then
52378 COND_DEBUG_INFO_0=""
52381 COND_DEBUG_INFO_1="#"
52382 if test "x$DEBUG_INFO" = "x1" ; then
52383 COND_DEBUG_INFO_1=""
52386 COND_DEPS_TRACKING_0="#"
52387 if test "x$DEPS_TRACKING" = "x0" ; then
52388 COND_DEPS_TRACKING_0=""
52391 COND_DEPS_TRACKING_1="#"
52392 if test "x$DEPS_TRACKING" = "x1" ; then
52393 COND_DEPS_TRACKING_1=""
52397 if test "x$GCC_PCH" = "x1" ; then
52402 if test "x$ICC_PCH" = "x1" ; then
52406 COND_MONOLITHIC_0="#"
52407 if test "x$MONOLITHIC" = "x0" ; then
52408 COND_MONOLITHIC_0=""
52411 COND_MONOLITHIC_0_SHARED_0="#"
52412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52413 COND_MONOLITHIC_0_SHARED_0=""
52416 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52418 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52421 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52422 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52423 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52426 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52427 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52428 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52431 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52432 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52433 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52436 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52437 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52438 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52441 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52442 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52443 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52446 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52447 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52448 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52451 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52452 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52453 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52456 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52457 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52458 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52461 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52462 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52463 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52466 COND_MONOLITHIC_0_SHARED_1="#"
52467 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52468 COND_MONOLITHIC_0_SHARED_1=""
52471 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52472 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52473 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52476 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52477 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52478 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52481 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52482 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52483 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52486 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52487 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52488 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52491 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52492 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52493 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52496 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52497 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52498 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52501 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52502 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52503 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52506 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52507 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52508 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52511 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52512 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52513 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52516 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52517 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52518 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52521 COND_MONOLITHIC_0_USE_AUI_1="#"
52522 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52523 COND_MONOLITHIC_0_USE_AUI_1=""
52526 COND_MONOLITHIC_0_USE_GUI_1="#"
52527 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52528 COND_MONOLITHIC_0_USE_GUI_1=""
52531 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52532 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52533 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52536 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52537 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52538 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52541 COND_MONOLITHIC_0_USE_HTML_1="#"
52542 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52543 COND_MONOLITHIC_0_USE_HTML_1=""
52546 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52547 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52548 COND_MONOLITHIC_0_USE_MEDIA_1=""
52551 COND_MONOLITHIC_0_USE_ODBC_1="#"
52552 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52553 COND_MONOLITHIC_0_USE_ODBC_1=""
52556 COND_MONOLITHIC_0_USE_QA_1="#"
52557 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52558 COND_MONOLITHIC_0_USE_QA_1=""
52561 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52562 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52563 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52566 COND_MONOLITHIC_0_USE_STC_1="#"
52567 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52568 COND_MONOLITHIC_0_USE_STC_1=""
52571 COND_MONOLITHIC_0_USE_XRC_1="#"
52572 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52573 COND_MONOLITHIC_0_USE_XRC_1=""
52576 COND_MONOLITHIC_1="#"
52577 if test "x$MONOLITHIC" = "x1" ; then
52578 COND_MONOLITHIC_1=""
52581 COND_MONOLITHIC_1_SHARED_0="#"
52582 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52583 COND_MONOLITHIC_1_SHARED_0=""
52586 COND_MONOLITHIC_1_SHARED_1="#"
52587 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52588 COND_MONOLITHIC_1_SHARED_1=""
52591 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52592 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52593 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52596 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52597 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52598 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52601 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52602 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52603 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52606 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52607 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52608 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52611 COND_PLATFORM_MACOSX_1="#"
52612 if test "x$PLATFORM_MACOSX" = "x1" ; then
52613 COND_PLATFORM_MACOSX_1=""
52616 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52617 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52618 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52621 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52622 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52623 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52626 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52627 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52628 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52631 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52632 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52633 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52636 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52637 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52638 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52641 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52642 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52643 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52646 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52647 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52648 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52651 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52652 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52653 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52656 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52657 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52658 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52661 COND_PLATFORM_MACOS_1="#"
52662 if test "x$PLATFORM_MACOS" = "x1" ; then
52663 COND_PLATFORM_MACOS_1=""
52666 COND_PLATFORM_MAC_1="#"
52667 if test "x$PLATFORM_MAC" = "x1" ; then
52668 COND_PLATFORM_MAC_1=""
52671 COND_PLATFORM_MSDOS_0="#"
52672 if test "x$PLATFORM_MSDOS" = "x0" ; then
52673 COND_PLATFORM_MSDOS_0=""
52676 COND_PLATFORM_MSDOS_1="#"
52677 if test "x$PLATFORM_MSDOS" = "x1" ; then
52678 COND_PLATFORM_MSDOS_1=""
52681 COND_PLATFORM_OS2_1="#"
52682 if test "x$PLATFORM_OS2" = "x1" ; then
52683 COND_PLATFORM_OS2_1=""
52686 COND_PLATFORM_UNIX_0="#"
52687 if test "x$PLATFORM_UNIX" = "x0" ; then
52688 COND_PLATFORM_UNIX_0=""
52691 COND_PLATFORM_UNIX_1="#"
52692 if test "x$PLATFORM_UNIX" = "x1" ; then
52693 COND_PLATFORM_UNIX_1=""
52696 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52697 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52698 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52701 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52702 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52703 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52706 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52707 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52708 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52711 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52712 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52713 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52716 COND_PLATFORM_WIN32_0="#"
52717 if test "x$PLATFORM_WIN32" = "x0" ; then
52718 COND_PLATFORM_WIN32_0=""
52721 COND_PLATFORM_WIN32_1="#"
52722 if test "x$PLATFORM_WIN32" = "x1" ; then
52723 COND_PLATFORM_WIN32_1=""
52727 if test "x$SHARED" = "x0" ; then
52731 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52732 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52733 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52736 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52737 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52738 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52741 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52742 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52743 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52746 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52747 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52748 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52751 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52752 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52753 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52756 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52757 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52758 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52761 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52762 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52763 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52766 COND_SHARED_0_USE_STC_1="#"
52767 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52768 COND_SHARED_0_USE_STC_1=""
52771 COND_SHARED_0_USE_XRC_1="#"
52772 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52773 COND_SHARED_0_USE_XRC_1=""
52776 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52777 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52778 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52781 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52782 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52783 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52786 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52787 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52788 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52791 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52792 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52793 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52797 if test "x$SHARED" = "x1" ; then
52801 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52802 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52803 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52806 COND_SHARED_1_USE_XRC_1="#"
52807 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52808 COND_SHARED_1_USE_XRC_1=""
52812 if test "x$TOOLKIT" = "x" ; then
52816 COND_TOOLKIT_COCOA="#"
52817 if test "x$TOOLKIT" = "xCOCOA" ; then
52818 COND_TOOLKIT_COCOA=""
52821 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52822 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52823 COND_TOOLKIT_COCOA_USE_GUI_1=""
52826 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52827 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52828 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52831 COND_TOOLKIT_DFB="#"
52832 if test "x$TOOLKIT" = "xDFB" ; then
52833 COND_TOOLKIT_DFB=""
52836 COND_TOOLKIT_DFB_USE_GUI_1="#"
52837 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52838 COND_TOOLKIT_DFB_USE_GUI_1=""
52841 COND_TOOLKIT_GTK="#"
52842 if test "x$TOOLKIT" = "xGTK" ; then
52843 COND_TOOLKIT_GTK=""
52846 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52847 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52848 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52851 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52852 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52853 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52856 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52857 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52858 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52861 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52862 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52863 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52866 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52867 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52868 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52871 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52872 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52873 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52876 COND_TOOLKIT_GTK_USE_GUI_1="#"
52877 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52878 COND_TOOLKIT_GTK_USE_GUI_1=""
52881 COND_TOOLKIT_MAC="#"
52882 if test "x$TOOLKIT" = "xMAC" ; then
52883 COND_TOOLKIT_MAC=""
52886 COND_TOOLKIT_MAC_USE_GUI_1="#"
52887 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52888 COND_TOOLKIT_MAC_USE_GUI_1=""
52891 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52892 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52893 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52896 COND_TOOLKIT_MGL="#"
52897 if test "x$TOOLKIT" = "xMGL" ; then
52898 COND_TOOLKIT_MGL=""
52901 COND_TOOLKIT_MGL_USE_GUI_1="#"
52902 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52903 COND_TOOLKIT_MGL_USE_GUI_1=""
52906 COND_TOOLKIT_MOTIF="#"
52907 if test "x$TOOLKIT" = "xMOTIF" ; then
52908 COND_TOOLKIT_MOTIF=""
52911 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52912 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52913 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52916 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52917 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52918 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52921 COND_TOOLKIT_MSW="#"
52922 if test "x$TOOLKIT" = "xMSW" ; then
52923 COND_TOOLKIT_MSW=""
52926 COND_TOOLKIT_MSW_USE_GUI_1="#"
52927 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52928 COND_TOOLKIT_MSW_USE_GUI_1=""
52931 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52932 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52933 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52936 COND_TOOLKIT_MSW_WXUNIV_0="#"
52937 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52938 COND_TOOLKIT_MSW_WXUNIV_0=""
52941 COND_TOOLKIT_PM="#"
52942 if test "x$TOOLKIT" = "xPM" ; then
52946 COND_TOOLKIT_PM_USE_GUI_1="#"
52947 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52948 COND_TOOLKIT_PM_USE_GUI_1=""
52951 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52952 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52953 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52956 COND_TOOLKIT_WINCE="#"
52957 if test "x$TOOLKIT" = "xWINCE" ; then
52958 COND_TOOLKIT_WINCE=""
52961 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52962 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52963 COND_TOOLKIT_WINCE_USE_GUI_1=""
52966 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52967 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52968 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52971 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52972 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52973 COND_TOOLKIT_WINCE_WXUNIV_0=""
52976 COND_TOOLKIT_X11="#"
52977 if test "x$TOOLKIT" = "xX11" ; then
52978 COND_TOOLKIT_X11=""
52981 COND_TOOLKIT_X11_USE_GUI_1="#"
52982 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52983 COND_TOOLKIT_X11_USE_GUI_1=""
52987 if test "x$UNICODE" = "x1" ; then
52991 COND_USE_EXCEPTIONS_0="#"
52992 if test "x$USE_EXCEPTIONS" = "x0" ; then
52993 COND_USE_EXCEPTIONS_0=""
52996 COND_USE_EXCEPTIONS_1="#"
52997 if test "x$USE_EXCEPTIONS" = "x1" ; then
52998 COND_USE_EXCEPTIONS_1=""
53002 if test "x$USE_GUI" = "x0" ; then
53007 if test "x$USE_GUI" = "x1" ; then
53011 COND_USE_GUI_1_USE_OPENGL_1="#"
53012 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
53013 COND_USE_GUI_1_USE_OPENGL_1=""
53016 COND_USE_GUI_1_WXUNIV_0="#"
53017 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53018 COND_USE_GUI_1_WXUNIV_0=""
53021 COND_USE_GUI_1_WXUNIV_1="#"
53022 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
53023 COND_USE_GUI_1_WXUNIV_1=""
53026 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
53027 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53028 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
53031 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
53032 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53033 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
53036 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
53037 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53038 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
53041 COND_USE_ODBC_1="#"
53042 if test "x$USE_ODBC" = "x1" ; then
53046 COND_USE_OPENGL_1="#"
53047 if test "x$USE_OPENGL" = "x1" ; then
53048 COND_USE_OPENGL_1=""
53052 if test "x$USE_PCH" = "x1" ; then
53056 COND_USE_PLUGINS_0="#"
53057 if test "x$USE_PLUGINS" = "x0" ; then
53058 COND_USE_PLUGINS_0=""
53061 COND_USE_RTTI_0="#"
53062 if test "x$USE_RTTI" = "x0" ; then
53066 COND_USE_RTTI_1="#"
53067 if test "x$USE_RTTI" = "x1" ; then
53071 COND_USE_SOSYMLINKS_1="#"
53072 if test "x$USE_SOSYMLINKS" = "x1" ; then
53073 COND_USE_SOSYMLINKS_1=""
53076 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
53077 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
53078 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
53081 COND_USE_SOVERLINUX_1="#"
53082 if test "x$USE_SOVERLINUX" = "x1" ; then
53083 COND_USE_SOVERLINUX_1=""
53086 COND_USE_SOVERSION_0="#"
53087 if test "x$USE_SOVERSION" = "x0" ; then
53088 COND_USE_SOVERSION_0=""
53091 COND_USE_SOVERSOLARIS_1="#"
53092 if test "x$USE_SOVERSOLARIS" = "x1" ; then
53093 COND_USE_SOVERSOLARIS_1=""
53097 if test "x$USE_STC" = "x1" ; then
53101 COND_USE_THREADS_0="#"
53102 if test "x$USE_THREADS" = "x0" ; then
53103 COND_USE_THREADS_0=""
53106 COND_USE_THREADS_1="#"
53107 if test "x$USE_THREADS" = "x1" ; then
53108 COND_USE_THREADS_1=""
53112 if test "x$USE_XRC" = "x1" ; then
53116 COND_WINDOWS_IMPLIB_1="#"
53117 if test "x$WINDOWS_IMPLIB" = "x1" ; then
53118 COND_WINDOWS_IMPLIB_1=""
53121 COND_WITH_PLUGIN_SDL_1="#"
53122 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
53123 COND_WITH_PLUGIN_SDL_1=""
53127 if test "x$WXUNIV" = "x0" ; then
53132 if test "x$WXUNIV" = "x1" ; then
53136 COND_WXUSE_EXPAT_BUILTIN="#"
53137 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
53138 COND_WXUSE_EXPAT_BUILTIN=""
53141 COND_WXUSE_LIBJPEG_BUILTIN="#"
53142 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53143 COND_WXUSE_LIBJPEG_BUILTIN=""
53146 COND_WXUSE_LIBPNG_BUILTIN="#"
53147 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53148 COND_WXUSE_LIBPNG_BUILTIN=""
53151 COND_WXUSE_LIBTIFF_BUILTIN="#"
53152 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53153 COND_WXUSE_LIBTIFF_BUILTIN=""
53156 COND_WXUSE_ODBC_BUILTIN="#"
53157 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
53158 COND_WXUSE_ODBC_BUILTIN=""
53161 COND_WXUSE_REGEX_BUILTIN="#"
53162 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
53163 COND_WXUSE_REGEX_BUILTIN=""
53166 COND_WXUSE_ZLIB_BUILTIN="#"
53167 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
53168 COND_WXUSE_ZLIB_BUILTIN=""
53173 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
53174 { { 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
53175 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;}
53176 { (exit 1); exit 1; }; }
53179 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
53180 { { 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
53181 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;}
53182 { (exit 1); exit 1; }; }
53186 if test $GCC_PCH = 1
53188 if test "$wx_cv_gcc_pch_bug" = yes; then
53189 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
53190 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
53191 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
53192 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
53193 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
53194 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
53197 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
53201 if test "$wxUSE_MAC" = 1 ; then
53202 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
53203 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
53209 if test "$wxUSE_SHARED" = "yes"; then
53211 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
53212 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
53215 *-pc-os2_emx | *-pc-os2-emx )
53216 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53217 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53218 cp -p ${srcdir}/src/os2/dllnames.sh .
53219 cp -p ${srcdir}/src/os2/dllar.sh .
53224 EXE_LINKER="$CXX -o"
53227 if test "$wxUSE_OMF" = "yes"; then
53229 *-pc-os2_emx | *-pc-os2-emx )
53230 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
53231 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53232 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53237 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
53242 if "$GCC" = yes; then
53243 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
53244 LIBS=`echo $LIBS | sed 's/-mt//'`
53245 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
53250 if test "x$SUNCXX" = xyes; then
53251 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
53252 LIBS=`echo $LIBS | sed 's/-pthread//'`
53253 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
53258 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
53259 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
53261 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53323 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53324 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
53325 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
53326 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
53327 echo $ECHO_N "(cached) $ECHO_C" >&6
53329 cat >conftest.make <<\_ACEOF
53332 @echo '@@@%%%=$(MAKE)=@@@%%%'
53334 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53335 case `${MAKE-make} -f conftest.make 2>/dev/null` in
53336 *@@@%%%=?*=@@@%%%*)
53337 eval ac_cv_prog_make_${ac_make}_set=yes;;
53339 eval ac_cv_prog_make_${ac_make}_set=no;;
53341 rm -f conftest.make
53343 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53344 { echo "$as_me:$LINENO: result: yes" >&5
53345 echo "${ECHO_T}yes" >&6; }
53348 { echo "$as_me:$LINENO: result: no" >&5
53349 echo "${ECHO_T}no" >&6; }
53350 SET_MAKE="MAKE=${MAKE-make}"
53355 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53358 if test "$USE_WIN32" = 1; then
53359 ac_config_commands="$ac_config_commands
53365 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53368 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53371 if test "$wx_cv_version_script" = "yes"; then
53372 ac_config_files="$ac_config_files version-script"
53375 ac_config_files="$ac_config_files Makefile"
53378 ac_config_commands="$ac_config_commands wx-config"
53382 if test "$wxWITH_SUBDIRS" != "no"; then
53383 if test "$wxUSE_GUI" = "yes"; then
53384 SUBDIRS="samples demos utils"
53385 else SUBDIRS="samples utils"
53390 # Check whether --with-cppunit-prefix was given.
53391 if test "${with_cppunit_prefix+set}" = set; then
53392 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53394 cppunit_config_prefix=""
53398 # Check whether --with-cppunit-exec-prefix was given.
53399 if test "${with_cppunit_exec_prefix+set}" = set; then
53400 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53402 cppunit_config_exec_prefix=""
53406 if test x$cppunit_config_exec_prefix != x ; then
53407 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53408 if test x${CPPUNIT_CONFIG+set} != xset ; then
53409 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53412 if test x$cppunit_config_prefix != x ; then
53413 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53414 if test x${CPPUNIT_CONFIG+set} != xset ; then
53415 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53419 # Extract the first word of "cppunit-config", so it can be a program name with args.
53420 set dummy cppunit-config; ac_word=$2
53421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53423 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53424 echo $ECHO_N "(cached) $ECHO_C" >&6
53426 case $CPPUNIT_CONFIG in
53428 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53432 for as_dir in $PATH
53435 test -z "$as_dir" && as_dir=.
53436 for ac_exec_ext in '' $ac_executable_extensions; do
53437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53438 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53446 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53450 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53451 if test -n "$CPPUNIT_CONFIG"; then
53452 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53453 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53455 { echo "$as_me:$LINENO: result: no" >&5
53456 echo "${ECHO_T}no" >&6; }
53460 cppunit_version_min=1.8.0
53462 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53463 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53465 if test "$CPPUNIT_CONFIG" = "no" ; then
53466 { echo "$as_me:$LINENO: result: no" >&5
53467 echo "${ECHO_T}no" >&6; }
53470 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53471 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53472 cppunit_version=`$CPPUNIT_CONFIG --version`
53474 cppunit_major_version=`echo $cppunit_version | \
53475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53476 cppunit_minor_version=`echo $cppunit_version | \
53477 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53478 cppunit_micro_version=`echo $cppunit_version | \
53479 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53481 cppunit_major_min=`echo $cppunit_version_min | \
53482 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53483 cppunit_minor_min=`echo $cppunit_version_min | \
53484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53485 cppunit_micro_min=`echo $cppunit_version_min | \
53486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53488 cppunit_version_proper=`expr \
53489 $cppunit_major_version \> $cppunit_major_min \| \
53490 $cppunit_major_version \= $cppunit_major_min \& \
53491 $cppunit_minor_version \> $cppunit_minor_min \| \
53492 $cppunit_major_version \= $cppunit_major_min \& \
53493 $cppunit_minor_version \= $cppunit_minor_min \& \
53494 $cppunit_micro_version \>= $cppunit_micro_min `
53496 if test "$cppunit_version_proper" = "1" ; then
53497 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53498 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53500 { echo "$as_me:$LINENO: result: no" >&5
53501 echo "${ECHO_T}no" >&6; }
53506 if test "x$no_cppunit" = x ; then
53507 SUBDIRS="$SUBDIRS tests"
53518 for subdir in `echo $SUBDIRS`; do
53519 if test -d ${srcdir}/${subdir} ; then
53520 if test "$wxUSE_GUI" = "yes"; then
53521 if test ${subdir} = "samples"; then
53522 makefiles="samples/Makefile.in $makefiles"
53523 for sample in `echo $SAMPLES_SUBDIRS`; do
53524 if test -d $srcdir/samples/$sample; then
53525 makefiles="samples/$sample/Makefile.in $makefiles"
53529 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53530 eval "disabled=\$$disabled_var"
53531 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53532 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53534 else if test ${subdir} = "samples"; then
53535 makefiles="samples/Makefile.in samples/console/Makefile.in"
53536 elif test ${subdir} = "utils"; then
53538 for util in HelpGen tex2rtf ; do
53539 if test -d $srcdir/utils/$util ; then
53540 makefiles="utils/$util/Makefile.in \
53541 utils/$util/src/Makefile.in \
53545 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53549 for mkin in $makefiles ; do
53550 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53551 ac_config_files="$ac_config_files $mk"
53557 cat >confcache <<\_ACEOF
53558 # This file is a shell script that caches the results of configure
53559 # tests run on this system so they can be shared between configure
53560 # scripts and configure runs, see configure's option --config-cache.
53561 # It is not useful on other systems. If it contains results you don't
53562 # want to keep, you may remove or edit it.
53564 # config.status only pays attention to the cache file if you give it
53565 # the --recheck option to rerun configure.
53567 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53568 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53569 # following values.
53573 # The following way of writing the cache mishandles newlines in values,
53574 # but we know of no workaround that is simple, portable, and efficient.
53575 # So, we kill variables containing newlines.
53576 # Ultrix sh set writes to stderr and can't be redirected directly,
53577 # and sets the high bit in the cache file unless we assign to the vars.
53579 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53580 eval ac_val=\$$ac_var
53584 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53585 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53588 _ | IFS | as_nl) ;; #(
53589 *) $as_unset $ac_var ;;
53595 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53596 *${as_nl}ac_space=\ *)
53597 # `set' does not quote correctly, so add quotes (double-quote
53598 # substitution turns \\\\ into \\, and sed turns \\ into \).
53601 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53604 # `set' quotes correctly as required by POSIX, so do not add quotes.
53605 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53614 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53616 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53618 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53619 if test -w "$cache_file"; then
53620 test "x$cache_file" != "x/dev/null" &&
53621 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53622 echo "$as_me: updating cache $cache_file" >&6;}
53623 cat confcache >$cache_file
53625 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53626 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53631 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53632 # Let make expand exec_prefix.
53633 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53635 DEFS=-DHAVE_CONFIG_H
53639 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53640 # 1. Remove the extension, and $U if already installed.
53641 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53642 ac_i=`echo "$ac_i" | sed "$ac_script"`
53643 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53644 # will be set to the directory where LIBOBJS objects are built.
53645 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53646 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53648 LIBOBJS=$ac_libobjs
53650 LTLIBOBJS=$ac_ltlibobjs
53654 : ${CONFIG_STATUS=./config.status}
53655 ac_clean_files_save=$ac_clean_files
53656 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53657 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53658 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53659 cat >$CONFIG_STATUS <<_ACEOF
53661 # Generated by $as_me.
53662 # Run this file to recreate the current configuration.
53663 # Compiler output produced by configure, useful for debugging
53664 # configure, is in config.log if it exists.
53667 ac_cs_recheck=false
53669 SHELL=\${CONFIG_SHELL-$SHELL}
53672 cat >>$CONFIG_STATUS <<\_ACEOF
53673 ## --------------------- ##
53674 ## M4sh Initialization. ##
53675 ## --------------------- ##
53677 # Be more Bourne compatible
53678 DUALCASE=1; export DUALCASE # for MKS sh
53679 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53682 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53683 # is contrary to our usage. Disable this feature.
53684 alias -g '${1+"$@"}'='"$@"'
53685 setopt NO_GLOB_SUBST
53687 case `(set -o) 2>/dev/null` in
53688 *posix*) set -o posix ;;
53697 # Avoid depending upon Character Ranges.
53698 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53699 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53700 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53701 as_cr_digits='0123456789'
53702 as_cr_alnum=$as_cr_Letters$as_cr_digits
53704 # The user is always right.
53705 if test "${PATH_SEPARATOR+set}" != set; then
53706 echo "#! /bin/sh" >conf$$.sh
53707 echo "exit 0" >>conf$$.sh
53709 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53717 # Support unset when possible.
53718 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53726 # We need space, tab and new line, in precisely that order. Quoting is
53727 # there to prevent editors from complaining about space-tab.
53728 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53729 # splitting by setting IFS to empty value.)
53734 # Find who we are. Look in the path if we contain no directory separator.
53736 *[\\/]* ) as_myself=$0 ;;
53737 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53738 for as_dir in $PATH
53741 test -z "$as_dir" && as_dir=.
53742 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53748 # We did not find ourselves, most probably we were run as `sh COMMAND'
53749 # in which case we are not to be found in the path.
53750 if test "x$as_myself" = x; then
53753 if test ! -f "$as_myself"; then
53754 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53755 { (exit 1); exit 1; }
53758 # Work around bugs in pre-3.0 UWIN ksh.
53759 for as_var in ENV MAIL MAILPATH
53760 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53768 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53769 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53770 LC_TELEPHONE LC_TIME
53772 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53773 eval $as_var=C; export $as_var
53775 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53779 # Required to use basename.
53780 if expr a : '\(a\)' >/dev/null 2>&1 &&
53781 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53787 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53788 as_basename=basename
53794 # Name of the executable.
53795 as_me=`$as_basename -- "$0" ||
53796 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53797 X"$0" : 'X\(//\)$' \| \
53798 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53800 sed '/^.*\/\([^/][^/]*\)\/*$/{
53819 as_lineno_1=$LINENO
53820 as_lineno_2=$LINENO
53821 test "x$as_lineno_1" != "x$as_lineno_2" &&
53822 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53824 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53825 # uniformly replaced by the line number. The first 'sed' inserts a
53826 # line-number line after each line using $LINENO; the second 'sed'
53827 # does the real work. The second script uses 'N' to pair each
53828 # line-number line with the line containing $LINENO, and appends
53829 # trailing '-' during substitution so that $LINENO is not a special
53830 # case at line end.
53831 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53832 # scripts with optimization help from Paolo Bonzini. Blame Lee
53833 # E. McMahon (1931-1989) for sed's syntax. :-)
53845 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53848 ' >$as_me.lineno &&
53849 chmod +x "$as_me.lineno" ||
53850 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53851 { (exit 1); exit 1; }; }
53853 # Don't try to exec as it changes $[0], causing all sort of problems
53854 # (the dirname of $[0] is not the place where we might find the
53855 # original and so on. Autoconf is especially sensitive to this).
53856 . "./$as_me.lineno"
53857 # Exit status is that of the last command.
53862 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53868 ECHO_C= ECHO_N= ECHO_T=
53869 case `echo -n x` in
53871 case `echo 'x\c'` in
53872 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53879 if expr a : '\(a\)' >/dev/null 2>&1 &&
53880 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53886 rm -f conf$$ conf$$.exe conf$$.file
53887 if test -d conf$$.dir; then
53888 rm -f conf$$.dir/conf$$.file
53894 if ln -s conf$$.file conf$$ 2>/dev/null; then
53896 # ... but there are two gotchas:
53897 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53898 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53899 # In both cases, we have to default to `cp -p'.
53900 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53902 elif ln conf$$.file conf$$ 2>/dev/null; then
53907 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53908 rmdir conf$$.dir 2>/dev/null
53910 if mkdir -p . 2>/dev/null; then
53913 test -d ./-p && rmdir ./-p
53917 if test -x / >/dev/null 2>&1; then
53918 as_test_x='test -x'
53920 if ls -dL / >/dev/null 2>&1; then
53927 if test -d "$1"; then
53933 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53934 ???[sx]*):;;*)false;;esac;fi
53938 as_executable_p=$as_test_x
53940 # Sed expression to map a string onto a valid CPP name.
53941 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53943 # Sed expression to map a string onto a valid variable name.
53944 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53949 # Save the log message, to keep $[0] and so on meaningful, and to
53950 # report actual input values of CONFIG_FILES etc. instead of their
53951 # values after options handling.
53953 This file was extended by wxWidgets $as_me 2.9.0, which was
53954 generated by GNU Autoconf 2.61. Invocation command line was
53956 CONFIG_FILES = $CONFIG_FILES
53957 CONFIG_HEADERS = $CONFIG_HEADERS
53958 CONFIG_LINKS = $CONFIG_LINKS
53959 CONFIG_COMMANDS = $CONFIG_COMMANDS
53962 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53967 cat >>$CONFIG_STATUS <<_ACEOF
53968 # Files that config.status was made for.
53969 config_files="$ac_config_files"
53970 config_headers="$ac_config_headers"
53971 config_commands="$ac_config_commands"
53975 cat >>$CONFIG_STATUS <<\_ACEOF
53977 \`$as_me' instantiates files from templates according to the
53978 current configuration.
53980 Usage: $0 [OPTIONS] [FILE]...
53982 -h, --help print this help, then exit
53983 -V, --version print version number and configuration settings, then exit
53984 -q, --quiet do not print progress messages
53985 -d, --debug don't remove temporary files
53986 --recheck update $as_me by reconfiguring in the same conditions
53987 --file=FILE[:TEMPLATE]
53988 instantiate the configuration file FILE
53989 --header=FILE[:TEMPLATE]
53990 instantiate the configuration header FILE
53992 Configuration files:
53995 Configuration headers:
53998 Configuration commands:
54001 Report bugs to <bug-autoconf@gnu.org>."
54004 cat >>$CONFIG_STATUS <<_ACEOF
54006 wxWidgets config.status 2.9.0
54007 configured by $0, generated by GNU Autoconf 2.61,
54008 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
54010 Copyright (C) 2006 Free Software Foundation, Inc.
54011 This config.status script is free software; the Free Software Foundation
54012 gives unlimited permission to copy, distribute and modify it."
54019 cat >>$CONFIG_STATUS <<\_ACEOF
54020 # If no file are specified by the user, then we need to provide default
54021 # value. By we need to know if files were specified by the user.
54027 ac_option=`expr "X$1" : 'X\([^=]*\)='`
54028 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
54039 # Handling of the options.
54040 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
54042 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
54043 echo "$ac_cs_version"; exit ;;
54044 --debug | --debu | --deb | --de | --d | -d )
54046 --file | --fil | --fi | --f )
54048 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
54049 ac_need_defaults=false;;
54050 --header | --heade | --head | --hea )
54052 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
54053 ac_need_defaults=false;;
54055 # Conflict between --help and --header
54056 { echo "$as_me: error: ambiguous option: $1
54057 Try \`$0 --help' for more information." >&2
54058 { (exit 1); exit 1; }; };;
54059 --help | --hel | -h )
54060 echo "$ac_cs_usage"; exit ;;
54061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
54062 | -silent | --silent | --silen | --sile | --sil | --si | --s)
54065 # This is an error.
54066 -*) { echo "$as_me: error: unrecognized option: $1
54067 Try \`$0 --help' for more information." >&2
54068 { (exit 1); exit 1; }; } ;;
54070 *) ac_config_targets="$ac_config_targets $1"
54071 ac_need_defaults=false ;;
54077 ac_configure_extra_args=
54079 if $ac_cs_silent; then
54081 ac_configure_extra_args="$ac_configure_extra_args --silent"
54085 cat >>$CONFIG_STATUS <<_ACEOF
54086 if \$ac_cs_recheck; then
54087 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
54088 CONFIG_SHELL=$SHELL
54089 export CONFIG_SHELL
54090 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
54094 cat >>$CONFIG_STATUS <<\_ACEOF
54098 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
54099 ## Running $as_me. ##
54105 cat >>$CONFIG_STATUS <<_ACEOF
54111 infile="$srcdir/include/wx/msw/genrcdefs.h"
54112 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
54115 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54116 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54117 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54123 cat >>$CONFIG_STATUS <<\_ACEOF
54125 # Handling of arguments.
54126 for ac_config_target in $ac_config_targets
54128 case $ac_config_target in
54129 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
54130 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
54131 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
54132 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
54133 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
54134 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
54135 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
54136 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
54138 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
54139 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
54140 { (exit 1); exit 1; }; };;
54145 # If the user did not use the arguments to specify the items to instantiate,
54146 # then the envvar interface is used. Set only those that are not.
54147 # We use the long form for the default assignment because of an extremely
54148 # bizarre bug on SunOS 4.1.3.
54149 if $ac_need_defaults; then
54150 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
54151 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
54152 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
54155 # Have a temporary directory for convenience. Make it in the build tree
54156 # simply because there is no reason against having it here, and in addition,
54157 # creating and moving files from /tmp can sometimes cause problems.
54158 # Hook for its removal unless debugging.
54159 # Note that there is a small window in which the directory will not be cleaned:
54160 # after its creation but before its name has been assigned to `$tmp'.
54164 trap 'exit_status=$?
54165 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54167 trap '{ (exit 1); exit 1; }' 1 2 13 15
54169 # Create a (secure) tmp directory for tmp files.
54172 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54173 test -n "$tmp" && test -d "$tmp"
54176 tmp=./conf$$-$RANDOM
54177 (umask 077 && mkdir "$tmp")
54180 echo "$me: cannot create a temporary directory in ." >&2
54181 { (exit 1); exit 1; }
54185 # Set up the sed scripts for CONFIG_FILES section.
54188 # No need to generate the scripts if there are no CONFIG_FILES.
54189 # This happens for instance when ./config.status config.h
54190 if test -n "$CONFIG_FILES"; then
54197 for ac_last_try in false false false false false :; do
54198 cat >conf$$subs.sed <<_ACEOF
54199 SHELL!$SHELL$ac_delim
54200 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
54201 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
54202 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
54203 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
54204 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
54205 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
54206 exec_prefix!$exec_prefix$ac_delim
54207 prefix!$prefix$ac_delim
54208 program_transform_name!$program_transform_name$ac_delim
54209 bindir!$bindir$ac_delim
54210 sbindir!$sbindir$ac_delim
54211 libexecdir!$libexecdir$ac_delim
54212 datarootdir!$datarootdir$ac_delim
54213 datadir!$datadir$ac_delim
54214 sysconfdir!$sysconfdir$ac_delim
54215 sharedstatedir!$sharedstatedir$ac_delim
54216 localstatedir!$localstatedir$ac_delim
54217 includedir!$includedir$ac_delim
54218 oldincludedir!$oldincludedir$ac_delim
54219 docdir!$docdir$ac_delim
54220 infodir!$infodir$ac_delim
54221 htmldir!$htmldir$ac_delim
54222 dvidir!$dvidir$ac_delim
54223 pdfdir!$pdfdir$ac_delim
54224 psdir!$psdir$ac_delim
54225 libdir!$libdir$ac_delim
54226 localedir!$localedir$ac_delim
54227 mandir!$mandir$ac_delim
54228 DEFS!$DEFS$ac_delim
54229 ECHO_C!$ECHO_C$ac_delim
54230 ECHO_N!$ECHO_N$ac_delim
54231 ECHO_T!$ECHO_T$ac_delim
54232 LIBS!$LIBS$ac_delim
54233 build_alias!$build_alias$ac_delim
54234 host_alias!$host_alias$ac_delim
54235 target_alias!$target_alias$ac_delim
54236 build!$build$ac_delim
54237 build_cpu!$build_cpu$ac_delim
54238 build_vendor!$build_vendor$ac_delim
54239 build_os!$build_os$ac_delim
54240 host!$host$ac_delim
54241 host_cpu!$host_cpu$ac_delim
54242 host_vendor!$host_vendor$ac_delim
54243 host_os!$host_os$ac_delim
54244 target!$target$ac_delim
54245 target_cpu!$target_cpu$ac_delim
54246 target_vendor!$target_vendor$ac_delim
54247 target_os!$target_os$ac_delim
54248 wx_top_builddir!$wx_top_builddir$ac_delim
54250 CFLAGS!$CFLAGS$ac_delim
54251 LDFLAGS!$LDFLAGS$ac_delim
54252 CPPFLAGS!$CPPFLAGS$ac_delim
54253 ac_ct_CC!$ac_ct_CC$ac_delim
54254 EXEEXT!$EXEEXT$ac_delim
54255 OBJEXT!$OBJEXT$ac_delim
54257 GREP!$GREP$ac_delim
54258 EGREP!$EGREP$ac_delim
54260 CXXFLAGS!$CXXFLAGS$ac_delim
54261 ac_ct_CXX!$ac_ct_CXX$ac_delim
54262 RANLIB!$RANLIB$ac_delim
54264 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54265 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54266 INSTALL_DATA!$INSTALL_DATA$ac_delim
54267 STRIP!$STRIP$ac_delim
54268 WINDRES!$WINDRES$ac_delim
54269 DLLTOOL!$DLLTOOL$ac_delim
54270 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54271 LN_S!$LN_S$ac_delim
54272 subdirs!$subdirs$ac_delim
54273 PKG_CONFIG!$PKG_CONFIG$ac_delim
54274 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
54275 GTK_LIBS!$GTK_LIBS$ac_delim
54276 GTK_CONFIG!$GTK_CONFIG$ac_delim
54277 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
54278 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
54279 XMKMF!$XMKMF$ac_delim
54280 X_CFLAGS!$X_CFLAGS$ac_delim
54281 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
54282 X_LIBS!$X_LIBS$ac_delim
54283 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
54284 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
54285 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
54286 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
54287 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
54288 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
54289 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
54290 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
54291 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
54293 DEREZ!$DEREZ$ac_delim
54294 SETFILE!$SETFILE$ac_delim
54295 LIBICONV!$LIBICONV$ac_delim
54298 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54300 elif $ac_last_try; then
54301 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54302 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54303 { (exit 1); exit 1; }; }
54305 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54309 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54310 if test -n "$ac_eof"; then
54311 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54312 ac_eof=`expr $ac_eof + 1`
54315 cat >>$CONFIG_STATUS <<_ACEOF
54316 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
54317 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54320 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54321 s/^/s,@/; s/!/@,|#_!!_#|/
54324 s/'"$ac_delim"'$/,g/; t
54326 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54327 ' >>$CONFIG_STATUS <conf$$subs.sed
54328 rm -f conf$$subs.sed
54329 cat >>$CONFIG_STATUS <<_ACEOF
54335 for ac_last_try in false false false false false :; do
54336 cat >conf$$subs.sed <<_ACEOF
54337 SDL_CONFIG!$SDL_CONFIG$ac_delim
54338 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54339 SDL_LIBS!$SDL_LIBS$ac_delim
54340 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54341 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54342 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54343 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54344 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54345 HILDON_LIBS!$HILDON_LIBS$ac_delim
54346 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54347 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54348 GST_CFLAGS!$GST_CFLAGS$ac_delim
54349 GST_LIBS!$GST_LIBS$ac_delim
54350 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54351 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54352 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54353 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54354 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54355 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54356 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54357 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54358 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54359 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54360 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54361 VENDOR!$VENDOR$ac_delim
54362 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54363 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54364 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54365 WXUNIV!$WXUNIV$ac_delim
54366 MONOLITHIC!$MONOLITHIC$ac_delim
54367 USE_PLUGINS!$USE_PLUGINS$ac_delim
54368 CXXWARNINGS!$CXXWARNINGS$ac_delim
54369 EXTRALIBS!$EXTRALIBS$ac_delim
54370 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54371 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54372 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54373 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54374 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54375 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54376 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54377 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54378 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54379 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54380 UNICODE!$UNICODE$ac_delim
54381 BUILD!$BUILD$ac_delim
54382 DEBUG_INFO!$DEBUG_INFO$ac_delim
54383 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54384 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54385 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54386 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54387 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54388 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54389 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54390 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54391 SET_MAKE!$SET_MAKE$ac_delim
54392 MAKE_SET!$MAKE_SET$ac_delim
54393 AROPTIONS!$AROPTIONS$ac_delim
54395 INSTALL_DIR!$INSTALL_DIR$ac_delim
54396 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54397 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54398 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54399 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54400 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54401 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54402 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54403 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54404 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54405 SO_SUFFIX!$SO_SUFFIX$ac_delim
54406 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54407 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54408 LIBPREFIX!$LIBPREFIX$ac_delim
54409 LIBEXT!$LIBEXT$ac_delim
54410 DLLPREFIX!$DLLPREFIX$ac_delim
54411 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54412 dlldir!$dlldir$ac_delim
54413 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54414 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54415 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54416 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54417 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54418 PIC_FLAG!$PIC_FLAG$ac_delim
54419 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54420 USE_SOVERSION!$USE_SOVERSION$ac_delim
54421 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54422 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54423 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54424 USE_MACVERSION!$USE_MACVERSION$ac_delim
54425 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54426 SONAME_FLAG!$SONAME_FLAG$ac_delim
54427 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54428 BK_DEPS!$BK_DEPS$ac_delim
54429 GCC_PCH!$GCC_PCH$ac_delim
54430 ICC_PCH!$ICC_PCH$ac_delim
54431 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54432 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54433 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54436 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54438 elif $ac_last_try; then
54439 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54440 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54441 { (exit 1); exit 1; }; }
54443 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54447 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54448 if test -n "$ac_eof"; then
54449 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54450 ac_eof=`expr $ac_eof + 1`
54453 cat >>$CONFIG_STATUS <<_ACEOF
54454 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54455 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54458 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54459 s/^/s,@/; s/!/@,|#_!!_#|/
54462 s/'"$ac_delim"'$/,g/; t
54464 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54465 ' >>$CONFIG_STATUS <conf$$subs.sed
54466 rm -f conf$$subs.sed
54467 cat >>$CONFIG_STATUS <<_ACEOF
54473 for ac_last_try in false false false false false :; do
54474 cat >conf$$subs.sed <<_ACEOF
54475 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54476 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54477 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54478 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54479 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54480 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54481 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54482 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54483 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54484 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54485 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54486 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54487 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54488 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54489 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54490 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54491 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54492 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54493 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54494 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54495 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54496 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54497 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54498 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54499 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54500 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54501 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54502 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54504 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54506 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54507 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54508 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54509 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54510 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54511 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54512 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54513 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54514 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54515 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54516 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54517 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54518 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54519 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54520 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54521 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54522 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54523 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54524 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54525 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54526 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54527 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54528 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54529 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54530 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54531 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54532 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54533 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54534 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54535 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54536 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54537 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54538 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54539 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54540 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54541 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54542 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54543 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54544 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54545 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54546 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54547 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54548 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54549 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54550 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54551 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54552 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54553 COND_SHARED_0!$COND_SHARED_0$ac_delim
54554 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54555 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54556 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54557 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54558 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54559 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54560 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54561 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54562 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54563 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54564 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54565 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54566 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54567 COND_SHARED_1!$COND_SHARED_1$ac_delim
54568 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54569 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54570 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54571 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54574 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54576 elif $ac_last_try; then
54577 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54578 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54579 { (exit 1); exit 1; }; }
54581 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54585 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54586 if test -n "$ac_eof"; then
54587 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54588 ac_eof=`expr $ac_eof + 1`
54591 cat >>$CONFIG_STATUS <<_ACEOF
54592 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54593 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54596 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54597 s/^/s,@/; s/!/@,|#_!!_#|/
54600 s/'"$ac_delim"'$/,g/; t
54602 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54603 ' >>$CONFIG_STATUS <conf$$subs.sed
54604 rm -f conf$$subs.sed
54605 cat >>$CONFIG_STATUS <<_ACEOF
54611 for ac_last_try in false false false false false :; do
54612 cat >conf$$subs.sed <<_ACEOF
54613 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54614 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54615 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54616 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54617 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54618 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54619 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54620 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54621 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54622 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54623 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54624 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54625 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54626 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54627 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54628 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54629 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54630 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54631 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54632 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54633 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54634 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54635 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54636 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54637 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54638 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54639 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54640 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54641 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54642 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54643 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54644 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54645 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54646 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54647 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54648 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54649 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54650 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54651 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54652 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54653 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54654 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54655 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54656 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54657 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54658 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54659 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54660 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54661 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54662 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54663 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54664 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54665 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54666 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54667 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54668 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54669 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54670 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54671 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54672 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54673 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54674 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54675 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54676 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54677 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54678 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54679 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54680 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54681 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54682 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54683 SHARED!$SHARED$ac_delim
54684 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54685 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54686 USE_GUI!$USE_GUI$ac_delim
54687 AFMINSTALL!$AFMINSTALL$ac_delim
54688 WIN32INSTALL!$WIN32INSTALL$ac_delim
54689 TOOLKIT!$TOOLKIT$ac_delim
54690 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54691 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54692 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54693 cross_compiling!$cross_compiling$ac_delim
54694 WIDGET_SET!$WIDGET_SET$ac_delim
54695 WX_RELEASE!$WX_RELEASE$ac_delim
54696 WX_VERSION!$WX_VERSION$ac_delim
54697 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54698 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54699 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54700 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54701 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54702 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54703 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54704 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54705 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54706 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54707 EXE_LINKER!$EXE_LINKER$ac_delim
54708 GUIDIST!$GUIDIST$ac_delim
54709 DISTDIR!$DISTDIR$ac_delim
54712 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54714 elif $ac_last_try; then
54715 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54716 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54717 { (exit 1); exit 1; }; }
54719 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54723 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54724 if test -n "$ac_eof"; then
54725 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54726 ac_eof=`expr $ac_eof + 1`
54729 cat >>$CONFIG_STATUS <<_ACEOF
54730 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54731 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54734 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54735 s/^/s,@/; s/!/@,|#_!!_#|/
54738 s/'"$ac_delim"'$/,g/; t
54740 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54741 ' >>$CONFIG_STATUS <conf$$subs.sed
54742 rm -f conf$$subs.sed
54743 cat >>$CONFIG_STATUS <<_ACEOF
54749 for ac_last_try in false false false false false :; do
54750 cat >conf$$subs.sed <<_ACEOF
54751 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54752 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54753 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54754 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54755 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54756 RESCOMP!$RESCOMP$ac_delim
54757 RESFLAGS!$RESFLAGS$ac_delim
54758 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54759 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54760 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54761 LIBWXMACRES!$LIBWXMACRES$ac_delim
54762 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54763 MACSETFILE!$MACSETFILE$ac_delim
54765 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54766 LIBOBJS!$LIBOBJS$ac_delim
54767 LTLIBOBJS!$LTLIBOBJS$ac_delim
54770 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54772 elif $ac_last_try; then
54773 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54774 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54775 { (exit 1); exit 1; }; }
54777 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54781 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54782 if test -n "$ac_eof"; then
54783 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54784 ac_eof=`expr $ac_eof + 1`
54787 cat >>$CONFIG_STATUS <<_ACEOF
54788 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54792 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54793 s/^/s,@/; s/!/@,|#_!!_#|/
54796 s/'"$ac_delim"'$/,g/; t
54798 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54799 ' >>$CONFIG_STATUS <conf$$subs.sed
54800 rm -f conf$$subs.sed
54801 cat >>$CONFIG_STATUS <<_ACEOF
54808 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54809 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54810 # trailing colons and then remove the whole line if VPATH becomes empty
54811 # (actually we leave an empty line to preserve line numbers).
54812 if test "x$srcdir" = x.; then
54813 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54814 s/:*\$(srcdir):*/:/
54815 s/:*\${srcdir}:*/:/
54817 s/^\([^=]*=[ ]*\):*/\1/
54823 cat >>$CONFIG_STATUS <<\_ACEOF
54824 fi # test -n "$CONFIG_FILES"
54827 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54830 :[FHLC]) ac_mode=$ac_tag; continue;;
54832 case $ac_mode$ac_tag in
54834 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54835 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54836 { (exit 1); exit 1; }; };;
54837 :[FH]-) ac_tag=-:-;;
54838 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54855 -) ac_f="$tmp/stdin";;
54856 *) # Look for the file first in the build tree, then in the source tree
54857 # (if the path is not absolute). The absolute path cannot be DOS-style,
54858 # because $ac_f cannot contain `:'.
54862 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54864 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54865 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54866 { (exit 1); exit 1; }; };;
54868 ac_file_inputs="$ac_file_inputs $ac_f"
54871 # Let's still pretend it is `configure' which instantiates (i.e., don't
54872 # use $as_me), people would be surprised to read:
54873 # /* config.h. Generated by config.status. */
54874 configure_input="Generated from "`IFS=:
54875 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54876 if test x"$ac_file" != x-; then
54877 configure_input="$ac_file. $configure_input"
54878 { echo "$as_me:$LINENO: creating $ac_file" >&5
54879 echo "$as_me: creating $ac_file" >&6;}
54883 *:-:* | *:-) cat >"$tmp/stdin";;
54888 ac_dir=`$as_dirname -- "$ac_file" ||
54889 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54890 X"$ac_file" : 'X\(//\)[^/]' \| \
54891 X"$ac_file" : 'X\(//\)$' \| \
54892 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54898 /^X\(\/\/\)[^/].*/{
54913 -*) as_dir=./$as_dir;;
54915 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54919 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54920 *) as_qdir=$as_dir;;
54922 as_dirs="'$as_qdir' $as_dirs"
54923 as_dir=`$as_dirname -- "$as_dir" ||
54924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54925 X"$as_dir" : 'X\(//\)[^/]' \| \
54926 X"$as_dir" : 'X\(//\)$' \| \
54927 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54933 /^X\(\/\/\)[^/].*/{
54946 test -d "$as_dir" && break
54948 test -z "$as_dirs" || eval "mkdir $as_dirs"
54949 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54950 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54951 { (exit 1); exit 1; }; }; }
54955 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54957 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54958 # A ".." for each directory in $ac_dir_suffix.
54959 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54960 case $ac_top_builddir_sub in
54961 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54962 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54965 ac_abs_top_builddir=$ac_pwd
54966 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54967 # for backward compatibility:
54968 ac_top_builddir=$ac_top_build_prefix
54971 .) # We are building in place.
54973 ac_top_srcdir=$ac_top_builddir_sub
54974 ac_abs_top_srcdir=$ac_pwd ;;
54975 [\\/]* | ?:[\\/]* ) # Absolute name.
54976 ac_srcdir=$srcdir$ac_dir_suffix;
54977 ac_top_srcdir=$srcdir
54978 ac_abs_top_srcdir=$srcdir ;;
54979 *) # Relative name.
54980 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54981 ac_top_srcdir=$ac_top_build_prefix$srcdir
54982 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54984 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54994 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54995 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54999 cat >>$CONFIG_STATUS <<\_ACEOF
55000 # If the template does not know about datarootdir, expand it.
55001 # FIXME: This hack should be removed a few years after 2.60.
55002 ac_datarootdir_hack=; ac_datarootdir_seen=
55004 case `sed -n '/datarootdir/ {
55013 ' $ac_file_inputs` in
55014 *datarootdir*) ac_datarootdir_seen=yes;;
55015 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
55016 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
55017 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
55019 cat >>$CONFIG_STATUS <<_ACEOF
55020 ac_datarootdir_hack='
55021 s&@datadir@&$datadir&g
55022 s&@docdir@&$docdir&g
55023 s&@infodir@&$infodir&g
55024 s&@localedir@&$localedir&g
55025 s&@mandir@&$mandir&g
55026 s&\\\${datarootdir}&$datarootdir&g' ;;
55030 # Neutralize VPATH when `$srcdir' = `.'.
55031 # Shell code in configure.ac might set extrasub.
55032 # FIXME: do we really want to maintain this feature?
55033 cat >>$CONFIG_STATUS <<_ACEOF
55037 cat >>$CONFIG_STATUS <<\_ACEOF
55039 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55040 s&@configure_input@&$configure_input&;t t
55041 s&@top_builddir@&$ac_top_builddir_sub&;t t
55042 s&@srcdir@&$ac_srcdir&;t t
55043 s&@abs_srcdir@&$ac_abs_srcdir&;t t
55044 s&@top_srcdir@&$ac_top_srcdir&;t t
55045 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
55046 s&@builddir@&$ac_builddir&;t t
55047 s&@abs_builddir@&$ac_abs_builddir&;t t
55048 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
55049 s&@INSTALL@&$ac_INSTALL&;t t
55050 $ac_datarootdir_hack
55051 " $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
55053 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
55054 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
55055 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
55056 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55057 which seems to be undefined. Please make sure it is defined." >&5
55058 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55059 which seems to be undefined. Please make sure it is defined." >&2;}
55063 -) cat "$tmp/out"; rm -f "$tmp/out";;
55064 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
55073 # Transform confdefs.h into a sed script `conftest.defines', that
55074 # substitutes the proper values into config.h.in to produce config.h.
55075 rm -f conftest.defines conftest.tail
55076 # First, append a space to every undef/define line, to ease matching.
55077 echo 's/$/ /' >conftest.defines
55078 # Then, protect against being on the right side of a sed subst, or in
55079 # an unquoted here document, in config.status. If some macros were
55080 # called several times there might be several #defines for the same
55081 # symbol, which is useless. But do not sort them, since the last
55082 # AC_DEFINE must be honored.
55083 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
55084 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
55085 # NAME is the cpp macro being defined, VALUE is the value it is being given.
55086 # PARAMS is the parameter list in the macro definition--in most cases, it's
55087 # just an empty string.
55088 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
55089 ac_dB='\\)[ (].*,\\1define\\2'
55097 s/^[ ]*#[ ]*define[ ][ ]*//
55102 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
55103 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
55104 ' >>conftest.defines
55106 # Remove the space that was appended to ease matching.
55107 # Then replace #undef with comments. This is necessary, for
55108 # example, in the case of _POSIX_SOURCE, which is predefined and required
55109 # on some systems where configure will not decide to define it.
55110 # (The regexp can be short, since the line contains either #define or #undef.)
55112 s,^[ #]*u.*,/* & */,' >>conftest.defines
55114 # Break up conftest.defines:
55115 ac_max_sed_lines=50
55117 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
55118 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
55119 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
55121 ac_in='$ac_file_inputs'
55122 ac_out='"$tmp/out1"'
55123 ac_nxt='"$tmp/out2"'
55127 # Write a here document:
55128 cat >>$CONFIG_STATUS <<_ACEOF
55129 # First, check the format of the line:
55130 cat >"\$tmp/defines.sed" <<\\CEOF
55131 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
55132 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
55136 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
55138 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
55139 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
55140 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
55141 grep . conftest.tail >/dev/null || break
55142 rm -f conftest.defines
55143 mv conftest.tail conftest.defines
55145 rm -f conftest.defines conftest.tail
55147 echo "ac_result=$ac_in" >>$CONFIG_STATUS
55148 cat >>$CONFIG_STATUS <<\_ACEOF
55149 if test x"$ac_file" != x-; then
55150 echo "/* $configure_input */" >"$tmp/config.h"
55151 cat "$ac_result" >>"$tmp/config.h"
55152 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
55153 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55154 echo "$as_me: $ac_file is unchanged" >&6;}
55157 mv "$tmp/config.h" $ac_file
55160 echo "/* $configure_input */"
55166 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
55167 echo "$as_me: executing $ac_file commands" >&6;}
55172 case $ac_file$ac_mode in
55174 mkdir -p $outdir &&
55175 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
55177 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
55178 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
55179 "wx-config":C) rm -f wx-config
55180 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
55187 { (exit 0); exit 0; }
55189 chmod +x $CONFIG_STATUS
55190 ac_clean_files=$ac_clean_files_save
55193 # configure is writing to config.log, and then calls config.status.
55194 # config.status does its own redirection, appending to config.log.
55195 # Unfortunately, on DOS this fails, as config.log is still kept open
55196 # by configure, so config.status won't be able to write to it; its
55197 # output is simply discarded. So we exec the FD to /dev/null,
55198 # effectively closing config.log, so it can be properly (re)opened and
55199 # appended to by config.status. When coming back to configure, we
55200 # need to make the FD available again.
55201 if test "$no_create" != yes; then
55203 ac_config_status_args=
55204 test "$silent" = yes &&
55205 ac_config_status_args="$ac_config_status_args --quiet"
55207 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
55209 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
55210 # would make configure fail if this is the last instruction.
55211 $ac_cs_success || { (exit 1); exit 1; }
55215 # CONFIG_SUBDIRS section.
55217 if test "$no_recursion" != yes; then
55219 # Remove --cache-file and --srcdir arguments so they do not pile up.
55220 ac_sub_configure_args=
55222 eval "set x $ac_configure_args"
55226 if test -n "$ac_prev"; then
55231 -cache-file | --cache-file | --cache-fil | --cache-fi \
55232 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
55233 ac_prev=cache_file ;;
55234 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
55235 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
55238 --config-cache | -C)
55240 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
55242 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
55244 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
55246 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
55250 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55252 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
55256 # Always prepend --prefix to ensure using the same prefix
55257 # in subdir configurations.
55258 ac_arg="--prefix=$prefix"
55260 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55262 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
55265 if test "$silent" = yes; then
55266 ac_sub_configure_args="--silent $ac_sub_configure_args"
55270 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
55272 # Do not complain, so a configure script can configure whichever
55273 # parts of a large source tree are present.
55274 test -d "$srcdir/$ac_dir" || continue
55276 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
55277 echo "$as_me:$LINENO: $ac_msg" >&5
55281 -*) as_dir=./$as_dir;;
55283 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55287 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55288 *) as_qdir=$as_dir;;
55290 as_dirs="'$as_qdir' $as_dirs"
55291 as_dir=`$as_dirname -- "$as_dir" ||
55292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55293 X"$as_dir" : 'X\(//\)[^/]' \| \
55294 X"$as_dir" : 'X\(//\)$' \| \
55295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55301 /^X\(\/\/\)[^/].*/{
55314 test -d "$as_dir" && break
55316 test -z "$as_dirs" || eval "mkdir $as_dirs"
55317 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55318 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55319 { (exit 1); exit 1; }; }; }
55323 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55325 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55326 # A ".." for each directory in $ac_dir_suffix.
55327 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55328 case $ac_top_builddir_sub in
55329 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55330 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55333 ac_abs_top_builddir=$ac_pwd
55334 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55335 # for backward compatibility:
55336 ac_top_builddir=$ac_top_build_prefix
55339 .) # We are building in place.
55341 ac_top_srcdir=$ac_top_builddir_sub
55342 ac_abs_top_srcdir=$ac_pwd ;;
55343 [\\/]* | ?:[\\/]* ) # Absolute name.
55344 ac_srcdir=$srcdir$ac_dir_suffix;
55345 ac_top_srcdir=$srcdir
55346 ac_abs_top_srcdir=$srcdir ;;
55347 *) # Relative name.
55348 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55349 ac_top_srcdir=$ac_top_build_prefix$srcdir
55350 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55352 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55357 # Check for guested configure; otherwise get Cygnus style configure.
55358 if test -f "$ac_srcdir/configure.gnu"; then
55359 ac_sub_configure=$ac_srcdir/configure.gnu
55360 elif test -f "$ac_srcdir/configure"; then
55361 ac_sub_configure=$ac_srcdir/configure
55362 elif test -f "$ac_srcdir/configure.in"; then
55363 # This should be Cygnus configure.
55364 ac_sub_configure=$ac_aux_dir/configure
55366 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55367 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55371 # The recursion is here.
55372 if test -n "$ac_sub_configure"; then
55373 # Make the cache file name correct relative to the subdirectory.
55374 case $cache_file in
55375 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55376 *) # Relative name.
55377 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55380 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55381 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55382 # The eval makes quoting arguments work.
55383 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55384 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55385 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55386 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55387 { (exit 1); exit 1; }; }
55396 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55398 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55399 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55401 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55402 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55403 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
55404 if test "$wxUSE_UNICODE" = "yes"; then
55405 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55406 echo " (using UTF-8)"
55408 echo " (using wchar_t)"
55414 echo " What level of wxWidgets compatibility should be enabled?"
55415 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55416 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55418 echo " Which libraries should wxWidgets use?"
55419 echo " jpeg ${wxUSE_LIBJPEG-none}"
55420 echo " png ${wxUSE_LIBPNG-none}"
55421 echo " regex ${wxUSE_REGEX}"
55422 echo " tiff ${wxUSE_LIBTIFF-none}"
55423 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55424 echo " xpm ${wxUSE_LIBXPM-none}"
55426 echo " zlib ${wxUSE_ZLIB}"
55427 echo " odbc ${wxUSE_ODBC}"
55428 echo " expat ${wxUSE_EXPAT}"
55429 echo " libmspack ${wxUSE_LIBMSPACK}"
55430 echo " sdl ${wxUSE_LIBSDL}"