2 # From configure.in Id: configure.in 47611 2007-07-21 07:31:28Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev/null 6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix=/usr/local
567 ac_config_libobj_dir=.
573 SHELL=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
719 LIBGNOMEPRINTUI_CFLAGS
766 SAMPLES_RPATH_POSTLINK
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_DFB_USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MGL_USE_GUI_1
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
942 COND_TOOLKIT_X11_USE_GUI_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
964 COND_USE_SOVERSOLARIS_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
1002 WXCONFIG_LDFLAGS_GUI
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1025 ac_precious_vars='build_alias
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1057 ac_subdirs_all='src/expat'
1059 # Initialize some variables set by options.
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1071 program_transform_name=s,x,x,
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1123 case $ac_dashdash$ac_option in
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1147 -datadir | --datadir | --datadi | --datad)
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1168 -docdir | --docdir | --docdi | --doc | --do)
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1216 htmldir=$ac_optarg ;;
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1230 -libdir | --libdir | --libdi | --libd)
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1321 -psdir | --psdir | --psdi | --psd | --ps)
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1334 sbindir=$ac_optarg ;;
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1345 sharedstatedir=$ac_optarg ;;
1347 -site | --site | --sit)
1349 -site=* | --site=* | --sit=*)
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1394 # Obsolete; use --with-x.
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1448 eval ac_val=\$$ac_var
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1462 target=$target_alias
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1478 test "$silent" = yes && exec 6>/dev/null
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1523 ac_srcdir_defaulted=no
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1553 # Report the --help message.
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1566 Defaults for the options are specified in brackets.
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1590 For better control, use the options below.
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use help subsystem
1735 --enable-mshtmlhelp use MS HTML Help (win32)
1736 --enable-html use wxHTML sub-library
1737 --enable-htmlhelp use wxHTML-based help
1738 --enable-xrc use XRC resources sub-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl (Mac)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context 2D drawing API
1751 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile (Win32 only)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images (GIF file format)
1843 --enable-pcx use pcx images (PCX file format)
1844 --enable-tga use tga images (TGA file format)
1845 --enable-iff use iff images (IFF file format)
1846 --enable-pnm use pnm images (PNM file format)
1847 --enable-xpm use xpm images (XPM file format)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects (Win32 only)
1850 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1851 --enable-wxdib compile wxDIB class (Win32 only)
1852 --disable-largefile omit support for large files
1853 --disable-gtktest do not try to compile and run a test GTK+ program
1854 --disable-gtktest Do not try to compile and run a test GTK program
1855 --disable-sdltest Do not try to compile and run a test SDL program
1856 --enable-omf use OMF object format (OS/2)
1857 --disable-dependency-tracking
1858 don't use dependency tracking even if the compiler
1860 --disable-precomp-headers
1861 don't use precompiled headers even if compiler can
1864 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1865 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1866 --without-subdirs don't generate makefiles for samples/demos/...
1867 --with-flavour=NAME specify a name to identify this build
1868 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1869 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1870 --with-motif use Motif/Lesstif
1871 --with-mac use Mac OS X
1872 --with-cocoa use Cocoa
1873 --with-wine use Wine
1874 --with-msw use MS-Windows
1875 --with-pm use OS/2 Presentation Manager
1876 --with-mgl use SciTech MGL
1877 --with-directfb use DirectFB
1878 --with-microwin use MicroWindows
1880 --with-libpng use libpng (PNG image format)
1881 --with-libjpeg use libjpeg (JPEG file format)
1882 --with-libtiff use libtiff (TIFF file format)
1883 --with-libxpm use libxpm (XPM file format)
1884 --with-libmspack use libmspack (CHM help files loading)
1885 --without-gnomeprint don't use GNOME printing libraries
1886 --with-gnomevfs use GNOME VFS for associating MIME types
1887 --with-hildon use Hildon framework for Nokia 770
1888 --with-opengl use OpenGL (or Mesa)
1889 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1890 --with-sdl use SDL for audio on Unix
1891 --with-regex enable support for wxRegEx class
1892 --with-zlib use zlib for LZW compression
1893 --with-odbc use the IODBC and wxODBC classes
1894 --with-expat enable XML support using expat parser
1895 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1896 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1897 --with-x use the X Window System
1898 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1899 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1900 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1901 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1902 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1904 Some influential environment variables:
1905 CC C compiler command
1906 CFLAGS C compiler flags
1907 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1908 nonstandard directory <lib dir>
1909 LIBS libraries to pass to the linker, e.g. -l<library>
1910 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1911 you have headers in a nonstandard directory <include dir>
1913 CXX C++ compiler command
1914 CXXFLAGS C++ compiler flags
1915 PKG_CONFIG path to pkg-config utility
1917 C compiler flags for DIRECTFB, overriding pkg-config
1919 linker flags for DIRECTFB, overriding pkg-config
1920 XMKMF Path to xmkmf, Makefile generator for X Window System
1922 C compiler flags for PANGOX, overriding pkg-config
1923 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1925 C compiler flags for PANGOFT2, overriding pkg-config
1927 linker flags for PANGOFT2, overriding pkg-config
1929 C compiler flags for PANGOXFT, overriding pkg-config
1931 linker flags for PANGOXFT, overriding pkg-config
1932 LIBGNOMEPRINTUI_CFLAGS
1933 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1934 LIBGNOMEPRINTUI_LIBS
1935 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1937 C compiler flags for GNOMEVFS, overriding pkg-config
1939 linker flags for GNOMEVFS, overriding pkg-config
1941 C compiler flags for HILDON, overriding pkg-config
1942 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1944 C compiler flags for CAIRO, overriding pkg-config
1945 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1946 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1947 GST_LIBS linker flags for GST, overriding pkg-config
1949 Use these variables to override the choices made by `configure' or to help
1950 it to find libraries and programs with nonstandard names/locations.
1952 Report bugs to <wx-dev@lists.wxwidgets.org>.
1957 if test "$ac_init_help" = "recursive"; then
1958 # If there are subdirs, report their specific --help.
1959 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1960 test -d "$ac_dir" || continue
1964 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1966 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1967 # A ".." for each directory in $ac_dir_suffix.
1968 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1969 case $ac_top_builddir_sub in
1970 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1971 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1974 ac_abs_top_builddir=$ac_pwd
1975 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1976 # for backward compatibility:
1977 ac_top_builddir=$ac_top_build_prefix
1980 .) # We are building in place.
1982 ac_top_srcdir=$ac_top_builddir_sub
1983 ac_abs_top_srcdir=$ac_pwd ;;
1984 [\\/]* | ?:[\\/]* ) # Absolute name.
1985 ac_srcdir=$srcdir$ac_dir_suffix;
1986 ac_top_srcdir=$srcdir
1987 ac_abs_top_srcdir=$srcdir ;;
1989 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1990 ac_top_srcdir=$ac_top_build_prefix$srcdir
1991 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1993 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1995 cd "$ac_dir" || { ac_status=$?; continue; }
1996 # Check for guested configure.
1997 if test -f "$ac_srcdir/configure.gnu"; then
1999 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2000 elif test -f "$ac_srcdir/configure"; then
2002 $SHELL "$ac_srcdir/configure" --help=recursive
2004 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2006 cd "$ac_pwd" || { ac_status=$?; break; }
2010 test -n "$ac_init_help" && exit $ac_status
2011 if $ac_init_version; then
2013 wxWidgets configure 2.9.0
2014 generated by GNU Autoconf 2.61
2016 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2017 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2018 This configure script is free software; the Free Software Foundation
2019 gives unlimited permission to copy, distribute and modify it.
2023 cat >config.log <<_ACEOF
2024 This file contains any messages produced by compilers while
2025 running configure, to aid debugging if configure makes a mistake.
2027 It was created by wxWidgets $as_me 2.9.0, which was
2028 generated by GNU Autoconf 2.61. Invocation command line was
2040 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2041 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2042 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2043 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2044 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2046 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2047 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2049 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2050 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2051 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2052 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2053 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2054 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2055 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 test -z "$as_dir" && as_dir=.
2064 echo "PATH: $as_dir"
2080 # Keep a trace of the command line.
2081 # Strip out --no-create and --no-recursion so they do not pile up.
2082 # Strip out --silent because we don't want to record it for future runs.
2083 # Also quote any args containing shell meta-characters.
2084 # Make two passes to allow for proper duplicate-argument suppression.
2088 ac_must_keep_next=false
2094 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2095 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2096 | -silent | --silent | --silen | --sile | --sil)
2099 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2102 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2104 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2105 if test $ac_must_keep_next = true; then
2106 ac_must_keep_next=false # Got value, back to normal.
2109 *=* | --config-cache | -C | -disable-* | --disable-* \
2110 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2111 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2112 | -with-* | --with-* | -without-* | --without-* | --x)
2113 case "$ac_configure_args0 " in
2114 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2117 -* ) ac_must_keep_next=true ;;
2120 ac_configure_args="$ac_configure_args '$ac_arg'"
2125 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2126 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2128 # When interrupted or exit'd, cleanup temporary files, and complete
2129 # config.log. We remove comments because anyway the quotes in there
2130 # would cause problems or look ugly.
2131 # WARNING: Use '\'' to represent an apostrophe within the trap.
2132 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2133 trap 'exit_status=$?
2134 # Save into config.log some information that might help in debugging.
2139 ## ---------------- ##
2140 ## Cache variables. ##
2141 ## ---------------- ##
2144 # The following way of writing the cache mishandles newlines in values,
2146 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2147 eval ac_val=\$$ac_var
2151 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2152 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2155 _ | IFS | as_nl) ;; #(
2156 *) $as_unset $ac_var ;;
2161 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2162 *${as_nl}ac_space=\ *)
2164 "s/'\''/'\''\\\\'\'''\''/g;
2165 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2168 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2176 ## ----------------- ##
2177 ## Output variables. ##
2178 ## ----------------- ##
2181 for ac_var in $ac_subst_vars
2183 eval ac_val=\$$ac_var
2185 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 echo "$ac_var='\''$ac_val'\''"
2191 if test -n "$ac_subst_files"; then
2193 ## ------------------- ##
2194 ## File substitutions. ##
2195 ## ------------------- ##
2198 for ac_var in $ac_subst_files
2200 eval ac_val=\$$ac_var
2202 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2204 echo "$ac_var='\''$ac_val'\''"
2209 if test -s confdefs.h; then
2219 test "$ac_signal" != 0 &&
2220 echo "$as_me: caught signal $ac_signal"
2221 echo "$as_me: exit $exit_status"
2223 rm -f core *.core core.conftest.* &&
2224 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2227 for ac_signal in 1 2 13 15; do
2228 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2232 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2233 rm -f -r conftest* confdefs.h
2235 # Predefined preprocessor variables.
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_NAME "$PACKAGE_NAME"
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_STRING "$PACKAGE_STRING"
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2262 # Let the site file select an alternate cache file if it wants to.
2263 # Prefer explicitly selected file to automatically selected ones.
2264 if test -n "$CONFIG_SITE"; then
2265 set x "$CONFIG_SITE"
2266 elif test "x$prefix" != xNONE; then
2267 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2269 set x "$ac_default_prefix/share/config.site" \
2270 "$ac_default_prefix/etc/config.site"
2275 if test -r "$ac_site_file"; then
2276 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2277 echo "$as_me: loading site script $ac_site_file" >&6;}
2278 sed 's/^/| /' "$ac_site_file" >&5
2283 if test -r "$cache_file"; then
2284 # Some versions of bash will fail to source /dev/null (special
2285 # files actually), so we avoid doing that.
2286 if test -f "$cache_file"; then
2287 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2288 echo "$as_me: loading cache $cache_file" >&6;}
2290 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2291 *) . "./$cache_file";;
2295 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2296 echo "$as_me: creating cache $cache_file" >&6;}
2300 # Check that the precious variables saved in the cache have kept the same
2302 ac_cache_corrupted=false
2303 for ac_var in $ac_precious_vars; do
2304 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2305 eval ac_new_set=\$ac_env_${ac_var}_set
2306 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2307 eval ac_new_val=\$ac_env_${ac_var}_value
2308 case $ac_old_set,$ac_new_set in
2310 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2311 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2312 ac_cache_corrupted=: ;;
2314 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2315 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2316 ac_cache_corrupted=: ;;
2319 if test "x$ac_old_val" != "x$ac_new_val"; then
2320 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2321 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2322 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2323 echo "$as_me: former value: $ac_old_val" >&2;}
2324 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2325 echo "$as_me: current value: $ac_new_val" >&2;}
2326 ac_cache_corrupted=:
2329 # Pass precious variables to config.status.
2330 if test "$ac_new_set" = set; then
2332 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2333 *) ac_arg=$ac_var=$ac_new_val ;;
2335 case " $ac_configure_args " in
2336 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2337 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2341 if $ac_cache_corrupted; then
2342 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2343 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2344 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2345 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2346 { (exit 1); exit 1; }; }
2374 ac_cpp='$CPP $CPPFLAGS'
2375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2384 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2385 if test -f "$ac_dir/install-sh"; then
2387 ac_install_sh="$ac_aux_dir/install-sh -c"
2389 elif test -f "$ac_dir/install.sh"; then
2391 ac_install_sh="$ac_aux_dir/install.sh -c"
2393 elif test -f "$ac_dir/shtool"; then
2395 ac_install_sh="$ac_aux_dir/shtool install -c"
2399 if test -z "$ac_aux_dir"; then
2400 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2401 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2402 { (exit 1); exit 1; }; }
2405 # These three variables are undocumented and unsupported,
2406 # and are intended to be withdrawn in a future Autoconf release.
2407 # They can cause serious problems if a builder's source tree is in a directory
2408 # whose full name contains unusual characters.
2409 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2410 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2411 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2414 # Make sure we can run config.sub.
2415 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2416 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2417 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2418 { (exit 1); exit 1; }; }
2420 { echo "$as_me:$LINENO: checking build system type" >&5
2421 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2422 if test "${ac_cv_build+set}" = set; then
2423 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 ac_build_alias=$build_alias
2426 test "x$ac_build_alias" = x &&
2427 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2428 test "x$ac_build_alias" = x &&
2429 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2430 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2431 { (exit 1); exit 1; }; }
2432 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2433 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2434 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2435 { (exit 1); exit 1; }; }
2438 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2439 echo "${ECHO_T}$ac_cv_build" >&6; }
2440 case $ac_cv_build in
2442 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2443 echo "$as_me: error: invalid value of canonical build" >&2;}
2444 { (exit 1); exit 1; }; };;
2447 ac_save_IFS=$IFS; IFS='-'
2453 # Remember, the first character of IFS is used to create $*,
2454 # except with old shells:
2457 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2460 { echo "$as_me:$LINENO: checking host system type" >&5
2461 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2462 if test "${ac_cv_host+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 if test "x$host_alias" = x; then
2466 ac_cv_host=$ac_cv_build
2468 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2469 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2470 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2471 { (exit 1); exit 1; }; }
2475 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2476 echo "${ECHO_T}$ac_cv_host" >&6; }
2479 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2480 echo "$as_me: error: invalid value of canonical host" >&2;}
2481 { (exit 1); exit 1; }; };;
2484 ac_save_IFS=$IFS; IFS='-'
2490 # Remember, the first character of IFS is used to create $*,
2491 # except with old shells:
2494 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2497 { echo "$as_me:$LINENO: checking target system type" >&5
2498 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2499 if test "${ac_cv_target+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 if test "x$target_alias" = x; then
2503 ac_cv_target=$ac_cv_host
2505 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2506 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2507 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2508 { (exit 1); exit 1; }; }
2512 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2513 echo "${ECHO_T}$ac_cv_target" >&6; }
2514 case $ac_cv_target in
2516 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2517 echo "$as_me: error: invalid value of canonical target" >&2;}
2518 { (exit 1); exit 1; }; };;
2520 target=$ac_cv_target
2521 ac_save_IFS=$IFS; IFS='-'
2527 # Remember, the first character of IFS is used to create $*,
2528 # except with old shells:
2531 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2534 # The aliases save the names the user supplied, while $host etc.
2535 # will get canonicalized.
2536 test -n "$target_alias" &&
2537 test "$program_prefix$program_suffix$program_transform_name" = \
2539 program_prefix=${target_alias}-
2543 wx_major_version_number=2
2544 wx_minor_version_number=9
2546 wx_subrelease_number=0
2548 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2549 WX_VERSION=$WX_RELEASE.$wx_release_number
2550 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2552 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2555 wx_top_builddir="`pwd`"
2568 USE_BSD= USE_DARWIN= USE_FREEBSD=
2574 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2580 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2582 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2584 DEFAULT_wxUSE_COCOA=0
2588 DEFAULT_wxUSE_MICROWIN=0
2589 DEFAULT_wxUSE_MOTIF=0
2595 DEFAULT_DEFAULT_wxUSE_COCOA=0
2596 DEFAULT_DEFAULT_wxUSE_GTK=0
2597 DEFAULT_DEFAULT_wxUSE_MAC=0
2598 DEFAULT_DEFAULT_wxUSE_MGL=0
2599 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2600 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2601 DEFAULT_DEFAULT_wxUSE_MSW=0
2602 DEFAULT_DEFAULT_wxUSE_PM=0
2603 DEFAULT_DEFAULT_wxUSE_X11=0
2604 DEFAULT_DEFAULT_wxUSE_DFB=0
2609 SAMPLES_RPATH_POSTLINK=
2611 DEFAULT_STD_FLAG=yes
2616 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2617 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2619 cat >>confdefs.h <<\_ACEOF
2624 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2628 cat >>confdefs.h <<\_ACEOF
2633 if test "x$TMP" = "xalpha"; then
2635 cat >>confdefs.h <<\_ACEOF
2640 DEFAULT_DEFAULT_wxUSE_GTK=1
2642 *-*-gnu* | *-*-k*bsd*-gnu )
2645 if test "x$TMP" = "xalpha"; then
2647 cat >>confdefs.h <<\_ACEOF
2652 DEFAULT_DEFAULT_wxUSE_GTK=1
2654 *-*-irix5* | *-*-irix6* )
2657 cat >>confdefs.h <<\_ACEOF
2661 cat >>confdefs.h <<\_ACEOF
2665 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2671 cat >>confdefs.h <<\_ACEOF
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SOLARIS__ 1
2679 cat >>confdefs.h <<\_ACEOF
2683 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2684 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2690 cat >>confdefs.h <<\_ACEOF
2694 cat >>confdefs.h <<\_ACEOF
2698 cat >>confdefs.h <<\_ACEOF
2702 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2707 cat >>confdefs.h <<\_ACEOF
2708 #define __FREEBSD__ 1
2711 cat >>confdefs.h <<\_ACEOF
2715 DEFAULT_DEFAULT_wxUSE_GTK=1
2717 *-*-openbsd*|*-*-mirbsd*)
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __OPENBSD__ 1
2724 cat >>confdefs.h <<\_ACEOF
2728 DEFAULT_DEFAULT_wxUSE_GTK=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __NETBSD__ 1
2737 cat >>confdefs.h <<\_ACEOF
2741 DEFAULT_DEFAULT_wxUSE_GTK=1
2742 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2744 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2749 cat >>confdefs.h <<\_ACEOF
2753 cat >>confdefs.h <<\_ACEOF
2757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2758 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2763 cat >>confdefs.h <<\_ACEOF
2767 cat >>confdefs.h <<\_ACEOF
2771 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2776 cat >>confdefs.h <<\_ACEOF
2780 cat >>confdefs.h <<\_ACEOF
2784 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2791 cat >>confdefs.h <<\_ACEOF
2795 cat >>confdefs.h <<\_ACEOF
2799 cat >>confdefs.h <<\_ACEOF
2803 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __UNIXWARE__ 1
2816 *-*-cygwin* | *-*-mingw32* )
2819 DEFAULT_DEFAULT_wxUSE_MSW=1
2825 cat >>confdefs.h <<\_ACEOF
2830 DEFAULT_DEFAULT_wxUSE_MGL=1
2833 *-pc-os2_emx | *-pc-os2-emx )
2834 cat >>confdefs.h <<\_ACEOF
2839 cat >>confdefs.h <<\_ACEOF
2844 DEFAULT_DEFAULT_wxUSE_PM=1
2846 LDFLAGS="$LDFLAGS -Zcrtdll"
2847 ac_executable_extensions=".exe"
2848 export ac_executable_extensions
2852 for ac_dir in $PATH; do
2854 if test -z "$ac_TEMP_PATH"; then
2855 ac_TEMP_PATH="$ac_dir"
2857 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2860 export PATH="$ac_TEMP_PATH"
2869 cat >>confdefs.h <<\_ACEOF
2873 cat >>confdefs.h <<\_ACEOF
2874 #define __DARWIN__ 1
2877 cat >>confdefs.h <<\_ACEOF
2878 #define TARGET_CARBON 1
2881 DEFAULT_DEFAULT_wxUSE_MAC=1
2884 powerpc-apple-macos* )
2886 ac_cv_c_bigendian=yes
2888 DEFAULT_DEFAULT_wxUSE_MAC=1
2894 cat >>confdefs.h <<\_ACEOF
2901 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2902 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2903 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2904 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2906 DEFAULT_DEFAULT_wxUSE_X11=1
2907 DEFAULT_wxUSE_SHARED=no
2913 wx_arg_cache_file="configarg.cache"
2914 echo "loading argument cache $wx_arg_cache_file"
2915 rm -f ${wx_arg_cache_file}.tmp
2916 touch ${wx_arg_cache_file}.tmp
2917 touch ${wx_arg_cache_file}
2920 DEFAULT_wxUSE_ALL_FEATURES=yes
2922 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2923 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_DMALLOC=no
2926 DEFAULT_wxUSE_LIBGNOMEVFS=no
2927 DEFAULT_wxUSE_LIBHILDON=no
2928 DEFAULT_wxUSE_LIBMSPACK=no
2929 DEFAULT_wxUSE_LIBSDL=no
2930 DEFAULT_wxUSE_ODBC=no
2931 DEFAULT_wxUSE_OPENGL=no
2933 DEFAULT_wxUSE_ACCESSIBILITY=no
2934 DEFAULT_wxUSE_DATAVIEWCTRL=no
2935 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2936 DEFAULT_wxUSE_MEDIACTRL=no
2937 DEFAULT_wxUSE_TAB_DIALOG=no
2939 DEFAULT_wxUSE_UNICODE_UTF8=auto
2940 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2942 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2944 DEFAULT_wxUSE_GTK2=yes
2946 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2949 for toolkit in `echo $ALL_TOOLKITS`; do
2950 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2951 if test "x$LINE" != "x" ; then
2952 has_toolkit_in_cache=1
2953 eval "DEFAULT_$LINE"
2954 eval "CACHE_$toolkit=1"
2956 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2957 if test "x$LINE" != "x" ; then
2958 eval "DEFAULT_$LINE"
2967 enablestring=disable
2969 if test -z "$defaultval"; then
2970 if test x"$enablestring" = xdisable; then
2977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2978 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2979 # Check whether --enable-gui was given.
2980 if test "${enable_gui+set}" = set; then
2981 enableval=$enable_gui;
2982 if test "$enableval" = yes; then
2983 wx_cv_use_gui='wxUSE_GUI=yes'
2985 wx_cv_use_gui='wxUSE_GUI=no'
2991 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2992 if test "x$LINE" != x ; then
2993 eval "DEFAULT_$LINE"
2996 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3001 eval "$wx_cv_use_gui"
3002 if test "x$cache" = xyes; then
3003 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3006 if test x"$enablestring" = xdisable; then
3007 if test $wxUSE_GUI = yes; then
3016 { echo "$as_me:$LINENO: result: $result" >&5
3017 echo "${ECHO_T}$result" >&6; }
3022 if test -z "$defaultval"; then
3023 if test x"$enablestring" = xdisable; then
3030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3031 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3032 # Check whether --enable-monolithic was given.
3033 if test "${enable_monolithic+set}" = set; then
3034 enableval=$enable_monolithic;
3035 if test "$enableval" = yes; then
3036 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3038 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3044 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3045 if test "x$LINE" != x ; then
3046 eval "DEFAULT_$LINE"
3049 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3054 eval "$wx_cv_use_monolithic"
3055 if test "x$cache" = xyes; then
3056 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3059 if test x"$enablestring" = xdisable; then
3060 if test $wxUSE_MONOLITHIC = yes; then
3066 result=$wxUSE_MONOLITHIC
3069 { echo "$as_me:$LINENO: result: $result" >&5
3070 echo "${ECHO_T}$result" >&6; }
3075 if test -z "$defaultval"; then
3076 if test x"$enablestring" = xdisable; then
3083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3084 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3085 # Check whether --enable-plugins was given.
3086 if test "${enable_plugins+set}" = set; then
3087 enableval=$enable_plugins;
3088 if test "$enableval" = yes; then
3089 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3091 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3097 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x ; then
3099 eval "DEFAULT_$LINE"
3102 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3107 eval "$wx_cv_use_plugins"
3108 if test "x$cache" = xyes; then
3109 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3112 if test x"$enablestring" = xdisable; then
3113 if test $wxUSE_PLUGINS = yes; then
3119 result=$wxUSE_PLUGINS
3122 { echo "$as_me:$LINENO: result: $result" >&5
3123 echo "${ECHO_T}$result" >&6; }
3127 defaultval=$wxUSE_ALL_FEATURES
3128 if test -z "$defaultval"; then
3129 if test x"$withstring" = xwithout; then
3135 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3136 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3138 # Check whether --with-subdirs was given.
3139 if test "${with_subdirs+set}" = set; then
3140 withval=$with_subdirs;
3141 if test "$withval" = yes; then
3142 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3144 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3150 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3151 if test "x$LINE" != x ; then
3152 eval "DEFAULT_$LINE"
3155 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3160 eval "$wx_cv_use_subdirs"
3161 if test "x$cache" != xyes; then
3162 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3165 if test x"$withstring" = xwithout; then
3166 if test $wxWITH_SUBDIRS = yes; then
3172 result=$wxWITH_SUBDIRS
3175 { echo "$as_me:$LINENO: result: $result" >&5
3176 echo "${ECHO_T}$result" >&6; }
3179 # Check whether --with-flavour was given.
3180 if test "${with_flavour+set}" = set; then
3181 withval=$with_flavour; WX_FLAVOUR="$withval"
3187 if test -z "$defaultval"; then
3188 if test x"$enablestring" = xdisable; then
3195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3196 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3197 # Check whether --enable-official_build was given.
3198 if test "${enable_official_build+set}" = set; then
3199 enableval=$enable_official_build;
3200 if test "$enableval" = yes; then
3201 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3203 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3209 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3210 if test "x$LINE" != x ; then
3211 eval "DEFAULT_$LINE"
3214 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3219 eval "$wx_cv_use_official_build"
3220 if test "x$cache" = xyes; then
3221 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3224 if test x"$enablestring" = xdisable; then
3225 if test $wxUSE_OFFICIAL_BUILD = yes; then
3231 result=$wxUSE_OFFICIAL_BUILD
3234 { echo "$as_me:$LINENO: result: $result" >&5
3235 echo "${ECHO_T}$result" >&6; }
3237 # Check whether --enable-vendor was given.
3238 if test "${enable_vendor+set}" = set; then
3239 enableval=$enable_vendor; VENDOR="$enableval"
3242 if test "x$VENDOR" = "x"; then
3247 enablestring=disable
3249 if test -z "$defaultval"; then
3250 if test x"$enablestring" = xdisable; then
3257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3259 # Check whether --enable-all-features was given.
3260 if test "${enable_all_features+set}" = set; then
3261 enableval=$enable_all_features;
3262 if test "$enableval" = yes; then
3263 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3265 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3271 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3272 if test "x$LINE" != x ; then
3273 eval "DEFAULT_$LINE"
3276 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3281 eval "$wx_cv_use_all_features"
3282 if test "x$cache" = xyes; then
3283 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3286 if test x"$enablestring" = xdisable; then
3287 if test $wxUSE_ALL_FEATURES = yes; then
3293 result=$wxUSE_ALL_FEATURES
3296 { echo "$as_me:$LINENO: result: $result" >&5
3297 echo "${ECHO_T}$result" >&6; }
3301 if test "$wxUSE_GUI" = "yes"; then
3306 if test -z "$defaultval"; then
3307 if test x"$enablestring" = xdisable; then
3314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3315 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3316 # Check whether --enable-universal was given.
3317 if test "${enable_universal+set}" = set; then
3318 enableval=$enable_universal;
3319 if test "$enableval" = yes; then
3320 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3322 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3328 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3329 if test "x$LINE" != x ; then
3330 eval "DEFAULT_$LINE"
3333 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3338 eval "$wx_cv_use_universal"
3339 if test "x$cache" = xyes; then
3340 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3343 if test x"$enablestring" = xdisable; then
3344 if test $wxUSE_UNIVERSAL = yes; then
3350 result=$wxUSE_UNIVERSAL
3353 { echo "$as_me:$LINENO: result: $result" >&5
3354 echo "${ECHO_T}$result" >&6; }
3356 if test "$wxUSE_UNIVERSAL" = "yes"; then
3358 # Check whether --with-themes was given.
3359 if test "${with_themes+set}" = set; then
3360 withval=$with_themes; wxUNIV_THEMES="$withval"
3366 # Check whether --with-gtk was given.
3367 if test "${with_gtk+set}" = set; then
3368 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-motif was given.
3373 if test "${with_motif+set}" = set; then
3374 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3378 # Check whether --with-mac was given.
3379 if test "${with_mac+set}" = set; then
3380 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3384 # Check whether --with-cocoa was given.
3385 if test "${with_cocoa+set}" = set; then
3386 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3390 # Check whether --with-wine was given.
3391 if test "${with_wine+set}" = set; then
3392 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3396 # Check whether --with-msw was given.
3397 if test "${with_msw+set}" = set; then
3398 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3402 # Check whether --with-pm was given.
3403 if test "${with_pm+set}" = set; then
3404 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3408 # Check whether --with-mgl was given.
3409 if test "${with_mgl+set}" = set; then
3410 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3414 # Check whether --with-directfb was given.
3415 if test "${with_directfb+set}" = set; then
3416 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3420 # Check whether --with-microwin was given.
3421 if test "${with_microwin+set}" = set; then
3422 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3426 # Check whether --with-x11 was given.
3427 if test "${with_x11+set}" = set; then
3428 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3434 if test -z "$defaultval"; then
3435 if test x"$enablestring" = xdisable; then
3442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3443 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3444 # Check whether --enable-nanox was given.
3445 if test "${enable_nanox+set}" = set; then
3446 enableval=$enable_nanox;
3447 if test "$enableval" = yes; then
3448 wx_cv_use_nanox='wxUSE_NANOX=yes'
3450 wx_cv_use_nanox='wxUSE_NANOX=no'
3456 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3461 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3466 eval "$wx_cv_use_nanox"
3467 if test "x$cache" = xyes; then
3468 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3471 if test x"$enablestring" = xdisable; then
3472 if test $wxUSE_NANOX = yes; then
3481 { echo "$as_me:$LINENO: result: $result" >&5
3482 echo "${ECHO_T}$result" >&6; }
3485 # Check whether --enable-gtk2 was given.
3486 if test "${enable_gtk2+set}" = set; then
3487 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3493 if test -z "$defaultval"; then
3494 if test x"$enablestring" = xdisable; then
3501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3502 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3503 # Check whether --enable-gpe was given.
3504 if test "${enable_gpe+set}" = set; then
3505 enableval=$enable_gpe;
3506 if test "$enableval" = yes; then
3507 wx_cv_use_gpe='wxUSE_GPE=yes'
3509 wx_cv_use_gpe='wxUSE_GPE=no'
3515 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3516 if test "x$LINE" != x ; then
3517 eval "DEFAULT_$LINE"
3520 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3525 eval "$wx_cv_use_gpe"
3526 if test "x$cache" = xyes; then
3527 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3530 if test x"$enablestring" = xdisable; then
3531 if test $wxUSE_GPE = yes; then
3540 { echo "$as_me:$LINENO: result: $result" >&5
3541 echo "${ECHO_T}$result" >&6; }
3546 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3547 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3549 # Check whether --with-libpng was given.
3550 if test "${with_libpng+set}" = set; then
3551 withval=$with_libpng;
3552 if test "$withval" = yes; then
3553 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3554 elif test "$withval" = no; then
3555 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3556 elif test "$withval" = sys; then
3557 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3558 elif test "$withval" = builtin; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3561 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3562 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3563 { (exit 1); exit 1; }; }
3569 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3570 if test "x$LINE" != x ; then
3571 eval "DEFAULT_$LINE"
3574 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3579 eval "$wx_cv_use_libpng"
3580 if test "x$cache" = xyes; then
3581 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3584 if test "$wxUSE_LIBPNG" = yes; then
3585 { echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6; }
3587 elif test "$wxUSE_LIBPNG" = no; then
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3590 elif test "$wxUSE_LIBPNG" = sys; then
3591 { echo "$as_me:$LINENO: result: system version" >&5
3592 echo "${ECHO_T}system version" >&6; }
3593 elif test "$wxUSE_LIBPNG" = builtin; then
3594 { echo "$as_me:$LINENO: result: builtin version" >&5
3595 echo "${ECHO_T}builtin version" >&6; }
3597 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3598 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3599 { (exit 1); exit 1; }; }
3603 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3604 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3606 # Check whether --with-libjpeg was given.
3607 if test "${with_libjpeg+set}" = set; then
3608 withval=$with_libjpeg;
3609 if test "$withval" = yes; then
3610 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3611 elif test "$withval" = no; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3613 elif test "$withval" = sys; then
3614 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3615 elif test "$withval" = builtin; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3618 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3619 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3620 { (exit 1); exit 1; }; }
3626 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x ; then
3628 eval "DEFAULT_$LINE"
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3636 eval "$wx_cv_use_libjpeg"
3637 if test "x$cache" = xyes; then
3638 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3641 if test "$wxUSE_LIBJPEG" = yes; then
3642 { echo "$as_me:$LINENO: result: yes" >&5
3643 echo "${ECHO_T}yes" >&6; }
3644 elif test "$wxUSE_LIBJPEG" = no; then
3645 { echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6; }
3647 elif test "$wxUSE_LIBJPEG" = sys; then
3648 { echo "$as_me:$LINENO: result: system version" >&5
3649 echo "${ECHO_T}system version" >&6; }
3650 elif test "$wxUSE_LIBJPEG" = builtin; then
3651 { echo "$as_me:$LINENO: result: builtin version" >&5
3652 echo "${ECHO_T}builtin version" >&6; }
3654 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3655 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3656 { (exit 1); exit 1; }; }
3660 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3661 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3663 # Check whether --with-libtiff was given.
3664 if test "${with_libtiff+set}" = set; then
3665 withval=$with_libtiff;
3666 if test "$withval" = yes; then
3667 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3668 elif test "$withval" = no; then
3669 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3670 elif test "$withval" = sys; then
3671 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3672 elif test "$withval" = builtin; then
3673 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3675 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3676 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3677 { (exit 1); exit 1; }; }
3683 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x ; then
3685 eval "DEFAULT_$LINE"
3688 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3693 eval "$wx_cv_use_libtiff"
3694 if test "x$cache" = xyes; then
3695 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3698 if test "$wxUSE_LIBTIFF" = yes; then
3699 { echo "$as_me:$LINENO: result: yes" >&5
3700 echo "${ECHO_T}yes" >&6; }
3701 elif test "$wxUSE_LIBTIFF" = no; then
3702 { echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6; }
3704 elif test "$wxUSE_LIBTIFF" = sys; then
3705 { echo "$as_me:$LINENO: result: system version" >&5
3706 echo "${ECHO_T}system version" >&6; }
3707 elif test "$wxUSE_LIBTIFF" = builtin; then
3708 { echo "$as_me:$LINENO: result: builtin version" >&5
3709 echo "${ECHO_T}builtin version" >&6; }
3711 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3712 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3713 { (exit 1); exit 1; }; }
3717 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3718 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3720 # Check whether --with-libxpm was given.
3721 if test "${with_libxpm+set}" = set; then
3722 withval=$with_libxpm;
3723 if test "$withval" = yes; then
3724 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3725 elif test "$withval" = no; then
3726 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3727 elif test "$withval" = sys; then
3728 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3729 elif test "$withval" = builtin; then
3730 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3740 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3741 if test "x$LINE" != x ; then
3742 eval "DEFAULT_$LINE"
3745 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3750 eval "$wx_cv_use_libxpm"
3751 if test "x$cache" = xyes; then
3752 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3755 if test "$wxUSE_LIBXPM" = yes; then
3756 { echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6; }
3758 elif test "$wxUSE_LIBXPM" = no; then
3759 { echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6; }
3761 elif test "$wxUSE_LIBXPM" = sys; then
3762 { echo "$as_me:$LINENO: result: system version" >&5
3763 echo "${ECHO_T}system version" >&6; }
3764 elif test "$wxUSE_LIBXPM" = builtin; then
3765 { echo "$as_me:$LINENO: result: builtin version" >&5
3766 echo "${ECHO_T}builtin version" >&6; }
3768 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3769 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3770 { (exit 1); exit 1; }; }
3775 defaultval=$wxUSE_ALL_FEATURES
3776 if test -z "$defaultval"; then
3777 if test x"$withstring" = xwithout; then
3783 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3784 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3786 # Check whether --with-libmspack was given.
3787 if test "${with_libmspack+set}" = set; then
3788 withval=$with_libmspack;
3789 if test "$withval" = yes; then
3790 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3792 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3798 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x ; then
3800 eval "DEFAULT_$LINE"
3803 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3808 eval "$wx_cv_use_libmspack"
3809 if test "x$cache" != xyes; then
3810 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3813 if test x"$withstring" = xwithout; then
3814 if test $wxUSE_LIBMSPACK = yes; then
3820 result=$wxUSE_LIBMSPACK
3823 { echo "$as_me:$LINENO: result: $result" >&5
3824 echo "${ECHO_T}$result" >&6; }
3828 defaultval=$wxUSE_ALL_FEATURES
3829 if test -z "$defaultval"; then
3830 if test x"$withstring" = xwithout; then
3836 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3837 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3839 # Check whether --with-gnomeprint was given.
3840 if test "${with_gnomeprint+set}" = set; then
3841 withval=$with_gnomeprint;
3842 if test "$withval" = yes; then
3843 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3845 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3851 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3852 if test "x$LINE" != x ; then
3853 eval "DEFAULT_$LINE"
3856 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3861 eval "$wx_cv_use_gnomeprint"
3862 if test "x$cache" != xyes; then
3863 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3866 if test x"$withstring" = xwithout; then
3867 if test $wxUSE_LIBGNOMEPRINT = yes; then
3873 result=$wxUSE_LIBGNOMEPRINT
3876 { echo "$as_me:$LINENO: result: $result" >&5
3877 echo "${ECHO_T}$result" >&6; }
3881 defaultval=$wxUSE_ALL_FEATURES
3882 if test -z "$defaultval"; then
3883 if test x"$withstring" = xwithout; then
3889 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3890 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3892 # Check whether --with-gnomevfs was given.
3893 if test "${with_gnomevfs+set}" = set; then
3894 withval=$with_gnomevfs;
3895 if test "$withval" = yes; then
3896 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3898 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3904 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x ; then
3906 eval "DEFAULT_$LINE"
3909 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3914 eval "$wx_cv_use_gnomevfs"
3915 if test "x$cache" != xyes; then
3916 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3919 if test x"$withstring" = xwithout; then
3920 if test $wxUSE_LIBGNOMEVFS = yes; then
3926 result=$wxUSE_LIBGNOMEVFS
3929 { echo "$as_me:$LINENO: result: $result" >&5
3930 echo "${ECHO_T}$result" >&6; }
3934 defaultval=$wxUSE_ALL_FEATURES
3935 if test -z "$defaultval"; then
3936 if test x"$withstring" = xwithout; then
3942 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3943 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3945 # Check whether --with-hildon was given.
3946 if test "${with_hildon+set}" = set; then
3947 withval=$with_hildon;
3948 if test "$withval" = yes; then
3949 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3951 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3957 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x ; then
3959 eval "DEFAULT_$LINE"
3962 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3967 eval "$wx_cv_use_hildon"
3968 if test "x$cache" != xyes; then
3969 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3972 if test x"$withstring" = xwithout; then
3973 if test $wxUSE_LIBHILDON = yes; then
3979 result=$wxUSE_LIBHILDON
3982 { echo "$as_me:$LINENO: result: $result" >&5
3983 echo "${ECHO_T}$result" >&6; }
3987 defaultval=$wxUSE_ALL_FEATURES
3988 if test -z "$defaultval"; then
3989 if test x"$withstring" = xwithout; then
3995 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3996 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3998 # Check whether --with-opengl was given.
3999 if test "${with_opengl+set}" = set; then
4000 withval=$with_opengl;
4001 if test "$withval" = yes; then
4002 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4004 wx_cv_use_opengl='wxUSE_OPENGL=no'
4010 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4011 if test "x$LINE" != x ; then
4012 eval "DEFAULT_$LINE"
4015 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4020 eval "$wx_cv_use_opengl"
4021 if test "x$cache" != xyes; then
4022 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4025 if test x"$withstring" = xwithout; then
4026 if test $wxUSE_OPENGL = yes; then
4032 result=$wxUSE_OPENGL
4035 { echo "$as_me:$LINENO: result: $result" >&5
4036 echo "${ECHO_T}$result" >&6; }
4043 defaultval=$wxUSE_ALL_FEATURES
4044 if test -z "$defaultval"; then
4045 if test x"$withstring" = xwithout; then
4051 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4052 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4054 # Check whether --with-dmalloc was given.
4055 if test "${with_dmalloc+set}" = set; then
4056 withval=$with_dmalloc;
4057 if test "$withval" = yes; then
4058 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4060 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4066 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4067 if test "x$LINE" != x ; then
4068 eval "DEFAULT_$LINE"
4071 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4076 eval "$wx_cv_use_dmalloc"
4077 if test "x$cache" != xyes; then
4078 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4081 if test x"$withstring" = xwithout; then
4082 if test $wxUSE_DMALLOC = yes; then
4088 result=$wxUSE_DMALLOC
4091 { echo "$as_me:$LINENO: result: $result" >&5
4092 echo "${ECHO_T}$result" >&6; }
4096 defaultval=$wxUSE_ALL_FEATURES
4097 if test -z "$defaultval"; then
4098 if test x"$withstring" = xwithout; then
4104 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4105 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4107 # Check whether --with-sdl was given.
4108 if test "${with_sdl+set}" = set; then
4110 if test "$withval" = yes; then
4111 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4113 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4119 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x ; then
4121 eval "DEFAULT_$LINE"
4124 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4129 eval "$wx_cv_use_sdl"
4130 if test "x$cache" != xyes; then
4131 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4134 if test x"$withstring" = xwithout; then
4135 if test $wxUSE_LIBSDL = yes; then
4141 result=$wxUSE_LIBSDL
4144 { echo "$as_me:$LINENO: result: $result" >&5
4145 echo "${ECHO_T}$result" >&6; }
4148 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4149 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4151 # Check whether --with-regex was given.
4152 if test "${with_regex+set}" = set; then
4153 withval=$with_regex;
4154 if test "$withval" = yes; then
4155 wx_cv_use_regex='wxUSE_REGEX=yes'
4156 elif test "$withval" = no; then
4157 wx_cv_use_regex='wxUSE_REGEX=no'
4158 elif test "$withval" = sys; then
4159 wx_cv_use_regex='wxUSE_REGEX=sys'
4160 elif test "$withval" = builtin; then
4161 wx_cv_use_regex='wxUSE_REGEX=builtin'
4163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4164 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4165 { (exit 1); exit 1; }; }
4171 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4176 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4181 eval "$wx_cv_use_regex"
4182 if test "x$cache" = xyes; then
4183 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4186 if test "$wxUSE_REGEX" = yes; then
4187 { echo "$as_me:$LINENO: result: yes" >&5
4188 echo "${ECHO_T}yes" >&6; }
4189 elif test "$wxUSE_REGEX" = no; then
4190 { echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6; }
4192 elif test "$wxUSE_REGEX" = sys; then
4193 { echo "$as_me:$LINENO: result: system version" >&5
4194 echo "${ECHO_T}system version" >&6; }
4195 elif test "$wxUSE_REGEX" = builtin; then
4196 { echo "$as_me:$LINENO: result: builtin version" >&5
4197 echo "${ECHO_T}builtin version" >&6; }
4199 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4200 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4201 { (exit 1); exit 1; }; }
4205 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4206 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4208 # Check whether --with-zlib was given.
4209 if test "${with_zlib+set}" = set; then
4211 if test "$withval" = yes; then
4212 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4213 elif test "$withval" = no; then
4214 wx_cv_use_zlib='wxUSE_ZLIB=no'
4215 elif test "$withval" = sys; then
4216 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4217 elif test "$withval" = builtin; then
4218 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4220 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4221 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4222 { (exit 1); exit 1; }; }
4228 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x ; then
4230 eval "DEFAULT_$LINE"
4233 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4238 eval "$wx_cv_use_zlib"
4239 if test "x$cache" = xyes; then
4240 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4243 if test "$wxUSE_ZLIB" = yes; then
4244 { echo "$as_me:$LINENO: result: yes" >&5
4245 echo "${ECHO_T}yes" >&6; }
4246 elif test "$wxUSE_ZLIB" = no; then
4247 { echo "$as_me:$LINENO: result: no" >&5
4248 echo "${ECHO_T}no" >&6; }
4249 elif test "$wxUSE_ZLIB" = sys; then
4250 { echo "$as_me:$LINENO: result: system version" >&5
4251 echo "${ECHO_T}system version" >&6; }
4252 elif test "$wxUSE_ZLIB" = builtin; then
4253 { echo "$as_me:$LINENO: result: builtin version" >&5
4254 echo "${ECHO_T}builtin version" >&6; }
4256 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4257 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4258 { (exit 1); exit 1; }; }
4262 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4263 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4265 # Check whether --with-odbc was given.
4266 if test "${with_odbc+set}" = set; then
4268 if test "$withval" = yes; then
4269 wx_cv_use_odbc='wxUSE_ODBC=yes'
4270 elif test "$withval" = no; then
4271 wx_cv_use_odbc='wxUSE_ODBC=no'
4272 elif test "$withval" = sys; then
4273 wx_cv_use_odbc='wxUSE_ODBC=sys'
4274 elif test "$withval" = builtin; then
4275 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4277 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4278 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4279 { (exit 1); exit 1; }; }
4285 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4290 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4295 eval "$wx_cv_use_odbc"
4296 if test "x$cache" = xyes; then
4297 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4300 if test "$wxUSE_ODBC" = yes; then
4301 { echo "$as_me:$LINENO: result: yes" >&5
4302 echo "${ECHO_T}yes" >&6; }
4303 elif test "$wxUSE_ODBC" = no; then
4304 { echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6; }
4306 elif test "$wxUSE_ODBC" = sys; then
4307 { echo "$as_me:$LINENO: result: system version" >&5
4308 echo "${ECHO_T}system version" >&6; }
4309 elif test "$wxUSE_ODBC" = builtin; then
4310 { echo "$as_me:$LINENO: result: builtin version" >&5
4311 echo "${ECHO_T}builtin version" >&6; }
4313 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4314 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4315 { (exit 1); exit 1; }; }
4319 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4320 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4322 # Check whether --with-expat was given.
4323 if test "${with_expat+set}" = set; then
4324 withval=$with_expat;
4325 if test "$withval" = yes; then
4326 wx_cv_use_expat='wxUSE_EXPAT=yes'
4327 elif test "$withval" = no; then
4328 wx_cv_use_expat='wxUSE_EXPAT=no'
4329 elif test "$withval" = sys; then
4330 wx_cv_use_expat='wxUSE_EXPAT=sys'
4331 elif test "$withval" = builtin; then
4332 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4334 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4335 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4336 { (exit 1); exit 1; }; }
4342 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4343 if test "x$LINE" != x ; then
4344 eval "DEFAULT_$LINE"
4347 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4352 eval "$wx_cv_use_expat"
4353 if test "x$cache" = xyes; then
4354 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4357 if test "$wxUSE_EXPAT" = yes; then
4358 { echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6; }
4360 elif test "$wxUSE_EXPAT" = no; then
4361 { echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6; }
4363 elif test "$wxUSE_EXPAT" = sys; then
4364 { echo "$as_me:$LINENO: result: system version" >&5
4365 echo "${ECHO_T}system version" >&6; }
4366 elif test "$wxUSE_EXPAT" = builtin; then
4367 { echo "$as_me:$LINENO: result: builtin version" >&5
4368 echo "${ECHO_T}builtin version" >&6; }
4370 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4371 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4372 { (exit 1); exit 1; }; }
4378 enablestring=disable
4380 if test -z "$defaultval"; then
4381 if test x"$enablestring" = xdisable; then
4388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4389 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4390 # Check whether --enable-shared was given.
4391 if test "${enable_shared+set}" = set; then
4392 enableval=$enable_shared;
4393 if test "$enableval" = yes; then
4394 wx_cv_use_shared='wxUSE_SHARED=yes'
4396 wx_cv_use_shared='wxUSE_SHARED=no'
4402 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4403 if test "x$LINE" != x ; then
4404 eval "DEFAULT_$LINE"
4407 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4412 eval "$wx_cv_use_shared"
4413 if test "x$cache" = xyes; then
4414 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4417 if test x"$enablestring" = xdisable; then
4418 if test $wxUSE_SHARED = yes; then
4424 result=$wxUSE_SHARED
4427 { echo "$as_me:$LINENO: result: $result" >&5
4428 echo "${ECHO_T}$result" >&6; }
4431 enablestring=disable
4433 if test -z "$defaultval"; then
4434 if test x"$enablestring" = xdisable; then
4441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4442 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4443 # Check whether --enable-optimise was given.
4444 if test "${enable_optimise+set}" = set; then
4445 enableval=$enable_optimise;
4446 if test "$enableval" = yes; then
4447 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4449 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4455 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4456 if test "x$LINE" != x ; then
4457 eval "DEFAULT_$LINE"
4460 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4465 eval "$wx_cv_use_optimise"
4466 if test "x$cache" = xyes; then
4467 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4470 if test x"$enablestring" = xdisable; then
4471 if test $wxUSE_OPTIMISE = yes; then
4477 result=$wxUSE_OPTIMISE
4480 { echo "$as_me:$LINENO: result: $result" >&5
4481 echo "${ECHO_T}$result" >&6; }
4486 if test -z "$defaultval"; then
4487 if test x"$enablestring" = xdisable; then
4494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4495 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4496 # Check whether --enable-debug was given.
4497 if test "${enable_debug+set}" = set; then
4498 enableval=$enable_debug;
4499 if test "$enableval" = yes; then
4500 wx_cv_use_debug='wxUSE_DEBUG=yes'
4502 wx_cv_use_debug='wxUSE_DEBUG=no'
4508 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x ; then
4510 eval "DEFAULT_$LINE"
4513 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4518 eval "$wx_cv_use_debug"
4519 if test "x$cache" = xyes; then
4520 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4523 if test x"$enablestring" = xdisable; then
4524 if test $wxUSE_DEBUG = yes; then
4533 { echo "$as_me:$LINENO: result: $result" >&5
4534 echo "${ECHO_T}$result" >&6; }
4539 if test -z "$defaultval"; then
4540 if test x"$enablestring" = xdisable; then
4547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4549 # Check whether --enable-stl was given.
4550 if test "${enable_stl+set}" = set; then
4551 enableval=$enable_stl;
4552 if test "$enableval" = yes; then
4553 wx_cv_use_stl='wxUSE_STL=yes'
4555 wx_cv_use_stl='wxUSE_STL=no'
4561 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4562 if test "x$LINE" != x ; then
4563 eval "DEFAULT_$LINE"
4566 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4571 eval "$wx_cv_use_stl"
4572 if test "x$cache" = xyes; then
4573 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4576 if test x"$enablestring" = xdisable; then
4577 if test $wxUSE_STL = yes; then
4586 { echo "$as_me:$LINENO: result: $result" >&5
4587 echo "${ECHO_T}$result" >&6; }
4592 if test -z "$defaultval"; then
4593 if test x"$enablestring" = xdisable; then
4600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4601 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4602 # Check whether --enable-std_iostreams was given.
4603 if test "${enable_std_iostreams+set}" = set; then
4604 enableval=$enable_std_iostreams;
4605 if test "$enableval" = yes; then
4606 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4608 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4614 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x ; then
4616 eval "DEFAULT_$LINE"
4619 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4624 eval "$wx_cv_use_std_iostreams"
4625 if test "x$cache" = xyes; then
4626 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4629 if test x"$enablestring" = xdisable; then
4630 if test $wxUSE_STD_IOSTREAM = yes; then
4636 result=$wxUSE_STD_IOSTREAM
4639 { echo "$as_me:$LINENO: result: $result" >&5
4640 echo "${ECHO_T}$result" >&6; }
4645 if test -z "$defaultval"; then
4646 if test x"$enablestring" = xdisable; then
4653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4655 # Check whether --enable-std_string was given.
4656 if test "${enable_std_string+set}" = set; then
4657 enableval=$enable_std_string;
4658 if test "$enableval" = yes; then
4659 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4661 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4667 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4668 if test "x$LINE" != x ; then
4669 eval "DEFAULT_$LINE"
4672 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4677 eval "$wx_cv_use_std_string"
4678 if test "x$cache" = xyes; then
4679 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_STD_STRING = yes; then
4689 result=$wxUSE_STD_STRING
4692 { echo "$as_me:$LINENO: result: $result" >&5
4693 echo "${ECHO_T}$result" >&6; }
4696 enablestring=disable
4698 if test -z "$defaultval"; then
4699 if test x"$enablestring" = xdisable; then
4706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4708 # Check whether --enable-unicode was given.
4709 if test "${enable_unicode+set}" = set; then
4710 enableval=$enable_unicode;
4711 if test "$enableval" = yes; then
4712 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4714 wx_cv_use_unicode='wxUSE_UNICODE=no'
4720 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4721 if test "x$LINE" != x ; then
4722 eval "DEFAULT_$LINE"
4725 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4730 eval "$wx_cv_use_unicode"
4731 if test "x$cache" = xyes; then
4732 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4735 if test x"$enablestring" = xdisable; then
4736 if test $wxUSE_UNICODE = yes; then
4742 result=$wxUSE_UNICODE
4745 { echo "$as_me:$LINENO: result: $result" >&5
4746 echo "${ECHO_T}$result" >&6; }
4751 if test -z "$defaultval"; then
4752 if test x"$enablestring" = xdisable; then
4759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4761 # Check whether --enable-mslu was given.
4762 if test "${enable_mslu+set}" = set; then
4763 enableval=$enable_mslu;
4764 if test "$enableval" = yes; then
4765 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4767 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4773 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x ; then
4775 eval "DEFAULT_$LINE"
4778 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4783 eval "$wx_cv_use_mslu"
4784 if test "x$cache" = xyes; then
4785 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4788 if test x"$enablestring" = xdisable; then
4789 if test $wxUSE_UNICODE_MSLU = yes; then
4795 result=$wxUSE_UNICODE_MSLU
4798 { echo "$as_me:$LINENO: result: $result" >&5
4799 echo "${ECHO_T}$result" >&6; }
4803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4804 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4805 # Check whether --enable-utf8 was given.
4806 if test "${enable_utf8+set}" = set; then
4807 enableval=$enable_utf8;
4808 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4813 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4814 if test "x$LINE" != x ; then
4815 eval "DEFAULT_$LINE"
4818 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4823 eval "$wx_cv_use_utf8"
4824 if test "x$cache" = xyes; then
4825 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4828 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4829 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4834 if test -z "$defaultval"; then
4835 if test x"$enablestring" = xdisable; then
4842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4844 # Check whether --enable-utf8only was given.
4845 if test "${enable_utf8only+set}" = set; then
4846 enableval=$enable_utf8only;
4847 if test "$enableval" = yes; then
4848 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4850 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4856 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4857 if test "x$LINE" != x ; then
4858 eval "DEFAULT_$LINE"
4861 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4866 eval "$wx_cv_use_utf8only"
4867 if test "x$cache" = xyes; then
4868 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4871 if test x"$enablestring" = xdisable; then
4872 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4878 result=$wxUSE_UNICODE_UTF8_LOCALE
4881 { echo "$as_me:$LINENO: result: $result" >&5
4882 echo "${ECHO_T}$result" >&6; }
4887 if test -z "$defaultval"; then
4888 if test x"$enablestring" = xdisable; then
4895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4896 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4897 # Check whether --enable-extended_rtti was given.
4898 if test "${enable_extended_rtti+set}" = set; then
4899 enableval=$enable_extended_rtti;
4900 if test "$enableval" = yes; then
4901 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4903 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4909 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4910 if test "x$LINE" != x ; then
4911 eval "DEFAULT_$LINE"
4914 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4919 eval "$wx_cv_use_extended_rtti"
4920 if test "x$cache" = xyes; then
4921 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4924 if test x"$enablestring" = xdisable; then
4925 if test $wxUSE_EXTENDED_RTTI = yes; then
4931 result=$wxUSE_EXTENDED_RTTI
4934 { echo "$as_me:$LINENO: result: $result" >&5
4935 echo "${ECHO_T}$result" >&6; }
4937 if test "$USE_OS2" = "1"; then
4938 DEFAULT_wxUSE_OMF=no
4942 if test -z "$defaultval"; then
4943 if test x"$enablestring" = xdisable; then
4950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4951 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4952 # Check whether --enable-omf was given.
4953 if test "${enable_omf+set}" = set; then
4954 enableval=$enable_omf;
4955 if test "$enableval" = yes; then
4956 wx_cv_use_omf='wxUSE_OMF=yes'
4958 wx_cv_use_omf='wxUSE_OMF=no'
4964 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4965 if test "x$LINE" != x ; then
4966 eval "DEFAULT_$LINE"
4969 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4974 eval "$wx_cv_use_omf"
4975 if test "x$cache" = xyes; then
4976 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
4979 if test x"$enablestring" = xdisable; then
4980 if test $wxUSE_OMF = yes; then
4989 { echo "$as_me:$LINENO: result: $result" >&5
4990 echo "${ECHO_T}$result" >&6; }
4994 if test "$wxUSE_DEBUG" = "yes"; then
4995 DEFAULT_wxUSE_DEBUG_FLAG=yes
4996 DEFAULT_wxUSE_DEBUG_INFO=yes
4998 elif test "$wxUSE_DEBUG" = "no"; then
4999 DEFAULT_wxUSE_DEBUG_FLAG=no
5000 DEFAULT_wxUSE_DEBUG_INFO=no
5007 if test -z "$defaultval"; then
5008 if test x"$enablestring" = xdisable; then
5015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5016 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5017 # Check whether --enable-debug_flag was given.
5018 if test "${enable_debug_flag+set}" = set; then
5019 enableval=$enable_debug_flag;
5020 if test "$enableval" = yes; then
5021 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5023 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5029 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x ; then
5031 eval "DEFAULT_$LINE"
5034 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5039 eval "$wx_cv_use_debug_flag"
5040 if test "x$cache" = xyes; then
5041 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5044 if test x"$enablestring" = xdisable; then
5045 if test $wxUSE_DEBUG_FLAG = yes; then
5051 result=$wxUSE_DEBUG_FLAG
5054 { echo "$as_me:$LINENO: result: $result" >&5
5055 echo "${ECHO_T}$result" >&6; }
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5070 # Check whether --enable-debug_info was given.
5071 if test "${enable_debug_info+set}" = set; then
5072 enableval=$enable_debug_info;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5076 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5082 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5083 if test "x$LINE" != x ; then
5084 eval "DEFAULT_$LINE"
5087 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5092 eval "$wx_cv_use_debug_info"
5093 if test "x$cache" = xyes; then
5094 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5097 if test x"$enablestring" = xdisable; then
5098 if test $wxUSE_DEBUG_INFO = yes; then
5104 result=$wxUSE_DEBUG_INFO
5107 { echo "$as_me:$LINENO: result: $result" >&5
5108 echo "${ECHO_T}$result" >&6; }
5113 if test -z "$defaultval"; then
5114 if test x"$enablestring" = xdisable; then
5121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5123 # Check whether --enable-debug_gdb was given.
5124 if test "${enable_debug_gdb+set}" = set; then
5125 enableval=$enable_debug_gdb;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5129 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5135 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5136 if test "x$LINE" != x ; then
5137 eval "DEFAULT_$LINE"
5140 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5145 eval "$wx_cv_use_debug_gdb"
5146 if test "x$cache" = xyes; then
5147 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5150 if test x"$enablestring" = xdisable; then
5151 if test $wxUSE_DEBUG_GDB = yes; then
5157 result=$wxUSE_DEBUG_GDB
5160 { echo "$as_me:$LINENO: result: $result" >&5
5161 echo "${ECHO_T}$result" >&6; }
5166 if test -z "$defaultval"; then
5167 if test x"$enablestring" = xdisable; then
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5176 # Check whether --enable-debug_cntxt was given.
5177 if test "${enable_debug_cntxt+set}" = set; then
5178 enableval=$enable_debug_cntxt;
5179 if test "$enableval" = yes; then
5180 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5182 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5188 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x ; then
5190 eval "DEFAULT_$LINE"
5193 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5198 eval "$wx_cv_use_debug_cntxt"
5199 if test "x$cache" = xyes; then
5200 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5203 if test x"$enablestring" = xdisable; then
5204 if test $wxUSE_DEBUG_CONTEXT = yes; then
5210 result=$wxUSE_DEBUG_CONTEXT
5213 { echo "$as_me:$LINENO: result: $result" >&5
5214 echo "${ECHO_T}$result" >&6; }
5219 if test -z "$defaultval"; then
5220 if test x"$enablestring" = xdisable; then
5227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5229 # Check whether --enable-mem_tracing was given.
5230 if test "${enable_mem_tracing+set}" = set; then
5231 enableval=$enable_mem_tracing;
5232 if test "$enableval" = yes; then
5233 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5235 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5241 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5242 if test "x$LINE" != x ; then
5243 eval "DEFAULT_$LINE"
5246 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5251 eval "$wx_cv_use_mem_tracing"
5252 if test "x$cache" = xyes; then
5253 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5256 if test x"$enablestring" = xdisable; then
5257 if test $wxUSE_MEM_TRACING = yes; then
5263 result=$wxUSE_MEM_TRACING
5266 { echo "$as_me:$LINENO: result: $result" >&5
5267 echo "${ECHO_T}$result" >&6; }
5272 if test -z "$defaultval"; then
5273 if test x"$enablestring" = xdisable; then
5280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5281 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5282 # Check whether --enable-profile was given.
5283 if test "${enable_profile+set}" = set; then
5284 enableval=$enable_profile;
5285 if test "$enableval" = yes; then
5286 wx_cv_use_profile='wxUSE_PROFILE=yes'
5288 wx_cv_use_profile='wxUSE_PROFILE=no'
5294 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5295 if test "x$LINE" != x ; then
5296 eval "DEFAULT_$LINE"
5299 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5304 eval "$wx_cv_use_profile"
5305 if test "x$cache" = xyes; then
5306 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5309 if test x"$enablestring" = xdisable; then
5310 if test $wxUSE_PROFILE = yes; then
5316 result=$wxUSE_PROFILE
5319 { echo "$as_me:$LINENO: result: $result" >&5
5320 echo "${ECHO_T}$result" >&6; }
5325 if test -z "$defaultval"; then
5326 if test x"$enablestring" = xdisable; then
5333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5334 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5335 # Check whether --enable-no_rtti was given.
5336 if test "${enable_no_rtti+set}" = set; then
5337 enableval=$enable_no_rtti;
5338 if test "$enableval" = yes; then
5339 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5341 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5347 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x ; then
5349 eval "DEFAULT_$LINE"
5352 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5357 eval "$wx_cv_use_no_rtti"
5358 if test "x$cache" = xyes; then
5359 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5362 if test x"$enablestring" = xdisable; then
5363 if test $wxUSE_NO_RTTI = yes; then
5369 result=$wxUSE_NO_RTTI
5372 { echo "$as_me:$LINENO: result: $result" >&5
5373 echo "${ECHO_T}$result" >&6; }
5378 if test -z "$defaultval"; then
5379 if test x"$enablestring" = xdisable; then
5386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5387 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5388 # Check whether --enable-no_exceptions was given.
5389 if test "${enable_no_exceptions+set}" = set; then
5390 enableval=$enable_no_exceptions;
5391 if test "$enableval" = yes; then
5392 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5394 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5400 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5401 if test "x$LINE" != x ; then
5402 eval "DEFAULT_$LINE"
5405 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5410 eval "$wx_cv_use_no_exceptions"
5411 if test "x$cache" = xyes; then
5412 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5415 if test x"$enablestring" = xdisable; then
5416 if test $wxUSE_NO_EXCEPTIONS = yes; then
5422 result=$wxUSE_NO_EXCEPTIONS
5425 { echo "$as_me:$LINENO: result: $result" >&5
5426 echo "${ECHO_T}$result" >&6; }
5431 if test -z "$defaultval"; then
5432 if test x"$enablestring" = xdisable; then
5439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5440 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5441 # Check whether --enable-permissive was given.
5442 if test "${enable_permissive+set}" = set; then
5443 enableval=$enable_permissive;
5444 if test "$enableval" = yes; then
5445 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5447 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5453 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5454 if test "x$LINE" != x ; then
5455 eval "DEFAULT_$LINE"
5458 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5463 eval "$wx_cv_use_permissive"
5464 if test "x$cache" = xyes; then
5465 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5468 if test x"$enablestring" = xdisable; then
5469 if test $wxUSE_PERMISSIVE = yes; then
5475 result=$wxUSE_PERMISSIVE
5478 { echo "$as_me:$LINENO: result: $result" >&5
5479 echo "${ECHO_T}$result" >&6; }
5484 if test -z "$defaultval"; then
5485 if test x"$enablestring" = xdisable; then
5492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5494 # Check whether --enable-no_deps was given.
5495 if test "${enable_no_deps+set}" = set; then
5496 enableval=$enable_no_deps;
5497 if test "$enableval" = yes; then
5498 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5500 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5506 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5507 if test "x$LINE" != x ; then
5508 eval "DEFAULT_$LINE"
5511 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5516 eval "$wx_cv_use_no_deps"
5517 if test "x$cache" = xyes; then
5518 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5521 if test x"$enablestring" = xdisable; then
5522 if test $wxUSE_NO_DEPS = yes; then
5528 result=$wxUSE_NO_DEPS
5531 { echo "$as_me:$LINENO: result: $result" >&5
5532 echo "${ECHO_T}$result" >&6; }
5535 enablestring=disable
5537 if test -z "$defaultval"; then
5538 if test x"$enablestring" = xdisable; then
5545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5546 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5547 # Check whether --enable-vararg_macros was given.
5548 if test "${enable_vararg_macros+set}" = set; then
5549 enableval=$enable_vararg_macros;
5550 if test "$enableval" = yes; then
5551 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5553 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5559 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5560 if test "x$LINE" != x ; then
5561 eval "DEFAULT_$LINE"
5564 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5569 eval "$wx_cv_use_vararg_macros"
5570 if test "x$cache" = xyes; then
5571 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5574 if test x"$enablestring" = xdisable; then
5575 if test $wxUSE_VARARG_MACROS = yes; then
5581 result=$wxUSE_VARARG_MACROS
5584 { echo "$as_me:$LINENO: result: $result" >&5
5585 echo "${ECHO_T}$result" >&6; }
5589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5590 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5591 # Check whether --enable-universal_binary was given.
5592 if test "${enable_universal_binary+set}" = set; then
5593 enableval=$enable_universal_binary;
5594 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5599 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x ; then
5601 eval "DEFAULT_$LINE"
5604 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5609 eval "$wx_cv_use_universal_binary"
5610 if test "x$cache" = xyes; then
5611 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5614 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5615 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5621 if test -z "$defaultval"; then
5622 if test x"$enablestring" = xdisable; then
5629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5630 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5631 # Check whether --enable-compat26 was given.
5632 if test "${enable_compat26+set}" = set; then
5633 enableval=$enable_compat26;
5634 if test "$enableval" = yes; then
5635 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5637 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5643 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x ; then
5645 eval "DEFAULT_$LINE"
5648 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5653 eval "$wx_cv_use_compat26"
5654 if test "x$cache" = xyes; then
5655 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5658 if test x"$enablestring" = xdisable; then
5659 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5665 result=$WXWIN_COMPATIBILITY_2_6
5668 { echo "$as_me:$LINENO: result: $result" >&5
5669 echo "${ECHO_T}$result" >&6; }
5672 enablestring=disable
5674 if test -z "$defaultval"; then
5675 if test x"$enablestring" = xdisable; then
5682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5683 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5684 # Check whether --enable-compat28 was given.
5685 if test "${enable_compat28+set}" = set; then
5686 enableval=$enable_compat28;
5687 if test "$enableval" = yes; then
5688 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5690 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5696 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x ; then
5698 eval "DEFAULT_$LINE"
5701 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5706 eval "$wx_cv_use_compat28"
5707 if test "x$cache" = xyes; then
5708 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5711 if test x"$enablestring" = xdisable; then
5712 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5718 result=$WXWIN_COMPATIBILITY_2_8
5721 { echo "$as_me:$LINENO: result: $result" >&5
5722 echo "${ECHO_T}$result" >&6; }
5726 enablestring=disable
5728 if test -z "$defaultval"; then
5729 if test x"$enablestring" = xdisable; then
5736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5738 # Check whether --enable-rpath was given.
5739 if test "${enable_rpath+set}" = set; then
5740 enableval=$enable_rpath;
5741 if test "$enableval" = yes; then
5742 wx_cv_use_rpath='wxUSE_RPATH=yes'
5744 wx_cv_use_rpath='wxUSE_RPATH=no'
5750 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5751 if test "x$LINE" != x ; then
5752 eval "DEFAULT_$LINE"
5755 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5760 eval "$wx_cv_use_rpath"
5761 if test "x$cache" = xyes; then
5762 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5765 if test x"$enablestring" = xdisable; then
5766 if test $wxUSE_RPATH = yes; then
5775 { echo "$as_me:$LINENO: result: $result" >&5
5776 echo "${ECHO_T}$result" >&6; }
5782 if test -z "$defaultval"; then
5783 if test x"$enablestring" = xdisable; then
5790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5791 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5792 # Check whether --enable-objc_uniquifying was given.
5793 if test "${enable_objc_uniquifying+set}" = set; then
5794 enableval=$enable_objc_uniquifying;
5795 if test "$enableval" = yes; then
5796 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5798 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5804 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5809 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5814 eval "$wx_cv_use_objc_uniquifying"
5815 if test "x$cache" = xyes; then
5816 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5819 if test x"$enablestring" = xdisable; then
5820 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5826 result=$wxUSE_OBJC_UNIQUIFYING
5829 { echo "$as_me:$LINENO: result: $result" >&5
5830 echo "${ECHO_T}$result" >&6; }
5834 enablestring=disable
5836 if test -z "$defaultval"; then
5837 if test x"$enablestring" = xdisable; then
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5846 # Check whether --enable-visibility was given.
5847 if test "${enable_visibility+set}" = set; then
5848 enableval=$enable_visibility;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5852 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5858 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x ; then
5860 eval "DEFAULT_$LINE"
5863 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5868 eval "$wx_cv_use_visibility"
5869 if test "x$cache" = xyes; then
5870 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5873 if test x"$enablestring" = xdisable; then
5874 if test $wxUSE_VISIBILITY = yes; then
5880 result=$wxUSE_VISIBILITY
5883 { echo "$as_me:$LINENO: result: $result" >&5
5884 echo "${ECHO_T}$result" >&6; }
5890 defaultval=$wxUSE_ALL_FEATURES
5891 if test -z "$defaultval"; then
5892 if test x"$enablestring" = xdisable; then
5899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5900 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5901 # Check whether --enable-intl was given.
5902 if test "${enable_intl+set}" = set; then
5903 enableval=$enable_intl;
5904 if test "$enableval" = yes; then
5905 wx_cv_use_intl='wxUSE_INTL=yes'
5907 wx_cv_use_intl='wxUSE_INTL=no'
5913 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5914 if test "x$LINE" != x ; then
5915 eval "DEFAULT_$LINE"
5918 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5923 eval "$wx_cv_use_intl"
5924 if test "x$cache" = xyes; then
5925 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5928 if test x"$enablestring" = xdisable; then
5929 if test $wxUSE_INTL = yes; then
5938 { echo "$as_me:$LINENO: result: $result" >&5
5939 echo "${ECHO_T}$result" >&6; }
5943 defaultval=$wxUSE_ALL_FEATURES
5944 if test -z "$defaultval"; then
5945 if test x"$enablestring" = xdisable; then
5952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5954 # Check whether --enable-config was given.
5955 if test "${enable_config+set}" = set; then
5956 enableval=$enable_config;
5957 if test "$enableval" = yes; then
5958 wx_cv_use_config='wxUSE_CONFIG=yes'
5960 wx_cv_use_config='wxUSE_CONFIG=no'
5966 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5967 if test "x$LINE" != x ; then
5968 eval "DEFAULT_$LINE"
5971 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5976 eval "$wx_cv_use_config"
5977 if test "x$cache" = xyes; then
5978 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
5981 if test x"$enablestring" = xdisable; then
5982 if test $wxUSE_CONFIG = yes; then
5988 result=$wxUSE_CONFIG
5991 { echo "$as_me:$LINENO: result: $result" >&5
5992 echo "${ECHO_T}$result" >&6; }
5997 defaultval=$wxUSE_ALL_FEATURES
5998 if test -z "$defaultval"; then
5999 if test x"$enablestring" = xdisable; then
6006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6007 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6008 # Check whether --enable-protocols was given.
6009 if test "${enable_protocols+set}" = set; then
6010 enableval=$enable_protocols;
6011 if test "$enableval" = yes; then
6012 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6014 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6020 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6021 if test "x$LINE" != x ; then
6022 eval "DEFAULT_$LINE"
6025 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6030 eval "$wx_cv_use_protocols"
6031 if test "x$cache" = xyes; then
6032 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6035 if test x"$enablestring" = xdisable; then
6036 if test $wxUSE_PROTOCOL = yes; then
6042 result=$wxUSE_PROTOCOL
6045 { echo "$as_me:$LINENO: result: $result" >&5
6046 echo "${ECHO_T}$result" >&6; }
6050 defaultval=$wxUSE_ALL_FEATURES
6051 if test -z "$defaultval"; then
6052 if test x"$enablestring" = xdisable; then
6059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6060 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6061 # Check whether --enable-ftp was given.
6062 if test "${enable_ftp+set}" = set; then
6063 enableval=$enable_ftp;
6064 if test "$enableval" = yes; then
6065 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6067 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6073 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6078 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6083 eval "$wx_cv_use_ftp"
6084 if test "x$cache" = xyes; then
6085 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6088 if test x"$enablestring" = xdisable; then
6089 if test $wxUSE_PROTOCOL_FTP = yes; then
6095 result=$wxUSE_PROTOCOL_FTP
6098 { echo "$as_me:$LINENO: result: $result" >&5
6099 echo "${ECHO_T}$result" >&6; }
6103 defaultval=$wxUSE_ALL_FEATURES
6104 if test -z "$defaultval"; then
6105 if test x"$enablestring" = xdisable; then
6112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6113 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6114 # Check whether --enable-http was given.
6115 if test "${enable_http+set}" = set; then
6116 enableval=$enable_http;
6117 if test "$enableval" = yes; then
6118 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6120 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6126 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6127 if test "x$LINE" != x ; then
6128 eval "DEFAULT_$LINE"
6131 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6136 eval "$wx_cv_use_http"
6137 if test "x$cache" = xyes; then
6138 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6141 if test x"$enablestring" = xdisable; then
6142 if test $wxUSE_PROTOCOL_HTTP = yes; then
6148 result=$wxUSE_PROTOCOL_HTTP
6151 { echo "$as_me:$LINENO: result: $result" >&5
6152 echo "${ECHO_T}$result" >&6; }
6156 defaultval=$wxUSE_ALL_FEATURES
6157 if test -z "$defaultval"; then
6158 if test x"$enablestring" = xdisable; then
6165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6167 # Check whether --enable-fileproto was given.
6168 if test "${enable_fileproto+set}" = set; then
6169 enableval=$enable_fileproto;
6170 if test "$enableval" = yes; then
6171 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6173 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6179 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6180 if test "x$LINE" != x ; then
6181 eval "DEFAULT_$LINE"
6184 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6189 eval "$wx_cv_use_fileproto"
6190 if test "x$cache" = xyes; then
6191 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6194 if test x"$enablestring" = xdisable; then
6195 if test $wxUSE_PROTOCOL_FILE = yes; then
6201 result=$wxUSE_PROTOCOL_FILE
6204 { echo "$as_me:$LINENO: result: $result" >&5
6205 echo "${ECHO_T}$result" >&6; }
6209 defaultval=$wxUSE_ALL_FEATURES
6210 if test -z "$defaultval"; then
6211 if test x"$enablestring" = xdisable; then
6218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6219 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6220 # Check whether --enable-sockets was given.
6221 if test "${enable_sockets+set}" = set; then
6222 enableval=$enable_sockets;
6223 if test "$enableval" = yes; then
6224 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6226 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6232 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x ; then
6234 eval "DEFAULT_$LINE"
6237 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6242 eval "$wx_cv_use_sockets"
6243 if test "x$cache" = xyes; then
6244 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6247 if test x"$enablestring" = xdisable; then
6248 if test $wxUSE_SOCKETS = yes; then
6254 result=$wxUSE_SOCKETS
6257 { echo "$as_me:$LINENO: result: $result" >&5
6258 echo "${ECHO_T}$result" >&6; }
6262 defaultval=$wxUSE_ALL_FEATURES
6263 if test -z "$defaultval"; then
6264 if test x"$enablestring" = xdisable; then
6271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6272 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6273 # Check whether --enable-ole was given.
6274 if test "${enable_ole+set}" = set; then
6275 enableval=$enable_ole;
6276 if test "$enableval" = yes; then
6277 wx_cv_use_ole='wxUSE_OLE=yes'
6279 wx_cv_use_ole='wxUSE_OLE=no'
6285 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6286 if test "x$LINE" != x ; then
6287 eval "DEFAULT_$LINE"
6290 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6295 eval "$wx_cv_use_ole"
6296 if test "x$cache" = xyes; then
6297 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6300 if test x"$enablestring" = xdisable; then
6301 if test $wxUSE_OLE = yes; then
6310 { echo "$as_me:$LINENO: result: $result" >&5
6311 echo "${ECHO_T}$result" >&6; }
6315 defaultval=$wxUSE_ALL_FEATURES
6316 if test -z "$defaultval"; then
6317 if test x"$enablestring" = xdisable; then
6324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6325 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6326 # Check whether --enable-dataobj was given.
6327 if test "${enable_dataobj+set}" = set; then
6328 enableval=$enable_dataobj;
6329 if test "$enableval" = yes; then
6330 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6332 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6338 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x ; then
6340 eval "DEFAULT_$LINE"
6343 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6348 eval "$wx_cv_use_dataobj"
6349 if test "x$cache" = xyes; then
6350 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6353 if test x"$enablestring" = xdisable; then
6354 if test $wxUSE_DATAOBJ = yes; then
6360 result=$wxUSE_DATAOBJ
6363 { echo "$as_me:$LINENO: result: $result" >&5
6364 echo "${ECHO_T}$result" >&6; }
6369 defaultval=$wxUSE_ALL_FEATURES
6370 if test -z "$defaultval"; then
6371 if test x"$enablestring" = xdisable; then
6378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6380 # Check whether --enable-ipc was given.
6381 if test "${enable_ipc+set}" = set; then
6382 enableval=$enable_ipc;
6383 if test "$enableval" = yes; then
6384 wx_cv_use_ipc='wxUSE_IPC=yes'
6386 wx_cv_use_ipc='wxUSE_IPC=no'
6392 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6393 if test "x$LINE" != x ; then
6394 eval "DEFAULT_$LINE"
6397 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6402 eval "$wx_cv_use_ipc"
6403 if test "x$cache" = xyes; then
6404 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6407 if test x"$enablestring" = xdisable; then
6408 if test $wxUSE_IPC = yes; then
6417 { echo "$as_me:$LINENO: result: $result" >&5
6418 echo "${ECHO_T}$result" >&6; }
6423 defaultval=$wxUSE_ALL_FEATURES
6424 if test -z "$defaultval"; then
6425 if test x"$enablestring" = xdisable; then
6432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6433 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6434 # Check whether --enable-baseevtloop was given.
6435 if test "${enable_baseevtloop+set}" = set; then
6436 enableval=$enable_baseevtloop;
6437 if test "$enableval" = yes; then
6438 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6440 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6446 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6447 if test "x$LINE" != x ; then
6448 eval "DEFAULT_$LINE"
6451 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6456 eval "$wx_cv_use_baseevtloop"
6457 if test "x$cache" = xyes; then
6458 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6461 if test x"$enablestring" = xdisable; then
6462 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6468 result=$wxUSE_CONSOLE_EVENTLOOP
6471 { echo "$as_me:$LINENO: result: $result" >&5
6472 echo "${ECHO_T}$result" >&6; }
6476 defaultval=$wxUSE_ALL_FEATURES
6477 if test -z "$defaultval"; then
6478 if test x"$enablestring" = xdisable; then
6485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6487 # Check whether --enable-epoolloop was given.
6488 if test "${enable_epoolloop+set}" = set; then
6489 enableval=$enable_epoolloop;
6490 if test "$enableval" = yes; then
6491 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6493 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6499 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x ; then
6501 eval "DEFAULT_$LINE"
6504 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6509 eval "$wx_cv_use_epoolloop"
6510 if test "x$cache" = xyes; then
6511 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6514 if test x"$enablestring" = xdisable; then
6515 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6521 result=$wxUSE_EPOLL_DISPATCHER
6524 { echo "$as_me:$LINENO: result: $result" >&5
6525 echo "${ECHO_T}$result" >&6; }
6529 defaultval=$wxUSE_ALL_FEATURES
6530 if test -z "$defaultval"; then
6531 if test x"$enablestring" = xdisable; then
6538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6539 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6540 # Check whether --enable-selectloop was given.
6541 if test "${enable_selectloop+set}" = set; then
6542 enableval=$enable_selectloop;
6543 if test "$enableval" = yes; then
6544 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6546 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6552 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x ; then
6554 eval "DEFAULT_$LINE"
6557 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6562 eval "$wx_cv_use_selectloop"
6563 if test "x$cache" = xyes; then
6564 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6567 if test x"$enablestring" = xdisable; then
6568 if test $wxUSE_SELECT_DISPATCHER = yes; then
6574 result=$wxUSE_SELECT_DISPATCHER
6577 { echo "$as_me:$LINENO: result: $result" >&5
6578 echo "${ECHO_T}$result" >&6; }
6583 defaultval=$wxUSE_ALL_FEATURES
6584 if test -z "$defaultval"; then
6585 if test x"$enablestring" = xdisable; then
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6594 # Check whether --enable-apple_ieee was given.
6595 if test "${enable_apple_ieee+set}" = set; then
6596 enableval=$enable_apple_ieee;
6597 if test "$enableval" = yes; then
6598 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6600 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6606 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6611 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6616 eval "$wx_cv_use_apple_ieee"
6617 if test "x$cache" = xyes; then
6618 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6621 if test x"$enablestring" = xdisable; then
6622 if test $wxUSE_APPLE_IEEE = yes; then
6628 result=$wxUSE_APPLE_IEEE
6631 { echo "$as_me:$LINENO: result: $result" >&5
6632 echo "${ECHO_T}$result" >&6; }
6636 defaultval=$wxUSE_ALL_FEATURES
6637 if test -z "$defaultval"; then
6638 if test x"$enablestring" = xdisable; then
6645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6646 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6647 # Check whether --enable-arcstream was given.
6648 if test "${enable_arcstream+set}" = set; then
6649 enableval=$enable_arcstream;
6650 if test "$enableval" = yes; then
6651 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6653 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6659 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6660 if test "x$LINE" != x ; then
6661 eval "DEFAULT_$LINE"
6664 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6669 eval "$wx_cv_use_arcstream"
6670 if test "x$cache" = xyes; then
6671 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6674 if test x"$enablestring" = xdisable; then
6675 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6681 result=$wxUSE_ARCHIVE_STREAMS
6684 { echo "$as_me:$LINENO: result: $result" >&5
6685 echo "${ECHO_T}$result" >&6; }
6689 defaultval=$wxUSE_ALL_FEATURES
6690 if test -z "$defaultval"; then
6691 if test x"$enablestring" = xdisable; then
6698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6699 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6700 # Check whether --enable-base64 was given.
6701 if test "${enable_base64+set}" = set; then
6702 enableval=$enable_base64;
6703 if test "$enableval" = yes; then
6704 wx_cv_use_base64='wxUSE_BASE64=yes'
6706 wx_cv_use_base64='wxUSE_BASE64=no'
6712 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6713 if test "x$LINE" != x ; then
6714 eval "DEFAULT_$LINE"
6717 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6722 eval "$wx_cv_use_base64"
6723 if test "x$cache" = xyes; then
6724 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6727 if test x"$enablestring" = xdisable; then
6728 if test $wxUSE_BASE64 = yes; then
6734 result=$wxUSE_BASE64
6737 { echo "$as_me:$LINENO: result: $result" >&5
6738 echo "${ECHO_T}$result" >&6; }
6742 defaultval=$wxUSE_ALL_FEATURES
6743 if test -z "$defaultval"; then
6744 if test x"$enablestring" = xdisable; then
6751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6752 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6753 # Check whether --enable-backtrace was given.
6754 if test "${enable_backtrace+set}" = set; then
6755 enableval=$enable_backtrace;
6756 if test "$enableval" = yes; then
6757 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6759 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6765 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6766 if test "x$LINE" != x ; then
6767 eval "DEFAULT_$LINE"
6770 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6775 eval "$wx_cv_use_backtrace"
6776 if test "x$cache" = xyes; then
6777 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6780 if test x"$enablestring" = xdisable; then
6781 if test $wxUSE_STACKWALKER = yes; then
6787 result=$wxUSE_STACKWALKER
6790 { echo "$as_me:$LINENO: result: $result" >&5
6791 echo "${ECHO_T}$result" >&6; }
6795 defaultval=$wxUSE_ALL_FEATURES
6796 if test -z "$defaultval"; then
6797 if test x"$enablestring" = xdisable; then
6804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6805 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6806 # Check whether --enable-catch_segvs was given.
6807 if test "${enable_catch_segvs+set}" = set; then
6808 enableval=$enable_catch_segvs;
6809 if test "$enableval" = yes; then
6810 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6812 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6818 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6819 if test "x$LINE" != x ; then
6820 eval "DEFAULT_$LINE"
6823 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6828 eval "$wx_cv_use_catch_segvs"
6829 if test "x$cache" = xyes; then
6830 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6833 if test x"$enablestring" = xdisable; then
6834 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6840 result=$wxUSE_ON_FATAL_EXCEPTION
6843 { echo "$as_me:$LINENO: result: $result" >&5
6844 echo "${ECHO_T}$result" >&6; }
6848 defaultval=$wxUSE_ALL_FEATURES
6849 if test -z "$defaultval"; then
6850 if test x"$enablestring" = xdisable; then
6857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6859 # Check whether --enable-cmdline was given.
6860 if test "${enable_cmdline+set}" = set; then
6861 enableval=$enable_cmdline;
6862 if test "$enableval" = yes; then
6863 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6865 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6871 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6872 if test "x$LINE" != x ; then
6873 eval "DEFAULT_$LINE"
6876 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6881 eval "$wx_cv_use_cmdline"
6882 if test "x$cache" = xyes; then
6883 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6886 if test x"$enablestring" = xdisable; then
6887 if test $wxUSE_CMDLINE_PARSER = yes; then
6893 result=$wxUSE_CMDLINE_PARSER
6896 { echo "$as_me:$LINENO: result: $result" >&5
6897 echo "${ECHO_T}$result" >&6; }
6901 defaultval=$wxUSE_ALL_FEATURES
6902 if test -z "$defaultval"; then
6903 if test x"$enablestring" = xdisable; then
6910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6911 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6912 # Check whether --enable-datetime was given.
6913 if test "${enable_datetime+set}" = set; then
6914 enableval=$enable_datetime;
6915 if test "$enableval" = yes; then
6916 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6918 wx_cv_use_datetime='wxUSE_DATETIME=no'
6924 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6925 if test "x$LINE" != x ; then
6926 eval "DEFAULT_$LINE"
6929 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6934 eval "$wx_cv_use_datetime"
6935 if test "x$cache" = xyes; then
6936 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
6939 if test x"$enablestring" = xdisable; then
6940 if test $wxUSE_DATETIME = yes; then
6946 result=$wxUSE_DATETIME
6949 { echo "$as_me:$LINENO: result: $result" >&5
6950 echo "${ECHO_T}$result" >&6; }
6954 defaultval=$wxUSE_ALL_FEATURES
6955 if test -z "$defaultval"; then
6956 if test x"$enablestring" = xdisable; then
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6965 # Check whether --enable-debugreport was given.
6966 if test "${enable_debugreport+set}" = set; then
6967 enableval=$enable_debugreport;
6968 if test "$enableval" = yes; then
6969 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6971 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6977 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6982 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6987 eval "$wx_cv_use_debugreport"
6988 if test "x$cache" = xyes; then
6989 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
6992 if test x"$enablestring" = xdisable; then
6993 if test $wxUSE_DEBUGREPORT = yes; then
6999 result=$wxUSE_DEBUGREPORT
7002 { echo "$as_me:$LINENO: result: $result" >&5
7003 echo "${ECHO_T}$result" >&6; }
7007 defaultval=$wxUSE_ALL_FEATURES
7008 if test -z "$defaultval"; then
7009 if test x"$enablestring" = xdisable; then
7016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7017 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7018 # Check whether --enable-dialupman was given.
7019 if test "${enable_dialupman+set}" = set; then
7020 enableval=$enable_dialupman;
7021 if test "$enableval" = yes; then
7022 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7024 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7030 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7035 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7040 eval "$wx_cv_use_dialupman"
7041 if test "x$cache" = xyes; then
7042 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7045 if test x"$enablestring" = xdisable; then
7046 if test $wxUSE_DIALUP_MANAGER = yes; then
7052 result=$wxUSE_DIALUP_MANAGER
7055 { echo "$as_me:$LINENO: result: $result" >&5
7056 echo "${ECHO_T}$result" >&6; }
7060 defaultval=$wxUSE_ALL_FEATURES
7061 if test -z "$defaultval"; then
7062 if test x"$enablestring" = xdisable; then
7069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7070 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7071 # Check whether --enable-dynlib was given.
7072 if test "${enable_dynlib+set}" = set; then
7073 enableval=$enable_dynlib;
7074 if test "$enableval" = yes; then
7075 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7077 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7083 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7084 if test "x$LINE" != x ; then
7085 eval "DEFAULT_$LINE"
7088 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7093 eval "$wx_cv_use_dynlib"
7094 if test "x$cache" = xyes; then
7095 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7098 if test x"$enablestring" = xdisable; then
7099 if test $wxUSE_DYNLIB_CLASS = yes; then
7105 result=$wxUSE_DYNLIB_CLASS
7108 { echo "$as_me:$LINENO: result: $result" >&5
7109 echo "${ECHO_T}$result" >&6; }
7113 defaultval=$wxUSE_ALL_FEATURES
7114 if test -z "$defaultval"; then
7115 if test x"$enablestring" = xdisable; then
7122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7123 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7124 # Check whether --enable-dynamicloader was given.
7125 if test "${enable_dynamicloader+set}" = set; then
7126 enableval=$enable_dynamicloader;
7127 if test "$enableval" = yes; then
7128 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7130 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7136 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7137 if test "x$LINE" != x ; then
7138 eval "DEFAULT_$LINE"
7141 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7146 eval "$wx_cv_use_dynamicloader"
7147 if test "x$cache" = xyes; then
7148 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7151 if test x"$enablestring" = xdisable; then
7152 if test $wxUSE_DYNAMIC_LOADER = yes; then
7158 result=$wxUSE_DYNAMIC_LOADER
7161 { echo "$as_me:$LINENO: result: $result" >&5
7162 echo "${ECHO_T}$result" >&6; }
7166 defaultval=$wxUSE_ALL_FEATURES
7167 if test -z "$defaultval"; then
7168 if test x"$enablestring" = xdisable; then
7175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7177 # Check whether --enable-exceptions was given.
7178 if test "${enable_exceptions+set}" = set; then
7179 enableval=$enable_exceptions;
7180 if test "$enableval" = yes; then
7181 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7183 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7189 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7190 if test "x$LINE" != x ; then
7191 eval "DEFAULT_$LINE"
7194 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7199 eval "$wx_cv_use_exceptions"
7200 if test "x$cache" = xyes; then
7201 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7204 if test x"$enablestring" = xdisable; then
7205 if test $wxUSE_EXCEPTIONS = yes; then
7211 result=$wxUSE_EXCEPTIONS
7214 { echo "$as_me:$LINENO: result: $result" >&5
7215 echo "${ECHO_T}$result" >&6; }
7219 defaultval=$wxUSE_ALL_FEATURES
7220 if test -z "$defaultval"; then
7221 if test x"$enablestring" = xdisable; then
7228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7229 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7230 # Check whether --enable-ffile was given.
7231 if test "${enable_ffile+set}" = set; then
7232 enableval=$enable_ffile;
7233 if test "$enableval" = yes; then
7234 wx_cv_use_ffile='wxUSE_FFILE=yes'
7236 wx_cv_use_ffile='wxUSE_FFILE=no'
7242 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7243 if test "x$LINE" != x ; then
7244 eval "DEFAULT_$LINE"
7247 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7252 eval "$wx_cv_use_ffile"
7253 if test "x$cache" = xyes; then
7254 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7257 if test x"$enablestring" = xdisable; then
7258 if test $wxUSE_FFILE = yes; then
7267 { echo "$as_me:$LINENO: result: $result" >&5
7268 echo "${ECHO_T}$result" >&6; }
7272 defaultval=$wxUSE_ALL_FEATURES
7273 if test -z "$defaultval"; then
7274 if test x"$enablestring" = xdisable; then
7281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7282 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7283 # Check whether --enable-file was given.
7284 if test "${enable_file+set}" = set; then
7285 enableval=$enable_file;
7286 if test "$enableval" = yes; then
7287 wx_cv_use_file='wxUSE_FILE=yes'
7289 wx_cv_use_file='wxUSE_FILE=no'
7295 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7296 if test "x$LINE" != x ; then
7297 eval "DEFAULT_$LINE"
7300 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7305 eval "$wx_cv_use_file"
7306 if test "x$cache" = xyes; then
7307 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7310 if test x"$enablestring" = xdisable; then
7311 if test $wxUSE_FILE = yes; then
7320 { echo "$as_me:$LINENO: result: $result" >&5
7321 echo "${ECHO_T}$result" >&6; }
7325 defaultval=$wxUSE_ALL_FEATURES
7326 if test -z "$defaultval"; then
7327 if test x"$enablestring" = xdisable; then
7334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7336 # Check whether --enable-filesystem was given.
7337 if test "${enable_filesystem+set}" = set; then
7338 enableval=$enable_filesystem;
7339 if test "$enableval" = yes; then
7340 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7342 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7348 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7349 if test "x$LINE" != x ; then
7350 eval "DEFAULT_$LINE"
7353 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7358 eval "$wx_cv_use_filesystem"
7359 if test "x$cache" = xyes; then
7360 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7363 if test x"$enablestring" = xdisable; then
7364 if test $wxUSE_FILESYSTEM = yes; then
7370 result=$wxUSE_FILESYSTEM
7373 { echo "$as_me:$LINENO: result: $result" >&5
7374 echo "${ECHO_T}$result" >&6; }
7378 defaultval=$wxUSE_ALL_FEATURES
7379 if test -z "$defaultval"; then
7380 if test x"$enablestring" = xdisable; then
7387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7388 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7389 # Check whether --enable-fontenum was given.
7390 if test "${enable_fontenum+set}" = set; then
7391 enableval=$enable_fontenum;
7392 if test "$enableval" = yes; then
7393 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7395 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7401 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7402 if test "x$LINE" != x ; then
7403 eval "DEFAULT_$LINE"
7406 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7411 eval "$wx_cv_use_fontenum"
7412 if test "x$cache" = xyes; then
7413 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7416 if test x"$enablestring" = xdisable; then
7417 if test $wxUSE_FONTENUM = yes; then
7423 result=$wxUSE_FONTENUM
7426 { echo "$as_me:$LINENO: result: $result" >&5
7427 echo "${ECHO_T}$result" >&6; }
7431 defaultval=$wxUSE_ALL_FEATURES
7432 if test -z "$defaultval"; then
7433 if test x"$enablestring" = xdisable; then
7440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7442 # Check whether --enable-fontmap was given.
7443 if test "${enable_fontmap+set}" = set; then
7444 enableval=$enable_fontmap;
7445 if test "$enableval" = yes; then
7446 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7448 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7454 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7455 if test "x$LINE" != x ; then
7456 eval "DEFAULT_$LINE"
7459 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7464 eval "$wx_cv_use_fontmap"
7465 if test "x$cache" = xyes; then
7466 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7469 if test x"$enablestring" = xdisable; then
7470 if test $wxUSE_FONTMAP = yes; then
7476 result=$wxUSE_FONTMAP
7479 { echo "$as_me:$LINENO: result: $result" >&5
7480 echo "${ECHO_T}$result" >&6; }
7484 defaultval=$wxUSE_ALL_FEATURES
7485 if test -z "$defaultval"; then
7486 if test x"$enablestring" = xdisable; then
7493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7494 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7495 # Check whether --enable-fs_archive was given.
7496 if test "${enable_fs_archive+set}" = set; then
7497 enableval=$enable_fs_archive;
7498 if test "$enableval" = yes; then
7499 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7501 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7507 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7508 if test "x$LINE" != x ; then
7509 eval "DEFAULT_$LINE"
7512 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7517 eval "$wx_cv_use_fs_archive"
7518 if test "x$cache" = xyes; then
7519 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7522 if test x"$enablestring" = xdisable; then
7523 if test $wxUSE_FS_ARCHIVE = yes; then
7529 result=$wxUSE_FS_ARCHIVE
7532 { echo "$as_me:$LINENO: result: $result" >&5
7533 echo "${ECHO_T}$result" >&6; }
7537 defaultval=$wxUSE_ALL_FEATURES
7538 if test -z "$defaultval"; then
7539 if test x"$enablestring" = xdisable; then
7546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7548 # Check whether --enable-fs_inet was given.
7549 if test "${enable_fs_inet+set}" = set; then
7550 enableval=$enable_fs_inet;
7551 if test "$enableval" = yes; then
7552 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7554 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7560 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7565 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7570 eval "$wx_cv_use_fs_inet"
7571 if test "x$cache" = xyes; then
7572 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7575 if test x"$enablestring" = xdisable; then
7576 if test $wxUSE_FS_INET = yes; then
7582 result=$wxUSE_FS_INET
7585 { echo "$as_me:$LINENO: result: $result" >&5
7586 echo "${ECHO_T}$result" >&6; }
7590 defaultval=$wxUSE_ALL_FEATURES
7591 if test -z "$defaultval"; then
7592 if test x"$enablestring" = xdisable; then
7599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7600 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7601 # Check whether --enable-fs_zip was given.
7602 if test "${enable_fs_zip+set}" = set; then
7603 enableval=$enable_fs_zip;
7604 if test "$enableval" = yes; then
7605 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7607 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7613 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7614 if test "x$LINE" != x ; then
7615 eval "DEFAULT_$LINE"
7618 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7623 eval "$wx_cv_use_fs_zip"
7624 if test "x$cache" = xyes; then
7625 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7628 if test x"$enablestring" = xdisable; then
7629 if test $wxUSE_FS_ZIP = yes; then
7635 result=$wxUSE_FS_ZIP
7638 { echo "$as_me:$LINENO: result: $result" >&5
7639 echo "${ECHO_T}$result" >&6; }
7643 defaultval=$wxUSE_ALL_FEATURES
7644 if test -z "$defaultval"; then
7645 if test x"$enablestring" = xdisable; then
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7654 # Check whether --enable-geometry was given.
7655 if test "${enable_geometry+set}" = set; then
7656 enableval=$enable_geometry;
7657 if test "$enableval" = yes; then
7658 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7660 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7666 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7667 if test "x$LINE" != x ; then
7668 eval "DEFAULT_$LINE"
7671 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7676 eval "$wx_cv_use_geometry"
7677 if test "x$cache" = xyes; then
7678 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7681 if test x"$enablestring" = xdisable; then
7682 if test $wxUSE_GEOMETRY = yes; then
7688 result=$wxUSE_GEOMETRY
7691 { echo "$as_me:$LINENO: result: $result" >&5
7692 echo "${ECHO_T}$result" >&6; }
7696 defaultval=$wxUSE_ALL_FEATURES
7697 if test -z "$defaultval"; then
7698 if test x"$enablestring" = xdisable; then
7705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7706 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7707 # Check whether --enable-log was given.
7708 if test "${enable_log+set}" = set; then
7709 enableval=$enable_log;
7710 if test "$enableval" = yes; then
7711 wx_cv_use_log='wxUSE_LOG=yes'
7713 wx_cv_use_log='wxUSE_LOG=no'
7719 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x ; then
7721 eval "DEFAULT_$LINE"
7724 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7729 eval "$wx_cv_use_log"
7730 if test "x$cache" = xyes; then
7731 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7734 if test x"$enablestring" = xdisable; then
7735 if test $wxUSE_LOG = yes; then
7744 { echo "$as_me:$LINENO: result: $result" >&5
7745 echo "${ECHO_T}$result" >&6; }
7749 defaultval=$wxUSE_ALL_FEATURES
7750 if test -z "$defaultval"; then
7751 if test x"$enablestring" = xdisable; then
7758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7760 # Check whether --enable-longlong was given.
7761 if test "${enable_longlong+set}" = set; then
7762 enableval=$enable_longlong;
7763 if test "$enableval" = yes; then
7764 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7766 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7772 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7777 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7782 eval "$wx_cv_use_longlong"
7783 if test "x$cache" = xyes; then
7784 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7787 if test x"$enablestring" = xdisable; then
7788 if test $wxUSE_LONGLONG = yes; then
7794 result=$wxUSE_LONGLONG
7797 { echo "$as_me:$LINENO: result: $result" >&5
7798 echo "${ECHO_T}$result" >&6; }
7802 defaultval=$wxUSE_ALL_FEATURES
7803 if test -z "$defaultval"; then
7804 if test x"$enablestring" = xdisable; then
7811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7812 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7813 # Check whether --enable-mimetype was given.
7814 if test "${enable_mimetype+set}" = set; then
7815 enableval=$enable_mimetype;
7816 if test "$enableval" = yes; then
7817 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7819 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7825 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7826 if test "x$LINE" != x ; then
7827 eval "DEFAULT_$LINE"
7830 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7835 eval "$wx_cv_use_mimetype"
7836 if test "x$cache" = xyes; then
7837 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7840 if test x"$enablestring" = xdisable; then
7841 if test $wxUSE_MIMETYPE = yes; then
7847 result=$wxUSE_MIMETYPE
7850 { echo "$as_me:$LINENO: result: $result" >&5
7851 echo "${ECHO_T}$result" >&6; }
7855 defaultval=$wxUSE_ALL_FEATURES
7856 if test -z "$defaultval"; then
7857 if test x"$enablestring" = xdisable; then
7864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7865 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7866 # Check whether --enable-snglinst was given.
7867 if test "${enable_snglinst+set}" = set; then
7868 enableval=$enable_snglinst;
7869 if test "$enableval" = yes; then
7870 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7872 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7878 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7879 if test "x$LINE" != x ; then
7880 eval "DEFAULT_$LINE"
7883 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7888 eval "$wx_cv_use_snglinst"
7889 if test "x$cache" = xyes; then
7890 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7893 if test x"$enablestring" = xdisable; then
7894 if test $wxUSE_SNGLINST_CHECKER = yes; then
7900 result=$wxUSE_SNGLINST_CHECKER
7903 { echo "$as_me:$LINENO: result: $result" >&5
7904 echo "${ECHO_T}$result" >&6; }
7908 defaultval=$wxUSE_ALL_FEATURES
7909 if test -z "$defaultval"; then
7910 if test x"$enablestring" = xdisable; then
7917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7919 # Check whether --enable-stdpaths was given.
7920 if test "${enable_stdpaths+set}" = set; then
7921 enableval=$enable_stdpaths;
7922 if test "$enableval" = yes; then
7923 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7925 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7931 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7932 if test "x$LINE" != x ; then
7933 eval "DEFAULT_$LINE"
7936 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7941 eval "$wx_cv_use_stdpaths"
7942 if test "x$cache" = xyes; then
7943 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
7946 if test x"$enablestring" = xdisable; then
7947 if test $wxUSE_STDPATHS = yes; then
7953 result=$wxUSE_STDPATHS
7956 { echo "$as_me:$LINENO: result: $result" >&5
7957 echo "${ECHO_T}$result" >&6; }
7961 defaultval=$wxUSE_ALL_FEATURES
7962 if test -z "$defaultval"; then
7963 if test x"$enablestring" = xdisable; then
7970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7971 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7972 # Check whether --enable-stopwatch was given.
7973 if test "${enable_stopwatch+set}" = set; then
7974 enableval=$enable_stopwatch;
7975 if test "$enableval" = yes; then
7976 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7978 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7984 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7985 if test "x$LINE" != x ; then
7986 eval "DEFAULT_$LINE"
7989 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7994 eval "$wx_cv_use_stopwatch"
7995 if test "x$cache" = xyes; then
7996 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
7999 if test x"$enablestring" = xdisable; then
8000 if test $wxUSE_STOPWATCH = yes; then
8006 result=$wxUSE_STOPWATCH
8009 { echo "$as_me:$LINENO: result: $result" >&5
8010 echo "${ECHO_T}$result" >&6; }
8014 defaultval=$wxUSE_ALL_FEATURES
8015 if test -z "$defaultval"; then
8016 if test x"$enablestring" = xdisable; then
8023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8024 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8025 # Check whether --enable-streams was given.
8026 if test "${enable_streams+set}" = set; then
8027 enableval=$enable_streams;
8028 if test "$enableval" = yes; then
8029 wx_cv_use_streams='wxUSE_STREAMS=yes'
8031 wx_cv_use_streams='wxUSE_STREAMS=no'
8037 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8038 if test "x$LINE" != x ; then
8039 eval "DEFAULT_$LINE"
8042 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8047 eval "$wx_cv_use_streams"
8048 if test "x$cache" = xyes; then
8049 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8052 if test x"$enablestring" = xdisable; then
8053 if test $wxUSE_STREAMS = yes; then
8059 result=$wxUSE_STREAMS
8062 { echo "$as_me:$LINENO: result: $result" >&5
8063 echo "${ECHO_T}$result" >&6; }
8067 defaultval=$wxUSE_ALL_FEATURES
8068 if test -z "$defaultval"; then
8069 if test x"$enablestring" = xdisable; then
8076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8078 # Check whether --enable-system_options was given.
8079 if test "${enable_system_options+set}" = set; then
8080 enableval=$enable_system_options;
8081 if test "$enableval" = yes; then
8082 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8084 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8090 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8091 if test "x$LINE" != x ; then
8092 eval "DEFAULT_$LINE"
8095 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8100 eval "$wx_cv_use_system_options"
8101 if test "x$cache" = xyes; then
8102 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8105 if test x"$enablestring" = xdisable; then
8106 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8112 result=$wxUSE_SYSTEM_OPTIONS
8115 { echo "$as_me:$LINENO: result: $result" >&5
8116 echo "${ECHO_T}$result" >&6; }
8120 defaultval=$wxUSE_ALL_FEATURES
8121 if test -z "$defaultval"; then
8122 if test x"$enablestring" = xdisable; then
8129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8130 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8131 # Check whether --enable-tarstream was given.
8132 if test "${enable_tarstream+set}" = set; then
8133 enableval=$enable_tarstream;
8134 if test "$enableval" = yes; then
8135 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8137 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8143 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x ; then
8145 eval "DEFAULT_$LINE"
8148 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8153 eval "$wx_cv_use_tarstream"
8154 if test "x$cache" = xyes; then
8155 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8158 if test x"$enablestring" = xdisable; then
8159 if test $wxUSE_TARSTREAM = yes; then
8165 result=$wxUSE_TARSTREAM
8168 { echo "$as_me:$LINENO: result: $result" >&5
8169 echo "${ECHO_T}$result" >&6; }
8173 defaultval=$wxUSE_ALL_FEATURES
8174 if test -z "$defaultval"; then
8175 if test x"$enablestring" = xdisable; then
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8184 # Check whether --enable-textbuf was given.
8185 if test "${enable_textbuf+set}" = set; then
8186 enableval=$enable_textbuf;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8190 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8196 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8201 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8206 eval "$wx_cv_use_textbuf"
8207 if test "x$cache" = xyes; then
8208 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8211 if test x"$enablestring" = xdisable; then
8212 if test $wxUSE_TEXTBUFFER = yes; then
8218 result=$wxUSE_TEXTBUFFER
8221 { echo "$as_me:$LINENO: result: $result" >&5
8222 echo "${ECHO_T}$result" >&6; }
8226 defaultval=$wxUSE_ALL_FEATURES
8227 if test -z "$defaultval"; then
8228 if test x"$enablestring" = xdisable; then
8235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8237 # Check whether --enable-textfile was given.
8238 if test "${enable_textfile+set}" = set; then
8239 enableval=$enable_textfile;
8240 if test "$enableval" = yes; then
8241 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8243 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8249 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8250 if test "x$LINE" != x ; then
8251 eval "DEFAULT_$LINE"
8254 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8259 eval "$wx_cv_use_textfile"
8260 if test "x$cache" = xyes; then
8261 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8264 if test x"$enablestring" = xdisable; then
8265 if test $wxUSE_TEXTFILE = yes; then
8271 result=$wxUSE_TEXTFILE
8274 { echo "$as_me:$LINENO: result: $result" >&5
8275 echo "${ECHO_T}$result" >&6; }
8279 defaultval=$wxUSE_ALL_FEATURES
8280 if test -z "$defaultval"; then
8281 if test x"$enablestring" = xdisable; then
8288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8289 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8290 # Check whether --enable-timer was given.
8291 if test "${enable_timer+set}" = set; then
8292 enableval=$enable_timer;
8293 if test "$enableval" = yes; then
8294 wx_cv_use_timer='wxUSE_TIMER=yes'
8296 wx_cv_use_timer='wxUSE_TIMER=no'
8302 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8303 if test "x$LINE" != x ; then
8304 eval "DEFAULT_$LINE"
8307 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8312 eval "$wx_cv_use_timer"
8313 if test "x$cache" = xyes; then
8314 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8317 if test x"$enablestring" = xdisable; then
8318 if test $wxUSE_TIMER = yes; then
8327 { echo "$as_me:$LINENO: result: $result" >&5
8328 echo "${ECHO_T}$result" >&6; }
8332 defaultval=$wxUSE_ALL_FEATURES
8333 if test -z "$defaultval"; then
8334 if test x"$enablestring" = xdisable; then
8341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8342 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8343 # Check whether --enable-sound was given.
8344 if test "${enable_sound+set}" = set; then
8345 enableval=$enable_sound;
8346 if test "$enableval" = yes; then
8347 wx_cv_use_sound='wxUSE_SOUND=yes'
8349 wx_cv_use_sound='wxUSE_SOUND=no'
8355 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8356 if test "x$LINE" != x ; then
8357 eval "DEFAULT_$LINE"
8360 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8365 eval "$wx_cv_use_sound"
8366 if test "x$cache" = xyes; then
8367 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8370 if test x"$enablestring" = xdisable; then
8371 if test $wxUSE_SOUND = yes; then
8380 { echo "$as_me:$LINENO: result: $result" >&5
8381 echo "${ECHO_T}$result" >&6; }
8385 defaultval=$wxUSE_ALL_FEATURES
8386 if test -z "$defaultval"; then
8387 if test x"$enablestring" = xdisable; then
8394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8395 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8396 # Check whether --enable-mediactrl was given.
8397 if test "${enable_mediactrl+set}" = set; then
8398 enableval=$enable_mediactrl;
8399 if test "$enableval" = yes; then
8400 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8402 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8408 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8409 if test "x$LINE" != x ; then
8410 eval "DEFAULT_$LINE"
8413 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8418 eval "$wx_cv_use_mediactrl"
8419 if test "x$cache" = xyes; then
8420 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8423 if test x"$enablestring" = xdisable; then
8424 if test $wxUSE_MEDIACTRL = yes; then
8430 result=$wxUSE_MEDIACTRL
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}-gstreamer8" >&5
8448 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8449 # Check whether --enable-gstreamer8 was given.
8450 if test "${enable_gstreamer8+set}" = set; then
8451 enableval=$enable_gstreamer8;
8452 if test "$enableval" = yes; then
8453 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8455 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8461 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8462 if test "x$LINE" != x ; then
8463 eval "DEFAULT_$LINE"
8466 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8471 eval "$wx_cv_use_gstreamer8"
8472 if test "x$cache" = xyes; then
8473 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8476 if test x"$enablestring" = xdisable; then
8477 if test $wxUSE_GSTREAMER8 = yes; then
8483 result=$wxUSE_GSTREAMER8
8486 { echo "$as_me:$LINENO: result: $result" >&5
8487 echo "${ECHO_T}$result" >&6; }
8491 defaultval=$wxUSE_ALL_FEATURES
8492 if test -z "$defaultval"; then
8493 if test x"$enablestring" = xdisable; then
8500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8501 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8502 # Check whether --enable-printfposparam was given.
8503 if test "${enable_printfposparam+set}" = set; then
8504 enableval=$enable_printfposparam;
8505 if test "$enableval" = yes; then
8506 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8508 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8514 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x ; then
8516 eval "DEFAULT_$LINE"
8519 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8524 eval "$wx_cv_use_printfposparam"
8525 if test "x$cache" = xyes; then
8526 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8529 if test x"$enablestring" = xdisable; then
8530 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8536 result=$wxUSE_PRINTF_POS_PARAMS
8539 { echo "$as_me:$LINENO: result: $result" >&5
8540 echo "${ECHO_T}$result" >&6; }
8544 defaultval=$wxUSE_ALL_FEATURES
8545 if test -z "$defaultval"; then
8546 if test x"$enablestring" = xdisable; then
8553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8554 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8555 # Check whether --enable-zipstream was given.
8556 if test "${enable_zipstream+set}" = set; then
8557 enableval=$enable_zipstream;
8558 if test "$enableval" = yes; then
8559 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8561 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8567 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8568 if test "x$LINE" != x ; then
8569 eval "DEFAULT_$LINE"
8572 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8577 eval "$wx_cv_use_zipstream"
8578 if test "x$cache" = xyes; then
8579 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8582 if test x"$enablestring" = xdisable; then
8583 if test $wxUSE_ZIPSTREAM = yes; then
8589 result=$wxUSE_ZIPSTREAM
8592 { echo "$as_me:$LINENO: result: $result" >&5
8593 echo "${ECHO_T}$result" >&6; }
8598 defaultval=$wxUSE_ALL_FEATURES
8599 if test -z "$defaultval"; then
8600 if test x"$enablestring" = xdisable; then
8607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8609 # Check whether --enable-url was given.
8610 if test "${enable_url+set}" = set; then
8611 enableval=$enable_url;
8612 if test "$enableval" = yes; then
8613 wx_cv_use_url='wxUSE_URL=yes'
8615 wx_cv_use_url='wxUSE_URL=no'
8621 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8622 if test "x$LINE" != x ; then
8623 eval "DEFAULT_$LINE"
8626 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8631 eval "$wx_cv_use_url"
8632 if test "x$cache" = xyes; then
8633 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8636 if test x"$enablestring" = xdisable; then
8637 if test $wxUSE_URL = yes; then
8646 { echo "$as_me:$LINENO: result: $result" >&5
8647 echo "${ECHO_T}$result" >&6; }
8651 defaultval=$wxUSE_ALL_FEATURES
8652 if test -z "$defaultval"; then
8653 if test x"$enablestring" = xdisable; then
8660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8661 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8662 # Check whether --enable-variant was given.
8663 if test "${enable_variant+set}" = set; then
8664 enableval=$enable_variant;
8665 if test "$enableval" = yes; then
8666 wx_cv_use_variant='wxUSE_VARIANT=yes'
8668 wx_cv_use_variant='wxUSE_VARIANT=no'
8674 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8675 if test "x$LINE" != x ; then
8676 eval "DEFAULT_$LINE"
8679 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8684 eval "$wx_cv_use_variant"
8685 if test "x$cache" = xyes; then
8686 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8689 if test x"$enablestring" = xdisable; then
8690 if test $wxUSE_VARIANT = yes; then
8696 result=$wxUSE_VARIANT
8699 { echo "$as_me:$LINENO: result: $result" >&5
8700 echo "${ECHO_T}$result" >&6; }
8704 defaultval=$wxUSE_ALL_FEATURES
8705 if test -z "$defaultval"; then
8706 if test x"$enablestring" = xdisable; then
8713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8714 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8715 # Check whether --enable-protocol was given.
8716 if test "${enable_protocol+set}" = set; then
8717 enableval=$enable_protocol;
8718 if test "$enableval" = yes; then
8719 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8721 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8727 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8728 if test "x$LINE" != x ; then
8729 eval "DEFAULT_$LINE"
8732 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8737 eval "$wx_cv_use_protocol"
8738 if test "x$cache" = xyes; then
8739 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8742 if test x"$enablestring" = xdisable; then
8743 if test $wxUSE_PROTOCOL = yes; then
8749 result=$wxUSE_PROTOCOL
8752 { echo "$as_me:$LINENO: result: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8757 defaultval=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x"$enablestring" = xdisable; then
8766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8768 # Check whether --enable-protocol_http was given.
8769 if test "${enable_protocol_http+set}" = set; then
8770 enableval=$enable_protocol_http;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8774 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8780 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8781 if test "x$LINE" != x ; then
8782 eval "DEFAULT_$LINE"
8785 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8790 eval "$wx_cv_use_protocol_http"
8791 if test "x$cache" = xyes; then
8792 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8795 if test x"$enablestring" = xdisable; then
8796 if test $wxUSE_PROTOCOL_HTTP = yes; then
8802 result=$wxUSE_PROTOCOL_HTTP
8805 { echo "$as_me:$LINENO: result: $result" >&5
8806 echo "${ECHO_T}$result" >&6; }
8810 defaultval=$wxUSE_ALL_FEATURES
8811 if test -z "$defaultval"; then
8812 if test x"$enablestring" = xdisable; then
8819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8820 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8821 # Check whether --enable-protocol_ftp was given.
8822 if test "${enable_protocol_ftp+set}" = set; then
8823 enableval=$enable_protocol_ftp;
8824 if test "$enableval" = yes; then
8825 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8827 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8833 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8834 if test "x$LINE" != x ; then
8835 eval "DEFAULT_$LINE"
8838 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8843 eval "$wx_cv_use_protocol_ftp"
8844 if test "x$cache" = xyes; then
8845 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8848 if test x"$enablestring" = xdisable; then
8849 if test $wxUSE_PROTOCOL_FTP = yes; then
8855 result=$wxUSE_PROTOCOL_FTP
8858 { echo "$as_me:$LINENO: result: $result" >&5
8859 echo "${ECHO_T}$result" >&6; }
8863 defaultval=$wxUSE_ALL_FEATURES
8864 if test -z "$defaultval"; then
8865 if test x"$enablestring" = xdisable; then
8872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8874 # Check whether --enable-protocol_file was given.
8875 if test "${enable_protocol_file+set}" = set; then
8876 enableval=$enable_protocol_file;
8877 if test "$enableval" = yes; then
8878 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8880 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8886 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8887 if test "x$LINE" != x ; then
8888 eval "DEFAULT_$LINE"
8891 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8896 eval "$wx_cv_use_protocol_file"
8897 if test "x$cache" = xyes; then
8898 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
8901 if test x"$enablestring" = xdisable; then
8902 if test $wxUSE_PROTOCOL_FILE = yes; then
8908 result=$wxUSE_PROTOCOL_FILE
8911 { echo "$as_me:$LINENO: result: $result" >&5
8912 echo "${ECHO_T}$result" >&6; }
8917 defaultval=$wxUSE_ALL_FEATURES
8918 if test -z "$defaultval"; then
8919 if test x"$enablestring" = xdisable; then
8926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8927 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8928 # Check whether --enable-threads was given.
8929 if test "${enable_threads+set}" = set; then
8930 enableval=$enable_threads;
8931 if test "$enableval" = yes; then
8932 wx_cv_use_threads='wxUSE_THREADS=yes'
8934 wx_cv_use_threads='wxUSE_THREADS=no'
8940 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8941 if test "x$LINE" != x ; then
8942 eval "DEFAULT_$LINE"
8945 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8950 eval "$wx_cv_use_threads"
8951 if test "x$cache" = xyes; then
8952 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_THREADS = yes; then
8962 result=$wxUSE_THREADS
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8969 if test "$wxUSE_GUI" = "yes"; then
8974 defaultval=$wxUSE_ALL_FEATURES
8975 if test -z "$defaultval"; then
8976 if test x"$enablestring" = xdisable; then
8983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8985 # Check whether --enable-docview was given.
8986 if test "${enable_docview+set}" = set; then
8987 enableval=$enable_docview;
8988 if test "$enableval" = yes; then
8989 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8991 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8997 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8998 if test "x$LINE" != x ; then
8999 eval "DEFAULT_$LINE"
9002 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9007 eval "$wx_cv_use_docview"
9008 if test "x$cache" = xyes; then
9009 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9019 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9038 # Check whether --enable-help was given.
9039 if test "${enable_help+set}" = set; then
9040 enableval=$enable_help;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_help='wxUSE_HELP=yes'
9044 wx_cv_use_help='wxUSE_HELP=no'
9050 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9051 if test "x$LINE" != x ; then
9052 eval "DEFAULT_$LINE"
9055 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9060 eval "$wx_cv_use_help"
9061 if test "x$cache" = xyes; then
9062 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9065 if test x"$enablestring" = xdisable; then
9066 if test $wxUSE_HELP = yes; then
9075 { echo "$as_me:$LINENO: result: $result" >&5
9076 echo "${ECHO_T}$result" >&6; }
9080 defaultval=$wxUSE_ALL_FEATURES
9081 if test -z "$defaultval"; then
9082 if test x"$enablestring" = xdisable; then
9089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9090 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9091 # Check whether --enable-mshtmlhelp was given.
9092 if test "${enable_mshtmlhelp+set}" = set; then
9093 enableval=$enable_mshtmlhelp;
9094 if test "$enableval" = yes; then
9095 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9097 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9103 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9104 if test "x$LINE" != x ; then
9105 eval "DEFAULT_$LINE"
9108 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9113 eval "$wx_cv_use_mshtmlhelp"
9114 if test "x$cache" = xyes; then
9115 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9118 if test x"$enablestring" = xdisable; then
9119 if test $wxUSE_MS_HTML_HELP = yes; then
9125 result=$wxUSE_MS_HTML_HELP
9128 { echo "$as_me:$LINENO: result: $result" >&5
9129 echo "${ECHO_T}$result" >&6; }
9133 defaultval=$wxUSE_ALL_FEATURES
9134 if test -z "$defaultval"; then
9135 if test x"$enablestring" = xdisable; then
9142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9144 # Check whether --enable-html was given.
9145 if test "${enable_html+set}" = set; then
9146 enableval=$enable_html;
9147 if test "$enableval" = yes; then
9148 wx_cv_use_html='wxUSE_HTML=yes'
9150 wx_cv_use_html='wxUSE_HTML=no'
9156 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9157 if test "x$LINE" != x ; then
9158 eval "DEFAULT_$LINE"
9161 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9166 eval "$wx_cv_use_html"
9167 if test "x$cache" = xyes; then
9168 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9171 if test x"$enablestring" = xdisable; then
9172 if test $wxUSE_HTML = yes; then
9181 { echo "$as_me:$LINENO: result: $result" >&5
9182 echo "${ECHO_T}$result" >&6; }
9186 defaultval=$wxUSE_ALL_FEATURES
9187 if test -z "$defaultval"; then
9188 if test x"$enablestring" = xdisable; then
9195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9197 # Check whether --enable-htmlhelp was given.
9198 if test "${enable_htmlhelp+set}" = set; then
9199 enableval=$enable_htmlhelp;
9200 if test "$enableval" = yes; then
9201 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9203 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9209 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9210 if test "x$LINE" != x ; then
9211 eval "DEFAULT_$LINE"
9214 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9219 eval "$wx_cv_use_htmlhelp"
9220 if test "x$cache" = xyes; then
9221 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9224 if test x"$enablestring" = xdisable; then
9225 if test $wxUSE_WXHTML_HELP = yes; then
9231 result=$wxUSE_WXHTML_HELP
9234 { echo "$as_me:$LINENO: result: $result" >&5
9235 echo "${ECHO_T}$result" >&6; }
9239 defaultval=$wxUSE_ALL_FEATURES
9240 if test -z "$defaultval"; then
9241 if test x"$enablestring" = xdisable; then
9248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9249 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9250 # Check whether --enable-xrc was given.
9251 if test "${enable_xrc+set}" = set; then
9252 enableval=$enable_xrc;
9253 if test "$enableval" = yes; then
9254 wx_cv_use_xrc='wxUSE_XRC=yes'
9256 wx_cv_use_xrc='wxUSE_XRC=no'
9262 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9263 if test "x$LINE" != x ; then
9264 eval "DEFAULT_$LINE"
9267 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9272 eval "$wx_cv_use_xrc"
9273 if test "x$cache" = xyes; then
9274 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9277 if test x"$enablestring" = xdisable; then
9278 if test $wxUSE_XRC = yes; then
9287 { echo "$as_me:$LINENO: result: $result" >&5
9288 echo "${ECHO_T}$result" >&6; }
9292 defaultval=$wxUSE_ALL_FEATURES
9293 if test -z "$defaultval"; then
9294 if test x"$enablestring" = xdisable; then
9301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9302 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9303 # Check whether --enable-aui was given.
9304 if test "${enable_aui+set}" = set; then
9305 enableval=$enable_aui;
9306 if test "$enableval" = yes; then
9307 wx_cv_use_aui='wxUSE_AUI=yes'
9309 wx_cv_use_aui='wxUSE_AUI=no'
9315 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9316 if test "x$LINE" != x ; then
9317 eval "DEFAULT_$LINE"
9320 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9325 eval "$wx_cv_use_aui"
9326 if test "x$cache" = xyes; then
9327 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9330 if test x"$enablestring" = xdisable; then
9331 if test $wxUSE_AUI = yes; then
9340 { echo "$as_me:$LINENO: result: $result" >&5
9341 echo "${ECHO_T}$result" >&6; }
9345 defaultval=$wxUSE_ALL_FEATURES
9346 if test -z "$defaultval"; then
9347 if test x"$enablestring" = xdisable; then
9354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9355 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9356 # Check whether --enable-stc was given.
9357 if test "${enable_stc+set}" = set; then
9358 enableval=$enable_stc;
9359 if test "$enableval" = yes; then
9360 wx_cv_use_stc='wxUSE_STC=yes'
9362 wx_cv_use_stc='wxUSE_STC=no'
9368 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9369 if test "x$LINE" != x ; then
9370 eval "DEFAULT_$LINE"
9373 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9378 eval "$wx_cv_use_stc"
9379 if test "x$cache" = xyes; then
9380 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9383 if test x"$enablestring" = xdisable; then
9384 if test $wxUSE_STC = yes; then
9393 { echo "$as_me:$LINENO: result: $result" >&5
9394 echo "${ECHO_T}$result" >&6; }
9398 defaultval=$wxUSE_ALL_FEATURES
9399 if test -z "$defaultval"; then
9400 if test x"$enablestring" = xdisable; then
9407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9409 # Check whether --enable-constraints was given.
9410 if test "${enable_constraints+set}" = set; then
9411 enableval=$enable_constraints;
9412 if test "$enableval" = yes; then
9413 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9415 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9421 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9422 if test "x$LINE" != x ; then
9423 eval "DEFAULT_$LINE"
9426 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9431 eval "$wx_cv_use_constraints"
9432 if test "x$cache" = xyes; then
9433 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9436 if test x"$enablestring" = xdisable; then
9437 if test $wxUSE_CONSTRAINTS = yes; then
9443 result=$wxUSE_CONSTRAINTS
9446 { echo "$as_me:$LINENO: result: $result" >&5
9447 echo "${ECHO_T}$result" >&6; }
9451 defaultval=$wxUSE_ALL_FEATURES
9452 if test -z "$defaultval"; then
9453 if test x"$enablestring" = xdisable; then
9460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9461 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9462 # Check whether --enable-printarch was given.
9463 if test "${enable_printarch+set}" = set; then
9464 enableval=$enable_printarch;
9465 if test "$enableval" = yes; then
9466 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9468 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9474 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9475 if test "x$LINE" != x ; then
9476 eval "DEFAULT_$LINE"
9479 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9484 eval "$wx_cv_use_printarch"
9485 if test "x$cache" = xyes; then
9486 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9489 if test x"$enablestring" = xdisable; then
9490 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9496 result=$wxUSE_PRINTING_ARCHITECTURE
9499 { echo "$as_me:$LINENO: result: $result" >&5
9500 echo "${ECHO_T}$result" >&6; }
9504 defaultval=$wxUSE_ALL_FEATURES
9505 if test -z "$defaultval"; then
9506 if test x"$enablestring" = xdisable; then
9513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9515 # Check whether --enable-mdi was given.
9516 if test "${enable_mdi+set}" = set; then
9517 enableval=$enable_mdi;
9518 if test "$enableval" = yes; then
9519 wx_cv_use_mdi='wxUSE_MDI=yes'
9521 wx_cv_use_mdi='wxUSE_MDI=no'
9527 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9528 if test "x$LINE" != x ; then
9529 eval "DEFAULT_$LINE"
9532 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9537 eval "$wx_cv_use_mdi"
9538 if test "x$cache" = xyes; then
9539 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9542 if test x"$enablestring" = xdisable; then
9543 if test $wxUSE_MDI = yes; then
9552 { echo "$as_me:$LINENO: result: $result" >&5
9553 echo "${ECHO_T}$result" >&6; }
9557 defaultval=$wxUSE_ALL_FEATURES
9558 if test -z "$defaultval"; then
9559 if test x"$enablestring" = xdisable; then
9566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9568 # Check whether --enable-mdidoc was given.
9569 if test "${enable_mdidoc+set}" = set; then
9570 enableval=$enable_mdidoc;
9571 if test "$enableval" = yes; then
9572 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9574 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9580 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9581 if test "x$LINE" != x ; then
9582 eval "DEFAULT_$LINE"
9585 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9590 eval "$wx_cv_use_mdidoc"
9591 if test "x$cache" = xyes; then
9592 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9595 if test x"$enablestring" = xdisable; then
9596 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9602 result=$wxUSE_MDI_ARCHITECTURE
9605 { echo "$as_me:$LINENO: result: $result" >&5
9606 echo "${ECHO_T}$result" >&6; }
9610 defaultval=$wxUSE_ALL_FEATURES
9611 if test -z "$defaultval"; then
9612 if test x"$enablestring" = xdisable; then
9619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9620 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9621 # Check whether --enable-loggui was given.
9622 if test "${enable_loggui+set}" = set; then
9623 enableval=$enable_loggui;
9624 if test "$enableval" = yes; then
9625 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9627 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9633 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9634 if test "x$LINE" != x ; then
9635 eval "DEFAULT_$LINE"
9638 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9643 eval "$wx_cv_use_loggui"
9644 if test "x$cache" = xyes; then
9645 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9648 if test x"$enablestring" = xdisable; then
9649 if test $wxUSE_LOGGUI = yes; then
9655 result=$wxUSE_LOGGUI
9658 { echo "$as_me:$LINENO: result: $result" >&5
9659 echo "${ECHO_T}$result" >&6; }
9663 defaultval=$wxUSE_ALL_FEATURES
9664 if test -z "$defaultval"; then
9665 if test x"$enablestring" = xdisable; then
9672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9673 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9674 # Check whether --enable-logwin was given.
9675 if test "${enable_logwin+set}" = set; then
9676 enableval=$enable_logwin;
9677 if test "$enableval" = yes; then
9678 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9680 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9686 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9687 if test "x$LINE" != x ; then
9688 eval "DEFAULT_$LINE"
9691 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9696 eval "$wx_cv_use_logwin"
9697 if test "x$cache" = xyes; then
9698 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9701 if test x"$enablestring" = xdisable; then
9702 if test $wxUSE_LOGWINDOW = yes; then
9708 result=$wxUSE_LOGWINDOW
9711 { echo "$as_me:$LINENO: result: $result" >&5
9712 echo "${ECHO_T}$result" >&6; }
9716 defaultval=$wxUSE_ALL_FEATURES
9717 if test -z "$defaultval"; then
9718 if test x"$enablestring" = xdisable; then
9725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9726 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9727 # Check whether --enable-logdialog was given.
9728 if test "${enable_logdialog+set}" = set; then
9729 enableval=$enable_logdialog;
9730 if test "$enableval" = yes; then
9731 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9733 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9739 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x ; then
9741 eval "DEFAULT_$LINE"
9744 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9749 eval "$wx_cv_use_logdialog"
9750 if test "x$cache" = xyes; then
9751 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9754 if test x"$enablestring" = xdisable; then
9755 if test $wxUSE_LOGDIALOG = yes; then
9761 result=$wxUSE_LOGDIALOG
9764 { echo "$as_me:$LINENO: result: $result" >&5
9765 echo "${ECHO_T}$result" >&6; }
9769 defaultval=$wxUSE_ALL_FEATURES
9770 if test -z "$defaultval"; then
9771 if test x"$enablestring" = xdisable; then
9778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9780 # Check whether --enable-webkit was given.
9781 if test "${enable_webkit+set}" = set; then
9782 enableval=$enable_webkit;
9783 if test "$enableval" = yes; then
9784 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9786 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9792 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9793 if test "x$LINE" != x ; then
9794 eval "DEFAULT_$LINE"
9797 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9802 eval "$wx_cv_use_webkit"
9803 if test "x$cache" = xyes; then
9804 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9807 if test x"$enablestring" = xdisable; then
9808 if test $wxUSE_WEBKIT = yes; then
9814 result=$wxUSE_WEBKIT
9817 { echo "$as_me:$LINENO: result: $result" >&5
9818 echo "${ECHO_T}$result" >&6; }
9822 defaultval=$wxUSE_ALL_FEATURES
9823 if test -z "$defaultval"; then
9824 if test x"$enablestring" = xdisable; then
9831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9832 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9833 # Check whether --enable-richtext was given.
9834 if test "${enable_richtext+set}" = set; then
9835 enableval=$enable_richtext;
9836 if test "$enableval" = yes; then
9837 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9839 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9845 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9846 if test "x$LINE" != x ; then
9847 eval "DEFAULT_$LINE"
9850 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9855 eval "$wx_cv_use_richtext"
9856 if test "x$cache" = xyes; then
9857 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9860 if test x"$enablestring" = xdisable; then
9861 if test $wxUSE_RICHTEXT = yes; then
9867 result=$wxUSE_RICHTEXT
9870 { echo "$as_me:$LINENO: result: $result" >&5
9871 echo "${ECHO_T}$result" >&6; }
9875 defaultval=$wxUSE_ALL_FEATURES
9876 if test -z "$defaultval"; then
9877 if test x"$enablestring" = xdisable; then
9884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9886 # Check whether --enable-graphics_ctx was given.
9887 if test "${enable_graphics_ctx+set}" = set; then
9888 enableval=$enable_graphics_ctx;
9889 if test "$enableval" = yes; then
9890 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9892 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9898 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9899 if test "x$LINE" != x ; then
9900 eval "DEFAULT_$LINE"
9903 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9908 eval "$wx_cv_use_graphics_ctx"
9909 if test "x$cache" = xyes; then
9910 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
9913 if test x"$enablestring" = xdisable; then
9914 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9920 result=$wxUSE_GRAPHICS_CONTEXT
9923 { echo "$as_me:$LINENO: result: $result" >&5
9924 echo "${ECHO_T}$result" >&6; }
9928 defaultval=$wxUSE_ALL_FEATURES
9929 if test -z "$defaultval"; then
9930 if test x"$enablestring" = xdisable; then
9937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9939 # Check whether --enable-postscript was given.
9940 if test "${enable_postscript+set}" = set; then
9941 enableval=$enable_postscript;
9942 if test "$enableval" = yes; then
9943 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9945 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9951 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9952 if test "x$LINE" != x ; then
9953 eval "DEFAULT_$LINE"
9956 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9961 eval "$wx_cv_use_postscript"
9962 if test "x$cache" = xyes; then
9963 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
9966 if test x"$enablestring" = xdisable; then
9967 if test $wxUSE_POSTSCRIPT = yes; then
9973 result=$wxUSE_POSTSCRIPT
9976 { echo "$as_me:$LINENO: result: $result" >&5
9977 echo "${ECHO_T}$result" >&6; }
9981 defaultval=$wxUSE_ALL_FEATURES
9982 if test -z "$defaultval"; then
9983 if test x"$enablestring" = xdisable; then
9990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9991 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9992 # Check whether --enable-svg was given.
9993 if test "${enable_svg+set}" = set; then
9994 enableval=$enable_svg;
9995 if test "$enableval" = yes; then
9996 wx_cv_use_svg='wxUSE_SVG=yes'
9998 wx_cv_use_svg='wxUSE_SVG=no'
10004 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x ; then
10006 eval "DEFAULT_$LINE"
10009 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10014 eval "$wx_cv_use_svg"
10015 if test "x$cache" = xyes; then
10016 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10019 if test x"$enablestring" = xdisable; then
10020 if test $wxUSE_SVG = yes; then
10029 { echo "$as_me:$LINENO: result: $result" >&5
10030 echo "${ECHO_T}$result" >&6; }
10036 defaultval=$wxUSE_ALL_FEATURES
10037 if test -z "$defaultval"; then
10038 if test x"$enablestring" = xdisable; then
10045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10046 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10047 # Check whether --enable-clipboard was given.
10048 if test "${enable_clipboard+set}" = set; then
10049 enableval=$enable_clipboard;
10050 if test "$enableval" = yes; then
10051 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10053 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10059 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10060 if test "x$LINE" != x ; then
10061 eval "DEFAULT_$LINE"
10064 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10069 eval "$wx_cv_use_clipboard"
10070 if test "x$cache" = xyes; then
10071 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10074 if test x"$enablestring" = xdisable; then
10075 if test $wxUSE_CLIPBOARD = yes; then
10081 result=$wxUSE_CLIPBOARD
10084 { echo "$as_me:$LINENO: result: $result" >&5
10085 echo "${ECHO_T}$result" >&6; }
10089 defaultval=$wxUSE_ALL_FEATURES
10090 if test -z "$defaultval"; then
10091 if test x"$enablestring" = xdisable; then
10098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10099 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10100 # Check whether --enable-dnd was given.
10101 if test "${enable_dnd+set}" = set; then
10102 enableval=$enable_dnd;
10103 if test "$enableval" = yes; then
10104 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10106 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10112 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10113 if test "x$LINE" != x ; then
10114 eval "DEFAULT_$LINE"
10117 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10122 eval "$wx_cv_use_dnd"
10123 if test "x$cache" = xyes; then
10124 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10127 if test x"$enablestring" = xdisable; then
10128 if test $wxUSE_DRAG_AND_DROP = yes; then
10134 result=$wxUSE_DRAG_AND_DROP
10137 { echo "$as_me:$LINENO: result: $result" >&5
10138 echo "${ECHO_T}$result" >&6; }
10142 defaultval=$wxUSE_ALL_FEATURES
10143 if test -z "$defaultval"; then
10144 if test x"$enablestring" = xdisable; then
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10153 # Check whether --enable-metafile was given.
10154 if test "${enable_metafile+set}" = set; then
10155 enableval=$enable_metafile;
10156 if test "$enableval" = yes; then
10157 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10159 wx_cv_use_metafile='wxUSE_METAFILE=no'
10165 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x ; then
10167 eval "DEFAULT_$LINE"
10170 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10175 eval "$wx_cv_use_metafile"
10176 if test "x$cache" = xyes; then
10177 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10180 if test x"$enablestring" = xdisable; then
10181 if test $wxUSE_METAFILE = yes; then
10187 result=$wxUSE_METAFILE
10190 { echo "$as_me:$LINENO: result: $result" >&5
10191 echo "${ECHO_T}$result" >&6; }
10195 DEFAULT_wxUSE_CONTROLS=none
10197 enablestring=disable
10199 if test -z "$defaultval"; then
10200 if test x"$enablestring" = xdisable; then
10207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10208 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10209 # Check whether --enable-controls was given.
10210 if test "${enable_controls+set}" = set; then
10211 enableval=$enable_controls;
10212 if test "$enableval" = yes; then
10213 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10215 wx_cv_use_controls='wxUSE_CONTROLS=no'
10221 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10222 if test "x$LINE" != x ; then
10223 eval "DEFAULT_$LINE"
10226 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10231 eval "$wx_cv_use_controls"
10232 if test "x$cache" = xyes; then
10233 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10236 if test x"$enablestring" = xdisable; then
10237 if test $wxUSE_CONTROLS = yes; then
10243 result=$wxUSE_CONTROLS
10246 { echo "$as_me:$LINENO: result: $result" >&5
10247 echo "${ECHO_T}$result" >&6; }
10250 if test "$wxUSE_CONTROLS" = "yes"; then
10251 DEFAULT_wxUSE_ACCEL=yes
10252 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10253 DEFAULT_wxUSE_BMPBUTTON=yes
10254 DEFAULT_wxUSE_BUTTON=yes
10255 DEFAULT_wxUSE_CALCTRL=yes
10256 DEFAULT_wxUSE_CARET=yes
10257 DEFAULT_wxUSE_COMBOBOX=yes
10258 DEFAULT_wxUSE_CHECKBOX=yes
10259 DEFAULT_wxUSE_CHECKLISTBOX=yes
10260 DEFAULT_wxUSE_CHOICE=yes
10261 DEFAULT_wxUSE_CHOICEBOOK=yes
10262 DEFAULT_wxUSE_COLLPANE=yes
10263 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10264 DEFAULT_wxUSE_COMBOBOX=yes
10265 DEFAULT_wxUSE_DATEPICKCTRL=yes
10266 DEFAULT_wxUSE_DISPLAY=yes
10267 DEFAULT_wxUSE_DETECT_SM=yes
10268 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10269 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10270 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10271 DEFAULT_wxUSE_GAUGE=yes
10272 DEFAULT_wxUSE_GRID=yes
10273 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10274 DEFAULT_wxUSE_DATAVIEWCTRL=no
10275 DEFAULT_wxUSE_IMAGLIST=yes
10276 DEFAULT_wxUSE_LISTBOOK=yes
10277 DEFAULT_wxUSE_LISTBOX=yes
10278 DEFAULT_wxUSE_LISTCTRL=yes
10279 DEFAULT_wxUSE_NOTEBOOK=yes
10280 DEFAULT_wxUSE_RADIOBOX=yes
10281 DEFAULT_wxUSE_RADIOBTN=yes
10282 DEFAULT_wxUSE_SASH=yes
10283 DEFAULT_wxUSE_SCROLLBAR=yes
10284 DEFAULT_wxUSE_SEARCHCTRL=yes
10285 DEFAULT_wxUSE_SLIDER=yes
10286 DEFAULT_wxUSE_SPINBTN=yes
10287 DEFAULT_wxUSE_SPINCTRL=yes
10288 DEFAULT_wxUSE_SPLITTER=yes
10289 DEFAULT_wxUSE_STATBMP=yes
10290 DEFAULT_wxUSE_STATBOX=yes
10291 DEFAULT_wxUSE_STATLINE=yes
10292 DEFAULT_wxUSE_STATUSBAR=yes
10293 DEFAULT_wxUSE_TAB_DIALOG=yes
10294 DEFAULT_wxUSE_TOGGLEBTN=yes
10295 DEFAULT_wxUSE_TOOLBAR=yes
10296 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10297 DEFAULT_wxUSE_TOOLTIPS=yes
10298 DEFAULT_wxUSE_TREEBOOK=yes
10299 DEFAULT_wxUSE_TOOLBOOK=yes
10300 DEFAULT_wxUSE_TREECTRL=yes
10301 DEFAULT_wxUSE_POPUPWIN=yes
10302 DEFAULT_wxUSE_TIPWINDOW=yes
10303 elif test "$wxUSE_CONTROLS" = "no"; then
10304 DEFAULT_wxUSE_ACCEL=no
10305 DEFAULT_wxUSE_ANIMATIONCTRL=no
10306 DEFAULT_wxUSE_BMPBUTTON=no
10307 DEFAULT_wxUSE_BUTTON=no
10308 DEFAULT_wxUSE_CALCTRL=no
10309 DEFAULT_wxUSE_CARET=no
10310 DEFAULT_wxUSE_COLLPANE=no
10311 DEFAULT_wxUSE_COMBOBOX=no
10312 DEFAULT_wxUSE_CHECKBOX=no
10313 DEFAULT_wxUSE_CHECKLISTBOX=no
10314 DEFAULT_wxUSE_CHOICE=no
10315 DEFAULT_wxUSE_CHOICEBOOK=no
10316 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10317 DEFAULT_wxUSE_COMBOBOX=no
10318 DEFAULT_wxUSE_DATEPICKCTRL=no
10319 DEFAULT_wxUSE_DISPLAY=no
10320 DEFAULT_wxUSE_DETECT_SM=no
10321 DEFAULT_wxUSE_DIRPICKERCTRL=no
10322 DEFAULT_wxUSE_FILEPICKERCTRL=no
10323 DEFAULT_wxUSE_FONTPICKERCTRL=no
10324 DEFAULT_wxUSE_GAUGE=no
10325 DEFAULT_wxUSE_GRID=no
10326 DEFAULT_wxUSE_HYPERLINKCTRL=no
10327 DEFAULT_wxUSE_DATAVIEWCTRL=no
10328 DEFAULT_wxUSE_IMAGLIST=no
10329 DEFAULT_wxUSE_LISTBOOK=no
10330 DEFAULT_wxUSE_LISTBOX=no
10331 DEFAULT_wxUSE_LISTCTRL=no
10332 DEFAULT_wxUSE_NOTEBOOK=no
10333 DEFAULT_wxUSE_RADIOBOX=no
10334 DEFAULT_wxUSE_RADIOBTN=no
10335 DEFAULT_wxUSE_SASH=no
10336 DEFAULT_wxUSE_SCROLLBAR=no
10337 DEFAULT_wxUSE_SEARCHCTRL=no
10338 DEFAULT_wxUSE_SLIDER=no
10339 DEFAULT_wxUSE_SPINBTN=no
10340 DEFAULT_wxUSE_SPINCTRL=no
10341 DEFAULT_wxUSE_SPLITTER=no
10342 DEFAULT_wxUSE_STATBMP=no
10343 DEFAULT_wxUSE_STATBOX=no
10344 DEFAULT_wxUSE_STATLINE=no
10345 DEFAULT_wxUSE_STATUSBAR=no
10346 DEFAULT_wxUSE_TAB_DIALOG=no
10347 DEFAULT_wxUSE_TOGGLEBTN=no
10348 DEFAULT_wxUSE_TOOLBAR=no
10349 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10350 DEFAULT_wxUSE_TOOLTIPS=no
10351 DEFAULT_wxUSE_TREEBOOK=no
10352 DEFAULT_wxUSE_TOOLBOOK=no
10353 DEFAULT_wxUSE_TREECTRL=no
10354 DEFAULT_wxUSE_POPUPWIN=no
10355 DEFAULT_wxUSE_TIPWINDOW=no
10360 defaultval=$wxUSE_ALL_FEATURES
10361 if test -z "$defaultval"; then
10362 if test x"$enablestring" = xdisable; then
10369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10371 # Check whether --enable-accel was given.
10372 if test "${enable_accel+set}" = set; then
10373 enableval=$enable_accel;
10374 if test "$enableval" = yes; then
10375 wx_cv_use_accel='wxUSE_ACCEL=yes'
10377 wx_cv_use_accel='wxUSE_ACCEL=no'
10383 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10384 if test "x$LINE" != x ; then
10385 eval "DEFAULT_$LINE"
10388 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10393 eval "$wx_cv_use_accel"
10394 if test "x$cache" = xyes; then
10395 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10398 if test x"$enablestring" = xdisable; then
10399 if test $wxUSE_ACCEL = yes; then
10405 result=$wxUSE_ACCEL
10408 { echo "$as_me:$LINENO: result: $result" >&5
10409 echo "${ECHO_T}$result" >&6; }
10413 defaultval=$wxUSE_ALL_FEATURES
10414 if test -z "$defaultval"; then
10415 if test x"$enablestring" = xdisable; then
10422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10423 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10424 # Check whether --enable-animatectrl was given.
10425 if test "${enable_animatectrl+set}" = set; then
10426 enableval=$enable_animatectrl;
10427 if test "$enableval" = yes; then
10428 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10430 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10436 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10437 if test "x$LINE" != x ; then
10438 eval "DEFAULT_$LINE"
10441 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10446 eval "$wx_cv_use_animatectrl"
10447 if test "x$cache" = xyes; then
10448 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10451 if test x"$enablestring" = xdisable; then
10452 if test $wxUSE_ANIMATIONCTRL = yes; then
10458 result=$wxUSE_ANIMATIONCTRL
10461 { echo "$as_me:$LINENO: result: $result" >&5
10462 echo "${ECHO_T}$result" >&6; }
10466 defaultval=$wxUSE_ALL_FEATURES
10467 if test -z "$defaultval"; then
10468 if test x"$enablestring" = xdisable; then
10475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10476 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10477 # Check whether --enable-button was given.
10478 if test "${enable_button+set}" = set; then
10479 enableval=$enable_button;
10480 if test "$enableval" = yes; then
10481 wx_cv_use_button='wxUSE_BUTTON=yes'
10483 wx_cv_use_button='wxUSE_BUTTON=no'
10489 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10490 if test "x$LINE" != x ; then
10491 eval "DEFAULT_$LINE"
10494 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10499 eval "$wx_cv_use_button"
10500 if test "x$cache" = xyes; then
10501 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10504 if test x"$enablestring" = xdisable; then
10505 if test $wxUSE_BUTTON = yes; then
10511 result=$wxUSE_BUTTON
10514 { echo "$as_me:$LINENO: result: $result" >&5
10515 echo "${ECHO_T}$result" >&6; }
10519 defaultval=$wxUSE_ALL_FEATURES
10520 if test -z "$defaultval"; then
10521 if test x"$enablestring" = xdisable; then
10528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10529 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10530 # Check whether --enable-bmpbutton was given.
10531 if test "${enable_bmpbutton+set}" = set; then
10532 enableval=$enable_bmpbutton;
10533 if test "$enableval" = yes; then
10534 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10536 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10542 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10543 if test "x$LINE" != x ; then
10544 eval "DEFAULT_$LINE"
10547 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10552 eval "$wx_cv_use_bmpbutton"
10553 if test "x$cache" = xyes; then
10554 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10557 if test x"$enablestring" = xdisable; then
10558 if test $wxUSE_BMPBUTTON = yes; then
10564 result=$wxUSE_BMPBUTTON
10567 { echo "$as_me:$LINENO: result: $result" >&5
10568 echo "${ECHO_T}$result" >&6; }
10572 defaultval=$wxUSE_ALL_FEATURES
10573 if test -z "$defaultval"; then
10574 if test x"$enablestring" = xdisable; then
10581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10582 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10583 # Check whether --enable-bmpcombobox was given.
10584 if test "${enable_bmpcombobox+set}" = set; then
10585 enableval=$enable_bmpcombobox;
10586 if test "$enableval" = yes; then
10587 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10589 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10595 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10596 if test "x$LINE" != x ; then
10597 eval "DEFAULT_$LINE"
10600 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10605 eval "$wx_cv_use_bmpcombobox"
10606 if test "x$cache" = xyes; then
10607 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10610 if test x"$enablestring" = xdisable; then
10611 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10617 result=$wxUSE_BITMAPCOMBOBOX
10620 { echo "$as_me:$LINENO: result: $result" >&5
10621 echo "${ECHO_T}$result" >&6; }
10625 defaultval=$wxUSE_ALL_FEATURES
10626 if test -z "$defaultval"; then
10627 if test x"$enablestring" = xdisable; then
10634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10635 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10636 # Check whether --enable-calendar was given.
10637 if test "${enable_calendar+set}" = set; then
10638 enableval=$enable_calendar;
10639 if test "$enableval" = yes; then
10640 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10642 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10648 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10649 if test "x$LINE" != x ; then
10650 eval "DEFAULT_$LINE"
10653 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10658 eval "$wx_cv_use_calendar"
10659 if test "x$cache" = xyes; then
10660 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10663 if test x"$enablestring" = xdisable; then
10664 if test $wxUSE_CALCTRL = yes; then
10670 result=$wxUSE_CALCTRL
10673 { echo "$as_me:$LINENO: result: $result" >&5
10674 echo "${ECHO_T}$result" >&6; }
10678 defaultval=$wxUSE_ALL_FEATURES
10679 if test -z "$defaultval"; then
10680 if test x"$enablestring" = xdisable; then
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10689 # Check whether --enable-caret was given.
10690 if test "${enable_caret+set}" = set; then
10691 enableval=$enable_caret;
10692 if test "$enableval" = yes; then
10693 wx_cv_use_caret='wxUSE_CARET=yes'
10695 wx_cv_use_caret='wxUSE_CARET=no'
10701 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10702 if test "x$LINE" != x ; then
10703 eval "DEFAULT_$LINE"
10706 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10711 eval "$wx_cv_use_caret"
10712 if test "x$cache" = xyes; then
10713 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10716 if test x"$enablestring" = xdisable; then
10717 if test $wxUSE_CARET = yes; then
10723 result=$wxUSE_CARET
10726 { echo "$as_me:$LINENO: result: $result" >&5
10727 echo "${ECHO_T}$result" >&6; }
10731 defaultval=$wxUSE_ALL_FEATURES
10732 if test -z "$defaultval"; then
10733 if test x"$enablestring" = xdisable; then
10740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10741 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10742 # Check whether --enable-checkbox was given.
10743 if test "${enable_checkbox+set}" = set; then
10744 enableval=$enable_checkbox;
10745 if test "$enableval" = yes; then
10746 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10748 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10754 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10755 if test "x$LINE" != x ; then
10756 eval "DEFAULT_$LINE"
10759 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10764 eval "$wx_cv_use_checkbox"
10765 if test "x$cache" = xyes; then
10766 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10769 if test x"$enablestring" = xdisable; then
10770 if test $wxUSE_CHECKBOX = yes; then
10776 result=$wxUSE_CHECKBOX
10779 { echo "$as_me:$LINENO: result: $result" >&5
10780 echo "${ECHO_T}$result" >&6; }
10784 defaultval=$wxUSE_ALL_FEATURES
10785 if test -z "$defaultval"; then
10786 if test x"$enablestring" = xdisable; then
10793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10794 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10795 # Check whether --enable-checklst was given.
10796 if test "${enable_checklst+set}" = set; then
10797 enableval=$enable_checklst;
10798 if test "$enableval" = yes; then
10799 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10801 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10807 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10808 if test "x$LINE" != x ; then
10809 eval "DEFAULT_$LINE"
10812 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10817 eval "$wx_cv_use_checklst"
10818 if test "x$cache" = xyes; then
10819 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10822 if test x"$enablestring" = xdisable; then
10823 if test $wxUSE_CHECKLST = yes; then
10829 result=$wxUSE_CHECKLST
10832 { echo "$as_me:$LINENO: result: $result" >&5
10833 echo "${ECHO_T}$result" >&6; }
10837 defaultval=$wxUSE_ALL_FEATURES
10838 if test -z "$defaultval"; then
10839 if test x"$enablestring" = xdisable; then
10846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10847 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10848 # Check whether --enable-choice was given.
10849 if test "${enable_choice+set}" = set; then
10850 enableval=$enable_choice;
10851 if test "$enableval" = yes; then
10852 wx_cv_use_choice='wxUSE_CHOICE=yes'
10854 wx_cv_use_choice='wxUSE_CHOICE=no'
10860 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10861 if test "x$LINE" != x ; then
10862 eval "DEFAULT_$LINE"
10865 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10870 eval "$wx_cv_use_choice"
10871 if test "x$cache" = xyes; then
10872 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
10875 if test x"$enablestring" = xdisable; then
10876 if test $wxUSE_CHOICE = yes; then
10882 result=$wxUSE_CHOICE
10885 { echo "$as_me:$LINENO: result: $result" >&5
10886 echo "${ECHO_T}$result" >&6; }
10890 defaultval=$wxUSE_ALL_FEATURES
10891 if test -z "$defaultval"; then
10892 if test x"$enablestring" = xdisable; then
10899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10900 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10901 # Check whether --enable-choicebook was given.
10902 if test "${enable_choicebook+set}" = set; then
10903 enableval=$enable_choicebook;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10907 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10913 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10914 if test "x$LINE" != x ; then
10915 eval "DEFAULT_$LINE"
10918 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10923 eval "$wx_cv_use_choicebook"
10924 if test "x$cache" = xyes; then
10925 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_CHOICEBOOK = yes; then
10935 result=$wxUSE_CHOICEBOOK
10938 { echo "$as_me:$LINENO: result: $result" >&5
10939 echo "${ECHO_T}$result" >&6; }
10943 defaultval=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x"$enablestring" = xdisable; then
10952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10954 # Check whether --enable-collpane was given.
10955 if test "${enable_collpane+set}" = set; then
10956 enableval=$enable_collpane;
10957 if test "$enableval" = yes; then
10958 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10960 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10966 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10967 if test "x$LINE" != x ; then
10968 eval "DEFAULT_$LINE"
10971 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10976 eval "$wx_cv_use_collpane"
10977 if test "x$cache" = xyes; then
10978 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
10981 if test x"$enablestring" = xdisable; then
10982 if test $wxUSE_COLLPANE = yes; then
10988 result=$wxUSE_COLLPANE
10991 { echo "$as_me:$LINENO: result: $result" >&5
10992 echo "${ECHO_T}$result" >&6; }
10996 defaultval=$wxUSE_ALL_FEATURES
10997 if test -z "$defaultval"; then
10998 if test x"$enablestring" = xdisable; then
11005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11006 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11007 # Check whether --enable-colourpicker was given.
11008 if test "${enable_colourpicker+set}" = set; then
11009 enableval=$enable_colourpicker;
11010 if test "$enableval" = yes; then
11011 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11013 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11019 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11020 if test "x$LINE" != x ; then
11021 eval "DEFAULT_$LINE"
11024 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11029 eval "$wx_cv_use_colourpicker"
11030 if test "x$cache" = xyes; then
11031 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11034 if test x"$enablestring" = xdisable; then
11035 if test $wxUSE_COLOURPICKERCTRL = yes; then
11041 result=$wxUSE_COLOURPICKERCTRL
11044 { echo "$as_me:$LINENO: result: $result" >&5
11045 echo "${ECHO_T}$result" >&6; }
11049 defaultval=$wxUSE_ALL_FEATURES
11050 if test -z "$defaultval"; then
11051 if test x"$enablestring" = xdisable; then
11058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11059 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11060 # Check whether --enable-combobox was given.
11061 if test "${enable_combobox+set}" = set; then
11062 enableval=$enable_combobox;
11063 if test "$enableval" = yes; then
11064 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11066 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11072 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11073 if test "x$LINE" != x ; then
11074 eval "DEFAULT_$LINE"
11077 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11082 eval "$wx_cv_use_combobox"
11083 if test "x$cache" = xyes; then
11084 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11087 if test x"$enablestring" = xdisable; then
11088 if test $wxUSE_COMBOBOX = yes; then
11094 result=$wxUSE_COMBOBOX
11097 { echo "$as_me:$LINENO: result: $result" >&5
11098 echo "${ECHO_T}$result" >&6; }
11102 defaultval=$wxUSE_ALL_FEATURES
11103 if test -z "$defaultval"; then
11104 if test x"$enablestring" = xdisable; then
11111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11112 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11113 # Check whether --enable-comboctrl was given.
11114 if test "${enable_comboctrl+set}" = set; then
11115 enableval=$enable_comboctrl;
11116 if test "$enableval" = yes; then
11117 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11119 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11125 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11126 if test "x$LINE" != x ; then
11127 eval "DEFAULT_$LINE"
11130 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11135 eval "$wx_cv_use_comboctrl"
11136 if test "x$cache" = xyes; then
11137 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11140 if test x"$enablestring" = xdisable; then
11141 if test $wxUSE_COMBOCTRL = yes; then
11147 result=$wxUSE_COMBOCTRL
11150 { echo "$as_me:$LINENO: result: $result" >&5
11151 echo "${ECHO_T}$result" >&6; }
11155 defaultval=$wxUSE_ALL_FEATURES
11156 if test -z "$defaultval"; then
11157 if test x"$enablestring" = xdisable; then
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11166 # Check whether --enable-datepick was given.
11167 if test "${enable_datepick+set}" = set; then
11168 enableval=$enable_datepick;
11169 if test "$enableval" = yes; then
11170 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11172 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11178 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11179 if test "x$LINE" != x ; then
11180 eval "DEFAULT_$LINE"
11183 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11188 eval "$wx_cv_use_datepick"
11189 if test "x$cache" = xyes; then
11190 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11193 if test x"$enablestring" = xdisable; then
11194 if test $wxUSE_DATEPICKCTRL = yes; then
11200 result=$wxUSE_DATEPICKCTRL
11203 { echo "$as_me:$LINENO: result: $result" >&5
11204 echo "${ECHO_T}$result" >&6; }
11208 defaultval=$wxUSE_ALL_FEATURES
11209 if test -z "$defaultval"; then
11210 if test x"$enablestring" = xdisable; then
11217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11218 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11219 # Check whether --enable-dirpicker was given.
11220 if test "${enable_dirpicker+set}" = set; then
11221 enableval=$enable_dirpicker;
11222 if test "$enableval" = yes; then
11223 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11225 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11231 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11232 if test "x$LINE" != x ; then
11233 eval "DEFAULT_$LINE"
11236 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11241 eval "$wx_cv_use_dirpicker"
11242 if test "x$cache" = xyes; then
11243 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11246 if test x"$enablestring" = xdisable; then
11247 if test $wxUSE_DIRPICKERCTRL = yes; then
11253 result=$wxUSE_DIRPICKERCTRL
11256 { echo "$as_me:$LINENO: result: $result" >&5
11257 echo "${ECHO_T}$result" >&6; }
11261 defaultval=$wxUSE_ALL_FEATURES
11262 if test -z "$defaultval"; then
11263 if test x"$enablestring" = xdisable; then
11270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11271 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11272 # Check whether --enable-display was given.
11273 if test "${enable_display+set}" = set; then
11274 enableval=$enable_display;
11275 if test "$enableval" = yes; then
11276 wx_cv_use_display='wxUSE_DISPLAY=yes'
11278 wx_cv_use_display='wxUSE_DISPLAY=no'
11284 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11285 if test "x$LINE" != x ; then
11286 eval "DEFAULT_$LINE"
11289 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11294 eval "$wx_cv_use_display"
11295 if test "x$cache" = xyes; then
11296 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11299 if test x"$enablestring" = xdisable; then
11300 if test $wxUSE_DISPLAY = yes; then
11306 result=$wxUSE_DISPLAY
11309 { echo "$as_me:$LINENO: result: $result" >&5
11310 echo "${ECHO_T}$result" >&6; }
11314 defaultval=$wxUSE_ALL_FEATURES
11315 if test -z "$defaultval"; then
11316 if test x"$enablestring" = xdisable; then
11323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11324 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11325 # Check whether --enable-detect_sm was given.
11326 if test "${enable_detect_sm+set}" = set; then
11327 enableval=$enable_detect_sm;
11328 if test "$enableval" = yes; then
11329 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11331 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11337 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11338 if test "x$LINE" != x ; then
11339 eval "DEFAULT_$LINE"
11342 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11347 eval "$wx_cv_use_detect_sm"
11348 if test "x$cache" = xyes; then
11349 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11352 if test x"$enablestring" = xdisable; then
11353 if test $wxUSE_DETECT_SM = yes; then
11359 result=$wxUSE_DETECT_SM
11362 { echo "$as_me:$LINENO: result: $result" >&5
11363 echo "${ECHO_T}$result" >&6; }
11367 defaultval=$wxUSE_ALL_FEATURES
11368 if test -z "$defaultval"; then
11369 if test x"$enablestring" = xdisable; then
11376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11377 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11378 # Check whether --enable-editablebox was given.
11379 if test "${enable_editablebox+set}" = set; then
11380 enableval=$enable_editablebox;
11381 if test "$enableval" = yes; then
11382 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11384 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11390 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11391 if test "x$LINE" != x ; then
11392 eval "DEFAULT_$LINE"
11395 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11400 eval "$wx_cv_use_editablebox"
11401 if test "x$cache" = xyes; then
11402 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11405 if test x"$enablestring" = xdisable; then
11406 if test $wxUSE_EDITABLELISTBOX = yes; then
11412 result=$wxUSE_EDITABLELISTBOX
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}-filepicker" >&5
11430 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11431 # Check whether --enable-filepicker was given.
11432 if test "${enable_filepicker+set}" = set; then
11433 enableval=$enable_filepicker;
11434 if test "$enableval" = yes; then
11435 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11437 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11443 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11444 if test "x$LINE" != x ; then
11445 eval "DEFAULT_$LINE"
11448 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11453 eval "$wx_cv_use_filepicker"
11454 if test "x$cache" = xyes; then
11455 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11458 if test x"$enablestring" = xdisable; then
11459 if test $wxUSE_FILEPICKERCTRL = yes; then
11465 result=$wxUSE_FILEPICKERCTRL
11468 { echo "$as_me:$LINENO: result: $result" >&5
11469 echo "${ECHO_T}$result" >&6; }
11473 defaultval=$wxUSE_ALL_FEATURES
11474 if test -z "$defaultval"; then
11475 if test x"$enablestring" = xdisable; then
11482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11483 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11484 # Check whether --enable-fontpicker was given.
11485 if test "${enable_fontpicker+set}" = set; then
11486 enableval=$enable_fontpicker;
11487 if test "$enableval" = yes; then
11488 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11490 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11496 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11497 if test "x$LINE" != x ; then
11498 eval "DEFAULT_$LINE"
11501 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11506 eval "$wx_cv_use_fontpicker"
11507 if test "x$cache" = xyes; then
11508 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11511 if test x"$enablestring" = xdisable; then
11512 if test $wxUSE_FONTPICKERCTRL = yes; then
11518 result=$wxUSE_FONTPICKERCTRL
11521 { echo "$as_me:$LINENO: result: $result" >&5
11522 echo "${ECHO_T}$result" >&6; }
11526 defaultval=$wxUSE_ALL_FEATURES
11527 if test -z "$defaultval"; then
11528 if test x"$enablestring" = xdisable; then
11535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11536 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11537 # Check whether --enable-gauge was given.
11538 if test "${enable_gauge+set}" = set; then
11539 enableval=$enable_gauge;
11540 if test "$enableval" = yes; then
11541 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11543 wx_cv_use_gauge='wxUSE_GAUGE=no'
11549 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11550 if test "x$LINE" != x ; then
11551 eval "DEFAULT_$LINE"
11554 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11559 eval "$wx_cv_use_gauge"
11560 if test "x$cache" = xyes; then
11561 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11564 if test x"$enablestring" = xdisable; then
11565 if test $wxUSE_GAUGE = yes; then
11571 result=$wxUSE_GAUGE
11574 { echo "$as_me:$LINENO: result: $result" >&5
11575 echo "${ECHO_T}$result" >&6; }
11579 defaultval=$wxUSE_ALL_FEATURES
11580 if test -z "$defaultval"; then
11581 if test x"$enablestring" = xdisable; then
11588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11589 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11590 # Check whether --enable-grid was given.
11591 if test "${enable_grid+set}" = set; then
11592 enableval=$enable_grid;
11593 if test "$enableval" = yes; then
11594 wx_cv_use_grid='wxUSE_GRID=yes'
11596 wx_cv_use_grid='wxUSE_GRID=no'
11602 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11603 if test "x$LINE" != x ; then
11604 eval "DEFAULT_$LINE"
11607 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11612 eval "$wx_cv_use_grid"
11613 if test "x$cache" = xyes; then
11614 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11617 if test x"$enablestring" = xdisable; then
11618 if test $wxUSE_GRID = yes; then
11627 { echo "$as_me:$LINENO: result: $result" >&5
11628 echo "${ECHO_T}$result" >&6; }
11632 defaultval=$wxUSE_ALL_FEATURES
11633 if test -z "$defaultval"; then
11634 if test x"$enablestring" = xdisable; then
11641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11642 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11643 # Check whether --enable-dataviewctrl was given.
11644 if test "${enable_dataviewctrl+set}" = set; then
11645 enableval=$enable_dataviewctrl;
11646 if test "$enableval" = yes; then
11647 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11649 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11655 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11656 if test "x$LINE" != x ; then
11657 eval "DEFAULT_$LINE"
11660 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11665 eval "$wx_cv_use_dataviewctrl"
11666 if test "x$cache" = xyes; then
11667 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11670 if test x"$enablestring" = xdisable; then
11671 if test $wxUSE_DATAVIEWCTRL = yes; then
11677 result=$wxUSE_DATAVIEWCTRL
11680 { echo "$as_me:$LINENO: result: $result" >&5
11681 echo "${ECHO_T}$result" >&6; }
11685 defaultval=$wxUSE_ALL_FEATURES
11686 if test -z "$defaultval"; then
11687 if test x"$enablestring" = xdisable; then
11694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11695 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11696 # Check whether --enable-hyperlink was given.
11697 if test "${enable_hyperlink+set}" = set; then
11698 enableval=$enable_hyperlink;
11699 if test "$enableval" = yes; then
11700 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11702 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11708 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11709 if test "x$LINE" != x ; then
11710 eval "DEFAULT_$LINE"
11713 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11718 eval "$wx_cv_use_hyperlink"
11719 if test "x$cache" = xyes; then
11720 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11723 if test x"$enablestring" = xdisable; then
11724 if test $wxUSE_HYPERLINKCTRL = yes; then
11730 result=$wxUSE_HYPERLINKCTRL
11733 { echo "$as_me:$LINENO: result: $result" >&5
11734 echo "${ECHO_T}$result" >&6; }
11738 defaultval=$wxUSE_ALL_FEATURES
11739 if test -z "$defaultval"; then
11740 if test x"$enablestring" = xdisable; then
11747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11748 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11749 # Check whether --enable-imaglist was given.
11750 if test "${enable_imaglist+set}" = set; then
11751 enableval=$enable_imaglist;
11752 if test "$enableval" = yes; then
11753 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11755 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11761 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11762 if test "x$LINE" != x ; then
11763 eval "DEFAULT_$LINE"
11766 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11771 eval "$wx_cv_use_imaglist"
11772 if test "x$cache" = xyes; then
11773 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11776 if test x"$enablestring" = xdisable; then
11777 if test $wxUSE_IMAGLIST = yes; then
11783 result=$wxUSE_IMAGLIST
11786 { echo "$as_me:$LINENO: result: $result" >&5
11787 echo "${ECHO_T}$result" >&6; }
11791 defaultval=$wxUSE_ALL_FEATURES
11792 if test -z "$defaultval"; then
11793 if test x"$enablestring" = xdisable; then
11800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11801 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11802 # Check whether --enable-listbook was given.
11803 if test "${enable_listbook+set}" = set; then
11804 enableval=$enable_listbook;
11805 if test "$enableval" = yes; then
11806 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11808 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11814 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11815 if test "x$LINE" != x ; then
11816 eval "DEFAULT_$LINE"
11819 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11824 eval "$wx_cv_use_listbook"
11825 if test "x$cache" = xyes; then
11826 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11829 if test x"$enablestring" = xdisable; then
11830 if test $wxUSE_LISTBOOK = yes; then
11836 result=$wxUSE_LISTBOOK
11839 { echo "$as_me:$LINENO: result: $result" >&5
11840 echo "${ECHO_T}$result" >&6; }
11844 defaultval=$wxUSE_ALL_FEATURES
11845 if test -z "$defaultval"; then
11846 if test x"$enablestring" = xdisable; then
11853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11854 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11855 # Check whether --enable-listbox was given.
11856 if test "${enable_listbox+set}" = set; then
11857 enableval=$enable_listbox;
11858 if test "$enableval" = yes; then
11859 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11861 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11867 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11868 if test "x$LINE" != x ; then
11869 eval "DEFAULT_$LINE"
11872 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11877 eval "$wx_cv_use_listbox"
11878 if test "x$cache" = xyes; then
11879 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
11882 if test x"$enablestring" = xdisable; then
11883 if test $wxUSE_LISTBOX = yes; then
11889 result=$wxUSE_LISTBOX
11892 { echo "$as_me:$LINENO: result: $result" >&5
11893 echo "${ECHO_T}$result" >&6; }
11897 defaultval=$wxUSE_ALL_FEATURES
11898 if test -z "$defaultval"; then
11899 if test x"$enablestring" = xdisable; then
11906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11907 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11908 # Check whether --enable-listctrl was given.
11909 if test "${enable_listctrl+set}" = set; then
11910 enableval=$enable_listctrl;
11911 if test "$enableval" = yes; then
11912 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11914 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11920 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11921 if test "x$LINE" != x ; then
11922 eval "DEFAULT_$LINE"
11925 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11930 eval "$wx_cv_use_listctrl"
11931 if test "x$cache" = xyes; then
11932 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
11935 if test x"$enablestring" = xdisable; then
11936 if test $wxUSE_LISTCTRL = yes; then
11942 result=$wxUSE_LISTCTRL
11945 { echo "$as_me:$LINENO: result: $result" >&5
11946 echo "${ECHO_T}$result" >&6; }
11950 defaultval=$wxUSE_ALL_FEATURES
11951 if test -z "$defaultval"; then
11952 if test x"$enablestring" = xdisable; then
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11961 # Check whether --enable-notebook was given.
11962 if test "${enable_notebook+set}" = set; then
11963 enableval=$enable_notebook;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11967 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11973 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11974 if test "x$LINE" != x ; then
11975 eval "DEFAULT_$LINE"
11978 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11983 eval "$wx_cv_use_notebook"
11984 if test "x$cache" = xyes; then
11985 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
11988 if test x"$enablestring" = xdisable; then
11989 if test $wxUSE_NOTEBOOK = yes; then
11995 result=$wxUSE_NOTEBOOK
11998 { echo "$as_me:$LINENO: result: $result" >&5
11999 echo "${ECHO_T}$result" >&6; }
12003 defaultval=$wxUSE_ALL_FEATURES
12004 if test -z "$defaultval"; then
12005 if test x"$enablestring" = xdisable; then
12012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12013 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12014 # Check whether --enable-odcombobox was given.
12015 if test "${enable_odcombobox+set}" = set; then
12016 enableval=$enable_odcombobox;
12017 if test "$enableval" = yes; then
12018 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12020 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12026 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12027 if test "x$LINE" != x ; then
12028 eval "DEFAULT_$LINE"
12031 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12036 eval "$wx_cv_use_odcombobox"
12037 if test "x$cache" = xyes; then
12038 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12041 if test x"$enablestring" = xdisable; then
12042 if test $wxUSE_ODCOMBOBOX = yes; then
12048 result=$wxUSE_ODCOMBOBOX
12051 { echo "$as_me:$LINENO: result: $result" >&5
12052 echo "${ECHO_T}$result" >&6; }
12056 defaultval=$wxUSE_ALL_FEATURES
12057 if test -z "$defaultval"; then
12058 if test x"$enablestring" = xdisable; then
12065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12066 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12067 # Check whether --enable-radiobox was given.
12068 if test "${enable_radiobox+set}" = set; then
12069 enableval=$enable_radiobox;
12070 if test "$enableval" = yes; then
12071 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12073 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12079 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12080 if test "x$LINE" != x ; then
12081 eval "DEFAULT_$LINE"
12084 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12089 eval "$wx_cv_use_radiobox"
12090 if test "x$cache" = xyes; then
12091 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12094 if test x"$enablestring" = xdisable; then
12095 if test $wxUSE_RADIOBOX = yes; then
12101 result=$wxUSE_RADIOBOX
12104 { echo "$as_me:$LINENO: result: $result" >&5
12105 echo "${ECHO_T}$result" >&6; }
12109 defaultval=$wxUSE_ALL_FEATURES
12110 if test -z "$defaultval"; then
12111 if test x"$enablestring" = xdisable; then
12118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12119 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12120 # Check whether --enable-radiobtn was given.
12121 if test "${enable_radiobtn+set}" = set; then
12122 enableval=$enable_radiobtn;
12123 if test "$enableval" = yes; then
12124 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12126 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12132 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12133 if test "x$LINE" != x ; then
12134 eval "DEFAULT_$LINE"
12137 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12142 eval "$wx_cv_use_radiobtn"
12143 if test "x$cache" = xyes; then
12144 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12147 if test x"$enablestring" = xdisable; then
12148 if test $wxUSE_RADIOBTN = yes; then
12154 result=$wxUSE_RADIOBTN
12157 { echo "$as_me:$LINENO: result: $result" >&5
12158 echo "${ECHO_T}$result" >&6; }
12162 defaultval=$wxUSE_ALL_FEATURES
12163 if test -z "$defaultval"; then
12164 if test x"$enablestring" = xdisable; then
12171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12172 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12173 # Check whether --enable-sash was given.
12174 if test "${enable_sash+set}" = set; then
12175 enableval=$enable_sash;
12176 if test "$enableval" = yes; then
12177 wx_cv_use_sash='wxUSE_SASH=yes'
12179 wx_cv_use_sash='wxUSE_SASH=no'
12185 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12186 if test "x$LINE" != x ; then
12187 eval "DEFAULT_$LINE"
12190 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12195 eval "$wx_cv_use_sash"
12196 if test "x$cache" = xyes; then
12197 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12200 if test x"$enablestring" = xdisable; then
12201 if test $wxUSE_SASH = yes; then
12210 { echo "$as_me:$LINENO: result: $result" >&5
12211 echo "${ECHO_T}$result" >&6; }
12215 defaultval=$wxUSE_ALL_FEATURES
12216 if test -z "$defaultval"; then
12217 if test x"$enablestring" = xdisable; then
12224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12225 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12226 # Check whether --enable-scrollbar was given.
12227 if test "${enable_scrollbar+set}" = set; then
12228 enableval=$enable_scrollbar;
12229 if test "$enableval" = yes; then
12230 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12232 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12238 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12239 if test "x$LINE" != x ; then
12240 eval "DEFAULT_$LINE"
12243 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12248 eval "$wx_cv_use_scrollbar"
12249 if test "x$cache" = xyes; then
12250 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12253 if test x"$enablestring" = xdisable; then
12254 if test $wxUSE_SCROLLBAR = yes; then
12260 result=$wxUSE_SCROLLBAR
12263 { echo "$as_me:$LINENO: result: $result" >&5
12264 echo "${ECHO_T}$result" >&6; }
12268 defaultval=$wxUSE_ALL_FEATURES
12269 if test -z "$defaultval"; then
12270 if test x"$enablestring" = xdisable; then
12277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12278 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12279 # Check whether --enable-searchctrl was given.
12280 if test "${enable_searchctrl+set}" = set; then
12281 enableval=$enable_searchctrl;
12282 if test "$enableval" = yes; then
12283 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12285 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12291 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12292 if test "x$LINE" != x ; then
12293 eval "DEFAULT_$LINE"
12296 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12301 eval "$wx_cv_use_searchctrl"
12302 if test "x$cache" = xyes; then
12303 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12306 if test x"$enablestring" = xdisable; then
12307 if test $wxUSE_SEARCHCTRL = yes; then
12313 result=$wxUSE_SEARCHCTRL
12316 { echo "$as_me:$LINENO: result: $result" >&5
12317 echo "${ECHO_T}$result" >&6; }
12321 defaultval=$wxUSE_ALL_FEATURES
12322 if test -z "$defaultval"; then
12323 if test x"$enablestring" = xdisable; then
12330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12331 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12332 # Check whether --enable-slider was given.
12333 if test "${enable_slider+set}" = set; then
12334 enableval=$enable_slider;
12335 if test "$enableval" = yes; then
12336 wx_cv_use_slider='wxUSE_SLIDER=yes'
12338 wx_cv_use_slider='wxUSE_SLIDER=no'
12344 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12345 if test "x$LINE" != x ; then
12346 eval "DEFAULT_$LINE"
12349 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12354 eval "$wx_cv_use_slider"
12355 if test "x$cache" = xyes; then
12356 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12359 if test x"$enablestring" = xdisable; then
12360 if test $wxUSE_SLIDER = yes; then
12366 result=$wxUSE_SLIDER
12369 { echo "$as_me:$LINENO: result: $result" >&5
12370 echo "${ECHO_T}$result" >&6; }
12374 defaultval=$wxUSE_ALL_FEATURES
12375 if test -z "$defaultval"; then
12376 if test x"$enablestring" = xdisable; then
12383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12384 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12385 # Check whether --enable-spinbtn was given.
12386 if test "${enable_spinbtn+set}" = set; then
12387 enableval=$enable_spinbtn;
12388 if test "$enableval" = yes; then
12389 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12391 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12397 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12398 if test "x$LINE" != x ; then
12399 eval "DEFAULT_$LINE"
12402 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12407 eval "$wx_cv_use_spinbtn"
12408 if test "x$cache" = xyes; then
12409 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12412 if test x"$enablestring" = xdisable; then
12413 if test $wxUSE_SPINBTN = yes; then
12419 result=$wxUSE_SPINBTN
12422 { echo "$as_me:$LINENO: result: $result" >&5
12423 echo "${ECHO_T}$result" >&6; }
12427 defaultval=$wxUSE_ALL_FEATURES
12428 if test -z "$defaultval"; then
12429 if test x"$enablestring" = xdisable; then
12436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12437 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12438 # Check whether --enable-spinctrl was given.
12439 if test "${enable_spinctrl+set}" = set; then
12440 enableval=$enable_spinctrl;
12441 if test "$enableval" = yes; then
12442 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12444 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12450 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12451 if test "x$LINE" != x ; then
12452 eval "DEFAULT_$LINE"
12455 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12460 eval "$wx_cv_use_spinctrl"
12461 if test "x$cache" = xyes; then
12462 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_SPINCTRL = yes; then
12472 result=$wxUSE_SPINCTRL
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12491 # Check whether --enable-splitter was given.
12492 if test "${enable_splitter+set}" = set; then
12493 enableval=$enable_splitter;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12497 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12503 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12504 if test "x$LINE" != x ; then
12505 eval "DEFAULT_$LINE"
12508 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12513 eval "$wx_cv_use_splitter"
12514 if test "x$cache" = xyes; then
12515 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12518 if test x"$enablestring" = xdisable; then
12519 if test $wxUSE_SPLITTER = yes; then
12525 result=$wxUSE_SPLITTER
12528 { echo "$as_me:$LINENO: result: $result" >&5
12529 echo "${ECHO_T}$result" >&6; }
12533 defaultval=$wxUSE_ALL_FEATURES
12534 if test -z "$defaultval"; then
12535 if test x"$enablestring" = xdisable; then
12542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12543 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12544 # Check whether --enable-statbmp was given.
12545 if test "${enable_statbmp+set}" = set; then
12546 enableval=$enable_statbmp;
12547 if test "$enableval" = yes; then
12548 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12550 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12556 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12557 if test "x$LINE" != x ; then
12558 eval "DEFAULT_$LINE"
12561 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12566 eval "$wx_cv_use_statbmp"
12567 if test "x$cache" = xyes; then
12568 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12571 if test x"$enablestring" = xdisable; then
12572 if test $wxUSE_STATBMP = yes; then
12578 result=$wxUSE_STATBMP
12581 { echo "$as_me:$LINENO: result: $result" >&5
12582 echo "${ECHO_T}$result" >&6; }
12586 defaultval=$wxUSE_ALL_FEATURES
12587 if test -z "$defaultval"; then
12588 if test x"$enablestring" = xdisable; then
12595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12596 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12597 # Check whether --enable-statbox was given.
12598 if test "${enable_statbox+set}" = set; then
12599 enableval=$enable_statbox;
12600 if test "$enableval" = yes; then
12601 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12603 wx_cv_use_statbox='wxUSE_STATBOX=no'
12609 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12610 if test "x$LINE" != x ; then
12611 eval "DEFAULT_$LINE"
12614 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12619 eval "$wx_cv_use_statbox"
12620 if test "x$cache" = xyes; then
12621 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12624 if test x"$enablestring" = xdisable; then
12625 if test $wxUSE_STATBOX = yes; then
12631 result=$wxUSE_STATBOX
12634 { echo "$as_me:$LINENO: result: $result" >&5
12635 echo "${ECHO_T}$result" >&6; }
12639 defaultval=$wxUSE_ALL_FEATURES
12640 if test -z "$defaultval"; then
12641 if test x"$enablestring" = xdisable; then
12648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12649 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12650 # Check whether --enable-statline was given.
12651 if test "${enable_statline+set}" = set; then
12652 enableval=$enable_statline;
12653 if test "$enableval" = yes; then
12654 wx_cv_use_statline='wxUSE_STATLINE=yes'
12656 wx_cv_use_statline='wxUSE_STATLINE=no'
12662 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12663 if test "x$LINE" != x ; then
12664 eval "DEFAULT_$LINE"
12667 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12672 eval "$wx_cv_use_statline"
12673 if test "x$cache" = xyes; then
12674 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12677 if test x"$enablestring" = xdisable; then
12678 if test $wxUSE_STATLINE = yes; then
12684 result=$wxUSE_STATLINE
12687 { echo "$as_me:$LINENO: result: $result" >&5
12688 echo "${ECHO_T}$result" >&6; }
12692 defaultval=$wxUSE_ALL_FEATURES
12693 if test -z "$defaultval"; then
12694 if test x"$enablestring" = xdisable; then
12701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12702 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12703 # Check whether --enable-stattext was given.
12704 if test "${enable_stattext+set}" = set; then
12705 enableval=$enable_stattext;
12706 if test "$enableval" = yes; then
12707 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12709 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12715 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12716 if test "x$LINE" != x ; then
12717 eval "DEFAULT_$LINE"
12720 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12725 eval "$wx_cv_use_stattext"
12726 if test "x$cache" = xyes; then
12727 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12730 if test x"$enablestring" = xdisable; then
12731 if test $wxUSE_STATTEXT = yes; then
12737 result=$wxUSE_STATTEXT
12740 { echo "$as_me:$LINENO: result: $result" >&5
12741 echo "${ECHO_T}$result" >&6; }
12745 defaultval=$wxUSE_ALL_FEATURES
12746 if test -z "$defaultval"; then
12747 if test x"$enablestring" = xdisable; then
12754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12756 # Check whether --enable-statusbar was given.
12757 if test "${enable_statusbar+set}" = set; then
12758 enableval=$enable_statusbar;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12762 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12768 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12769 if test "x$LINE" != x ; then
12770 eval "DEFAULT_$LINE"
12773 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12778 eval "$wx_cv_use_statusbar"
12779 if test "x$cache" = xyes; then
12780 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12783 if test x"$enablestring" = xdisable; then
12784 if test $wxUSE_STATUSBAR = yes; then
12790 result=$wxUSE_STATUSBAR
12793 { echo "$as_me:$LINENO: result: $result" >&5
12794 echo "${ECHO_T}$result" >&6; }
12798 defaultval=$wxUSE_ALL_FEATURES
12799 if test -z "$defaultval"; then
12800 if test x"$enablestring" = xdisable; then
12807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12808 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12809 # Check whether --enable-tabdialog was given.
12810 if test "${enable_tabdialog+set}" = set; then
12811 enableval=$enable_tabdialog;
12812 if test "$enableval" = yes; then
12813 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12815 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12821 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12822 if test "x$LINE" != x ; then
12823 eval "DEFAULT_$LINE"
12826 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12831 eval "$wx_cv_use_tabdialog"
12832 if test "x$cache" = xyes; then
12833 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
12836 if test x"$enablestring" = xdisable; then
12837 if test $wxUSE_TAB_DIALOG = yes; then
12843 result=$wxUSE_TAB_DIALOG
12846 { echo "$as_me:$LINENO: result: $result" >&5
12847 echo "${ECHO_T}$result" >&6; }
12851 defaultval=$wxUSE_ALL_FEATURES
12852 if test -z "$defaultval"; then
12853 if test x"$enablestring" = xdisable; then
12860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12861 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12862 # Check whether --enable-taskbaricon was given.
12863 if test "${enable_taskbaricon+set}" = set; then
12864 enableval=$enable_taskbaricon;
12865 if test "$enableval" = yes; then
12866 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12868 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12874 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
12875 if test "x$LINE" != x ; then
12876 eval "DEFAULT_$LINE"
12879 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12884 eval "$wx_cv_use_taskbaricon"
12885 if test "x$cache" = xyes; then
12886 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
12889 if test x"$enablestring" = xdisable; then
12890 if test $wxUSE_TASKBARICON = yes; then
12896 result=$wxUSE_TASKBARICON
12899 { echo "$as_me:$LINENO: result: $result" >&5
12900 echo "${ECHO_T}$result" >&6; }
12904 defaultval=$wxUSE_ALL_FEATURES
12905 if test -z "$defaultval"; then
12906 if test x"$enablestring" = xdisable; then
12913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12914 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12915 # Check whether --enable-textctrl was given.
12916 if test "${enable_textctrl+set}" = set; then
12917 enableval=$enable_textctrl;
12918 if test "$enableval" = yes; then
12919 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12921 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12927 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12928 if test "x$LINE" != x ; then
12929 eval "DEFAULT_$LINE"
12932 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12937 eval "$wx_cv_use_textctrl"
12938 if test "x$cache" = xyes; then
12939 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
12942 if test x"$enablestring" = xdisable; then
12943 if test $wxUSE_TEXTCTRL = yes; then
12949 result=$wxUSE_TEXTCTRL
12952 { echo "$as_me:$LINENO: result: $result" >&5
12953 echo "${ECHO_T}$result" >&6; }
12957 defaultval=$wxUSE_ALL_FEATURES
12958 if test -z "$defaultval"; then
12959 if test x"$enablestring" = xdisable; then
12966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12967 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12968 # Check whether --enable-togglebtn was given.
12969 if test "${enable_togglebtn+set}" = set; then
12970 enableval=$enable_togglebtn;
12971 if test "$enableval" = yes; then
12972 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12974 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12980 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12981 if test "x$LINE" != x ; then
12982 eval "DEFAULT_$LINE"
12985 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12990 eval "$wx_cv_use_togglebtn"
12991 if test "x$cache" = xyes; then
12992 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
12995 if test x"$enablestring" = xdisable; then
12996 if test $wxUSE_TOGGLEBTN = yes; then
13002 result=$wxUSE_TOGGLEBTN
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13021 # Check whether --enable-toolbar was given.
13022 if test "${enable_toolbar+set}" = set; then
13023 enableval=$enable_toolbar;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13027 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13033 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13034 if test "x$LINE" != x ; then
13035 eval "DEFAULT_$LINE"
13038 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13043 eval "$wx_cv_use_toolbar"
13044 if test "x$cache" = xyes; then
13045 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13048 if test x"$enablestring" = xdisable; then
13049 if test $wxUSE_TOOLBAR = yes; then
13055 result=$wxUSE_TOOLBAR
13058 { echo "$as_me:$LINENO: result: $result" >&5
13059 echo "${ECHO_T}$result" >&6; }
13063 defaultval=$wxUSE_ALL_FEATURES
13064 if test -z "$defaultval"; then
13065 if test x"$enablestring" = xdisable; then
13072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13073 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13074 # Check whether --enable-tbarnative was given.
13075 if test "${enable_tbarnative+set}" = set; then
13076 enableval=$enable_tbarnative;
13077 if test "$enableval" = yes; then
13078 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13080 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13086 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13087 if test "x$LINE" != x ; then
13088 eval "DEFAULT_$LINE"
13091 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13096 eval "$wx_cv_use_tbarnative"
13097 if test "x$cache" = xyes; then
13098 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13101 if test x"$enablestring" = xdisable; then
13102 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13108 result=$wxUSE_TOOLBAR_NATIVE
13111 { echo "$as_me:$LINENO: result: $result" >&5
13112 echo "${ECHO_T}$result" >&6; }
13116 defaultval=$wxUSE_ALL_FEATURES
13117 if test -z "$defaultval"; then
13118 if test x"$enablestring" = xdisable; then
13125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13126 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13127 # Check whether --enable-treebook was given.
13128 if test "${enable_treebook+set}" = set; then
13129 enableval=$enable_treebook;
13130 if test "$enableval" = yes; then
13131 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13133 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13139 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13140 if test "x$LINE" != x ; then
13141 eval "DEFAULT_$LINE"
13144 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13149 eval "$wx_cv_use_treebook"
13150 if test "x$cache" = xyes; then
13151 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13154 if test x"$enablestring" = xdisable; then
13155 if test $wxUSE_TREEBOOK = yes; then
13161 result=$wxUSE_TREEBOOK
13164 { echo "$as_me:$LINENO: result: $result" >&5
13165 echo "${ECHO_T}$result" >&6; }
13169 defaultval=$wxUSE_ALL_FEATURES
13170 if test -z "$defaultval"; then
13171 if test x"$enablestring" = xdisable; then
13178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13179 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13180 # Check whether --enable-toolbook was given.
13181 if test "${enable_toolbook+set}" = set; then
13182 enableval=$enable_toolbook;
13183 if test "$enableval" = yes; then
13184 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13186 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13192 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13193 if test "x$LINE" != x ; then
13194 eval "DEFAULT_$LINE"
13197 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13202 eval "$wx_cv_use_toolbook"
13203 if test "x$cache" = xyes; then
13204 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13207 if test x"$enablestring" = xdisable; then
13208 if test $wxUSE_TOOLBOOK = yes; then
13214 result=$wxUSE_TOOLBOOK
13217 { echo "$as_me:$LINENO: result: $result" >&5
13218 echo "${ECHO_T}$result" >&6; }
13222 defaultval=$wxUSE_ALL_FEATURES
13223 if test -z "$defaultval"; then
13224 if test x"$enablestring" = xdisable; then
13231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13232 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13233 # Check whether --enable-treectrl was given.
13234 if test "${enable_treectrl+set}" = set; then
13235 enableval=$enable_treectrl;
13236 if test "$enableval" = yes; then
13237 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13239 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13245 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13246 if test "x$LINE" != x ; then
13247 eval "DEFAULT_$LINE"
13250 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13255 eval "$wx_cv_use_treectrl"
13256 if test "x$cache" = xyes; then
13257 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13260 if test x"$enablestring" = xdisable; then
13261 if test $wxUSE_TREECTRL = yes; then
13267 result=$wxUSE_TREECTRL
13270 { echo "$as_me:$LINENO: result: $result" >&5
13271 echo "${ECHO_T}$result" >&6; }
13275 defaultval=$wxUSE_ALL_FEATURES
13276 if test -z "$defaultval"; then
13277 if test x"$enablestring" = xdisable; then
13284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13285 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13286 # Check whether --enable-tipwindow was given.
13287 if test "${enable_tipwindow+set}" = set; then
13288 enableval=$enable_tipwindow;
13289 if test "$enableval" = yes; then
13290 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13292 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13298 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13299 if test "x$LINE" != x ; then
13300 eval "DEFAULT_$LINE"
13303 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13308 eval "$wx_cv_use_tipwindow"
13309 if test "x$cache" = xyes; then
13310 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13313 if test x"$enablestring" = xdisable; then
13314 if test $wxUSE_TIPWINDOW = yes; then
13320 result=$wxUSE_TIPWINDOW
13323 { echo "$as_me:$LINENO: result: $result" >&5
13324 echo "${ECHO_T}$result" >&6; }
13328 defaultval=$wxUSE_ALL_FEATURES
13329 if test -z "$defaultval"; then
13330 if test x"$enablestring" = xdisable; then
13337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13338 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13339 # Check whether --enable-popupwin was given.
13340 if test "${enable_popupwin+set}" = set; then
13341 enableval=$enable_popupwin;
13342 if test "$enableval" = yes; then
13343 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13345 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13351 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13352 if test "x$LINE" != x ; then
13353 eval "DEFAULT_$LINE"
13356 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13361 eval "$wx_cv_use_popupwin"
13362 if test "x$cache" = xyes; then
13363 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13366 if test x"$enablestring" = xdisable; then
13367 if test $wxUSE_POPUPWIN = yes; then
13373 result=$wxUSE_POPUPWIN
13376 { echo "$as_me:$LINENO: result: $result" >&5
13377 echo "${ECHO_T}$result" >&6; }
13383 defaultval=$wxUSE_ALL_FEATURES
13384 if test -z "$defaultval"; then
13385 if test x"$enablestring" = xdisable; then
13392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13393 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13394 # Check whether --enable-commondlg was given.
13395 if test "${enable_commondlg+set}" = set; then
13396 enableval=$enable_commondlg;
13397 if test "$enableval" = yes; then
13398 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13400 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13406 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13407 if test "x$LINE" != x ; then
13408 eval "DEFAULT_$LINE"
13411 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13416 eval "$wx_cv_use_commondlg"
13417 if test "x$cache" = xyes; then
13418 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13421 if test x"$enablestring" = xdisable; then
13422 if test $wxUSE_COMMONDLGS = yes; then
13428 result=$wxUSE_COMMONDLGS
13431 { echo "$as_me:$LINENO: result: $result" >&5
13432 echo "${ECHO_T}$result" >&6; }
13436 defaultval=$wxUSE_ALL_FEATURES
13437 if test -z "$defaultval"; then
13438 if test x"$enablestring" = xdisable; then
13445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13446 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13447 # Check whether --enable-aboutdlg was given.
13448 if test "${enable_aboutdlg+set}" = set; then
13449 enableval=$enable_aboutdlg;
13450 if test "$enableval" = yes; then
13451 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13453 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13459 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13460 if test "x$LINE" != x ; then
13461 eval "DEFAULT_$LINE"
13464 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13469 eval "$wx_cv_use_aboutdlg"
13470 if test "x$cache" = xyes; then
13471 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13474 if test x"$enablestring" = xdisable; then
13475 if test $wxUSE_ABOUTDLG = yes; then
13481 result=$wxUSE_ABOUTDLG
13484 { echo "$as_me:$LINENO: result: $result" >&5
13485 echo "${ECHO_T}$result" >&6; }
13489 defaultval=$wxUSE_ALL_FEATURES
13490 if test -z "$defaultval"; then
13491 if test x"$enablestring" = xdisable; then
13498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13499 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13500 # Check whether --enable-choicedlg was given.
13501 if test "${enable_choicedlg+set}" = set; then
13502 enableval=$enable_choicedlg;
13503 if test "$enableval" = yes; then
13504 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13506 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13512 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13513 if test "x$LINE" != x ; then
13514 eval "DEFAULT_$LINE"
13517 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13522 eval "$wx_cv_use_choicedlg"
13523 if test "x$cache" = xyes; then
13524 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13527 if test x"$enablestring" = xdisable; then
13528 if test $wxUSE_CHOICEDLG = yes; then
13534 result=$wxUSE_CHOICEDLG
13537 { echo "$as_me:$LINENO: result: $result" >&5
13538 echo "${ECHO_T}$result" >&6; }
13542 defaultval=$wxUSE_ALL_FEATURES
13543 if test -z "$defaultval"; then
13544 if test x"$enablestring" = xdisable; then
13551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13552 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13553 # Check whether --enable-coldlg was given.
13554 if test "${enable_coldlg+set}" = set; then
13555 enableval=$enable_coldlg;
13556 if test "$enableval" = yes; then
13557 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13559 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13565 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13566 if test "x$LINE" != x ; then
13567 eval "DEFAULT_$LINE"
13570 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13575 eval "$wx_cv_use_coldlg"
13576 if test "x$cache" = xyes; then
13577 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13580 if test x"$enablestring" = xdisable; then
13581 if test $wxUSE_COLOURDLG = yes; then
13587 result=$wxUSE_COLOURDLG
13590 { echo "$as_me:$LINENO: result: $result" >&5
13591 echo "${ECHO_T}$result" >&6; }
13595 defaultval=$wxUSE_ALL_FEATURES
13596 if test -z "$defaultval"; then
13597 if test x"$enablestring" = xdisable; then
13604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13605 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13606 # Check whether --enable-filedlg was given.
13607 if test "${enable_filedlg+set}" = set; then
13608 enableval=$enable_filedlg;
13609 if test "$enableval" = yes; then
13610 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13612 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13618 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13619 if test "x$LINE" != x ; then
13620 eval "DEFAULT_$LINE"
13623 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13628 eval "$wx_cv_use_filedlg"
13629 if test "x$cache" = xyes; then
13630 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13633 if test x"$enablestring" = xdisable; then
13634 if test $wxUSE_FILEDLG = yes; then
13640 result=$wxUSE_FILEDLG
13643 { echo "$as_me:$LINENO: result: $result" >&5
13644 echo "${ECHO_T}$result" >&6; }
13648 defaultval=$wxUSE_ALL_FEATURES
13649 if test -z "$defaultval"; then
13650 if test x"$enablestring" = xdisable; then
13657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13658 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13659 # Check whether --enable-finddlg was given.
13660 if test "${enable_finddlg+set}" = set; then
13661 enableval=$enable_finddlg;
13662 if test "$enableval" = yes; then
13663 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13665 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13671 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13672 if test "x$LINE" != x ; then
13673 eval "DEFAULT_$LINE"
13676 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13681 eval "$wx_cv_use_finddlg"
13682 if test "x$cache" = xyes; then
13683 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13686 if test x"$enablestring" = xdisable; then
13687 if test $wxUSE_FINDREPLDLG = yes; then
13693 result=$wxUSE_FINDREPLDLG
13696 { echo "$as_me:$LINENO: result: $result" >&5
13697 echo "${ECHO_T}$result" >&6; }
13701 defaultval=$wxUSE_ALL_FEATURES
13702 if test -z "$defaultval"; then
13703 if test x"$enablestring" = xdisable; then
13710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13711 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13712 # Check whether --enable-fontdlg was given.
13713 if test "${enable_fontdlg+set}" = set; then
13714 enableval=$enable_fontdlg;
13715 if test "$enableval" = yes; then
13716 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13718 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13724 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13725 if test "x$LINE" != x ; then
13726 eval "DEFAULT_$LINE"
13729 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13734 eval "$wx_cv_use_fontdlg"
13735 if test "x$cache" = xyes; then
13736 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_FONTDLG = yes; then
13746 result=$wxUSE_FONTDLG
13749 { echo "$as_me:$LINENO: result: $result" >&5
13750 echo "${ECHO_T}$result" >&6; }
13754 defaultval=$wxUSE_ALL_FEATURES
13755 if test -z "$defaultval"; then
13756 if test x"$enablestring" = xdisable; then
13763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13765 # Check whether --enable-dirdlg was given.
13766 if test "${enable_dirdlg+set}" = set; then
13767 enableval=$enable_dirdlg;
13768 if test "$enableval" = yes; then
13769 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13771 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13777 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13778 if test "x$LINE" != x ; then
13779 eval "DEFAULT_$LINE"
13782 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13787 eval "$wx_cv_use_dirdlg"
13788 if test "x$cache" = xyes; then
13789 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13792 if test x"$enablestring" = xdisable; then
13793 if test $wxUSE_DIRDLG = yes; then
13799 result=$wxUSE_DIRDLG
13802 { echo "$as_me:$LINENO: result: $result" >&5
13803 echo "${ECHO_T}$result" >&6; }
13807 defaultval=$wxUSE_ALL_FEATURES
13808 if test -z "$defaultval"; then
13809 if test x"$enablestring" = xdisable; then
13816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13817 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13818 # Check whether --enable-msgdlg was given.
13819 if test "${enable_msgdlg+set}" = set; then
13820 enableval=$enable_msgdlg;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13824 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13830 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13831 if test "x$LINE" != x ; then
13832 eval "DEFAULT_$LINE"
13835 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13840 eval "$wx_cv_use_msgdlg"
13841 if test "x$cache" = xyes; then
13842 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
13845 if test x"$enablestring" = xdisable; then
13846 if test $wxUSE_MSGDLG = yes; then
13852 result=$wxUSE_MSGDLG
13855 { echo "$as_me:$LINENO: result: $result" >&5
13856 echo "${ECHO_T}$result" >&6; }
13860 defaultval=$wxUSE_ALL_FEATURES
13861 if test -z "$defaultval"; then
13862 if test x"$enablestring" = xdisable; then
13869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13870 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13871 # Check whether --enable-numberdlg was given.
13872 if test "${enable_numberdlg+set}" = set; then
13873 enableval=$enable_numberdlg;
13874 if test "$enableval" = yes; then
13875 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13877 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13883 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13884 if test "x$LINE" != x ; then
13885 eval "DEFAULT_$LINE"
13888 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13893 eval "$wx_cv_use_numberdlg"
13894 if test "x$cache" = xyes; then
13895 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
13898 if test x"$enablestring" = xdisable; then
13899 if test $wxUSE_NUMBERDLG = yes; then
13905 result=$wxUSE_NUMBERDLG
13908 { echo "$as_me:$LINENO: result: $result" >&5
13909 echo "${ECHO_T}$result" >&6; }
13913 defaultval=$wxUSE_ALL_FEATURES
13914 if test -z "$defaultval"; then
13915 if test x"$enablestring" = xdisable; then
13922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13923 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13924 # Check whether --enable-splash was given.
13925 if test "${enable_splash+set}" = set; then
13926 enableval=$enable_splash;
13927 if test "$enableval" = yes; then
13928 wx_cv_use_splash='wxUSE_SPLASH=yes'
13930 wx_cv_use_splash='wxUSE_SPLASH=no'
13936 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13937 if test "x$LINE" != x ; then
13938 eval "DEFAULT_$LINE"
13941 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13946 eval "$wx_cv_use_splash"
13947 if test "x$cache" = xyes; then
13948 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
13951 if test x"$enablestring" = xdisable; then
13952 if test $wxUSE_SPLASH = yes; then
13958 result=$wxUSE_SPLASH
13961 { echo "$as_me:$LINENO: result: $result" >&5
13962 echo "${ECHO_T}$result" >&6; }
13966 defaultval=$wxUSE_ALL_FEATURES
13967 if test -z "$defaultval"; then
13968 if test x"$enablestring" = xdisable; then
13975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13976 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13977 # Check whether --enable-textdlg was given.
13978 if test "${enable_textdlg+set}" = set; then
13979 enableval=$enable_textdlg;
13980 if test "$enableval" = yes; then
13981 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13983 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13989 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13990 if test "x$LINE" != x ; then
13991 eval "DEFAULT_$LINE"
13994 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13999 eval "$wx_cv_use_textdlg"
14000 if test "x$cache" = xyes; then
14001 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14004 if test x"$enablestring" = xdisable; then
14005 if test $wxUSE_TEXTDLG = yes; then
14011 result=$wxUSE_TEXTDLG
14014 { echo "$as_me:$LINENO: result: $result" >&5
14015 echo "${ECHO_T}$result" >&6; }
14019 defaultval=$wxUSE_ALL_FEATURES
14020 if test -z "$defaultval"; then
14021 if test x"$enablestring" = xdisable; then
14028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14029 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14030 # Check whether --enable-tipdlg was given.
14031 if test "${enable_tipdlg+set}" = set; then
14032 enableval=$enable_tipdlg;
14033 if test "$enableval" = yes; then
14034 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14036 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14042 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14043 if test "x$LINE" != x ; then
14044 eval "DEFAULT_$LINE"
14047 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14052 eval "$wx_cv_use_tipdlg"
14053 if test "x$cache" = xyes; then
14054 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14057 if test x"$enablestring" = xdisable; then
14058 if test $wxUSE_STARTUP_TIPS = yes; then
14064 result=$wxUSE_STARTUP_TIPS
14067 { echo "$as_me:$LINENO: result: $result" >&5
14068 echo "${ECHO_T}$result" >&6; }
14072 defaultval=$wxUSE_ALL_FEATURES
14073 if test -z "$defaultval"; then
14074 if test x"$enablestring" = xdisable; then
14081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14082 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14083 # Check whether --enable-progressdlg was given.
14084 if test "${enable_progressdlg+set}" = set; then
14085 enableval=$enable_progressdlg;
14086 if test "$enableval" = yes; then
14087 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14089 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14095 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14096 if test "x$LINE" != x ; then
14097 eval "DEFAULT_$LINE"
14100 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14105 eval "$wx_cv_use_progressdlg"
14106 if test "x$cache" = xyes; then
14107 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14110 if test x"$enablestring" = xdisable; then
14111 if test $wxUSE_PROGRESSDLG = yes; then
14117 result=$wxUSE_PROGRESSDLG
14120 { echo "$as_me:$LINENO: result: $result" >&5
14121 echo "${ECHO_T}$result" >&6; }
14125 defaultval=$wxUSE_ALL_FEATURES
14126 if test -z "$defaultval"; then
14127 if test x"$enablestring" = xdisable; then
14134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14135 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14136 # Check whether --enable-wizarddlg was given.
14137 if test "${enable_wizarddlg+set}" = set; then
14138 enableval=$enable_wizarddlg;
14139 if test "$enableval" = yes; then
14140 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14142 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14148 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14149 if test "x$LINE" != x ; then
14150 eval "DEFAULT_$LINE"
14153 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14158 eval "$wx_cv_use_wizarddlg"
14159 if test "x$cache" = xyes; then
14160 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14163 if test x"$enablestring" = xdisable; then
14164 if test $wxUSE_WIZARDDLG = yes; then
14170 result=$wxUSE_WIZARDDLG
14173 { echo "$as_me:$LINENO: result: $result" >&5
14174 echo "${ECHO_T}$result" >&6; }
14180 defaultval=$wxUSE_ALL_FEATURES
14181 if test -z "$defaultval"; then
14182 if test x"$enablestring" = xdisable; then
14189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14190 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14191 # Check whether --enable-menus was given.
14192 if test "${enable_menus+set}" = set; then
14193 enableval=$enable_menus;
14194 if test "$enableval" = yes; then
14195 wx_cv_use_menus='wxUSE_MENUS=yes'
14197 wx_cv_use_menus='wxUSE_MENUS=no'
14203 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14204 if test "x$LINE" != x ; then
14205 eval "DEFAULT_$LINE"
14208 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14213 eval "$wx_cv_use_menus"
14214 if test "x$cache" = xyes; then
14215 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14218 if test x"$enablestring" = xdisable; then
14219 if test $wxUSE_MENUS = yes; then
14225 result=$wxUSE_MENUS
14228 { echo "$as_me:$LINENO: result: $result" >&5
14229 echo "${ECHO_T}$result" >&6; }
14233 defaultval=$wxUSE_ALL_FEATURES
14234 if test -z "$defaultval"; then
14235 if test x"$enablestring" = xdisable; then
14242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14243 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14244 # Check whether --enable-miniframe was given.
14245 if test "${enable_miniframe+set}" = set; then
14246 enableval=$enable_miniframe;
14247 if test "$enableval" = yes; then
14248 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14250 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14256 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14257 if test "x$LINE" != x ; then
14258 eval "DEFAULT_$LINE"
14261 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14266 eval "$wx_cv_use_miniframe"
14267 if test "x$cache" = xyes; then
14268 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14271 if test x"$enablestring" = xdisable; then
14272 if test $wxUSE_MINIFRAME = yes; then
14278 result=$wxUSE_MINIFRAME
14281 { echo "$as_me:$LINENO: result: $result" >&5
14282 echo "${ECHO_T}$result" >&6; }
14286 defaultval=$wxUSE_ALL_FEATURES
14287 if test -z "$defaultval"; then
14288 if test x"$enablestring" = xdisable; then
14295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14296 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14297 # Check whether --enable-tooltips was given.
14298 if test "${enable_tooltips+set}" = set; then
14299 enableval=$enable_tooltips;
14300 if test "$enableval" = yes; then
14301 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14303 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14309 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14310 if test "x$LINE" != x ; then
14311 eval "DEFAULT_$LINE"
14314 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14319 eval "$wx_cv_use_tooltips"
14320 if test "x$cache" = xyes; then
14321 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14324 if test x"$enablestring" = xdisable; then
14325 if test $wxUSE_TOOLTIPS = yes; then
14331 result=$wxUSE_TOOLTIPS
14334 { echo "$as_me:$LINENO: result: $result" >&5
14335 echo "${ECHO_T}$result" >&6; }
14339 defaultval=$wxUSE_ALL_FEATURES
14340 if test -z "$defaultval"; then
14341 if test x"$enablestring" = xdisable; then
14348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14349 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14350 # Check whether --enable-splines was given.
14351 if test "${enable_splines+set}" = set; then
14352 enableval=$enable_splines;
14353 if test "$enableval" = yes; then
14354 wx_cv_use_splines='wxUSE_SPLINES=yes'
14356 wx_cv_use_splines='wxUSE_SPLINES=no'
14362 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14363 if test "x$LINE" != x ; then
14364 eval "DEFAULT_$LINE"
14367 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14372 eval "$wx_cv_use_splines"
14373 if test "x$cache" = xyes; then
14374 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14377 if test x"$enablestring" = xdisable; then
14378 if test $wxUSE_SPLINES = yes; then
14384 result=$wxUSE_SPLINES
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}-mousewheel" >&5
14402 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14403 # Check whether --enable-mousewheel was given.
14404 if test "${enable_mousewheel+set}" = set; then
14405 enableval=$enable_mousewheel;
14406 if test "$enableval" = yes; then
14407 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14409 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14415 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14416 if test "x$LINE" != x ; then
14417 eval "DEFAULT_$LINE"
14420 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14425 eval "$wx_cv_use_mousewheel"
14426 if test "x$cache" = xyes; then
14427 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14430 if test x"$enablestring" = xdisable; then
14431 if test $wxUSE_MOUSEWHEEL = yes; then
14437 result=$wxUSE_MOUSEWHEEL
14440 { echo "$as_me:$LINENO: result: $result" >&5
14441 echo "${ECHO_T}$result" >&6; }
14445 defaultval=$wxUSE_ALL_FEATURES
14446 if test -z "$defaultval"; then
14447 if test x"$enablestring" = xdisable; then
14454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14455 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14456 # Check whether --enable-validators was given.
14457 if test "${enable_validators+set}" = set; then
14458 enableval=$enable_validators;
14459 if test "$enableval" = yes; then
14460 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14462 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14468 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14469 if test "x$LINE" != x ; then
14470 eval "DEFAULT_$LINE"
14473 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14478 eval "$wx_cv_use_validators"
14479 if test "x$cache" = xyes; then
14480 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14483 if test x"$enablestring" = xdisable; then
14484 if test $wxUSE_VALIDATORS = yes; then
14490 result=$wxUSE_VALIDATORS
14493 { echo "$as_me:$LINENO: result: $result" >&5
14494 echo "${ECHO_T}$result" >&6; }
14498 defaultval=$wxUSE_ALL_FEATURES
14499 if test -z "$defaultval"; then
14500 if test x"$enablestring" = xdisable; then
14507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14508 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14509 # Check whether --enable-busyinfo was given.
14510 if test "${enable_busyinfo+set}" = set; then
14511 enableval=$enable_busyinfo;
14512 if test "$enableval" = yes; then
14513 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14515 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14521 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14522 if test "x$LINE" != x ; then
14523 eval "DEFAULT_$LINE"
14526 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14531 eval "$wx_cv_use_busyinfo"
14532 if test "x$cache" = xyes; then
14533 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14536 if test x"$enablestring" = xdisable; then
14537 if test $wxUSE_BUSYINFO = yes; then
14543 result=$wxUSE_BUSYINFO
14546 { echo "$as_me:$LINENO: result: $result" >&5
14547 echo "${ECHO_T}$result" >&6; }
14551 defaultval=$wxUSE_ALL_FEATURES
14552 if test -z "$defaultval"; then
14553 if test x"$enablestring" = xdisable; then
14560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14561 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14562 # Check whether --enable-joystick was given.
14563 if test "${enable_joystick+set}" = set; then
14564 enableval=$enable_joystick;
14565 if test "$enableval" = yes; then
14566 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14568 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14574 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14575 if test "x$LINE" != x ; then
14576 eval "DEFAULT_$LINE"
14579 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14584 eval "$wx_cv_use_joystick"
14585 if test "x$cache" = xyes; then
14586 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14589 if test x"$enablestring" = xdisable; then
14590 if test $wxUSE_JOYSTICK = yes; then
14596 result=$wxUSE_JOYSTICK
14599 { echo "$as_me:$LINENO: result: $result" >&5
14600 echo "${ECHO_T}$result" >&6; }
14604 defaultval=$wxUSE_ALL_FEATURES
14605 if test -z "$defaultval"; then
14606 if test x"$enablestring" = xdisable; then
14613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14614 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14615 # Check whether --enable-metafile was given.
14616 if test "${enable_metafile+set}" = set; then
14617 enableval=$enable_metafile;
14618 if test "$enableval" = yes; then
14619 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14621 wx_cv_use_metafile='wxUSE_METAFILE=no'
14627 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14628 if test "x$LINE" != x ; then
14629 eval "DEFAULT_$LINE"
14632 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14637 eval "$wx_cv_use_metafile"
14638 if test "x$cache" = xyes; then
14639 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14642 if test x"$enablestring" = xdisable; then
14643 if test $wxUSE_METAFILE = yes; then
14649 result=$wxUSE_METAFILE
14652 { echo "$as_me:$LINENO: result: $result" >&5
14653 echo "${ECHO_T}$result" >&6; }
14657 defaultval=$wxUSE_ALL_FEATURES
14658 if test -z "$defaultval"; then
14659 if test x"$enablestring" = xdisable; then
14666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14667 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14668 # Check whether --enable-dragimage was given.
14669 if test "${enable_dragimage+set}" = set; then
14670 enableval=$enable_dragimage;
14671 if test "$enableval" = yes; then
14672 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14674 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14680 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14681 if test "x$LINE" != x ; then
14682 eval "DEFAULT_$LINE"
14685 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14690 eval "$wx_cv_use_dragimage"
14691 if test "x$cache" = xyes; then
14692 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14695 if test x"$enablestring" = xdisable; then
14696 if test $wxUSE_DRAGIMAGE = yes; then
14702 result=$wxUSE_DRAGIMAGE
14705 { echo "$as_me:$LINENO: result: $result" >&5
14706 echo "${ECHO_T}$result" >&6; }
14710 defaultval=$wxUSE_ALL_FEATURES
14711 if test -z "$defaultval"; then
14712 if test x"$enablestring" = xdisable; then
14719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14720 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14721 # Check whether --enable-accessibility was given.
14722 if test "${enable_accessibility+set}" = set; then
14723 enableval=$enable_accessibility;
14724 if test "$enableval" = yes; then
14725 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14727 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14733 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14734 if test "x$LINE" != x ; then
14735 eval "DEFAULT_$LINE"
14738 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14743 eval "$wx_cv_use_accessibility"
14744 if test "x$cache" = xyes; then
14745 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14748 if test x"$enablestring" = xdisable; then
14749 if test $wxUSE_ACCESSIBILITY = yes; then
14755 result=$wxUSE_ACCESSIBILITY
14758 { echo "$as_me:$LINENO: result: $result" >&5
14759 echo "${ECHO_T}$result" >&6; }
14765 defaultval=$wxUSE_ALL_FEATURES
14766 if test -z "$defaultval"; then
14767 if test x"$enablestring" = xdisable; then
14774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14775 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14776 # Check whether --enable-palette was given.
14777 if test "${enable_palette+set}" = set; then
14778 enableval=$enable_palette;
14779 if test "$enableval" = yes; then
14780 wx_cv_use_palette='wxUSE_PALETTE=yes'
14782 wx_cv_use_palette='wxUSE_PALETTE=no'
14788 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14789 if test "x$LINE" != x ; then
14790 eval "DEFAULT_$LINE"
14793 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14798 eval "$wx_cv_use_palette"
14799 if test "x$cache" = xyes; then
14800 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
14803 if test x"$enablestring" = xdisable; then
14804 if test $wxUSE_PALETTE = yes; then
14810 result=$wxUSE_PALETTE
14813 { echo "$as_me:$LINENO: result: $result" >&5
14814 echo "${ECHO_T}$result" >&6; }
14818 defaultval=$wxUSE_ALL_FEATURES
14819 if test -z "$defaultval"; then
14820 if test x"$enablestring" = xdisable; then
14827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14828 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14829 # Check whether --enable-image was given.
14830 if test "${enable_image+set}" = set; then
14831 enableval=$enable_image;
14832 if test "$enableval" = yes; then
14833 wx_cv_use_image='wxUSE_IMAGE=yes'
14835 wx_cv_use_image='wxUSE_IMAGE=no'
14841 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14842 if test "x$LINE" != x ; then
14843 eval "DEFAULT_$LINE"
14846 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14851 eval "$wx_cv_use_image"
14852 if test "x$cache" = xyes; then
14853 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
14856 if test x"$enablestring" = xdisable; then
14857 if test $wxUSE_IMAGE = yes; then
14863 result=$wxUSE_IMAGE
14866 { echo "$as_me:$LINENO: result: $result" >&5
14867 echo "${ECHO_T}$result" >&6; }
14871 defaultval=$wxUSE_ALL_FEATURES
14872 if test -z "$defaultval"; then
14873 if test x"$enablestring" = xdisable; then
14880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14881 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14882 # Check whether --enable-gif was given.
14883 if test "${enable_gif+set}" = set; then
14884 enableval=$enable_gif;
14885 if test "$enableval" = yes; then
14886 wx_cv_use_gif='wxUSE_GIF=yes'
14888 wx_cv_use_gif='wxUSE_GIF=no'
14894 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14895 if test "x$LINE" != x ; then
14896 eval "DEFAULT_$LINE"
14899 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14904 eval "$wx_cv_use_gif"
14905 if test "x$cache" = xyes; then
14906 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
14909 if test x"$enablestring" = xdisable; then
14910 if test $wxUSE_GIF = yes; then
14919 { echo "$as_me:$LINENO: result: $result" >&5
14920 echo "${ECHO_T}$result" >&6; }
14924 defaultval=$wxUSE_ALL_FEATURES
14925 if test -z "$defaultval"; then
14926 if test x"$enablestring" = xdisable; then
14933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14934 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14935 # Check whether --enable-pcx was given.
14936 if test "${enable_pcx+set}" = set; then
14937 enableval=$enable_pcx;
14938 if test "$enableval" = yes; then
14939 wx_cv_use_pcx='wxUSE_PCX=yes'
14941 wx_cv_use_pcx='wxUSE_PCX=no'
14947 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
14948 if test "x$LINE" != x ; then
14949 eval "DEFAULT_$LINE"
14952 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14957 eval "$wx_cv_use_pcx"
14958 if test "x$cache" = xyes; then
14959 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
14962 if test x"$enablestring" = xdisable; then
14963 if test $wxUSE_PCX = yes; then
14972 { echo "$as_me:$LINENO: result: $result" >&5
14973 echo "${ECHO_T}$result" >&6; }
14977 defaultval=$wxUSE_ALL_FEATURES
14978 if test -z "$defaultval"; then
14979 if test x"$enablestring" = xdisable; then
14986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14987 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14988 # Check whether --enable-tga was given.
14989 if test "${enable_tga+set}" = set; then
14990 enableval=$enable_tga;
14991 if test "$enableval" = yes; then
14992 wx_cv_use_tga='wxUSE_TGA=yes'
14994 wx_cv_use_tga='wxUSE_TGA=no'
15000 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15001 if test "x$LINE" != x ; then
15002 eval "DEFAULT_$LINE"
15005 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15010 eval "$wx_cv_use_tga"
15011 if test "x$cache" = xyes; then
15012 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15015 if test x"$enablestring" = xdisable; then
15016 if test $wxUSE_TGA = yes; then
15025 { echo "$as_me:$LINENO: result: $result" >&5
15026 echo "${ECHO_T}$result" >&6; }
15030 defaultval=$wxUSE_ALL_FEATURES
15031 if test -z "$defaultval"; then
15032 if test x"$enablestring" = xdisable; then
15039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15040 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15041 # Check whether --enable-iff was given.
15042 if test "${enable_iff+set}" = set; then
15043 enableval=$enable_iff;
15044 if test "$enableval" = yes; then
15045 wx_cv_use_iff='wxUSE_IFF=yes'
15047 wx_cv_use_iff='wxUSE_IFF=no'
15053 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15054 if test "x$LINE" != x ; then
15055 eval "DEFAULT_$LINE"
15058 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15063 eval "$wx_cv_use_iff"
15064 if test "x$cache" = xyes; then
15065 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15068 if test x"$enablestring" = xdisable; then
15069 if test $wxUSE_IFF = yes; then
15078 { echo "$as_me:$LINENO: result: $result" >&5
15079 echo "${ECHO_T}$result" >&6; }
15083 defaultval=$wxUSE_ALL_FEATURES
15084 if test -z "$defaultval"; then
15085 if test x"$enablestring" = xdisable; then
15092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15093 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15094 # Check whether --enable-pnm was given.
15095 if test "${enable_pnm+set}" = set; then
15096 enableval=$enable_pnm;
15097 if test "$enableval" = yes; then
15098 wx_cv_use_pnm='wxUSE_PNM=yes'
15100 wx_cv_use_pnm='wxUSE_PNM=no'
15106 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15107 if test "x$LINE" != x ; then
15108 eval "DEFAULT_$LINE"
15111 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15116 eval "$wx_cv_use_pnm"
15117 if test "x$cache" = xyes; then
15118 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15121 if test x"$enablestring" = xdisable; then
15122 if test $wxUSE_PNM = yes; then
15131 { echo "$as_me:$LINENO: result: $result" >&5
15132 echo "${ECHO_T}$result" >&6; }
15136 defaultval=$wxUSE_ALL_FEATURES
15137 if test -z "$defaultval"; then
15138 if test x"$enablestring" = xdisable; then
15145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15146 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15147 # Check whether --enable-xpm was given.
15148 if test "${enable_xpm+set}" = set; then
15149 enableval=$enable_xpm;
15150 if test "$enableval" = yes; then
15151 wx_cv_use_xpm='wxUSE_XPM=yes'
15153 wx_cv_use_xpm='wxUSE_XPM=no'
15159 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15160 if test "x$LINE" != x ; then
15161 eval "DEFAULT_$LINE"
15164 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15169 eval "$wx_cv_use_xpm"
15170 if test "x$cache" = xyes; then
15171 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15174 if test x"$enablestring" = xdisable; then
15175 if test $wxUSE_XPM = yes; then
15184 { echo "$as_me:$LINENO: result: $result" >&5
15185 echo "${ECHO_T}$result" >&6; }
15189 defaultval=$wxUSE_ALL_FEATURES
15190 if test -z "$defaultval"; then
15191 if test x"$enablestring" = xdisable; then
15198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15199 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15200 # Check whether --enable-ico_cur was given.
15201 if test "${enable_ico_cur+set}" = set; then
15202 enableval=$enable_ico_cur;
15203 if test "$enableval" = yes; then
15204 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15206 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15212 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15213 if test "x$LINE" != x ; then
15214 eval "DEFAULT_$LINE"
15217 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15222 eval "$wx_cv_use_ico_cur"
15223 if test "x$cache" = xyes; then
15224 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15227 if test x"$enablestring" = xdisable; then
15228 if test $wxUSE_ICO_CUR = yes; then
15234 result=$wxUSE_ICO_CUR
15237 { echo "$as_me:$LINENO: result: $result" >&5
15238 echo "${ECHO_T}$result" >&6; }
15244 defaultval=$wxUSE_ALL_FEATURES
15245 if test -z "$defaultval"; then
15246 if test x"$enablestring" = xdisable; then
15253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15254 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15255 # Check whether --enable-dccache was given.
15256 if test "${enable_dccache+set}" = set; then
15257 enableval=$enable_dccache;
15258 if test "$enableval" = yes; then
15259 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15261 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15267 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15268 if test "x$LINE" != x ; then
15269 eval "DEFAULT_$LINE"
15272 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15277 eval "$wx_cv_use_dccache"
15278 if test "x$cache" = xyes; then
15279 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15282 if test x"$enablestring" = xdisable; then
15283 if test $wxUSE_DC_CACHEING = yes; then
15289 result=$wxUSE_DC_CACHEING
15292 { echo "$as_me:$LINENO: result: $result" >&5
15293 echo "${ECHO_T}$result" >&6; }
15297 defaultval=$wxUSE_ALL_FEATURES
15298 if test -z "$defaultval"; then
15299 if test x"$enablestring" = xdisable; then
15306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15307 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15308 # Check whether --enable-uxtheme was given.
15309 if test "${enable_uxtheme+set}" = set; then
15310 enableval=$enable_uxtheme;
15311 if test "$enableval" = yes; then
15312 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15314 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15320 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15321 if test "x$LINE" != x ; then
15322 eval "DEFAULT_$LINE"
15325 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15330 eval "$wx_cv_use_uxtheme"
15331 if test "x$cache" = xyes; then
15332 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15335 if test x"$enablestring" = xdisable; then
15336 if test $wxUSE_UXTHEME = yes; then
15342 result=$wxUSE_UXTHEME
15345 { echo "$as_me:$LINENO: result: $result" >&5
15346 echo "${ECHO_T}$result" >&6; }
15350 defaultval=$wxUSE_ALL_FEATURES
15351 if test -z "$defaultval"; then
15352 if test x"$enablestring" = xdisable; then
15359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15360 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15361 # Check whether --enable-wxdib was given.
15362 if test "${enable_wxdib+set}" = set; then
15363 enableval=$enable_wxdib;
15364 if test "$enableval" = yes; then
15365 wx_cv_use_wxdib='wxUSE_DIB=yes'
15367 wx_cv_use_wxdib='wxUSE_DIB=no'
15373 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15374 if test "x$LINE" != x ; then
15375 eval "DEFAULT_$LINE"
15378 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15383 eval "$wx_cv_use_wxdib"
15384 if test "x$cache" = xyes; then
15385 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15388 if test x"$enablestring" = xdisable; then
15389 if test $wxUSE_DIB = yes; then
15398 { echo "$as_me:$LINENO: result: $result" >&5
15399 echo "${ECHO_T}$result" >&6; }
15405 echo "saving argument cache $wx_arg_cache_file"
15406 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15410 { echo "$as_me:$LINENO: checking for toolkit" >&5
15411 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15413 # In Wine, we need to default to MSW, not GTK or MOTIF
15414 if test "$wxUSE_WINE" = "yes"; then
15415 DEFAULT_DEFAULT_wxUSE_GTK=0
15416 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15417 DEFAULT_DEFAULT_wxUSE_MSW=1
15420 CXX=${CXX:-wineg++}
15424 if test "$wxUSE_GUI" = "yes"; then
15426 if test "$USE_BEOS" = 1; then
15427 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15428 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15429 { (exit 1); exit 1; }; }
15432 if test "$TOOLKIT_GIVEN" = 1; then
15433 for toolkit in `echo $ALL_TOOLKITS`; do
15435 eval "value=\$${var}"
15436 if test "x$value" = "xno"; then
15438 elif test "x$value" != "x"; then
15442 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15443 eval "wx${toolkit}_VERSION=$value"
15447 for toolkit in `echo $ALL_TOOLKITS`; do
15448 if test "$has_toolkit_in_cache" != 1; then
15449 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15451 var=DEFAULT_wxUSE_$toolkit
15453 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15454 if test "x$version" != "x"; then
15455 eval "wx${toolkit}_VERSION=$version"
15458 eval "wxUSE_$toolkit=\$${var}"
15462 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15463 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15464 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15467 *-pc-os2_emx | *-pc-os2-emx )
15468 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15471 case "$NUM_TOOLKITS" in
15475 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15476 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15477 { (exit 1); exit 1; }; }
15480 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15481 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15482 { (exit 1); exit 1; }; }
15485 # to be removed when --disable-gtk2 isn't needed
15486 if test "x$wxUSE_GTK2" = "xyes"; then
15488 elif test "x$wxUSE_GTK2" = "xno"; then
15492 for toolkit in `echo $ALL_TOOLKITS`; do
15494 eval "value=\$${var}"
15495 if test "x$value" != x; then
15496 cache_var=CACHE_$toolkit
15497 eval "cache=\$${cache_var}"
15498 if test "$cache" = 1; then
15499 echo "$var=$value" >> ${wx_arg_cache_file}
15500 eval "version=\$wx${toolkit}_VERSION"
15501 if test "x$version" != "x"; then
15502 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15505 if test "$value" = 1; then
15506 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15507 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15508 echo "${ECHO_T}$toolkit_echo" >&6; }
15513 if test "x$host_alias" != "x"; then
15514 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15515 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15517 { echo "$as_me:$LINENO: result: base only" >&5
15518 echo "${ECHO_T}base only" >&6; }
15523 cat >confcache <<\_ACEOF
15524 # This file is a shell script that caches the results of configure
15525 # tests run on this system so they can be shared between configure
15526 # scripts and configure runs, see configure's option --config-cache.
15527 # It is not useful on other systems. If it contains results you don't
15528 # want to keep, you may remove or edit it.
15530 # config.status only pays attention to the cache file if you give it
15531 # the --recheck option to rerun configure.
15533 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15534 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15535 # following values.
15539 # The following way of writing the cache mishandles newlines in values,
15540 # but we know of no workaround that is simple, portable, and efficient.
15541 # So, we kill variables containing newlines.
15542 # Ultrix sh set writes to stderr and can't be redirected directly,
15543 # and sets the high bit in the cache file unless we assign to the vars.
15545 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15546 eval ac_val=\$$ac_var
15550 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15551 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15554 _ | IFS | as_nl) ;; #(
15555 *) $as_unset $ac_var ;;
15561 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15562 *${as_nl}ac_space=\ *)
15563 # `set' does not quote correctly, so add quotes (double-quote
15564 # substitution turns \\\\ into \\, and sed turns \\ into \).
15567 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15570 # `set' quotes correctly as required by POSIX, so do not add quotes.
15571 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15580 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15582 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15584 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15585 if test -w "$cache_file"; then
15586 test "x$cache_file" != "x/dev/null" &&
15587 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15588 echo "$as_me: updating cache $cache_file" >&6;}
15589 cat confcache >$cache_file
15591 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15592 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15602 ac_cpp='$CPP $CPPFLAGS'
15603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15606 if test -n "$ac_tool_prefix"; then
15607 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15608 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15611 if test "${ac_cv_prog_CC+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 if test -n "$CC"; then
15615 ac_cv_prog_CC="$CC" # Let the user override the test.
15617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15618 for as_dir in $PATH
15621 test -z "$as_dir" && as_dir=.
15622 for ac_exec_ext in '' $ac_executable_extensions; do
15623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15624 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15635 if test -n "$CC"; then
15636 { echo "$as_me:$LINENO: result: $CC" >&5
15637 echo "${ECHO_T}$CC" >&6; }
15639 { echo "$as_me:$LINENO: result: no" >&5
15640 echo "${ECHO_T}no" >&6; }
15645 if test -z "$ac_cv_prog_CC"; then
15647 # Extract the first word of "gcc", so it can be a program name with args.
15648 set dummy gcc; ac_word=$2
15649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15652 echo $ECHO_N "(cached) $ECHO_C" >&6
15654 if test -n "$ac_ct_CC"; then
15655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15658 for as_dir in $PATH
15661 test -z "$as_dir" && as_dir=.
15662 for ac_exec_ext in '' $ac_executable_extensions; do
15663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15664 ac_cv_prog_ac_ct_CC="gcc"
15665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15675 if test -n "$ac_ct_CC"; then
15676 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15677 echo "${ECHO_T}$ac_ct_CC" >&6; }
15679 { echo "$as_me:$LINENO: result: no" >&5
15680 echo "${ECHO_T}no" >&6; }
15683 if test "x$ac_ct_CC" = x; then
15686 case $cross_compiling:$ac_tool_warned in
15688 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15689 whose name does not start with the host triplet. If you think this
15690 configuration is useful to you, please write to autoconf@gnu.org." >&5
15691 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15692 whose name does not start with the host triplet. If you think this
15693 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15694 ac_tool_warned=yes ;;
15699 CC="$ac_cv_prog_CC"
15702 if test -z "$CC"; then
15703 if test -n "$ac_tool_prefix"; then
15704 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15705 set dummy ${ac_tool_prefix}cc; ac_word=$2
15706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15708 if test "${ac_cv_prog_CC+set}" = set; then
15709 echo $ECHO_N "(cached) $ECHO_C" >&6
15711 if test -n "$CC"; then
15712 ac_cv_prog_CC="$CC" # Let the user override the test.
15714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15715 for as_dir in $PATH
15718 test -z "$as_dir" && as_dir=.
15719 for ac_exec_ext in '' $ac_executable_extensions; do
15720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15721 ac_cv_prog_CC="${ac_tool_prefix}cc"
15722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15732 if test -n "$CC"; then
15733 { echo "$as_me:$LINENO: result: $CC" >&5
15734 echo "${ECHO_T}$CC" >&6; }
15736 { echo "$as_me:$LINENO: result: no" >&5
15737 echo "${ECHO_T}no" >&6; }
15743 if test -z "$CC"; then
15744 # Extract the first word of "cc", so it can be a program name with args.
15745 set dummy cc; ac_word=$2
15746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15748 if test "${ac_cv_prog_CC+set}" = set; then
15749 echo $ECHO_N "(cached) $ECHO_C" >&6
15751 if test -n "$CC"; then
15752 ac_cv_prog_CC="$CC" # Let the user override the test.
15754 ac_prog_rejected=no
15755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15756 for as_dir in $PATH
15759 test -z "$as_dir" && as_dir=.
15760 for ac_exec_ext in '' $ac_executable_extensions; do
15761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15762 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15763 ac_prog_rejected=yes
15767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15774 if test $ac_prog_rejected = yes; then
15775 # We found a bogon in the path, so make sure we never use it.
15776 set dummy $ac_cv_prog_CC
15778 if test $# != 0; then
15779 # We chose a different compiler from the bogus one.
15780 # However, it has the same basename, so the bogon will be chosen
15781 # first if we set CC to just the basename; use the full file name.
15783 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15789 if test -n "$CC"; then
15790 { echo "$as_me:$LINENO: result: $CC" >&5
15791 echo "${ECHO_T}$CC" >&6; }
15793 { echo "$as_me:$LINENO: result: no" >&5
15794 echo "${ECHO_T}no" >&6; }
15799 if test -z "$CC"; then
15800 if test -n "$ac_tool_prefix"; then
15801 for ac_prog in cl.exe
15803 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15804 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15807 if test "${ac_cv_prog_CC+set}" = set; then
15808 echo $ECHO_N "(cached) $ECHO_C" >&6
15810 if test -n "$CC"; then
15811 ac_cv_prog_CC="$CC" # Let the user override the test.
15813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15814 for as_dir in $PATH
15817 test -z "$as_dir" && as_dir=.
15818 for ac_exec_ext in '' $ac_executable_extensions; do
15819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15820 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15831 if test -n "$CC"; then
15832 { echo "$as_me:$LINENO: result: $CC" >&5
15833 echo "${ECHO_T}$CC" >&6; }
15835 { echo "$as_me:$LINENO: result: no" >&5
15836 echo "${ECHO_T}no" >&6; }
15840 test -n "$CC" && break
15843 if test -z "$CC"; then
15845 for ac_prog in cl.exe
15847 # Extract the first word of "$ac_prog", so it can be a program name with args.
15848 set dummy $ac_prog; ac_word=$2
15849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15852 echo $ECHO_N "(cached) $ECHO_C" >&6
15854 if test -n "$ac_ct_CC"; then
15855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15858 for as_dir in $PATH
15861 test -z "$as_dir" && as_dir=.
15862 for ac_exec_ext in '' $ac_executable_extensions; do
15863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15864 ac_cv_prog_ac_ct_CC="$ac_prog"
15865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15875 if test -n "$ac_ct_CC"; then
15876 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15877 echo "${ECHO_T}$ac_ct_CC" >&6; }
15879 { echo "$as_me:$LINENO: result: no" >&5
15880 echo "${ECHO_T}no" >&6; }
15884 test -n "$ac_ct_CC" && break
15887 if test "x$ac_ct_CC" = x; then
15890 case $cross_compiling:$ac_tool_warned in
15892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15893 whose name does not start with the host triplet. If you think this
15894 configuration is useful to you, please write to autoconf@gnu.org." >&5
15895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15896 whose name does not start with the host triplet. If you think this
15897 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15898 ac_tool_warned=yes ;;
15907 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15908 See \`config.log' for more details." >&5
15909 echo "$as_me: error: no acceptable C compiler found in \$PATH
15910 See \`config.log' for more details." >&2;}
15911 { (exit 1); exit 1; }; }
15913 # Provide some information about the compiler.
15914 echo "$as_me:$LINENO: checking for C compiler version" >&5
15915 ac_compiler=`set X $ac_compile; echo $2`
15916 { (ac_try="$ac_compiler --version >&5"
15917 case "(($ac_try" in
15918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15919 *) ac_try_echo=$ac_try;;
15921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15922 (eval "$ac_compiler --version >&5") 2>&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); }
15926 { (ac_try="$ac_compiler -v >&5"
15927 case "(($ac_try" in
15928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15929 *) ac_try_echo=$ac_try;;
15931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15932 (eval "$ac_compiler -v >&5") 2>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }
15936 { (ac_try="$ac_compiler -V >&5"
15937 case "(($ac_try" in
15938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15939 *) ac_try_echo=$ac_try;;
15941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15942 (eval "$ac_compiler -V >&5") 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }
15947 cat >conftest.$ac_ext <<_ACEOF
15950 cat confdefs.h >>conftest.$ac_ext
15951 cat >>conftest.$ac_ext <<_ACEOF
15952 /* end confdefs.h. */
15962 ac_clean_files_save=$ac_clean_files
15963 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15964 # Try to create an executable without -o first, disregard a.out.
15965 # It will help us diagnose broken compilers, and finding out an intuition
15967 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15968 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15969 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15971 # List of possible output files, starting from the most likely.
15972 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15973 # only as a last resort. b.out is created by i960 compilers.
15974 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15976 # The IRIX 6 linker writes into existing files which may not be
15977 # executable, retaining their permissions. Remove them first so a
15978 # subsequent execution test works.
15980 for ac_file in $ac_files
15983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15984 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15989 if { (ac_try="$ac_link_default"
15990 case "(($ac_try" in
15991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15992 *) ac_try_echo=$ac_try;;
15994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15995 (eval "$ac_link_default") 2>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; then
15999 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16000 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16001 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16002 # so that the user can short-circuit this test for compilers unknown to
16004 for ac_file in $ac_files ''
16006 test -f "$ac_file" || continue
16008 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16011 # We found the default executable, but exeext='' is most
16015 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16017 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16019 # We set ac_cv_exeext here because the later test for it is not
16020 # safe: cross compilers may not add the suffix if given an `-o'
16021 # argument, so we may need to know it at that point already.
16022 # Even if this section looks crufty: it has the advantage of
16023 # actually working.
16029 test "$ac_cv_exeext" = no && ac_cv_exeext=
16035 { echo "$as_me:$LINENO: result: $ac_file" >&5
16036 echo "${ECHO_T}$ac_file" >&6; }
16037 if test -z "$ac_file"; then
16038 echo "$as_me: failed program was:" >&5
16039 sed 's/^/| /' conftest.$ac_ext >&5
16041 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16042 See \`config.log' for more details." >&5
16043 echo "$as_me: error: C compiler cannot create executables
16044 See \`config.log' for more details." >&2;}
16045 { (exit 77); exit 77; }; }
16048 ac_exeext=$ac_cv_exeext
16050 # Check that the compiler produces executables we can run. If not, either
16051 # the compiler is broken, or we cross compile.
16052 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16053 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16054 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16055 # If not cross compiling, check that we can run a simple program.
16056 if test "$cross_compiling" != yes; then
16057 if { ac_try='./$ac_file'
16058 { (case "(($ac_try" in
16059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16060 *) ac_try_echo=$ac_try;;
16062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16063 (eval "$ac_try") 2>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; }; then
16069 if test "$cross_compiling" = maybe; then
16070 cross_compiling=yes
16072 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16073 If you meant to cross compile, use \`--host'.
16074 See \`config.log' for more details." >&5
16075 echo "$as_me: error: cannot run C compiled programs.
16076 If you meant to cross compile, use \`--host'.
16077 See \`config.log' for more details." >&2;}
16078 { (exit 1); exit 1; }; }
16082 { echo "$as_me:$LINENO: result: yes" >&5
16083 echo "${ECHO_T}yes" >&6; }
16085 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16086 ac_clean_files=$ac_clean_files_save
16087 # Check that the compiler produces executables we can run. If not, either
16088 # the compiler is broken, or we cross compile.
16089 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16090 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16091 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16092 echo "${ECHO_T}$cross_compiling" >&6; }
16094 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16095 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16096 if { (ac_try="$ac_link"
16097 case "(($ac_try" in
16098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16099 *) ac_try_echo=$ac_try;;
16101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16102 (eval "$ac_link") 2>&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); }; then
16106 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16107 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16108 # work properly (i.e., refer to `conftest.exe'), while it won't with
16110 for ac_file in conftest.exe conftest conftest.*; do
16111 test -f "$ac_file" || continue
16113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16114 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16120 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16121 See \`config.log' for more details." >&5
16122 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16123 See \`config.log' for more details." >&2;}
16124 { (exit 1); exit 1; }; }
16127 rm -f conftest$ac_cv_exeext
16128 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16129 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16131 rm -f conftest.$ac_ext
16132 EXEEXT=$ac_cv_exeext
16134 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16135 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16136 if test "${ac_cv_objext+set}" = set; then
16137 echo $ECHO_N "(cached) $ECHO_C" >&6
16139 cat >conftest.$ac_ext <<_ACEOF
16142 cat confdefs.h >>conftest.$ac_ext
16143 cat >>conftest.$ac_ext <<_ACEOF
16144 /* end confdefs.h. */
16154 rm -f conftest.o conftest.obj
16155 if { (ac_try="$ac_compile"
16156 case "(($ac_try" in
16157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16158 *) ac_try_echo=$ac_try;;
16160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16161 (eval "$ac_compile") 2>&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; then
16165 for ac_file in conftest.o conftest.obj conftest.*; do
16166 test -f "$ac_file" || continue;
16168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16169 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16174 echo "$as_me: failed program was:" >&5
16175 sed 's/^/| /' conftest.$ac_ext >&5
16177 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16178 See \`config.log' for more details." >&5
16179 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16180 See \`config.log' for more details." >&2;}
16181 { (exit 1); exit 1; }; }
16184 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16186 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16187 echo "${ECHO_T}$ac_cv_objext" >&6; }
16188 OBJEXT=$ac_cv_objext
16190 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16191 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16192 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16193 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 cat >conftest.$ac_ext <<_ACEOF
16198 cat confdefs.h >>conftest.$ac_ext
16199 cat >>conftest.$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16213 rm -f conftest.$ac_objext
16214 if { (ac_try="$ac_compile"
16215 case "(($ac_try" in
16216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16217 *) ac_try_echo=$ac_try;;
16219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16220 (eval "$ac_compile") 2>conftest.er1
16222 grep -v '^ *+' conftest.er1 >conftest.err
16224 cat conftest.err >&5
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); } && {
16227 test -z "$ac_c_werror_flag" ||
16228 test ! -s conftest.err
16229 } && test -s conftest.$ac_objext; then
16230 ac_compiler_gnu=yes
16232 echo "$as_me: failed program was:" >&5
16233 sed 's/^/| /' conftest.$ac_ext >&5
16238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16239 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16242 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16243 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16244 GCC=`test $ac_compiler_gnu = yes && echo yes`
16245 ac_test_CFLAGS=${CFLAGS+set}
16246 ac_save_CFLAGS=$CFLAGS
16247 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16248 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16249 if test "${ac_cv_prog_cc_g+set}" = set; then
16250 echo $ECHO_N "(cached) $ECHO_C" >&6
16252 ac_save_c_werror_flag=$ac_c_werror_flag
16253 ac_c_werror_flag=yes
16256 cat >conftest.$ac_ext <<_ACEOF
16259 cat confdefs.h >>conftest.$ac_ext
16260 cat >>conftest.$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16271 rm -f conftest.$ac_objext
16272 if { (ac_try="$ac_compile"
16273 case "(($ac_try" in
16274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16275 *) ac_try_echo=$ac_try;;
16277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16278 (eval "$ac_compile") 2>conftest.er1
16280 grep -v '^ *+' conftest.er1 >conftest.err
16282 cat conftest.err >&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } && {
16285 test -z "$ac_c_werror_flag" ||
16286 test ! -s conftest.err
16287 } && test -s conftest.$ac_objext; then
16288 ac_cv_prog_cc_g=yes
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.$ac_ext >&5
16294 cat >conftest.$ac_ext <<_ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16309 rm -f conftest.$ac_objext
16310 if { (ac_try="$ac_compile"
16311 case "(($ac_try" in
16312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16313 *) ac_try_echo=$ac_try;;
16315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16316 (eval "$ac_compile") 2>conftest.er1
16318 grep -v '^ *+' conftest.er1 >conftest.err
16320 cat conftest.err >&5
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); } && {
16323 test -z "$ac_c_werror_flag" ||
16324 test ! -s conftest.err
16325 } && test -s conftest.$ac_objext; then
16328 echo "$as_me: failed program was:" >&5
16329 sed 's/^/| /' conftest.$ac_ext >&5
16331 ac_c_werror_flag=$ac_save_c_werror_flag
16333 cat >conftest.$ac_ext <<_ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16348 rm -f conftest.$ac_objext
16349 if { (ac_try="$ac_compile"
16350 case "(($ac_try" in
16351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16352 *) ac_try_echo=$ac_try;;
16354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16355 (eval "$ac_compile") 2>conftest.er1
16357 grep -v '^ *+' conftest.er1 >conftest.err
16359 cat conftest.err >&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); } && {
16362 test -z "$ac_c_werror_flag" ||
16363 test ! -s conftest.err
16364 } && test -s conftest.$ac_objext; then
16365 ac_cv_prog_cc_g=yes
16367 echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.$ac_ext >&5
16373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16380 ac_c_werror_flag=$ac_save_c_werror_flag
16382 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16383 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16384 if test "$ac_test_CFLAGS" = set; then
16385 CFLAGS=$ac_save_CFLAGS
16386 elif test $ac_cv_prog_cc_g = yes; then
16387 if test "$GCC" = yes; then
16393 if test "$GCC" = yes; then
16399 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16400 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16401 if test "${ac_cv_prog_cc_c89+set}" = set; then
16402 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 ac_cv_prog_cc_c89=no
16406 cat >conftest.$ac_ext <<_ACEOF
16409 cat confdefs.h >>conftest.$ac_ext
16410 cat >>conftest.$ac_ext <<_ACEOF
16411 /* end confdefs.h. */
16412 #include <stdarg.h>
16414 #include <sys/types.h>
16415 #include <sys/stat.h>
16416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16417 struct buf { int x; };
16418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16419 static char *e (p, i)
16425 static char *f (char * (*g) (char **, int), char **p, ...)
16430 s = g (p, va_arg (v,int));
16435 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16436 function prototypes and stuff, but not '\xHH' hex character constants.
16437 These don't provoke an error unfortunately, instead are silently treated
16438 as 'x'. The following induces an error, until -std is added to get
16439 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16440 array size at least. It's necessary to write '\x00'==0 to get something
16441 that's true only with -std. */
16442 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16444 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16445 inside strings and character constants. */
16447 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16449 int test (int i, double x);
16450 struct s1 {int (*f) (int a);};
16451 struct s2 {int (*f) (double a);};
16452 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16458 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16463 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16464 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16466 CC="$ac_save_CC $ac_arg"
16467 rm -f conftest.$ac_objext
16468 if { (ac_try="$ac_compile"
16469 case "(($ac_try" in
16470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16471 *) ac_try_echo=$ac_try;;
16473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16474 (eval "$ac_compile") 2>conftest.er1
16476 grep -v '^ *+' conftest.er1 >conftest.err
16478 cat conftest.err >&5
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); } && {
16481 test -z "$ac_c_werror_flag" ||
16482 test ! -s conftest.err
16483 } && test -s conftest.$ac_objext; then
16484 ac_cv_prog_cc_c89=$ac_arg
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.$ac_ext >&5
16492 rm -f core conftest.err conftest.$ac_objext
16493 test "x$ac_cv_prog_cc_c89" != "xno" && break
16495 rm -f conftest.$ac_ext
16500 case "x$ac_cv_prog_cc_c89" in
16502 { echo "$as_me:$LINENO: result: none needed" >&5
16503 echo "${ECHO_T}none needed" >&6; } ;;
16505 { echo "$as_me:$LINENO: result: unsupported" >&5
16506 echo "${ECHO_T}unsupported" >&6; } ;;
16508 CC="$CC $ac_cv_prog_cc_c89"
16509 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16510 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16515 ac_cpp='$CPP $CPPFLAGS'
16516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16524 ac_cpp='$CPP $CPPFLAGS'
16525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16529 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16530 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16531 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16532 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 cat >conftest.$ac_ext <<_ACEOF
16537 cat confdefs.h >>conftest.$ac_ext
16538 cat >>conftest.$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16545 #ifndef __INTEL_COMPILER
16553 rm -f conftest.$ac_objext
16554 if { (ac_try="$ac_compile"
16555 case "(($ac_try" in
16556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16557 *) ac_try_echo=$ac_try;;
16559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16560 (eval "$ac_compile") 2>conftest.er1
16562 grep -v '^ *+' conftest.er1 >conftest.err
16564 cat conftest.err >&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); } && {
16567 test -z "$ac_c_werror_flag" ||
16568 test ! -s conftest.err
16569 } && test -s conftest.$ac_objext; then
16570 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16572 echo "$as_me: failed program was:" >&5
16573 sed 's/^/| /' conftest.$ac_ext >&5
16575 bakefile_cv_c_compiler___INTEL_COMPILER=no
16579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16583 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16584 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16585 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16591 ac_cpp='$CPP $CPPFLAGS'
16592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16599 if test "x$GCC" != "xyes"; then
16600 if test "xCC" = "xC"; then
16601 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16602 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16603 if test "${bakefile_cv_c_exto+set}" = set; then
16604 echo $ECHO_N "(cached) $ECHO_C" >&6
16606 cat >conftest.$ac_ext <<_ACEOF
16609 cat confdefs.h >>conftest.$ac_ext
16610 cat >>conftest.$ac_ext <<_ACEOF
16611 /* end confdefs.h. */
16621 rm -f conftest.$ac_objext conftest.$ac_ext.o
16622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16623 (eval $ac_compile) 2>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; then
16627 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16629 conftest.$ac_ext.o)
16630 bakefile_cv_c_exto="-ext o"
16637 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16638 See \`config.log' for more details." >&5
16639 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16640 See \`config.log' for more details." >&2;}
16641 { (exit 1); exit 1; }; }
16645 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16648 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16649 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16650 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16651 if test "c" = "c"; then
16652 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16654 if test "c" = "cxx"; then
16655 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16659 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16660 unset ac_cv_prog_cc_g
16661 ac_test_CFLAGS=${CFLAGS+set}
16662 ac_save_CFLAGS=$CFLAGS
16663 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16664 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16665 if test "${ac_cv_prog_cc_g+set}" = set; then
16666 echo $ECHO_N "(cached) $ECHO_C" >&6
16668 ac_save_c_werror_flag=$ac_c_werror_flag
16669 ac_c_werror_flag=yes
16672 cat >conftest.$ac_ext <<_ACEOF
16675 cat confdefs.h >>conftest.$ac_ext
16676 cat >>conftest.$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16687 rm -f conftest.$ac_objext
16688 if { (ac_try="$ac_compile"
16689 case "(($ac_try" in
16690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16691 *) ac_try_echo=$ac_try;;
16693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16694 (eval "$ac_compile") 2>conftest.er1
16696 grep -v '^ *+' conftest.er1 >conftest.err
16698 cat conftest.err >&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); } && {
16701 test -z "$ac_c_werror_flag" ||
16702 test ! -s conftest.err
16703 } && test -s conftest.$ac_objext; then
16704 ac_cv_prog_cc_g=yes
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.$ac_ext >&5
16710 cat >conftest.$ac_ext <<_ACEOF
16713 cat confdefs.h >>conftest.$ac_ext
16714 cat >>conftest.$ac_ext <<_ACEOF
16715 /* end confdefs.h. */
16725 rm -f conftest.$ac_objext
16726 if { (ac_try="$ac_compile"
16727 case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16732 (eval "$ac_compile") 2>conftest.er1
16734 grep -v '^ *+' conftest.er1 >conftest.err
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } && {
16739 test -z "$ac_c_werror_flag" ||
16740 test ! -s conftest.err
16741 } && test -s conftest.$ac_objext; then
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16747 ac_c_werror_flag=$ac_save_c_werror_flag
16749 cat >conftest.$ac_ext <<_ACEOF
16752 cat confdefs.h >>conftest.$ac_ext
16753 cat >>conftest.$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16764 rm -f conftest.$ac_objext
16765 if { (ac_try="$ac_compile"
16766 case "(($ac_try" in
16767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16768 *) ac_try_echo=$ac_try;;
16770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16771 (eval "$ac_compile") 2>conftest.er1
16773 grep -v '^ *+' conftest.er1 >conftest.err
16775 cat conftest.err >&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); } && {
16778 test -z "$ac_c_werror_flag" ||
16779 test ! -s conftest.err
16780 } && test -s conftest.$ac_objext; then
16781 ac_cv_prog_cc_g=yes
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.$ac_ext >&5
16789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16796 ac_c_werror_flag=$ac_save_c_werror_flag
16798 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16799 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16800 if test "$ac_test_CFLAGS" = set; then
16801 CFLAGS=$ac_save_CFLAGS
16802 elif test $ac_cv_prog_cc_g = yes; then
16803 if test "$GCC" = yes; then
16809 if test "$GCC" = yes; then
16823 ac_cpp='$CPP $CPPFLAGS'
16824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16828 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16829 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16830 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 cat >conftest.$ac_ext <<_ACEOF
16836 cat confdefs.h >>conftest.$ac_ext
16837 cat >>conftest.$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16852 rm -f conftest.$ac_objext
16853 if { (ac_try="$ac_compile"
16854 case "(($ac_try" in
16855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16856 *) ac_try_echo=$ac_try;;
16858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16859 (eval "$ac_compile") 2>conftest.er1
16861 grep -v '^ *+' conftest.er1 >conftest.err
16863 cat conftest.err >&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } && {
16866 test -z "$ac_c_werror_flag" ||
16867 test ! -s conftest.err
16868 } && test -s conftest.$ac_objext; then
16869 bakefile_cv_c_compiler___xlC__=yes
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.$ac_ext >&5
16874 bakefile_cv_c_compiler___xlC__=no
16878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16882 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16883 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16884 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16890 ac_cpp='$CPP $CPPFLAGS'
16891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16903 ac_cpp='$CPP $CPPFLAGS'
16904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16908 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16909 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16910 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 cat >conftest.$ac_ext <<_ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16932 rm -f conftest.$ac_objext
16933 if { (ac_try="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16936 *) ac_try_echo=$ac_try;;
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16941 grep -v '^ *+' conftest.er1 >conftest.err
16943 cat conftest.err >&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_c_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.$ac_objext; then
16949 bakefile_cv_c_compiler___MWERKS__=yes
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16954 bakefile_cv_c_compiler___MWERKS__=no
16958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16962 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16963 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16964 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16970 ac_cpp='$CPP $CPPFLAGS'
16971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16980 ac_cpp='$CPP $CPPFLAGS'
16981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16985 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16986 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16987 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16988 echo $ECHO_N "(cached) $ECHO_C" >&6
16990 cat >conftest.$ac_ext <<_ACEOF
16993 cat confdefs.h >>conftest.$ac_ext
16994 cat >>conftest.$ac_ext <<_ACEOF
16995 /* end confdefs.h. */
17009 rm -f conftest.$ac_objext
17010 if { (ac_try="$ac_compile"
17011 case "(($ac_try" in
17012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17013 *) ac_try_echo=$ac_try;;
17015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17016 (eval "$ac_compile") 2>conftest.er1
17018 grep -v '^ *+' conftest.er1 >conftest.err
17020 cat conftest.err >&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); } && {
17023 test -z "$ac_c_werror_flag" ||
17024 test ! -s conftest.err
17025 } && test -s conftest.$ac_objext; then
17026 bakefile_cv_c_compiler___xlC__=yes
17028 echo "$as_me: failed program was:" >&5
17029 sed 's/^/| /' conftest.$ac_ext >&5
17031 bakefile_cv_c_compiler___xlC__=no
17035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17039 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17040 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17041 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17047 ac_cpp='$CPP $CPPFLAGS'
17048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17060 ac_cpp='$CPP $CPPFLAGS'
17061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17065 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17066 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17067 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 cat >conftest.$ac_ext <<_ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17081 #ifndef _SGI_COMPILER_VERSION
17089 rm -f conftest.$ac_objext
17090 if { (ac_try="$ac_compile"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_compile") 2>conftest.er1
17098 grep -v '^ *+' conftest.er1 >conftest.err
17100 cat conftest.err >&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } && {
17103 test -z "$ac_c_werror_flag" ||
17104 test ! -s conftest.err
17105 } && test -s conftest.$ac_objext; then
17106 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17111 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17119 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17120 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17121 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17127 ac_cpp='$CPP $CPPFLAGS'
17128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17140 ac_cpp='$CPP $CPPFLAGS'
17141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17145 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17146 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17147 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17148 echo $ECHO_N "(cached) $ECHO_C" >&6
17150 cat >conftest.$ac_ext <<_ACEOF
17153 cat confdefs.h >>conftest.$ac_ext
17154 cat >>conftest.$ac_ext <<_ACEOF
17155 /* end confdefs.h. */
17169 rm -f conftest.$ac_objext
17170 if { (ac_try="$ac_compile"
17171 case "(($ac_try" in
17172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17173 *) ac_try_echo=$ac_try;;
17175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17176 (eval "$ac_compile") 2>conftest.er1
17178 grep -v '^ *+' conftest.er1 >conftest.err
17180 cat conftest.err >&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); } && {
17183 test -z "$ac_c_werror_flag" ||
17184 test ! -s conftest.err
17185 } && test -s conftest.$ac_objext; then
17186 bakefile_cv_c_compiler___SUNPRO_C=yes
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.$ac_ext >&5
17191 bakefile_cv_c_compiler___SUNPRO_C=no
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17200 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17201 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17207 ac_cpp='$CPP $CPPFLAGS'
17208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17220 ac_cpp='$CPP $CPPFLAGS'
17221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17225 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17226 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17227 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 cat >conftest.$ac_ext <<_ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17249 rm -f conftest.$ac_objext
17250 if { (ac_try="$ac_compile"
17251 case "(($ac_try" in
17252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17253 *) ac_try_echo=$ac_try;;
17255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17256 (eval "$ac_compile") 2>conftest.er1
17258 grep -v '^ *+' conftest.er1 >conftest.err
17260 cat conftest.err >&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } && {
17263 test -z "$ac_c_werror_flag" ||
17264 test ! -s conftest.err
17265 } && test -s conftest.$ac_objext; then
17266 bakefile_cv_c_compiler___HP_cc=yes
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.$ac_ext >&5
17271 bakefile_cv_c_compiler___HP_cc=no
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17279 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17280 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17281 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17287 ac_cpp='$CPP $CPPFLAGS'
17288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17300 ac_cpp='$CPP $CPPFLAGS'
17301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17305 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17306 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17307 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 cat >conftest.$ac_ext <<_ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17329 rm -f conftest.$ac_objext
17330 if { (ac_try="$ac_compile"
17331 case "(($ac_try" in
17332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17336 (eval "$ac_compile") 2>conftest.er1
17338 grep -v '^ *+' conftest.er1 >conftest.err
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } && {
17343 test -z "$ac_c_werror_flag" ||
17344 test ! -s conftest.err
17345 } && test -s conftest.$ac_objext; then
17346 bakefile_cv_c_compiler___DECC=yes
17348 echo "$as_me: failed program was:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17351 bakefile_cv_c_compiler___DECC=no
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17359 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17360 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17361 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17367 ac_cpp='$CPP $CPPFLAGS'
17368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17380 ac_cpp='$CPP $CPPFLAGS'
17381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17385 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17386 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17387 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17388 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 cat >conftest.$ac_ext <<_ACEOF
17393 cat confdefs.h >>conftest.$ac_ext
17394 cat >>conftest.$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17409 rm -f conftest.$ac_objext
17410 if { (ac_try="$ac_compile"
17411 case "(($ac_try" in
17412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17413 *) ac_try_echo=$ac_try;;
17415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17416 (eval "$ac_compile") 2>conftest.er1
17418 grep -v '^ *+' conftest.er1 >conftest.err
17420 cat conftest.err >&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } && {
17423 test -z "$ac_c_werror_flag" ||
17424 test ! -s conftest.err
17425 } && test -s conftest.$ac_objext; then
17426 bakefile_cv_c_compiler___SUNPRO_C=yes
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.$ac_ext >&5
17431 bakefile_cv_c_compiler___SUNPRO_C=no
17435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17439 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17440 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17441 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17447 ac_cpp='$CPP $CPPFLAGS'
17448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17461 ac_cpp='$CPP $CPPFLAGS'
17462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17465 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17466 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17467 # On Suns, sometimes $CPP names a directory.
17468 if test -n "$CPP" && test -d "$CPP"; then
17471 if test -z "$CPP"; then
17472 if test "${ac_cv_prog_CPP+set}" = set; then
17473 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 # Double quotes because CPP needs to be expanded
17476 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17478 ac_preproc_ok=false
17479 for ac_c_preproc_warn_flag in '' yes
17481 # Use a header file that comes with gcc, so configuring glibc
17482 # with a fresh cross-compiler works.
17483 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17484 # <limits.h> exists even on freestanding compilers.
17485 # On the NeXT, cc -E runs the code through the compiler's parser,
17486 # not just through cpp. "Syntax error" is here to catch this case.
17487 cat >conftest.$ac_ext <<_ACEOF
17490 cat confdefs.h >>conftest.$ac_ext
17491 cat >>conftest.$ac_ext <<_ACEOF
17492 /* end confdefs.h. */
17494 # include <limits.h>
17496 # include <assert.h>
17500 if { (ac_try="$ac_cpp conftest.$ac_ext"
17501 case "(($ac_try" in
17502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17503 *) ac_try_echo=$ac_try;;
17505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17508 grep -v '^ *+' conftest.er1 >conftest.err
17510 cat conftest.err >&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } >/dev/null && {
17513 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17514 test ! -s conftest.err
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.$ac_ext >&5
17521 # Broken: fails on valid input.
17525 rm -f conftest.err conftest.$ac_ext
17527 # OK, works on sane cases. Now check whether nonexistent headers
17528 # can be detected and how.
17529 cat >conftest.$ac_ext <<_ACEOF
17532 cat confdefs.h >>conftest.$ac_ext
17533 cat >>conftest.$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17535 #include <ac_nonexistent.h>
17537 if { (ac_try="$ac_cpp conftest.$ac_ext"
17538 case "(($ac_try" in
17539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17540 *) ac_try_echo=$ac_try;;
17542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17545 grep -v '^ *+' conftest.er1 >conftest.err
17547 cat conftest.err >&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); } >/dev/null && {
17550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17551 test ! -s conftest.err
17553 # Broken: success on invalid input.
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.$ac_ext >&5
17559 # Passes both tests.
17564 rm -f conftest.err conftest.$ac_ext
17567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17568 rm -f conftest.err conftest.$ac_ext
17569 if $ac_preproc_ok; then
17574 ac_cv_prog_CPP=$CPP
17577 CPP=$ac_cv_prog_CPP
17579 ac_cv_prog_CPP=$CPP
17581 { echo "$as_me:$LINENO: result: $CPP" >&5
17582 echo "${ECHO_T}$CPP" >&6; }
17583 ac_preproc_ok=false
17584 for ac_c_preproc_warn_flag in '' yes
17586 # Use a header file that comes with gcc, so configuring glibc
17587 # with a fresh cross-compiler works.
17588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17589 # <limits.h> exists even on freestanding compilers.
17590 # On the NeXT, cc -E runs the code through the compiler's parser,
17591 # not just through cpp. "Syntax error" is here to catch this case.
17592 cat >conftest.$ac_ext <<_ACEOF
17595 cat confdefs.h >>conftest.$ac_ext
17596 cat >>conftest.$ac_ext <<_ACEOF
17597 /* end confdefs.h. */
17599 # include <limits.h>
17601 # include <assert.h>
17605 if { (ac_try="$ac_cpp conftest.$ac_ext"
17606 case "(($ac_try" in
17607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17608 *) ac_try_echo=$ac_try;;
17610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17611 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17613 grep -v '^ *+' conftest.er1 >conftest.err
17615 cat conftest.err >&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); } >/dev/null && {
17618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17619 test ! -s conftest.err
17623 echo "$as_me: failed program was:" >&5
17624 sed 's/^/| /' conftest.$ac_ext >&5
17626 # Broken: fails on valid input.
17630 rm -f conftest.err conftest.$ac_ext
17632 # OK, works on sane cases. Now check whether nonexistent headers
17633 # can be detected and how.
17634 cat >conftest.$ac_ext <<_ACEOF
17637 cat confdefs.h >>conftest.$ac_ext
17638 cat >>conftest.$ac_ext <<_ACEOF
17639 /* end confdefs.h. */
17640 #include <ac_nonexistent.h>
17642 if { (ac_try="$ac_cpp conftest.$ac_ext"
17643 case "(($ac_try" in
17644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17645 *) ac_try_echo=$ac_try;;
17647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17650 grep -v '^ *+' conftest.er1 >conftest.err
17652 cat conftest.err >&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); } >/dev/null && {
17655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17656 test ! -s conftest.err
17658 # Broken: success on invalid input.
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.$ac_ext >&5
17664 # Passes both tests.
17669 rm -f conftest.err conftest.$ac_ext
17672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17673 rm -f conftest.err conftest.$ac_ext
17674 if $ac_preproc_ok; then
17677 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17678 See \`config.log' for more details." >&5
17679 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17680 See \`config.log' for more details." >&2;}
17681 { (exit 1); exit 1; }; }
17685 ac_cpp='$CPP $CPPFLAGS'
17686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17691 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17692 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17693 if test "${ac_cv_path_GREP+set}" = set; then
17694 echo $ECHO_N "(cached) $ECHO_C" >&6
17696 # Extract the first word of "grep ggrep" to use in msg output
17697 if test -z "$GREP"; then
17698 set dummy grep ggrep; ac_prog_name=$2
17699 if test "${ac_cv_path_GREP+set}" = set; then
17700 echo $ECHO_N "(cached) $ECHO_C" >&6
17702 ac_path_GREP_found=false
17703 # Loop through the user's path and test for each of PROGNAME-LIST
17704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17705 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17708 test -z "$as_dir" && as_dir=.
17709 for ac_prog in grep ggrep; do
17710 for ac_exec_ext in '' $ac_executable_extensions; do
17711 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17712 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17713 # Check for GNU ac_path_GREP and select it if it is found.
17714 # Check for GNU $ac_path_GREP
17715 case `"$ac_path_GREP" --version 2>&1` in
17717 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17720 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17723 cat "conftest.in" "conftest.in" >"conftest.tmp"
17724 mv "conftest.tmp" "conftest.in"
17725 cp "conftest.in" "conftest.nl"
17726 echo 'GREP' >> "conftest.nl"
17727 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17728 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17729 ac_count=`expr $ac_count + 1`
17730 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17731 # Best one so far, save it but keep looking for a better one
17732 ac_cv_path_GREP="$ac_path_GREP"
17733 ac_path_GREP_max=$ac_count
17735 # 10*(2^10) chars as input seems more than enough
17736 test $ac_count -gt 10 && break
17738 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17742 $ac_path_GREP_found && break 3
17752 GREP="$ac_cv_path_GREP"
17753 if test -z "$GREP"; then
17754 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17755 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17756 { (exit 1); exit 1; }; }
17760 ac_cv_path_GREP=$GREP
17765 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17766 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17767 GREP="$ac_cv_path_GREP"
17770 { echo "$as_me:$LINENO: checking for egrep" >&5
17771 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17772 if test "${ac_cv_path_EGREP+set}" = set; then
17773 echo $ECHO_N "(cached) $ECHO_C" >&6
17775 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17776 then ac_cv_path_EGREP="$GREP -E"
17778 # Extract the first word of "egrep" to use in msg output
17779 if test -z "$EGREP"; then
17780 set dummy egrep; ac_prog_name=$2
17781 if test "${ac_cv_path_EGREP+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 ac_path_EGREP_found=false
17785 # Loop through the user's path and test for each of PROGNAME-LIST
17786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17787 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17790 test -z "$as_dir" && as_dir=.
17791 for ac_prog in egrep; do
17792 for ac_exec_ext in '' $ac_executable_extensions; do
17793 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17794 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17795 # Check for GNU ac_path_EGREP and select it if it is found.
17796 # Check for GNU $ac_path_EGREP
17797 case `"$ac_path_EGREP" --version 2>&1` in
17799 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17802 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17805 cat "conftest.in" "conftest.in" >"conftest.tmp"
17806 mv "conftest.tmp" "conftest.in"
17807 cp "conftest.in" "conftest.nl"
17808 echo 'EGREP' >> "conftest.nl"
17809 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17810 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17811 ac_count=`expr $ac_count + 1`
17812 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17813 # Best one so far, save it but keep looking for a better one
17814 ac_cv_path_EGREP="$ac_path_EGREP"
17815 ac_path_EGREP_max=$ac_count
17817 # 10*(2^10) chars as input seems more than enough
17818 test $ac_count -gt 10 && break
17820 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17824 $ac_path_EGREP_found && break 3
17834 EGREP="$ac_cv_path_EGREP"
17835 if test -z "$EGREP"; then
17836 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17837 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17838 { (exit 1); exit 1; }; }
17842 ac_cv_path_EGREP=$EGREP
17848 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17849 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17850 EGREP="$ac_cv_path_EGREP"
17853 if test $ac_cv_c_compiler_gnu = yes; then
17854 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17855 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17856 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17857 echo $ECHO_N "(cached) $ECHO_C" >&6
17859 ac_pattern="Autoconf.*'x'"
17860 cat >conftest.$ac_ext <<_ACEOF
17863 cat confdefs.h >>conftest.$ac_ext
17864 cat >>conftest.$ac_ext <<_ACEOF
17865 /* end confdefs.h. */
17869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17870 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17871 ac_cv_prog_gcc_traditional=yes
17873 ac_cv_prog_gcc_traditional=no
17878 if test $ac_cv_prog_gcc_traditional = no; then
17879 cat >conftest.$ac_ext <<_ACEOF
17882 cat confdefs.h >>conftest.$ac_ext
17883 cat >>conftest.$ac_ext <<_ACEOF
17884 /* end confdefs.h. */
17885 #include <termio.h>
17888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17889 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17890 ac_cv_prog_gcc_traditional=yes
17896 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17897 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17898 if test $ac_cv_prog_gcc_traditional = yes; then
17899 CC="$CC -traditional"
17904 CXXFLAGS=${CXXFLAGS:=}
17909 ac_cpp='$CXXCPP $CPPFLAGS'
17910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17913 if test -z "$CXX"; then
17914 if test -n "$CCC"; then
17917 if test -n "$ac_tool_prefix"; then
17918 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17924 if test "${ac_cv_prog_CXX+set}" = set; then
17925 echo $ECHO_N "(cached) $ECHO_C" >&6
17927 if test -n "$CXX"; then
17928 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17931 for as_dir in $PATH
17934 test -z "$as_dir" && as_dir=.
17935 for ac_exec_ext in '' $ac_executable_extensions; do
17936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17937 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17947 CXX=$ac_cv_prog_CXX
17948 if test -n "$CXX"; then
17949 { echo "$as_me:$LINENO: result: $CXX" >&5
17950 echo "${ECHO_T}$CXX" >&6; }
17952 { echo "$as_me:$LINENO: result: no" >&5
17953 echo "${ECHO_T}no" >&6; }
17957 test -n "$CXX" && break
17960 if test -z "$CXX"; then
17962 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17964 # Extract the first word of "$ac_prog", so it can be a program name with args.
17965 set dummy $ac_prog; ac_word=$2
17966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17968 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17969 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 if test -n "$ac_ct_CXX"; then
17972 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17975 for as_dir in $PATH
17978 test -z "$as_dir" && as_dir=.
17979 for ac_exec_ext in '' $ac_executable_extensions; do
17980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17981 ac_cv_prog_ac_ct_CXX="$ac_prog"
17982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17991 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17992 if test -n "$ac_ct_CXX"; then
17993 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17994 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17996 { echo "$as_me:$LINENO: result: no" >&5
17997 echo "${ECHO_T}no" >&6; }
18001 test -n "$ac_ct_CXX" && break
18004 if test "x$ac_ct_CXX" = x; then
18007 case $cross_compiling:$ac_tool_warned in
18009 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18010 whose name does not start with the host triplet. If you think this
18011 configuration is useful to you, please write to autoconf@gnu.org." >&5
18012 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18013 whose name does not start with the host triplet. If you think this
18014 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18015 ac_tool_warned=yes ;;
18023 # Provide some information about the compiler.
18024 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18025 ac_compiler=`set X $ac_compile; echo $2`
18026 { (ac_try="$ac_compiler --version >&5"
18027 case "(($ac_try" in
18028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18029 *) ac_try_echo=$ac_try;;
18031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18032 (eval "$ac_compiler --version >&5") 2>&5
18034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); }
18036 { (ac_try="$ac_compiler -v >&5"
18037 case "(($ac_try" in
18038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_compiler -v >&5") 2>&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); }
18046 { (ac_try="$ac_compiler -V >&5"
18047 case "(($ac_try" in
18048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18049 *) ac_try_echo=$ac_try;;
18051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18052 (eval "$ac_compiler -V >&5") 2>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }
18057 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18058 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18059 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18060 echo $ECHO_N "(cached) $ECHO_C" >&6
18062 cat >conftest.$ac_ext <<_ACEOF
18065 cat confdefs.h >>conftest.$ac_ext
18066 cat >>conftest.$ac_ext <<_ACEOF
18067 /* end confdefs.h. */
18080 rm -f conftest.$ac_objext
18081 if { (ac_try="$ac_compile"
18082 case "(($ac_try" in
18083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18084 *) ac_try_echo=$ac_try;;
18086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18087 (eval "$ac_compile") 2>conftest.er1
18089 grep -v '^ *+' conftest.er1 >conftest.err
18091 cat conftest.err >&5
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); } && {
18094 test -z "$ac_cxx_werror_flag" ||
18095 test ! -s conftest.err
18096 } && test -s conftest.$ac_objext; then
18097 ac_compiler_gnu=yes
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.$ac_ext >&5
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18109 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18110 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18111 GXX=`test $ac_compiler_gnu = yes && echo yes`
18112 ac_test_CXXFLAGS=${CXXFLAGS+set}
18113 ac_save_CXXFLAGS=$CXXFLAGS
18114 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18115 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18116 if test "${ac_cv_prog_cxx_g+set}" = set; then
18117 echo $ECHO_N "(cached) $ECHO_C" >&6
18119 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18120 ac_cxx_werror_flag=yes
18121 ac_cv_prog_cxx_g=no
18123 cat >conftest.$ac_ext <<_ACEOF
18126 cat confdefs.h >>conftest.$ac_ext
18127 cat >>conftest.$ac_ext <<_ACEOF
18128 /* end confdefs.h. */
18138 rm -f conftest.$ac_objext
18139 if { (ac_try="$ac_compile"
18140 case "(($ac_try" in
18141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18142 *) ac_try_echo=$ac_try;;
18144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18145 (eval "$ac_compile") 2>conftest.er1
18147 grep -v '^ *+' conftest.er1 >conftest.err
18149 cat conftest.err >&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } && {
18152 test -z "$ac_cxx_werror_flag" ||
18153 test ! -s conftest.err
18154 } && test -s conftest.$ac_objext; then
18155 ac_cv_prog_cxx_g=yes
18157 echo "$as_me: failed program was:" >&5
18158 sed 's/^/| /' conftest.$ac_ext >&5
18161 cat >conftest.$ac_ext <<_ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18176 rm -f conftest.$ac_objext
18177 if { (ac_try="$ac_compile"
18178 case "(($ac_try" in
18179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18180 *) ac_try_echo=$ac_try;;
18182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18183 (eval "$ac_compile") 2>conftest.er1
18185 grep -v '^ *+' conftest.er1 >conftest.err
18187 cat conftest.err >&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); } && {
18190 test -z "$ac_cxx_werror_flag" ||
18191 test ! -s conftest.err
18192 } && test -s conftest.$ac_objext; then
18195 echo "$as_me: failed program was:" >&5
18196 sed 's/^/| /' conftest.$ac_ext >&5
18198 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18200 cat >conftest.$ac_ext <<_ACEOF
18203 cat confdefs.h >>conftest.$ac_ext
18204 cat >>conftest.$ac_ext <<_ACEOF
18205 /* end confdefs.h. */
18215 rm -f conftest.$ac_objext
18216 if { (ac_try="$ac_compile"
18217 case "(($ac_try" in
18218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18219 *) ac_try_echo=$ac_try;;
18221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18222 (eval "$ac_compile") 2>conftest.er1
18224 grep -v '^ *+' conftest.er1 >conftest.err
18226 cat conftest.err >&5
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); } && {
18229 test -z "$ac_cxx_werror_flag" ||
18230 test ! -s conftest.err
18231 } && test -s conftest.$ac_objext; then
18232 ac_cv_prog_cxx_g=yes
18234 echo "$as_me: failed program was:" >&5
18235 sed 's/^/| /' conftest.$ac_ext >&5
18240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18247 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18249 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18250 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18251 if test "$ac_test_CXXFLAGS" = set; then
18252 CXXFLAGS=$ac_save_CXXFLAGS
18253 elif test $ac_cv_prog_cxx_g = yes; then
18254 if test "$GXX" = yes; then
18260 if test "$GXX" = yes; then
18267 ac_cpp='$CPP $CPPFLAGS'
18268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18276 ac_cpp='$CXXCPP $CPPFLAGS'
18277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18281 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18282 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18283 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18284 echo $ECHO_N "(cached) $ECHO_C" >&6
18286 cat >conftest.$ac_ext <<_ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18297 #ifndef __INTEL_COMPILER
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18314 grep -v '^ *+' conftest.er1 >conftest.err
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_cxx_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18327 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18336 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18337 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18343 ac_cpp='$CPP $CPPFLAGS'
18344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18351 if test "x$GCXX" != "xyes"; then
18352 if test "xCXX" = "xC"; then
18353 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18354 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18355 if test "${bakefile_cv_c_exto+set}" = set; then
18356 echo $ECHO_N "(cached) $ECHO_C" >&6
18358 cat >conftest.$ac_ext <<_ACEOF
18361 cat confdefs.h >>conftest.$ac_ext
18362 cat >>conftest.$ac_ext <<_ACEOF
18363 /* end confdefs.h. */
18373 rm -f conftest.$ac_objext conftest.$ac_ext.o
18374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18375 (eval $ac_compile) 2>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); }; then
18379 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18381 conftest.$ac_ext.o)
18382 bakefile_cv_c_exto="-ext o"
18389 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18390 See \`config.log' for more details." >&5
18391 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18392 See \`config.log' for more details." >&2;}
18393 { (exit 1); exit 1; }; }
18397 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18400 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18401 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18402 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18403 if test "c" = "c"; then
18404 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18406 if test "c" = "cxx"; then
18407 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18411 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18412 unset ac_cv_prog_cc_g
18413 ac_test_CFLAGS=${CFLAGS+set}
18414 ac_save_CFLAGS=$CFLAGS
18415 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18416 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18417 if test "${ac_cv_prog_cc_g+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 ac_save_c_werror_flag=$ac_c_werror_flag
18421 ac_c_werror_flag=yes
18424 cat >conftest.$ac_ext <<_ACEOF
18427 cat confdefs.h >>conftest.$ac_ext
18428 cat >>conftest.$ac_ext <<_ACEOF
18429 /* end confdefs.h. */
18439 rm -f conftest.$ac_objext
18440 if { (ac_try="$ac_compile"
18441 case "(($ac_try" in
18442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18443 *) ac_try_echo=$ac_try;;
18445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18446 (eval "$ac_compile") 2>conftest.er1
18448 grep -v '^ *+' conftest.er1 >conftest.err
18450 cat conftest.err >&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); } && {
18453 test -z "$ac_c_werror_flag" ||
18454 test ! -s conftest.err
18455 } && test -s conftest.$ac_objext; then
18456 ac_cv_prog_cc_g=yes
18458 echo "$as_me: failed program was:" >&5
18459 sed 's/^/| /' conftest.$ac_ext >&5
18462 cat >conftest.$ac_ext <<_ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18477 rm -f conftest.$ac_objext
18478 if { (ac_try="$ac_compile"
18479 case "(($ac_try" in
18480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18481 *) ac_try_echo=$ac_try;;
18483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18484 (eval "$ac_compile") 2>conftest.er1
18486 grep -v '^ *+' conftest.er1 >conftest.err
18488 cat conftest.err >&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); } && {
18491 test -z "$ac_c_werror_flag" ||
18492 test ! -s conftest.err
18493 } && test -s conftest.$ac_objext; then
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.$ac_ext >&5
18499 ac_c_werror_flag=$ac_save_c_werror_flag
18501 cat >conftest.$ac_ext <<_ACEOF
18504 cat confdefs.h >>conftest.$ac_ext
18505 cat >>conftest.$ac_ext <<_ACEOF
18506 /* end confdefs.h. */
18516 rm -f conftest.$ac_objext
18517 if { (ac_try="$ac_compile"
18518 case "(($ac_try" in
18519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18520 *) ac_try_echo=$ac_try;;
18522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18523 (eval "$ac_compile") 2>conftest.er1
18525 grep -v '^ *+' conftest.er1 >conftest.err
18527 cat conftest.err >&5
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); } && {
18530 test -z "$ac_c_werror_flag" ||
18531 test ! -s conftest.err
18532 } && test -s conftest.$ac_objext; then
18533 ac_cv_prog_cc_g=yes
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18548 ac_c_werror_flag=$ac_save_c_werror_flag
18550 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18551 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18552 if test "$ac_test_CFLAGS" = set; then
18553 CFLAGS=$ac_save_CFLAGS
18554 elif test $ac_cv_prog_cc_g = yes; then
18555 if test "$GCC" = yes; then
18561 if test "$GCC" = yes; then
18575 ac_cpp='$CXXCPP $CPPFLAGS'
18576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18580 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18581 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18582 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 cat >conftest.$ac_ext <<_ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18604 rm -f conftest.$ac_objext
18605 if { (ac_try="$ac_compile"
18606 case "(($ac_try" in
18607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18608 *) ac_try_echo=$ac_try;;
18610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_compile") 2>conftest.er1
18613 grep -v '^ *+' conftest.er1 >conftest.err
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_cxx_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest.$ac_objext; then
18621 bakefile_cv_cxx_compiler___xlC__=yes
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18626 bakefile_cv_cxx_compiler___xlC__=no
18630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18634 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18635 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18636 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18642 ac_cpp='$CPP $CPPFLAGS'
18643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18655 ac_cpp='$CXXCPP $CPPFLAGS'
18656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18660 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18661 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18662 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18665 cat >conftest.$ac_ext <<_ACEOF
18668 cat confdefs.h >>conftest.$ac_ext
18669 cat >>conftest.$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18684 rm -f conftest.$ac_objext
18685 if { (ac_try="$ac_compile"
18686 case "(($ac_try" in
18687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18688 *) ac_try_echo=$ac_try;;
18690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18691 (eval "$ac_compile") 2>conftest.er1
18693 grep -v '^ *+' conftest.er1 >conftest.err
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } && {
18698 test -z "$ac_cxx_werror_flag" ||
18699 test ! -s conftest.err
18700 } && test -s conftest.$ac_objext; then
18701 bakefile_cv_cxx_compiler___MWERKS__=yes
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18706 bakefile_cv_cxx_compiler___MWERKS__=no
18710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18715 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18716 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18722 ac_cpp='$CPP $CPPFLAGS'
18723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18732 ac_cpp='$CXXCPP $CPPFLAGS'
18733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18737 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18738 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18739 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18740 echo $ECHO_N "(cached) $ECHO_C" >&6
18742 cat >conftest.$ac_ext <<_ACEOF
18745 cat confdefs.h >>conftest.$ac_ext
18746 cat >>conftest.$ac_ext <<_ACEOF
18747 /* end confdefs.h. */
18761 rm -f conftest.$ac_objext
18762 if { (ac_try="$ac_compile"
18763 case "(($ac_try" in
18764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18765 *) ac_try_echo=$ac_try;;
18767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18768 (eval "$ac_compile") 2>conftest.er1
18770 grep -v '^ *+' conftest.er1 >conftest.err
18772 cat conftest.err >&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); } && {
18775 test -z "$ac_cxx_werror_flag" ||
18776 test ! -s conftest.err
18777 } && test -s conftest.$ac_objext; then
18778 bakefile_cv_cxx_compiler___xlC__=yes
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18783 bakefile_cv_cxx_compiler___xlC__=no
18787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18792 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18793 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18799 ac_cpp='$CPP $CPPFLAGS'
18800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18812 ac_cpp='$CXXCPP $CPPFLAGS'
18813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18817 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18818 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18819 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18820 echo $ECHO_N "(cached) $ECHO_C" >&6
18822 cat >conftest.$ac_ext <<_ACEOF
18825 cat confdefs.h >>conftest.$ac_ext
18826 cat >>conftest.$ac_ext <<_ACEOF
18827 /* end confdefs.h. */
18833 #ifndef _SGI_COMPILER_VERSION
18841 rm -f conftest.$ac_objext
18842 if { (ac_try="$ac_compile"
18843 case "(($ac_try" in
18844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18845 *) ac_try_echo=$ac_try;;
18847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18848 (eval "$ac_compile") 2>conftest.er1
18850 grep -v '^ *+' conftest.er1 >conftest.err
18852 cat conftest.err >&5
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); } && {
18855 test -z "$ac_cxx_werror_flag" ||
18856 test ! -s conftest.err
18857 } && test -s conftest.$ac_objext; then
18858 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.$ac_ext >&5
18863 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18872 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18873 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18879 ac_cpp='$CPP $CPPFLAGS'
18880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18892 ac_cpp='$CXXCPP $CPPFLAGS'
18893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18897 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18898 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18899 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 cat >conftest.$ac_ext <<_ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18913 #ifndef __SUNPRO_CC
18921 rm -f conftest.$ac_objext
18922 if { (ac_try="$ac_compile"
18923 case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_compile") 2>conftest.er1
18930 grep -v '^ *+' conftest.er1 >conftest.err
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } && {
18935 test -z "$ac_cxx_werror_flag" ||
18936 test ! -s conftest.err
18937 } && test -s conftest.$ac_objext; then
18938 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18940 echo "$as_me: failed program was:" >&5
18941 sed 's/^/| /' conftest.$ac_ext >&5
18943 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18951 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18952 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18953 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18959 ac_cpp='$CPP $CPPFLAGS'
18960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18972 ac_cpp='$CXXCPP $CPPFLAGS'
18973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18977 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18978 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18979 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 cat >conftest.$ac_ext <<_ACEOF
18985 cat confdefs.h >>conftest.$ac_ext
18986 cat >>conftest.$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
19001 rm -f conftest.$ac_objext
19002 if { (ac_try="$ac_compile"
19003 case "(($ac_try" in
19004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19005 *) ac_try_echo=$ac_try;;
19007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19008 (eval "$ac_compile") 2>conftest.er1
19010 grep -v '^ *+' conftest.er1 >conftest.err
19012 cat conftest.err >&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } && {
19015 test -z "$ac_cxx_werror_flag" ||
19016 test ! -s conftest.err
19017 } && test -s conftest.$ac_objext; then
19018 bakefile_cv_cxx_compiler___HP_aCC=yes
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19023 bakefile_cv_cxx_compiler___HP_aCC=no
19027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19031 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19032 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19033 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19039 ac_cpp='$CPP $CPPFLAGS'
19040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19052 ac_cpp='$CXXCPP $CPPFLAGS'
19053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19057 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19058 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19059 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19062 cat >conftest.$ac_ext <<_ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19081 rm -f conftest.$ac_objext
19082 if { (ac_try="$ac_compile"
19083 case "(($ac_try" in
19084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19085 *) ac_try_echo=$ac_try;;
19087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19088 (eval "$ac_compile") 2>conftest.er1
19090 grep -v '^ *+' conftest.er1 >conftest.err
19092 cat conftest.err >&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } && {
19095 test -z "$ac_cxx_werror_flag" ||
19096 test ! -s conftest.err
19097 } && test -s conftest.$ac_objext; then
19098 bakefile_cv_cxx_compiler___DECCXX=yes
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19103 bakefile_cv_cxx_compiler___DECCXX=no
19107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19111 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19112 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19113 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19119 ac_cpp='$CPP $CPPFLAGS'
19120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19132 ac_cpp='$CXXCPP $CPPFLAGS'
19133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19137 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19138 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19139 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 cat >conftest.$ac_ext <<_ACEOF
19145 cat confdefs.h >>conftest.$ac_ext
19146 cat >>conftest.$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19153 #ifndef __SUNPRO_CC
19161 rm -f conftest.$ac_objext
19162 if { (ac_try="$ac_compile"
19163 case "(($ac_try" in
19164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19165 *) ac_try_echo=$ac_try;;
19167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19168 (eval "$ac_compile") 2>conftest.er1
19170 grep -v '^ *+' conftest.er1 >conftest.err
19172 cat conftest.err >&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); } && {
19175 test -z "$ac_cxx_werror_flag" ||
19176 test ! -s conftest.err
19177 } && test -s conftest.$ac_objext; then
19178 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19180 echo "$as_me: failed program was:" >&5
19181 sed 's/^/| /' conftest.$ac_ext >&5
19183 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19191 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19192 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19193 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19199 ac_cpp='$CPP $CPPFLAGS'
19200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19212 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19213 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19214 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19215 { (exit 1); exit 1; }; }
19218 if test -n "$ac_tool_prefix"; then
19219 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19220 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19223 if test "${ac_cv_prog_RANLIB+set}" = set; then
19224 echo $ECHO_N "(cached) $ECHO_C" >&6
19226 if test -n "$RANLIB"; then
19227 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19230 for as_dir in $PATH
19233 test -z "$as_dir" && as_dir=.
19234 for ac_exec_ext in '' $ac_executable_extensions; do
19235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19236 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19246 RANLIB=$ac_cv_prog_RANLIB
19247 if test -n "$RANLIB"; then
19248 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19249 echo "${ECHO_T}$RANLIB" >&6; }
19251 { echo "$as_me:$LINENO: result: no" >&5
19252 echo "${ECHO_T}no" >&6; }
19257 if test -z "$ac_cv_prog_RANLIB"; then
19258 ac_ct_RANLIB=$RANLIB
19259 # Extract the first word of "ranlib", so it can be a program name with args.
19260 set dummy ranlib; ac_word=$2
19261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19263 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19264 echo $ECHO_N "(cached) $ECHO_C" >&6
19266 if test -n "$ac_ct_RANLIB"; then
19267 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19270 for as_dir in $PATH
19273 test -z "$as_dir" && as_dir=.
19274 for ac_exec_ext in '' $ac_executable_extensions; do
19275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19276 ac_cv_prog_ac_ct_RANLIB="ranlib"
19277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19286 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19287 if test -n "$ac_ct_RANLIB"; then
19288 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19289 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19291 { echo "$as_me:$LINENO: result: no" >&5
19292 echo "${ECHO_T}no" >&6; }
19295 if test "x$ac_ct_RANLIB" = x; then
19298 case $cross_compiling:$ac_tool_warned in
19300 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19301 whose name does not start with the host triplet. If you think this
19302 configuration is useful to you, please write to autoconf@gnu.org." >&5
19303 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19304 whose name does not start with the host triplet. If you think this
19305 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19306 ac_tool_warned=yes ;;
19308 RANLIB=$ac_ct_RANLIB
19311 RANLIB="$ac_cv_prog_RANLIB"
19315 if test "x$SUNCXX" != xyes; then
19316 if test -n "$ac_tool_prefix"; then
19317 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19318 set dummy ${ac_tool_prefix}ar; ac_word=$2
19319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19321 if test "${ac_cv_prog_AR+set}" = set; then
19322 echo $ECHO_N "(cached) $ECHO_C" >&6
19324 if test -n "$AR"; then
19325 ac_cv_prog_AR="$AR" # Let the user override the test.
19327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19328 for as_dir in $PATH
19331 test -z "$as_dir" && as_dir=.
19332 for ac_exec_ext in '' $ac_executable_extensions; do
19333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19334 ac_cv_prog_AR="${ac_tool_prefix}ar"
19335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19345 if test -n "$AR"; then
19346 { echo "$as_me:$LINENO: result: $AR" >&5
19347 echo "${ECHO_T}$AR" >&6; }
19349 { echo "$as_me:$LINENO: result: no" >&5
19350 echo "${ECHO_T}no" >&6; }
19355 if test -z "$ac_cv_prog_AR"; then
19357 # Extract the first word of "ar", so it can be a program name with args.
19358 set dummy ar; ac_word=$2
19359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19361 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19362 echo $ECHO_N "(cached) $ECHO_C" >&6
19364 if test -n "$ac_ct_AR"; then
19365 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19368 for as_dir in $PATH
19371 test -z "$as_dir" && as_dir=.
19372 for ac_exec_ext in '' $ac_executable_extensions; do
19373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19374 ac_cv_prog_ac_ct_AR="ar"
19375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19384 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19385 if test -n "$ac_ct_AR"; then
19386 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19387 echo "${ECHO_T}$ac_ct_AR" >&6; }
19389 { echo "$as_me:$LINENO: result: no" >&5
19390 echo "${ECHO_T}no" >&6; }
19393 if test "x$ac_ct_AR" = x; then
19396 case $cross_compiling:$ac_tool_warned in
19398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19399 whose name does not start with the host triplet. If you think this
19400 configuration is useful to you, please write to autoconf@gnu.org." >&5
19401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19402 whose name does not start with the host triplet. If you think this
19403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19404 ac_tool_warned=yes ;;
19409 AR="$ac_cv_prog_AR"
19412 if test "x$AR" = "x" ; then
19413 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19414 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19415 { (exit 1); exit 1; }; }
19419 # Find a good install program. We prefer a C program (faster),
19420 # so one script is as good as another. But avoid the broken or
19421 # incompatible versions:
19422 # SysV /etc/install, /usr/sbin/install
19423 # SunOS /usr/etc/install
19424 # IRIX /sbin/install
19426 # AmigaOS /C/install, which installs bootblocks on floppy discs
19427 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19428 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19429 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19430 # OS/2's system install, which has a completely different semantic
19431 # ./install, which can be erroneously created by make from ./install.sh.
19432 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19433 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19434 if test -z "$INSTALL"; then
19435 if test "${ac_cv_path_install+set}" = set; then
19436 echo $ECHO_N "(cached) $ECHO_C" >&6
19438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19439 for as_dir in $PATH
19442 test -z "$as_dir" && as_dir=.
19443 # Account for people who put trailing slashes in PATH elements.
19445 ./ | .// | /cC/* | \
19446 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19447 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19450 # OSF1 and SCO ODT 3.0 have their own names for install.
19451 # Don't use installbsd from OSF since it installs stuff as root
19453 for ac_prog in ginstall scoinst install; do
19454 for ac_exec_ext in '' $ac_executable_extensions; do
19455 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19456 if test $ac_prog = install &&
19457 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19458 # AIX install. It has an incompatible calling convention.
19460 elif test $ac_prog = install &&
19461 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19462 # program-specific install script used by HP pwplus--don't use.
19465 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19478 if test "${ac_cv_path_install+set}" = set; then
19479 INSTALL=$ac_cv_path_install
19481 # As a last resort, use the slow shell script. Don't cache a
19482 # value for INSTALL within a source directory, because that will
19483 # break other packages using the cache if that directory is
19484 # removed, or if the value is a relative name.
19485 INSTALL=$ac_install_sh
19488 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19489 echo "${ECHO_T}$INSTALL" >&6; }
19491 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19492 # It thinks the first close brace ends the variable substitution.
19493 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19495 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19497 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19503 ?:* ) # Drive letter, considered as absolute.
19506 INSTALL=`pwd`/${INSTALL} ;;
19513 INSTALL_PROGRAM="cp -fp"
19514 INSTALL_DATA="cp -fp"
19520 if test -n "$ac_tool_prefix"; then
19521 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19522 set dummy ${ac_tool_prefix}strip; ac_word=$2
19523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19525 if test "${ac_cv_prog_STRIP+set}" = set; then
19526 echo $ECHO_N "(cached) $ECHO_C" >&6
19528 if test -n "$STRIP"; then
19529 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19532 for as_dir in $PATH
19535 test -z "$as_dir" && as_dir=.
19536 for ac_exec_ext in '' $ac_executable_extensions; do
19537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19538 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19548 STRIP=$ac_cv_prog_STRIP
19549 if test -n "$STRIP"; then
19550 { echo "$as_me:$LINENO: result: $STRIP" >&5
19551 echo "${ECHO_T}$STRIP" >&6; }
19553 { echo "$as_me:$LINENO: result: no" >&5
19554 echo "${ECHO_T}no" >&6; }
19559 if test -z "$ac_cv_prog_STRIP"; then
19561 # Extract the first word of "strip", so it can be a program name with args.
19562 set dummy strip; ac_word=$2
19563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19565 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19566 echo $ECHO_N "(cached) $ECHO_C" >&6
19568 if test -n "$ac_ct_STRIP"; then
19569 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19572 for as_dir in $PATH
19575 test -z "$as_dir" && as_dir=.
19576 for ac_exec_ext in '' $ac_executable_extensions; do
19577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19578 ac_cv_prog_ac_ct_STRIP="strip"
19579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19588 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19589 if test -n "$ac_ct_STRIP"; then
19590 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19591 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19593 { echo "$as_me:$LINENO: result: no" >&5
19594 echo "${ECHO_T}no" >&6; }
19597 if test "x$ac_ct_STRIP" = x; then
19600 case $cross_compiling:$ac_tool_warned in
19602 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19603 whose name does not start with the host triplet. If you think this
19604 configuration is useful to you, please write to autoconf@gnu.org." >&5
19605 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19606 whose name does not start with the host triplet. If you think this
19607 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19608 ac_tool_warned=yes ;;
19613 STRIP="$ac_cv_prog_STRIP"
19617 if test "$wxUSE_WINE" = "yes"; then
19618 if test -n "$ac_tool_prefix"; then
19619 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19620 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19623 if test "${ac_cv_prog_WINDRES+set}" = set; then
19624 echo $ECHO_N "(cached) $ECHO_C" >&6
19626 if test -n "$WINDRES"; then
19627 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19630 for as_dir in $PATH
19633 test -z "$as_dir" && as_dir=.
19634 for ac_exec_ext in '' $ac_executable_extensions; do
19635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19636 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19646 WINDRES=$ac_cv_prog_WINDRES
19647 if test -n "$WINDRES"; then
19648 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19649 echo "${ECHO_T}$WINDRES" >&6; }
19651 { echo "$as_me:$LINENO: result: no" >&5
19652 echo "${ECHO_T}no" >&6; }
19657 if test -z "$ac_cv_prog_WINDRES"; then
19658 ac_ct_WINDRES=$WINDRES
19659 # Extract the first word of "wrc", so it can be a program name with args.
19660 set dummy wrc; ac_word=$2
19661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19663 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19664 echo $ECHO_N "(cached) $ECHO_C" >&6
19666 if test -n "$ac_ct_WINDRES"; then
19667 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19670 for as_dir in $PATH
19673 test -z "$as_dir" && as_dir=.
19674 for ac_exec_ext in '' $ac_executable_extensions; do
19675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19676 ac_cv_prog_ac_ct_WINDRES="wrc"
19677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19686 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19687 if test -n "$ac_ct_WINDRES"; then
19688 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19689 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19691 { echo "$as_me:$LINENO: result: no" >&5
19692 echo "${ECHO_T}no" >&6; }
19695 if test "x$ac_ct_WINDRES" = x; then
19698 case $cross_compiling:$ac_tool_warned in
19700 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19701 whose name does not start with the host triplet. If you think this
19702 configuration is useful to you, please write to autoconf@gnu.org." >&5
19703 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19704 whose name does not start with the host triplet. If you think this
19705 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19706 ac_tool_warned=yes ;;
19708 WINDRES=$ac_ct_WINDRES
19711 WINDRES="$ac_cv_prog_WINDRES"
19717 *-*-cygwin* | *-*-mingw32* )
19718 if test -n "$ac_tool_prefix"; then
19719 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19720 set dummy ${ac_tool_prefix}windres; ac_word=$2
19721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19723 if test "${ac_cv_prog_WINDRES+set}" = set; then
19724 echo $ECHO_N "(cached) $ECHO_C" >&6
19726 if test -n "$WINDRES"; then
19727 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19730 for as_dir in $PATH
19733 test -z "$as_dir" && as_dir=.
19734 for ac_exec_ext in '' $ac_executable_extensions; do
19735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19736 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19746 WINDRES=$ac_cv_prog_WINDRES
19747 if test -n "$WINDRES"; then
19748 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19749 echo "${ECHO_T}$WINDRES" >&6; }
19751 { echo "$as_me:$LINENO: result: no" >&5
19752 echo "${ECHO_T}no" >&6; }
19757 if test -z "$ac_cv_prog_WINDRES"; then
19758 ac_ct_WINDRES=$WINDRES
19759 # Extract the first word of "windres", so it can be a program name with args.
19760 set dummy windres; ac_word=$2
19761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19763 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19764 echo $ECHO_N "(cached) $ECHO_C" >&6
19766 if test -n "$ac_ct_WINDRES"; then
19767 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19770 for as_dir in $PATH
19773 test -z "$as_dir" && as_dir=.
19774 for ac_exec_ext in '' $ac_executable_extensions; do
19775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19776 ac_cv_prog_ac_ct_WINDRES="windres"
19777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19786 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19787 if test -n "$ac_ct_WINDRES"; then
19788 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19789 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19791 { echo "$as_me:$LINENO: result: no" >&5
19792 echo "${ECHO_T}no" >&6; }
19795 if test "x$ac_ct_WINDRES" = x; then
19798 case $cross_compiling:$ac_tool_warned in
19800 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19801 whose name does not start with the host triplet. If you think this
19802 configuration is useful to you, please write to autoconf@gnu.org." >&5
19803 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19804 whose name does not start with the host triplet. If you think this
19805 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19806 ac_tool_warned=yes ;;
19808 WINDRES=$ac_ct_WINDRES
19811 WINDRES="$ac_cv_prog_WINDRES"
19815 if test -n "$ac_tool_prefix"; then
19816 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19817 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19820 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19821 echo $ECHO_N "(cached) $ECHO_C" >&6
19823 if test -n "$DLLTOOL"; then
19824 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19827 for as_dir in $PATH
19830 test -z "$as_dir" && as_dir=.
19831 for ac_exec_ext in '' $ac_executable_extensions; do
19832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19833 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19843 DLLTOOL=$ac_cv_prog_DLLTOOL
19844 if test -n "$DLLTOOL"; then
19845 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19846 echo "${ECHO_T}$DLLTOOL" >&6; }
19848 { echo "$as_me:$LINENO: result: no" >&5
19849 echo "${ECHO_T}no" >&6; }
19854 if test -z "$ac_cv_prog_DLLTOOL"; then
19855 ac_ct_DLLTOOL=$DLLTOOL
19856 # Extract the first word of "dlltool", so it can be a program name with args.
19857 set dummy dlltool; ac_word=$2
19858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19860 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
19861 echo $ECHO_N "(cached) $ECHO_C" >&6
19863 if test -n "$ac_ct_DLLTOOL"; then
19864 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
19866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19867 for as_dir in $PATH
19870 test -z "$as_dir" && as_dir=.
19871 for ac_exec_ext in '' $ac_executable_extensions; do
19872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19873 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
19874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19883 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
19884 if test -n "$ac_ct_DLLTOOL"; then
19885 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
19886 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
19888 { echo "$as_me:$LINENO: result: no" >&5
19889 echo "${ECHO_T}no" >&6; }
19892 if test "x$ac_ct_DLLTOOL" = x; then
19895 case $cross_compiling:$ac_tool_warned in
19897 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19898 whose name does not start with the host triplet. If you think this
19899 configuration is useful to you, please write to autoconf@gnu.org." >&5
19900 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19901 whose name does not start with the host triplet. If you think this
19902 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19903 ac_tool_warned=yes ;;
19905 DLLTOOL=$ac_ct_DLLTOOL
19908 DLLTOOL="$ac_cv_prog_DLLTOOL"
19915 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
19916 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
19917 if test "${wx_cv_prog_makeisgnu+set}" = set; then
19918 echo $ECHO_N "(cached) $ECHO_C" >&6
19921 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
19922 $EGREP -s GNU > /dev/null); then
19923 wx_cv_prog_makeisgnu="yes"
19925 wx_cv_prog_makeisgnu="no"
19929 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
19930 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
19932 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
19940 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
19941 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
19942 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
19943 if test "${wx_cv_prog_makevpath+set}" = set; then
19944 echo $ECHO_N "(cached) $ECHO_C" >&6
19947 cat - << EOF > confMake
19953 if test ! -d sub ; then
19956 echo dummy > sub/file
19957 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
19959 rm -f sub/file check final_file confMake
19961 if test "$RESULT" = 0; then
19962 wx_cv_prog_makevpath="yes"
19964 wx_cv_prog_makevpath="no"
19968 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
19969 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
19971 if test "x$wx_cv_prog_makevpath" != "xyes"; then
19972 { { echo "$as_me:$LINENO: error:
19973 You need a make-utility that is able to use the variable
19975 If your version of make does not support VPATH correctly,
19976 please install GNU-make (possibly as gmake), and start
19977 configure with the following command:
19978 export MAKE=gmake; ./configure for sh-type shells
19979 setenv MAKE gmake; ./configure for csh-type shells
19980 Also please do remember to use gmake in this case every time
19981 you are trying to compile.
19983 echo "$as_me: error:
19984 You need a make-utility that is able to use the variable
19986 If your version of make does not support VPATH correctly,
19987 please install GNU-make (possibly as gmake), and start
19988 configure with the following command:
19989 export MAKE=gmake; ./configure for sh-type shells
19990 setenv MAKE gmake; ./configure for csh-type shells
19991 Also please do remember to use gmake in this case every time
19992 you are trying to compile.
19994 { (exit 1); exit 1; }; }
19996 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
19997 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
19999 if test "$LN_S" = "ln -s"; then
20000 { echo "$as_me:$LINENO: result: yes" >&5
20001 echo "${ECHO_T}yes" >&6; }
20003 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20004 echo "${ECHO_T}no, using $LN_S" >&6; }
20010 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20011 CXXFLAGS="-qunique $CXXFLAGS"
20015 powerpc-*-darwin* )
20016 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20017 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20018 cat >conftest.$ac_ext <<_ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20028 #ifndef __POWERPC__
20029 choke me for lack of PowerPC
20036 rm -f conftest.$ac_objext
20037 if { (ac_try="$ac_compile"
20038 case "(($ac_try" in
20039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20040 *) ac_try_echo=$ac_try;;
20042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20043 (eval "$ac_compile") 2>conftest.er1
20045 grep -v '^ *+' conftest.er1 >conftest.err
20047 cat conftest.err >&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); } && {
20050 test -z "$ac_c_werror_flag" ||
20051 test ! -s conftest.err
20052 } && test -s conftest.$ac_objext; then
20053 { echo "$as_me:$LINENO: result: yes" >&5
20054 echo "${ECHO_T}yes" >&6; }
20056 echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.$ac_ext >&5
20059 { echo "$as_me:$LINENO: result: no" >&5
20060 echo "${ECHO_T}no" >&6; }
20061 cat >>confdefs.h <<\_ACEOF
20062 #define __POWERPC__ 1
20068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20074 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20075 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20076 cat >conftest.$ac_ext <<_ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 #include <CoreFoundation/CFBase.h>
20092 rm -f conftest.$ac_objext
20093 if { (ac_try="$ac_compile"
20094 case "(($ac_try" in
20095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_compile") 2>conftest.er1
20101 grep -v '^ *+' conftest.er1 >conftest.err
20103 cat conftest.err >&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } && {
20106 test -z "$ac_c_werror_flag" ||
20107 test ! -s conftest.err
20108 } && test -s conftest.$ac_objext; then
20109 { echo "$as_me:$LINENO: result: yes" >&5
20110 echo "${ECHO_T}yes" >&6; }
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.$ac_ext >&5
20115 { echo "$as_me:$LINENO: result: no" >&5
20116 echo "${ECHO_T}no" >&6; }
20117 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20118 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20119 cat >conftest.$ac_ext <<_ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 #define __CF_USE_FRAMEWORK_INCLUDES__
20126 #include <CoreFoundation/CFBase.h>
20136 rm -f conftest.$ac_objext
20137 if { (ac_try="$ac_compile"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_compile") 2>conftest.er1
20145 grep -v '^ *+' conftest.er1 >conftest.err
20147 cat conftest.err >&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_c_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest.$ac_objext; then
20153 { echo "$as_me:$LINENO: result: yes" >&5
20154 echo "${ECHO_T}yes" >&6; }
20155 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20157 echo "$as_me: failed program was:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20160 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20161 See \`config.log' for more details." >&5
20162 echo "$as_me: error: no. CoreFoundation not available.
20163 See \`config.log' for more details." >&2;}
20164 { (exit 1); exit 1; }; }
20168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178 doesnt_want_win32=0
20181 if test "$wxUSE_MSW" = 1 ; then
20184 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20185 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20186 if test "${wx_cv_nocygwin+set}" = set; then
20187 echo $ECHO_N "(cached) $ECHO_C" >&6
20190 cat >conftest.$ac_ext <<_ACEOF
20193 cat confdefs.h >>conftest.$ac_ext
20194 cat >>conftest.$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20209 rm -f conftest.$ac_objext
20210 if { (ac_try="$ac_compile"
20211 case "(($ac_try" in
20212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20213 *) ac_try_echo=$ac_try;;
20215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20216 (eval "$ac_compile") 2>conftest.er1
20218 grep -v '^ *+' conftest.er1 >conftest.err
20220 cat conftest.err >&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } && {
20223 test -z "$ac_c_werror_flag" ||
20224 test ! -s conftest.err
20225 } && test -s conftest.$ac_objext; then
20228 echo "$as_me: failed program was:" >&5
20229 sed 's/^/| /' conftest.$ac_ext >&5
20235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20239 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20240 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20242 if test "$wx_cv_nocygwin" = "yes"; then
20245 doesnt_want_win32=1
20248 if test "$wants_win32" = 1 ; then
20249 BAKEFILE_FORCE_PLATFORM=win32
20257 if test "$wxUSE_WINE" = "yes"; then
20259 LDFLAGS_GUI="-mwindows"
20262 if test "$wants_win32" = 1 ; then
20265 cat >>confdefs.h <<\_ACEOF
20266 #define __WIN32__ 1
20269 cat >>confdefs.h <<\_ACEOF
20270 #define __WIN95__ 1
20273 cat >>confdefs.h <<\_ACEOF
20274 #define __WINDOWS__ 1
20277 cat >>confdefs.h <<\_ACEOF
20278 #define __GNUWIN32__ 1
20281 cat >>confdefs.h <<\_ACEOF
20286 if test "$doesnt_want_win32" = 1 ; then
20291 if test "$USE_UNIX" = 1 ; then
20293 cat >>confdefs.h <<\_ACEOF
20300 *-pc-os2_emx | *-pc-os2-emx )
20301 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20302 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20303 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20304 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20305 echo $ECHO_N "(cached) $ECHO_C" >&6
20307 ac_check_lib_save_LIBS=$LIBS
20308 LIBS="-lcExt $LIBS"
20309 cat >conftest.$ac_ext <<_ACEOF
20312 cat confdefs.h >>conftest.$ac_ext
20313 cat >>conftest.$ac_ext <<_ACEOF
20314 /* end confdefs.h. */
20316 /* Override any GCC internal prototype to avoid an error.
20317 Use char because int might match the return type of a GCC
20318 builtin and then its argument prototype would still apply. */
20331 rm -f conftest.$ac_objext conftest$ac_exeext
20332 if { (ac_try="$ac_link"
20333 case "(($ac_try" in
20334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20335 *) ac_try_echo=$ac_try;;
20337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20338 (eval "$ac_link") 2>conftest.er1
20340 grep -v '^ *+' conftest.er1 >conftest.err
20342 cat conftest.err >&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } && {
20345 test -z "$ac_c_werror_flag" ||
20346 test ! -s conftest.err
20347 } && test -s conftest$ac_exeext &&
20348 $as_test_x conftest$ac_exeext; then
20349 ac_cv_lib_cExt_drand48=yes
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.$ac_ext >&5
20354 ac_cv_lib_cExt_drand48=no
20357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20358 conftest$ac_exeext conftest.$ac_ext
20359 LIBS=$ac_check_lib_save_LIBS
20361 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20362 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20363 if test $ac_cv_lib_cExt_drand48 = yes; then
20364 LIBS="$LIBS -lcExt"
20368 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20370 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20371 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20372 if test "${wx_cv_gccversion+set}" = set; then
20373 echo $ECHO_N "(cached) $ECHO_C" >&6
20376 if test "$cross_compiling" = yes; then
20377 wx_cv_gccversion="EMX2"
20380 cat >conftest.$ac_ext <<_ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20391 FILE *f=fopen("conftestval", "w");
20396 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20398 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20408 rm -f conftest$ac_exeext
20409 if { (ac_try="$ac_link"
20410 case "(($ac_try" in
20411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20412 *) ac_try_echo=$ac_try;;
20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20415 (eval "$ac_link") 2>&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20419 { (case "(($ac_try" in
20420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20421 *) ac_try_echo=$ac_try;;
20423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20424 (eval "$ac_try") 2>&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); }; }; then
20428 wx_cv_gccversion=`cat conftestval`
20430 echo "$as_me: program exited with status $ac_status" >&5
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.$ac_ext >&5
20434 ( exit $ac_status )
20435 wx_cv_gccversion="EMX2"
20437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20443 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20444 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20445 if test "$wx_cv_gccversion" = "EMX2"; then
20446 LIBS="$LIBS -lstdcpp"
20447 LDFLAGS="$LDFLAGS -Zsysv-signals"
20449 if test "$wx_cv_gccversion" = "EMX3"; then
20450 LIBS="$LIBS -lstdcxx -lgcc"
20451 LDFLAGS="$LDFLAGS -Zsysv-signals"
20453 LIBS="$LIBS -lstdc++"
20456 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20457 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20458 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20465 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20466 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20467 if test "${ac_cv_string_strcasecmp+set}" = set; then
20468 echo $ECHO_N "(cached) $ECHO_C" >&6
20471 cat >conftest.$ac_ext <<_ACEOF
20474 cat confdefs.h >>conftest.$ac_ext
20475 cat >>conftest.$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20478 #include <string.h>
20484 strcasecmp("foo", "bar");
20490 rm -f conftest.$ac_objext conftest$ac_exeext
20491 if { (ac_try="$ac_link"
20492 case "(($ac_try" in
20493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20494 *) ac_try_echo=$ac_try;;
20496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20497 (eval "$ac_link") 2>conftest.er1
20499 grep -v '^ *+' conftest.er1 >conftest.err
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } && {
20504 test -z "$ac_c_werror_flag" ||
20505 test ! -s conftest.err
20506 } && test -s conftest$ac_exeext &&
20507 $as_test_x conftest$ac_exeext; then
20508 ac_cv_string_strcasecmp=yes
20510 echo "$as_me: failed program was:" >&5
20511 sed 's/^/| /' conftest.$ac_ext >&5
20513 ac_cv_string_strcasecmp=no
20517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20518 conftest$ac_exeext conftest.$ac_ext
20521 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20522 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20524 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20525 cat >>confdefs.h <<\_ACEOF
20526 #define HAVE_STRCASECMP_IN_STRING_H 1
20530 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20531 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20532 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20533 echo $ECHO_N "(cached) $ECHO_C" >&6
20536 cat >conftest.$ac_ext <<_ACEOF
20539 cat confdefs.h >>conftest.$ac_ext
20540 cat >>conftest.$ac_ext <<_ACEOF
20541 /* end confdefs.h. */
20543 #include <strings.h>
20549 strcasecmp("foo", "bar");
20555 rm -f conftest.$ac_objext conftest$ac_exeext
20556 if { (ac_try="$ac_link"
20557 case "(($ac_try" in
20558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20559 *) ac_try_echo=$ac_try;;
20561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20562 (eval "$ac_link") 2>conftest.er1
20564 grep -v '^ *+' conftest.er1 >conftest.err
20566 cat conftest.err >&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } && {
20569 test -z "$ac_c_werror_flag" ||
20570 test ! -s conftest.err
20571 } && test -s conftest$ac_exeext &&
20572 $as_test_x conftest$ac_exeext; then
20573 ac_cv_strings_strcasecmp=yes
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5
20578 ac_cv_strings_strcasecmp=no
20582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20583 conftest$ac_exeext conftest.$ac_ext
20586 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20587 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20589 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20590 cat >>confdefs.h <<\_ACEOF
20591 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20595 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20596 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20597 { (exit 1); exit 1; }; }
20605 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20606 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20607 if test "${ac_cv_header_stdc+set}" = set; then
20608 echo $ECHO_N "(cached) $ECHO_C" >&6
20610 cat >conftest.$ac_ext <<_ACEOF
20613 cat confdefs.h >>conftest.$ac_ext
20614 cat >>conftest.$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20616 #include <stdlib.h>
20617 #include <stdarg.h>
20618 #include <string.h>
20629 rm -f conftest.$ac_objext
20630 if { (ac_try="$ac_compile"
20631 case "(($ac_try" in
20632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20633 *) ac_try_echo=$ac_try;;
20635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20636 (eval "$ac_compile") 2>conftest.er1
20638 grep -v '^ *+' conftest.er1 >conftest.err
20640 cat conftest.err >&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } && {
20643 test -z "$ac_c_werror_flag" ||
20644 test ! -s conftest.err
20645 } && test -s conftest.$ac_objext; then
20646 ac_cv_header_stdc=yes
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20651 ac_cv_header_stdc=no
20654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20656 if test $ac_cv_header_stdc = yes; then
20657 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20658 cat >conftest.$ac_ext <<_ACEOF
20661 cat confdefs.h >>conftest.$ac_ext
20662 cat >>conftest.$ac_ext <<_ACEOF
20663 /* end confdefs.h. */
20664 #include <string.h>
20667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20668 $EGREP "memchr" >/dev/null 2>&1; then
20671 ac_cv_header_stdc=no
20677 if test $ac_cv_header_stdc = yes; then
20678 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20679 cat >conftest.$ac_ext <<_ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 #include <stdlib.h>
20688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20689 $EGREP "free" >/dev/null 2>&1; then
20692 ac_cv_header_stdc=no
20698 if test $ac_cv_header_stdc = yes; then
20699 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20700 if test "$cross_compiling" = yes; then
20703 cat >conftest.$ac_ext <<_ACEOF
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20710 #include <stdlib.h>
20711 #if ((' ' & 0x0FF) == 0x020)
20712 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20713 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20715 # define ISLOWER(c) \
20716 (('a' <= (c) && (c) <= 'i') \
20717 || ('j' <= (c) && (c) <= 'r') \
20718 || ('s' <= (c) && (c) <= 'z'))
20719 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20722 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20727 for (i = 0; i < 256; i++)
20728 if (XOR (islower (i), ISLOWER (i))
20729 || toupper (i) != TOUPPER (i))
20734 rm -f conftest$ac_exeext
20735 if { (ac_try="$ac_link"
20736 case "(($ac_try" in
20737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20738 *) ac_try_echo=$ac_try;;
20740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20741 (eval "$ac_link") 2>&5
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20745 { (case "(($ac_try" in
20746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20747 *) ac_try_echo=$ac_try;;
20749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20750 (eval "$ac_try") 2>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20756 echo "$as_me: program exited with status $ac_status" >&5
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20760 ( exit $ac_status )
20761 ac_cv_header_stdc=no
20763 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20769 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20770 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20771 if test $ac_cv_header_stdc = yes; then
20773 cat >>confdefs.h <<\_ACEOF
20774 #define STDC_HEADERS 1
20779 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20789 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20790 inttypes.h stdint.h unistd.h
20792 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20793 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20795 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20796 echo $ECHO_N "(cached) $ECHO_C" >&6
20798 cat >conftest.$ac_ext <<_ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 $ac_includes_default
20806 #include <$ac_header>
20808 rm -f conftest.$ac_objext
20809 if { (ac_try="$ac_compile"
20810 case "(($ac_try" in
20811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20812 *) ac_try_echo=$ac_try;;
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20815 (eval "$ac_compile") 2>conftest.er1
20817 grep -v '^ *+' conftest.er1 >conftest.err
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } && {
20822 test -z "$ac_c_werror_flag" ||
20823 test ! -s conftest.err
20824 } && test -s conftest.$ac_objext; then
20825 eval "$as_ac_Header=yes"
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.$ac_ext >&5
20830 eval "$as_ac_Header=no"
20833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20835 ac_res=`eval echo '${'$as_ac_Header'}'`
20836 { echo "$as_me:$LINENO: result: $ac_res" >&5
20837 echo "${ECHO_T}$ac_res" >&6; }
20838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20839 cat >>confdefs.h <<_ACEOF
20840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20854 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20856 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20857 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20859 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20860 echo $ECHO_N "(cached) $ECHO_C" >&6
20862 cat >conftest.$ac_ext <<_ACEOF
20865 cat confdefs.h >>conftest.$ac_ext
20866 cat >>conftest.$ac_ext <<_ACEOF
20867 /* end confdefs.h. */
20868 $ac_includes_default
20870 #include <$ac_header>
20872 rm -f conftest.$ac_objext
20873 if { (ac_try="$ac_compile"
20874 case "(($ac_try" in
20875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20876 *) ac_try_echo=$ac_try;;
20878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20879 (eval "$ac_compile") 2>conftest.er1
20881 grep -v '^ *+' conftest.er1 >conftest.err
20883 cat conftest.err >&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } && {
20886 test -z "$ac_c_werror_flag" ||
20887 test ! -s conftest.err
20888 } && test -s conftest.$ac_objext; then
20889 eval "$as_ac_Header=yes"
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20894 eval "$as_ac_Header=no"
20897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20899 ac_res=`eval echo '${'$as_ac_Header'}'`
20900 { echo "$as_me:$LINENO: result: $ac_res" >&5
20901 echo "${ECHO_T}$ac_res" >&6; }
20902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20903 cat >>confdefs.h <<_ACEOF
20904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20912 if test "$ac_cv_header_wchar_h" != "yes"; then
20914 for ac_header in wcstr.h
20916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20917 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20919 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20922 cat >conftest.$ac_ext <<_ACEOF
20925 cat confdefs.h >>conftest.$ac_ext
20926 cat >>conftest.$ac_ext <<_ACEOF
20927 /* end confdefs.h. */
20928 $ac_includes_default
20930 #include <$ac_header>
20932 rm -f conftest.$ac_objext
20933 if { (ac_try="$ac_compile"
20934 case "(($ac_try" in
20935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20936 *) ac_try_echo=$ac_try;;
20938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20939 (eval "$ac_compile") 2>conftest.er1
20941 grep -v '^ *+' conftest.er1 >conftest.err
20943 cat conftest.err >&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && {
20946 test -z "$ac_c_werror_flag" ||
20947 test ! -s conftest.err
20948 } && test -s conftest.$ac_objext; then
20949 eval "$as_ac_Header=yes"
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.$ac_ext >&5
20954 eval "$as_ac_Header=no"
20957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20959 ac_res=`eval echo '${'$as_ac_Header'}'`
20960 { echo "$as_me:$LINENO: result: $ac_res" >&5
20961 echo "${ECHO_T}$ac_res" >&6; }
20962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20963 cat >>confdefs.h <<_ACEOF
20964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20974 *-pc-os2_emx | *-pc-os2-emx )
20975 if test $ac_cv_header_langinfo_h = "yes" \
20976 -a \( "$wx_cv_gccversion" = "EMX2" \
20977 -o "$wx_cv_gccversion" = "EMX3" \
20978 -o "$wx_cv_gccversion" = "Innotek5" \); then
20979 LIBS="$LIBS -lintl"
20984 if test "$USE_UNIX" = 1 ; then
20986 for ac_header in sys/select.h
20988 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20989 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20991 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20992 echo $ECHO_N "(cached) $ECHO_C" >&6
20994 cat >conftest.$ac_ext <<_ACEOF
20997 cat confdefs.h >>conftest.$ac_ext
20998 cat >>conftest.$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21000 $ac_includes_default
21002 #include <$ac_header>
21004 rm -f conftest.$ac_objext
21005 if { (ac_try="$ac_compile"
21006 case "(($ac_try" in
21007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21008 *) ac_try_echo=$ac_try;;
21010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21011 (eval "$ac_compile") 2>conftest.er1
21013 grep -v '^ *+' conftest.er1 >conftest.err
21015 cat conftest.err >&5
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); } && {
21018 test -z "$ac_c_werror_flag" ||
21019 test ! -s conftest.err
21020 } && test -s conftest.$ac_objext; then
21021 eval "$as_ac_Header=yes"
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.$ac_ext >&5
21026 eval "$as_ac_Header=no"
21029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21031 ac_res=`eval echo '${'$as_ac_Header'}'`
21032 { echo "$as_me:$LINENO: result: $ac_res" >&5
21033 echo "${ECHO_T}$ac_res" >&6; }
21034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21035 cat >>confdefs.h <<_ACEOF
21036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21046 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21047 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21048 if test "${ac_cv_c_const+set}" = set; then
21049 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 cat >conftest.$ac_ext <<_ACEOF
21054 cat confdefs.h >>conftest.$ac_ext
21055 cat >>conftest.$ac_ext <<_ACEOF
21056 /* end confdefs.h. */
21061 /* FIXME: Include the comments suggested by Paul. */
21062 #ifndef __cplusplus
21063 /* Ultrix mips cc rejects this. */
21064 typedef int charset[2];
21066 /* SunOS 4.1.1 cc rejects this. */
21067 char const *const *pcpcc;
21069 /* NEC SVR4.0.2 mips cc rejects this. */
21070 struct point {int x, y;};
21071 static struct point const zero = {0,0};
21072 /* AIX XL C 1.02.0.0 rejects this.
21073 It does not let you subtract one const X* pointer from another in
21074 an arm of an if-expression whose if-part is not a constant
21076 const char *g = "string";
21077 pcpcc = &g + (g ? g-g : 0);
21078 /* HPUX 7.0 cc rejects these. */
21080 ppc = (char**) pcpcc;
21081 pcpcc = (char const *const *) ppc;
21082 { /* SCO 3.2v4 cc rejects this. */
21084 char const *s = 0 ? (char *) 0 : (char const *) 0;
21089 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21090 int x[] = {25, 17};
21091 const int *foo = &x[0];
21094 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21095 typedef const int *iptr;
21099 { /* AIX XL C 1.02.0.0 rejects this saying
21100 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21101 struct s { int j; const int *ap[3]; };
21102 struct s *b; b->j = 5;
21104 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21105 const int foo = 10;
21106 if (!foo) return 0;
21108 return !cs[0] && !zero.x;
21115 rm -f conftest.$ac_objext
21116 if { (ac_try="$ac_compile"
21117 case "(($ac_try" in
21118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21119 *) ac_try_echo=$ac_try;;
21121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21122 (eval "$ac_compile") 2>conftest.er1
21124 grep -v '^ *+' conftest.er1 >conftest.err
21126 cat conftest.err >&5
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); } && {
21129 test -z "$ac_c_werror_flag" ||
21130 test ! -s conftest.err
21131 } && test -s conftest.$ac_objext; then
21134 echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.$ac_ext >&5
21140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21142 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21143 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21144 if test $ac_cv_c_const = no; then
21146 cat >>confdefs.h <<\_ACEOF
21152 { echo "$as_me:$LINENO: checking for inline" >&5
21153 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21154 if test "${ac_cv_c_inline+set}" = set; then
21155 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 for ac_kw in inline __inline__ __inline; do
21159 cat >conftest.$ac_ext <<_ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165 #ifndef __cplusplus
21167 static $ac_kw foo_t static_foo () {return 0; }
21168 $ac_kw foo_t foo () {return 0; }
21172 rm -f conftest.$ac_objext
21173 if { (ac_try="$ac_compile"
21174 case "(($ac_try" in
21175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21176 *) ac_try_echo=$ac_try;;
21178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21179 (eval "$ac_compile") 2>conftest.er1
21181 grep -v '^ *+' conftest.er1 >conftest.err
21183 cat conftest.err >&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); } && {
21186 test -z "$ac_c_werror_flag" ||
21187 test ! -s conftest.err
21188 } && test -s conftest.$ac_objext; then
21189 ac_cv_c_inline=$ac_kw
21191 echo "$as_me: failed program was:" >&5
21192 sed 's/^/| /' conftest.$ac_ext >&5
21197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21198 test "$ac_cv_c_inline" != no && break
21202 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21203 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21206 case $ac_cv_c_inline in
21209 case $ac_cv_c_inline in
21211 *) ac_val=$ac_cv_c_inline;;
21213 cat >>confdefs.h <<_ACEOF
21214 #ifndef __cplusplus
21215 #define inline $ac_val
21222 { echo "$as_me:$LINENO: checking for short" >&5
21223 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21224 if test "${ac_cv_type_short+set}" = set; then
21225 echo $ECHO_N "(cached) $ECHO_C" >&6
21227 cat >conftest.$ac_ext <<_ACEOF
21230 cat confdefs.h >>conftest.$ac_ext
21231 cat >>conftest.$ac_ext <<_ACEOF
21232 /* end confdefs.h. */
21233 $ac_includes_default
21234 typedef short ac__type_new_;
21238 if ((ac__type_new_ *) 0)
21240 if (sizeof (ac__type_new_))
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21255 grep -v '^ *+' conftest.er1 >conftest.err
21257 cat conftest.err >&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.$ac_objext; then
21263 ac_cv_type_short=yes
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.$ac_ext >&5
21268 ac_cv_type_short=no
21271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21273 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21274 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21276 # The cast to long int works around a bug in the HP C Compiler
21277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21279 # This bug is HP SR number 8606223364.
21280 { echo "$as_me:$LINENO: checking size of short" >&5
21281 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21282 if test "${ac_cv_sizeof_short+set}" = set; then
21283 echo $ECHO_N "(cached) $ECHO_C" >&6
21285 if test "$cross_compiling" = yes; then
21286 # Depending upon the size, compute the lo and hi bounds.
21287 cat >conftest.$ac_ext <<_ACEOF
21290 cat confdefs.h >>conftest.$ac_ext
21291 cat >>conftest.$ac_ext <<_ACEOF
21292 /* end confdefs.h. */
21293 $ac_includes_default
21294 typedef short ac__type_sizeof_;
21298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21305 rm -f conftest.$ac_objext
21306 if { (ac_try="$ac_compile"
21307 case "(($ac_try" in
21308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21309 *) ac_try_echo=$ac_try;;
21311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21312 (eval "$ac_compile") 2>conftest.er1
21314 grep -v '^ *+' conftest.er1 >conftest.err
21316 cat conftest.err >&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); } && {
21319 test -z "$ac_c_werror_flag" ||
21320 test ! -s conftest.err
21321 } && test -s conftest.$ac_objext; then
21324 cat >conftest.$ac_ext <<_ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21330 $ac_includes_default
21331 typedef short ac__type_sizeof_;
21335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21342 rm -f conftest.$ac_objext
21343 if { (ac_try="$ac_compile"
21344 case "(($ac_try" in
21345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21346 *) ac_try_echo=$ac_try;;
21348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21349 (eval "$ac_compile") 2>conftest.er1
21351 grep -v '^ *+' conftest.er1 >conftest.err
21353 cat conftest.err >&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); } && {
21356 test -z "$ac_c_werror_flag" ||
21357 test ! -s conftest.err
21358 } && test -s conftest.$ac_objext; then
21359 ac_hi=$ac_mid; break
21361 echo "$as_me: failed program was:" >&5
21362 sed 's/^/| /' conftest.$ac_ext >&5
21364 ac_lo=`expr $ac_mid + 1`
21365 if test $ac_lo -le $ac_mid; then
21369 ac_mid=`expr 2 '*' $ac_mid + 1`
21372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.$ac_ext >&5
21378 cat >conftest.$ac_ext <<_ACEOF
21381 cat confdefs.h >>conftest.$ac_ext
21382 cat >>conftest.$ac_ext <<_ACEOF
21383 /* end confdefs.h. */
21384 $ac_includes_default
21385 typedef short ac__type_sizeof_;
21389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21396 rm -f conftest.$ac_objext
21397 if { (ac_try="$ac_compile"
21398 case "(($ac_try" in
21399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21400 *) ac_try_echo=$ac_try;;
21402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21403 (eval "$ac_compile") 2>conftest.er1
21405 grep -v '^ *+' conftest.er1 >conftest.err
21407 cat conftest.err >&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } && {
21410 test -z "$ac_c_werror_flag" ||
21411 test ! -s conftest.err
21412 } && test -s conftest.$ac_objext; then
21415 cat >conftest.$ac_ext <<_ACEOF
21418 cat confdefs.h >>conftest.$ac_ext
21419 cat >>conftest.$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421 $ac_includes_default
21422 typedef short ac__type_sizeof_;
21426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21433 rm -f conftest.$ac_objext
21434 if { (ac_try="$ac_compile"
21435 case "(($ac_try" in
21436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21437 *) ac_try_echo=$ac_try;;
21439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21440 (eval "$ac_compile") 2>conftest.er1
21442 grep -v '^ *+' conftest.er1 >conftest.err
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } && {
21447 test -z "$ac_c_werror_flag" ||
21448 test ! -s conftest.err
21449 } && test -s conftest.$ac_objext; then
21450 ac_lo=$ac_mid; break
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.$ac_ext >&5
21455 ac_hi=`expr '(' $ac_mid ')' - 1`
21456 if test $ac_mid -le $ac_hi; then
21460 ac_mid=`expr 2 '*' $ac_mid`
21463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21476 # Binary search between lo and hi bounds.
21477 while test "x$ac_lo" != "x$ac_hi"; do
21478 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21479 cat >conftest.$ac_ext <<_ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21486 typedef short ac__type_sizeof_;
21490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21497 rm -f conftest.$ac_objext
21498 if { (ac_try="$ac_compile"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_compile") 2>conftest.er1
21506 grep -v '^ *+' conftest.er1 >conftest.err
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest.$ac_objext; then
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21519 ac_lo=`expr '(' $ac_mid ')' + 1`
21522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21525 ?*) ac_cv_sizeof_short=$ac_lo;;
21526 '') if test "$ac_cv_type_short" = yes; then
21527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21528 See \`config.log' for more details." >&5
21529 echo "$as_me: error: cannot compute sizeof (short)
21530 See \`config.log' for more details." >&2;}
21531 { (exit 77); exit 77; }; }
21533 ac_cv_sizeof_short=0
21537 cat >conftest.$ac_ext <<_ACEOF
21540 cat confdefs.h >>conftest.$ac_ext
21541 cat >>conftest.$ac_ext <<_ACEOF
21542 /* end confdefs.h. */
21543 $ac_includes_default
21544 typedef short ac__type_sizeof_;
21545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21548 #include <stdlib.h>
21553 FILE *f = fopen ("conftest.val", "w");
21556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21558 long int i = longval ();
21559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21561 fprintf (f, "%ld\n", i);
21565 unsigned long int i = ulongval ();
21566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21568 fprintf (f, "%lu\n", i);
21570 return ferror (f) || fclose (f) != 0;
21576 rm -f conftest$ac_exeext
21577 if { (ac_try="$ac_link"
21578 case "(($ac_try" in
21579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21580 *) ac_try_echo=$ac_try;;
21582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21583 (eval "$ac_link") 2>&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21587 { (case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_try") 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; }; then
21596 ac_cv_sizeof_short=`cat conftest.val`
21598 echo "$as_me: program exited with status $ac_status" >&5
21599 echo "$as_me: failed program was:" >&5
21600 sed 's/^/| /' conftest.$ac_ext >&5
21602 ( exit $ac_status )
21603 if test "$ac_cv_type_short" = yes; then
21604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21605 See \`config.log' for more details." >&5
21606 echo "$as_me: error: cannot compute sizeof (short)
21607 See \`config.log' for more details." >&2;}
21608 { (exit 77); exit 77; }; }
21610 ac_cv_sizeof_short=0
21613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21618 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21622 cat >>confdefs.h <<_ACEOF
21623 #define SIZEOF_SHORT $ac_cv_sizeof_short
21627 { echo "$as_me:$LINENO: checking for void *" >&5
21628 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21629 if test "${ac_cv_type_void_p+set}" = set; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21632 cat >conftest.$ac_ext <<_ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h. */
21638 $ac_includes_default
21639 typedef void * ac__type_new_;
21643 if ((ac__type_new_ *) 0)
21645 if (sizeof (ac__type_new_))
21651 rm -f conftest.$ac_objext
21652 if { (ac_try="$ac_compile"
21653 case "(($ac_try" in
21654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21655 *) ac_try_echo=$ac_try;;
21657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21658 (eval "$ac_compile") 2>conftest.er1
21660 grep -v '^ *+' conftest.er1 >conftest.err
21662 cat conftest.err >&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); } && {
21665 test -z "$ac_c_werror_flag" ||
21666 test ! -s conftest.err
21667 } && test -s conftest.$ac_objext; then
21668 ac_cv_type_void_p=yes
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.$ac_ext >&5
21673 ac_cv_type_void_p=no
21676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21678 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21679 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21681 # The cast to long int works around a bug in the HP C Compiler
21682 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21683 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21684 # This bug is HP SR number 8606223364.
21685 { echo "$as_me:$LINENO: checking size of void *" >&5
21686 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21687 if test "${ac_cv_sizeof_void_p+set}" = set; then
21688 echo $ECHO_N "(cached) $ECHO_C" >&6
21690 if test "$cross_compiling" = yes; then
21691 # Depending upon the size, compute the lo and hi bounds.
21692 cat >conftest.$ac_ext <<_ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 $ac_includes_default
21699 typedef void * ac__type_sizeof_;
21703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21710 rm -f conftest.$ac_objext
21711 if { (ac_try="$ac_compile"
21712 case "(($ac_try" in
21713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21714 *) ac_try_echo=$ac_try;;
21716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21717 (eval "$ac_compile") 2>conftest.er1
21719 grep -v '^ *+' conftest.er1 >conftest.err
21721 cat conftest.err >&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } && {
21724 test -z "$ac_c_werror_flag" ||
21725 test ! -s conftest.err
21726 } && test -s conftest.$ac_objext; then
21729 cat >conftest.$ac_ext <<_ACEOF
21732 cat confdefs.h >>conftest.$ac_ext
21733 cat >>conftest.$ac_ext <<_ACEOF
21734 /* end confdefs.h. */
21735 $ac_includes_default
21736 typedef void * ac__type_sizeof_;
21740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21747 rm -f conftest.$ac_objext
21748 if { (ac_try="$ac_compile"
21749 case "(($ac_try" in
21750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21751 *) ac_try_echo=$ac_try;;
21753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21754 (eval "$ac_compile") 2>conftest.er1
21756 grep -v '^ *+' conftest.er1 >conftest.err
21758 cat conftest.err >&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); } && {
21761 test -z "$ac_c_werror_flag" ||
21762 test ! -s conftest.err
21763 } && test -s conftest.$ac_objext; then
21764 ac_hi=$ac_mid; break
21766 echo "$as_me: failed program was:" >&5
21767 sed 's/^/| /' conftest.$ac_ext >&5
21769 ac_lo=`expr $ac_mid + 1`
21770 if test $ac_lo -le $ac_mid; then
21774 ac_mid=`expr 2 '*' $ac_mid + 1`
21777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21780 echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.$ac_ext >&5
21783 cat >conftest.$ac_ext <<_ACEOF
21786 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789 $ac_includes_default
21790 typedef void * ac__type_sizeof_;
21794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21801 rm -f conftest.$ac_objext
21802 if { (ac_try="$ac_compile"
21803 case "(($ac_try" in
21804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21805 *) ac_try_echo=$ac_try;;
21807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21808 (eval "$ac_compile") 2>conftest.er1
21810 grep -v '^ *+' conftest.er1 >conftest.err
21812 cat conftest.err >&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); } && {
21815 test -z "$ac_c_werror_flag" ||
21816 test ! -s conftest.err
21817 } && test -s conftest.$ac_objext; then
21820 cat >conftest.$ac_ext <<_ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 $ac_includes_default
21827 typedef void * ac__type_sizeof_;
21831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21838 rm -f conftest.$ac_objext
21839 if { (ac_try="$ac_compile"
21840 case "(($ac_try" in
21841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21842 *) ac_try_echo=$ac_try;;
21844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21845 (eval "$ac_compile") 2>conftest.er1
21847 grep -v '^ *+' conftest.er1 >conftest.err
21849 cat conftest.err >&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); } && {
21852 test -z "$ac_c_werror_flag" ||
21853 test ! -s conftest.err
21854 } && test -s conftest.$ac_objext; then
21855 ac_lo=$ac_mid; break
21857 echo "$as_me: failed program was:" >&5
21858 sed 's/^/| /' conftest.$ac_ext >&5
21860 ac_hi=`expr '(' $ac_mid ')' - 1`
21861 if test $ac_mid -le $ac_hi; then
21865 ac_mid=`expr 2 '*' $ac_mid`
21868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21871 echo "$as_me: failed program was:" >&5
21872 sed 's/^/| /' conftest.$ac_ext >&5
21877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21881 # Binary search between lo and hi bounds.
21882 while test "x$ac_lo" != "x$ac_hi"; do
21883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21884 cat >conftest.$ac_ext <<_ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21890 $ac_includes_default
21891 typedef void * ac__type_sizeof_;
21895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21902 rm -f conftest.$ac_objext
21903 if { (ac_try="$ac_compile"
21904 case "(($ac_try" in
21905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21906 *) ac_try_echo=$ac_try;;
21908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21909 (eval "$ac_compile") 2>conftest.er1
21911 grep -v '^ *+' conftest.er1 >conftest.err
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } && {
21916 test -z "$ac_c_werror_flag" ||
21917 test ! -s conftest.err
21918 } && test -s conftest.$ac_objext; then
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.$ac_ext >&5
21924 ac_lo=`expr '(' $ac_mid ')' + 1`
21927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21931 '') if test "$ac_cv_type_void_p" = yes; then
21932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21933 See \`config.log' for more details." >&5
21934 echo "$as_me: error: cannot compute sizeof (void *)
21935 See \`config.log' for more details." >&2;}
21936 { (exit 77); exit 77; }; }
21938 ac_cv_sizeof_void_p=0
21942 cat >conftest.$ac_ext <<_ACEOF
21945 cat confdefs.h >>conftest.$ac_ext
21946 cat >>conftest.$ac_ext <<_ACEOF
21947 /* end confdefs.h. */
21948 $ac_includes_default
21949 typedef void * ac__type_sizeof_;
21950 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21951 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21953 #include <stdlib.h>
21958 FILE *f = fopen ("conftest.val", "w");
21961 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21963 long int i = longval ();
21964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21966 fprintf (f, "%ld\n", i);
21970 unsigned long int i = ulongval ();
21971 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21973 fprintf (f, "%lu\n", i);
21975 return ferror (f) || fclose (f) != 0;
21981 rm -f conftest$ac_exeext
21982 if { (ac_try="$ac_link"
21983 case "(($ac_try" in
21984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21985 *) ac_try_echo=$ac_try;;
21987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21988 (eval "$ac_link") 2>&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21992 { (case "(($ac_try" in
21993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21994 *) ac_try_echo=$ac_try;;
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_try") 2>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; }; then
22001 ac_cv_sizeof_void_p=`cat conftest.val`
22003 echo "$as_me: program exited with status $ac_status" >&5
22004 echo "$as_me: failed program was:" >&5
22005 sed 's/^/| /' conftest.$ac_ext >&5
22007 ( exit $ac_status )
22008 if test "$ac_cv_type_void_p" = yes; then
22009 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22010 See \`config.log' for more details." >&5
22011 echo "$as_me: error: cannot compute sizeof (void *)
22012 See \`config.log' for more details." >&2;}
22013 { (exit 77); exit 77; }; }
22015 ac_cv_sizeof_void_p=0
22018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22022 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22023 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22027 cat >>confdefs.h <<_ACEOF
22028 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22032 { echo "$as_me:$LINENO: checking for int" >&5
22033 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22034 if test "${ac_cv_type_int+set}" = set; then
22035 echo $ECHO_N "(cached) $ECHO_C" >&6
22037 cat >conftest.$ac_ext <<_ACEOF
22040 cat confdefs.h >>conftest.$ac_ext
22041 cat >>conftest.$ac_ext <<_ACEOF
22042 /* end confdefs.h. */
22043 $ac_includes_default
22044 typedef int ac__type_new_;
22048 if ((ac__type_new_ *) 0)
22050 if (sizeof (ac__type_new_))
22056 rm -f conftest.$ac_objext
22057 if { (ac_try="$ac_compile"
22058 case "(($ac_try" in
22059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22060 *) ac_try_echo=$ac_try;;
22062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22063 (eval "$ac_compile") 2>conftest.er1
22065 grep -v '^ *+' conftest.er1 >conftest.err
22067 cat conftest.err >&5
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); } && {
22070 test -z "$ac_c_werror_flag" ||
22071 test ! -s conftest.err
22072 } && test -s conftest.$ac_objext; then
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.$ac_ext >&5
22081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22083 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22084 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22086 # The cast to long int works around a bug in the HP C Compiler
22087 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22088 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22089 # This bug is HP SR number 8606223364.
22090 { echo "$as_me:$LINENO: checking size of int" >&5
22091 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22092 if test "${ac_cv_sizeof_int+set}" = set; then
22093 echo $ECHO_N "(cached) $ECHO_C" >&6
22095 if test "$cross_compiling" = yes; then
22096 # Depending upon the size, compute the lo and hi bounds.
22097 cat >conftest.$ac_ext <<_ACEOF
22100 cat confdefs.h >>conftest.$ac_ext
22101 cat >>conftest.$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 $ac_includes_default
22104 typedef int ac__type_sizeof_;
22108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22115 rm -f conftest.$ac_objext
22116 if { (ac_try="$ac_compile"
22117 case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_compile") 2>conftest.er1
22124 grep -v '^ *+' conftest.er1 >conftest.err
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } && {
22129 test -z "$ac_c_werror_flag" ||
22130 test ! -s conftest.err
22131 } && test -s conftest.$ac_objext; then
22134 cat >conftest.$ac_ext <<_ACEOF
22137 cat confdefs.h >>conftest.$ac_ext
22138 cat >>conftest.$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 $ac_includes_default
22141 typedef int ac__type_sizeof_;
22145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22152 rm -f conftest.$ac_objext
22153 if { (ac_try="$ac_compile"
22154 case "(($ac_try" in
22155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22156 *) ac_try_echo=$ac_try;;
22158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22159 (eval "$ac_compile") 2>conftest.er1
22161 grep -v '^ *+' conftest.er1 >conftest.err
22163 cat conftest.err >&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } && {
22166 test -z "$ac_c_werror_flag" ||
22167 test ! -s conftest.err
22168 } && test -s conftest.$ac_objext; then
22169 ac_hi=$ac_mid; break
22171 echo "$as_me: failed program was:" >&5
22172 sed 's/^/| /' conftest.$ac_ext >&5
22174 ac_lo=`expr $ac_mid + 1`
22175 if test $ac_lo -le $ac_mid; then
22179 ac_mid=`expr 2 '*' $ac_mid + 1`
22182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22188 cat >conftest.$ac_ext <<_ACEOF
22191 cat confdefs.h >>conftest.$ac_ext
22192 cat >>conftest.$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194 $ac_includes_default
22195 typedef int ac__type_sizeof_;
22199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22206 rm -f conftest.$ac_objext
22207 if { (ac_try="$ac_compile"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_compile") 2>conftest.er1
22215 grep -v '^ *+' conftest.er1 >conftest.err
22217 cat conftest.err >&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); } && {
22220 test -z "$ac_c_werror_flag" ||
22221 test ! -s conftest.err
22222 } && test -s conftest.$ac_objext; then
22225 cat >conftest.$ac_ext <<_ACEOF
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 $ac_includes_default
22232 typedef int ac__type_sizeof_;
22236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22243 rm -f conftest.$ac_objext
22244 if { (ac_try="$ac_compile"
22245 case "(($ac_try" in
22246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22247 *) ac_try_echo=$ac_try;;
22249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22250 (eval "$ac_compile") 2>conftest.er1
22252 grep -v '^ *+' conftest.er1 >conftest.err
22254 cat conftest.err >&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } && {
22257 test -z "$ac_c_werror_flag" ||
22258 test ! -s conftest.err
22259 } && test -s conftest.$ac_objext; then
22260 ac_lo=$ac_mid; break
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.$ac_ext >&5
22265 ac_hi=`expr '(' $ac_mid ')' - 1`
22266 if test $ac_mid -le $ac_hi; then
22270 ac_mid=`expr 2 '*' $ac_mid`
22273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22286 # Binary search between lo and hi bounds.
22287 while test "x$ac_lo" != "x$ac_hi"; do
22288 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22289 cat >conftest.$ac_ext <<_ACEOF
22292 cat confdefs.h >>conftest.$ac_ext
22293 cat >>conftest.$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 $ac_includes_default
22296 typedef int ac__type_sizeof_;
22300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22307 rm -f conftest.$ac_objext
22308 if { (ac_try="$ac_compile"
22309 case "(($ac_try" in
22310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22311 *) ac_try_echo=$ac_try;;
22313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314 (eval "$ac_compile") 2>conftest.er1
22316 grep -v '^ *+' conftest.er1 >conftest.err
22318 cat conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } && {
22321 test -z "$ac_c_werror_flag" ||
22322 test ! -s conftest.err
22323 } && test -s conftest.$ac_objext; then
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22329 ac_lo=`expr '(' $ac_mid ')' + 1`
22332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22335 ?*) ac_cv_sizeof_int=$ac_lo;;
22336 '') if test "$ac_cv_type_int" = yes; then
22337 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22338 See \`config.log' for more details." >&5
22339 echo "$as_me: error: cannot compute sizeof (int)
22340 See \`config.log' for more details." >&2;}
22341 { (exit 77); exit 77; }; }
22347 cat >conftest.$ac_ext <<_ACEOF
22350 cat confdefs.h >>conftest.$ac_ext
22351 cat >>conftest.$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22353 $ac_includes_default
22354 typedef int ac__type_sizeof_;
22355 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22356 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22358 #include <stdlib.h>
22363 FILE *f = fopen ("conftest.val", "w");
22366 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22368 long int i = longval ();
22369 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22371 fprintf (f, "%ld\n", i);
22375 unsigned long int i = ulongval ();
22376 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22378 fprintf (f, "%lu\n", i);
22380 return ferror (f) || fclose (f) != 0;
22386 rm -f conftest$ac_exeext
22387 if { (ac_try="$ac_link"
22388 case "(($ac_try" in
22389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22390 *) ac_try_echo=$ac_try;;
22392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22393 (eval "$ac_link") 2>&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22397 { (case "(($ac_try" in
22398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22399 *) ac_try_echo=$ac_try;;
22401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22402 (eval "$ac_try") 2>&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); }; }; then
22406 ac_cv_sizeof_int=`cat conftest.val`
22408 echo "$as_me: program exited with status $ac_status" >&5
22409 echo "$as_me: failed program was:" >&5
22410 sed 's/^/| /' conftest.$ac_ext >&5
22412 ( exit $ac_status )
22413 if test "$ac_cv_type_int" = yes; then
22414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22415 See \`config.log' for more details." >&5
22416 echo "$as_me: error: cannot compute sizeof (int)
22417 See \`config.log' for more details." >&2;}
22418 { (exit 77); exit 77; }; }
22423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22427 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22428 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22432 cat >>confdefs.h <<_ACEOF
22433 #define SIZEOF_INT $ac_cv_sizeof_int
22437 { echo "$as_me:$LINENO: checking for long" >&5
22438 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22439 if test "${ac_cv_type_long+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22442 cat >conftest.$ac_ext <<_ACEOF
22445 cat confdefs.h >>conftest.$ac_ext
22446 cat >>conftest.$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22448 $ac_includes_default
22449 typedef long ac__type_new_;
22453 if ((ac__type_new_ *) 0)
22455 if (sizeof (ac__type_new_))
22461 rm -f conftest.$ac_objext
22462 if { (ac_try="$ac_compile"
22463 case "(($ac_try" in
22464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22465 *) ac_try_echo=$ac_try;;
22467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22468 (eval "$ac_compile") 2>conftest.er1
22470 grep -v '^ *+' conftest.er1 >conftest.err
22472 cat conftest.err >&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } && {
22475 test -z "$ac_c_werror_flag" ||
22476 test ! -s conftest.err
22477 } && test -s conftest.$ac_objext; then
22478 ac_cv_type_long=yes
22480 echo "$as_me: failed program was:" >&5
22481 sed 's/^/| /' conftest.$ac_ext >&5
22486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22489 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22491 # The cast to long int works around a bug in the HP C Compiler
22492 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22493 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22494 # This bug is HP SR number 8606223364.
22495 { echo "$as_me:$LINENO: checking size of long" >&5
22496 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22497 if test "${ac_cv_sizeof_long+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22500 if test "$cross_compiling" = yes; then
22501 # Depending upon the size, compute the lo and hi bounds.
22502 cat >conftest.$ac_ext <<_ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 $ac_includes_default
22509 typedef long ac__type_sizeof_;
22513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22520 rm -f conftest.$ac_objext
22521 if { (ac_try="$ac_compile"
22522 case "(($ac_try" in
22523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22524 *) ac_try_echo=$ac_try;;
22526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22527 (eval "$ac_compile") 2>conftest.er1
22529 grep -v '^ *+' conftest.er1 >conftest.err
22531 cat conftest.err >&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } && {
22534 test -z "$ac_c_werror_flag" ||
22535 test ! -s conftest.err
22536 } && test -s conftest.$ac_objext; then
22539 cat >conftest.$ac_ext <<_ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 $ac_includes_default
22546 typedef long ac__type_sizeof_;
22550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22557 rm -f conftest.$ac_objext
22558 if { (ac_try="$ac_compile"
22559 case "(($ac_try" in
22560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_compile") 2>conftest.er1
22566 grep -v '^ *+' conftest.er1 >conftest.err
22568 cat conftest.err >&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } && {
22571 test -z "$ac_c_werror_flag" ||
22572 test ! -s conftest.err
22573 } && test -s conftest.$ac_objext; then
22574 ac_hi=$ac_mid; break
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22579 ac_lo=`expr $ac_mid + 1`
22580 if test $ac_lo -le $ac_mid; then
22584 ac_mid=`expr 2 '*' $ac_mid + 1`
22587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.$ac_ext >&5
22593 cat >conftest.$ac_ext <<_ACEOF
22596 cat confdefs.h >>conftest.$ac_ext
22597 cat >>conftest.$ac_ext <<_ACEOF
22598 /* end confdefs.h. */
22599 $ac_includes_default
22600 typedef long ac__type_sizeof_;
22604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22611 rm -f conftest.$ac_objext
22612 if { (ac_try="$ac_compile"
22613 case "(($ac_try" in
22614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22615 *) ac_try_echo=$ac_try;;
22617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22618 (eval "$ac_compile") 2>conftest.er1
22620 grep -v '^ *+' conftest.er1 >conftest.err
22622 cat conftest.err >&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && {
22625 test -z "$ac_c_werror_flag" ||
22626 test ! -s conftest.err
22627 } && test -s conftest.$ac_objext; then
22630 cat >conftest.$ac_ext <<_ACEOF
22633 cat confdefs.h >>conftest.$ac_ext
22634 cat >>conftest.$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636 $ac_includes_default
22637 typedef long ac__type_sizeof_;
22641 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22648 rm -f conftest.$ac_objext
22649 if { (ac_try="$ac_compile"
22650 case "(($ac_try" in
22651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22652 *) ac_try_echo=$ac_try;;
22654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22655 (eval "$ac_compile") 2>conftest.er1
22657 grep -v '^ *+' conftest.er1 >conftest.err
22659 cat conftest.err >&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } && {
22662 test -z "$ac_c_werror_flag" ||
22663 test ! -s conftest.err
22664 } && test -s conftest.$ac_objext; then
22665 ac_lo=$ac_mid; break
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.$ac_ext >&5
22670 ac_hi=`expr '(' $ac_mid ')' - 1`
22671 if test $ac_mid -le $ac_hi; then
22675 ac_mid=`expr 2 '*' $ac_mid`
22678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681 echo "$as_me: failed program was:" >&5
22682 sed 's/^/| /' conftest.$ac_ext >&5
22687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22691 # Binary search between lo and hi bounds.
22692 while test "x$ac_lo" != "x$ac_hi"; do
22693 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22694 cat >conftest.$ac_ext <<_ACEOF
22697 cat confdefs.h >>conftest.$ac_ext
22698 cat >>conftest.$ac_ext <<_ACEOF
22699 /* end confdefs.h. */
22700 $ac_includes_default
22701 typedef long ac__type_sizeof_;
22705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22712 rm -f conftest.$ac_objext
22713 if { (ac_try="$ac_compile"
22714 case "(($ac_try" in
22715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22716 *) ac_try_echo=$ac_try;;
22718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22719 (eval "$ac_compile") 2>conftest.er1
22721 grep -v '^ *+' conftest.er1 >conftest.err
22723 cat conftest.err >&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } && {
22726 test -z "$ac_c_werror_flag" ||
22727 test ! -s conftest.err
22728 } && test -s conftest.$ac_objext; then
22731 echo "$as_me: failed program was:" >&5
22732 sed 's/^/| /' conftest.$ac_ext >&5
22734 ac_lo=`expr '(' $ac_mid ')' + 1`
22737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22740 ?*) ac_cv_sizeof_long=$ac_lo;;
22741 '') if test "$ac_cv_type_long" = yes; then
22742 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22743 See \`config.log' for more details." >&5
22744 echo "$as_me: error: cannot compute sizeof (long)
22745 See \`config.log' for more details." >&2;}
22746 { (exit 77); exit 77; }; }
22748 ac_cv_sizeof_long=0
22752 cat >conftest.$ac_ext <<_ACEOF
22755 cat confdefs.h >>conftest.$ac_ext
22756 cat >>conftest.$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22758 $ac_includes_default
22759 typedef long ac__type_sizeof_;
22760 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22761 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22763 #include <stdlib.h>
22768 FILE *f = fopen ("conftest.val", "w");
22771 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22773 long int i = longval ();
22774 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22776 fprintf (f, "%ld\n", i);
22780 unsigned long int i = ulongval ();
22781 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22783 fprintf (f, "%lu\n", i);
22785 return ferror (f) || fclose (f) != 0;
22791 rm -f conftest$ac_exeext
22792 if { (ac_try="$ac_link"
22793 case "(($ac_try" in
22794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22795 *) ac_try_echo=$ac_try;;
22797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22798 (eval "$ac_link") 2>&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22802 { (case "(($ac_try" in
22803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22804 *) ac_try_echo=$ac_try;;
22806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22807 (eval "$ac_try") 2>&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); }; }; then
22811 ac_cv_sizeof_long=`cat conftest.val`
22813 echo "$as_me: program exited with status $ac_status" >&5
22814 echo "$as_me: failed program was:" >&5
22815 sed 's/^/| /' conftest.$ac_ext >&5
22817 ( exit $ac_status )
22818 if test "$ac_cv_type_long" = yes; then
22819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22820 See \`config.log' for more details." >&5
22821 echo "$as_me: error: cannot compute sizeof (long)
22822 See \`config.log' for more details." >&2;}
22823 { (exit 77); exit 77; }; }
22825 ac_cv_sizeof_long=0
22828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22832 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22833 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22837 cat >>confdefs.h <<_ACEOF
22838 #define SIZEOF_LONG $ac_cv_sizeof_long
22842 { echo "$as_me:$LINENO: checking for size_t" >&5
22843 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22844 if test "${ac_cv_type_size_t+set}" = set; then
22845 echo $ECHO_N "(cached) $ECHO_C" >&6
22847 cat >conftest.$ac_ext <<_ACEOF
22850 cat confdefs.h >>conftest.$ac_ext
22851 cat >>conftest.$ac_ext <<_ACEOF
22852 /* end confdefs.h. */
22853 $ac_includes_default
22854 typedef size_t ac__type_new_;
22858 if ((ac__type_new_ *) 0)
22860 if (sizeof (ac__type_new_))
22866 rm -f conftest.$ac_objext
22867 if { (ac_try="$ac_compile"
22868 case "(($ac_try" in
22869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22870 *) ac_try_echo=$ac_try;;
22872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22873 (eval "$ac_compile") 2>conftest.er1
22875 grep -v '^ *+' conftest.er1 >conftest.err
22877 cat conftest.err >&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); } && {
22880 test -z "$ac_c_werror_flag" ||
22881 test ! -s conftest.err
22882 } && test -s conftest.$ac_objext; then
22883 ac_cv_type_size_t=yes
22885 echo "$as_me: failed program was:" >&5
22886 sed 's/^/| /' conftest.$ac_ext >&5
22888 ac_cv_type_size_t=no
22891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22893 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22894 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22896 # The cast to long int works around a bug in the HP C Compiler
22897 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22898 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22899 # This bug is HP SR number 8606223364.
22900 { echo "$as_me:$LINENO: checking size of size_t" >&5
22901 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22902 if test "${ac_cv_sizeof_size_t+set}" = set; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22905 if test "$cross_compiling" = yes; then
22906 # Depending upon the size, compute the lo and hi bounds.
22907 cat >conftest.$ac_ext <<_ACEOF
22910 cat confdefs.h >>conftest.$ac_ext
22911 cat >>conftest.$ac_ext <<_ACEOF
22912 /* end confdefs.h. */
22913 $ac_includes_default
22914 typedef size_t ac__type_sizeof_;
22918 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22925 rm -f conftest.$ac_objext
22926 if { (ac_try="$ac_compile"
22927 case "(($ac_try" in
22928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22929 *) ac_try_echo=$ac_try;;
22931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22932 (eval "$ac_compile") 2>conftest.er1
22934 grep -v '^ *+' conftest.er1 >conftest.err
22936 cat conftest.err >&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); } && {
22939 test -z "$ac_c_werror_flag" ||
22940 test ! -s conftest.err
22941 } && test -s conftest.$ac_objext; then
22944 cat >conftest.$ac_ext <<_ACEOF
22947 cat confdefs.h >>conftest.$ac_ext
22948 cat >>conftest.$ac_ext <<_ACEOF
22949 /* end confdefs.h. */
22950 $ac_includes_default
22951 typedef size_t ac__type_sizeof_;
22955 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22962 rm -f conftest.$ac_objext
22963 if { (ac_try="$ac_compile"
22964 case "(($ac_try" in
22965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22966 *) ac_try_echo=$ac_try;;
22968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22969 (eval "$ac_compile") 2>conftest.er1
22971 grep -v '^ *+' conftest.er1 >conftest.err
22973 cat conftest.err >&5
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); } && {
22976 test -z "$ac_c_werror_flag" ||
22977 test ! -s conftest.err
22978 } && test -s conftest.$ac_objext; then
22979 ac_hi=$ac_mid; break
22981 echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.$ac_ext >&5
22984 ac_lo=`expr $ac_mid + 1`
22985 if test $ac_lo -le $ac_mid; then
22989 ac_mid=`expr 2 '*' $ac_mid + 1`
22992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22995 echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22998 cat >conftest.$ac_ext <<_ACEOF
23001 cat confdefs.h >>conftest.$ac_ext
23002 cat >>conftest.$ac_ext <<_ACEOF
23003 /* end confdefs.h. */
23004 $ac_includes_default
23005 typedef size_t ac__type_sizeof_;
23009 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23016 rm -f conftest.$ac_objext
23017 if { (ac_try="$ac_compile"
23018 case "(($ac_try" in
23019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23020 *) ac_try_echo=$ac_try;;
23022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23023 (eval "$ac_compile") 2>conftest.er1
23025 grep -v '^ *+' conftest.er1 >conftest.err
23027 cat conftest.err >&5
23028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23029 (exit $ac_status); } && {
23030 test -z "$ac_c_werror_flag" ||
23031 test ! -s conftest.err
23032 } && test -s conftest.$ac_objext; then
23035 cat >conftest.$ac_ext <<_ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 $ac_includes_default
23042 typedef size_t ac__type_sizeof_;
23046 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23053 rm -f conftest.$ac_objext
23054 if { (ac_try="$ac_compile"
23055 case "(($ac_try" in
23056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23057 *) ac_try_echo=$ac_try;;
23059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23060 (eval "$ac_compile") 2>conftest.er1
23062 grep -v '^ *+' conftest.er1 >conftest.err
23064 cat conftest.err >&5
23065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066 (exit $ac_status); } && {
23067 test -z "$ac_c_werror_flag" ||
23068 test ! -s conftest.err
23069 } && test -s conftest.$ac_objext; then
23070 ac_lo=$ac_mid; break
23072 echo "$as_me: failed program was:" >&5
23073 sed 's/^/| /' conftest.$ac_ext >&5
23075 ac_hi=`expr '(' $ac_mid ')' - 1`
23076 if test $ac_mid -le $ac_hi; then
23080 ac_mid=`expr 2 '*' $ac_mid`
23083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23096 # Binary search between lo and hi bounds.
23097 while test "x$ac_lo" != "x$ac_hi"; do
23098 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23099 cat >conftest.$ac_ext <<_ACEOF
23102 cat confdefs.h >>conftest.$ac_ext
23103 cat >>conftest.$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105 $ac_includes_default
23106 typedef size_t ac__type_sizeof_;
23110 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23117 rm -f conftest.$ac_objext
23118 if { (ac_try="$ac_compile"
23119 case "(($ac_try" in
23120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23121 *) ac_try_echo=$ac_try;;
23123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23124 (eval "$ac_compile") 2>conftest.er1
23126 grep -v '^ *+' conftest.er1 >conftest.err
23128 cat conftest.err >&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } && {
23131 test -z "$ac_c_werror_flag" ||
23132 test ! -s conftest.err
23133 } && test -s conftest.$ac_objext; then
23136 echo "$as_me: failed program was:" >&5
23137 sed 's/^/| /' conftest.$ac_ext >&5
23139 ac_lo=`expr '(' $ac_mid ')' + 1`
23142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23145 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23146 '') if test "$ac_cv_type_size_t" = yes; then
23147 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23148 See \`config.log' for more details." >&5
23149 echo "$as_me: error: cannot compute sizeof (size_t)
23150 See \`config.log' for more details." >&2;}
23151 { (exit 77); exit 77; }; }
23153 ac_cv_sizeof_size_t=0
23157 cat >conftest.$ac_ext <<_ACEOF
23160 cat confdefs.h >>conftest.$ac_ext
23161 cat >>conftest.$ac_ext <<_ACEOF
23162 /* end confdefs.h. */
23163 $ac_includes_default
23164 typedef size_t ac__type_sizeof_;
23165 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23166 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23168 #include <stdlib.h>
23173 FILE *f = fopen ("conftest.val", "w");
23176 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23178 long int i = longval ();
23179 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23181 fprintf (f, "%ld\n", i);
23185 unsigned long int i = ulongval ();
23186 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23188 fprintf (f, "%lu\n", i);
23190 return ferror (f) || fclose (f) != 0;
23196 rm -f conftest$ac_exeext
23197 if { (ac_try="$ac_link"
23198 case "(($ac_try" in
23199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23200 *) ac_try_echo=$ac_try;;
23202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23203 (eval "$ac_link") 2>&5
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23207 { (case "(($ac_try" in
23208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23209 *) ac_try_echo=$ac_try;;
23211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23212 (eval "$ac_try") 2>&5
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); }; }; then
23216 ac_cv_sizeof_size_t=`cat conftest.val`
23218 echo "$as_me: program exited with status $ac_status" >&5
23219 echo "$as_me: failed program was:" >&5
23220 sed 's/^/| /' conftest.$ac_ext >&5
23222 ( exit $ac_status )
23223 if test "$ac_cv_type_size_t" = yes; then
23224 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23225 See \`config.log' for more details." >&5
23226 echo "$as_me: error: cannot compute sizeof (size_t)
23227 See \`config.log' for more details." >&2;}
23228 { (exit 77); exit 77; }; }
23230 ac_cv_sizeof_size_t=0
23233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23237 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23238 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23242 cat >>confdefs.h <<_ACEOF
23243 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23250 { echo "$as_me:$LINENO: checking for long long" >&5
23251 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23252 if test "${ac_cv_type_long_long+set}" = set; then
23253 echo $ECHO_N "(cached) $ECHO_C" >&6
23255 cat >conftest.$ac_ext <<_ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 $ac_includes_default
23262 typedef long long ac__type_new_;
23266 if ((ac__type_new_ *) 0)
23268 if (sizeof (ac__type_new_))
23274 rm -f conftest.$ac_objext
23275 if { (ac_try="$ac_compile"
23276 case "(($ac_try" in
23277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23278 *) ac_try_echo=$ac_try;;
23280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23281 (eval "$ac_compile") 2>conftest.er1
23283 grep -v '^ *+' conftest.er1 >conftest.err
23285 cat conftest.err >&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); } && {
23288 test -z "$ac_c_werror_flag" ||
23289 test ! -s conftest.err
23290 } && test -s conftest.$ac_objext; then
23291 ac_cv_type_long_long=yes
23293 echo "$as_me: failed program was:" >&5
23294 sed 's/^/| /' conftest.$ac_ext >&5
23296 ac_cv_type_long_long=no
23299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23301 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23302 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23304 # The cast to long int works around a bug in the HP C Compiler
23305 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23306 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23307 # This bug is HP SR number 8606223364.
23308 { echo "$as_me:$LINENO: checking size of long long" >&5
23309 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23310 if test "${ac_cv_sizeof_long_long+set}" = set; then
23311 echo $ECHO_N "(cached) $ECHO_C" >&6
23313 if test "$cross_compiling" = yes; then
23314 # Depending upon the size, compute the lo and hi bounds.
23315 cat >conftest.$ac_ext <<_ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23321 $ac_includes_default
23322 typedef long long ac__type_sizeof_;
23326 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23333 rm -f conftest.$ac_objext
23334 if { (ac_try="$ac_compile"
23335 case "(($ac_try" in
23336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23337 *) ac_try_echo=$ac_try;;
23339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23340 (eval "$ac_compile") 2>conftest.er1
23342 grep -v '^ *+' conftest.er1 >conftest.err
23344 cat conftest.err >&5
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); } && {
23347 test -z "$ac_c_werror_flag" ||
23348 test ! -s conftest.err
23349 } && test -s conftest.$ac_objext; then
23352 cat >conftest.$ac_ext <<_ACEOF
23355 cat confdefs.h >>conftest.$ac_ext
23356 cat >>conftest.$ac_ext <<_ACEOF
23357 /* end confdefs.h. */
23358 $ac_includes_default
23359 typedef long long ac__type_sizeof_;
23363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23370 rm -f conftest.$ac_objext
23371 if { (ac_try="$ac_compile"
23372 case "(($ac_try" in
23373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23374 *) ac_try_echo=$ac_try;;
23376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23377 (eval "$ac_compile") 2>conftest.er1
23379 grep -v '^ *+' conftest.er1 >conftest.err
23381 cat conftest.err >&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } && {
23384 test -z "$ac_c_werror_flag" ||
23385 test ! -s conftest.err
23386 } && test -s conftest.$ac_objext; then
23387 ac_hi=$ac_mid; break
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23392 ac_lo=`expr $ac_mid + 1`
23393 if test $ac_lo -le $ac_mid; then
23397 ac_mid=`expr 2 '*' $ac_mid + 1`
23400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23403 echo "$as_me: failed program was:" >&5
23404 sed 's/^/| /' conftest.$ac_ext >&5
23406 cat >conftest.$ac_ext <<_ACEOF
23409 cat confdefs.h >>conftest.$ac_ext
23410 cat >>conftest.$ac_ext <<_ACEOF
23411 /* end confdefs.h. */
23412 $ac_includes_default
23413 typedef long long ac__type_sizeof_;
23417 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23424 rm -f conftest.$ac_objext
23425 if { (ac_try="$ac_compile"
23426 case "(($ac_try" in
23427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23428 *) ac_try_echo=$ac_try;;
23430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23431 (eval "$ac_compile") 2>conftest.er1
23433 grep -v '^ *+' conftest.er1 >conftest.err
23435 cat conftest.err >&5
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); } && {
23438 test -z "$ac_c_werror_flag" ||
23439 test ! -s conftest.err
23440 } && test -s conftest.$ac_objext; then
23443 cat >conftest.$ac_ext <<_ACEOF
23446 cat confdefs.h >>conftest.$ac_ext
23447 cat >>conftest.$ac_ext <<_ACEOF
23448 /* end confdefs.h. */
23449 $ac_includes_default
23450 typedef long long ac__type_sizeof_;
23454 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23461 rm -f conftest.$ac_objext
23462 if { (ac_try="$ac_compile"
23463 case "(($ac_try" in
23464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23465 *) ac_try_echo=$ac_try;;
23467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23468 (eval "$ac_compile") 2>conftest.er1
23470 grep -v '^ *+' conftest.er1 >conftest.err
23472 cat conftest.err >&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } && {
23475 test -z "$ac_c_werror_flag" ||
23476 test ! -s conftest.err
23477 } && test -s conftest.$ac_objext; then
23478 ac_lo=$ac_mid; break
23480 echo "$as_me: failed program was:" >&5
23481 sed 's/^/| /' conftest.$ac_ext >&5
23483 ac_hi=`expr '(' $ac_mid ')' - 1`
23484 if test $ac_mid -le $ac_hi; then
23488 ac_mid=`expr 2 '*' $ac_mid`
23491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23494 echo "$as_me: failed program was:" >&5
23495 sed 's/^/| /' conftest.$ac_ext >&5
23500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23504 # Binary search between lo and hi bounds.
23505 while test "x$ac_lo" != "x$ac_hi"; do
23506 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23507 cat >conftest.$ac_ext <<_ACEOF
23510 cat confdefs.h >>conftest.$ac_ext
23511 cat >>conftest.$ac_ext <<_ACEOF
23512 /* end confdefs.h. */
23513 $ac_includes_default
23514 typedef long long ac__type_sizeof_;
23518 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23525 rm -f conftest.$ac_objext
23526 if { (ac_try="$ac_compile"
23527 case "(($ac_try" in
23528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23529 *) ac_try_echo=$ac_try;;
23531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23532 (eval "$ac_compile") 2>conftest.er1
23534 grep -v '^ *+' conftest.er1 >conftest.err
23536 cat conftest.err >&5
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); } && {
23539 test -z "$ac_c_werror_flag" ||
23540 test ! -s conftest.err
23541 } && test -s conftest.$ac_objext; then
23544 echo "$as_me: failed program was:" >&5
23545 sed 's/^/| /' conftest.$ac_ext >&5
23547 ac_lo=`expr '(' $ac_mid ')' + 1`
23550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23553 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23554 '') if test "$ac_cv_type_long_long" = yes; then
23555 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23556 See \`config.log' for more details." >&5
23557 echo "$as_me: error: cannot compute sizeof (long long)
23558 See \`config.log' for more details." >&2;}
23559 { (exit 77); exit 77; }; }
23561 ac_cv_sizeof_long_long=0
23565 cat >conftest.$ac_ext <<_ACEOF
23568 cat confdefs.h >>conftest.$ac_ext
23569 cat >>conftest.$ac_ext <<_ACEOF
23570 /* end confdefs.h. */
23571 $ac_includes_default
23572 typedef long long ac__type_sizeof_;
23573 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23574 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23576 #include <stdlib.h>
23581 FILE *f = fopen ("conftest.val", "w");
23584 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23586 long int i = longval ();
23587 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23589 fprintf (f, "%ld\n", i);
23593 unsigned long int i = ulongval ();
23594 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23596 fprintf (f, "%lu\n", i);
23598 return ferror (f) || fclose (f) != 0;
23604 rm -f conftest$ac_exeext
23605 if { (ac_try="$ac_link"
23606 case "(($ac_try" in
23607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23608 *) ac_try_echo=$ac_try;;
23610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23611 (eval "$ac_link") 2>&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23615 { (case "(($ac_try" in
23616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23617 *) ac_try_echo=$ac_try;;
23619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23620 (eval "$ac_try") 2>&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); }; }; then
23624 ac_cv_sizeof_long_long=`cat conftest.val`
23626 echo "$as_me: program exited with status $ac_status" >&5
23627 echo "$as_me: failed program was:" >&5
23628 sed 's/^/| /' conftest.$ac_ext >&5
23630 ( exit $ac_status )
23631 if test "$ac_cv_type_long_long" = yes; then
23632 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23633 See \`config.log' for more details." >&5
23634 echo "$as_me: error: cannot compute sizeof (long long)
23635 See \`config.log' for more details." >&2;}
23636 { (exit 77); exit 77; }; }
23638 ac_cv_sizeof_long_long=0
23641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23645 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23646 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23650 cat >>confdefs.h <<_ACEOF
23651 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23657 { echo "$as_me:$LINENO: checking for long long" >&5
23658 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23659 if test "${ac_cv_type_long_long+set}" = set; then
23660 echo $ECHO_N "(cached) $ECHO_C" >&6
23662 cat >conftest.$ac_ext <<_ACEOF
23665 cat confdefs.h >>conftest.$ac_ext
23666 cat >>conftest.$ac_ext <<_ACEOF
23667 /* end confdefs.h. */
23668 $ac_includes_default
23669 typedef long long ac__type_new_;
23673 if ((ac__type_new_ *) 0)
23675 if (sizeof (ac__type_new_))
23681 rm -f conftest.$ac_objext
23682 if { (ac_try="$ac_compile"
23683 case "(($ac_try" in
23684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23685 *) ac_try_echo=$ac_try;;
23687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23688 (eval "$ac_compile") 2>conftest.er1
23690 grep -v '^ *+' conftest.er1 >conftest.err
23692 cat conftest.err >&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } && {
23695 test -z "$ac_c_werror_flag" ||
23696 test ! -s conftest.err
23697 } && test -s conftest.$ac_objext; then
23698 ac_cv_type_long_long=yes
23700 echo "$as_me: failed program was:" >&5
23701 sed 's/^/| /' conftest.$ac_ext >&5
23703 ac_cv_type_long_long=no
23706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23708 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23709 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23711 # The cast to long int works around a bug in the HP C Compiler
23712 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23713 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23714 # This bug is HP SR number 8606223364.
23715 { echo "$as_me:$LINENO: checking size of long long" >&5
23716 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23717 if test "${ac_cv_sizeof_long_long+set}" = set; then
23718 echo $ECHO_N "(cached) $ECHO_C" >&6
23720 if test "$cross_compiling" = yes; then
23721 # Depending upon the size, compute the lo and hi bounds.
23722 cat >conftest.$ac_ext <<_ACEOF
23725 cat confdefs.h >>conftest.$ac_ext
23726 cat >>conftest.$ac_ext <<_ACEOF
23727 /* end confdefs.h. */
23728 $ac_includes_default
23729 typedef long long ac__type_sizeof_;
23733 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23740 rm -f conftest.$ac_objext
23741 if { (ac_try="$ac_compile"
23742 case "(($ac_try" in
23743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23744 *) ac_try_echo=$ac_try;;
23746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23747 (eval "$ac_compile") 2>conftest.er1
23749 grep -v '^ *+' conftest.er1 >conftest.err
23751 cat conftest.err >&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } && {
23754 test -z "$ac_c_werror_flag" ||
23755 test ! -s conftest.err
23756 } && test -s conftest.$ac_objext; then
23759 cat >conftest.$ac_ext <<_ACEOF
23762 cat confdefs.h >>conftest.$ac_ext
23763 cat >>conftest.$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23765 $ac_includes_default
23766 typedef long long ac__type_sizeof_;
23770 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23777 rm -f conftest.$ac_objext
23778 if { (ac_try="$ac_compile"
23779 case "(($ac_try" in
23780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23781 *) ac_try_echo=$ac_try;;
23783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23784 (eval "$ac_compile") 2>conftest.er1
23786 grep -v '^ *+' conftest.er1 >conftest.err
23788 cat conftest.err >&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } && {
23791 test -z "$ac_c_werror_flag" ||
23792 test ! -s conftest.err
23793 } && test -s conftest.$ac_objext; then
23794 ac_hi=$ac_mid; break
23796 echo "$as_me: failed program was:" >&5
23797 sed 's/^/| /' conftest.$ac_ext >&5
23799 ac_lo=`expr $ac_mid + 1`
23800 if test $ac_lo -le $ac_mid; then
23804 ac_mid=`expr 2 '*' $ac_mid + 1`
23807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23810 echo "$as_me: failed program was:" >&5
23811 sed 's/^/| /' conftest.$ac_ext >&5
23813 cat >conftest.$ac_ext <<_ACEOF
23816 cat confdefs.h >>conftest.$ac_ext
23817 cat >>conftest.$ac_ext <<_ACEOF
23818 /* end confdefs.h. */
23819 $ac_includes_default
23820 typedef long long ac__type_sizeof_;
23824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23831 rm -f conftest.$ac_objext
23832 if { (ac_try="$ac_compile"
23833 case "(($ac_try" in
23834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23835 *) ac_try_echo=$ac_try;;
23837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23838 (eval "$ac_compile") 2>conftest.er1
23840 grep -v '^ *+' conftest.er1 >conftest.err
23842 cat conftest.err >&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); } && {
23845 test -z "$ac_c_werror_flag" ||
23846 test ! -s conftest.err
23847 } && test -s conftest.$ac_objext; then
23850 cat >conftest.$ac_ext <<_ACEOF
23853 cat confdefs.h >>conftest.$ac_ext
23854 cat >>conftest.$ac_ext <<_ACEOF
23855 /* end confdefs.h. */
23856 $ac_includes_default
23857 typedef long long ac__type_sizeof_;
23861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23868 rm -f conftest.$ac_objext
23869 if { (ac_try="$ac_compile"
23870 case "(($ac_try" in
23871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23872 *) ac_try_echo=$ac_try;;
23874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23875 (eval "$ac_compile") 2>conftest.er1
23877 grep -v '^ *+' conftest.er1 >conftest.err
23879 cat conftest.err >&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); } && {
23882 test -z "$ac_c_werror_flag" ||
23883 test ! -s conftest.err
23884 } && test -s conftest.$ac_objext; then
23885 ac_lo=$ac_mid; break
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.$ac_ext >&5
23890 ac_hi=`expr '(' $ac_mid ')' - 1`
23891 if test $ac_mid -le $ac_hi; then
23895 ac_mid=`expr 2 '*' $ac_mid`
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23901 echo "$as_me: failed program was:" >&5
23902 sed 's/^/| /' conftest.$ac_ext >&5
23907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23911 # Binary search between lo and hi bounds.
23912 while test "x$ac_lo" != "x$ac_hi"; do
23913 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23914 cat >conftest.$ac_ext <<_ACEOF
23917 cat confdefs.h >>conftest.$ac_ext
23918 cat >>conftest.$ac_ext <<_ACEOF
23919 /* end confdefs.h. */
23920 $ac_includes_default
23921 typedef long long ac__type_sizeof_;
23925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23932 rm -f conftest.$ac_objext
23933 if { (ac_try="$ac_compile"
23934 case "(($ac_try" in
23935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23936 *) ac_try_echo=$ac_try;;
23938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23939 (eval "$ac_compile") 2>conftest.er1
23941 grep -v '^ *+' conftest.er1 >conftest.err
23943 cat conftest.err >&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); } && {
23946 test -z "$ac_c_werror_flag" ||
23947 test ! -s conftest.err
23948 } && test -s conftest.$ac_objext; then
23951 echo "$as_me: failed program was:" >&5
23952 sed 's/^/| /' conftest.$ac_ext >&5
23954 ac_lo=`expr '(' $ac_mid ')' + 1`
23957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23960 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23961 '') if test "$ac_cv_type_long_long" = yes; then
23962 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23963 See \`config.log' for more details." >&5
23964 echo "$as_me: error: cannot compute sizeof (long long)
23965 See \`config.log' for more details." >&2;}
23966 { (exit 77); exit 77; }; }
23968 ac_cv_sizeof_long_long=0
23972 cat >conftest.$ac_ext <<_ACEOF
23975 cat confdefs.h >>conftest.$ac_ext
23976 cat >>conftest.$ac_ext <<_ACEOF
23977 /* end confdefs.h. */
23978 $ac_includes_default
23979 typedef long long ac__type_sizeof_;
23980 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23981 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23983 #include <stdlib.h>
23988 FILE *f = fopen ("conftest.val", "w");
23991 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23993 long int i = longval ();
23994 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23996 fprintf (f, "%ld\n", i);
24000 unsigned long int i = ulongval ();
24001 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24003 fprintf (f, "%lu\n", i);
24005 return ferror (f) || fclose (f) != 0;
24011 rm -f conftest$ac_exeext
24012 if { (ac_try="$ac_link"
24013 case "(($ac_try" in
24014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24015 *) ac_try_echo=$ac_try;;
24017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24018 (eval "$ac_link") 2>&5
24020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24022 { (case "(($ac_try" in
24023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24024 *) ac_try_echo=$ac_try;;
24026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24027 (eval "$ac_try") 2>&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); }; }; then
24031 ac_cv_sizeof_long_long=`cat conftest.val`
24033 echo "$as_me: program exited with status $ac_status" >&5
24034 echo "$as_me: failed program was:" >&5
24035 sed 's/^/| /' conftest.$ac_ext >&5
24037 ( exit $ac_status )
24038 if test "$ac_cv_type_long_long" = yes; then
24039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24040 See \`config.log' for more details." >&5
24041 echo "$as_me: error: cannot compute sizeof (long long)
24042 See \`config.log' for more details." >&2;}
24043 { (exit 77); exit 77; }; }
24045 ac_cv_sizeof_long_long=0
24048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24052 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24053 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24057 cat >>confdefs.h <<_ACEOF
24058 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24062 if test "$ac_cv_sizeof_long_long" != "0"; then
24063 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24067 { echo "$as_me:$LINENO: checking for long long" >&5
24068 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24069 if test "${ac_cv_type_long_long+set}" = set; then
24070 echo $ECHO_N "(cached) $ECHO_C" >&6
24072 cat >conftest.$ac_ext <<_ACEOF
24075 cat confdefs.h >>conftest.$ac_ext
24076 cat >>conftest.$ac_ext <<_ACEOF
24077 /* end confdefs.h. */
24078 $ac_includes_default
24079 typedef long long ac__type_new_;
24083 if ((ac__type_new_ *) 0)
24085 if (sizeof (ac__type_new_))
24091 rm -f conftest.$ac_objext
24092 if { (ac_try="$ac_compile"
24093 case "(($ac_try" in
24094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24095 *) ac_try_echo=$ac_try;;
24097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24098 (eval "$ac_compile") 2>conftest.er1
24100 grep -v '^ *+' conftest.er1 >conftest.err
24102 cat conftest.err >&5
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); } && {
24105 test -z "$ac_c_werror_flag" ||
24106 test ! -s conftest.err
24107 } && test -s conftest.$ac_objext; then
24108 ac_cv_type_long_long=yes
24110 echo "$as_me: failed program was:" >&5
24111 sed 's/^/| /' conftest.$ac_ext >&5
24113 ac_cv_type_long_long=no
24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24118 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24119 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24121 # The cast to long int works around a bug in the HP C Compiler
24122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24123 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24124 # This bug is HP SR number 8606223364.
24125 { echo "$as_me:$LINENO: checking size of long long" >&5
24126 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24127 if test "${ac_cv_sizeof_long_long+set}" = set; then
24128 echo $ECHO_N "(cached) $ECHO_C" >&6
24130 if test "$cross_compiling" = yes; then
24131 # Depending upon the size, compute the lo and hi bounds.
24132 cat >conftest.$ac_ext <<_ACEOF
24135 cat confdefs.h >>conftest.$ac_ext
24136 cat >>conftest.$ac_ext <<_ACEOF
24137 /* end confdefs.h. */
24138 $ac_includes_default
24139 typedef long long ac__type_sizeof_;
24143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24150 rm -f conftest.$ac_objext
24151 if { (ac_try="$ac_compile"
24152 case "(($ac_try" in
24153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24154 *) ac_try_echo=$ac_try;;
24156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24157 (eval "$ac_compile") 2>conftest.er1
24159 grep -v '^ *+' conftest.er1 >conftest.err
24161 cat conftest.err >&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); } && {
24164 test -z "$ac_c_werror_flag" ||
24165 test ! -s conftest.err
24166 } && test -s conftest.$ac_objext; then
24169 cat >conftest.$ac_ext <<_ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24175 $ac_includes_default
24176 typedef long long ac__type_sizeof_;
24180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24187 rm -f conftest.$ac_objext
24188 if { (ac_try="$ac_compile"
24189 case "(($ac_try" in
24190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24191 *) ac_try_echo=$ac_try;;
24193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24194 (eval "$ac_compile") 2>conftest.er1
24196 grep -v '^ *+' conftest.er1 >conftest.err
24198 cat conftest.err >&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } && {
24201 test -z "$ac_c_werror_flag" ||
24202 test ! -s conftest.err
24203 } && test -s conftest.$ac_objext; then
24204 ac_hi=$ac_mid; break
24206 echo "$as_me: failed program was:" >&5
24207 sed 's/^/| /' conftest.$ac_ext >&5
24209 ac_lo=`expr $ac_mid + 1`
24210 if test $ac_lo -le $ac_mid; then
24214 ac_mid=`expr 2 '*' $ac_mid + 1`
24217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.$ac_ext >&5
24223 cat >conftest.$ac_ext <<_ACEOF
24226 cat confdefs.h >>conftest.$ac_ext
24227 cat >>conftest.$ac_ext <<_ACEOF
24228 /* end confdefs.h. */
24229 $ac_includes_default
24230 typedef long long ac__type_sizeof_;
24234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24241 rm -f conftest.$ac_objext
24242 if { (ac_try="$ac_compile"
24243 case "(($ac_try" in
24244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24245 *) ac_try_echo=$ac_try;;
24247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24248 (eval "$ac_compile") 2>conftest.er1
24250 grep -v '^ *+' conftest.er1 >conftest.err
24252 cat conftest.err >&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); } && {
24255 test -z "$ac_c_werror_flag" ||
24256 test ! -s conftest.err
24257 } && test -s conftest.$ac_objext; then
24260 cat >conftest.$ac_ext <<_ACEOF
24263 cat confdefs.h >>conftest.$ac_ext
24264 cat >>conftest.$ac_ext <<_ACEOF
24265 /* end confdefs.h. */
24266 $ac_includes_default
24267 typedef long long ac__type_sizeof_;
24271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24278 rm -f conftest.$ac_objext
24279 if { (ac_try="$ac_compile"
24280 case "(($ac_try" in
24281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24282 *) ac_try_echo=$ac_try;;
24284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24285 (eval "$ac_compile") 2>conftest.er1
24287 grep -v '^ *+' conftest.er1 >conftest.err
24289 cat conftest.err >&5
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); } && {
24292 test -z "$ac_c_werror_flag" ||
24293 test ! -s conftest.err
24294 } && test -s conftest.$ac_objext; then
24295 ac_lo=$ac_mid; break
24297 echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.$ac_ext >&5
24300 ac_hi=`expr '(' $ac_mid ')' - 1`
24301 if test $ac_mid -le $ac_hi; then
24305 ac_mid=`expr 2 '*' $ac_mid`
24308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24311 echo "$as_me: failed program was:" >&5
24312 sed 's/^/| /' conftest.$ac_ext >&5
24317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24321 # Binary search between lo and hi bounds.
24322 while test "x$ac_lo" != "x$ac_hi"; do
24323 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24324 cat >conftest.$ac_ext <<_ACEOF
24327 cat confdefs.h >>conftest.$ac_ext
24328 cat >>conftest.$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 $ac_includes_default
24331 typedef long long ac__type_sizeof_;
24335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24342 rm -f conftest.$ac_objext
24343 if { (ac_try="$ac_compile"
24344 case "(($ac_try" in
24345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24346 *) ac_try_echo=$ac_try;;
24348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24349 (eval "$ac_compile") 2>conftest.er1
24351 grep -v '^ *+' conftest.er1 >conftest.err
24353 cat conftest.err >&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); } && {
24356 test -z "$ac_c_werror_flag" ||
24357 test ! -s conftest.err
24358 } && test -s conftest.$ac_objext; then
24361 echo "$as_me: failed program was:" >&5
24362 sed 's/^/| /' conftest.$ac_ext >&5
24364 ac_lo=`expr '(' $ac_mid ')' + 1`
24367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24370 ?*) ac_cv_sizeof_long_long=$ac_lo;;
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
24382 cat >conftest.$ac_ext <<_ACEOF
24385 cat confdefs.h >>conftest.$ac_ext
24386 cat >>conftest.$ac_ext <<_ACEOF
24387 /* end confdefs.h. */
24388 $ac_includes_default
24389 typedef long long ac__type_sizeof_;
24390 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24391 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24393 #include <stdlib.h>
24398 FILE *f = fopen ("conftest.val", "w");
24401 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24403 long int i = longval ();
24404 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24406 fprintf (f, "%ld\n", i);
24410 unsigned long int i = ulongval ();
24411 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24413 fprintf (f, "%lu\n", i);
24415 return ferror (f) || fclose (f) != 0;
24421 rm -f conftest$ac_exeext
24422 if { (ac_try="$ac_link"
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_link") 2>&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24432 { (case "(($ac_try" in
24433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24434 *) ac_try_echo=$ac_try;;
24436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24437 (eval "$ac_try") 2>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); }; }; then
24441 ac_cv_sizeof_long_long=`cat conftest.val`
24443 echo "$as_me: program exited with status $ac_status" >&5
24444 echo "$as_me: failed program was:" >&5
24445 sed 's/^/| /' conftest.$ac_ext >&5
24447 ( exit $ac_status )
24448 if test "$ac_cv_type_long_long" = yes; then
24449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24450 See \`config.log' for more details." >&5
24451 echo "$as_me: error: cannot compute sizeof (long long)
24452 See \`config.log' for more details." >&2;}
24453 { (exit 77); exit 77; }; }
24455 ac_cv_sizeof_long_long=0
24458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24462 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24463 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24467 cat >>confdefs.h <<_ACEOF
24468 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24474 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24475 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24476 if test "${ac_cv_type_wchar_t+set}" = set; then
24477 echo $ECHO_N "(cached) $ECHO_C" >&6
24479 cat >conftest.$ac_ext <<_ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24486 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24487 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24488 # error "fake wchar_t"
24490 #ifdef HAVE_WCHAR_H
24492 # include <stddef.h>
24494 # include <wchar.h>
24496 #ifdef HAVE_STDLIB_H
24497 # include <stdlib.h>
24503 typedef wchar_t ac__type_new_;
24507 if ((ac__type_new_ *) 0)
24509 if (sizeof (ac__type_new_))
24515 rm -f conftest.$ac_objext
24516 if { (ac_try="$ac_compile"
24517 case "(($ac_try" in
24518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24519 *) ac_try_echo=$ac_try;;
24521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24522 (eval "$ac_compile") 2>conftest.er1
24524 grep -v '^ *+' conftest.er1 >conftest.err
24526 cat conftest.err >&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } && {
24529 test -z "$ac_c_werror_flag" ||
24530 test ! -s conftest.err
24531 } && test -s conftest.$ac_objext; then
24532 ac_cv_type_wchar_t=yes
24534 echo "$as_me: failed program was:" >&5
24535 sed 's/^/| /' conftest.$ac_ext >&5
24537 ac_cv_type_wchar_t=no
24540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24542 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24543 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24545 # The cast to long int works around a bug in the HP C Compiler
24546 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24547 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24548 # This bug is HP SR number 8606223364.
24549 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24550 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24551 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24552 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 if test "$cross_compiling" = yes; then
24555 # Depending upon the size, compute the lo and hi bounds.
24556 cat >conftest.$ac_ext <<_ACEOF
24559 cat confdefs.h >>conftest.$ac_ext
24560 cat >>conftest.$ac_ext <<_ACEOF
24561 /* end confdefs.h. */
24563 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24564 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24565 # error "fake wchar_t"
24567 #ifdef HAVE_WCHAR_H
24569 # include <stddef.h>
24571 # include <wchar.h>
24573 #ifdef HAVE_STDLIB_H
24574 # include <stdlib.h>
24580 typedef wchar_t ac__type_sizeof_;
24584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24591 rm -f conftest.$ac_objext
24592 if { (ac_try="$ac_compile"
24593 case "(($ac_try" in
24594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24595 *) ac_try_echo=$ac_try;;
24597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24598 (eval "$ac_compile") 2>conftest.er1
24600 grep -v '^ *+' conftest.er1 >conftest.err
24602 cat conftest.err >&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); } && {
24605 test -z "$ac_c_werror_flag" ||
24606 test ! -s conftest.err
24607 } && test -s conftest.$ac_objext; then
24610 cat >conftest.$ac_ext <<_ACEOF
24613 cat confdefs.h >>conftest.$ac_ext
24614 cat >>conftest.$ac_ext <<_ACEOF
24615 /* end confdefs.h. */
24617 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24618 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24619 # error "fake wchar_t"
24621 #ifdef HAVE_WCHAR_H
24623 # include <stddef.h>
24625 # include <wchar.h>
24627 #ifdef HAVE_STDLIB_H
24628 # include <stdlib.h>
24634 typedef wchar_t ac__type_sizeof_;
24638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24645 rm -f conftest.$ac_objext
24646 if { (ac_try="$ac_compile"
24647 case "(($ac_try" in
24648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24649 *) ac_try_echo=$ac_try;;
24651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24652 (eval "$ac_compile") 2>conftest.er1
24654 grep -v '^ *+' conftest.er1 >conftest.err
24656 cat conftest.err >&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } && {
24659 test -z "$ac_c_werror_flag" ||
24660 test ! -s conftest.err
24661 } && test -s conftest.$ac_objext; then
24662 ac_hi=$ac_mid; break
24664 echo "$as_me: failed program was:" >&5
24665 sed 's/^/| /' conftest.$ac_ext >&5
24667 ac_lo=`expr $ac_mid + 1`
24668 if test $ac_lo -le $ac_mid; then
24672 ac_mid=`expr 2 '*' $ac_mid + 1`
24675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24678 echo "$as_me: failed program was:" >&5
24679 sed 's/^/| /' conftest.$ac_ext >&5
24681 cat >conftest.$ac_ext <<_ACEOF
24684 cat confdefs.h >>conftest.$ac_ext
24685 cat >>conftest.$ac_ext <<_ACEOF
24686 /* end confdefs.h. */
24688 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24689 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24690 # error "fake wchar_t"
24692 #ifdef HAVE_WCHAR_H
24694 # include <stddef.h>
24696 # include <wchar.h>
24698 #ifdef HAVE_STDLIB_H
24699 # include <stdlib.h>
24705 typedef wchar_t ac__type_sizeof_;
24709 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24716 rm -f conftest.$ac_objext
24717 if { (ac_try="$ac_compile"
24718 case "(($ac_try" in
24719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24720 *) ac_try_echo=$ac_try;;
24722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24723 (eval "$ac_compile") 2>conftest.er1
24725 grep -v '^ *+' conftest.er1 >conftest.err
24727 cat conftest.err >&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); } && {
24730 test -z "$ac_c_werror_flag" ||
24731 test ! -s conftest.err
24732 } && test -s conftest.$ac_objext; then
24735 cat >conftest.$ac_ext <<_ACEOF
24738 cat confdefs.h >>conftest.$ac_ext
24739 cat >>conftest.$ac_ext <<_ACEOF
24740 /* end confdefs.h. */
24742 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24743 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24744 # error "fake wchar_t"
24746 #ifdef HAVE_WCHAR_H
24748 # include <stddef.h>
24750 # include <wchar.h>
24752 #ifdef HAVE_STDLIB_H
24753 # include <stdlib.h>
24759 typedef wchar_t ac__type_sizeof_;
24763 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24770 rm -f conftest.$ac_objext
24771 if { (ac_try="$ac_compile"
24772 case "(($ac_try" in
24773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24774 *) ac_try_echo=$ac_try;;
24776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24777 (eval "$ac_compile") 2>conftest.er1
24779 grep -v '^ *+' conftest.er1 >conftest.err
24781 cat conftest.err >&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } && {
24784 test -z "$ac_c_werror_flag" ||
24785 test ! -s conftest.err
24786 } && test -s conftest.$ac_objext; then
24787 ac_lo=$ac_mid; break
24789 echo "$as_me: failed program was:" >&5
24790 sed 's/^/| /' conftest.$ac_ext >&5
24792 ac_hi=`expr '(' $ac_mid ')' - 1`
24793 if test $ac_mid -le $ac_hi; then
24797 ac_mid=`expr 2 '*' $ac_mid`
24800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24813 # Binary search between lo and hi bounds.
24814 while test "x$ac_lo" != "x$ac_hi"; do
24815 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24816 cat >conftest.$ac_ext <<_ACEOF
24819 cat confdefs.h >>conftest.$ac_ext
24820 cat >>conftest.$ac_ext <<_ACEOF
24821 /* end confdefs.h. */
24823 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24824 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24825 # error "fake wchar_t"
24827 #ifdef HAVE_WCHAR_H
24829 # include <stddef.h>
24831 # include <wchar.h>
24833 #ifdef HAVE_STDLIB_H
24834 # include <stdlib.h>
24840 typedef wchar_t ac__type_sizeof_;
24844 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24851 rm -f conftest.$ac_objext
24852 if { (ac_try="$ac_compile"
24853 case "(($ac_try" in
24854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24855 *) ac_try_echo=$ac_try;;
24857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24858 (eval "$ac_compile") 2>conftest.er1
24860 grep -v '^ *+' conftest.er1 >conftest.err
24862 cat conftest.err >&5
24863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864 (exit $ac_status); } && {
24865 test -z "$ac_c_werror_flag" ||
24866 test ! -s conftest.err
24867 } && test -s conftest.$ac_objext; then
24870 echo "$as_me: failed program was:" >&5
24871 sed 's/^/| /' conftest.$ac_ext >&5
24873 ac_lo=`expr '(' $ac_mid ')' + 1`
24876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24879 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24880 '') if test "$ac_cv_type_wchar_t" = yes; then
24881 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24882 See \`config.log' for more details." >&5
24883 echo "$as_me: error: cannot compute sizeof (wchar_t)
24884 See \`config.log' for more details." >&2;}
24885 { (exit 77); exit 77; }; }
24887 ac_cv_sizeof_wchar_t=0
24891 cat >conftest.$ac_ext <<_ACEOF
24894 cat confdefs.h >>conftest.$ac_ext
24895 cat >>conftest.$ac_ext <<_ACEOF
24896 /* end confdefs.h. */
24898 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24899 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24900 # error "fake wchar_t"
24902 #ifdef HAVE_WCHAR_H
24904 # include <stddef.h>
24906 # include <wchar.h>
24908 #ifdef HAVE_STDLIB_H
24909 # include <stdlib.h>
24915 typedef wchar_t ac__type_sizeof_;
24916 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24917 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24919 #include <stdlib.h>
24924 FILE *f = fopen ("conftest.val", "w");
24927 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24929 long int i = longval ();
24930 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24932 fprintf (f, "%ld\n", i);
24936 unsigned long int i = ulongval ();
24937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24939 fprintf (f, "%lu\n", i);
24941 return ferror (f) || fclose (f) != 0;
24947 rm -f conftest$ac_exeext
24948 if { (ac_try="$ac_link"
24949 case "(($ac_try" in
24950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24951 *) ac_try_echo=$ac_try;;
24953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24954 (eval "$ac_link") 2>&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24958 { (case "(($ac_try" in
24959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24960 *) ac_try_echo=$ac_try;;
24962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24963 (eval "$ac_try") 2>&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; }; then
24967 ac_cv_sizeof_wchar_t=`cat conftest.val`
24969 echo "$as_me: program exited with status $ac_status" >&5
24970 echo "$as_me: failed program was:" >&5
24971 sed 's/^/| /' conftest.$ac_ext >&5
24973 ( exit $ac_status )
24974 if test "$ac_cv_type_wchar_t" = yes; then
24975 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24976 See \`config.log' for more details." >&5
24977 echo "$as_me: error: cannot compute sizeof (wchar_t)
24978 See \`config.log' for more details." >&2;}
24979 { (exit 77); exit 77; }; }
24981 ac_cv_sizeof_wchar_t=0
24984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24988 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24989 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24993 cat >>confdefs.h <<_ACEOF
24994 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24998 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25004 { echo "$as_me:$LINENO: checking for va_copy" >&5
25005 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25006 if test "${wx_cv_func_va_copy+set}" = set; then
25007 echo $ECHO_N "(cached) $ECHO_C" >&6
25011 ac_cpp='$CXXCPP $CPPFLAGS'
25012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25016 cat >conftest.$ac_ext <<_ACEOF
25018 #include <stdarg.h>
25019 void foo(char *f, ...)
25033 rm -f conftest.$ac_objext conftest$ac_exeext
25034 if { (ac_try="$ac_link"
25035 case "(($ac_try" in
25036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25037 *) ac_try_echo=$ac_try;;
25039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25040 (eval "$ac_link") 2>conftest.er1
25042 grep -v '^ *+' conftest.er1 >conftest.err
25044 cat conftest.err >&5
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); } && {
25047 test -z "$ac_cxx_werror_flag" ||
25048 test ! -s conftest.err
25049 } && test -s conftest$ac_exeext &&
25050 $as_test_x conftest$ac_exeext; then
25051 wx_cv_func_va_copy=yes
25053 echo "$as_me: failed program was:" >&5
25054 sed 's/^/| /' conftest.$ac_ext >&5
25056 wx_cv_func_va_copy=no
25060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25061 conftest$ac_exeext conftest.$ac_ext
25063 ac_cpp='$CPP $CPPFLAGS'
25064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25071 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25072 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25074 if test $wx_cv_func_va_copy = "yes"; then
25075 cat >>confdefs.h <<\_ACEOF
25076 #define HAVE_VA_COPY 1
25080 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25081 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25082 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25083 echo $ECHO_N "(cached) $ECHO_C" >&6
25086 if test "$cross_compiling" = yes; then
25087 wx_cv_type_va_list_lvalue=yes
25090 cat >conftest.$ac_ext <<_ACEOF
25092 #include <stdarg.h>
25093 int foo(char *f, ...)
25098 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25106 return foo("hi", 17);
25109 rm -f conftest$ac_exeext
25110 if { (ac_try="$ac_link"
25111 case "(($ac_try" in
25112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25113 *) ac_try_echo=$ac_try;;
25115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25116 (eval "$ac_link") 2>&5
25118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25120 { (case "(($ac_try" in
25121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25122 *) ac_try_echo=$ac_try;;
25124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25125 (eval "$ac_try") 2>&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; }; then
25129 wx_cv_type_va_list_lvalue=yes
25131 echo "$as_me: program exited with status $ac_status" >&5
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.$ac_ext >&5
25135 ( exit $ac_status )
25136 wx_cv_type_va_list_lvalue=no
25138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25145 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25146 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25148 if test $wx_cv_type_va_list_lvalue != "yes"; then
25149 cat >>confdefs.h <<\_ACEOF
25150 #define VA_LIST_IS_ARRAY 1
25156 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25158 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25159 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25160 if test "${wx_cv_have_variadic_macros+set}" = set; then
25161 echo $ECHO_N "(cached) $ECHO_C" >&6
25165 ac_cpp='$CXXCPP $CPPFLAGS'
25166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25170 cat >conftest.$ac_ext <<_ACEOF
25173 cat confdefs.h >>conftest.$ac_ext
25174 cat >>conftest.$ac_ext <<_ACEOF
25175 /* end confdefs.h. */
25178 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25184 test("%s %d %p", "test", 1, 0);
25191 rm -f conftest.$ac_objext
25192 if { (ac_try="$ac_compile"
25193 case "(($ac_try" in
25194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25195 *) ac_try_echo=$ac_try;;
25197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25198 (eval "$ac_compile") 2>conftest.er1
25200 grep -v '^ *+' conftest.er1 >conftest.err
25202 cat conftest.err >&5
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); } && {
25205 test -z "$ac_cxx_werror_flag" ||
25206 test ! -s conftest.err
25207 } && test -s conftest.$ac_objext; then
25208 wx_cv_have_variadic_macros=yes
25210 echo "$as_me: failed program was:" >&5
25211 sed 's/^/| /' conftest.$ac_ext >&5
25213 wx_cv_have_variadic_macros=no
25217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25219 ac_cpp='$CPP $CPPFLAGS'
25220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25227 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25228 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25230 if test $wx_cv_have_variadic_macros = "yes"; then
25231 cat >>confdefs.h <<\_ACEOF
25232 #define HAVE_VARIADIC_MACROS 1
25238 # Check whether --enable-largefile was given.
25239 if test "${enable_largefile+set}" = set; then
25240 enableval=$enable_largefile;
25243 if test "$enable_largefile" != no; then
25246 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25247 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25248 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25249 echo $ECHO_N "(cached) $ECHO_C" >&6
25252 cat >conftest.$ac_ext <<_ACEOF
25255 cat confdefs.h >>conftest.$ac_ext
25256 cat >>conftest.$ac_ext <<_ACEOF
25257 /* end confdefs.h. */
25258 #define _FILE_OFFSET_BITS 64
25259 #include <sys/types.h>
25264 unsigned int field: sizeof(off_t) == 8;
25271 rm -f conftest.$ac_objext
25272 if { (ac_try="$ac_compile"
25273 case "(($ac_try" in
25274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25275 *) ac_try_echo=$ac_try;;
25277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25278 (eval "$ac_compile") 2>conftest.er1
25280 grep -v '^ *+' conftest.er1 >conftest.err
25282 cat conftest.err >&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); } && {
25285 test -z "$ac_c_werror_flag" ||
25286 test ! -s conftest.err
25287 } && test -s conftest.$ac_objext; then
25288 ac_cv_sys_file_offset_bits=64
25290 echo "$as_me: failed program was:" >&5
25291 sed 's/^/| /' conftest.$ac_ext >&5
25293 ac_cv_sys_file_offset_bits=no
25296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25300 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25301 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25303 if test "$ac_cv_sys_file_offset_bits" != no; then
25305 cat >>confdefs.h <<_ACEOF
25306 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25311 if test "x$wx_largefile" != "xyes"; then
25313 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25314 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25315 if test "${ac_cv_sys_large_files+set}" = set; then
25316 echo $ECHO_N "(cached) $ECHO_C" >&6
25319 cat >conftest.$ac_ext <<_ACEOF
25322 cat confdefs.h >>conftest.$ac_ext
25323 cat >>conftest.$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25325 #define _LARGE_FILES 1
25326 #include <sys/types.h>
25331 unsigned int field: sizeof(off_t) == 8;
25338 rm -f conftest.$ac_objext
25339 if { (ac_try="$ac_compile"
25340 case "(($ac_try" in
25341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25342 *) ac_try_echo=$ac_try;;
25344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25345 (eval "$ac_compile") 2>conftest.er1
25347 grep -v '^ *+' conftest.er1 >conftest.err
25349 cat conftest.err >&5
25350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25351 (exit $ac_status); } && {
25352 test -z "$ac_c_werror_flag" ||
25353 test ! -s conftest.err
25354 } && test -s conftest.$ac_objext; then
25355 ac_cv_sys_large_files=1
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.$ac_ext >&5
25360 ac_cv_sys_large_files=no
25363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25367 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25368 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25370 if test "$ac_cv_sys_large_files" != no; then
25372 cat >>confdefs.h <<_ACEOF
25373 #define _LARGE_FILES $ac_cv_sys_large_files
25380 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25381 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25382 if test "x$wx_largefile" = "xyes"; then
25383 cat >>confdefs.h <<\_ACEOF
25384 #define HAVE_LARGEFILE_SUPPORT 1
25388 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25389 echo "${ECHO_T}$wx_largefile" >&6; }
25393 if test "x$wx_largefile" = "xyes"; then
25394 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25395 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25397 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25398 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25399 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25400 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25405 ac_cpp='$CXXCPP $CPPFLAGS'
25406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25410 cat >conftest.$ac_ext <<_ACEOF
25413 cat confdefs.h >>conftest.$ac_ext
25414 cat >>conftest.$ac_ext <<_ACEOF
25415 /* end confdefs.h. */
25421 #ifndef __STDC_EXT__
25429 rm -f conftest.$ac_objext
25430 if { (ac_try="$ac_compile"
25431 case "(($ac_try" in
25432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25433 *) ac_try_echo=$ac_try;;
25435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25436 (eval "$ac_compile") 2>conftest.er1
25438 grep -v '^ *+' conftest.er1 >conftest.err
25440 cat conftest.err >&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); } && {
25443 test -z "$ac_cxx_werror_flag" ||
25444 test ! -s conftest.err
25445 } && test -s conftest.$ac_objext; then
25446 wx_cv_STDC_EXT_required=no
25448 echo "$as_me: failed program was:" >&5
25449 sed 's/^/| /' conftest.$ac_ext >&5
25451 wx_cv_STDC_EXT_required=yes
25455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25457 ac_cpp='$CPP $CPPFLAGS'
25458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25465 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25466 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25467 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25468 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25472 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25474 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25475 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25476 if test "${ac_cv_sys_largefile_source+set}" = set; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25480 cat >conftest.$ac_ext <<_ACEOF
25483 cat confdefs.h >>conftest.$ac_ext
25484 cat >>conftest.$ac_ext <<_ACEOF
25485 /* end confdefs.h. */
25486 #include <sys/types.h> /* for off_t */
25491 int (*fp) (FILE *, off_t, int) = fseeko;
25492 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25497 rm -f conftest.$ac_objext conftest$ac_exeext
25498 if { (ac_try="$ac_link"
25499 case "(($ac_try" in
25500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25501 *) ac_try_echo=$ac_try;;
25503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25504 (eval "$ac_link") 2>conftest.er1
25506 grep -v '^ *+' conftest.er1 >conftest.err
25508 cat conftest.err >&5
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); } && {
25511 test -z "$ac_c_werror_flag" ||
25512 test ! -s conftest.err
25513 } && test -s conftest$ac_exeext &&
25514 $as_test_x conftest$ac_exeext; then
25515 ac_cv_sys_largefile_source=no; break
25517 echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.$ac_ext >&5
25523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25524 conftest$ac_exeext conftest.$ac_ext
25525 cat >conftest.$ac_ext <<_ACEOF
25528 cat confdefs.h >>conftest.$ac_ext
25529 cat >>conftest.$ac_ext <<_ACEOF
25530 /* end confdefs.h. */
25531 #define _LARGEFILE_SOURCE 1
25532 #include <sys/types.h> /* for off_t */
25537 int (*fp) (FILE *, off_t, int) = fseeko;
25538 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25543 rm -f conftest.$ac_objext conftest$ac_exeext
25544 if { (ac_try="$ac_link"
25545 case "(($ac_try" in
25546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25547 *) ac_try_echo=$ac_try;;
25549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25550 (eval "$ac_link") 2>conftest.er1
25552 grep -v '^ *+' conftest.er1 >conftest.err
25554 cat conftest.err >&5
25555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556 (exit $ac_status); } && {
25557 test -z "$ac_c_werror_flag" ||
25558 test ! -s conftest.err
25559 } && test -s conftest$ac_exeext &&
25560 $as_test_x conftest$ac_exeext; then
25561 ac_cv_sys_largefile_source=1; break
25563 echo "$as_me: failed program was:" >&5
25564 sed 's/^/| /' conftest.$ac_ext >&5
25569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25570 conftest$ac_exeext conftest.$ac_ext
25571 ac_cv_sys_largefile_source=unknown
25575 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25576 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25577 case $ac_cv_sys_largefile_source in #(
25580 cat >>confdefs.h <<_ACEOF
25581 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25587 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25588 # in glibc 2.1.3, but that breaks too many other things.
25589 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25590 if test $ac_cv_sys_largefile_source != unknown; then
25592 cat >>confdefs.h <<\_ACEOF
25593 #define HAVE_FSEEKO 1
25598 if test "$ac_cv_sys_largefile_source" != no; then
25599 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25603 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25604 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25605 if test "${ac_cv_c_bigendian+set}" = set; then
25606 echo $ECHO_N "(cached) $ECHO_C" >&6
25608 ac_cv_c_bigendian=unknown
25609 # See if sys/param.h defines the BYTE_ORDER macro.
25610 cat >conftest.$ac_ext <<_ACEOF
25613 cat confdefs.h >>conftest.$ac_ext
25614 cat >>conftest.$ac_ext <<_ACEOF
25615 /* end confdefs.h. */
25616 #include <sys/types.h>
25617 #include <sys/param.h>
25622 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25623 bogus endian macros
25629 rm -f conftest.$ac_objext
25630 if { (ac_try="$ac_compile"
25631 case "(($ac_try" in
25632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25633 *) ac_try_echo=$ac_try;;
25635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25636 (eval "$ac_compile") 2>conftest.er1
25638 grep -v '^ *+' conftest.er1 >conftest.err
25640 cat conftest.err >&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } && {
25643 test -z "$ac_c_werror_flag" ||
25644 test ! -s conftest.err
25645 } && test -s conftest.$ac_objext; then
25646 # It does; now see whether it defined to BIG_ENDIAN or not.
25647 cat >conftest.$ac_ext <<_ACEOF
25650 cat confdefs.h >>conftest.$ac_ext
25651 cat >>conftest.$ac_ext <<_ACEOF
25652 /* end confdefs.h. */
25653 #include <sys/types.h>
25654 #include <sys/param.h>
25659 #if BYTE_ORDER != BIG_ENDIAN
25666 rm -f conftest.$ac_objext
25667 if { (ac_try="$ac_compile"
25668 case "(($ac_try" in
25669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25670 *) ac_try_echo=$ac_try;;
25672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25673 (eval "$ac_compile") 2>conftest.er1
25675 grep -v '^ *+' conftest.er1 >conftest.err
25677 cat conftest.err >&5
25678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679 (exit $ac_status); } && {
25680 test -z "$ac_c_werror_flag" ||
25681 test ! -s conftest.err
25682 } && test -s conftest.$ac_objext; then
25683 ac_cv_c_bigendian=yes
25685 echo "$as_me: failed program was:" >&5
25686 sed 's/^/| /' conftest.$ac_ext >&5
25688 ac_cv_c_bigendian=no
25691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25693 echo "$as_me: failed program was:" >&5
25694 sed 's/^/| /' conftest.$ac_ext >&5
25699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25700 if test $ac_cv_c_bigendian = unknown; then
25701 if test "$cross_compiling" = yes; then
25702 ac_cv_c_bigendian=unknown
25704 cat >conftest.$ac_ext <<_ACEOF
25707 cat confdefs.h >>conftest.$ac_ext
25708 cat >>conftest.$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25711 /* Are we little or big endian? From Harbison&Steele. */
25715 char c[sizeof (long)];
25718 exit (u.c[sizeof (long) - 1] == 1);
25721 rm -f conftest$ac_exeext
25722 if { (ac_try="$ac_link"
25723 case "(($ac_try" in
25724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25725 *) ac_try_echo=$ac_try;;
25727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25728 (eval "$ac_link") 2>&5
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25732 { (case "(($ac_try" in
25733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25734 *) ac_try_echo=$ac_try;;
25736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25737 (eval "$ac_try") 2>&5
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25741 ac_cv_c_bigendian=no
25743 echo "$as_me: program exited with status $ac_status" >&5
25744 echo "$as_me: failed program was:" >&5
25745 sed 's/^/| /' conftest.$ac_ext >&5
25747 ( exit $ac_status )
25748 ac_cv_c_bigendian=yes
25750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25756 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25757 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25758 if test $ac_cv_c_bigendian = unknown; then
25759 { 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
25760 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;}
25762 if test $ac_cv_c_bigendian = yes; then
25763 cat >>confdefs.h <<\_ACEOF
25764 #define WORDS_BIGENDIAN 1
25773 ac_cpp='$CXXCPP $CPPFLAGS'
25774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25780 for ac_header in iostream
25782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25786 echo $ECHO_N "(cached) $ECHO_C" >&6
25788 cat >conftest.$ac_ext <<_ACEOF
25791 cat confdefs.h >>conftest.$ac_ext
25792 cat >>conftest.$ac_ext <<_ACEOF
25793 /* end confdefs.h. */
25796 #include <$ac_header>
25798 rm -f conftest.$ac_objext
25799 if { (ac_try="$ac_compile"
25800 case "(($ac_try" in
25801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25802 *) ac_try_echo=$ac_try;;
25804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25805 (eval "$ac_compile") 2>conftest.er1
25807 grep -v '^ *+' conftest.er1 >conftest.err
25809 cat conftest.err >&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); } && {
25812 test -z "$ac_cxx_werror_flag" ||
25813 test ! -s conftest.err
25814 } && test -s conftest.$ac_objext; then
25815 eval "$as_ac_Header=yes"
25817 echo "$as_me: failed program was:" >&5
25818 sed 's/^/| /' conftest.$ac_ext >&5
25820 eval "$as_ac_Header=no"
25823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25825 ac_res=`eval echo '${'$as_ac_Header'}'`
25826 { echo "$as_me:$LINENO: result: $ac_res" >&5
25827 echo "${ECHO_T}$ac_res" >&6; }
25828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25829 cat >>confdefs.h <<_ACEOF
25830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25838 if test "$ac_cv_header_iostream" = "yes" ; then
25841 cat >>confdefs.h <<\_ACEOF
25842 #define wxUSE_IOSTREAMH 1
25848 ac_cpp='$CPP $CPPFLAGS'
25849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25856 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25857 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25858 if test "${wx_cv_cpp_bool+set}" = set; then
25859 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 ac_cpp='$CXXCPP $CPPFLAGS'
25865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25870 cat >conftest.$ac_ext <<_ACEOF
25873 cat confdefs.h >>conftest.$ac_ext
25874 cat >>conftest.$ac_ext <<_ACEOF
25875 /* end confdefs.h. */
25890 rm -f conftest.$ac_objext
25891 if { (ac_try="$ac_compile"
25892 case "(($ac_try" in
25893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25894 *) ac_try_echo=$ac_try;;
25896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25897 (eval "$ac_compile") 2>conftest.er1
25899 grep -v '^ *+' conftest.er1 >conftest.err
25901 cat conftest.err >&5
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); } && {
25904 test -z "$ac_cxx_werror_flag" ||
25905 test ! -s conftest.err
25906 } && test -s conftest.$ac_objext; then
25911 echo "$as_me: failed program was:" >&5
25912 sed 's/^/| /' conftest.$ac_ext >&5
25920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25923 ac_cpp='$CPP $CPPFLAGS'
25924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25930 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25931 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
25933 if test "$wx_cv_cpp_bool" = "yes"; then
25934 cat >>confdefs.h <<\_ACEOF
25935 #define HAVE_BOOL 1
25942 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25943 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25944 if test "${wx_cv_explicit+set}" = set; then
25945 echo $ECHO_N "(cached) $ECHO_C" >&6
25950 ac_cpp='$CXXCPP $CPPFLAGS'
25951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25956 cat >conftest.$ac_ext <<_ACEOF
25959 cat confdefs.h >>conftest.$ac_ext
25960 cat >>conftest.$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25963 class Foo { public: explicit Foo(int) {} };
25975 rm -f conftest.$ac_objext
25976 if { (ac_try="$ac_compile"
25977 case "(($ac_try" in
25978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25979 *) ac_try_echo=$ac_try;;
25981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25982 (eval "$ac_compile") 2>conftest.er1
25984 grep -v '^ *+' conftest.er1 >conftest.err
25986 cat conftest.err >&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } && {
25989 test -z "$ac_cxx_werror_flag" ||
25990 test ! -s conftest.err
25991 } && test -s conftest.$ac_objext; then
25993 cat >conftest.$ac_ext <<_ACEOF
25996 cat confdefs.h >>conftest.$ac_ext
25997 cat >>conftest.$ac_ext <<_ACEOF
25998 /* end confdefs.h. */
26000 class Foo { public: explicit Foo(int) {} };
26001 static void TakeFoo(const Foo& foo) { }
26014 rm -f conftest.$ac_objext
26015 if { (ac_try="$ac_compile"
26016 case "(($ac_try" in
26017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26018 *) ac_try_echo=$ac_try;;
26020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26021 (eval "$ac_compile") 2>conftest.er1
26023 grep -v '^ *+' conftest.er1 >conftest.err
26025 cat conftest.err >&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); } && {
26028 test -z "$ac_cxx_werror_flag" ||
26029 test ! -s conftest.err
26030 } && test -s conftest.$ac_objext; then
26033 echo "$as_me: failed program was:" >&5
26034 sed 's/^/| /' conftest.$ac_ext >&5
26040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26043 echo "$as_me: failed program was:" >&5
26044 sed 's/^/| /' conftest.$ac_ext >&5
26050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26053 ac_cpp='$CPP $CPPFLAGS'
26054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26060 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26061 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26063 if test "$wx_cv_explicit" = "yes"; then
26064 cat >>confdefs.h <<\_ACEOF
26065 #define HAVE_EXPLICIT 1
26071 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26072 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26073 if test "${ac_cv_cxx_const_cast+set}" = set; then
26074 echo $ECHO_N "(cached) $ECHO_C" >&6
26078 ac_cpp='$CXXCPP $CPPFLAGS'
26079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26083 cat >conftest.$ac_ext <<_ACEOF
26086 cat confdefs.h >>conftest.$ac_ext
26087 cat >>conftest.$ac_ext <<_ACEOF
26088 /* end confdefs.h. */
26093 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26098 rm -f conftest.$ac_objext
26099 if { (ac_try="$ac_compile"
26100 case "(($ac_try" in
26101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26102 *) ac_try_echo=$ac_try;;
26104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26105 (eval "$ac_compile") 2>conftest.er1
26107 grep -v '^ *+' conftest.er1 >conftest.err
26109 cat conftest.err >&5
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); } && {
26112 test -z "$ac_cxx_werror_flag" ||
26113 test ! -s conftest.err
26114 } && test -s conftest.$ac_objext; then
26115 ac_cv_cxx_const_cast=yes
26117 echo "$as_me: failed program was:" >&5
26118 sed 's/^/| /' conftest.$ac_ext >&5
26120 ac_cv_cxx_const_cast=no
26123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26125 ac_cpp='$CPP $CPPFLAGS'
26126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26132 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26133 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26134 if test "$ac_cv_cxx_const_cast" = yes; then
26136 cat >>confdefs.h <<\_ACEOF
26137 #define HAVE_CONST_CAST
26142 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26143 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26144 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26149 ac_cpp='$CXXCPP $CPPFLAGS'
26150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26154 cat >conftest.$ac_ext <<_ACEOF
26157 cat confdefs.h >>conftest.$ac_ext
26158 cat >>conftest.$ac_ext <<_ACEOF
26159 /* end confdefs.h. */
26160 #include <typeinfo>
26161 class Base { public : Base () {} virtual void f () = 0;};
26162 class Derived : public Base { public : Derived () {} virtual void f () {} };
26163 class Unrelated { public : Unrelated () {} };
26164 int g (Unrelated&) { return 0; }
26169 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26174 rm -f conftest.$ac_objext
26175 if { (ac_try="$ac_compile"
26176 case "(($ac_try" in
26177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26178 *) ac_try_echo=$ac_try;;
26180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26181 (eval "$ac_compile") 2>conftest.er1
26183 grep -v '^ *+' conftest.er1 >conftest.err
26185 cat conftest.err >&5
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); } && {
26188 test -z "$ac_cxx_werror_flag" ||
26189 test ! -s conftest.err
26190 } && test -s conftest.$ac_objext; then
26191 ac_cv_cxx_reinterpret_cast=yes
26193 echo "$as_me: failed program was:" >&5
26194 sed 's/^/| /' conftest.$ac_ext >&5
26196 ac_cv_cxx_reinterpret_cast=no
26199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26201 ac_cpp='$CPP $CPPFLAGS'
26202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26208 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26209 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26210 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26212 cat >>confdefs.h <<\_ACEOF
26213 #define HAVE_REINTERPRET_CAST
26218 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26219 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26220 if test "${ac_cv_cxx_static_cast+set}" = set; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26225 ac_cpp='$CXXCPP $CPPFLAGS'
26226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26230 cat >conftest.$ac_ext <<_ACEOF
26233 cat confdefs.h >>conftest.$ac_ext
26234 cat >>conftest.$ac_ext <<_ACEOF
26235 /* end confdefs.h. */
26236 #include <typeinfo>
26237 class Base { public : Base () {} virtual void f () = 0; };
26238 class Derived : public Base { public : Derived () {} virtual void f () {} };
26239 int g (Derived&) { return 0; }
26244 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26249 rm -f conftest.$ac_objext
26250 if { (ac_try="$ac_compile"
26251 case "(($ac_try" in
26252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26253 *) ac_try_echo=$ac_try;;
26255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26256 (eval "$ac_compile") 2>conftest.er1
26258 grep -v '^ *+' conftest.er1 >conftest.err
26260 cat conftest.err >&5
26261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26262 (exit $ac_status); } && {
26263 test -z "$ac_cxx_werror_flag" ||
26264 test ! -s conftest.err
26265 } && test -s conftest.$ac_objext; then
26266 ac_cv_cxx_static_cast=yes
26268 echo "$as_me: failed program was:" >&5
26269 sed 's/^/| /' conftest.$ac_ext >&5
26271 ac_cv_cxx_static_cast=no
26274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26276 ac_cpp='$CPP $CPPFLAGS'
26277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26283 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26284 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26285 if test "$ac_cv_cxx_static_cast" = yes; then
26287 cat >>confdefs.h <<\_ACEOF
26288 #define HAVE_STATIC_CAST
26294 if test "x$SUNCXX" = xyes; then
26295 CXXFLAGS="-features=tmplife $CXXFLAGS"
26298 if test "x$SUNCC" = xyes; then
26299 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26302 if test "x$SGICC" = "xyes"; then
26303 CFLAGS="-woff 3970 $CFLAGS"
26305 if test "x$SGICXX" = "xyes"; then
26306 CXXFLAGS="-woff 3970 $CXXFLAGS"
26309 if test "x$HPCC" = "xyes"; then
26310 CFLAGS="+W 2011,2450 $CFLAGS"
26312 if test "x$HPCXX" = "xyes"; then
26313 CXXFLAGS="+W 2340 $CXXFLAGS"
26316 if test "x$COMPAQCXX" = "xyes"; then
26317 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26321 ac_cpp='$CXXCPP $CPPFLAGS'
26322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26327 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26328 if test "$wxUSE_UNICODE" = "yes"; then
26329 std_string="std::wstring"
26330 char_type="wchar_t"
26332 std_string="std::string"
26336 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26337 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26338 if test "${wx_cv_class_stdstring+set}" = set; then
26339 echo $ECHO_N "(cached) $ECHO_C" >&6
26342 cat >conftest.$ac_ext <<_ACEOF
26345 cat confdefs.h >>conftest.$ac_ext
26346 cat >>conftest.$ac_ext <<_ACEOF
26347 /* end confdefs.h. */
26357 rm -f conftest.$ac_objext
26358 if { (ac_try="$ac_compile"
26359 case "(($ac_try" in
26360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26361 *) ac_try_echo=$ac_try;;
26363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26364 (eval "$ac_compile") 2>conftest.er1
26366 grep -v '^ *+' conftest.er1 >conftest.err
26368 cat conftest.err >&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); } && {
26371 test -z "$ac_cxx_werror_flag" ||
26372 test ! -s conftest.err
26373 } && test -s conftest.$ac_objext; then
26374 wx_cv_class_stdstring=yes
26376 echo "$as_me: failed program was:" >&5
26377 sed 's/^/| /' conftest.$ac_ext >&5
26379 wx_cv_class_stdstring=no
26383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26387 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26388 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26390 if test "$wx_cv_class_stdstring" = yes; then
26391 if test "$wxUSE_UNICODE" = "yes"; then
26392 cat >>confdefs.h <<\_ACEOF
26393 #define HAVE_STD_WSTRING 1
26398 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26399 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26400 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26401 echo $ECHO_N "(cached) $ECHO_C" >&6
26404 cat >conftest.$ac_ext <<_ACEOF
26407 cat confdefs.h >>conftest.$ac_ext
26408 cat >>conftest.$ac_ext <<_ACEOF
26409 /* end confdefs.h. */
26411 #ifdef HAVE_WCHAR_H
26413 # include <stddef.h>
26415 # include <wchar.h>
26417 #ifdef HAVE_STDLIB_H
26418 # include <stdlib.h>
26426 std::basic_string<$char_type> foo;
26427 const $char_type* dummy = foo.c_str();
26432 rm -f conftest.$ac_objext
26433 if { (ac_try="$ac_compile"
26434 case "(($ac_try" in
26435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26436 *) ac_try_echo=$ac_try;;
26438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26439 (eval "$ac_compile") 2>conftest.er1
26441 grep -v '^ *+' conftest.er1 >conftest.err
26443 cat conftest.err >&5
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); } && {
26446 test -z "$ac_cxx_werror_flag" ||
26447 test ! -s conftest.err
26448 } && test -s conftest.$ac_objext; then
26449 wx_cv_class_stdbasicstring=yes
26451 echo "$as_me: failed program was:" >&5
26452 sed 's/^/| /' conftest.$ac_ext >&5
26454 wx_cv_class_stdbasicstring=no
26458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26462 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26463 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26465 if test "$wx_cv_class_stdbasicstring" != yes; then
26466 if test "$wxUSE_STL" = "yes"; then
26467 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26468 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26469 { (exit 1); exit 1; }; }
26470 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26471 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26472 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26473 { (exit 1); exit 1; }; }
26475 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26476 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26477 wxUSE_STD_STRING=no
26483 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26484 { echo "$as_me:$LINENO: checking for std::istream" >&5
26485 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26486 if test "${ac_cv_type_std__istream+set}" = set; then
26487 echo $ECHO_N "(cached) $ECHO_C" >&6
26489 cat >conftest.$ac_ext <<_ACEOF
26492 cat confdefs.h >>conftest.$ac_ext
26493 cat >>conftest.$ac_ext <<_ACEOF
26494 /* end confdefs.h. */
26495 #include <iostream>
26497 typedef std::istream ac__type_new_;
26501 if ((ac__type_new_ *) 0)
26503 if (sizeof (ac__type_new_))
26509 rm -f conftest.$ac_objext
26510 if { (ac_try="$ac_compile"
26511 case "(($ac_try" in
26512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26513 *) ac_try_echo=$ac_try;;
26515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26516 (eval "$ac_compile") 2>conftest.er1
26518 grep -v '^ *+' conftest.er1 >conftest.err
26520 cat conftest.err >&5
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); } && {
26523 test -z "$ac_cxx_werror_flag" ||
26524 test ! -s conftest.err
26525 } && test -s conftest.$ac_objext; then
26526 ac_cv_type_std__istream=yes
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.$ac_ext >&5
26531 ac_cv_type_std__istream=no
26534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26536 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26537 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26538 if test $ac_cv_type_std__istream = yes; then
26540 cat >>confdefs.h <<_ACEOF
26541 #define HAVE_STD__ISTREAM 1
26546 wxUSE_STD_IOSTREAM=no
26548 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26549 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26550 if test "${ac_cv_type_std__ostream+set}" = set; then
26551 echo $ECHO_N "(cached) $ECHO_C" >&6
26553 cat >conftest.$ac_ext <<_ACEOF
26556 cat confdefs.h >>conftest.$ac_ext
26557 cat >>conftest.$ac_ext <<_ACEOF
26558 /* end confdefs.h. */
26559 #include <iostream>
26561 typedef std::ostream ac__type_new_;
26565 if ((ac__type_new_ *) 0)
26567 if (sizeof (ac__type_new_))
26573 rm -f conftest.$ac_objext
26574 if { (ac_try="$ac_compile"
26575 case "(($ac_try" in
26576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26577 *) ac_try_echo=$ac_try;;
26579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26580 (eval "$ac_compile") 2>conftest.er1
26582 grep -v '^ *+' conftest.er1 >conftest.err
26584 cat conftest.err >&5
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); } && {
26587 test -z "$ac_cxx_werror_flag" ||
26588 test ! -s conftest.err
26589 } && test -s conftest.$ac_objext; then
26590 ac_cv_type_std__ostream=yes
26592 echo "$as_me: failed program was:" >&5
26593 sed 's/^/| /' conftest.$ac_ext >&5
26595 ac_cv_type_std__ostream=no
26598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26600 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26601 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26602 if test $ac_cv_type_std__ostream = yes; then
26604 cat >>confdefs.h <<_ACEOF
26605 #define HAVE_STD__OSTREAM 1
26610 wxUSE_STD_IOSTREAM=no
26614 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26615 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26616 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26617 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26618 { (exit 1); exit 1; }; }
26620 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26621 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26626 if test "$wxUSE_STL" = "yes"; then
26627 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26628 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26629 if test "${wx_cv_lib_stl+set}" = set; then
26630 echo $ECHO_N "(cached) $ECHO_C" >&6
26632 cat >conftest.$ac_ext <<_ACEOF
26635 cat confdefs.h >>conftest.$ac_ext
26636 cat >>conftest.$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26639 #include <functional>
26640 #include <algorithm>
26646 std::vector<int> moo;
26647 std::list<int> foo;
26648 std::vector<int>::iterator it =
26649 std::find_if(moo.begin(), moo.end(),
26650 std::bind2nd(std::less<int>(), 3));
26655 rm -f conftest.$ac_objext
26656 if { (ac_try="$ac_compile"
26657 case "(($ac_try" in
26658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26659 *) ac_try_echo=$ac_try;;
26661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26662 (eval "$ac_compile") 2>conftest.er1
26664 grep -v '^ *+' conftest.er1 >conftest.err
26666 cat conftest.err >&5
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); } && {
26669 test -z "$ac_cxx_werror_flag" ||
26670 test ! -s conftest.err
26671 } && test -s conftest.$ac_objext; then
26674 echo "$as_me: failed program was:" >&5
26675 sed 's/^/| /' conftest.$ac_ext >&5
26681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26684 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26685 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26687 if test "$wx_cv_lib_stl" != yes; then
26688 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26689 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26690 { (exit 1); exit 1; }; }
26693 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26694 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26695 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26696 echo $ECHO_N "(cached) $ECHO_C" >&6
26698 cat >conftest.$ac_ext <<_ACEOF
26701 cat confdefs.h >>conftest.$ac_ext
26702 cat >>conftest.$ac_ext <<_ACEOF
26703 /* end confdefs.h. */
26708 std::string foo, bar;
26710 foo.compare(1, 1, bar);
26711 foo.compare(1, 1, bar, 1, 1);
26713 foo.compare(1, 1, "");
26714 foo.compare(1, 1, "", 2);
26719 rm -f conftest.$ac_objext
26720 if { (ac_try="$ac_compile"
26721 case "(($ac_try" in
26722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26723 *) ac_try_echo=$ac_try;;
26725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26726 (eval "$ac_compile") 2>conftest.er1
26728 grep -v '^ *+' conftest.er1 >conftest.err
26730 cat conftest.err >&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); } && {
26733 test -z "$ac_cxx_werror_flag" ||
26734 test ! -s conftest.err
26735 } && test -s conftest.$ac_objext; then
26736 wx_cv_func_stdstring_compare=yes
26738 echo "$as_me: failed program was:" >&5
26739 sed 's/^/| /' conftest.$ac_ext >&5
26741 wx_cv_func_stdstring_compare=no
26745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26748 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26749 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26751 if test "$wx_cv_func_stdstring_compare" = yes; then
26752 cat >>confdefs.h <<\_ACEOF
26753 #define HAVE_STD_STRING_COMPARE 1
26758 { echo "$as_me:$LINENO: checking for hash_map" >&5
26759 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26760 if test "${ac_cv_header_hash_map+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 cat >conftest.$ac_ext <<_ACEOF
26766 cat confdefs.h >>conftest.$ac_ext
26767 cat >>conftest.$ac_ext <<_ACEOF
26768 /* end confdefs.h. */
26772 #include <hash_map>
26774 rm -f conftest.$ac_objext
26775 if { (ac_try="$ac_compile"
26776 case "(($ac_try" in
26777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26778 *) ac_try_echo=$ac_try;;
26780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26781 (eval "$ac_compile") 2>conftest.er1
26783 grep -v '^ *+' conftest.er1 >conftest.err
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } && {
26788 test -z "$ac_cxx_werror_flag" ||
26789 test ! -s conftest.err
26790 } && test -s conftest.$ac_objext; then
26791 ac_cv_header_hash_map=yes
26793 echo "$as_me: failed program was:" >&5
26794 sed 's/^/| /' conftest.$ac_ext >&5
26796 ac_cv_header_hash_map=no
26799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26801 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26802 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26803 if test $ac_cv_header_hash_map = yes; then
26804 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26805 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26806 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26807 echo $ECHO_N "(cached) $ECHO_C" >&6
26809 cat >conftest.$ac_ext <<_ACEOF
26812 cat confdefs.h >>conftest.$ac_ext
26813 cat >>conftest.$ac_ext <<_ACEOF
26814 /* end confdefs.h. */
26815 #include <hash_map>
26816 #include <hash_set>
26820 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26821 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26826 rm -f conftest.$ac_objext
26827 if { (ac_try="$ac_compile"
26828 case "(($ac_try" in
26829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26830 *) ac_try_echo=$ac_try;;
26832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26833 (eval "$ac_compile") 2>conftest.er1
26835 grep -v '^ *+' conftest.er1 >conftest.err
26837 cat conftest.err >&5
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); } && {
26840 test -z "$ac_cxx_werror_flag" ||
26841 test ! -s conftest.err
26842 } && test -s conftest.$ac_objext; then
26843 wx_cv_class_stdhashmapset=yes
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26848 wx_cv_class_stdhashmapset=no
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26855 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26856 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26861 if test "$wx_cv_class_stdhashmapset" = yes; then
26862 cat >>confdefs.h <<\_ACEOF
26863 #define HAVE_HASH_MAP 1
26866 cat >>confdefs.h <<\_ACEOF
26867 #define HAVE_STD_HASH_MAP 1
26872 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26873 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26874 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26875 echo $ECHO_N "(cached) $ECHO_C" >&6
26877 cat >conftest.$ac_ext <<_ACEOF
26880 cat confdefs.h >>conftest.$ac_ext
26881 cat >>conftest.$ac_ext <<_ACEOF
26882 /* end confdefs.h. */
26886 #include <ext/hash_map>
26888 rm -f conftest.$ac_objext
26889 if { (ac_try="$ac_compile"
26890 case "(($ac_try" in
26891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26892 *) ac_try_echo=$ac_try;;
26894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26895 (eval "$ac_compile") 2>conftest.er1
26897 grep -v '^ *+' conftest.er1 >conftest.err
26899 cat conftest.err >&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); } && {
26902 test -z "$ac_cxx_werror_flag" ||
26903 test ! -s conftest.err
26904 } && test -s conftest.$ac_objext; then
26905 ac_cv_header_ext_hash_map=yes
26907 echo "$as_me: failed program was:" >&5
26908 sed 's/^/| /' conftest.$ac_ext >&5
26910 ac_cv_header_ext_hash_map=no
26913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26915 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26916 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26917 if test $ac_cv_header_ext_hash_map = yes; then
26918 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26919 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26920 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26921 echo $ECHO_N "(cached) $ECHO_C" >&6
26923 cat >conftest.$ac_ext <<_ACEOF
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26929 #include <ext/hash_map>
26930 #include <ext/hash_set>
26934 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26935 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26940 rm -f conftest.$ac_objext
26941 if { (ac_try="$ac_compile"
26942 case "(($ac_try" in
26943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26944 *) ac_try_echo=$ac_try;;
26946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26947 (eval "$ac_compile") 2>conftest.er1
26949 grep -v '^ *+' conftest.er1 >conftest.err
26951 cat conftest.err >&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); } && {
26954 test -z "$ac_cxx_werror_flag" ||
26955 test ! -s conftest.err
26956 } && test -s conftest.$ac_objext; then
26957 wx_cv_class_gnuhashmapset=yes
26959 echo "$as_me: failed program was:" >&5
26960 sed 's/^/| /' conftest.$ac_ext >&5
26962 wx_cv_class_gnuhashmapset=no
26965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26969 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26970 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26975 if test "$wx_cv_class_gnuhashmapset" = yes; then
26976 cat >>confdefs.h <<\_ACEOF
26977 #define HAVE_EXT_HASH_MAP 1
26980 cat >>confdefs.h <<\_ACEOF
26981 #define HAVE_GNU_CXX_HASH_MAP 1
26988 ac_cpp='$CPP $CPPFLAGS'
26989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26996 /usr/local/include \
26998 /usr/Motif-2.1/include \
26999 /usr/Motif-1.2/include \
27000 /usr/include/Motif1.2 \
27003 /usr/openwin/include \
27007 /usr/X11R6/include \
27008 /usr/X11R6.4/include \
27009 /usr/X11R5/include \
27010 /usr/X11R4/include \
27012 /usr/include/X11R6 \
27013 /usr/include/X11R5 \
27014 /usr/include/X11R4 \
27016 /usr/local/X11R6/include \
27017 /usr/local/X11R5/include \
27018 /usr/local/X11R4/include \
27020 /usr/local/include/X11R6 \
27021 /usr/local/include/X11R5 \
27022 /usr/local/include/X11R4 \
27026 /usr/local/X11/include \
27027 /usr/local/include/X11 \
27029 /usr/XFree86/include/X11 \
27032 /usr/openwin/share/include"
27034 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27035 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27039 if test "${wx_cv_std_libpath+set}" = set; then
27040 echo $ECHO_N "(cached) $ECHO_C" >&6
27043 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27044 for e in a so sl dylib dll.a; do
27046 if test -f $libc; then
27049 cat >conftest.$ac_ext <<_ACEOF
27050 int main() { return 0; }
27052 rm -f conftest.$ac_objext conftest$ac_exeext
27053 if { (ac_try="$ac_link"
27054 case "(($ac_try" in
27055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27056 *) ac_try_echo=$ac_try;;
27058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27059 (eval "$ac_link") 2>conftest.er1
27061 grep -v '^ *+' conftest.er1 >conftest.err
27063 cat conftest.err >&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); } && {
27066 test -z "$ac_c_werror_flag" ||
27067 test ! -s conftest.err
27068 } && test -s conftest$ac_exeext &&
27069 $as_test_x conftest$ac_exeext; then
27070 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27072 echo "$as_me: failed program was:" >&5
27073 sed 's/^/| /' conftest.$ac_ext >&5
27078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27079 conftest$ac_exeext conftest.$ac_ext
27081 if test "x$wx_cv_std_libpath" != "x"; then
27087 if test "x$wx_cv_std_libpath" = "x"; then
27088 wx_cv_std_libpath="lib"
27097 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27098 wx_cv_std_libpath="lib/64"
27100 wx_cv_std_libpath="lib"
27105 if test "$ac_cv_sizeof_void_p" = 8 -a \
27106 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27107 wx_cv_std_libpath="lib64"
27109 wx_cv_std_libpath="lib"
27114 wx_cv_std_libpath="lib";
27118 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27119 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27121 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27123 if test "$build" != "$host" -a "$GCC" = yes; then
27124 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27125 cross_root=`dirname $cross_root`
27126 cross_root=`dirname $cross_root`
27128 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27129 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27130 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27132 if test -z "$PKG_CONFIG_PATH"; then
27133 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27134 export PKG_CONFIG_PATH
27137 if test -z "$x_includes" -o "$x_includes" = NONE; then
27140 for ac_dir in $SEARCH_INCLUDE /usr/include;
27142 if test -f "$ac_dir/X11/Intrinsic.h"; then
27143 ac_find_includes=$ac_dir
27148 x_includes=$ac_find_includes
27150 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27153 for ac_dir in $SEARCH_LIB;
27155 for ac_extension in a so sl dylib dll.a; do
27156 if test -f "$ac_dir/libXt.$ac_extension"; then
27157 ac_find_libraries=$ac_dir
27163 x_libraries=$ac_find_libraries
27169 cat >confcache <<\_ACEOF
27170 # This file is a shell script that caches the results of configure
27171 # tests run on this system so they can be shared between configure
27172 # scripts and configure runs, see configure's option --config-cache.
27173 # It is not useful on other systems. If it contains results you don't
27174 # want to keep, you may remove or edit it.
27176 # config.status only pays attention to the cache file if you give it
27177 # the --recheck option to rerun configure.
27179 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27180 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27181 # following values.
27185 # The following way of writing the cache mishandles newlines in values,
27186 # but we know of no workaround that is simple, portable, and efficient.
27187 # So, we kill variables containing newlines.
27188 # Ultrix sh set writes to stderr and can't be redirected directly,
27189 # and sets the high bit in the cache file unless we assign to the vars.
27191 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27192 eval ac_val=\$$ac_var
27196 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27197 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27200 _ | IFS | as_nl) ;; #(
27201 *) $as_unset $ac_var ;;
27207 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27208 *${as_nl}ac_space=\ *)
27209 # `set' does not quote correctly, so add quotes (double-quote
27210 # substitution turns \\\\ into \\, and sed turns \\ into \).
27213 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27216 # `set' quotes correctly as required by POSIX, so do not add quotes.
27217 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27226 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27228 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27230 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27231 if test -w "$cache_file"; then
27232 test "x$cache_file" != "x/dev/null" &&
27233 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27234 echo "$as_me: updating cache $cache_file" >&6;}
27235 cat confcache >$cache_file
27237 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27238 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27243 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27244 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27245 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27246 if test "${wx_cv_lib_glibc21+set}" = set; then
27247 echo $ECHO_N "(cached) $ECHO_C" >&6
27250 cat >conftest.$ac_ext <<_ACEOF
27253 cat confdefs.h >>conftest.$ac_ext
27254 cat >>conftest.$ac_ext <<_ACEOF
27255 /* end confdefs.h. */
27256 #include <features.h>
27261 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27269 rm -f conftest.$ac_objext
27270 if { (ac_try="$ac_compile"
27271 case "(($ac_try" in
27272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27273 *) ac_try_echo=$ac_try;;
27275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27276 (eval "$ac_compile") 2>conftest.er1
27278 grep -v '^ *+' conftest.er1 >conftest.err
27280 cat conftest.err >&5
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); } && {
27283 test -z "$ac_c_werror_flag" ||
27284 test ! -s conftest.err
27285 } && test -s conftest.$ac_objext; then
27287 wx_cv_lib_glibc21=yes
27290 echo "$as_me: failed program was:" >&5
27291 sed 's/^/| /' conftest.$ac_ext >&5
27294 wx_cv_lib_glibc21=no
27299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27302 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27303 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27304 if test "$wx_cv_lib_glibc21" = "yes"; then
27305 cat >>confdefs.h <<\_ACEOF
27306 #define wxHAVE_GLIBC2 1
27312 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27313 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27314 cat >>confdefs.h <<\_ACEOF
27315 #define _GNU_SOURCE 1
27326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27327 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27329 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27330 echo $ECHO_N "(cached) $ECHO_C" >&6
27332 cat >conftest.$ac_ext <<_ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27340 #define $ac_func innocuous_$ac_func
27342 /* System header to define __stub macros and hopefully few prototypes,
27343 which can conflict with char $ac_func (); below.
27344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27345 <limits.h> exists even on freestanding compilers. */
27348 # include <limits.h>
27350 # include <assert.h>
27355 /* Override any GCC internal prototype to avoid an error.
27356 Use char because int might match the return type of a GCC
27357 builtin and then its argument prototype would still apply. */
27362 /* The GNU C library defines this for functions which it implements
27363 to always fail with ENOSYS. Some functions are actually named
27364 something starting with __ and the normal name is an alias. */
27365 #if defined __stub_$ac_func || defined __stub___$ac_func
27372 return $ac_func ();
27377 rm -f conftest.$ac_objext conftest$ac_exeext
27378 if { (ac_try="$ac_link"
27379 case "(($ac_try" in
27380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27381 *) ac_try_echo=$ac_try;;
27383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27384 (eval "$ac_link") 2>conftest.er1
27386 grep -v '^ *+' conftest.er1 >conftest.err
27388 cat conftest.err >&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); } && {
27391 test -z "$ac_c_werror_flag" ||
27392 test ! -s conftest.err
27393 } && test -s conftest$ac_exeext &&
27394 $as_test_x conftest$ac_exeext; then
27395 eval "$as_ac_var=yes"
27397 echo "$as_me: failed program was:" >&5
27398 sed 's/^/| /' conftest.$ac_ext >&5
27400 eval "$as_ac_var=no"
27403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27404 conftest$ac_exeext conftest.$ac_ext
27406 ac_res=`eval echo '${'$as_ac_var'}'`
27407 { echo "$as_me:$LINENO: result: $ac_res" >&5
27408 echo "${ECHO_T}$ac_res" >&6; }
27409 if test `eval echo '${'$as_ac_var'}'` = yes; then
27410 cat >>confdefs.h <<_ACEOF
27411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27418 for ac_func in floor
27420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27424 echo $ECHO_N "(cached) $ECHO_C" >&6
27426 cat >conftest.$ac_ext <<_ACEOF
27429 cat confdefs.h >>conftest.$ac_ext
27430 cat >>conftest.$ac_ext <<_ACEOF
27431 /* end confdefs.h. */
27432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27434 #define $ac_func innocuous_$ac_func
27436 /* System header to define __stub macros and hopefully few prototypes,
27437 which can conflict with char $ac_func (); below.
27438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27439 <limits.h> exists even on freestanding compilers. */
27442 # include <limits.h>
27444 # include <assert.h>
27449 /* Override any GCC internal prototype to avoid an error.
27450 Use char because int might match the return type of a GCC
27451 builtin and then its argument prototype would still apply. */
27456 /* The GNU C library defines this for functions which it implements
27457 to always fail with ENOSYS. Some functions are actually named
27458 something starting with __ and the normal name is an alias. */
27459 #if defined __stub_$ac_func || defined __stub___$ac_func
27466 return $ac_func ();
27471 rm -f conftest.$ac_objext conftest$ac_exeext
27472 if { (ac_try="$ac_link"
27473 case "(($ac_try" in
27474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27475 *) ac_try_echo=$ac_try;;
27477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27478 (eval "$ac_link") 2>conftest.er1
27480 grep -v '^ *+' conftest.er1 >conftest.err
27482 cat conftest.err >&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); } && {
27485 test -z "$ac_c_werror_flag" ||
27486 test ! -s conftest.err
27487 } && test -s conftest$ac_exeext &&
27488 $as_test_x conftest$ac_exeext; then
27489 eval "$as_ac_var=yes"
27491 echo "$as_me: failed program was:" >&5
27492 sed 's/^/| /' conftest.$ac_ext >&5
27494 eval "$as_ac_var=no"
27497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27498 conftest$ac_exeext conftest.$ac_ext
27500 ac_res=`eval echo '${'$as_ac_var'}'`
27501 { echo "$as_me:$LINENO: result: $ac_res" >&5
27502 echo "${ECHO_T}$ac_res" >&6; }
27503 if test `eval echo '${'$as_ac_var'}'` = yes; then
27504 cat >>confdefs.h <<_ACEOF
27505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27511 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27512 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27513 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27514 { echo "$as_me:$LINENO: result: yes" >&5
27515 echo "${ECHO_T}yes" >&6; }
27517 { echo "$as_me:$LINENO: result: no" >&5
27518 echo "${ECHO_T}no" >&6; }
27520 # use different functions to avoid configure caching
27526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27527 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27529 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27530 echo $ECHO_N "(cached) $ECHO_C" >&6
27532 cat >conftest.$ac_ext <<_ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27540 #define $ac_func innocuous_$ac_func
27542 /* System header to define __stub macros and hopefully few prototypes,
27543 which can conflict with char $ac_func (); below.
27544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27545 <limits.h> exists even on freestanding compilers. */
27548 # include <limits.h>
27550 # include <assert.h>
27555 /* Override any GCC internal prototype to avoid an error.
27556 Use char because int might match the return type of a GCC
27557 builtin and then its argument prototype would still apply. */
27562 /* The GNU C library defines this for functions which it implements
27563 to always fail with ENOSYS. Some functions are actually named
27564 something starting with __ and the normal name is an alias. */
27565 #if defined __stub_$ac_func || defined __stub___$ac_func
27572 return $ac_func ();
27577 rm -f conftest.$ac_objext conftest$ac_exeext
27578 if { (ac_try="$ac_link"
27579 case "(($ac_try" in
27580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27581 *) ac_try_echo=$ac_try;;
27583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27584 (eval "$ac_link") 2>conftest.er1
27586 grep -v '^ *+' conftest.er1 >conftest.err
27588 cat conftest.err >&5
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); } && {
27591 test -z "$ac_c_werror_flag" ||
27592 test ! -s conftest.err
27593 } && test -s conftest$ac_exeext &&
27594 $as_test_x conftest$ac_exeext; then
27595 eval "$as_ac_var=yes"
27597 echo "$as_me: failed program was:" >&5
27598 sed 's/^/| /' conftest.$ac_ext >&5
27600 eval "$as_ac_var=no"
27603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27604 conftest$ac_exeext conftest.$ac_ext
27606 ac_res=`eval echo '${'$as_ac_var'}'`
27607 { echo "$as_me:$LINENO: result: $ac_res" >&5
27608 echo "${ECHO_T}$ac_res" >&6; }
27609 if test `eval echo '${'$as_ac_var'}'` = yes; then
27610 cat >>confdefs.h <<_ACEOF
27611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27618 for ac_func in ceil
27620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27621 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27623 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27624 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 cat >conftest.$ac_ext <<_ACEOF
27629 cat confdefs.h >>conftest.$ac_ext
27630 cat >>conftest.$ac_ext <<_ACEOF
27631 /* end confdefs.h. */
27632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27634 #define $ac_func innocuous_$ac_func
27636 /* System header to define __stub macros and hopefully few prototypes,
27637 which can conflict with char $ac_func (); below.
27638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27639 <limits.h> exists even on freestanding compilers. */
27642 # include <limits.h>
27644 # include <assert.h>
27649 /* Override any GCC internal prototype to avoid an error.
27650 Use char because int might match the return type of a GCC
27651 builtin and then its argument prototype would still apply. */
27656 /* The GNU C library defines this for functions which it implements
27657 to always fail with ENOSYS. Some functions are actually named
27658 something starting with __ and the normal name is an alias. */
27659 #if defined __stub_$ac_func || defined __stub___$ac_func
27666 return $ac_func ();
27671 rm -f conftest.$ac_objext conftest$ac_exeext
27672 if { (ac_try="$ac_link"
27673 case "(($ac_try" in
27674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27675 *) ac_try_echo=$ac_try;;
27677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27678 (eval "$ac_link") 2>conftest.er1
27680 grep -v '^ *+' conftest.er1 >conftest.err
27682 cat conftest.err >&5
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); } && {
27685 test -z "$ac_c_werror_flag" ||
27686 test ! -s conftest.err
27687 } && test -s conftest$ac_exeext &&
27688 $as_test_x conftest$ac_exeext; then
27689 eval "$as_ac_var=yes"
27691 echo "$as_me: failed program was:" >&5
27692 sed 's/^/| /' conftest.$ac_ext >&5
27694 eval "$as_ac_var=no"
27697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27698 conftest$ac_exeext conftest.$ac_ext
27700 ac_res=`eval echo '${'$as_ac_var'}'`
27701 { echo "$as_me:$LINENO: result: $ac_res" >&5
27702 echo "${ECHO_T}$ac_res" >&6; }
27703 if test `eval echo '${'$as_ac_var'}'` = yes; then
27704 cat >>confdefs.h <<_ACEOF
27705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27711 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27712 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27713 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27714 { echo "$as_me:$LINENO: result: yes" >&5
27715 echo "${ECHO_T}yes" >&6; }
27717 { echo "$as_me:$LINENO: result: no" >&5
27718 echo "${ECHO_T}no" >&6; }
27719 # not sure we should warn the user, crash, etc.
27724 ac_cpp='$CXXCPP $CPPFLAGS'
27725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27729 if test "wxUSE_UNICODE" = "yes"; then
27731 for wx_func in wcstoull
27733 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27734 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27735 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27736 echo $ECHO_N "(cached) $ECHO_C" >&6
27739 cat >conftest.$ac_ext <<_ACEOF
27743 cat confdefs.h >>conftest.$ac_ext
27744 cat >>conftest.$ac_ext <<_ACEOF
27745 /* end confdefs.h. */
27748 $ac_includes_default
27764 rm -f conftest.$ac_objext conftest$ac_exeext
27765 if { (ac_try="$ac_link"
27766 case "(($ac_try" in
27767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27768 *) ac_try_echo=$ac_try;;
27770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27771 (eval "$ac_link") 2>conftest.er1
27773 grep -v '^ *+' conftest.er1 >conftest.err
27775 cat conftest.err >&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); } && {
27778 test -z "$ac_cxx_werror_flag" ||
27779 test ! -s conftest.err
27780 } && test -s conftest$ac_exeext &&
27781 $as_test_x conftest$ac_exeext; then
27782 eval wx_cv_func_$wx_func=yes
27784 echo "$as_me: failed program was:" >&5
27785 sed 's/^/| /' conftest.$ac_ext >&5
27787 eval wx_cv_func_$wx_func=no
27790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27791 conftest$ac_exeext conftest.$ac_ext
27794 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27795 { echo "$as_me:$LINENO: result: $ac_res" >&5
27796 echo "${ECHO_T}$ac_res" >&6; }
27798 if eval test \$wx_cv_func_$wx_func = yes
27800 cat >>confdefs.h <<_ACEOF
27801 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27813 for wx_func in strtoull
27815 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27816 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27817 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27818 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 cat >conftest.$ac_ext <<_ACEOF
27825 cat confdefs.h >>conftest.$ac_ext
27826 cat >>conftest.$ac_ext <<_ACEOF
27827 /* end confdefs.h. */
27830 $ac_includes_default
27846 rm -f conftest.$ac_objext conftest$ac_exeext
27847 if { (ac_try="$ac_link"
27848 case "(($ac_try" in
27849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27850 *) ac_try_echo=$ac_try;;
27852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27853 (eval "$ac_link") 2>conftest.er1
27855 grep -v '^ *+' conftest.er1 >conftest.err
27857 cat conftest.err >&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); } && {
27860 test -z "$ac_cxx_werror_flag" ||
27861 test ! -s conftest.err
27862 } && test -s conftest$ac_exeext &&
27863 $as_test_x conftest$ac_exeext; then
27864 eval wx_cv_func_$wx_func=yes
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.$ac_ext >&5
27869 eval wx_cv_func_$wx_func=no
27872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27873 conftest$ac_exeext conftest.$ac_ext
27876 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27877 { echo "$as_me:$LINENO: result: $ac_res" >&5
27878 echo "${ECHO_T}$ac_res" >&6; }
27880 if eval test \$wx_cv_func_$wx_func = yes
27882 cat >>confdefs.h <<_ACEOF
27883 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27895 ac_cpp='$CPP $CPPFLAGS'
27896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27903 if test "$wxUSE_REGEX" != "no"; then
27904 cat >>confdefs.h <<\_ACEOF
27905 #define wxUSE_REGEX 1
27909 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27910 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27911 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27912 wxUSE_REGEX=builtin
27915 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27916 { echo "$as_me:$LINENO: checking for regex.h" >&5
27917 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27918 if test "${ac_cv_header_regex_h+set}" = set; then
27919 echo $ECHO_N "(cached) $ECHO_C" >&6
27921 cat >conftest.$ac_ext <<_ACEOF
27924 cat confdefs.h >>conftest.$ac_ext
27925 cat >>conftest.$ac_ext <<_ACEOF
27926 /* end confdefs.h. */
27931 rm -f conftest.$ac_objext
27932 if { (ac_try="$ac_compile"
27933 case "(($ac_try" in
27934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27935 *) ac_try_echo=$ac_try;;
27937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27938 (eval "$ac_compile") 2>conftest.er1
27940 grep -v '^ *+' conftest.er1 >conftest.err
27942 cat conftest.err >&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); } && {
27945 test -z "$ac_c_werror_flag" ||
27946 test ! -s conftest.err
27947 } && test -s conftest.$ac_objext; then
27948 ac_cv_header_regex_h=yes
27950 echo "$as_me: failed program was:" >&5
27951 sed 's/^/| /' conftest.$ac_ext >&5
27953 ac_cv_header_regex_h=no
27956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27958 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27959 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27960 if test $ac_cv_header_regex_h = yes; then
27963 for ac_func in regcomp re_search
27965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
27971 cat >conftest.$ac_ext <<_ACEOF
27974 cat confdefs.h >>conftest.$ac_ext
27975 cat >>conftest.$ac_ext <<_ACEOF
27976 /* end confdefs.h. */
27977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27979 #define $ac_func innocuous_$ac_func
27981 /* System header to define __stub macros and hopefully few prototypes,
27982 which can conflict with char $ac_func (); below.
27983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27984 <limits.h> exists even on freestanding compilers. */
27987 # include <limits.h>
27989 # include <assert.h>
27994 /* Override any GCC internal prototype to avoid an error.
27995 Use char because int might match the return type of a GCC
27996 builtin and then its argument prototype would still apply. */
28001 /* The GNU C library defines this for functions which it implements
28002 to always fail with ENOSYS. Some functions are actually named
28003 something starting with __ and the normal name is an alias. */
28004 #if defined __stub_$ac_func || defined __stub___$ac_func
28011 return $ac_func ();
28016 rm -f conftest.$ac_objext conftest$ac_exeext
28017 if { (ac_try="$ac_link"
28018 case "(($ac_try" in
28019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28020 *) ac_try_echo=$ac_try;;
28022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28023 (eval "$ac_link") 2>conftest.er1
28025 grep -v '^ *+' conftest.er1 >conftest.err
28027 cat conftest.err >&5
28028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28029 (exit $ac_status); } && {
28030 test -z "$ac_c_werror_flag" ||
28031 test ! -s conftest.err
28032 } && test -s conftest$ac_exeext &&
28033 $as_test_x conftest$ac_exeext; then
28034 eval "$as_ac_var=yes"
28036 echo "$as_me: failed program was:" >&5
28037 sed 's/^/| /' conftest.$ac_ext >&5
28039 eval "$as_ac_var=no"
28042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28043 conftest$ac_exeext conftest.$ac_ext
28045 ac_res=`eval echo '${'$as_ac_var'}'`
28046 { echo "$as_me:$LINENO: result: $ac_res" >&5
28047 echo "${ECHO_T}$ac_res" >&6; }
28048 if test `eval echo '${'$as_ac_var'}'` = yes; then
28049 cat >>confdefs.h <<_ACEOF
28050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28060 if test "x$ac_cv_func_regcomp" != "xyes"; then
28061 if test "$wxUSE_REGEX" = "sys" ; then
28062 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28063 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28064 { (exit 1); exit 1; }; }
28066 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28067 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28068 wxUSE_REGEX=builtin
28072 cat >>confdefs.h <<\_ACEOF
28073 #define WX_NO_REGEX_ADVANCED 1
28082 if test "$wxUSE_ZLIB" != "no" ; then
28083 cat >>confdefs.h <<\_ACEOF
28084 #define wxUSE_ZLIB 1
28088 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28089 if test "$USE_DARWIN" = 1; then
28090 system_zlib_h_ok="yes"
28092 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28093 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28094 if test "${ac_cv_header_zlib_h+set}" = set; then
28095 echo $ECHO_N "(cached) $ECHO_C" >&6
28097 if test "$cross_compiling" = yes; then
28098 unset ac_cv_header_zlib_h
28101 cat >conftest.$ac_ext <<_ACEOF
28104 cat confdefs.h >>conftest.$ac_ext
28105 cat >>conftest.$ac_ext <<_ACEOF
28106 /* end confdefs.h. */
28113 FILE *f=fopen("conftestval", "w");
28116 ZLIB_VERSION[0] == '1' &&
28117 (ZLIB_VERSION[2] > '1' ||
28118 (ZLIB_VERSION[2] == '1' &&
28119 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28124 rm -f conftest$ac_exeext
28125 if { (ac_try="$ac_link"
28126 case "(($ac_try" in
28127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28128 *) ac_try_echo=$ac_try;;
28130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28131 (eval "$ac_link") 2>&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28135 { (case "(($ac_try" in
28136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28137 *) ac_try_echo=$ac_try;;
28139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28140 (eval "$ac_try") 2>&5
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); }; }; then
28144 ac_cv_header_zlib_h=`cat conftestval`
28146 echo "$as_me: program exited with status $ac_status" >&5
28147 echo "$as_me: failed program was:" >&5
28148 sed 's/^/| /' conftest.$ac_ext >&5
28150 ( exit $ac_status )
28151 ac_cv_header_zlib_h=no
28153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28159 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28160 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28161 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28162 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28163 if test "${ac_cv_header_zlib_h+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. */
28176 rm -f conftest.$ac_objext
28177 if { (ac_try="$ac_compile"
28178 case "(($ac_try" in
28179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28180 *) ac_try_echo=$ac_try;;
28182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28183 (eval "$ac_compile") 2>conftest.er1
28185 grep -v '^ *+' conftest.er1 >conftest.err
28187 cat conftest.err >&5
28188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189 (exit $ac_status); } && {
28190 test -z "$ac_c_werror_flag" ||
28191 test ! -s conftest.err
28192 } && test -s conftest.$ac_objext; then
28193 ac_cv_header_zlib_h=yes
28195 echo "$as_me: failed program was:" >&5
28196 sed 's/^/| /' conftest.$ac_ext >&5
28198 ac_cv_header_zlib_h=no
28201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28203 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28204 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28208 system_zlib_h_ok=$ac_cv_header_zlib_h
28211 if test "$system_zlib_h_ok" = "yes"; then
28212 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28213 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28214 if test "${ac_cv_lib_z_deflate+set}" = set; then
28215 echo $ECHO_N "(cached) $ECHO_C" >&6
28217 ac_check_lib_save_LIBS=$LIBS
28219 cat >conftest.$ac_ext <<_ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28226 /* Override any GCC internal prototype to avoid an error.
28227 Use char because int might match the return type of a GCC
28228 builtin and then its argument prototype would still apply. */
28241 rm -f conftest.$ac_objext conftest$ac_exeext
28242 if { (ac_try="$ac_link"
28243 case "(($ac_try" in
28244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28245 *) ac_try_echo=$ac_try;;
28247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28248 (eval "$ac_link") 2>conftest.er1
28250 grep -v '^ *+' conftest.er1 >conftest.err
28252 cat conftest.err >&5
28253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254 (exit $ac_status); } && {
28255 test -z "$ac_c_werror_flag" ||
28256 test ! -s conftest.err
28257 } && test -s conftest$ac_exeext &&
28258 $as_test_x conftest$ac_exeext; then
28259 ac_cv_lib_z_deflate=yes
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.$ac_ext >&5
28264 ac_cv_lib_z_deflate=no
28267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28268 conftest$ac_exeext conftest.$ac_ext
28269 LIBS=$ac_check_lib_save_LIBS
28271 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28272 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28273 if test $ac_cv_lib_z_deflate = yes; then
28279 if test "x$ZLIB_LINK" = "x" ; then
28280 if test "$wxUSE_ZLIB" = "sys" ; then
28281 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28282 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28283 { (exit 1); exit 1; }; }
28285 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28286 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28297 if test "$wxUSE_LIBPNG" != "no" ; then
28298 cat >>confdefs.h <<\_ACEOF
28299 #define wxUSE_LIBPNG 1
28303 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28304 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28305 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28309 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28310 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28311 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28312 wxUSE_LIBPNG=builtin
28315 if test "$wxUSE_MGL" != 1 ; then
28316 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28317 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28318 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28319 if test "${ac_cv_header_png_h+set}" = set; then
28320 echo $ECHO_N "(cached) $ECHO_C" >&6
28322 if test "$cross_compiling" = yes; then
28323 unset ac_cv_header_png_h
28326 cat >conftest.$ac_ext <<_ACEOF
28329 cat confdefs.h >>conftest.$ac_ext
28330 cat >>conftest.$ac_ext <<_ACEOF
28331 /* end confdefs.h. */
28338 FILE *f=fopen("conftestval", "w");
28341 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28346 rm -f conftest$ac_exeext
28347 if { (ac_try="$ac_link"
28348 case "(($ac_try" in
28349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28350 *) ac_try_echo=$ac_try;;
28352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28353 (eval "$ac_link") 2>&5
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28357 { (case "(($ac_try" in
28358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28359 *) ac_try_echo=$ac_try;;
28361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362 (eval "$ac_try") 2>&5
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); }; }; then
28366 ac_cv_header_png_h=`cat conftestval`
28368 echo "$as_me: program exited with status $ac_status" >&5
28369 echo "$as_me: failed program was:" >&5
28370 sed 's/^/| /' conftest.$ac_ext >&5
28372 ( exit $ac_status )
28373 ac_cv_header_png_h=no
28375 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28381 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28382 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28383 { echo "$as_me:$LINENO: checking for png.h" >&5
28384 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28385 if test "${ac_cv_header_png_h+set}" = set; then
28386 echo $ECHO_N "(cached) $ECHO_C" >&6
28388 cat >conftest.$ac_ext <<_ACEOF
28391 cat confdefs.h >>conftest.$ac_ext
28392 cat >>conftest.$ac_ext <<_ACEOF
28393 /* end confdefs.h. */
28398 rm -f conftest.$ac_objext
28399 if { (ac_try="$ac_compile"
28400 case "(($ac_try" in
28401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28402 *) ac_try_echo=$ac_try;;
28404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28405 (eval "$ac_compile") 2>conftest.er1
28407 grep -v '^ *+' conftest.er1 >conftest.err
28409 cat conftest.err >&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); } && {
28412 test -z "$ac_c_werror_flag" ||
28413 test ! -s conftest.err
28414 } && test -s conftest.$ac_objext; then
28415 ac_cv_header_png_h=yes
28417 echo "$as_me: failed program was:" >&5
28418 sed 's/^/| /' conftest.$ac_ext >&5
28420 ac_cv_header_png_h=no
28423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28425 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28426 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28430 if test "$ac_cv_header_png_h" = "yes"; then
28431 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28432 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28433 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28436 ac_check_lib_save_LIBS=$LIBS
28437 LIBS="-lpng -lz -lm $LIBS"
28438 cat >conftest.$ac_ext <<_ACEOF
28441 cat confdefs.h >>conftest.$ac_ext
28442 cat >>conftest.$ac_ext <<_ACEOF
28443 /* end confdefs.h. */
28445 /* Override any GCC internal prototype to avoid an error.
28446 Use char because int might match the return type of a GCC
28447 builtin and then its argument prototype would still apply. */
28451 char png_check_sig ();
28455 return png_check_sig ();
28460 rm -f conftest.$ac_objext conftest$ac_exeext
28461 if { (ac_try="$ac_link"
28462 case "(($ac_try" in
28463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28464 *) ac_try_echo=$ac_try;;
28466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28467 (eval "$ac_link") 2>conftest.er1
28469 grep -v '^ *+' conftest.er1 >conftest.err
28471 cat conftest.err >&5
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); } && {
28474 test -z "$ac_c_werror_flag" ||
28475 test ! -s conftest.err
28476 } && test -s conftest$ac_exeext &&
28477 $as_test_x conftest$ac_exeext; then
28478 ac_cv_lib_png_png_check_sig=yes
28480 echo "$as_me: failed program was:" >&5
28481 sed 's/^/| /' conftest.$ac_ext >&5
28483 ac_cv_lib_png_png_check_sig=no
28486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28487 conftest$ac_exeext conftest.$ac_ext
28488 LIBS=$ac_check_lib_save_LIBS
28490 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28491 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28492 if test $ac_cv_lib_png_png_check_sig = yes; then
28493 PNG_LINK=" -lpng -lz"
28498 if test "x$PNG_LINK" = "x" ; then
28499 if test "$wxUSE_LIBPNG" = "sys" ; then
28500 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28501 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28502 { (exit 1); exit 1; }; }
28504 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28505 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28506 wxUSE_LIBPNG=builtin
28514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28519 if test "$wxUSE_LIBJPEG" != "no" ; then
28520 cat >>confdefs.h <<\_ACEOF
28521 #define wxUSE_LIBJPEG 1
28525 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28526 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28527 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28531 if test "$wxUSE_MGL" != 1 ; then
28532 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28533 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28534 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28535 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28536 echo $ECHO_N "(cached) $ECHO_C" >&6
28538 cat >conftest.$ac_ext <<_ACEOF
28541 cat confdefs.h >>conftest.$ac_ext
28542 cat >>conftest.$ac_ext <<_ACEOF
28543 /* end confdefs.h. */
28545 #undef HAVE_STDLIB_H
28547 #include <jpeglib.h>
28558 rm -f conftest.$ac_objext
28559 if { (ac_try="$ac_compile"
28560 case "(($ac_try" in
28561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28562 *) ac_try_echo=$ac_try;;
28564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28565 (eval "$ac_compile") 2>conftest.er1
28567 grep -v '^ *+' conftest.er1 >conftest.err
28569 cat conftest.err >&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } && {
28572 test -z "$ac_c_werror_flag" ||
28573 test ! -s conftest.err
28574 } && test -s conftest.$ac_objext; then
28575 ac_cv_header_jpeglib_h=yes
28577 echo "$as_me: failed program was:" >&5
28578 sed 's/^/| /' conftest.$ac_ext >&5
28580 ac_cv_header_jpeglib_h=no
28584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28588 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28589 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28591 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28592 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28593 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28594 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28595 echo $ECHO_N "(cached) $ECHO_C" >&6
28597 ac_check_lib_save_LIBS=$LIBS
28598 LIBS="-ljpeg $LIBS"
28599 cat >conftest.$ac_ext <<_ACEOF
28602 cat confdefs.h >>conftest.$ac_ext
28603 cat >>conftest.$ac_ext <<_ACEOF
28604 /* end confdefs.h. */
28606 /* Override any GCC internal prototype to avoid an error.
28607 Use char because int might match the return type of a GCC
28608 builtin and then its argument prototype would still apply. */
28612 char jpeg_read_header ();
28616 return jpeg_read_header ();
28621 rm -f conftest.$ac_objext conftest$ac_exeext
28622 if { (ac_try="$ac_link"
28623 case "(($ac_try" in
28624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28625 *) ac_try_echo=$ac_try;;
28627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28628 (eval "$ac_link") 2>conftest.er1
28630 grep -v '^ *+' conftest.er1 >conftest.err
28632 cat conftest.err >&5
28633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634 (exit $ac_status); } && {
28635 test -z "$ac_c_werror_flag" ||
28636 test ! -s conftest.err
28637 } && test -s conftest$ac_exeext &&
28638 $as_test_x conftest$ac_exeext; then
28639 ac_cv_lib_jpeg_jpeg_read_header=yes
28641 echo "$as_me: failed program was:" >&5
28642 sed 's/^/| /' conftest.$ac_ext >&5
28644 ac_cv_lib_jpeg_jpeg_read_header=no
28647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28648 conftest$ac_exeext conftest.$ac_ext
28649 LIBS=$ac_check_lib_save_LIBS
28651 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28652 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28653 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28654 JPEG_LINK=" -ljpeg"
28659 if test "x$JPEG_LINK" = "x" ; then
28660 if test "$wxUSE_LIBJPEG" = "sys" ; then
28661 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28662 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28663 { (exit 1); exit 1; }; }
28665 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28666 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28667 wxUSE_LIBJPEG=builtin
28672 if test "$wxUSE_MSW" = 1; then
28673 { echo "$as_me:$LINENO: checking for boolean" >&5
28674 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28675 if test "${ac_cv_type_boolean+set}" = set; then
28676 echo $ECHO_N "(cached) $ECHO_C" >&6
28678 cat >conftest.$ac_ext <<_ACEOF
28681 cat confdefs.h >>conftest.$ac_ext
28682 cat >>conftest.$ac_ext <<_ACEOF
28683 /* end confdefs.h. */
28684 #include <windows.h>
28686 typedef boolean ac__type_new_;
28690 if ((ac__type_new_ *) 0)
28692 if (sizeof (ac__type_new_))
28698 rm -f conftest.$ac_objext
28699 if { (ac_try="$ac_compile"
28700 case "(($ac_try" in
28701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28702 *) ac_try_echo=$ac_try;;
28704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28705 (eval "$ac_compile") 2>conftest.er1
28707 grep -v '^ *+' conftest.er1 >conftest.err
28709 cat conftest.err >&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); } && {
28712 test -z "$ac_c_werror_flag" ||
28713 test ! -s conftest.err
28714 } && test -s conftest.$ac_objext; then
28715 ac_cv_type_boolean=yes
28717 echo "$as_me: failed program was:" >&5
28718 sed 's/^/| /' conftest.$ac_ext >&5
28720 ac_cv_type_boolean=no
28723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28725 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28726 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28727 if test $ac_cv_type_boolean = yes; then
28729 cat >>confdefs.h <<_ACEOF
28730 #define HAVE_BOOLEAN 1
28734 { echo "$as_me:$LINENO: checking for boolean" >&5
28735 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28736 if test "${ac_cv_type_boolean+set}" = set; then
28737 echo $ECHO_N "(cached) $ECHO_C" >&6
28739 cat >conftest.$ac_ext <<_ACEOF
28742 cat confdefs.h >>conftest.$ac_ext
28743 cat >>conftest.$ac_ext <<_ACEOF
28744 /* end confdefs.h. */
28746 #undef HAVE_BOOLEAN
28748 #include <jpeglib.h>
28751 typedef boolean ac__type_new_;
28755 if ((ac__type_new_ *) 0)
28757 if (sizeof (ac__type_new_))
28763 rm -f conftest.$ac_objext
28764 if { (ac_try="$ac_compile"
28765 case "(($ac_try" in
28766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28767 *) ac_try_echo=$ac_try;;
28769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28770 (eval "$ac_compile") 2>conftest.er1
28772 grep -v '^ *+' conftest.er1 >conftest.err
28774 cat conftest.err >&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } && {
28777 test -z "$ac_c_werror_flag" ||
28778 test ! -s conftest.err
28779 } && test -s conftest.$ac_objext; then
28780 ac_cv_type_boolean=yes
28782 echo "$as_me: failed program was:" >&5
28783 sed 's/^/| /' conftest.$ac_ext >&5
28785 ac_cv_type_boolean=no
28788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28790 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28791 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28793 # The cast to long int works around a bug in the HP C Compiler
28794 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28796 # This bug is HP SR number 8606223364.
28797 { echo "$as_me:$LINENO: checking size of boolean" >&5
28798 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28799 if test "${ac_cv_sizeof_boolean+set}" = set; then
28800 echo $ECHO_N "(cached) $ECHO_C" >&6
28802 if test "$cross_compiling" = yes; then
28803 # Depending upon the size, compute the lo and hi bounds.
28804 cat >conftest.$ac_ext <<_ACEOF
28807 cat confdefs.h >>conftest.$ac_ext
28808 cat >>conftest.$ac_ext <<_ACEOF
28809 /* end confdefs.h. */
28811 #undef HAVE_BOOLEAN
28813 #include <jpeglib.h>
28816 typedef boolean ac__type_sizeof_;
28820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28827 rm -f conftest.$ac_objext
28828 if { (ac_try="$ac_compile"
28829 case "(($ac_try" in
28830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28831 *) ac_try_echo=$ac_try;;
28833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28834 (eval "$ac_compile") 2>conftest.er1
28836 grep -v '^ *+' conftest.er1 >conftest.err
28838 cat conftest.err >&5
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); } && {
28841 test -z "$ac_c_werror_flag" ||
28842 test ! -s conftest.err
28843 } && test -s conftest.$ac_objext; then
28846 cat >conftest.$ac_ext <<_ACEOF
28849 cat confdefs.h >>conftest.$ac_ext
28850 cat >>conftest.$ac_ext <<_ACEOF
28851 /* end confdefs.h. */
28853 #undef HAVE_BOOLEAN
28855 #include <jpeglib.h>
28858 typedef boolean ac__type_sizeof_;
28862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28869 rm -f conftest.$ac_objext
28870 if { (ac_try="$ac_compile"
28871 case "(($ac_try" in
28872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28873 *) ac_try_echo=$ac_try;;
28875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28876 (eval "$ac_compile") 2>conftest.er1
28878 grep -v '^ *+' conftest.er1 >conftest.err
28880 cat conftest.err >&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); } && {
28883 test -z "$ac_c_werror_flag" ||
28884 test ! -s conftest.err
28885 } && test -s conftest.$ac_objext; then
28886 ac_hi=$ac_mid; break
28888 echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.$ac_ext >&5
28891 ac_lo=`expr $ac_mid + 1`
28892 if test $ac_lo -le $ac_mid; then
28896 ac_mid=`expr 2 '*' $ac_mid + 1`
28899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28902 echo "$as_me: failed program was:" >&5
28903 sed 's/^/| /' conftest.$ac_ext >&5
28905 cat >conftest.$ac_ext <<_ACEOF
28908 cat confdefs.h >>conftest.$ac_ext
28909 cat >>conftest.$ac_ext <<_ACEOF
28910 /* end confdefs.h. */
28912 #undef HAVE_BOOLEAN
28914 #include <jpeglib.h>
28917 typedef boolean ac__type_sizeof_;
28921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28928 rm -f conftest.$ac_objext
28929 if { (ac_try="$ac_compile"
28930 case "(($ac_try" in
28931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28932 *) ac_try_echo=$ac_try;;
28934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28935 (eval "$ac_compile") 2>conftest.er1
28937 grep -v '^ *+' conftest.er1 >conftest.err
28939 cat conftest.err >&5
28940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941 (exit $ac_status); } && {
28942 test -z "$ac_c_werror_flag" ||
28943 test ! -s conftest.err
28944 } && test -s conftest.$ac_objext; then
28947 cat >conftest.$ac_ext <<_ACEOF
28950 cat confdefs.h >>conftest.$ac_ext
28951 cat >>conftest.$ac_ext <<_ACEOF
28952 /* end confdefs.h. */
28954 #undef HAVE_BOOLEAN
28956 #include <jpeglib.h>
28959 typedef boolean ac__type_sizeof_;
28963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28970 rm -f conftest.$ac_objext
28971 if { (ac_try="$ac_compile"
28972 case "(($ac_try" in
28973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28974 *) ac_try_echo=$ac_try;;
28976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28977 (eval "$ac_compile") 2>conftest.er1
28979 grep -v '^ *+' conftest.er1 >conftest.err
28981 cat conftest.err >&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); } && {
28984 test -z "$ac_c_werror_flag" ||
28985 test ! -s conftest.err
28986 } && test -s conftest.$ac_objext; then
28987 ac_lo=$ac_mid; break
28989 echo "$as_me: failed program was:" >&5
28990 sed 's/^/| /' conftest.$ac_ext >&5
28992 ac_hi=`expr '(' $ac_mid ')' - 1`
28993 if test $ac_mid -le $ac_hi; then
28997 ac_mid=`expr 2 '*' $ac_mid`
29000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29003 echo "$as_me: failed program was:" >&5
29004 sed 's/^/| /' conftest.$ac_ext >&5
29009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29013 # Binary search between lo and hi bounds.
29014 while test "x$ac_lo" != "x$ac_hi"; do
29015 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29016 cat >conftest.$ac_ext <<_ACEOF
29019 cat confdefs.h >>conftest.$ac_ext
29020 cat >>conftest.$ac_ext <<_ACEOF
29021 /* end confdefs.h. */
29023 #undef HAVE_BOOLEAN
29025 #include <jpeglib.h>
29028 typedef boolean ac__type_sizeof_;
29032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29039 rm -f conftest.$ac_objext
29040 if { (ac_try="$ac_compile"
29041 case "(($ac_try" in
29042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29043 *) ac_try_echo=$ac_try;;
29045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29046 (eval "$ac_compile") 2>conftest.er1
29048 grep -v '^ *+' conftest.er1 >conftest.err
29050 cat conftest.err >&5
29051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29052 (exit $ac_status); } && {
29053 test -z "$ac_c_werror_flag" ||
29054 test ! -s conftest.err
29055 } && test -s conftest.$ac_objext; then
29058 echo "$as_me: failed program was:" >&5
29059 sed 's/^/| /' conftest.$ac_ext >&5
29061 ac_lo=`expr '(' $ac_mid ')' + 1`
29064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29067 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29068 '') if test "$ac_cv_type_boolean" = yes; then
29069 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29070 See \`config.log' for more details." >&5
29071 echo "$as_me: error: cannot compute sizeof (boolean)
29072 See \`config.log' for more details." >&2;}
29073 { (exit 77); exit 77; }; }
29075 ac_cv_sizeof_boolean=0
29079 cat >conftest.$ac_ext <<_ACEOF
29082 cat confdefs.h >>conftest.$ac_ext
29083 cat >>conftest.$ac_ext <<_ACEOF
29084 /* end confdefs.h. */
29086 #undef HAVE_BOOLEAN
29088 #include <jpeglib.h>
29091 typedef boolean ac__type_sizeof_;
29092 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29093 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29095 #include <stdlib.h>
29100 FILE *f = fopen ("conftest.val", "w");
29103 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29105 long int i = longval ();
29106 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29108 fprintf (f, "%ld\n", i);
29112 unsigned long int i = ulongval ();
29113 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29115 fprintf (f, "%lu\n", i);
29117 return ferror (f) || fclose (f) != 0;
29123 rm -f conftest$ac_exeext
29124 if { (ac_try="$ac_link"
29125 case "(($ac_try" in
29126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29127 *) ac_try_echo=$ac_try;;
29129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29130 (eval "$ac_link") 2>&5
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29134 { (case "(($ac_try" in
29135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29136 *) ac_try_echo=$ac_try;;
29138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29139 (eval "$ac_try") 2>&5
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); }; }; then
29143 ac_cv_sizeof_boolean=`cat conftest.val`
29145 echo "$as_me: program exited with status $ac_status" >&5
29146 echo "$as_me: failed program was:" >&5
29147 sed 's/^/| /' conftest.$ac_ext >&5
29149 ( exit $ac_status )
29150 if test "$ac_cv_type_boolean" = yes; then
29151 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29152 See \`config.log' for more details." >&5
29153 echo "$as_me: error: cannot compute sizeof (boolean)
29154 See \`config.log' for more details." >&2;}
29155 { (exit 77); exit 77; }; }
29157 ac_cv_sizeof_boolean=0
29160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29164 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29165 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29169 cat >>confdefs.h <<_ACEOF
29170 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29174 cat >>confdefs.h <<_ACEOF
29175 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29189 TIFF_PREREQ_LINKS=-lm
29190 if test "$wxUSE_LIBTIFF" != "no" ; then
29191 cat >>confdefs.h <<\_ACEOF
29192 #define wxUSE_LIBTIFF 1
29196 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29197 if test "$wxUSE_LIBJPEG" = "sys"; then
29198 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29200 if test "$wxUSE_ZLIB" = "sys"; then
29201 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29203 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29204 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29205 if test "${ac_cv_header_tiffio_h+set}" = set; then
29206 echo $ECHO_N "(cached) $ECHO_C" >&6
29208 cat >conftest.$ac_ext <<_ACEOF
29211 cat confdefs.h >>conftest.$ac_ext
29212 cat >>conftest.$ac_ext <<_ACEOF
29213 /* end confdefs.h. */
29217 #include <tiffio.h>
29219 rm -f conftest.$ac_objext
29220 if { (ac_try="$ac_compile"
29221 case "(($ac_try" in
29222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29223 *) ac_try_echo=$ac_try;;
29225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29226 (eval "$ac_compile") 2>conftest.er1
29228 grep -v '^ *+' conftest.er1 >conftest.err
29230 cat conftest.err >&5
29231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29232 (exit $ac_status); } && {
29233 test -z "$ac_c_werror_flag" ||
29234 test ! -s conftest.err
29235 } && test -s conftest.$ac_objext; then
29236 ac_cv_header_tiffio_h=yes
29238 echo "$as_me: failed program was:" >&5
29239 sed 's/^/| /' conftest.$ac_ext >&5
29241 ac_cv_header_tiffio_h=no
29244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29246 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29247 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29248 if test $ac_cv_header_tiffio_h = yes; then
29250 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29251 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29252 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29253 echo $ECHO_N "(cached) $ECHO_C" >&6
29255 ac_check_lib_save_LIBS=$LIBS
29256 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29257 cat >conftest.$ac_ext <<_ACEOF
29260 cat confdefs.h >>conftest.$ac_ext
29261 cat >>conftest.$ac_ext <<_ACEOF
29262 /* end confdefs.h. */
29264 /* Override any GCC internal prototype to avoid an error.
29265 Use char because int might match the return type of a GCC
29266 builtin and then its argument prototype would still apply. */
29274 return TIFFError ();
29279 rm -f conftest.$ac_objext conftest$ac_exeext
29280 if { (ac_try="$ac_link"
29281 case "(($ac_try" in
29282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29283 *) ac_try_echo=$ac_try;;
29285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29286 (eval "$ac_link") 2>conftest.er1
29288 grep -v '^ *+' conftest.er1 >conftest.err
29290 cat conftest.err >&5
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); } && {
29293 test -z "$ac_c_werror_flag" ||
29294 test ! -s conftest.err
29295 } && test -s conftest$ac_exeext &&
29296 $as_test_x conftest$ac_exeext; then
29297 ac_cv_lib_tiff_TIFFError=yes
29299 echo "$as_me: failed program was:" >&5
29300 sed 's/^/| /' conftest.$ac_ext >&5
29302 ac_cv_lib_tiff_TIFFError=no
29305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29306 conftest$ac_exeext conftest.$ac_ext
29307 LIBS=$ac_check_lib_save_LIBS
29309 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29310 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29311 if test $ac_cv_lib_tiff_TIFFError = yes; then
29312 TIFF_LINK=" -ltiff"
29320 if test "x$TIFF_LINK" = "x" ; then
29321 if test "$wxUSE_LIBTIFF" = "sys" ; then
29322 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29323 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29324 { (exit 1); exit 1; }; }
29326 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29327 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29328 wxUSE_LIBTIFF=builtin
29337 if test "$wxUSE_WCHAR_T" != "yes"; then
29338 if test "$wxUSE_EXPAT" != "no"; then
29339 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29340 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29343 if test "$wxUSE_XML" != "no"; then
29344 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29345 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29350 if test "$wxUSE_EXPAT" != "no"; then
29352 cat >>confdefs.h <<\_ACEOF
29353 #define wxUSE_EXPAT 1
29356 cat >>confdefs.h <<\_ACEOF
29357 #define wxUSE_XML 1
29361 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29362 { echo "$as_me:$LINENO: checking for expat.h" >&5
29363 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29364 if test "${ac_cv_header_expat_h+set}" = set; then
29365 echo $ECHO_N "(cached) $ECHO_C" >&6
29367 cat >conftest.$ac_ext <<_ACEOF
29370 cat confdefs.h >>conftest.$ac_ext
29371 cat >>conftest.$ac_ext <<_ACEOF
29372 /* end confdefs.h. */
29377 rm -f conftest.$ac_objext
29378 if { (ac_try="$ac_compile"
29379 case "(($ac_try" in
29380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29381 *) ac_try_echo=$ac_try;;
29383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29384 (eval "$ac_compile") 2>conftest.er1
29386 grep -v '^ *+' conftest.er1 >conftest.err
29388 cat conftest.err >&5
29389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390 (exit $ac_status); } && {
29391 test -z "$ac_c_werror_flag" ||
29392 test ! -s conftest.err
29393 } && test -s conftest.$ac_objext; then
29394 ac_cv_header_expat_h=yes
29396 echo "$as_me: failed program was:" >&5
29397 sed 's/^/| /' conftest.$ac_ext >&5
29399 ac_cv_header_expat_h=no
29402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29404 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29405 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29406 if test $ac_cv_header_expat_h = yes; then
29411 if test "x$found_expat_h" = "x1"; then
29412 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29413 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29414 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29415 echo $ECHO_N "(cached) $ECHO_C" >&6
29419 ac_cpp='$CXXCPP $CPPFLAGS'
29420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29424 cat >conftest.$ac_ext <<_ACEOF
29427 cat confdefs.h >>conftest.$ac_ext
29428 cat >>conftest.$ac_ext <<_ACEOF
29429 /* end confdefs.h. */
29439 rm -f conftest.$ac_objext
29440 if { (ac_try="$ac_compile"
29441 case "(($ac_try" in
29442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29443 *) ac_try_echo=$ac_try;;
29445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29446 (eval "$ac_compile") 2>conftest.er1
29448 grep -v '^ *+' conftest.er1 >conftest.err
29450 cat conftest.err >&5
29451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29452 (exit $ac_status); } && {
29453 test -z "$ac_cxx_werror_flag" ||
29454 test ! -s conftest.err
29455 } && test -s conftest.$ac_objext; then
29456 wx_cv_expat_is_not_broken=yes
29458 echo "$as_me: failed program was:" >&5
29459 sed 's/^/| /' conftest.$ac_ext >&5
29461 wx_cv_expat_is_not_broken=no
29465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29467 ac_cpp='$CPP $CPPFLAGS'
29468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29475 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29476 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29477 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29478 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29479 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29480 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29481 echo $ECHO_N "(cached) $ECHO_C" >&6
29483 ac_check_lib_save_LIBS=$LIBS
29484 LIBS="-lexpat $LIBS"
29485 cat >conftest.$ac_ext <<_ACEOF
29488 cat confdefs.h >>conftest.$ac_ext
29489 cat >>conftest.$ac_ext <<_ACEOF
29490 /* end confdefs.h. */
29492 /* Override any GCC internal prototype to avoid an error.
29493 Use char because int might match the return type of a GCC
29494 builtin and then its argument prototype would still apply. */
29498 char XML_ParserCreate ();
29502 return XML_ParserCreate ();
29507 rm -f conftest.$ac_objext conftest$ac_exeext
29508 if { (ac_try="$ac_link"
29509 case "(($ac_try" in
29510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29511 *) ac_try_echo=$ac_try;;
29513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29514 (eval "$ac_link") 2>conftest.er1
29516 grep -v '^ *+' conftest.er1 >conftest.err
29518 cat conftest.err >&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); } && {
29521 test -z "$ac_c_werror_flag" ||
29522 test ! -s conftest.err
29523 } && test -s conftest$ac_exeext &&
29524 $as_test_x conftest$ac_exeext; then
29525 ac_cv_lib_expat_XML_ParserCreate=yes
29527 echo "$as_me: failed program was:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29530 ac_cv_lib_expat_XML_ParserCreate=no
29533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29534 conftest$ac_exeext conftest.$ac_ext
29535 LIBS=$ac_check_lib_save_LIBS
29537 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29538 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29539 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29540 EXPAT_LINK=" -lexpat"
29545 if test "x$EXPAT_LINK" = "x" ; then
29546 if test "$wxUSE_EXPAT" = "sys" ; then
29547 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29548 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29549 { (exit 1); exit 1; }; }
29551 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29552 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29553 wxUSE_EXPAT=builtin
29559 if test "$wxUSE_EXPAT" = "builtin" ; then
29560 subdirs="$subdirs src/expat"
29567 if test "$wxUSE_LIBMSPACK" != "no"; then
29568 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29569 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29570 if test "${ac_cv_header_mspack_h+set}" = set; then
29571 echo $ECHO_N "(cached) $ECHO_C" >&6
29573 cat >conftest.$ac_ext <<_ACEOF
29576 cat confdefs.h >>conftest.$ac_ext
29577 cat >>conftest.$ac_ext <<_ACEOF
29578 /* end confdefs.h. */
29581 #include <mspack.h>
29583 rm -f conftest.$ac_objext
29584 if { (ac_try="$ac_compile"
29585 case "(($ac_try" in
29586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29587 *) ac_try_echo=$ac_try;;
29589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29590 (eval "$ac_compile") 2>conftest.er1
29592 grep -v '^ *+' conftest.er1 >conftest.err
29594 cat conftest.err >&5
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); } && {
29597 test -z "$ac_c_werror_flag" ||
29598 test ! -s conftest.err
29599 } && test -s conftest.$ac_objext; then
29600 ac_cv_header_mspack_h=yes
29602 echo "$as_me: failed program was:" >&5
29603 sed 's/^/| /' conftest.$ac_ext >&5
29605 ac_cv_header_mspack_h=no
29608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29610 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29611 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29612 if test $ac_cv_header_mspack_h = yes; then
29617 if test "x$found_mspack_h" = "x1"; then
29618 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29619 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29620 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29621 echo $ECHO_N "(cached) $ECHO_C" >&6
29623 ac_check_lib_save_LIBS=$LIBS
29624 LIBS="-lmspack $LIBS"
29625 cat >conftest.$ac_ext <<_ACEOF
29628 cat confdefs.h >>conftest.$ac_ext
29629 cat >>conftest.$ac_ext <<_ACEOF
29630 /* end confdefs.h. */
29632 /* Override any GCC internal prototype to avoid an error.
29633 Use char because int might match the return type of a GCC
29634 builtin and then its argument prototype would still apply. */
29638 char mspack_create_chm_decompressor ();
29642 return mspack_create_chm_decompressor ();
29647 rm -f conftest.$ac_objext conftest$ac_exeext
29648 if { (ac_try="$ac_link"
29649 case "(($ac_try" in
29650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29651 *) ac_try_echo=$ac_try;;
29653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29654 (eval "$ac_link") 2>conftest.er1
29656 grep -v '^ *+' conftest.er1 >conftest.err
29658 cat conftest.err >&5
29659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29660 (exit $ac_status); } && {
29661 test -z "$ac_c_werror_flag" ||
29662 test ! -s conftest.err
29663 } && test -s conftest$ac_exeext &&
29664 $as_test_x conftest$ac_exeext; then
29665 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29667 echo "$as_me: failed program was:" >&5
29668 sed 's/^/| /' conftest.$ac_ext >&5
29670 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29674 conftest$ac_exeext conftest.$ac_ext
29675 LIBS=$ac_check_lib_save_LIBS
29677 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29678 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29679 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29680 MSPACK_LINK=" -lmspack"
29684 if test "x$MSPACK_LINK" = "x" ; then
29689 if test "$wxUSE_LIBMSPACK" != "no"; then
29690 cat >>confdefs.h <<\_ACEOF
29691 #define wxUSE_LIBMSPACK 1
29705 if test "$USE_WIN32" = 1 ; then
29707 for ac_header in w32api.h
29709 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29710 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29712 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29713 echo $ECHO_N "(cached) $ECHO_C" >&6
29715 cat >conftest.$ac_ext <<_ACEOF
29718 cat confdefs.h >>conftest.$ac_ext
29719 cat >>conftest.$ac_ext <<_ACEOF
29720 /* end confdefs.h. */
29723 #include <$ac_header>
29725 rm -f conftest.$ac_objext
29726 if { (ac_try="$ac_compile"
29727 case "(($ac_try" in
29728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29729 *) ac_try_echo=$ac_try;;
29731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29732 (eval "$ac_compile") 2>conftest.er1
29734 grep -v '^ *+' conftest.er1 >conftest.err
29736 cat conftest.err >&5
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); } && {
29739 test -z "$ac_c_werror_flag" ||
29740 test ! -s conftest.err
29741 } && test -s conftest.$ac_objext; then
29742 eval "$as_ac_Header=yes"
29744 echo "$as_me: failed program was:" >&5
29745 sed 's/^/| /' conftest.$ac_ext >&5
29747 eval "$as_ac_Header=no"
29750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29752 ac_res=`eval echo '${'$as_ac_Header'}'`
29753 { echo "$as_me:$LINENO: result: $ac_res" >&5
29754 echo "${ECHO_T}$ac_res" >&6; }
29755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29756 cat >>confdefs.h <<_ACEOF
29757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29764 { echo "$as_me:$LINENO: checking for windows.h" >&5
29765 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29766 if test "${ac_cv_header_windows_h+set}" = set; then
29767 echo $ECHO_N "(cached) $ECHO_C" >&6
29769 cat >conftest.$ac_ext <<_ACEOF
29772 cat confdefs.h >>conftest.$ac_ext
29773 cat >>conftest.$ac_ext <<_ACEOF
29774 /* end confdefs.h. */
29777 #include <windows.h>
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
29796 ac_cv_header_windows_h=yes
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29801 ac_cv_header_windows_h=no
29804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29806 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29807 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29808 if test $ac_cv_header_windows_h = yes; then
29812 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29813 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29814 { (exit 1); exit 1; }; }
29820 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29822 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29823 LIBS="$LIBS -loleacc"
29828 LIBS="$LIBS -lkernel32 -luser32"
29831 if test "$wxUSE_ODBC" = "sys" ; then
29834 if test "$wxUSE_ODBC" = "yes" ; then
29835 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29836 cat >>confdefs.h <<\_ACEOF
29837 #define wxUSE_ODBC 1
29842 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29843 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29845 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29847 WIN32INSTALL=win32install
29849 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29850 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29851 if test "${ac_cv_header_pbt_h+set}" = set; then
29852 echo $ECHO_N "(cached) $ECHO_C" >&6
29854 cat >conftest.$ac_ext <<_ACEOF
29857 cat confdefs.h >>conftest.$ac_ext
29858 cat >>conftest.$ac_ext <<_ACEOF
29859 /* end confdefs.h. */
29864 rm -f conftest.$ac_objext
29865 if { (ac_try="$ac_compile"
29866 case "(($ac_try" in
29867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29868 *) ac_try_echo=$ac_try;;
29870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29871 (eval "$ac_compile") 2>conftest.er1
29873 grep -v '^ *+' conftest.er1 >conftest.err
29875 cat conftest.err >&5
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); } && {
29878 test -z "$ac_c_werror_flag" ||
29879 test ! -s conftest.err
29880 } && test -s conftest.$ac_objext; then
29881 ac_cv_header_pbt_h=yes
29883 echo "$as_me: failed program was:" >&5
29884 sed 's/^/| /' conftest.$ac_ext >&5
29886 ac_cv_header_pbt_h=no
29889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29891 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29892 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29893 if test $ac_cv_header_pbt_h = yes; then
29896 cat >>confdefs.h <<\_ACEOF
29897 #define NEED_PBT_H 1
29905 if test "$wxUSE_GUI" = "yes"; then
29915 if test "$wxUSE_COCOA" = 1 ; then
29916 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29917 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29918 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29919 wxUSE_PRINTING_ARCHITECTURE=no
29921 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29922 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29923 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29924 wxUSE_DRAG_AND_DROP=no
29926 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29927 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29928 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29933 if test "$wxUSE_MSW" = 1 ; then
29939 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29943 if test "$wxUSE_GTK" = 1; then
29944 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29945 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29947 gtk_version_cached=1
29948 if test "${wx_cv_lib_gtk+set}" = set; then
29949 echo $ECHO_N "(cached) $ECHO_C" >&6
29952 gtk_version_cached=0
29953 { echo "$as_me:$LINENO: result: " >&5
29954 echo "${ECHO_T}" >&6; }
29957 if test "$wxUSE_THREADS" = "yes"; then
29958 GTK_MODULES=gthread
29962 if test "x$wxGTK_VERSION" != "x1"
29966 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29971 # Check whether --enable-gtktest was given.
29972 if test "${enable_gtktest+set}" = set; then
29973 enableval=$enable_gtktest;
29979 pkg_config_args=gtk+-2.0
29980 for module in . $GTK_MODULES
29984 pkg_config_args="$pkg_config_args gthread-2.0"
29991 # Extract the first word of "pkg-config", so it can be a program name with args.
29992 set dummy pkg-config; ac_word=$2
29993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29995 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29996 echo $ECHO_N "(cached) $ECHO_C" >&6
29998 case $PKG_CONFIG in
30000 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30004 for as_dir in $PATH
30007 test -z "$as_dir" && as_dir=.
30008 for ac_exec_ext in '' $ac_executable_extensions; do
30009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30010 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30018 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30022 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30023 if test -n "$PKG_CONFIG"; then
30024 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30025 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30027 { echo "$as_me:$LINENO: result: no" >&5
30028 echo "${ECHO_T}no" >&6; }
30033 if test x$PKG_CONFIG != xno ; then
30034 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30037 echo "*** pkg-config too old; version 0.7 or better required."
30045 min_gtk_version=2.0.0
30046 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30047 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30049 if test x$PKG_CONFIG != xno ; then
30050 ## don't try to run the test against uninstalled libtool libs
30051 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30052 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30056 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30063 if test x"$no_gtk" = x ; then
30064 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30065 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30066 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30067 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30068 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30069 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30070 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30072 if test "x$enable_gtktest" = "xyes" ; then
30073 ac_save_CFLAGS="$CFLAGS"
30074 ac_save_LIBS="$LIBS"
30075 CFLAGS="$CFLAGS $GTK_CFLAGS"
30076 LIBS="$GTK_LIBS $LIBS"
30078 if test "$cross_compiling" = yes; then
30079 echo $ac_n "cross compiling; assumed OK... $ac_c"
30081 cat >conftest.$ac_ext <<_ACEOF
30084 cat confdefs.h >>conftest.$ac_ext
30085 cat >>conftest.$ac_ext <<_ACEOF
30086 /* end confdefs.h. */
30088 #include <gtk/gtk.h>
30090 #include <stdlib.h>
30095 int major, minor, micro;
30098 system ("touch conf.gtktest");
30100 /* HP/UX 9 (%@#!) writes to sscanf strings */
30101 tmp_version = g_strdup("$min_gtk_version");
30102 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30103 printf("%s, bad version string\n", "$min_gtk_version");
30107 if ((gtk_major_version != $gtk_config_major_version) ||
30108 (gtk_minor_version != $gtk_config_minor_version) ||
30109 (gtk_micro_version != $gtk_config_micro_version))
30111 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30112 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30113 gtk_major_version, gtk_minor_version, gtk_micro_version);
30114 printf ("*** was found! If pkg-config was correct, then it is best\n");
30115 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30116 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30117 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30118 printf("*** required on your system.\n");
30119 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30120 printf("*** to point to the correct configuration files\n");
30122 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30123 (gtk_minor_version != GTK_MINOR_VERSION) ||
30124 (gtk_micro_version != GTK_MICRO_VERSION))
30126 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30127 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30128 printf("*** library (version %d.%d.%d)\n",
30129 gtk_major_version, gtk_minor_version, gtk_micro_version);
30133 if ((gtk_major_version > major) ||
30134 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30135 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30141 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30142 gtk_major_version, gtk_minor_version, gtk_micro_version);
30143 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30144 major, minor, micro);
30145 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30147 printf("*** If you have already installed a sufficiently new version, this error\n");
30148 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30149 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30150 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30151 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30152 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30153 printf("*** so that the correct libraries are found at run-time))\n");
30160 rm -f conftest$ac_exeext
30161 if { (ac_try="$ac_link"
30162 case "(($ac_try" in
30163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30164 *) ac_try_echo=$ac_try;;
30166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30167 (eval "$ac_link") 2>&5
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30171 { (case "(($ac_try" in
30172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30173 *) ac_try_echo=$ac_try;;
30175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30176 (eval "$ac_try") 2>&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); }; }; then
30182 echo "$as_me: program exited with status $ac_status" >&5
30183 echo "$as_me: failed program was:" >&5
30184 sed 's/^/| /' conftest.$ac_ext >&5
30186 ( exit $ac_status )
30189 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30193 CFLAGS="$ac_save_CFLAGS"
30194 LIBS="$ac_save_LIBS"
30197 if test "x$no_gtk" = x ; then
30198 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30199 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30202 { echo "$as_me:$LINENO: result: no" >&5
30203 echo "${ECHO_T}no" >&6; }
30204 if test "$PKG_CONFIG" = "no" ; then
30205 echo "*** A new enough version of pkg-config was not found."
30206 echo "*** See http://pkgconfig.sourceforge.net"
30208 if test -f conf.gtktest ; then
30211 echo "*** Could not run GTK+ test program, checking why..."
30212 ac_save_CFLAGS="$CFLAGS"
30213 ac_save_LIBS="$LIBS"
30214 CFLAGS="$CFLAGS $GTK_CFLAGS"
30215 LIBS="$LIBS $GTK_LIBS"
30216 cat >conftest.$ac_ext <<_ACEOF
30219 cat confdefs.h >>conftest.$ac_ext
30220 cat >>conftest.$ac_ext <<_ACEOF
30221 /* end confdefs.h. */
30223 #include <gtk/gtk.h>
30229 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30234 rm -f conftest.$ac_objext conftest$ac_exeext
30235 if { (ac_try="$ac_link"
30236 case "(($ac_try" in
30237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30238 *) ac_try_echo=$ac_try;;
30240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30241 (eval "$ac_link") 2>conftest.er1
30243 grep -v '^ *+' conftest.er1 >conftest.err
30245 cat conftest.err >&5
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); } && {
30248 test -z "$ac_c_werror_flag" ||
30249 test ! -s conftest.err
30250 } && test -s conftest$ac_exeext &&
30251 $as_test_x conftest$ac_exeext; then
30252 echo "*** The test program compiled, but did not run. This usually means"
30253 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30254 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30255 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30256 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30257 echo "*** is required on your system"
30259 echo "*** If you have an old version installed, it is best to remove it, although"
30260 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30262 echo "$as_me: failed program was:" >&5
30263 sed 's/^/| /' conftest.$ac_ext >&5
30265 echo "*** The test program failed to compile or link. See the file config.log for the"
30266 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30270 conftest$ac_exeext conftest.$ac_ext
30271 CFLAGS="$ac_save_CFLAGS"
30272 LIBS="$ac_save_LIBS"
30286 if test "$wxUSE_SHARED" != "yes"; then
30287 GTK_LIBS="$GTK_LIBS -lX11"
30292 if test -z "$wx_cv_lib_gtk"; then
30293 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30295 # Check whether --with-gtk-prefix was given.
30296 if test "${with_gtk_prefix+set}" = set; then
30297 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30299 gtk_config_prefix=""
30303 # Check whether --with-gtk-exec-prefix was given.
30304 if test "${with_gtk_exec_prefix+set}" = set; then
30305 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30307 gtk_config_exec_prefix=""
30310 # Check whether --enable-gtktest was given.
30311 if test "${enable_gtktest+set}" = set; then
30312 enableval=$enable_gtktest;
30318 for module in . $GTK_MODULES
30322 gtk_config_args="$gtk_config_args gthread"
30327 if test x$gtk_config_exec_prefix != x ; then
30328 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30329 if test x${GTK_CONFIG+set} != xset ; then
30330 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30333 if test x$gtk_config_prefix != x ; then
30334 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30335 if test x${GTK_CONFIG+set} != xset ; then
30336 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30340 # Extract the first word of "gtk-config", so it can be a program name with args.
30341 set dummy gtk-config; ac_word=$2
30342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30344 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30345 echo $ECHO_N "(cached) $ECHO_C" >&6
30347 case $GTK_CONFIG in
30349 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30353 for as_dir in $PATH
30356 test -z "$as_dir" && as_dir=.
30357 for ac_exec_ext in '' $ac_executable_extensions; do
30358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30359 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30367 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30371 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30372 if test -n "$GTK_CONFIG"; then
30373 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30374 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30376 { echo "$as_me:$LINENO: result: no" >&5
30377 echo "${ECHO_T}no" >&6; }
30381 min_gtk_version=1.2.7
30382 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30383 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30385 if test "$GTK_CONFIG" = "no" ; then
30388 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30389 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30390 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30391 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30392 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30394 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30396 if test "x$enable_gtktest" = "xyes" ; then
30397 ac_save_CFLAGS="$CFLAGS"
30398 ac_save_LIBS="$LIBS"
30399 CFLAGS="$CFLAGS $GTK_CFLAGS"
30400 LIBS="$GTK_LIBS $LIBS"
30402 if test "$cross_compiling" = yes; then
30403 echo $ac_n "cross compiling; assumed OK... $ac_c"
30405 cat >conftest.$ac_ext <<_ACEOF
30408 cat confdefs.h >>conftest.$ac_ext
30409 cat >>conftest.$ac_ext <<_ACEOF
30410 /* end confdefs.h. */
30412 #include <gtk/gtk.h>
30414 #include <stdlib.h>
30419 int major, minor, micro;
30422 system ("touch conf.gtktest");
30424 /* HP/UX 9 (%@#!) writes to sscanf strings */
30425 tmp_version = g_strdup("$min_gtk_version");
30426 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30427 printf("%s, bad version string\n", "$min_gtk_version");
30431 if ((gtk_major_version != $gtk_config_major_version) ||
30432 (gtk_minor_version != $gtk_config_minor_version) ||
30433 (gtk_micro_version != $gtk_config_micro_version))
30435 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30436 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30437 gtk_major_version, gtk_minor_version, gtk_micro_version);
30438 printf ("*** was found! If gtk-config was correct, then it is best\n");
30439 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30440 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30441 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30442 printf("*** required on your system.\n");
30443 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30444 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30445 printf("*** before re-running configure\n");
30447 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30448 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30449 (gtk_minor_version != GTK_MINOR_VERSION) ||
30450 (gtk_micro_version != GTK_MICRO_VERSION))
30452 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30453 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30454 printf("*** library (version %d.%d.%d)\n",
30455 gtk_major_version, gtk_minor_version, gtk_micro_version);
30457 #endif /* defined (GTK_MAJOR_VERSION) ... */
30460 if ((gtk_major_version > major) ||
30461 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30462 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30468 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30469 gtk_major_version, gtk_minor_version, gtk_micro_version);
30470 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30471 major, minor, micro);
30472 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30474 printf("*** If you have already installed a sufficiently new version, this error\n");
30475 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30476 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30477 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30478 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30479 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30480 printf("*** so that the correct libraries are found at run-time))\n");
30487 rm -f conftest$ac_exeext
30488 if { (ac_try="$ac_link"
30489 case "(($ac_try" in
30490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30491 *) ac_try_echo=$ac_try;;
30493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30494 (eval "$ac_link") 2>&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30498 { (case "(($ac_try" in
30499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30500 *) ac_try_echo=$ac_try;;
30502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30503 (eval "$ac_try") 2>&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); }; }; then
30509 echo "$as_me: program exited with status $ac_status" >&5
30510 echo "$as_me: failed program was:" >&5
30511 sed 's/^/| /' conftest.$ac_ext >&5
30513 ( exit $ac_status )
30516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30520 CFLAGS="$ac_save_CFLAGS"
30521 LIBS="$ac_save_LIBS"
30524 if test "x$no_gtk" = x ; then
30525 { echo "$as_me:$LINENO: result: yes" >&5
30526 echo "${ECHO_T}yes" >&6; }
30527 wx_cv_lib_gtk=1.2.7
30529 { echo "$as_me:$LINENO: result: no" >&5
30530 echo "${ECHO_T}no" >&6; }
30531 if test "$GTK_CONFIG" = "no" ; then
30532 echo "*** The gtk-config script installed by GTK could not be found"
30533 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30534 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30535 echo "*** full path to gtk-config."
30537 if test -f conf.gtktest ; then
30540 echo "*** Could not run GTK test program, checking why..."
30541 CFLAGS="$CFLAGS $GTK_CFLAGS"
30542 LIBS="$LIBS $GTK_LIBS"
30543 cat >conftest.$ac_ext <<_ACEOF
30546 cat confdefs.h >>conftest.$ac_ext
30547 cat >>conftest.$ac_ext <<_ACEOF
30548 /* end confdefs.h. */
30550 #include <gtk/gtk.h>
30556 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30561 rm -f conftest.$ac_objext conftest$ac_exeext
30562 if { (ac_try="$ac_link"
30563 case "(($ac_try" in
30564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30565 *) ac_try_echo=$ac_try;;
30567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30568 (eval "$ac_link") 2>conftest.er1
30570 grep -v '^ *+' conftest.er1 >conftest.err
30572 cat conftest.err >&5
30573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30574 (exit $ac_status); } && {
30575 test -z "$ac_c_werror_flag" ||
30576 test ! -s conftest.err
30577 } && test -s conftest$ac_exeext &&
30578 $as_test_x conftest$ac_exeext; then
30579 echo "*** The test program compiled, but did not run. This usually means"
30580 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30581 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30582 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30583 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30584 echo "*** is required on your system"
30586 echo "*** If you have an old version installed, it is best to remove it, although"
30587 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30589 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30590 echo "*** came with the system with the command"
30592 echo "*** rpm --erase --nodeps gtk gtk-devel"
30594 echo "$as_me: failed program was:" >&5
30595 sed 's/^/| /' conftest.$ac_ext >&5
30597 echo "*** The test program failed to compile or link. See the file config.log for the"
30598 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30599 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30600 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30604 conftest$ac_exeext conftest.$ac_ext
30605 CFLAGS="$ac_save_CFLAGS"
30606 LIBS="$ac_save_LIBS"
30618 if test -z "$wx_cv_lib_gtk"; then
30620 # Check whether --with-gtk-prefix was given.
30621 if test "${with_gtk_prefix+set}" = set; then
30622 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30624 gtk_config_prefix=""
30628 # Check whether --with-gtk-exec-prefix was given.
30629 if test "${with_gtk_exec_prefix+set}" = set; then
30630 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30632 gtk_config_exec_prefix=""
30635 # Check whether --enable-gtktest was given.
30636 if test "${enable_gtktest+set}" = set; then
30637 enableval=$enable_gtktest;
30643 for module in . $GTK_MODULES
30647 gtk_config_args="$gtk_config_args gthread"
30652 if test x$gtk_config_exec_prefix != x ; then
30653 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30654 if test x${GTK_CONFIG+set} != xset ; then
30655 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30658 if test x$gtk_config_prefix != x ; then
30659 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30660 if test x${GTK_CONFIG+set} != xset ; then
30661 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30665 # Extract the first word of "gtk-config", so it can be a program name with args.
30666 set dummy gtk-config; ac_word=$2
30667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30669 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30670 echo $ECHO_N "(cached) $ECHO_C" >&6
30672 case $GTK_CONFIG in
30674 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30678 for as_dir in $PATH
30681 test -z "$as_dir" && as_dir=.
30682 for ac_exec_ext in '' $ac_executable_extensions; do
30683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30684 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30692 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30696 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30697 if test -n "$GTK_CONFIG"; then
30698 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30699 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30701 { echo "$as_me:$LINENO: result: no" >&5
30702 echo "${ECHO_T}no" >&6; }
30706 min_gtk_version=1.2.3
30707 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30708 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30710 if test "$GTK_CONFIG" = "no" ; then
30713 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30714 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30715 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30716 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30717 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30719 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30721 if test "x$enable_gtktest" = "xyes" ; then
30722 ac_save_CFLAGS="$CFLAGS"
30723 ac_save_LIBS="$LIBS"
30724 CFLAGS="$CFLAGS $GTK_CFLAGS"
30725 LIBS="$GTK_LIBS $LIBS"
30727 if test "$cross_compiling" = yes; then
30728 echo $ac_n "cross compiling; assumed OK... $ac_c"
30730 cat >conftest.$ac_ext <<_ACEOF
30733 cat confdefs.h >>conftest.$ac_ext
30734 cat >>conftest.$ac_ext <<_ACEOF
30735 /* end confdefs.h. */
30737 #include <gtk/gtk.h>
30739 #include <stdlib.h>
30744 int major, minor, micro;
30747 system ("touch conf.gtktest");
30749 /* HP/UX 9 (%@#!) writes to sscanf strings */
30750 tmp_version = g_strdup("$min_gtk_version");
30751 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30752 printf("%s, bad version string\n", "$min_gtk_version");
30756 if ((gtk_major_version != $gtk_config_major_version) ||
30757 (gtk_minor_version != $gtk_config_minor_version) ||
30758 (gtk_micro_version != $gtk_config_micro_version))
30760 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30761 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30762 gtk_major_version, gtk_minor_version, gtk_micro_version);
30763 printf ("*** was found! If gtk-config was correct, then it is best\n");
30764 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30765 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30766 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30767 printf("*** required on your system.\n");
30768 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30769 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30770 printf("*** before re-running configure\n");
30772 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30773 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30774 (gtk_minor_version != GTK_MINOR_VERSION) ||
30775 (gtk_micro_version != GTK_MICRO_VERSION))
30777 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30778 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30779 printf("*** library (version %d.%d.%d)\n",
30780 gtk_major_version, gtk_minor_version, gtk_micro_version);
30782 #endif /* defined (GTK_MAJOR_VERSION) ... */
30785 if ((gtk_major_version > major) ||
30786 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30787 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30793 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30794 gtk_major_version, gtk_minor_version, gtk_micro_version);
30795 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30796 major, minor, micro);
30797 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30799 printf("*** If you have already installed a sufficiently new version, this error\n");
30800 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30801 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30802 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30803 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30804 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30805 printf("*** so that the correct libraries are found at run-time))\n");
30812 rm -f conftest$ac_exeext
30813 if { (ac_try="$ac_link"
30814 case "(($ac_try" in
30815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30816 *) ac_try_echo=$ac_try;;
30818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30819 (eval "$ac_link") 2>&5
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30823 { (case "(($ac_try" in
30824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30825 *) ac_try_echo=$ac_try;;
30827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30828 (eval "$ac_try") 2>&5
30830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831 (exit $ac_status); }; }; then
30834 echo "$as_me: program exited with status $ac_status" >&5
30835 echo "$as_me: failed program was:" >&5
30836 sed 's/^/| /' conftest.$ac_ext >&5
30838 ( exit $ac_status )
30841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30845 CFLAGS="$ac_save_CFLAGS"
30846 LIBS="$ac_save_LIBS"
30849 if test "x$no_gtk" = x ; then
30850 { echo "$as_me:$LINENO: result: yes" >&5
30851 echo "${ECHO_T}yes" >&6; }
30852 wx_cv_lib_gtk=1.2.3
30854 { echo "$as_me:$LINENO: result: no" >&5
30855 echo "${ECHO_T}no" >&6; }
30856 if test "$GTK_CONFIG" = "no" ; then
30857 echo "*** The gtk-config script installed by GTK could not be found"
30858 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30859 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30860 echo "*** full path to gtk-config."
30862 if test -f conf.gtktest ; then
30865 echo "*** Could not run GTK test program, checking why..."
30866 CFLAGS="$CFLAGS $GTK_CFLAGS"
30867 LIBS="$LIBS $GTK_LIBS"
30868 cat >conftest.$ac_ext <<_ACEOF
30871 cat confdefs.h >>conftest.$ac_ext
30872 cat >>conftest.$ac_ext <<_ACEOF
30873 /* end confdefs.h. */
30875 #include <gtk/gtk.h>
30881 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30886 rm -f conftest.$ac_objext conftest$ac_exeext
30887 if { (ac_try="$ac_link"
30888 case "(($ac_try" in
30889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30890 *) ac_try_echo=$ac_try;;
30892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30893 (eval "$ac_link") 2>conftest.er1
30895 grep -v '^ *+' conftest.er1 >conftest.err
30897 cat conftest.err >&5
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); } && {
30900 test -z "$ac_c_werror_flag" ||
30901 test ! -s conftest.err
30902 } && test -s conftest$ac_exeext &&
30903 $as_test_x conftest$ac_exeext; then
30904 echo "*** The test program compiled, but did not run. This usually means"
30905 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30906 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30907 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30908 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30909 echo "*** is required on your system"
30911 echo "*** If you have an old version installed, it is best to remove it, although"
30912 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30914 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30915 echo "*** came with the system with the command"
30917 echo "*** rpm --erase --nodeps gtk gtk-devel"
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.$ac_ext >&5
30922 echo "*** The test program failed to compile or link. See the file config.log for the"
30923 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30924 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30925 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30929 conftest$ac_exeext conftest.$ac_ext
30930 CFLAGS="$ac_save_CFLAGS"
30931 LIBS="$ac_save_LIBS"
30946 if test -z "$wx_cv_lib_gtk"; then
30949 wx_cv_cflags_gtk=$GTK_CFLAGS
30950 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30957 if test "$gtk_version_cached" = 1; then
30958 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30959 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30962 case "$wx_cv_lib_gtk" in
30971 *) { { echo "$as_me:$LINENO: error:
30972 The development files for GTK+ were not found. For GTK+ 2, please
30973 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30974 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30975 and that the version is 1.2.3 or above. Also check that the
30976 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30977 --libs' are in the LD_LIBRARY_PATH or equivalent.
30979 echo "$as_me: error:
30980 The development files for GTK+ were not found. For GTK+ 2, please
30981 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30982 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30983 and that the version is 1.2.3 or above. Also check that the
30984 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30985 --libs' are in the LD_LIBRARY_PATH or equivalent.
30987 { (exit 1); exit 1; }; }
30991 if test "$WXGTK20" = 1; then
30992 save_CFLAGS="$CFLAGS"
30994 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30995 LIBS="$LIBS $wx_cv_libs_gtk"
30997 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30998 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
30999 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31000 echo $ECHO_N "(cached) $ECHO_C" >&6
31002 cat >conftest.$ac_ext <<_ACEOF
31005 cat confdefs.h >>conftest.$ac_ext
31006 cat >>conftest.$ac_ext <<_ACEOF
31007 /* end confdefs.h. */
31008 #include <gtk/gtk.h>
31013 #ifndef gtk_icon_size_lookup
31014 (void) gtk_icon_size_lookup;
31021 rm -f conftest.$ac_objext
31022 if { (ac_try="$ac_compile"
31023 case "(($ac_try" in
31024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31025 *) ac_try_echo=$ac_try;;
31027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31028 (eval "$ac_compile") 2>conftest.er1
31030 grep -v '^ *+' conftest.er1 >conftest.err
31032 cat conftest.err >&5
31033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31034 (exit $ac_status); } && {
31035 test -z "$ac_c_werror_flag" ||
31036 test ! -s conftest.err
31037 } && test -s conftest.$ac_objext; then
31038 ac_cv_have_decl_gtk_icon_size_lookup=yes
31040 echo "$as_me: failed program was:" >&5
31041 sed 's/^/| /' conftest.$ac_ext >&5
31043 ac_cv_have_decl_gtk_icon_size_lookup=no
31046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31048 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31049 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31050 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31052 cat >>confdefs.h <<_ACEOF
31053 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31058 cat >>confdefs.h <<_ACEOF
31059 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31062 cat >>confdefs.h <<\_ACEOF
31063 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31071 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31072 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31073 cat >conftest.$ac_ext <<_ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31080 #include <gtk/gtk.h>
31086 #if !GTK_CHECK_VERSION(2,10,0)
31094 rm -f conftest.$ac_objext
31095 if { (ac_try="$ac_compile"
31096 case "(($ac_try" in
31097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31098 *) ac_try_echo=$ac_try;;
31100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31101 (eval "$ac_compile") 2>conftest.er1
31103 grep -v '^ *+' conftest.er1 >conftest.err
31105 cat conftest.err >&5
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); } && {
31108 test -z "$ac_c_werror_flag" ||
31109 test ! -s conftest.err
31110 } && test -s conftest.$ac_objext; then
31112 cat >>confdefs.h <<\_ACEOF
31113 #define __WXGTK210__ 1
31116 cat >>confdefs.h <<\_ACEOF
31117 #define __WXGTK26__ 1
31120 cat >>confdefs.h <<\_ACEOF
31121 #define __WXGTK24__ 1
31124 { echo "$as_me:$LINENO: result: yes" >&5
31125 echo "${ECHO_T}yes" >&6; }
31129 echo "$as_me: failed program was:" >&5
31130 sed 's/^/| /' conftest.$ac_ext >&5
31133 { echo "$as_me:$LINENO: result: no" >&5
31134 echo "${ECHO_T}no" >&6; }
31139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31141 if test "$ac_wxgtk210" = 0; then
31142 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31143 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31144 cat >conftest.$ac_ext <<_ACEOF
31147 cat confdefs.h >>conftest.$ac_ext
31148 cat >>conftest.$ac_ext <<_ACEOF
31149 /* end confdefs.h. */
31151 #include <gtk/gtk.h>
31157 #if !GTK_CHECK_VERSION(2,6,0)
31165 rm -f conftest.$ac_objext
31166 if { (ac_try="$ac_compile"
31167 case "(($ac_try" in
31168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31169 *) ac_try_echo=$ac_try;;
31171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31172 (eval "$ac_compile") 2>conftest.er1
31174 grep -v '^ *+' conftest.er1 >conftest.err
31176 cat conftest.err >&5
31177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178 (exit $ac_status); } && {
31179 test -z "$ac_c_werror_flag" ||
31180 test ! -s conftest.err
31181 } && test -s conftest.$ac_objext; then
31183 cat >>confdefs.h <<\_ACEOF
31184 #define __WXGTK26__ 1
31187 cat >>confdefs.h <<\_ACEOF
31188 #define __WXGTK24__ 1
31191 { echo "$as_me:$LINENO: result: yes" >&5
31192 echo "${ECHO_T}yes" >&6; }
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.$ac_ext >&5
31200 { echo "$as_me:$LINENO: result: no" >&5
31201 echo "${ECHO_T}no" >&6; }
31206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31209 if test "$ac_wxgtk26" = 0; then
31210 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31211 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31212 cat >conftest.$ac_ext <<_ACEOF
31215 cat confdefs.h >>conftest.$ac_ext
31216 cat >>conftest.$ac_ext <<_ACEOF
31217 /* end confdefs.h. */
31219 #include <gtk/gtk.h>
31225 #if !GTK_CHECK_VERSION(2,4,0)
31233 rm -f conftest.$ac_objext
31234 if { (ac_try="$ac_compile"
31235 case "(($ac_try" in
31236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31237 *) ac_try_echo=$ac_try;;
31239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31240 (eval "$ac_compile") 2>conftest.er1
31242 grep -v '^ *+' conftest.er1 >conftest.err
31244 cat conftest.err >&5
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); } && {
31247 test -z "$ac_c_werror_flag" ||
31248 test ! -s conftest.err
31249 } && test -s conftest.$ac_objext; then
31251 cat >>confdefs.h <<\_ACEOF
31252 #define __WXGTK24__ 1
31255 { echo "$as_me:$LINENO: result: yes" >&5
31256 echo "${ECHO_T}yes" >&6; }
31259 echo "$as_me: failed program was:" >&5
31260 sed 's/^/| /' conftest.$ac_ext >&5
31263 { echo "$as_me:$LINENO: result: no" >&5
31264 echo "${ECHO_T}no" >&6; }
31268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31271 CFLAGS="$save_CFLAGS"
31274 if test "$wxUSE_UNICODE" = "yes"; then
31275 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31276 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31280 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31281 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31282 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31283 echo $ECHO_N "(cached) $ECHO_C" >&6
31285 ac_check_lib_save_LIBS=$LIBS
31287 cat >conftest.$ac_ext <<_ACEOF
31290 cat confdefs.h >>conftest.$ac_ext
31291 cat >>conftest.$ac_ext <<_ACEOF
31292 /* end confdefs.h. */
31294 /* Override any GCC internal prototype to avoid an error.
31295 Use char because int might match the return type of a GCC
31296 builtin and then its argument prototype would still apply. */
31300 char gdk_im_open ();
31304 return gdk_im_open ();
31309 rm -f conftest.$ac_objext conftest$ac_exeext
31310 if { (ac_try="$ac_link"
31311 case "(($ac_try" in
31312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31313 *) ac_try_echo=$ac_try;;
31315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31316 (eval "$ac_link") 2>conftest.er1
31318 grep -v '^ *+' conftest.er1 >conftest.err
31320 cat conftest.err >&5
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); } && {
31323 test -z "$ac_c_werror_flag" ||
31324 test ! -s conftest.err
31325 } && test -s conftest$ac_exeext &&
31326 $as_test_x conftest$ac_exeext; then
31327 ac_cv_lib_gdk_gdk_im_open=yes
31329 echo "$as_me: failed program was:" >&5
31330 sed 's/^/| /' conftest.$ac_ext >&5
31332 ac_cv_lib_gdk_gdk_im_open=no
31335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31336 conftest$ac_exeext conftest.$ac_ext
31337 LIBS=$ac_check_lib_save_LIBS
31339 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31340 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31341 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31342 cat >>confdefs.h <<\_ACEOF
31349 if test "$USE_DARWIN" != 1; then
31351 for ac_func in poll
31353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31354 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31356 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31357 echo $ECHO_N "(cached) $ECHO_C" >&6
31359 cat >conftest.$ac_ext <<_ACEOF
31362 cat confdefs.h >>conftest.$ac_ext
31363 cat >>conftest.$ac_ext <<_ACEOF
31364 /* end confdefs.h. */
31365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31367 #define $ac_func innocuous_$ac_func
31369 /* System header to define __stub macros and hopefully few prototypes,
31370 which can conflict with char $ac_func (); below.
31371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31372 <limits.h> exists even on freestanding compilers. */
31375 # include <limits.h>
31377 # include <assert.h>
31382 /* Override any GCC internal prototype to avoid an error.
31383 Use char because int might match the return type of a GCC
31384 builtin and then its argument prototype would still apply. */
31389 /* The GNU C library defines this for functions which it implements
31390 to always fail with ENOSYS. Some functions are actually named
31391 something starting with __ and the normal name is an alias. */
31392 #if defined __stub_$ac_func || defined __stub___$ac_func
31399 return $ac_func ();
31404 rm -f conftest.$ac_objext conftest$ac_exeext
31405 if { (ac_try="$ac_link"
31406 case "(($ac_try" in
31407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31408 *) ac_try_echo=$ac_try;;
31410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31411 (eval "$ac_link") 2>conftest.er1
31413 grep -v '^ *+' conftest.er1 >conftest.err
31415 cat conftest.err >&5
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); } && {
31418 test -z "$ac_c_werror_flag" ||
31419 test ! -s conftest.err
31420 } && test -s conftest$ac_exeext &&
31421 $as_test_x conftest$ac_exeext; then
31422 eval "$as_ac_var=yes"
31424 echo "$as_me: failed program was:" >&5
31425 sed 's/^/| /' conftest.$ac_ext >&5
31427 eval "$as_ac_var=no"
31430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31431 conftest$ac_exeext conftest.$ac_ext
31433 ac_res=`eval echo '${'$as_ac_var'}'`
31434 { echo "$as_me:$LINENO: result: $ac_res" >&5
31435 echo "${ECHO_T}$ac_res" >&6; }
31436 if test `eval echo '${'$as_ac_var'}'` = yes; then
31437 cat >>confdefs.h <<_ACEOF
31438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31447 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31448 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31450 AFMINSTALL=afminstall
31454 if test "$wxUSE_GPE" = "yes"; then
31455 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31456 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31459 for ac_dir in $SEARCH_LIB;
31461 for ac_extension in a so sl dylib dll.a; do
31462 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31463 ac_find_libraries=$ac_dir
31469 if test "$ac_find_libraries" != "" ; then
31471 if test "$ac_find_libraries" = "default location"; then
31474 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31476 if test $result = 0; then
31479 ac_path_to_link=" -L$ac_find_libraries"
31483 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31485 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31486 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31488 { echo "$as_me:$LINENO: result: not found" >&5
31489 echo "${ECHO_T}not found" >&6; }
31495 if test "$wxUSE_MGL" = 1; then
31496 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31497 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31498 if test "x$MGL_ROOT" = x ; then
31499 { echo "$as_me:$LINENO: result: not found" >&5
31500 echo "${ECHO_T}not found" >&6; }
31501 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31502 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31503 { (exit 1); exit 1; }; }
31505 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31506 echo "${ECHO_T}$MGL_ROOT" >&6; }
31509 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31510 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31513 if test "x$wxUSE_SHARED" = xyes ; then
31514 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31516 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31520 mgl_os_candidates="dos32/dj2"
31523 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31524 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31525 { (exit 1); exit 1; }; }
31531 for mgl_os_i in $mgl_os_candidates ; do
31532 if test "x$mgl_os" = x ; then
31533 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31534 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31535 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31540 if test "x$mgl_lib_type" = x ; then
31541 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31542 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31543 mgl_lib_type=release
31550 if test "x$mgl_os" = x ; then
31551 { echo "$as_me:$LINENO: result: not found" >&5
31552 echo "${ECHO_T}not found" >&6; }
31553 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31554 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31555 { (exit 1); exit 1; }; }
31557 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31558 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31560 wxUSE_UNIVERSAL="yes"
31562 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31563 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31565 AFMINSTALL=afminstall
31570 if test "$wxUSE_DFB" = 1; then
31573 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31574 if test -n "$ac_tool_prefix"; then
31575 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31576 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31579 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31580 echo $ECHO_N "(cached) $ECHO_C" >&6
31582 case $PKG_CONFIG in
31584 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31588 for as_dir in $PATH
31591 test -z "$as_dir" && as_dir=.
31592 for ac_exec_ext in '' $ac_executable_extensions; do
31593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31594 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31605 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31606 if test -n "$PKG_CONFIG"; then
31607 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31608 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31610 { echo "$as_me:$LINENO: result: no" >&5
31611 echo "${ECHO_T}no" >&6; }
31616 if test -z "$ac_cv_path_PKG_CONFIG"; then
31617 ac_pt_PKG_CONFIG=$PKG_CONFIG
31618 # Extract the first word of "pkg-config", so it can be a program name with args.
31619 set dummy pkg-config; ac_word=$2
31620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31622 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31623 echo $ECHO_N "(cached) $ECHO_C" >&6
31625 case $ac_pt_PKG_CONFIG in
31627 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31631 for as_dir in $PATH
31634 test -z "$as_dir" && as_dir=.
31635 for ac_exec_ext in '' $ac_executable_extensions; do
31636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31637 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31648 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31649 if test -n "$ac_pt_PKG_CONFIG"; then
31650 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31651 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31653 { echo "$as_me:$LINENO: result: no" >&5
31654 echo "${ECHO_T}no" >&6; }
31657 if test "x$ac_pt_PKG_CONFIG" = x; then
31660 case $cross_compiling:$ac_tool_warned in
31662 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31663 whose name does not start with the host triplet. If you think this
31664 configuration is useful to you, please write to autoconf@gnu.org." >&5
31665 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31666 whose name does not start with the host triplet. If you think this
31667 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31668 ac_tool_warned=yes ;;
31670 PKG_CONFIG=$ac_pt_PKG_CONFIG
31673 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31677 if test -n "$PKG_CONFIG"; then
31678 _pkg_min_version=0.9.0
31679 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31680 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31681 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31682 { echo "$as_me:$LINENO: result: yes" >&5
31683 echo "${ECHO_T}yes" >&6; }
31685 { echo "$as_me:$LINENO: result: no" >&5
31686 echo "${ECHO_T}no" >&6; }
31694 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31695 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31697 if test -n "$PKG_CONFIG"; then
31698 if test -n "$DIRECTFB_CFLAGS"; then
31699 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31701 if test -n "$PKG_CONFIG" && \
31702 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31703 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); }; then
31707 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31715 if test -n "$PKG_CONFIG"; then
31716 if test -n "$DIRECTFB_LIBS"; then
31717 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31719 if test -n "$PKG_CONFIG" && \
31720 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31721 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); }; then
31725 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31736 if test $pkg_failed = yes; then
31738 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31739 _pkg_short_errors_supported=yes
31741 _pkg_short_errors_supported=no
31743 if test $_pkg_short_errors_supported = yes; then
31744 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31746 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31748 # Put the nasty error message in config.log where it belongs
31749 echo "$DIRECTFB_PKG_ERRORS" >&5
31752 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31753 echo "$as_me: error: DirectFB not found." >&2;}
31754 { (exit 1); exit 1; }; }
31757 elif test $pkg_failed = untried; then
31759 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31760 echo "$as_me: error: DirectFB not found." >&2;}
31761 { (exit 1); exit 1; }; }
31765 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31766 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31767 { echo "$as_me:$LINENO: result: yes" >&5
31768 echo "${ECHO_T}yes" >&6; }
31770 wxUSE_UNIVERSAL="yes"
31771 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31772 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31779 if test "$wxUSE_MICROWIN" = 1; then
31780 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31781 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31782 if test "x$MICROWINDOWS" = x ; then
31783 { echo "$as_me:$LINENO: result: not found" >&5
31784 echo "${ECHO_T}not found" >&6; }
31785 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31786 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31787 { (exit 1); exit 1; }; }
31789 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31790 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31793 if test -f $MICROWINDOWS/lib/libmwin.a; then
31794 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31795 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31797 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31798 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31799 { (exit 1); exit 1; }; }
31802 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31803 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31805 wxUSE_UNIVERSAL="yes"
31807 AFMINSTALL=afminstall
31809 GUIDIST=MICROWIN_DIST
31811 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31814 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31815 { echo "$as_me:$LINENO: checking for X" >&5
31816 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31819 # Check whether --with-x was given.
31820 if test "${with_x+set}" = set; then
31824 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31825 if test "x$with_x" = xno; then
31826 # The user explicitly disabled X.
31829 case $x_includes,$x_libraries in #(
31830 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31831 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31832 { (exit 1); exit 1; }; };; #(
31833 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31834 echo $ECHO_N "(cached) $ECHO_C" >&6
31836 # One or both of the vars are not set, and there is no cached value.
31837 ac_x_includes=no ac_x_libraries=no
31838 rm -f -r conftest.dir
31839 if mkdir conftest.dir; then
31841 cat >Imakefile <<'_ACEOF'
31843 @echo incroot='${INCROOT}'
31845 @echo usrlibdir='${USRLIBDIR}'
31847 @echo libdir='${LIBDIR}'
31849 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31850 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31851 for ac_var in incroot usrlibdir libdir; do
31852 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31854 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31855 for ac_extension in a so sl; do
31856 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31857 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31858 ac_im_usrlibdir=$ac_im_libdir; break
31861 # Screen out bogus values from the imake configuration. They are
31862 # bogus both because they are the default anyway, and because
31863 # using them would break gcc on systems where it needs fixed includes.
31864 case $ac_im_incroot in
31865 /usr/include) ac_x_includes= ;;
31866 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31868 case $ac_im_usrlibdir in
31869 /usr/lib | /lib) ;;
31870 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31874 rm -f -r conftest.dir
31877 # Standard set of common directories for X headers.
31878 # Check X11 before X11Rn because it is often a symlink to the current release.
31890 /usr/local/X11/include
31891 /usr/local/X11R6/include
31892 /usr/local/X11R5/include
31893 /usr/local/X11R4/include
31895 /usr/local/include/X11
31896 /usr/local/include/X11R6
31897 /usr/local/include/X11R5
31898 /usr/local/include/X11R4
31902 /usr/XFree86/include/X11
31906 /usr/unsupported/include
31907 /usr/athena/include
31908 /usr/local/x11r5/include
31909 /usr/lpp/Xamples/include
31911 /usr/openwin/include
31912 /usr/openwin/share/include'
31914 if test "$ac_x_includes" = no; then
31915 # Guess where to find include files, by looking for Xlib.h.
31916 # First, try using that file with no special directory specified.
31917 cat >conftest.$ac_ext <<_ACEOF
31920 cat confdefs.h >>conftest.$ac_ext
31921 cat >>conftest.$ac_ext <<_ACEOF
31922 /* end confdefs.h. */
31923 #include <X11/Xlib.h>
31925 if { (ac_try="$ac_cpp conftest.$ac_ext"
31926 case "(($ac_try" in
31927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31928 *) ac_try_echo=$ac_try;;
31930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31931 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31933 grep -v '^ *+' conftest.er1 >conftest.err
31935 cat conftest.err >&5
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); } >/dev/null && {
31938 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31939 test ! -s conftest.err
31941 # We can compile using X headers with no special include directory.
31944 echo "$as_me: failed program was:" >&5
31945 sed 's/^/| /' conftest.$ac_ext >&5
31947 for ac_dir in $ac_x_header_dirs; do
31948 if test -r "$ac_dir/X11/Xlib.h"; then
31949 ac_x_includes=$ac_dir
31955 rm -f conftest.err conftest.$ac_ext
31956 fi # $ac_x_includes = no
31958 if test "$ac_x_libraries" = no; then
31959 # Check for the libraries.
31960 # See if we find them without any special options.
31961 # Don't add to $LIBS permanently.
31964 cat >conftest.$ac_ext <<_ACEOF
31967 cat confdefs.h >>conftest.$ac_ext
31968 cat >>conftest.$ac_ext <<_ACEOF
31969 /* end confdefs.h. */
31970 #include <X11/Xlib.h>
31979 rm -f conftest.$ac_objext conftest$ac_exeext
31980 if { (ac_try="$ac_link"
31981 case "(($ac_try" in
31982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31983 *) ac_try_echo=$ac_try;;
31985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31986 (eval "$ac_link") 2>conftest.er1
31988 grep -v '^ *+' conftest.er1 >conftest.err
31990 cat conftest.err >&5
31991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31992 (exit $ac_status); } && {
31993 test -z "$ac_c_werror_flag" ||
31994 test ! -s conftest.err
31995 } && test -s conftest$ac_exeext &&
31996 $as_test_x conftest$ac_exeext; then
31998 # We can link X programs with no special library path.
32001 echo "$as_me: failed program was:" >&5
32002 sed 's/^/| /' conftest.$ac_ext >&5
32005 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32007 # Don't even attempt the hair of trying to link an X program!
32008 for ac_extension in a so sl; do
32009 if test -r "$ac_dir/libX11.$ac_extension"; then
32010 ac_x_libraries=$ac_dir
32017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32018 conftest$ac_exeext conftest.$ac_ext
32019 fi # $ac_x_libraries = no
32021 case $ac_x_includes,$ac_x_libraries in #(
32022 no,* | *,no | *\'*)
32023 # Didn't find X, or a directory has "'" in its name.
32024 ac_cv_have_x="have_x=no";; #(
32026 # Record where we found X for the cache.
32027 ac_cv_have_x="have_x=yes\
32028 ac_x_includes='$ac_x_includes'\
32029 ac_x_libraries='$ac_x_libraries'"
32035 eval "$ac_cv_have_x"
32038 if test "$have_x" != yes; then
32039 { echo "$as_me:$LINENO: result: $have_x" >&5
32040 echo "${ECHO_T}$have_x" >&6; }
32043 # If each of the values was on the command line, it overrides each guess.
32044 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32045 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32046 # Update the cache value to reflect the command line values.
32047 ac_cv_have_x="have_x=yes\
32048 ac_x_includes='$x_includes'\
32049 ac_x_libraries='$x_libraries'"
32050 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32051 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32054 if test "$no_x" = yes; then
32055 # Not all programs may use this symbol, but it does not hurt to define it.
32057 cat >>confdefs.h <<\_ACEOF
32058 #define X_DISPLAY_MISSING 1
32061 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32063 if test -n "$x_includes"; then
32064 X_CFLAGS="$X_CFLAGS -I$x_includes"
32067 # It would also be nice to do this for all -L options, not just this one.
32068 if test -n "$x_libraries"; then
32069 X_LIBS="$X_LIBS -L$x_libraries"
32070 # For Solaris; some versions of Sun CC require a space after -R and
32071 # others require no space. Words are not sufficient . . . .
32072 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32073 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32074 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32075 ac_xsave_c_werror_flag=$ac_c_werror_flag
32076 ac_c_werror_flag=yes
32077 cat >conftest.$ac_ext <<_ACEOF
32080 cat confdefs.h >>conftest.$ac_ext
32081 cat >>conftest.$ac_ext <<_ACEOF
32082 /* end confdefs.h. */
32092 rm -f conftest.$ac_objext conftest$ac_exeext
32093 if { (ac_try="$ac_link"
32094 case "(($ac_try" in
32095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32096 *) ac_try_echo=$ac_try;;
32098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32099 (eval "$ac_link") 2>conftest.er1
32101 grep -v '^ *+' conftest.er1 >conftest.err
32103 cat conftest.err >&5
32104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); } && {
32106 test -z "$ac_c_werror_flag" ||
32107 test ! -s conftest.err
32108 } && test -s conftest$ac_exeext &&
32109 $as_test_x conftest$ac_exeext; then
32110 { echo "$as_me:$LINENO: result: no" >&5
32111 echo "${ECHO_T}no" >&6; }
32112 X_LIBS="$X_LIBS -R$x_libraries"
32114 echo "$as_me: failed program was:" >&5
32115 sed 's/^/| /' conftest.$ac_ext >&5
32117 LIBS="$ac_xsave_LIBS -R $x_libraries"
32118 cat >conftest.$ac_ext <<_ACEOF
32121 cat confdefs.h >>conftest.$ac_ext
32122 cat >>conftest.$ac_ext <<_ACEOF
32123 /* end confdefs.h. */
32133 rm -f conftest.$ac_objext conftest$ac_exeext
32134 if { (ac_try="$ac_link"
32135 case "(($ac_try" in
32136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32137 *) ac_try_echo=$ac_try;;
32139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32140 (eval "$ac_link") 2>conftest.er1
32142 grep -v '^ *+' conftest.er1 >conftest.err
32144 cat conftest.err >&5
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); } && {
32147 test -z "$ac_c_werror_flag" ||
32148 test ! -s conftest.err
32149 } && test -s conftest$ac_exeext &&
32150 $as_test_x conftest$ac_exeext; then
32151 { echo "$as_me:$LINENO: result: yes" >&5
32152 echo "${ECHO_T}yes" >&6; }
32153 X_LIBS="$X_LIBS -R $x_libraries"
32155 echo "$as_me: failed program was:" >&5
32156 sed 's/^/| /' conftest.$ac_ext >&5
32158 { echo "$as_me:$LINENO: result: neither works" >&5
32159 echo "${ECHO_T}neither works" >&6; }
32162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32163 conftest$ac_exeext conftest.$ac_ext
32166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32167 conftest$ac_exeext conftest.$ac_ext
32168 ac_c_werror_flag=$ac_xsave_c_werror_flag
32169 LIBS=$ac_xsave_LIBS
32172 # Check for system-dependent libraries X programs must link with.
32173 # Do this before checking for the system-independent R6 libraries
32174 # (-lICE), since we may need -lsocket or whatever for X linking.
32176 if test "$ISC" = yes; then
32177 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32179 # Martyn Johnson says this is needed for Ultrix, if the X
32180 # libraries were built with DECnet support. And Karl Berry says
32181 # the Alpha needs dnet_stub (dnet does not exist).
32182 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32183 cat >conftest.$ac_ext <<_ACEOF
32186 cat confdefs.h >>conftest.$ac_ext
32187 cat >>conftest.$ac_ext <<_ACEOF
32188 /* end confdefs.h. */
32190 /* Override any GCC internal prototype to avoid an error.
32191 Use char because int might match the return type of a GCC
32192 builtin and then its argument prototype would still apply. */
32196 char XOpenDisplay ();
32200 return XOpenDisplay ();
32205 rm -f conftest.$ac_objext conftest$ac_exeext
32206 if { (ac_try="$ac_link"
32207 case "(($ac_try" in
32208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32209 *) ac_try_echo=$ac_try;;
32211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32212 (eval "$ac_link") 2>conftest.er1
32214 grep -v '^ *+' conftest.er1 >conftest.err
32216 cat conftest.err >&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } && {
32219 test -z "$ac_c_werror_flag" ||
32220 test ! -s conftest.err
32221 } && test -s conftest$ac_exeext &&
32222 $as_test_x conftest$ac_exeext; then
32225 echo "$as_me: failed program was:" >&5
32226 sed 's/^/| /' conftest.$ac_ext >&5
32228 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32229 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32230 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32231 echo $ECHO_N "(cached) $ECHO_C" >&6
32233 ac_check_lib_save_LIBS=$LIBS
32234 LIBS="-ldnet $LIBS"
32235 cat >conftest.$ac_ext <<_ACEOF
32238 cat confdefs.h >>conftest.$ac_ext
32239 cat >>conftest.$ac_ext <<_ACEOF
32240 /* end confdefs.h. */
32242 /* Override any GCC internal prototype to avoid an error.
32243 Use char because int might match the return type of a GCC
32244 builtin and then its argument prototype would still apply. */
32252 return dnet_ntoa ();
32257 rm -f conftest.$ac_objext conftest$ac_exeext
32258 if { (ac_try="$ac_link"
32259 case "(($ac_try" in
32260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32261 *) ac_try_echo=$ac_try;;
32263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32264 (eval "$ac_link") 2>conftest.er1
32266 grep -v '^ *+' conftest.er1 >conftest.err
32268 cat conftest.err >&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } && {
32271 test -z "$ac_c_werror_flag" ||
32272 test ! -s conftest.err
32273 } && test -s conftest$ac_exeext &&
32274 $as_test_x conftest$ac_exeext; then
32275 ac_cv_lib_dnet_dnet_ntoa=yes
32277 echo "$as_me: failed program was:" >&5
32278 sed 's/^/| /' conftest.$ac_ext >&5
32280 ac_cv_lib_dnet_dnet_ntoa=no
32283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32284 conftest$ac_exeext conftest.$ac_ext
32285 LIBS=$ac_check_lib_save_LIBS
32287 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32288 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32289 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32290 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32293 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32294 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32295 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32296 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32297 echo $ECHO_N "(cached) $ECHO_C" >&6
32299 ac_check_lib_save_LIBS=$LIBS
32300 LIBS="-ldnet_stub $LIBS"
32301 cat >conftest.$ac_ext <<_ACEOF
32304 cat confdefs.h >>conftest.$ac_ext
32305 cat >>conftest.$ac_ext <<_ACEOF
32306 /* end confdefs.h. */
32308 /* Override any GCC internal prototype to avoid an error.
32309 Use char because int might match the return type of a GCC
32310 builtin and then its argument prototype would still apply. */
32318 return dnet_ntoa ();
32323 rm -f conftest.$ac_objext conftest$ac_exeext
32324 if { (ac_try="$ac_link"
32325 case "(($ac_try" in
32326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32327 *) ac_try_echo=$ac_try;;
32329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32330 (eval "$ac_link") 2>conftest.er1
32332 grep -v '^ *+' conftest.er1 >conftest.err
32334 cat conftest.err >&5
32335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32336 (exit $ac_status); } && {
32337 test -z "$ac_c_werror_flag" ||
32338 test ! -s conftest.err
32339 } && test -s conftest$ac_exeext &&
32340 $as_test_x conftest$ac_exeext; then
32341 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32346 ac_cv_lib_dnet_stub_dnet_ntoa=no
32349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32350 conftest$ac_exeext conftest.$ac_ext
32351 LIBS=$ac_check_lib_save_LIBS
32353 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32354 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32355 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32356 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32363 conftest$ac_exeext conftest.$ac_ext
32364 LIBS="$ac_xsave_LIBS"
32366 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32367 # to get the SysV transport functions.
32368 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32370 # The nsl library prevents programs from opening the X display
32371 # on Irix 5.2, according to T.E. Dickey.
32372 # The functions gethostbyname, getservbyname, and inet_addr are
32373 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32374 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32375 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32376 if test "${ac_cv_func_gethostbyname+set}" = set; then
32377 echo $ECHO_N "(cached) $ECHO_C" >&6
32379 cat >conftest.$ac_ext <<_ACEOF
32382 cat confdefs.h >>conftest.$ac_ext
32383 cat >>conftest.$ac_ext <<_ACEOF
32384 /* end confdefs.h. */
32385 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32387 #define gethostbyname innocuous_gethostbyname
32389 /* System header to define __stub macros and hopefully few prototypes,
32390 which can conflict with char gethostbyname (); below.
32391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32392 <limits.h> exists even on freestanding compilers. */
32395 # include <limits.h>
32397 # include <assert.h>
32400 #undef gethostbyname
32402 /* Override any GCC internal prototype to avoid an error.
32403 Use char because int might match the return type of a GCC
32404 builtin and then its argument prototype would still apply. */
32408 char gethostbyname ();
32409 /* The GNU C library defines this for functions which it implements
32410 to always fail with ENOSYS. Some functions are actually named
32411 something starting with __ and the normal name is an alias. */
32412 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32419 return gethostbyname ();
32424 rm -f conftest.$ac_objext conftest$ac_exeext
32425 if { (ac_try="$ac_link"
32426 case "(($ac_try" in
32427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32428 *) ac_try_echo=$ac_try;;
32430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32431 (eval "$ac_link") 2>conftest.er1
32433 grep -v '^ *+' conftest.er1 >conftest.err
32435 cat conftest.err >&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); } && {
32438 test -z "$ac_c_werror_flag" ||
32439 test ! -s conftest.err
32440 } && test -s conftest$ac_exeext &&
32441 $as_test_x conftest$ac_exeext; then
32442 ac_cv_func_gethostbyname=yes
32444 echo "$as_me: failed program was:" >&5
32445 sed 's/^/| /' conftest.$ac_ext >&5
32447 ac_cv_func_gethostbyname=no
32450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32451 conftest$ac_exeext conftest.$ac_ext
32453 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32454 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32456 if test $ac_cv_func_gethostbyname = no; then
32457 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32458 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32459 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32460 echo $ECHO_N "(cached) $ECHO_C" >&6
32462 ac_check_lib_save_LIBS=$LIBS
32464 cat >conftest.$ac_ext <<_ACEOF
32467 cat confdefs.h >>conftest.$ac_ext
32468 cat >>conftest.$ac_ext <<_ACEOF
32469 /* end confdefs.h. */
32471 /* Override any GCC internal prototype to avoid an error.
32472 Use char because int might match the return type of a GCC
32473 builtin and then its argument prototype would still apply. */
32477 char gethostbyname ();
32481 return gethostbyname ();
32486 rm -f conftest.$ac_objext conftest$ac_exeext
32487 if { (ac_try="$ac_link"
32488 case "(($ac_try" in
32489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32490 *) ac_try_echo=$ac_try;;
32492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32493 (eval "$ac_link") 2>conftest.er1
32495 grep -v '^ *+' conftest.er1 >conftest.err
32497 cat conftest.err >&5
32498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 (exit $ac_status); } && {
32500 test -z "$ac_c_werror_flag" ||
32501 test ! -s conftest.err
32502 } && test -s conftest$ac_exeext &&
32503 $as_test_x conftest$ac_exeext; then
32504 ac_cv_lib_nsl_gethostbyname=yes
32506 echo "$as_me: failed program was:" >&5
32507 sed 's/^/| /' conftest.$ac_ext >&5
32509 ac_cv_lib_nsl_gethostbyname=no
32512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32513 conftest$ac_exeext conftest.$ac_ext
32514 LIBS=$ac_check_lib_save_LIBS
32516 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32517 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32518 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32519 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32522 if test $ac_cv_lib_nsl_gethostbyname = no; then
32523 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32524 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32525 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32526 echo $ECHO_N "(cached) $ECHO_C" >&6
32528 ac_check_lib_save_LIBS=$LIBS
32530 cat >conftest.$ac_ext <<_ACEOF
32533 cat confdefs.h >>conftest.$ac_ext
32534 cat >>conftest.$ac_ext <<_ACEOF
32535 /* end confdefs.h. */
32537 /* Override any GCC internal prototype to avoid an error.
32538 Use char because int might match the return type of a GCC
32539 builtin and then its argument prototype would still apply. */
32543 char gethostbyname ();
32547 return gethostbyname ();
32552 rm -f conftest.$ac_objext conftest$ac_exeext
32553 if { (ac_try="$ac_link"
32554 case "(($ac_try" in
32555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32556 *) ac_try_echo=$ac_try;;
32558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32559 (eval "$ac_link") 2>conftest.er1
32561 grep -v '^ *+' conftest.er1 >conftest.err
32563 cat conftest.err >&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); } && {
32566 test -z "$ac_c_werror_flag" ||
32567 test ! -s conftest.err
32568 } && test -s conftest$ac_exeext &&
32569 $as_test_x conftest$ac_exeext; then
32570 ac_cv_lib_bsd_gethostbyname=yes
32572 echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.$ac_ext >&5
32575 ac_cv_lib_bsd_gethostbyname=no
32578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32579 conftest$ac_exeext conftest.$ac_ext
32580 LIBS=$ac_check_lib_save_LIBS
32582 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32583 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32584 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32585 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32591 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32592 # socket/setsockopt and other routines are undefined under SCO ODT
32593 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32594 # on later versions), says Simon Leinen: it contains gethostby*
32595 # variants that don't use the name server (or something). -lsocket
32596 # must be given before -lnsl if both are needed. We assume that
32597 # if connect needs -lnsl, so does gethostbyname.
32598 { echo "$as_me:$LINENO: checking for connect" >&5
32599 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32600 if test "${ac_cv_func_connect+set}" = set; then
32601 echo $ECHO_N "(cached) $ECHO_C" >&6
32603 cat >conftest.$ac_ext <<_ACEOF
32606 cat confdefs.h >>conftest.$ac_ext
32607 cat >>conftest.$ac_ext <<_ACEOF
32608 /* end confdefs.h. */
32609 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32611 #define connect innocuous_connect
32613 /* System header to define __stub macros and hopefully few prototypes,
32614 which can conflict with char connect (); below.
32615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32616 <limits.h> exists even on freestanding compilers. */
32619 # include <limits.h>
32621 # include <assert.h>
32626 /* Override any GCC internal prototype to avoid an error.
32627 Use char because int might match the return type of a GCC
32628 builtin and then its argument prototype would still apply. */
32633 /* The GNU C library defines this for functions which it implements
32634 to always fail with ENOSYS. Some functions are actually named
32635 something starting with __ and the normal name is an alias. */
32636 #if defined __stub_connect || defined __stub___connect
32648 rm -f conftest.$ac_objext conftest$ac_exeext
32649 if { (ac_try="$ac_link"
32650 case "(($ac_try" in
32651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32652 *) ac_try_echo=$ac_try;;
32654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32655 (eval "$ac_link") 2>conftest.er1
32657 grep -v '^ *+' conftest.er1 >conftest.err
32659 cat conftest.err >&5
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); } && {
32662 test -z "$ac_c_werror_flag" ||
32663 test ! -s conftest.err
32664 } && test -s conftest$ac_exeext &&
32665 $as_test_x conftest$ac_exeext; then
32666 ac_cv_func_connect=yes
32668 echo "$as_me: failed program was:" >&5
32669 sed 's/^/| /' conftest.$ac_ext >&5
32671 ac_cv_func_connect=no
32674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32675 conftest$ac_exeext conftest.$ac_ext
32677 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32678 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32680 if test $ac_cv_func_connect = no; then
32681 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32682 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32683 if test "${ac_cv_lib_socket_connect+set}" = set; then
32684 echo $ECHO_N "(cached) $ECHO_C" >&6
32686 ac_check_lib_save_LIBS=$LIBS
32687 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32688 cat >conftest.$ac_ext <<_ACEOF
32691 cat confdefs.h >>conftest.$ac_ext
32692 cat >>conftest.$ac_ext <<_ACEOF
32693 /* end confdefs.h. */
32695 /* Override any GCC internal prototype to avoid an error.
32696 Use char because int might match the return type of a GCC
32697 builtin and then its argument prototype would still apply. */
32710 rm -f conftest.$ac_objext conftest$ac_exeext
32711 if { (ac_try="$ac_link"
32712 case "(($ac_try" in
32713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32714 *) ac_try_echo=$ac_try;;
32716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32717 (eval "$ac_link") 2>conftest.er1
32719 grep -v '^ *+' conftest.er1 >conftest.err
32721 cat conftest.err >&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); } && {
32724 test -z "$ac_c_werror_flag" ||
32725 test ! -s conftest.err
32726 } && test -s conftest$ac_exeext &&
32727 $as_test_x conftest$ac_exeext; then
32728 ac_cv_lib_socket_connect=yes
32730 echo "$as_me: failed program was:" >&5
32731 sed 's/^/| /' conftest.$ac_ext >&5
32733 ac_cv_lib_socket_connect=no
32736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32737 conftest$ac_exeext conftest.$ac_ext
32738 LIBS=$ac_check_lib_save_LIBS
32740 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32741 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32742 if test $ac_cv_lib_socket_connect = yes; then
32743 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32748 # Guillermo Gomez says -lposix is necessary on A/UX.
32749 { echo "$as_me:$LINENO: checking for remove" >&5
32750 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32751 if test "${ac_cv_func_remove+set}" = set; then
32752 echo $ECHO_N "(cached) $ECHO_C" >&6
32754 cat >conftest.$ac_ext <<_ACEOF
32757 cat confdefs.h >>conftest.$ac_ext
32758 cat >>conftest.$ac_ext <<_ACEOF
32759 /* end confdefs.h. */
32760 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32762 #define remove innocuous_remove
32764 /* System header to define __stub macros and hopefully few prototypes,
32765 which can conflict with char remove (); below.
32766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32767 <limits.h> exists even on freestanding compilers. */
32770 # include <limits.h>
32772 # include <assert.h>
32777 /* Override any GCC internal prototype to avoid an error.
32778 Use char because int might match the return type of a GCC
32779 builtin and then its argument prototype would still apply. */
32784 /* The GNU C library defines this for functions which it implements
32785 to always fail with ENOSYS. Some functions are actually named
32786 something starting with __ and the normal name is an alias. */
32787 #if defined __stub_remove || defined __stub___remove
32799 rm -f conftest.$ac_objext conftest$ac_exeext
32800 if { (ac_try="$ac_link"
32801 case "(($ac_try" in
32802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32803 *) ac_try_echo=$ac_try;;
32805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32806 (eval "$ac_link") 2>conftest.er1
32808 grep -v '^ *+' conftest.er1 >conftest.err
32810 cat conftest.err >&5
32811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32812 (exit $ac_status); } && {
32813 test -z "$ac_c_werror_flag" ||
32814 test ! -s conftest.err
32815 } && test -s conftest$ac_exeext &&
32816 $as_test_x conftest$ac_exeext; then
32817 ac_cv_func_remove=yes
32819 echo "$as_me: failed program was:" >&5
32820 sed 's/^/| /' conftest.$ac_ext >&5
32822 ac_cv_func_remove=no
32825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32826 conftest$ac_exeext conftest.$ac_ext
32828 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32829 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32831 if test $ac_cv_func_remove = no; then
32832 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32833 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32834 if test "${ac_cv_lib_posix_remove+set}" = set; then
32835 echo $ECHO_N "(cached) $ECHO_C" >&6
32837 ac_check_lib_save_LIBS=$LIBS
32838 LIBS="-lposix $LIBS"
32839 cat >conftest.$ac_ext <<_ACEOF
32842 cat confdefs.h >>conftest.$ac_ext
32843 cat >>conftest.$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32846 /* Override any GCC internal prototype to avoid an error.
32847 Use char because int might match the return type of a GCC
32848 builtin and then its argument prototype would still apply. */
32861 rm -f conftest.$ac_objext conftest$ac_exeext
32862 if { (ac_try="$ac_link"
32863 case "(($ac_try" in
32864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32865 *) ac_try_echo=$ac_try;;
32867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32868 (eval "$ac_link") 2>conftest.er1
32870 grep -v '^ *+' conftest.er1 >conftest.err
32872 cat conftest.err >&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); } && {
32875 test -z "$ac_c_werror_flag" ||
32876 test ! -s conftest.err
32877 } && test -s conftest$ac_exeext &&
32878 $as_test_x conftest$ac_exeext; then
32879 ac_cv_lib_posix_remove=yes
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.$ac_ext >&5
32884 ac_cv_lib_posix_remove=no
32887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32888 conftest$ac_exeext conftest.$ac_ext
32889 LIBS=$ac_check_lib_save_LIBS
32891 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32892 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32893 if test $ac_cv_lib_posix_remove = yes; then
32894 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32899 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32900 { echo "$as_me:$LINENO: checking for shmat" >&5
32901 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32902 if test "${ac_cv_func_shmat+set}" = set; then
32903 echo $ECHO_N "(cached) $ECHO_C" >&6
32905 cat >conftest.$ac_ext <<_ACEOF
32908 cat confdefs.h >>conftest.$ac_ext
32909 cat >>conftest.$ac_ext <<_ACEOF
32910 /* end confdefs.h. */
32911 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32913 #define shmat innocuous_shmat
32915 /* System header to define __stub macros and hopefully few prototypes,
32916 which can conflict with char shmat (); below.
32917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32918 <limits.h> exists even on freestanding compilers. */
32921 # include <limits.h>
32923 # include <assert.h>
32928 /* Override any GCC internal prototype to avoid an error.
32929 Use char because int might match the return type of a GCC
32930 builtin and then its argument prototype would still apply. */
32935 /* The GNU C library defines this for functions which it implements
32936 to always fail with ENOSYS. Some functions are actually named
32937 something starting with __ and the normal name is an alias. */
32938 #if defined __stub_shmat || defined __stub___shmat
32950 rm -f conftest.$ac_objext conftest$ac_exeext
32951 if { (ac_try="$ac_link"
32952 case "(($ac_try" in
32953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32954 *) ac_try_echo=$ac_try;;
32956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32957 (eval "$ac_link") 2>conftest.er1
32959 grep -v '^ *+' conftest.er1 >conftest.err
32961 cat conftest.err >&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); } && {
32964 test -z "$ac_c_werror_flag" ||
32965 test ! -s conftest.err
32966 } && test -s conftest$ac_exeext &&
32967 $as_test_x conftest$ac_exeext; then
32968 ac_cv_func_shmat=yes
32970 echo "$as_me: failed program was:" >&5
32971 sed 's/^/| /' conftest.$ac_ext >&5
32973 ac_cv_func_shmat=no
32976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32977 conftest$ac_exeext conftest.$ac_ext
32979 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32980 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32982 if test $ac_cv_func_shmat = no; then
32983 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32984 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32985 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32986 echo $ECHO_N "(cached) $ECHO_C" >&6
32988 ac_check_lib_save_LIBS=$LIBS
32990 cat >conftest.$ac_ext <<_ACEOF
32993 cat confdefs.h >>conftest.$ac_ext
32994 cat >>conftest.$ac_ext <<_ACEOF
32995 /* end confdefs.h. */
32997 /* Override any GCC internal prototype to avoid an error.
32998 Use char because int might match the return type of a GCC
32999 builtin and then its argument prototype would still apply. */
33012 rm -f conftest.$ac_objext conftest$ac_exeext
33013 if { (ac_try="$ac_link"
33014 case "(($ac_try" in
33015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33016 *) ac_try_echo=$ac_try;;
33018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33019 (eval "$ac_link") 2>conftest.er1
33021 grep -v '^ *+' conftest.er1 >conftest.err
33023 cat conftest.err >&5
33024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33025 (exit $ac_status); } && {
33026 test -z "$ac_c_werror_flag" ||
33027 test ! -s conftest.err
33028 } && test -s conftest$ac_exeext &&
33029 $as_test_x conftest$ac_exeext; then
33030 ac_cv_lib_ipc_shmat=yes
33032 echo "$as_me: failed program was:" >&5
33033 sed 's/^/| /' conftest.$ac_ext >&5
33035 ac_cv_lib_ipc_shmat=no
33038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33039 conftest$ac_exeext conftest.$ac_ext
33040 LIBS=$ac_check_lib_save_LIBS
33042 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33043 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33044 if test $ac_cv_lib_ipc_shmat = yes; then
33045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33051 # Check for libraries that X11R6 Xt/Xaw programs need.
33052 ac_save_LDFLAGS=$LDFLAGS
33053 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33054 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33055 # check for ICE first), but we must link in the order -lSM -lICE or
33056 # we get undefined symbols. So assume we have SM if we have ICE.
33057 # These have to be linked with before -lX11, unlike the other
33058 # libraries we check for below, so use a different variable.
33059 # John Interrante, Karl Berry
33060 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33061 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33062 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33063 echo $ECHO_N "(cached) $ECHO_C" >&6
33065 ac_check_lib_save_LIBS=$LIBS
33066 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33067 cat >conftest.$ac_ext <<_ACEOF
33070 cat confdefs.h >>conftest.$ac_ext
33071 cat >>conftest.$ac_ext <<_ACEOF
33072 /* end confdefs.h. */
33074 /* Override any GCC internal prototype to avoid an error.
33075 Use char because int might match the return type of a GCC
33076 builtin and then its argument prototype would still apply. */
33080 char IceConnectionNumber ();
33084 return IceConnectionNumber ();
33089 rm -f conftest.$ac_objext conftest$ac_exeext
33090 if { (ac_try="$ac_link"
33091 case "(($ac_try" in
33092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33093 *) ac_try_echo=$ac_try;;
33095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33096 (eval "$ac_link") 2>conftest.er1
33098 grep -v '^ *+' conftest.er1 >conftest.err
33100 cat conftest.err >&5
33101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33102 (exit $ac_status); } && {
33103 test -z "$ac_c_werror_flag" ||
33104 test ! -s conftest.err
33105 } && test -s conftest$ac_exeext &&
33106 $as_test_x conftest$ac_exeext; then
33107 ac_cv_lib_ICE_IceConnectionNumber=yes
33109 echo "$as_me: failed program was:" >&5
33110 sed 's/^/| /' conftest.$ac_ext >&5
33112 ac_cv_lib_ICE_IceConnectionNumber=no
33115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33116 conftest$ac_exeext conftest.$ac_ext
33117 LIBS=$ac_check_lib_save_LIBS
33119 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33120 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33121 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33122 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33125 LDFLAGS=$ac_save_LDFLAGS
33130 if test "$no_x" = "yes"; then
33131 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33132 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33133 { (exit 1); exit 1; }; }
33136 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33137 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33138 AFMINSTALL=afminstall
33139 COMPILED_X_PROGRAM=0
33143 if test "$wxUSE_X11" = 1; then
33144 if test "$wxUSE_NANOX" = "yes"; then
33145 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33146 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33147 if test "x$MICROWIN" = x ; then
33148 { echo "$as_me:$LINENO: result: not found" >&5
33149 echo "${ECHO_T}not found" >&6; }
33150 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33151 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33152 { (exit 1); exit 1; }; }
33154 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33155 echo "${ECHO_T}$MICROWIN" >&6; }
33156 cat >>confdefs.h <<\_ACEOF
33157 #define wxUSE_NANOX 1
33163 if test "$wxUSE_UNICODE" = "yes"; then
33166 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33167 if test -n "$ac_tool_prefix"; then
33168 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33169 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33172 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33173 echo $ECHO_N "(cached) $ECHO_C" >&6
33175 case $PKG_CONFIG in
33177 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33181 for as_dir in $PATH
33184 test -z "$as_dir" && as_dir=.
33185 for ac_exec_ext in '' $ac_executable_extensions; do
33186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33187 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33198 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33199 if test -n "$PKG_CONFIG"; then
33200 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33201 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33203 { echo "$as_me:$LINENO: result: no" >&5
33204 echo "${ECHO_T}no" >&6; }
33209 if test -z "$ac_cv_path_PKG_CONFIG"; then
33210 ac_pt_PKG_CONFIG=$PKG_CONFIG
33211 # Extract the first word of "pkg-config", so it can be a program name with args.
33212 set dummy pkg-config; ac_word=$2
33213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33215 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33216 echo $ECHO_N "(cached) $ECHO_C" >&6
33218 case $ac_pt_PKG_CONFIG in
33220 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33224 for as_dir in $PATH
33227 test -z "$as_dir" && as_dir=.
33228 for ac_exec_ext in '' $ac_executable_extensions; do
33229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33230 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33241 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33242 if test -n "$ac_pt_PKG_CONFIG"; then
33243 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33244 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33246 { echo "$as_me:$LINENO: result: no" >&5
33247 echo "${ECHO_T}no" >&6; }
33250 if test "x$ac_pt_PKG_CONFIG" = x; then
33253 case $cross_compiling:$ac_tool_warned in
33255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33256 whose name does not start with the host triplet. If you think this
33257 configuration is useful to you, please write to autoconf@gnu.org." >&5
33258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33259 whose name does not start with the host triplet. If you think this
33260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33261 ac_tool_warned=yes ;;
33263 PKG_CONFIG=$ac_pt_PKG_CONFIG
33266 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33270 if test -n "$PKG_CONFIG"; then
33271 _pkg_min_version=0.9.0
33272 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33273 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33274 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33275 { echo "$as_me:$LINENO: result: yes" >&5
33276 echo "${ECHO_T}yes" >&6; }
33278 { echo "$as_me:$LINENO: result: no" >&5
33279 echo "${ECHO_T}no" >&6; }
33287 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33288 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33290 if test -n "$PKG_CONFIG"; then
33291 if test -n "$PANGOX_CFLAGS"; then
33292 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33294 if test -n "$PKG_CONFIG" && \
33295 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33296 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33299 (exit $ac_status); }; then
33300 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33308 if test -n "$PKG_CONFIG"; then
33309 if test -n "$PANGOX_LIBS"; then
33310 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33312 if test -n "$PKG_CONFIG" && \
33313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33314 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); }; then
33318 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33329 if test $pkg_failed = yes; then
33331 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33332 _pkg_short_errors_supported=yes
33334 _pkg_short_errors_supported=no
33336 if test $_pkg_short_errors_supported = yes; then
33337 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33339 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33341 # Put the nasty error message in config.log where it belongs
33342 echo "$PANGOX_PKG_ERRORS" >&5
33345 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33346 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33347 { (exit 1); exit 1; }; }
33350 elif test $pkg_failed = untried; then
33352 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33353 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33354 { (exit 1); exit 1; }; }
33358 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33359 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33360 { echo "$as_me:$LINENO: result: yes" >&5
33361 echo "${ECHO_T}yes" >&6; }
33363 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33364 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33365 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33370 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33371 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33373 if test -n "$PKG_CONFIG"; then
33374 if test -n "$PANGOFT2_CFLAGS"; then
33375 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33377 if test -n "$PKG_CONFIG" && \
33378 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33379 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; then
33383 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33391 if test -n "$PKG_CONFIG"; then
33392 if test -n "$PANGOFT2_LIBS"; then
33393 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33395 if test -n "$PKG_CONFIG" && \
33396 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33397 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); }; then
33401 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33412 if test $pkg_failed = yes; then
33414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33415 _pkg_short_errors_supported=yes
33417 _pkg_short_errors_supported=no
33419 if test $_pkg_short_errors_supported = yes; then
33420 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33422 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33424 # Put the nasty error message in config.log where it belongs
33425 echo "$PANGOFT2_PKG_ERRORS" >&5
33428 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33429 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33430 wxUSE_PRINTING_ARCHITECTURE="no"
33433 elif test $pkg_failed = untried; then
33435 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33436 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33437 wxUSE_PRINTING_ARCHITECTURE="no"
33441 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33442 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33443 { echo "$as_me:$LINENO: result: yes" >&5
33444 echo "${ECHO_T}yes" >&6; }
33446 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33447 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33448 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33453 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33454 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33456 if test -n "$PKG_CONFIG"; then
33457 if test -n "$PANGOXFT_CFLAGS"; then
33458 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33460 if test -n "$PKG_CONFIG" && \
33461 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33462 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); }; then
33466 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33474 if test -n "$PKG_CONFIG"; then
33475 if test -n "$PANGOXFT_LIBS"; then
33476 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33478 if test -n "$PKG_CONFIG" && \
33479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33480 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483 (exit $ac_status); }; then
33484 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33495 if test $pkg_failed = yes; then
33497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33498 _pkg_short_errors_supported=yes
33500 _pkg_short_errors_supported=no
33502 if test $_pkg_short_errors_supported = yes; then
33503 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33505 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33507 # Put the nasty error message in config.log where it belongs
33508 echo "$PANGOXFT_PKG_ERRORS" >&5
33511 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33512 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33515 elif test $pkg_failed = untried; then
33517 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33518 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33522 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33523 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33524 { echo "$as_me:$LINENO: result: yes" >&5
33525 echo "${ECHO_T}yes" >&6; }
33527 cat >>confdefs.h <<\_ACEOF
33528 #define HAVE_PANGO_XFT 1
33531 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33532 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33533 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33537 LIBS="$LIBS $PANGOX_LIBS"
33539 for ac_func in pango_font_family_is_monospace
33541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33542 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33544 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33545 echo $ECHO_N "(cached) $ECHO_C" >&6
33547 cat >conftest.$ac_ext <<_ACEOF
33550 cat confdefs.h >>conftest.$ac_ext
33551 cat >>conftest.$ac_ext <<_ACEOF
33552 /* end confdefs.h. */
33553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33555 #define $ac_func innocuous_$ac_func
33557 /* System header to define __stub macros and hopefully few prototypes,
33558 which can conflict with char $ac_func (); below.
33559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33560 <limits.h> exists even on freestanding compilers. */
33563 # include <limits.h>
33565 # include <assert.h>
33570 /* Override any GCC internal prototype to avoid an error.
33571 Use char because int might match the return type of a GCC
33572 builtin and then its argument prototype would still apply. */
33577 /* The GNU C library defines this for functions which it implements
33578 to always fail with ENOSYS. Some functions are actually named
33579 something starting with __ and the normal name is an alias. */
33580 #if defined __stub_$ac_func || defined __stub___$ac_func
33587 return $ac_func ();
33592 rm -f conftest.$ac_objext conftest$ac_exeext
33593 if { (ac_try="$ac_link"
33594 case "(($ac_try" in
33595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33596 *) ac_try_echo=$ac_try;;
33598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33599 (eval "$ac_link") 2>conftest.er1
33601 grep -v '^ *+' conftest.er1 >conftest.err
33603 cat conftest.err >&5
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); } && {
33606 test -z "$ac_c_werror_flag" ||
33607 test ! -s conftest.err
33608 } && test -s conftest$ac_exeext &&
33609 $as_test_x conftest$ac_exeext; then
33610 eval "$as_ac_var=yes"
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.$ac_ext >&5
33615 eval "$as_ac_var=no"
33618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33619 conftest$ac_exeext conftest.$ac_ext
33621 ac_res=`eval echo '${'$as_ac_var'}'`
33622 { echo "$as_me:$LINENO: result: $ac_res" >&5
33623 echo "${ECHO_T}$ac_res" >&6; }
33624 if test `eval echo '${'$as_ac_var'}'` = yes; then
33625 cat >>confdefs.h <<_ACEOF
33626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33635 wxUSE_UNIVERSAL="yes"
33637 if test "$wxUSE_NANOX" = "yes"; then
33638 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33639 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"
33640 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33642 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33649 if test "$wxUSE_MOTIF" = 1; then
33650 if test "$wxUSE_UNICODE" = "yes"; then
33651 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33652 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33653 { (exit 1); exit 1; }; }
33656 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33657 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33660 for ac_dir in $SEARCH_INCLUDE /usr/include;
33662 if test -f "$ac_dir/Xm/Xm.h"; then
33663 ac_find_includes=$ac_dir
33668 if test "$ac_find_includes" != "" ; then
33669 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33670 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33672 if test "x$ac_find_includes" = "x/usr/include"; then
33673 ac_path_to_include=""
33675 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33677 if test $result = 0; then
33678 ac_path_to_include=""
33680 ac_path_to_include=" -I$ac_find_includes"
33684 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33686 save_CFLAGS=$CFLAGS
33687 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33689 cat >conftest.$ac_ext <<_ACEOF
33692 cat confdefs.h >>conftest.$ac_ext
33693 cat >>conftest.$ac_ext <<_ACEOF
33694 /* end confdefs.h. */
33703 version = xmUseVersion;
33709 rm -f conftest.$ac_objext
33710 if { (ac_try="$ac_compile"
33711 case "(($ac_try" in
33712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33713 *) ac_try_echo=$ac_try;;
33715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33716 (eval "$ac_compile") 2>conftest.er1
33718 grep -v '^ *+' conftest.er1 >conftest.err
33720 cat conftest.err >&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } && {
33723 test -z "$ac_c_werror_flag" ||
33724 test ! -s conftest.err
33725 } && test -s conftest.$ac_objext; then
33727 { echo "$as_me:$LINENO: result: found in default search path" >&5
33728 echo "${ECHO_T}found in default search path" >&6; }
33729 COMPILED_X_PROGRAM=1
33732 echo "$as_me: failed program was:" >&5
33733 sed 's/^/| /' conftest.$ac_ext >&5
33736 { echo "$as_me:$LINENO: result: no" >&5
33737 echo "${ECHO_T}no" >&6; }
33738 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33739 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33740 { (exit 1); exit 1; }; }
33745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33747 CFLAGS=$save_CFLAGS
33751 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33752 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33755 for ac_dir in $SEARCH_LIB;
33757 for ac_extension in a so sl dylib dll.a; do
33758 if test -f "$ac_dir/libXm.$ac_extension"; then
33759 ac_find_libraries=$ac_dir
33766 if test "x$ac_find_libraries" != "x" ; then
33767 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33768 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33771 if test "$ac_find_libraries" = "default location"; then
33774 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33776 if test $result = 0; then
33779 ac_path_to_link=" -L$ac_find_libraries"
33783 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33785 save_CFLAGS=$CFLAGS
33786 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33788 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33790 cat >conftest.$ac_ext <<_ACEOF
33793 cat confdefs.h >>conftest.$ac_ext
33794 cat >>conftest.$ac_ext <<_ACEOF
33795 /* end confdefs.h. */
33804 version = xmUseVersion;
33810 rm -f conftest.$ac_objext conftest$ac_exeext
33811 if { (ac_try="$ac_link"
33812 case "(($ac_try" in
33813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33814 *) ac_try_echo=$ac_try;;
33816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33817 (eval "$ac_link") 2>conftest.er1
33819 grep -v '^ *+' conftest.er1 >conftest.err
33821 cat conftest.err >&5
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); } && {
33824 test -z "$ac_c_werror_flag" ||
33825 test ! -s conftest.err
33826 } && test -s conftest$ac_exeext &&
33827 $as_test_x conftest$ac_exeext; then
33829 { echo "$as_me:$LINENO: result: found in default search path" >&5
33830 echo "${ECHO_T}found in default search path" >&6; }
33831 COMPILED_X_PROGRAM=1
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.$ac_ext >&5
33838 { echo "$as_me:$LINENO: result: no" >&5
33839 echo "${ECHO_T}no" >&6; }
33840 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33841 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33842 { (exit 1); exit 1; }; }
33847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33848 conftest$ac_exeext conftest.$ac_ext
33850 CFLAGS=$save_CFLAGS
33854 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33855 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33859 for libp in "" " -lXp"; do
33860 if test "$libs_found" = "0"; then
33861 for libsm_ice in "" " -lSM -lICE"; do
33862 if test "$libs_found" = "0"; then
33864 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33865 save_CFLAGS=$CFLAGS
33866 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33868 cat >conftest.$ac_ext <<_ACEOF
33871 cat confdefs.h >>conftest.$ac_ext
33872 cat >>conftest.$ac_ext <<_ACEOF
33873 /* end confdefs.h. */
33876 #include <Xm/List.h>
33882 XmString string = NULL;
33885 XmListAddItem(w, string, position);
33891 rm -f conftest.$ac_objext conftest$ac_exeext
33892 if { (ac_try="$ac_link"
33893 case "(($ac_try" in
33894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33895 *) ac_try_echo=$ac_try;;
33897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33898 (eval "$ac_link") 2>conftest.er1
33900 grep -v '^ *+' conftest.er1 >conftest.err
33902 cat conftest.err >&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); } && {
33905 test -z "$ac_c_werror_flag" ||
33906 test ! -s conftest.err
33907 } && test -s conftest$ac_exeext &&
33908 $as_test_x conftest$ac_exeext; then
33911 libsm_ice_link="$libsm_ice"
33912 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33913 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33917 echo "$as_me: failed program was:" >&5
33918 sed 's/^/| /' conftest.$ac_ext >&5
33924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33925 conftest$ac_exeext conftest.$ac_ext
33928 CFLAGS=$save_CFLAGS
33934 if test "$libs_found" = "0"; then
33935 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33936 echo "${ECHO_T}can't find the right libraries" >&6; }
33937 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33938 echo "$as_me: error: can't link a simple motif program" >&2;}
33939 { (exit 1); exit 1; }; }
33942 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33943 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33944 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33945 echo $ECHO_N "(cached) $ECHO_C" >&6
33947 ac_check_lib_save_LIBS=$LIBS
33949 cat >conftest.$ac_ext <<_ACEOF
33952 cat confdefs.h >>conftest.$ac_ext
33953 cat >>conftest.$ac_ext <<_ACEOF
33954 /* end confdefs.h. */
33956 /* Override any GCC internal prototype to avoid an error.
33957 Use char because int might match the return type of a GCC
33958 builtin and then its argument prototype would still apply. */
33962 char SgCreateList ();
33966 return SgCreateList ();
33971 rm -f conftest.$ac_objext conftest$ac_exeext
33972 if { (ac_try="$ac_link"
33973 case "(($ac_try" in
33974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33975 *) ac_try_echo=$ac_try;;
33977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33978 (eval "$ac_link") 2>conftest.er1
33980 grep -v '^ *+' conftest.er1 >conftest.err
33982 cat conftest.err >&5
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); } && {
33985 test -z "$ac_c_werror_flag" ||
33986 test ! -s conftest.err
33987 } && test -s conftest$ac_exeext &&
33988 $as_test_x conftest$ac_exeext; then
33989 ac_cv_lib_Sgm_SgCreateList=yes
33991 echo "$as_me: failed program was:" >&5
33992 sed 's/^/| /' conftest.$ac_ext >&5
33994 ac_cv_lib_Sgm_SgCreateList=no
33997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33998 conftest$ac_exeext conftest.$ac_ext
33999 LIBS=$ac_check_lib_save_LIBS
34001 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34002 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34003 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34004 libsgm_link=" -lSgm"
34008 save_CFLAGS=$CFLAGS
34009 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34011 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34012 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34013 if test "${wx_cv_lib_motif2+set}" = set; then
34014 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 cat >conftest.$ac_ext <<_ACEOF
34019 cat confdefs.h >>conftest.$ac_ext
34020 cat >>conftest.$ac_ext <<_ACEOF
34021 /* end confdefs.h. */
34029 #if XmVersion < 2000
34037 rm -f conftest.$ac_objext
34038 if { (ac_try="$ac_compile"
34039 case "(($ac_try" in
34040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34041 *) ac_try_echo=$ac_try;;
34043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34044 (eval "$ac_compile") 2>conftest.er1
34046 grep -v '^ *+' conftest.er1 >conftest.err
34048 cat conftest.err >&5
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); } && {
34051 test -z "$ac_c_werror_flag" ||
34052 test ! -s conftest.err
34053 } && test -s conftest.$ac_objext; then
34054 wx_cv_lib_motif2="yes"
34056 echo "$as_me: failed program was:" >&5
34057 sed 's/^/| /' conftest.$ac_ext >&5
34059 wx_cv_lib_motif2="no"
34062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34064 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34065 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34066 if test "$wx_cv_lib_motif2" = "yes"; then
34067 cat >>confdefs.h <<\_ACEOF
34068 #define __WXMOTIF20__ 1
34072 cat >>confdefs.h <<\_ACEOF
34073 #define __WXMOTIF20__ 0
34078 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34079 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34080 if test "${wx_cv_lib_lesstif+set}" = set; then
34081 echo $ECHO_N "(cached) $ECHO_C" >&6
34083 cat >conftest.$ac_ext <<_ACEOF
34086 cat confdefs.h >>conftest.$ac_ext
34087 cat >>conftest.$ac_ext <<_ACEOF
34088 /* end confdefs.h. */
34096 #if !defined(LesstifVersion) || LesstifVersion <= 0
34104 rm -f conftest.$ac_objext
34105 if { (ac_try="$ac_compile"
34106 case "(($ac_try" in
34107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34108 *) ac_try_echo=$ac_try;;
34110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34111 (eval "$ac_compile") 2>conftest.er1
34113 grep -v '^ *+' conftest.er1 >conftest.err
34115 cat conftest.err >&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); } && {
34118 test -z "$ac_c_werror_flag" ||
34119 test ! -s conftest.err
34120 } && test -s conftest.$ac_objext; then
34121 wx_cv_lib_lesstif="yes"
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34126 wx_cv_lib_lesstif="no"
34129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34132 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34133 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34134 if test "$wx_cv_lib_lesstif" = "yes"; then
34135 cat >>confdefs.h <<\_ACEOF
34136 #define __WXLESSTIF__ 1
34140 cat >>confdefs.h <<\_ACEOF
34141 #define __WXLESSTIF__ 0
34146 CFLAGS=$save_CFLAGS
34148 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34153 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34154 if test "$wxUSE_LIBXPM" = "sys"; then
34155 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34156 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34159 for ac_dir in $SEARCH_LIB;
34161 for ac_extension in a so sl dylib dll.a; do
34162 if test -f "$ac_dir/libXpm.$ac_extension"; then
34163 ac_find_libraries=$ac_dir
34169 if test "$ac_find_libraries" != "" ; then
34171 if test "$ac_find_libraries" = "default location"; then
34174 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34176 if test $result = 0; then
34179 ac_path_to_link=" -L$ac_find_libraries"
34183 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34184 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34185 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34187 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34188 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34189 if test "${wx_cv_x11_xpm_h+set}" = set; then
34190 echo $ECHO_N "(cached) $ECHO_C" >&6
34193 save_CFLAGS=$CFLAGS
34194 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34196 cat >conftest.$ac_ext <<_ACEOF
34199 cat confdefs.h >>conftest.$ac_ext
34200 cat >>conftest.$ac_ext <<_ACEOF
34201 /* end confdefs.h. */
34203 #include <X11/xpm.h>
34210 version = XpmLibraryVersion();
34216 rm -f conftest.$ac_objext
34217 if { (ac_try="$ac_compile"
34218 case "(($ac_try" in
34219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34220 *) ac_try_echo=$ac_try;;
34222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34223 (eval "$ac_compile") 2>conftest.er1
34225 grep -v '^ *+' conftest.er1 >conftest.err
34227 cat conftest.err >&5
34228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229 (exit $ac_status); } && {
34230 test -z "$ac_c_werror_flag" ||
34231 test ! -s conftest.err
34232 } && test -s conftest.$ac_objext; then
34233 wx_cv_x11_xpm_h=yes
34235 echo "$as_me: failed program was:" >&5
34236 sed 's/^/| /' conftest.$ac_ext >&5
34242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34244 CFLAGS=$save_CFLAGS
34248 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34249 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34251 if test $wx_cv_x11_xpm_h = "yes"; then
34252 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34253 cat >>confdefs.h <<\_ACEOF
34254 #define wxHAVE_LIB_XPM 1
34258 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34259 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34265 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34266 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34267 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34268 echo $ECHO_N "(cached) $ECHO_C" >&6
34270 ac_check_lib_save_LIBS=$LIBS
34271 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34272 cat >conftest.$ac_ext <<_ACEOF
34275 cat confdefs.h >>conftest.$ac_ext
34276 cat >>conftest.$ac_ext <<_ACEOF
34277 /* end confdefs.h. */
34279 /* Override any GCC internal prototype to avoid an error.
34280 Use char because int might match the return type of a GCC
34281 builtin and then its argument prototype would still apply. */
34285 char XShapeQueryExtension ();
34289 return XShapeQueryExtension ();
34294 rm -f conftest.$ac_objext conftest$ac_exeext
34295 if { (ac_try="$ac_link"
34296 case "(($ac_try" in
34297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34298 *) ac_try_echo=$ac_try;;
34300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34301 (eval "$ac_link") 2>conftest.er1
34303 grep -v '^ *+' conftest.er1 >conftest.err
34305 cat conftest.err >&5
34306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34307 (exit $ac_status); } && {
34308 test -z "$ac_c_werror_flag" ||
34309 test ! -s conftest.err
34310 } && test -s conftest$ac_exeext &&
34311 $as_test_x conftest$ac_exeext; then
34312 ac_cv_lib_Xext_XShapeQueryExtension=yes
34314 echo "$as_me: failed program was:" >&5
34315 sed 's/^/| /' conftest.$ac_ext >&5
34317 ac_cv_lib_Xext_XShapeQueryExtension=no
34320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34321 conftest$ac_exeext conftest.$ac_ext
34322 LIBS=$ac_check_lib_save_LIBS
34324 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34325 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34326 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34328 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34334 if test "$wxHAVE_XEXT_LIB" = 1; then
34335 save_CFLAGS="$CFLAGS"
34336 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34338 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34339 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34340 cat >conftest.$ac_ext <<_ACEOF
34343 cat confdefs.h >>conftest.$ac_ext
34344 cat >>conftest.$ac_ext <<_ACEOF
34345 /* end confdefs.h. */
34347 #include <X11/Xlib.h>
34348 #include <X11/extensions/shape.h>
34354 int dummy1, dummy2;
34355 XShapeQueryExtension((Display*)NULL,
34356 (int*)NULL, (int*)NULL);
34362 rm -f conftest.$ac_objext
34363 if { (ac_try="$ac_compile"
34364 case "(($ac_try" in
34365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34366 *) ac_try_echo=$ac_try;;
34368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34369 (eval "$ac_compile") 2>conftest.er1
34371 grep -v '^ *+' conftest.er1 >conftest.err
34373 cat conftest.err >&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); } && {
34376 test -z "$ac_c_werror_flag" ||
34377 test ! -s conftest.err
34378 } && test -s conftest.$ac_objext; then
34380 cat >>confdefs.h <<\_ACEOF
34381 #define HAVE_XSHAPE 1
34384 { echo "$as_me:$LINENO: result: found" >&5
34385 echo "${ECHO_T}found" >&6; }
34388 echo "$as_me: failed program was:" >&5
34389 sed 's/^/| /' conftest.$ac_ext >&5
34392 { echo "$as_me:$LINENO: result: not found" >&5
34393 echo "${ECHO_T}not found" >&6; }
34397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34398 CFLAGS="$save_CFLAGS"
34403 if test "$wxUSE_MAC" = 1; then
34404 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34405 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34406 if test "$GCC" = yes; then
34407 { echo "$as_me:$LINENO: result: gcc" >&5
34408 echo "${ECHO_T}gcc" >&6; }
34409 CPPFLAGS_PASCAL="-fpascal-strings"
34410 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34411 { echo "$as_me:$LINENO: result: xlc" >&5
34412 echo "${ECHO_T}xlc" >&6; }
34413 CPPFLAGS_PASCAL="-qmacpstr"
34415 { echo "$as_me:$LINENO: result: none" >&5
34416 echo "${ECHO_T}none" >&6; }
34419 if test "x$wxUSE_UNIX" = "xyes"; then
34420 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34422 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34427 WXBASEPORT="_carbon"
34430 if test "$wxUSE_COCOA" = 1; then
34435 if test "$wxUSE_PM" = 1; then
34438 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34439 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34440 if test "${wx_cv_spbcdata+set}" = set; then
34441 echo $ECHO_N "(cached) $ECHO_C" >&6
34444 cat >conftest.$ac_ext <<_ACEOF
34447 cat confdefs.h >>conftest.$ac_ext
34448 cat >>conftest.$ac_ext <<_ACEOF
34449 /* end confdefs.h. */
34464 rm -f conftest.$ac_objext
34465 if { (ac_try="$ac_compile"
34466 case "(($ac_try" in
34467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34468 *) ac_try_echo=$ac_try;;
34470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34471 (eval "$ac_compile") 2>conftest.er1
34473 grep -v '^ *+' conftest.er1 >conftest.err
34475 cat conftest.err >&5
34476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477 (exit $ac_status); } && {
34478 test -z "$ac_c_werror_flag" ||
34479 test ! -s conftest.err
34480 } && test -s conftest.$ac_objext; then
34483 echo "$as_me: failed program was:" >&5
34484 sed 's/^/| /' conftest.$ac_ext >&5
34490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34494 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34495 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34497 if test $wx_cv_spbcdata = "yes"; then
34498 cat >>confdefs.h <<\_ACEOF
34499 #define HAVE_SPBCDATA 1
34505 if test "$TOOLKIT" = "PM" ; then
34508 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34511 if test "$wxUSE_UNIVERSAL" = "yes"; then
34512 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34516 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34517 DISTDIR="wx\$(TOOLKIT)"
34523 if test "$USE_WIN32" = 1 ; then
34527 GUIDIST="BASE_DIST"
34533 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34534 if test "$TOOLKIT" = "DFB" ; then
34535 wxUSE_UNICODE_UTF8=yes
34536 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34537 wxUSE_UNICODE_UTF8=yes
34538 elif test "$USE_OS2" = "1" ; then
34539 wxUSE_UNICODE_UTF8=yes
34541 wxUSE_UNICODE_UTF8=no
34546 if test "$wxUSE_GUI" = "yes"; then
34547 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34549 for ac_header in X11/Xlib.h
34551 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34552 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34554 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34555 echo $ECHO_N "(cached) $ECHO_C" >&6
34557 cat >conftest.$ac_ext <<_ACEOF
34560 cat confdefs.h >>conftest.$ac_ext
34561 cat >>conftest.$ac_ext <<_ACEOF
34562 /* end confdefs.h. */
34565 #include <$ac_header>
34567 rm -f conftest.$ac_objext
34568 if { (ac_try="$ac_compile"
34569 case "(($ac_try" in
34570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34571 *) ac_try_echo=$ac_try;;
34573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34574 (eval "$ac_compile") 2>conftest.er1
34576 grep -v '^ *+' conftest.er1 >conftest.err
34578 cat conftest.err >&5
34579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34580 (exit $ac_status); } && {
34581 test -z "$ac_c_werror_flag" ||
34582 test ! -s conftest.err
34583 } && test -s conftest.$ac_objext; then
34584 eval "$as_ac_Header=yes"
34586 echo "$as_me: failed program was:" >&5
34587 sed 's/^/| /' conftest.$ac_ext >&5
34589 eval "$as_ac_Header=no"
34592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34594 ac_res=`eval echo '${'$as_ac_Header'}'`
34595 { echo "$as_me:$LINENO: result: $ac_res" >&5
34596 echo "${ECHO_T}$ac_res" >&6; }
34597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34598 cat >>confdefs.h <<_ACEOF
34599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34607 for ac_header in X11/XKBlib.h
34609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34613 echo $ECHO_N "(cached) $ECHO_C" >&6
34615 cat >conftest.$ac_ext <<_ACEOF
34618 cat confdefs.h >>conftest.$ac_ext
34619 cat >>conftest.$ac_ext <<_ACEOF
34620 /* end confdefs.h. */
34622 #if HAVE_X11_XLIB_H
34623 #include <X11/Xlib.h>
34627 #include <$ac_header>
34629 rm -f conftest.$ac_objext
34630 if { (ac_try="$ac_compile"
34631 case "(($ac_try" in
34632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34633 *) ac_try_echo=$ac_try;;
34635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34636 (eval "$ac_compile") 2>conftest.er1
34638 grep -v '^ *+' conftest.er1 >conftest.err
34640 cat conftest.err >&5
34641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34642 (exit $ac_status); } && {
34643 test -z "$ac_c_werror_flag" ||
34644 test ! -s conftest.err
34645 } && test -s conftest.$ac_objext; then
34646 eval "$as_ac_Header=yes"
34648 echo "$as_me: failed program was:" >&5
34649 sed 's/^/| /' conftest.$ac_ext >&5
34651 eval "$as_ac_Header=no"
34654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34656 ac_res=`eval echo '${'$as_ac_Header'}'`
34657 { echo "$as_me:$LINENO: result: $ac_res" >&5
34658 echo "${ECHO_T}$ac_res" >&6; }
34659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34660 cat >>confdefs.h <<_ACEOF
34661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34676 if test "$TOOLKIT" != "MSW" ; then
34678 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34680 { echo "$as_me:$LINENO: checking for sql.h" >&5
34681 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34682 if test "${ac_cv_header_sql_h+set}" = set; then
34683 echo $ECHO_N "(cached) $ECHO_C" >&6
34685 cat >conftest.$ac_ext <<_ACEOF
34688 cat confdefs.h >>conftest.$ac_ext
34689 cat >>conftest.$ac_ext <<_ACEOF
34690 /* end confdefs.h. */
34695 rm -f conftest.$ac_objext
34696 if { (ac_try="$ac_compile"
34697 case "(($ac_try" in
34698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34699 *) ac_try_echo=$ac_try;;
34701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34702 (eval "$ac_compile") 2>conftest.er1
34704 grep -v '^ *+' conftest.er1 >conftest.err
34706 cat conftest.err >&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); } && {
34709 test -z "$ac_c_werror_flag" ||
34710 test ! -s conftest.err
34711 } && test -s conftest.$ac_objext; then
34712 ac_cv_header_sql_h=yes
34714 echo "$as_me: failed program was:" >&5
34715 sed 's/^/| /' conftest.$ac_ext >&5
34717 ac_cv_header_sql_h=no
34720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34722 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34723 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34724 if test $ac_cv_header_sql_h = yes; then
34729 if test "x$found_sql_h" = "x1" ; then
34730 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34731 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34732 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34733 echo $ECHO_N "(cached) $ECHO_C" >&6
34735 ac_check_lib_save_LIBS=$LIBS
34736 LIBS="-liodbc $LIBS"
34737 cat >conftest.$ac_ext <<_ACEOF
34740 cat confdefs.h >>conftest.$ac_ext
34741 cat >>conftest.$ac_ext <<_ACEOF
34742 /* end confdefs.h. */
34744 /* Override any GCC internal prototype to avoid an error.
34745 Use char because int might match the return type of a GCC
34746 builtin and then its argument prototype would still apply. */
34750 char SQLAllocEnv ();
34754 return SQLAllocEnv ();
34759 rm -f conftest.$ac_objext conftest$ac_exeext
34760 if { (ac_try="$ac_link"
34761 case "(($ac_try" in
34762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34763 *) ac_try_echo=$ac_try;;
34765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34766 (eval "$ac_link") 2>conftest.er1
34768 grep -v '^ *+' conftest.er1 >conftest.err
34770 cat conftest.err >&5
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); } && {
34773 test -z "$ac_c_werror_flag" ||
34774 test ! -s conftest.err
34775 } && test -s conftest$ac_exeext &&
34776 $as_test_x conftest$ac_exeext; then
34777 ac_cv_lib_iodbc_SQLAllocEnv=yes
34779 echo "$as_me: failed program was:" >&5
34780 sed 's/^/| /' conftest.$ac_ext >&5
34782 ac_cv_lib_iodbc_SQLAllocEnv=no
34785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34786 conftest$ac_exeext conftest.$ac_ext
34787 LIBS=$ac_check_lib_save_LIBS
34789 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34790 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34791 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34792 ODBC_LINK=" -liodbc"
34795 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34796 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34797 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34798 echo $ECHO_N "(cached) $ECHO_C" >&6
34800 ac_check_lib_save_LIBS=$LIBS
34801 LIBS="-lunixodbc $LIBS"
34802 cat >conftest.$ac_ext <<_ACEOF
34805 cat confdefs.h >>conftest.$ac_ext
34806 cat >>conftest.$ac_ext <<_ACEOF
34807 /* end confdefs.h. */
34809 /* Override any GCC internal prototype to avoid an error.
34810 Use char because int might match the return type of a GCC
34811 builtin and then its argument prototype would still apply. */
34815 char SQLAllocEnv ();
34819 return SQLAllocEnv ();
34824 rm -f conftest.$ac_objext conftest$ac_exeext
34825 if { (ac_try="$ac_link"
34826 case "(($ac_try" in
34827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34828 *) ac_try_echo=$ac_try;;
34830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34831 (eval "$ac_link") 2>conftest.er1
34833 grep -v '^ *+' conftest.er1 >conftest.err
34835 cat conftest.err >&5
34836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34837 (exit $ac_status); } && {
34838 test -z "$ac_c_werror_flag" ||
34839 test ! -s conftest.err
34840 } && test -s conftest$ac_exeext &&
34841 $as_test_x conftest$ac_exeext; then
34842 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34844 echo "$as_me: failed program was:" >&5
34845 sed 's/^/| /' conftest.$ac_ext >&5
34847 ac_cv_lib_unixodbc_SQLAllocEnv=no
34850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34851 conftest$ac_exeext conftest.$ac_ext
34852 LIBS=$ac_check_lib_save_LIBS
34854 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34855 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34856 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34857 ODBC_LINK=" -lunixodbc"
34860 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34861 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34862 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34863 echo $ECHO_N "(cached) $ECHO_C" >&6
34865 ac_check_lib_save_LIBS=$LIBS
34866 LIBS="-lodbc $LIBS"
34867 cat >conftest.$ac_ext <<_ACEOF
34870 cat confdefs.h >>conftest.$ac_ext
34871 cat >>conftest.$ac_ext <<_ACEOF
34872 /* end confdefs.h. */
34874 /* Override any GCC internal prototype to avoid an error.
34875 Use char because int might match the return type of a GCC
34876 builtin and then its argument prototype would still apply. */
34880 char SQLAllocEnv ();
34884 return SQLAllocEnv ();
34889 rm -f conftest.$ac_objext conftest$ac_exeext
34890 if { (ac_try="$ac_link"
34891 case "(($ac_try" in
34892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34893 *) ac_try_echo=$ac_try;;
34895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34896 (eval "$ac_link") 2>conftest.er1
34898 grep -v '^ *+' conftest.er1 >conftest.err
34900 cat conftest.err >&5
34901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34902 (exit $ac_status); } && {
34903 test -z "$ac_c_werror_flag" ||
34904 test ! -s conftest.err
34905 } && test -s conftest$ac_exeext &&
34906 $as_test_x conftest$ac_exeext; then
34907 ac_cv_lib_odbc_SQLAllocEnv=yes
34909 echo "$as_me: failed program was:" >&5
34910 sed 's/^/| /' conftest.$ac_ext >&5
34912 ac_cv_lib_odbc_SQLAllocEnv=no
34915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34916 conftest$ac_exeext conftest.$ac_ext
34917 LIBS=$ac_check_lib_save_LIBS
34919 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34920 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
34921 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34922 ODBC_LINK=" -lodbc"
34932 if test "x$ODBC_LINK" = "x" ; then
34933 if test "$wxUSE_ODBC" = "sys" ; then
34934 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34935 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34936 { (exit 1); exit 1; }; }
34938 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34939 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34947 if test "$wxUSE_ODBC" = "builtin" ; then
34948 cat >>confdefs.h <<\_ACEOF
34949 #define wxUSE_BUILTIN_IODBC 1
34955 if test "$wxUSE_ODBC" != "no" ; then
34956 cat >>confdefs.h <<\_ACEOF
34957 #define wxUSE_ODBC 1
34960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
34962 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
34966 if test "$wxUSE_DISPLAY" = "yes"; then
34967 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34968 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34969 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34972 for ac_dir in $SEARCH_LIB;
34974 for ac_extension in a so sl dylib dll.a; do
34975 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34976 ac_find_libraries=$ac_dir
34982 if test "$ac_find_libraries" != "" ; then
34984 if test "$ac_find_libraries" = "default location"; then
34987 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34989 if test $result = 0; then
34992 ac_path_to_link=" -L$ac_find_libraries"
34996 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34997 LDFLAGS="$LDFLAGS $ac_path_to_link"
34999 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35000 { echo "$as_me:$LINENO: result: yes" >&5
35001 echo "${ECHO_T}yes" >&6; }
35003 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35004 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35007 for ac_dir in $SEARCH_LIB;
35009 for ac_extension in a so sl dylib dll.a; do
35010 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35011 ac_find_libraries=$ac_dir
35017 if test "$ac_find_libraries" != "" ; then
35018 { echo "$as_me:$LINENO: result: yes" >&5
35019 echo "${ECHO_T}yes" >&6; }
35021 for ac_header in X11/extensions/xf86vmode.h
35023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35024 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35026 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35027 echo $ECHO_N "(cached) $ECHO_C" >&6
35029 cat >conftest.$ac_ext <<_ACEOF
35032 cat confdefs.h >>conftest.$ac_ext
35033 cat >>conftest.$ac_ext <<_ACEOF
35034 /* end confdefs.h. */
35036 #if HAVE_X11_XLIB_H
35037 #include <X11/Xlib.h>
35041 #include <$ac_header>
35043 rm -f conftest.$ac_objext
35044 if { (ac_try="$ac_compile"
35045 case "(($ac_try" in
35046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35047 *) ac_try_echo=$ac_try;;
35049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35050 (eval "$ac_compile") 2>conftest.er1
35052 grep -v '^ *+' conftest.er1 >conftest.err
35054 cat conftest.err >&5
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); } && {
35057 test -z "$ac_c_werror_flag" ||
35058 test ! -s conftest.err
35059 } && test -s conftest.$ac_objext; then
35060 eval "$as_ac_Header=yes"
35062 echo "$as_me: failed program was:" >&5
35063 sed 's/^/| /' conftest.$ac_ext >&5
35065 eval "$as_ac_Header=no"
35068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070 ac_res=`eval echo '${'$as_ac_Header'}'`
35071 { echo "$as_me:$LINENO: result: $ac_res" >&5
35072 echo "${ECHO_T}$ac_res" >&6; }
35073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35074 cat >>confdefs.h <<_ACEOF
35075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35078 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35085 { echo "$as_me:$LINENO: result: no" >&5
35086 echo "${ECHO_T}no" >&6; }
35090 { echo "$as_me:$LINENO: result: no" >&5
35091 echo "${ECHO_T}no" >&6; }
35092 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35093 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35096 elif test "$wxUSE_MSW" = 1; then
35097 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35098 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35099 if test "${ac_cv_header_ddraw_h+set}" = set; then
35100 echo $ECHO_N "(cached) $ECHO_C" >&6
35102 cat >conftest.$ac_ext <<_ACEOF
35105 cat confdefs.h >>conftest.$ac_ext
35106 cat >>conftest.$ac_ext <<_ACEOF
35107 /* end confdefs.h. */
35108 #include <windows.h>
35112 rm -f conftest.$ac_objext
35113 if { (ac_try="$ac_compile"
35114 case "(($ac_try" in
35115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35116 *) ac_try_echo=$ac_try;;
35118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35119 (eval "$ac_compile") 2>conftest.er1
35121 grep -v '^ *+' conftest.er1 >conftest.err
35123 cat conftest.err >&5
35124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125 (exit $ac_status); } && {
35126 test -z "$ac_c_werror_flag" ||
35127 test ! -s conftest.err
35128 } && test -s conftest.$ac_objext; then
35129 ac_cv_header_ddraw_h=yes
35131 echo "$as_me: failed program was:" >&5
35132 sed 's/^/| /' conftest.$ac_ext >&5
35134 ac_cv_header_ddraw_h=no
35137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35139 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35140 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35146 if test "$wxUSE_DETECT_SM" = "yes"; then
35147 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35148 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35149 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35152 for ac_dir in $SEARCH_LIB;
35154 for ac_extension in a so sl dylib dll.a; do
35155 if test -f "$ac_dir/libSM.$ac_extension"; then
35156 ac_find_libraries=$ac_dir
35162 if test "$ac_find_libraries" != "" ; then
35164 if test "$ac_find_libraries" = "default location"; then
35167 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35169 if test $result = 0; then
35172 ac_path_to_link=" -L$ac_find_libraries"
35176 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35177 LDFLAGS="$LDFLAGS $ac_path_to_link"
35179 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35180 { echo "$as_me:$LINENO: result: yes" >&5
35181 echo "${ECHO_T}yes" >&6; }
35183 { echo "$as_me:$LINENO: result: no" >&5
35184 echo "${ECHO_T}no" >&6; }
35185 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35186 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35187 wxUSE_DETECT_SM="no"
35190 wxUSE_DETECT_SM="no"
35197 if test "$wxUSE_OPENGL" = "yes"; then
35198 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35199 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35200 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35202 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35203 OPENGL_LIBS="-framework OpenGL -framework AGL"
35204 elif test "$wxUSE_MSW" = 1; then
35205 OPENGL_LIBS="-lopengl32 -lglu32"
35207 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35208 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35211 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35213 if test -f "$ac_dir/GL/gl.h"; then
35214 ac_find_includes=$ac_dir
35219 if test "$ac_find_includes" != "" ; then
35220 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35221 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35223 if test "x$ac_find_includes" = "x/usr/include"; then
35224 ac_path_to_include=""
35226 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35228 if test $result = 0; then
35229 ac_path_to_include=""
35231 ac_path_to_include=" -I$ac_find_includes"
35235 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35237 { echo "$as_me:$LINENO: result: not found" >&5
35238 echo "${ECHO_T}not found" >&6; }
35241 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35242 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35243 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35244 echo $ECHO_N "(cached) $ECHO_C" >&6
35246 cat >conftest.$ac_ext <<_ACEOF
35249 cat confdefs.h >>conftest.$ac_ext
35250 cat >>conftest.$ac_ext <<_ACEOF
35251 /* end confdefs.h. */
35256 rm -f conftest.$ac_objext
35257 if { (ac_try="$ac_compile"
35258 case "(($ac_try" in
35259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35260 *) ac_try_echo=$ac_try;;
35262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35263 (eval "$ac_compile") 2>conftest.er1
35265 grep -v '^ *+' conftest.er1 >conftest.err
35267 cat conftest.err >&5
35268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35269 (exit $ac_status); } && {
35270 test -z "$ac_c_werror_flag" ||
35271 test ! -s conftest.err
35272 } && test -s conftest.$ac_objext; then
35273 ac_cv_header_GL_gl_h=yes
35275 echo "$as_me: failed program was:" >&5
35276 sed 's/^/| /' conftest.$ac_ext >&5
35278 ac_cv_header_GL_gl_h=no
35281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35283 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35284 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35285 if test $ac_cv_header_GL_gl_h = yes; then
35287 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35288 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35289 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35290 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35291 echo $ECHO_N "(cached) $ECHO_C" >&6
35293 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35294 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35296 # Is the header compilable?
35297 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35298 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35299 cat >conftest.$ac_ext <<_ACEOF
35302 cat confdefs.h >>conftest.$ac_ext
35303 cat >>conftest.$ac_ext <<_ACEOF
35304 /* end confdefs.h. */
35305 $ac_includes_default
35306 #include <GL/glu.h>
35308 rm -f conftest.$ac_objext
35309 if { (ac_try="$ac_compile"
35310 case "(($ac_try" in
35311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35312 *) ac_try_echo=$ac_try;;
35314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35315 (eval "$ac_compile") 2>conftest.er1
35317 grep -v '^ *+' conftest.er1 >conftest.err
35319 cat conftest.err >&5
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); } && {
35322 test -z "$ac_c_werror_flag" ||
35323 test ! -s conftest.err
35324 } && test -s conftest.$ac_objext; then
35325 ac_header_compiler=yes
35327 echo "$as_me: failed program was:" >&5
35328 sed 's/^/| /' conftest.$ac_ext >&5
35330 ac_header_compiler=no
35333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35334 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35335 echo "${ECHO_T}$ac_header_compiler" >&6; }
35337 # Is the header present?
35338 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35339 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35340 cat >conftest.$ac_ext <<_ACEOF
35343 cat confdefs.h >>conftest.$ac_ext
35344 cat >>conftest.$ac_ext <<_ACEOF
35345 /* end confdefs.h. */
35346 #include <GL/glu.h>
35348 if { (ac_try="$ac_cpp conftest.$ac_ext"
35349 case "(($ac_try" in
35350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35351 *) ac_try_echo=$ac_try;;
35353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35354 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35356 grep -v '^ *+' conftest.er1 >conftest.err
35358 cat conftest.err >&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); } >/dev/null && {
35361 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35362 test ! -s conftest.err
35364 ac_header_preproc=yes
35366 echo "$as_me: failed program was:" >&5
35367 sed 's/^/| /' conftest.$ac_ext >&5
35369 ac_header_preproc=no
35372 rm -f conftest.err conftest.$ac_ext
35373 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35374 echo "${ECHO_T}$ac_header_preproc" >&6; }
35376 # So? What about this header?
35377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35379 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35380 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35381 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35382 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35383 ac_header_preproc=yes
35386 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35387 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35388 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35389 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35390 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35391 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35392 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35393 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35394 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35395 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35396 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35397 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35399 ## ----------------------------------------- ##
35400 ## Report this to wx-dev@lists.wxwidgets.org ##
35401 ## ----------------------------------------- ##
35403 ) | sed "s/^/$as_me: WARNING: /" >&2
35406 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35407 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35408 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35409 echo $ECHO_N "(cached) $ECHO_C" >&6
35411 ac_cv_header_GL_glu_h=$ac_header_preproc
35413 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35414 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35417 if test $ac_cv_header_GL_glu_h = yes; then
35421 { echo "$as_me:$LINENO: checking for -lGL" >&5
35422 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35425 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35427 for ac_extension in a so sl dylib dll.a; do
35428 if test -f "$ac_dir/libGL.$ac_extension"; then
35429 ac_find_libraries=$ac_dir
35435 if test "$ac_find_libraries" != "" ; then
35436 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35437 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35440 if test "$ac_find_libraries" = "default location"; then
35443 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35445 if test $result = 0; then
35448 ac_path_to_link=" -L$ac_find_libraries"
35452 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35453 LDFLAGS_GL="$ac_path_to_link"
35456 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35457 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35460 for ac_dir in $SEARCH_LIB;
35462 for ac_extension in a so sl dylib dll.a; do
35463 if test -f "$ac_dir/libGLU.$ac_extension"; then
35464 ac_find_libraries=$ac_dir
35470 if test "$ac_find_libraries" != "" ; then
35472 if test "$ac_find_libraries" = "default location"; then
35475 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35477 if test $result = 0; then
35480 ac_path_to_link=" -L$ac_find_libraries"
35484 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35485 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35486 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35490 OPENGL_LIBS="-lGL -lGLU"
35491 { echo "$as_me:$LINENO: result: yes" >&5
35492 echo "${ECHO_T}yes" >&6; }
35494 { echo "$as_me:$LINENO: result: no" >&5
35495 echo "${ECHO_T}no" >&6; }
35498 { echo "$as_me:$LINENO: result: no" >&5
35499 echo "${ECHO_T}no" >&6; }
35502 if test "$found_gl" != 1; then
35503 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35504 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35507 for ac_dir in $SEARCH_LIB;
35509 for ac_extension in a so sl dylib dll.a; do
35510 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35511 ac_find_libraries=$ac_dir
35517 if test "$ac_find_libraries" != "" ; then
35519 if test "$ac_find_libraries" = "default location"; then
35522 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35524 if test $result = 0; then
35527 ac_path_to_link=" -L$ac_find_libraries"
35531 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35532 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35533 { echo "$as_me:$LINENO: result: yes" >&5
35534 echo "${ECHO_T}yes" >&6; }
35536 { echo "$as_me:$LINENO: result: no" >&5
35537 echo "${ECHO_T}no" >&6; }
35549 if test "x$OPENGL_LIBS" = "x"; then
35550 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35551 echo "$as_me: error: OpenGL libraries not available" >&2;}
35552 { (exit 1); exit 1; }; }
35556 if test "$wxUSE_OPENGL" = "yes"; then
35558 cat >>confdefs.h <<\_ACEOF
35559 #define wxUSE_OPENGL 1
35562 cat >>confdefs.h <<\_ACEOF
35563 #define wxUSE_GLCANVAS 1
35566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35571 if test -n "$TOOLKIT" ; then
35572 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35577 if test "$wxUSE_SHARED" = "yes"; then
35581 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35582 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35587 if test "$wxUSE_SHARED" = "yes"; then
35591 *-*-cygwin* | *-*-mingw* )
35592 wx_cv_version_script=no
35596 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35597 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35598 if test "${wx_cv_version_script+set}" = set; then
35599 echo $ECHO_N "(cached) $ECHO_C" >&6
35602 echo "VER_1 { *; };" >conftest.sym
35603 echo "int main() { return 0; }" >conftest.cpp
35606 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35607 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35609 (eval $ac_try) 2>&5
35611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35612 (exit $ac_status); }; } ; then
35613 if test -s conftest.stderr ; then
35614 wx_cv_version_script=no
35616 wx_cv_version_script=yes
35619 wx_cv_version_script=no
35622 if test $wx_cv_version_script = yes
35624 echo "struct B { virtual ~B() { } }; \
35625 struct D : public B { }; \
35626 void F() { D d; }" > conftest.cpp
35629 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35630 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35632 (eval $ac_try) 2>&5
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); }; } &&
35637 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35638 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35640 (eval $ac_try) 2>&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); }; }
35646 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35647 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35649 (eval $ac_try) 2>&5
35651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35652 (exit $ac_status); }; }
35654 wx_cv_version_script=yes
35656 wx_cv_version_script=no
35661 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35662 rm -f conftest1.output conftest2.output conftest3.output
35665 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35666 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35668 if test $wx_cv_version_script = yes ; then
35669 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35675 if test "$wxUSE_VISIBILITY" != "no"; then
35678 if test -n "$GCC"; then
35679 CFLAGS_VISIBILITY="-fvisibility=hidden"
35680 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35681 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35682 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35683 if test "${wx_cv_cc_visibility+set}" = set; then
35684 echo $ECHO_N "(cached) $ECHO_C" >&6
35687 wx_save_CXXFLAGS="$CXXFLAGS"
35688 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35690 ac_cpp='$CXXCPP $CPPFLAGS'
35691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35695 cat >conftest.$ac_ext <<_ACEOF
35698 cat confdefs.h >>conftest.$ac_ext
35699 cat >>conftest.$ac_ext <<_ACEOF
35700 /* end confdefs.h. */
35702 /* we need gcc >= 4.0, older versions with visibility support
35703 didn't have class visibility: */
35704 #if defined(__GNUC__) && __GNUC__ < 4
35705 error this gcc is too old;
35708 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35709 extern __attribute__((__visibility__("default"))) int exportedvar;
35710 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35711 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35712 class __attribute__((__visibility__("default"))) Foo {
35724 rm -f conftest.$ac_objext
35725 if { (ac_try="$ac_compile"
35726 case "(($ac_try" in
35727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35728 *) ac_try_echo=$ac_try;;
35730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35731 (eval "$ac_compile") 2>conftest.er1
35733 grep -v '^ *+' conftest.er1 >conftest.err
35735 cat conftest.err >&5
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); } && {
35738 test -z "$ac_cxx_werror_flag" ||
35739 test ! -s conftest.err
35740 } && test -s conftest.$ac_objext; then
35741 wx_cv_cc_visibility=yes
35743 echo "$as_me: failed program was:" >&5
35744 sed 's/^/| /' conftest.$ac_ext >&5
35746 wx_cv_cc_visibility=no
35749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35751 ac_cpp='$CPP $CPPFLAGS'
35752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35756 CXXFLAGS="$wx_save_CXXFLAGS"
35759 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35760 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35761 if test $wx_cv_cc_visibility = yes; then
35762 cat >>confdefs.h <<\_ACEOF
35763 #define HAVE_VISIBILITY 1
35767 CFLAGS_VISIBILITY=""
35768 CXXFLAGS_VISIBILITY=""
35776 if test "x$SUNCXX" = xyes; then
35777 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35778 WXCONFIG_RPATH="-R\$libdir"
35781 *-*-linux* | *-*-gnu* )
35782 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35783 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35788 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35790 saveLdflags="$LDFLAGS"
35791 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35792 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35793 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35794 cat >conftest.$ac_ext <<_ACEOF
35797 cat confdefs.h >>conftest.$ac_ext
35798 cat >>conftest.$ac_ext <<_ACEOF
35799 /* end confdefs.h. */
35809 rm -f conftest.$ac_objext conftest$ac_exeext
35810 if { (ac_try="$ac_link"
35811 case "(($ac_try" in
35812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35813 *) ac_try_echo=$ac_try;;
35815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35816 (eval "$ac_link") 2>conftest.er1
35818 grep -v '^ *+' conftest.er1 >conftest.err
35820 cat conftest.err >&5
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); } && {
35823 test -z "$ac_c_werror_flag" ||
35824 test ! -s conftest.err
35825 } && test -s conftest$ac_exeext &&
35826 $as_test_x conftest$ac_exeext; then
35828 { echo "$as_me:$LINENO: result: yes" >&5
35829 echo "${ECHO_T}yes" >&6; }
35830 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35831 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35834 echo "$as_me: failed program was:" >&5
35835 sed 's/^/| /' conftest.$ac_ext >&5
35838 { echo "$as_me:$LINENO: result: no" >&5
35839 echo "${ECHO_T}no" >&6; }
35840 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35841 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35842 LDFLAGS="$saveLdflags -Wl,-R,/"
35843 cat >conftest.$ac_ext <<_ACEOF
35846 cat confdefs.h >>conftest.$ac_ext
35847 cat >>conftest.$ac_ext <<_ACEOF
35848 /* end confdefs.h. */
35858 rm -f conftest.$ac_objext conftest$ac_exeext
35859 if { (ac_try="$ac_link"
35860 case "(($ac_try" in
35861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35862 *) ac_try_echo=$ac_try;;
35864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35865 (eval "$ac_link") 2>conftest.er1
35867 grep -v '^ *+' conftest.er1 >conftest.err
35869 cat conftest.err >&5
35870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871 (exit $ac_status); } && {
35872 test -z "$ac_c_werror_flag" ||
35873 test ! -s conftest.err
35874 } && test -s conftest$ac_exeext &&
35875 $as_test_x conftest$ac_exeext; then
35877 { echo "$as_me:$LINENO: result: yes" >&5
35878 echo "${ECHO_T}yes" >&6; }
35879 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35880 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35883 echo "$as_me: failed program was:" >&5
35884 sed 's/^/| /' conftest.$ac_ext >&5
35887 { echo "$as_me:$LINENO: result: no" >&5
35888 echo "${ECHO_T}no" >&6; }
35892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35893 conftest$ac_exeext conftest.$ac_ext
35897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35898 conftest$ac_exeext conftest.$ac_ext
35899 LDFLAGS="$saveLdflags"
35903 install_name_tool=`which install_name_tool`
35904 if test "$install_name_tool" -a -x "$install_name_tool"; then
35905 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35906 cat <<EOF >change-install-names
35908 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35909 inst_cmd="install_name_tool "
35910 for i in \${libnames} ; do
35911 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35915 chmod +x change-install-names
35919 *-*-cygwin* | *-*-mingw32* )
35920 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35924 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35925 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35931 if test $wxUSE_RPATH = "no"; then
35932 SAMPLES_RPATH_FLAG=''
35933 SAMPLES_RPATH_POSTLINK=''
35941 config_linkage_component="-static"
35948 lib_unicode_suffix=
35950 if test "$wxUSE_UNICODE" = "yes"; then
35951 lib_unicode_suffix=u
35952 WX_CHARTYPE="unicode"
35957 WX_DEBUGTYPE="release"
35959 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
35961 WX_DEBUGTYPE="debug"
35965 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35966 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35969 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35973 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
35975 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
35977 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35979 if test "$cross_compiling" = "yes"; then
35980 HOST_SUFFIX="-$host_alias"
35981 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
35982 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
35985 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35986 if test "${TOOLKIT_DIR}" = "os2"; then
35987 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35989 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35994 if test "$wxUSE_COCOA" = 1; then
35997 ac_cpp='$CPP $CPPFLAGS'
35998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36004 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36005 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36006 cat >conftest.$ac_ext <<_ACEOF
36009 cat confdefs.h >>conftest.$ac_ext
36010 cat >>conftest.$ac_ext <<_ACEOF
36011 /* end confdefs.h. */
36012 #include <AppKit/NSEvent.h>
36013 #include <CoreFoundation/CoreFoundation.h>
36023 rm -f conftest.$ac_objext
36024 if { (ac_try="$ac_compile"
36025 case "(($ac_try" in
36026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36027 *) ac_try_echo=$ac_try;;
36029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36030 (eval "$ac_compile") 2>conftest.er1
36032 grep -v '^ *+' conftest.er1 >conftest.err
36034 cat conftest.err >&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); } && {
36037 test -z "$ac_c_werror_flag" ||
36038 test ! -s conftest.err
36039 } && test -s conftest.$ac_objext; then
36040 { echo "$as_me:$LINENO: result: no" >&5
36041 echo "${ECHO_T}no" >&6; }
36043 echo "$as_me: failed program was:" >&5
36044 sed 's/^/| /' conftest.$ac_ext >&5
36046 { echo "$as_me:$LINENO: result: yes" >&5
36047 echo "${ECHO_T}yes" >&6; }
36048 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36049 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36050 cat >conftest.$ac_ext <<_ACEOF
36053 cat confdefs.h >>conftest.$ac_ext
36054 cat >>conftest.$ac_ext <<_ACEOF
36055 /* end confdefs.h. */
36056 #define __Point__ 1
36057 #include <AppKit/NSEvent.h>
36058 #include <CoreFoundation/CoreFoundation.h>
36068 rm -f conftest.$ac_objext
36069 if { (ac_try="$ac_compile"
36070 case "(($ac_try" in
36071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36072 *) ac_try_echo=$ac_try;;
36074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36075 (eval "$ac_compile") 2>conftest.er1
36077 grep -v '^ *+' conftest.er1 >conftest.err
36079 cat conftest.err >&5
36080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081 (exit $ac_status); } && {
36082 test -z "$ac_c_werror_flag" ||
36083 test ! -s conftest.err
36084 } && test -s conftest.$ac_objext; then
36085 { echo "$as_me:$LINENO: result: yes" >&5
36086 echo "${ECHO_T}yes" >&6; }
36087 cat >>confdefs.h <<\_ACEOF
36088 #define __Point__ 1
36093 echo "$as_me: failed program was:" >&5
36094 sed 's/^/| /' conftest.$ac_ext >&5
36096 { { echo "$as_me:$LINENO: error: no
36097 See \`config.log' for more details." >&5
36098 echo "$as_me: error: no
36099 See \`config.log' for more details." >&2;}
36100 { (exit 1); exit 1; }; }
36104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36110 ac_cpp='$CPP $CPPFLAGS'
36111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36117 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36118 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36119 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36121 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36123 # Extract the first word of "Rez", so it can be a program name with args.
36124 set dummy Rez; ac_word=$2
36125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36127 if test "${ac_cv_prog_REZ+set}" = set; then
36128 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 if test -n "$REZ"; then
36131 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36134 for as_dir in $PATH
36137 test -z "$as_dir" && as_dir=.
36138 for ac_exec_ext in '' $ac_executable_extensions; do
36139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36140 ac_cv_prog_REZ="Rez"
36141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36148 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36151 REZ=$ac_cv_prog_REZ
36152 if test -n "$REZ"; then
36153 { echo "$as_me:$LINENO: result: $REZ" >&5
36154 echo "${ECHO_T}$REZ" >&6; }
36156 { echo "$as_me:$LINENO: result: no" >&5
36157 echo "${ECHO_T}no" >&6; }
36161 # Extract the first word of "DeRez", so it can be a program name with args.
36162 set dummy DeRez; ac_word=$2
36163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36165 if test "${ac_cv_prog_DEREZ+set}" = set; then
36166 echo $ECHO_N "(cached) $ECHO_C" >&6
36168 if test -n "$DEREZ"; then
36169 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36172 for as_dir in $PATH
36175 test -z "$as_dir" && as_dir=.
36176 for ac_exec_ext in '' $ac_executable_extensions; do
36177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36178 ac_cv_prog_DEREZ="DeRez"
36179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36186 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36189 DEREZ=$ac_cv_prog_DEREZ
36190 if test -n "$DEREZ"; then
36191 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36192 echo "${ECHO_T}$DEREZ" >&6; }
36194 { echo "$as_me:$LINENO: result: no" >&5
36195 echo "${ECHO_T}no" >&6; }
36199 # Extract the first word of "SetFile", so it can be a program name with args.
36200 set dummy SetFile; ac_word=$2
36201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36203 if test "${ac_cv_prog_SETFILE+set}" = set; then
36204 echo $ECHO_N "(cached) $ECHO_C" >&6
36206 if test -n "$SETFILE"; then
36207 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36210 for as_dir in $PATH
36213 test -z "$as_dir" && as_dir=.
36214 for ac_exec_ext in '' $ac_executable_extensions; do
36215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36216 ac_cv_prog_SETFILE="SetFile"
36217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36224 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36227 SETFILE=$ac_cv_prog_SETFILE
36228 if test -n "$SETFILE"; then
36229 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36230 echo "${ECHO_T}$SETFILE" >&6; }
36232 { echo "$as_me:$LINENO: result: no" >&5
36233 echo "${ECHO_T}no" >&6; }
36238 MACSETFILE="\$(SETFILE)"
36240 if test "$wxUSE_MAC" = 1; then
36241 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36243 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36245 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36246 RESCOMP="echo -n \| $REZ"
36247 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36253 if test "$wxUSE_PM" = 1; then
36255 WXCONFIG_RESFLAGS="-ep"
36257 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36259 POSTLINK_COMMAND="@true"
36266 { echo "$as_me:$LINENO: checking for mode_t" >&5
36267 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36268 if test "${ac_cv_type_mode_t+set}" = set; then
36269 echo $ECHO_N "(cached) $ECHO_C" >&6
36271 cat >conftest.$ac_ext <<_ACEOF
36274 cat confdefs.h >>conftest.$ac_ext
36275 cat >>conftest.$ac_ext <<_ACEOF
36276 /* end confdefs.h. */
36277 $ac_includes_default
36278 typedef mode_t ac__type_new_;
36282 if ((ac__type_new_ *) 0)
36284 if (sizeof (ac__type_new_))
36290 rm -f conftest.$ac_objext
36291 if { (ac_try="$ac_compile"
36292 case "(($ac_try" in
36293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36294 *) ac_try_echo=$ac_try;;
36296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36297 (eval "$ac_compile") 2>conftest.er1
36299 grep -v '^ *+' conftest.er1 >conftest.err
36301 cat conftest.err >&5
36302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36303 (exit $ac_status); } && {
36304 test -z "$ac_c_werror_flag" ||
36305 test ! -s conftest.err
36306 } && test -s conftest.$ac_objext; then
36307 ac_cv_type_mode_t=yes
36309 echo "$as_me: failed program was:" >&5
36310 sed 's/^/| /' conftest.$ac_ext >&5
36312 ac_cv_type_mode_t=no
36315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36317 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36318 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36319 if test $ac_cv_type_mode_t = yes; then
36323 cat >>confdefs.h <<_ACEOF
36329 { echo "$as_me:$LINENO: checking for off_t" >&5
36330 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36331 if test "${ac_cv_type_off_t+set}" = set; then
36332 echo $ECHO_N "(cached) $ECHO_C" >&6
36334 cat >conftest.$ac_ext <<_ACEOF
36337 cat confdefs.h >>conftest.$ac_ext
36338 cat >>conftest.$ac_ext <<_ACEOF
36339 /* end confdefs.h. */
36340 $ac_includes_default
36341 typedef off_t ac__type_new_;
36345 if ((ac__type_new_ *) 0)
36347 if (sizeof (ac__type_new_))
36353 rm -f conftest.$ac_objext
36354 if { (ac_try="$ac_compile"
36355 case "(($ac_try" in
36356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36357 *) ac_try_echo=$ac_try;;
36359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36360 (eval "$ac_compile") 2>conftest.er1
36362 grep -v '^ *+' conftest.er1 >conftest.err
36364 cat conftest.err >&5
36365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36366 (exit $ac_status); } && {
36367 test -z "$ac_c_werror_flag" ||
36368 test ! -s conftest.err
36369 } && test -s conftest.$ac_objext; then
36370 ac_cv_type_off_t=yes
36372 echo "$as_me: failed program was:" >&5
36373 sed 's/^/| /' conftest.$ac_ext >&5
36375 ac_cv_type_off_t=no
36378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36380 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36381 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36382 if test $ac_cv_type_off_t = yes; then
36386 cat >>confdefs.h <<_ACEOF
36387 #define off_t long int
36392 { echo "$as_me:$LINENO: checking for pid_t" >&5
36393 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36394 if test "${ac_cv_type_pid_t+set}" = set; then
36395 echo $ECHO_N "(cached) $ECHO_C" >&6
36397 cat >conftest.$ac_ext <<_ACEOF
36400 cat confdefs.h >>conftest.$ac_ext
36401 cat >>conftest.$ac_ext <<_ACEOF
36402 /* end confdefs.h. */
36403 $ac_includes_default
36404 typedef pid_t ac__type_new_;
36408 if ((ac__type_new_ *) 0)
36410 if (sizeof (ac__type_new_))
36416 rm -f conftest.$ac_objext
36417 if { (ac_try="$ac_compile"
36418 case "(($ac_try" in
36419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36420 *) ac_try_echo=$ac_try;;
36422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36423 (eval "$ac_compile") 2>conftest.er1
36425 grep -v '^ *+' conftest.er1 >conftest.err
36427 cat conftest.err >&5
36428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429 (exit $ac_status); } && {
36430 test -z "$ac_c_werror_flag" ||
36431 test ! -s conftest.err
36432 } && test -s conftest.$ac_objext; then
36433 ac_cv_type_pid_t=yes
36435 echo "$as_me: failed program was:" >&5
36436 sed 's/^/| /' conftest.$ac_ext >&5
36438 ac_cv_type_pid_t=no
36441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36443 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36444 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36445 if test $ac_cv_type_pid_t = yes; then
36449 cat >>confdefs.h <<_ACEOF
36455 { echo "$as_me:$LINENO: checking for size_t" >&5
36456 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36457 if test "${ac_cv_type_size_t+set}" = set; then
36458 echo $ECHO_N "(cached) $ECHO_C" >&6
36460 cat >conftest.$ac_ext <<_ACEOF
36463 cat confdefs.h >>conftest.$ac_ext
36464 cat >>conftest.$ac_ext <<_ACEOF
36465 /* end confdefs.h. */
36466 $ac_includes_default
36467 typedef size_t ac__type_new_;
36471 if ((ac__type_new_ *) 0)
36473 if (sizeof (ac__type_new_))
36479 rm -f conftest.$ac_objext
36480 if { (ac_try="$ac_compile"
36481 case "(($ac_try" in
36482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36483 *) ac_try_echo=$ac_try;;
36485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36486 (eval "$ac_compile") 2>conftest.er1
36488 grep -v '^ *+' conftest.er1 >conftest.err
36490 cat conftest.err >&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); } && {
36493 test -z "$ac_c_werror_flag" ||
36494 test ! -s conftest.err
36495 } && test -s conftest.$ac_objext; then
36496 ac_cv_type_size_t=yes
36498 echo "$as_me: failed program was:" >&5
36499 sed 's/^/| /' conftest.$ac_ext >&5
36501 ac_cv_type_size_t=no
36504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36506 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36507 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36508 if test $ac_cv_type_size_t = yes; then
36512 cat >>confdefs.h <<_ACEOF
36513 #define size_t unsigned int
36518 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36519 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36520 if test "${ac_cv_type_uid_t+set}" = set; then
36521 echo $ECHO_N "(cached) $ECHO_C" >&6
36523 cat >conftest.$ac_ext <<_ACEOF
36526 cat confdefs.h >>conftest.$ac_ext
36527 cat >>conftest.$ac_ext <<_ACEOF
36528 /* end confdefs.h. */
36529 #include <sys/types.h>
36532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36533 $EGREP "uid_t" >/dev/null 2>&1; then
36534 ac_cv_type_uid_t=yes
36536 ac_cv_type_uid_t=no
36541 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36542 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36543 if test $ac_cv_type_uid_t = no; then
36545 cat >>confdefs.h <<\_ACEOF
36550 cat >>confdefs.h <<\_ACEOF
36557 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36558 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36559 if test "${ac_cv_type_ssize_t+set}" = set; then
36560 echo $ECHO_N "(cached) $ECHO_C" >&6
36562 cat >conftest.$ac_ext <<_ACEOF
36565 cat confdefs.h >>conftest.$ac_ext
36566 cat >>conftest.$ac_ext <<_ACEOF
36567 /* end confdefs.h. */
36568 $ac_includes_default
36569 typedef ssize_t ac__type_new_;
36573 if ((ac__type_new_ *) 0)
36575 if (sizeof (ac__type_new_))
36581 rm -f conftest.$ac_objext
36582 if { (ac_try="$ac_compile"
36583 case "(($ac_try" in
36584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36585 *) ac_try_echo=$ac_try;;
36587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36588 (eval "$ac_compile") 2>conftest.er1
36590 grep -v '^ *+' conftest.er1 >conftest.err
36592 cat conftest.err >&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); } && {
36595 test -z "$ac_c_werror_flag" ||
36596 test ! -s conftest.err
36597 } && test -s conftest.$ac_objext; then
36598 ac_cv_type_ssize_t=yes
36600 echo "$as_me: failed program was:" >&5
36601 sed 's/^/| /' conftest.$ac_ext >&5
36603 ac_cv_type_ssize_t=no
36606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36608 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36609 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36610 if test $ac_cv_type_ssize_t = yes; then
36612 cat >>confdefs.h <<_ACEOF
36613 #define HAVE_SSIZE_T 1
36621 ac_cpp='$CXXCPP $CPPFLAGS'
36622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36625 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36626 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36627 if test "${wx_cv_size_t_is_uint+set}" = set; then
36628 echo $ECHO_N "(cached) $ECHO_C" >&6
36631 cat >conftest.$ac_ext <<_ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h. */
36637 #include <stddef.h>
36644 struct Foo { void foo(size_t); void foo(unsigned int); };
36652 rm -f conftest.$ac_objext
36653 if { (ac_try="$ac_compile"
36654 case "(($ac_try" in
36655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36656 *) ac_try_echo=$ac_try;;
36658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36659 (eval "$ac_compile") 2>conftest.er1
36661 grep -v '^ *+' conftest.er1 >conftest.err
36663 cat conftest.err >&5
36664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36665 (exit $ac_status); } && {
36666 test -z "$ac_cxx_werror_flag" ||
36667 test ! -s conftest.err
36668 } && test -s conftest.$ac_objext; then
36669 wx_cv_size_t_is_uint=no
36671 echo "$as_me: failed program was:" >&5
36672 sed 's/^/| /' conftest.$ac_ext >&5
36674 wx_cv_size_t_is_uint=yes
36678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36682 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36683 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36685 if test "$wx_cv_size_t_is_uint" = "yes"; then
36686 cat >>confdefs.h <<\_ACEOF
36687 #define wxSIZE_T_IS_UINT 1
36691 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36692 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36693 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36694 echo $ECHO_N "(cached) $ECHO_C" >&6
36696 cat >conftest.$ac_ext <<_ACEOF
36699 cat confdefs.h >>conftest.$ac_ext
36700 cat >>conftest.$ac_ext <<_ACEOF
36701 /* end confdefs.h. */
36702 #include <stddef.h>
36709 struct Foo { void foo(size_t); void foo(unsigned long); };
36717 rm -f conftest.$ac_objext
36718 if { (ac_try="$ac_compile"
36719 case "(($ac_try" in
36720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36721 *) ac_try_echo=$ac_try;;
36723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36724 (eval "$ac_compile") 2>conftest.er1
36726 grep -v '^ *+' conftest.er1 >conftest.err
36728 cat conftest.err >&5
36729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36730 (exit $ac_status); } && {
36731 test -z "$ac_cxx_werror_flag" ||
36732 test ! -s conftest.err
36733 } && test -s conftest.$ac_objext; then
36734 wx_cv_size_t_is_ulong=no
36736 echo "$as_me: failed program was:" >&5
36737 sed 's/^/| /' conftest.$ac_ext >&5
36739 wx_cv_size_t_is_ulong=yes
36743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36746 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36747 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36749 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36750 cat >>confdefs.h <<\_ACEOF
36751 #define wxSIZE_T_IS_ULONG 1
36757 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36758 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36759 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36760 echo $ECHO_N "(cached) $ECHO_C" >&6
36762 cat >conftest.$ac_ext <<_ACEOF
36765 cat confdefs.h >>conftest.$ac_ext
36766 cat >>conftest.$ac_ext <<_ACEOF
36767 /* end confdefs.h. */
36775 struct Foo { void foo(wchar_t);
36776 void foo(unsigned short);
36777 void foo(unsigned int);
36778 void foo(unsigned long); };
36786 rm -f conftest.$ac_objext
36787 if { (ac_try="$ac_compile"
36788 case "(($ac_try" in
36789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36790 *) ac_try_echo=$ac_try;;
36792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36793 (eval "$ac_compile") 2>conftest.er1
36795 grep -v '^ *+' conftest.er1 >conftest.err
36797 cat conftest.err >&5
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); } && {
36800 test -z "$ac_cxx_werror_flag" ||
36801 test ! -s conftest.err
36802 } && test -s conftest.$ac_objext; then
36803 wx_cv_wchar_t_is_separate_type=yes
36805 echo "$as_me: failed program was:" >&5
36806 sed 's/^/| /' conftest.$ac_ext >&5
36808 wx_cv_wchar_t_is_separate_type=no
36812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36815 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36816 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36818 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36819 cat >>confdefs.h <<\_ACEOF
36820 #define wxWCHAR_T_IS_REAL_TYPE 1
36824 cat >>confdefs.h <<\_ACEOF
36825 #define wxWCHAR_T_IS_REAL_TYPE 0
36831 ac_cpp='$CPP $CPPFLAGS'
36832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36837 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36838 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36839 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36840 echo $ECHO_N "(cached) $ECHO_C" >&6
36843 cat >conftest.$ac_ext <<_ACEOF
36846 cat confdefs.h >>conftest.$ac_ext
36847 cat >>conftest.$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36862 rm -f conftest.$ac_objext
36863 if { (ac_try="$ac_compile"
36864 case "(($ac_try" in
36865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36866 *) ac_try_echo=$ac_try;;
36868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36869 (eval "$ac_compile") 2>conftest.er1
36871 grep -v '^ *+' conftest.er1 >conftest.err
36873 cat conftest.err >&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } && {
36876 test -z "$ac_c_werror_flag" ||
36877 test ! -s conftest.err
36878 } && test -s conftest.$ac_objext; then
36880 wx_cv_struct_pw_gecos=yes
36883 echo "$as_me: failed program was:" >&5
36884 sed 's/^/| /' conftest.$ac_ext >&5
36887 wx_cv_struct_pw_gecos=no
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36896 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36897 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36899 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36900 cat >>confdefs.h <<\_ACEOF
36901 #define HAVE_PW_GECOS 1
36907 if test "$wxUSE_WCHAR_T" = "yes"; then
36908 cat >>confdefs.h <<\_ACEOF
36909 #define wxUSE_WCHAR_T 1
36916 for ac_func in wcslen
36918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36919 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36921 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36922 echo $ECHO_N "(cached) $ECHO_C" >&6
36924 cat >conftest.$ac_ext <<_ACEOF
36927 cat confdefs.h >>conftest.$ac_ext
36928 cat >>conftest.$ac_ext <<_ACEOF
36929 /* end confdefs.h. */
36930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36932 #define $ac_func innocuous_$ac_func
36934 /* System header to define __stub macros and hopefully few prototypes,
36935 which can conflict with char $ac_func (); below.
36936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36937 <limits.h> exists even on freestanding compilers. */
36940 # include <limits.h>
36942 # include <assert.h>
36947 /* Override any GCC internal prototype to avoid an error.
36948 Use char because int might match the return type of a GCC
36949 builtin and then its argument prototype would still apply. */
36954 /* The GNU C library defines this for functions which it implements
36955 to always fail with ENOSYS. Some functions are actually named
36956 something starting with __ and the normal name is an alias. */
36957 #if defined __stub_$ac_func || defined __stub___$ac_func
36964 return $ac_func ();
36969 rm -f conftest.$ac_objext conftest$ac_exeext
36970 if { (ac_try="$ac_link"
36971 case "(($ac_try" in
36972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36973 *) ac_try_echo=$ac_try;;
36975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36976 (eval "$ac_link") 2>conftest.er1
36978 grep -v '^ *+' conftest.er1 >conftest.err
36980 cat conftest.err >&5
36981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36982 (exit $ac_status); } && {
36983 test -z "$ac_c_werror_flag" ||
36984 test ! -s conftest.err
36985 } && test -s conftest$ac_exeext &&
36986 $as_test_x conftest$ac_exeext; then
36987 eval "$as_ac_var=yes"
36989 echo "$as_me: failed program was:" >&5
36990 sed 's/^/| /' conftest.$ac_ext >&5
36992 eval "$as_ac_var=no"
36995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36996 conftest$ac_exeext conftest.$ac_ext
36998 ac_res=`eval echo '${'$as_ac_var'}'`
36999 { echo "$as_me:$LINENO: result: $ac_res" >&5
37000 echo "${ECHO_T}$ac_res" >&6; }
37001 if test `eval echo '${'$as_ac_var'}'` = yes; then
37002 cat >>confdefs.h <<_ACEOF
37003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37010 if test "$WCSLEN_FOUND" = 0; then
37011 if test "$TOOLKIT" = "MSW"; then
37012 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37013 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37014 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37015 echo $ECHO_N "(cached) $ECHO_C" >&6
37017 ac_check_lib_save_LIBS=$LIBS
37018 LIBS="-lmsvcrt $LIBS"
37019 cat >conftest.$ac_ext <<_ACEOF
37022 cat confdefs.h >>conftest.$ac_ext
37023 cat >>conftest.$ac_ext <<_ACEOF
37024 /* end confdefs.h. */
37026 /* Override any GCC internal prototype to avoid an error.
37027 Use char because int might match the return type of a GCC
37028 builtin and then its argument prototype would still apply. */
37041 rm -f conftest.$ac_objext conftest$ac_exeext
37042 if { (ac_try="$ac_link"
37043 case "(($ac_try" in
37044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37045 *) ac_try_echo=$ac_try;;
37047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37048 (eval "$ac_link") 2>conftest.er1
37050 grep -v '^ *+' conftest.er1 >conftest.err
37052 cat conftest.err >&5
37053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054 (exit $ac_status); } && {
37055 test -z "$ac_c_werror_flag" ||
37056 test ! -s conftest.err
37057 } && test -s conftest$ac_exeext &&
37058 $as_test_x conftest$ac_exeext; then
37059 ac_cv_lib_msvcrt_wcslen=yes
37061 echo "$as_me: failed program was:" >&5
37062 sed 's/^/| /' conftest.$ac_ext >&5
37064 ac_cv_lib_msvcrt_wcslen=no
37067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37068 conftest$ac_exeext conftest.$ac_ext
37069 LIBS=$ac_check_lib_save_LIBS
37071 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37072 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37073 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37078 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37079 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37080 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37081 echo $ECHO_N "(cached) $ECHO_C" >&6
37083 ac_check_lib_save_LIBS=$LIBS
37085 cat >conftest.$ac_ext <<_ACEOF
37088 cat confdefs.h >>conftest.$ac_ext
37089 cat >>conftest.$ac_ext <<_ACEOF
37090 /* end confdefs.h. */
37092 /* Override any GCC internal prototype to avoid an error.
37093 Use char because int might match the return type of a GCC
37094 builtin and then its argument prototype would still apply. */
37107 rm -f conftest.$ac_objext conftest$ac_exeext
37108 if { (ac_try="$ac_link"
37109 case "(($ac_try" in
37110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37111 *) ac_try_echo=$ac_try;;
37113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37114 (eval "$ac_link") 2>conftest.er1
37116 grep -v '^ *+' conftest.er1 >conftest.err
37118 cat conftest.err >&5
37119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37120 (exit $ac_status); } && {
37121 test -z "$ac_c_werror_flag" ||
37122 test ! -s conftest.err
37123 } && test -s conftest$ac_exeext &&
37124 $as_test_x conftest$ac_exeext; then
37125 ac_cv_lib_w_wcslen=yes
37127 echo "$as_me: failed program was:" >&5
37128 sed 's/^/| /' conftest.$ac_ext >&5
37130 ac_cv_lib_w_wcslen=no
37133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37134 conftest$ac_exeext conftest.$ac_ext
37135 LIBS=$ac_check_lib_save_LIBS
37137 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37138 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37139 if test $ac_cv_lib_w_wcslen = yes; then
37149 if test "$WCSLEN_FOUND" = 1; then
37150 cat >>confdefs.h <<\_ACEOF
37151 #define HAVE_WCSLEN 1
37157 for ac_func in wcsdup
37159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37160 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37162 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37163 echo $ECHO_N "(cached) $ECHO_C" >&6
37165 cat >conftest.$ac_ext <<_ACEOF
37168 cat confdefs.h >>conftest.$ac_ext
37169 cat >>conftest.$ac_ext <<_ACEOF
37170 /* end confdefs.h. */
37171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37173 #define $ac_func innocuous_$ac_func
37175 /* System header to define __stub macros and hopefully few prototypes,
37176 which can conflict with char $ac_func (); below.
37177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37178 <limits.h> exists even on freestanding compilers. */
37181 # include <limits.h>
37183 # include <assert.h>
37188 /* Override any GCC internal prototype to avoid an error.
37189 Use char because int might match the return type of a GCC
37190 builtin and then its argument prototype would still apply. */
37195 /* The GNU C library defines this for functions which it implements
37196 to always fail with ENOSYS. Some functions are actually named
37197 something starting with __ and the normal name is an alias. */
37198 #if defined __stub_$ac_func || defined __stub___$ac_func
37205 return $ac_func ();
37210 rm -f conftest.$ac_objext conftest$ac_exeext
37211 if { (ac_try="$ac_link"
37212 case "(($ac_try" in
37213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37214 *) ac_try_echo=$ac_try;;
37216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37217 (eval "$ac_link") 2>conftest.er1
37219 grep -v '^ *+' conftest.er1 >conftest.err
37221 cat conftest.err >&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); } && {
37224 test -z "$ac_c_werror_flag" ||
37225 test ! -s conftest.err
37226 } && test -s conftest$ac_exeext &&
37227 $as_test_x conftest$ac_exeext; then
37228 eval "$as_ac_var=yes"
37230 echo "$as_me: failed program was:" >&5
37231 sed 's/^/| /' conftest.$ac_ext >&5
37233 eval "$as_ac_var=no"
37236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37237 conftest$ac_exeext conftest.$ac_ext
37239 ac_res=`eval echo '${'$as_ac_var'}'`
37240 { echo "$as_me:$LINENO: result: $ac_res" >&5
37241 echo "${ECHO_T}$ac_res" >&6; }
37242 if test `eval echo '${'$as_ac_var'}'` = yes; then
37243 cat >>confdefs.h <<_ACEOF
37244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37251 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37252 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37255 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37256 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37257 if test "${ac_cv_type_mbstate_t+set}" = set; then
37258 echo $ECHO_N "(cached) $ECHO_C" >&6
37260 cat >conftest.$ac_ext <<_ACEOF
37263 cat confdefs.h >>conftest.$ac_ext
37264 cat >>conftest.$ac_ext <<_ACEOF
37265 /* end confdefs.h. */
37268 typedef mbstate_t ac__type_new_;
37272 if ((ac__type_new_ *) 0)
37274 if (sizeof (ac__type_new_))
37280 rm -f conftest.$ac_objext
37281 if { (ac_try="$ac_compile"
37282 case "(($ac_try" in
37283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37284 *) ac_try_echo=$ac_try;;
37286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37287 (eval "$ac_compile") 2>conftest.er1
37289 grep -v '^ *+' conftest.er1 >conftest.err
37291 cat conftest.err >&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); } && {
37294 test -z "$ac_c_werror_flag" ||
37295 test ! -s conftest.err
37296 } && test -s conftest.$ac_objext; then
37297 ac_cv_type_mbstate_t=yes
37299 echo "$as_me: failed program was:" >&5
37300 sed 's/^/| /' conftest.$ac_ext >&5
37302 ac_cv_type_mbstate_t=no
37305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37307 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37308 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37309 if test $ac_cv_type_mbstate_t = yes; then
37311 cat >>confdefs.h <<_ACEOF
37312 #define HAVE_MBSTATE_T 1
37316 for ac_func in wcsrtombs
37318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37321 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37322 echo $ECHO_N "(cached) $ECHO_C" >&6
37324 cat >conftest.$ac_ext <<_ACEOF
37327 cat confdefs.h >>conftest.$ac_ext
37328 cat >>conftest.$ac_ext <<_ACEOF
37329 /* end confdefs.h. */
37330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37332 #define $ac_func innocuous_$ac_func
37334 /* System header to define __stub macros and hopefully few prototypes,
37335 which can conflict with char $ac_func (); below.
37336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37337 <limits.h> exists even on freestanding compilers. */
37340 # include <limits.h>
37342 # include <assert.h>
37347 /* Override any GCC internal prototype to avoid an error.
37348 Use char because int might match the return type of a GCC
37349 builtin and then its argument prototype would still apply. */
37354 /* The GNU C library defines this for functions which it implements
37355 to always fail with ENOSYS. Some functions are actually named
37356 something starting with __ and the normal name is an alias. */
37357 #if defined __stub_$ac_func || defined __stub___$ac_func
37364 return $ac_func ();
37369 rm -f conftest.$ac_objext conftest$ac_exeext
37370 if { (ac_try="$ac_link"
37371 case "(($ac_try" in
37372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37373 *) ac_try_echo=$ac_try;;
37375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37376 (eval "$ac_link") 2>conftest.er1
37378 grep -v '^ *+' conftest.er1 >conftest.err
37380 cat conftest.err >&5
37381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382 (exit $ac_status); } && {
37383 test -z "$ac_c_werror_flag" ||
37384 test ! -s conftest.err
37385 } && test -s conftest$ac_exeext &&
37386 $as_test_x conftest$ac_exeext; then
37387 eval "$as_ac_var=yes"
37389 echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37392 eval "$as_ac_var=no"
37395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37396 conftest$ac_exeext conftest.$ac_ext
37398 ac_res=`eval echo '${'$as_ac_var'}'`
37399 { echo "$as_me:$LINENO: result: $ac_res" >&5
37400 echo "${ECHO_T}$ac_res" >&6; }
37401 if test `eval echo '${'$as_ac_var'}'` = yes; then
37402 cat >>confdefs.h <<_ACEOF
37403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37412 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37413 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37418 for ac_func in snprintf vsnprintf
37420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37424 echo $ECHO_N "(cached) $ECHO_C" >&6
37426 cat >conftest.$ac_ext <<_ACEOF
37429 cat confdefs.h >>conftest.$ac_ext
37430 cat >>conftest.$ac_ext <<_ACEOF
37431 /* end confdefs.h. */
37432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37434 #define $ac_func innocuous_$ac_func
37436 /* System header to define __stub macros and hopefully few prototypes,
37437 which can conflict with char $ac_func (); below.
37438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37439 <limits.h> exists even on freestanding compilers. */
37442 # include <limits.h>
37444 # include <assert.h>
37449 /* Override any GCC internal prototype to avoid an error.
37450 Use char because int might match the return type of a GCC
37451 builtin and then its argument prototype would still apply. */
37456 /* The GNU C library defines this for functions which it implements
37457 to always fail with ENOSYS. Some functions are actually named
37458 something starting with __ and the normal name is an alias. */
37459 #if defined __stub_$ac_func || defined __stub___$ac_func
37466 return $ac_func ();
37471 rm -f conftest.$ac_objext conftest$ac_exeext
37472 if { (ac_try="$ac_link"
37473 case "(($ac_try" in
37474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37475 *) ac_try_echo=$ac_try;;
37477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37478 (eval "$ac_link") 2>conftest.er1
37480 grep -v '^ *+' conftest.er1 >conftest.err
37482 cat conftest.err >&5
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); } && {
37485 test -z "$ac_c_werror_flag" ||
37486 test ! -s conftest.err
37487 } && test -s conftest$ac_exeext &&
37488 $as_test_x conftest$ac_exeext; then
37489 eval "$as_ac_var=yes"
37491 echo "$as_me: failed program was:" >&5
37492 sed 's/^/| /' conftest.$ac_ext >&5
37494 eval "$as_ac_var=no"
37497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37498 conftest$ac_exeext conftest.$ac_ext
37500 ac_res=`eval echo '${'$as_ac_var'}'`
37501 { echo "$as_me:$LINENO: result: $ac_res" >&5
37502 echo "${ECHO_T}$ac_res" >&6; }
37503 if test `eval echo '${'$as_ac_var'}'` = yes; then
37504 cat >>confdefs.h <<_ACEOF
37505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37512 if test "$ac_cv_func_vsnprintf" = "yes"; then
37513 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37514 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37515 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37516 echo $ECHO_N "(cached) $ECHO_C" >&6
37519 cat >conftest.$ac_ext <<_ACEOF
37522 cat confdefs.h >>conftest.$ac_ext
37523 cat >>conftest.$ac_ext <<_ACEOF
37524 /* end confdefs.h. */
37527 #include <stdarg.h>
37529 #if __MSL__ >= 0x6000
37531 using namespace std;
37541 vsnprintf(buf, 10u, "%s", ap);
37547 rm -f conftest.$ac_objext
37548 if { (ac_try="$ac_compile"
37549 case "(($ac_try" in
37550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37551 *) ac_try_echo=$ac_try;;
37553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37554 (eval "$ac_compile") 2>conftest.er1
37556 grep -v '^ *+' conftest.er1 >conftest.err
37558 cat conftest.err >&5
37559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560 (exit $ac_status); } && {
37561 test -z "$ac_c_werror_flag" ||
37562 test ! -s conftest.err
37563 } && test -s conftest.$ac_objext; then
37564 wx_cv_func_vsnprintf_decl=yes
37566 echo "$as_me: failed program was:" >&5
37567 sed 's/^/| /' conftest.$ac_ext >&5
37569 wx_cv_func_vsnprintf_decl=no
37573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37577 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37578 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37580 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37581 cat >>confdefs.h <<\_ACEOF
37582 #define HAVE_VSNPRINTF_DECL 1
37586 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37587 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37588 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37589 echo $ECHO_N "(cached) $ECHO_C" >&6
37592 cat >conftest.$ac_ext <<_ACEOF
37595 cat confdefs.h >>conftest.$ac_ext
37596 cat >>conftest.$ac_ext <<_ACEOF
37597 /* end confdefs.h. */
37600 #include <stdarg.h>
37602 #if __MSL__ >= 0x6000
37604 using namespace std;
37614 const char *fmt = "%s";
37615 vsnprintf(buf, 10u, fmt, ap);
37621 rm -f conftest.$ac_objext
37622 if { (ac_try="$ac_compile"
37623 case "(($ac_try" in
37624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37625 *) ac_try_echo=$ac_try;;
37627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37628 (eval "$ac_compile") 2>conftest.er1
37630 grep -v '^ *+' conftest.er1 >conftest.err
37632 cat conftest.err >&5
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); } && {
37635 test -z "$ac_c_werror_flag" ||
37636 test ! -s conftest.err
37637 } && test -s conftest.$ac_objext; then
37638 wx_cv_func_broken_vsnprintf_decl=no
37640 echo "$as_me: failed program was:" >&5
37641 sed 's/^/| /' conftest.$ac_ext >&5
37643 wx_cv_func_broken_vsnprintf_decl=yes
37647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37651 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37652 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37654 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37655 cat >>confdefs.h <<\_ACEOF
37656 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37663 if test "$ac_cv_func_snprintf" = "yes"; then
37664 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37665 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37666 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37667 echo $ECHO_N "(cached) $ECHO_C" >&6
37670 cat >conftest.$ac_ext <<_ACEOF
37673 cat confdefs.h >>conftest.$ac_ext
37674 cat >>conftest.$ac_ext <<_ACEOF
37675 /* end confdefs.h. */
37678 #include <stdarg.h>
37680 #if __MSL__ >= 0x6000
37682 using namespace std;
37691 snprintf(buf, 10u, "%s", "wx");
37697 rm -f conftest.$ac_objext
37698 if { (ac_try="$ac_compile"
37699 case "(($ac_try" in
37700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37701 *) ac_try_echo=$ac_try;;
37703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37704 (eval "$ac_compile") 2>conftest.er1
37706 grep -v '^ *+' conftest.er1 >conftest.err
37708 cat conftest.err >&5
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); } && {
37711 test -z "$ac_c_werror_flag" ||
37712 test ! -s conftest.err
37713 } && test -s conftest.$ac_objext; then
37714 wx_cv_func_snprintf_decl=yes
37716 echo "$as_me: failed program was:" >&5
37717 sed 's/^/| /' conftest.$ac_ext >&5
37719 wx_cv_func_snprintf_decl=no
37723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37727 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37728 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37730 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37731 cat >>confdefs.h <<\_ACEOF
37732 #define HAVE_SNPRINTF_DECL 1
37736 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37737 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37738 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37739 echo $ECHO_N "(cached) $ECHO_C" >&6
37742 cat >conftest.$ac_ext <<_ACEOF
37745 cat confdefs.h >>conftest.$ac_ext
37746 cat >>conftest.$ac_ext <<_ACEOF
37747 /* end confdefs.h. */
37750 #include <stdarg.h>
37752 #if __MSL__ >= 0x6000
37754 using namespace std;
37763 const char *fmt = "%s";
37764 snprintf(buf, 10u, fmt, "wx");
37770 rm -f conftest.$ac_objext
37771 if { (ac_try="$ac_compile"
37772 case "(($ac_try" in
37773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37774 *) ac_try_echo=$ac_try;;
37776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37777 (eval "$ac_compile") 2>conftest.er1
37779 grep -v '^ *+' conftest.er1 >conftest.err
37781 cat conftest.err >&5
37782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783 (exit $ac_status); } && {
37784 test -z "$ac_c_werror_flag" ||
37785 test ! -s conftest.err
37786 } && test -s conftest.$ac_objext; then
37787 wx_cv_func_broken_snprintf_decl=no
37789 echo "$as_me: failed program was:" >&5
37790 sed 's/^/| /' conftest.$ac_ext >&5
37792 wx_cv_func_broken_snprintf_decl=yes
37796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37800 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37801 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37803 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37804 cat >>confdefs.h <<\_ACEOF
37805 #define HAVE_BROKEN_SNPRINTF_DECL 1
37811 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37813 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37814 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37815 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37816 echo $ECHO_N "(cached) $ECHO_C" >&6
37819 if test "$cross_compiling" = yes; then
37821 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37822 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37823 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37824 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37825 wx_cv_func_snprintf_pos_params=no
37829 cat >conftest.$ac_ext <<_ACEOF
37832 cat confdefs.h >>conftest.$ac_ext
37833 cat >>conftest.$ac_ext <<_ACEOF
37834 /* end confdefs.h. */
37841 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37842 if (strcmp ("2 3 1", buffer) == 0)
37848 rm -f conftest$ac_exeext
37849 if { (ac_try="$ac_link"
37850 case "(($ac_try" in
37851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37852 *) ac_try_echo=$ac_try;;
37854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37855 (eval "$ac_link") 2>&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37859 { (case "(($ac_try" in
37860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37861 *) ac_try_echo=$ac_try;;
37863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37864 (eval "$ac_try") 2>&5
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); }; }; then
37868 wx_cv_func_snprintf_pos_params=no
37870 echo "$as_me: program exited with status $ac_status" >&5
37871 echo "$as_me: failed program was:" >&5
37872 sed 's/^/| /' conftest.$ac_ext >&5
37874 ( exit $ac_status )
37875 wx_cv_func_snprintf_pos_params=yes
37877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37884 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37885 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37887 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37888 cat >>confdefs.h <<\_ACEOF
37889 #define HAVE_UNIX98_PRINTF 1
37896 if test "$wxUSE_UNICODE" = yes; then
37899 for ac_func in swprintf
37901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37902 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37904 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37905 echo $ECHO_N "(cached) $ECHO_C" >&6
37907 cat >conftest.$ac_ext <<_ACEOF
37910 cat confdefs.h >>conftest.$ac_ext
37911 cat >>conftest.$ac_ext <<_ACEOF
37912 /* end confdefs.h. */
37913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37915 #define $ac_func innocuous_$ac_func
37917 /* System header to define __stub macros and hopefully few prototypes,
37918 which can conflict with char $ac_func (); below.
37919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37920 <limits.h> exists even on freestanding compilers. */
37923 # include <limits.h>
37925 # include <assert.h>
37930 /* Override any GCC internal prototype to avoid an error.
37931 Use char because int might match the return type of a GCC
37932 builtin and then its argument prototype would still apply. */
37937 /* The GNU C library defines this for functions which it implements
37938 to always fail with ENOSYS. Some functions are actually named
37939 something starting with __ and the normal name is an alias. */
37940 #if defined __stub_$ac_func || defined __stub___$ac_func
37947 return $ac_func ();
37952 rm -f conftest.$ac_objext conftest$ac_exeext
37953 if { (ac_try="$ac_link"
37954 case "(($ac_try" in
37955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37956 *) ac_try_echo=$ac_try;;
37958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37959 (eval "$ac_link") 2>conftest.er1
37961 grep -v '^ *+' conftest.er1 >conftest.err
37963 cat conftest.err >&5
37964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37965 (exit $ac_status); } && {
37966 test -z "$ac_c_werror_flag" ||
37967 test ! -s conftest.err
37968 } && test -s conftest$ac_exeext &&
37969 $as_test_x conftest$ac_exeext; then
37970 eval "$as_ac_var=yes"
37972 echo "$as_me: failed program was:" >&5
37973 sed 's/^/| /' conftest.$ac_ext >&5
37975 eval "$as_ac_var=no"
37978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37979 conftest$ac_exeext conftest.$ac_ext
37981 ac_res=`eval echo '${'$as_ac_var'}'`
37982 { echo "$as_me:$LINENO: result: $ac_res" >&5
37983 echo "${ECHO_T}$ac_res" >&6; }
37984 if test `eval echo '${'$as_ac_var'}'` = yes; then
37985 cat >>confdefs.h <<_ACEOF
37986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37993 if test "$ac_cv_func_swprintf" = "yes"; then
37994 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
37995 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
37996 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
37997 echo $ECHO_N "(cached) $ECHO_C" >&6
38000 cat >conftest.$ac_ext <<_ACEOF
38003 cat confdefs.h >>conftest.$ac_ext
38004 cat >>conftest.$ac_ext <<_ACEOF
38005 /* end confdefs.h. */
38008 #include <stdarg.h>
38016 const wchar_t *fmt = L"test";
38017 swprintf(buf, 10u, fmt);
38023 rm -f conftest.$ac_objext
38024 if { (ac_try="$ac_compile"
38025 case "(($ac_try" in
38026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38027 *) ac_try_echo=$ac_try;;
38029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38030 (eval "$ac_compile") 2>conftest.er1
38032 grep -v '^ *+' conftest.er1 >conftest.err
38034 cat conftest.err >&5
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); } && {
38037 test -z "$ac_c_werror_flag" ||
38038 test ! -s conftest.err
38039 } && test -s conftest.$ac_objext; then
38040 wx_cv_func_broken_swprintf_decl=no
38042 echo "$as_me: failed program was:" >&5
38043 sed 's/^/| /' conftest.$ac_ext >&5
38045 wx_cv_func_broken_swprintf_decl=yes
38049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38053 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38054 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38056 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38057 cat >>confdefs.h <<\_ACEOF
38058 #define HAVE_BROKEN_SWPRINTF_DECL 1
38064 wchar_headers="#include <stdio.h>
38065 #include <wchar.h>"
38069 for ac_header in widec.h
38071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38072 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38074 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38075 echo $ECHO_N "(cached) $ECHO_C" >&6
38077 cat >conftest.$ac_ext <<_ACEOF
38080 cat confdefs.h >>conftest.$ac_ext
38081 cat >>conftest.$ac_ext <<_ACEOF
38082 /* end confdefs.h. */
38083 $ac_includes_default
38085 #include <$ac_header>
38087 rm -f conftest.$ac_objext
38088 if { (ac_try="$ac_compile"
38089 case "(($ac_try" in
38090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38091 *) ac_try_echo=$ac_try;;
38093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38094 (eval "$ac_compile") 2>conftest.er1
38096 grep -v '^ *+' conftest.er1 >conftest.err
38098 cat conftest.err >&5
38099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100 (exit $ac_status); } && {
38101 test -z "$ac_c_werror_flag" ||
38102 test ! -s conftest.err
38103 } && test -s conftest.$ac_objext; then
38104 eval "$as_ac_Header=yes"
38106 echo "$as_me: failed program was:" >&5
38107 sed 's/^/| /' conftest.$ac_ext >&5
38109 eval "$as_ac_Header=no"
38112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38114 ac_res=`eval echo '${'$as_ac_Header'}'`
38115 { echo "$as_me:$LINENO: result: $ac_res" >&5
38116 echo "${ECHO_T}$ac_res" >&6; }
38117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38118 cat >>confdefs.h <<_ACEOF
38119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38126 if test "$ac_cv_header_widec_h" = "yes"; then
38127 wchar_headers="$wchar_headers
38128 #include <widec.h>"
38133 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38135 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38136 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38137 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38138 echo $ECHO_N "(cached) $ECHO_C" >&6
38141 cat >conftest.$ac_ext <<_ACEOF
38145 cat confdefs.h >>conftest.$ac_ext
38146 cat >>conftest.$ac_ext <<_ACEOF
38147 /* end confdefs.h. */
38150 $ac_includes_default
38166 rm -f conftest.$ac_objext conftest$ac_exeext
38167 if { (ac_try="$ac_link"
38168 case "(($ac_try" in
38169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38170 *) ac_try_echo=$ac_try;;
38172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38173 (eval "$ac_link") 2>conftest.er1
38175 grep -v '^ *+' conftest.er1 >conftest.err
38177 cat conftest.err >&5
38178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38179 (exit $ac_status); } && {
38180 test -z "$ac_c_werror_flag" ||
38181 test ! -s conftest.err
38182 } && test -s conftest$ac_exeext &&
38183 $as_test_x conftest$ac_exeext; then
38184 eval wx_cv_func_$wx_func=yes
38186 echo "$as_me: failed program was:" >&5
38187 sed 's/^/| /' conftest.$ac_ext >&5
38189 eval wx_cv_func_$wx_func=no
38192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38193 conftest$ac_exeext conftest.$ac_ext
38196 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38197 { echo "$as_me:$LINENO: result: $ac_res" >&5
38198 echo "${ECHO_T}$ac_res" >&6; }
38200 if eval test \$wx_cv_func_$wx_func = yes
38202 cat >>confdefs.h <<_ACEOF
38203 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38214 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38215 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38216 cat >conftest.$ac_ext <<_ACEOF
38219 cat confdefs.h >>conftest.$ac_ext
38220 cat >>conftest.$ac_ext <<_ACEOF
38221 /* end confdefs.h. */
38231 rm -f conftest.$ac_objext
38232 if { (ac_try="$ac_compile"
38233 case "(($ac_try" in
38234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38235 *) ac_try_echo=$ac_try;;
38237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38238 (eval "$ac_compile") 2>conftest.er1
38240 grep -v '^ *+' conftest.er1 >conftest.err
38242 cat conftest.err >&5
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); } && {
38245 test -z "$ac_c_werror_flag" ||
38246 test ! -s conftest.err
38247 } && test -s conftest.$ac_objext; then
38248 { echo "$as_me:$LINENO: result: yes" >&5
38249 echo "${ECHO_T}yes" >&6; }
38250 cat >>confdefs.h <<\_ACEOF
38251 #define HAVE__VSNWPRINTF 1
38255 echo "$as_me: failed program was:" >&5
38256 sed 's/^/| /' conftest.$ac_ext >&5
38258 { echo "$as_me:$LINENO: result: no" >&5
38259 echo "${ECHO_T}no" >&6; }
38262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38265 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38267 for wx_func in fnmatch
38269 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38270 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38271 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38272 echo $ECHO_N "(cached) $ECHO_C" >&6
38275 cat >conftest.$ac_ext <<_ACEOF
38279 cat confdefs.h >>conftest.$ac_ext
38280 cat >>conftest.$ac_ext <<_ACEOF
38281 /* end confdefs.h. */
38283 #include <fnmatch.h>
38284 $ac_includes_default
38300 rm -f conftest.$ac_objext conftest$ac_exeext
38301 if { (ac_try="$ac_link"
38302 case "(($ac_try" in
38303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38304 *) ac_try_echo=$ac_try;;
38306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38307 (eval "$ac_link") 2>conftest.er1
38309 grep -v '^ *+' conftest.er1 >conftest.err
38311 cat conftest.err >&5
38312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38313 (exit $ac_status); } && {
38314 test -z "$ac_c_werror_flag" ||
38315 test ! -s conftest.err
38316 } && test -s conftest$ac_exeext &&
38317 $as_test_x conftest$ac_exeext; then
38318 eval wx_cv_func_$wx_func=yes
38320 echo "$as_me: failed program was:" >&5
38321 sed 's/^/| /' conftest.$ac_ext >&5
38323 eval wx_cv_func_$wx_func=no
38326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38327 conftest$ac_exeext conftest.$ac_ext
38330 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38331 { echo "$as_me:$LINENO: result: $ac_res" >&5
38332 echo "${ECHO_T}$ac_res" >&6; }
38334 if eval test \$wx_cv_func_$wx_func = yes
38336 cat >>confdefs.h <<_ACEOF
38337 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38349 if test "$wxUSE_FILE" = "yes"; then
38351 for wx_func in fsync
38353 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38354 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38355 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38356 echo $ECHO_N "(cached) $ECHO_C" >&6
38359 cat >conftest.$ac_ext <<_ACEOF
38363 cat confdefs.h >>conftest.$ac_ext
38364 cat >>conftest.$ac_ext <<_ACEOF
38365 /* end confdefs.h. */
38368 $ac_includes_default
38384 rm -f conftest.$ac_objext conftest$ac_exeext
38385 if { (ac_try="$ac_link"
38386 case "(($ac_try" in
38387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38388 *) ac_try_echo=$ac_try;;
38390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38391 (eval "$ac_link") 2>conftest.er1
38393 grep -v '^ *+' conftest.er1 >conftest.err
38395 cat conftest.err >&5
38396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38397 (exit $ac_status); } && {
38398 test -z "$ac_c_werror_flag" ||
38399 test ! -s conftest.err
38400 } && test -s conftest$ac_exeext &&
38401 $as_test_x conftest$ac_exeext; then
38402 eval wx_cv_func_$wx_func=yes
38404 echo "$as_me: failed program was:" >&5
38405 sed 's/^/| /' conftest.$ac_ext >&5
38407 eval wx_cv_func_$wx_func=no
38410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38411 conftest$ac_exeext conftest.$ac_ext
38414 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38415 { echo "$as_me:$LINENO: result: $ac_res" >&5
38416 echo "${ECHO_T}$ac_res" >&6; }
38418 if eval test \$wx_cv_func_$wx_func = yes
38420 cat >>confdefs.h <<_ACEOF
38421 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38434 ac_cpp='$CXXCPP $CPPFLAGS'
38435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38440 for wx_func in round
38442 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38443 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38444 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38445 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 cat >conftest.$ac_ext <<_ACEOF
38452 cat confdefs.h >>conftest.$ac_ext
38453 cat >>conftest.$ac_ext <<_ACEOF
38454 /* end confdefs.h. */
38457 $ac_includes_default
38473 rm -f conftest.$ac_objext conftest$ac_exeext
38474 if { (ac_try="$ac_link"
38475 case "(($ac_try" in
38476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38477 *) ac_try_echo=$ac_try;;
38479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38480 (eval "$ac_link") 2>conftest.er1
38482 grep -v '^ *+' conftest.er1 >conftest.err
38484 cat conftest.err >&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); } && {
38487 test -z "$ac_cxx_werror_flag" ||
38488 test ! -s conftest.err
38489 } && test -s conftest$ac_exeext &&
38490 $as_test_x conftest$ac_exeext; then
38491 eval wx_cv_func_$wx_func=yes
38493 echo "$as_me: failed program was:" >&5
38494 sed 's/^/| /' conftest.$ac_ext >&5
38496 eval wx_cv_func_$wx_func=no
38499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38500 conftest$ac_exeext conftest.$ac_ext
38503 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38504 { echo "$as_me:$LINENO: result: $ac_res" >&5
38505 echo "${ECHO_T}$ac_res" >&6; }
38507 if eval test \$wx_cv_func_$wx_func = yes
38509 cat >>confdefs.h <<_ACEOF
38510 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38521 ac_cpp='$CPP $CPPFLAGS'
38522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38527 if test "$TOOLKIT" != "MSW"; then
38533 # Check whether --with-libiconv-prefix was given.
38534 if test "${with_libiconv_prefix+set}" = set; then
38535 withval=$with_libiconv_prefix;
38536 for dir in `echo "$withval" | tr : ' '`; do
38537 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38538 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38544 { echo "$as_me:$LINENO: checking for iconv" >&5
38545 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38546 if test "${am_cv_func_iconv+set}" = set; then
38547 echo $ECHO_N "(cached) $ECHO_C" >&6
38550 am_cv_func_iconv="no, consider installing GNU libiconv"
38552 cat >conftest.$ac_ext <<_ACEOF
38555 cat confdefs.h >>conftest.$ac_ext
38556 cat >>conftest.$ac_ext <<_ACEOF
38557 /* end confdefs.h. */
38558 #include <stdlib.h>
38563 iconv_t cd = iconv_open("","");
38564 iconv(cd,NULL,NULL,NULL,NULL);
38570 rm -f conftest.$ac_objext conftest$ac_exeext
38571 if { (ac_try="$ac_link"
38572 case "(($ac_try" in
38573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38574 *) ac_try_echo=$ac_try;;
38576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38577 (eval "$ac_link") 2>conftest.er1
38579 grep -v '^ *+' conftest.er1 >conftest.err
38581 cat conftest.err >&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); } && {
38584 test -z "$ac_c_werror_flag" ||
38585 test ! -s conftest.err
38586 } && test -s conftest$ac_exeext &&
38587 $as_test_x conftest$ac_exeext; then
38588 am_cv_func_iconv=yes
38590 echo "$as_me: failed program was:" >&5
38591 sed 's/^/| /' conftest.$ac_ext >&5
38596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38597 conftest$ac_exeext conftest.$ac_ext
38598 if test "$am_cv_func_iconv" != yes; then
38599 am_save_LIBS="$LIBS"
38600 LIBS="$LIBS -liconv"
38601 cat >conftest.$ac_ext <<_ACEOF
38604 cat confdefs.h >>conftest.$ac_ext
38605 cat >>conftest.$ac_ext <<_ACEOF
38606 /* end confdefs.h. */
38607 #include <stdlib.h>
38612 iconv_t cd = iconv_open("","");
38613 iconv(cd,NULL,NULL,NULL,NULL);
38619 rm -f conftest.$ac_objext conftest$ac_exeext
38620 if { (ac_try="$ac_link"
38621 case "(($ac_try" in
38622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38623 *) ac_try_echo=$ac_try;;
38625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38626 (eval "$ac_link") 2>conftest.er1
38628 grep -v '^ *+' conftest.er1 >conftest.err
38630 cat conftest.err >&5
38631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38632 (exit $ac_status); } && {
38633 test -z "$ac_c_werror_flag" ||
38634 test ! -s conftest.err
38635 } && test -s conftest$ac_exeext &&
38636 $as_test_x conftest$ac_exeext; then
38637 am_cv_lib_iconv=yes
38638 am_cv_func_iconv=yes
38640 echo "$as_me: failed program was:" >&5
38641 sed 's/^/| /' conftest.$ac_ext >&5
38646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38647 conftest$ac_exeext conftest.$ac_ext
38648 LIBS="$am_save_LIBS"
38652 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38653 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38654 if test "$am_cv_func_iconv" = yes; then
38656 cat >>confdefs.h <<\_ACEOF
38657 #define HAVE_ICONV 1
38660 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38661 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38662 if test "${wx_cv_func_iconv_const+set}" = set; then
38663 echo $ECHO_N "(cached) $ECHO_C" >&6
38665 cat >conftest.$ac_ext <<_ACEOF
38668 cat confdefs.h >>conftest.$ac_ext
38669 cat >>conftest.$ac_ext <<_ACEOF
38670 /* end confdefs.h. */
38672 #include <stdlib.h>
38678 #if defined(__STDC__) || defined(__cplusplus)
38679 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38692 rm -f conftest.$ac_objext
38693 if { (ac_try="$ac_compile"
38694 case "(($ac_try" in
38695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38696 *) ac_try_echo=$ac_try;;
38698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38699 (eval "$ac_compile") 2>conftest.er1
38701 grep -v '^ *+' conftest.er1 >conftest.err
38703 cat conftest.err >&5
38704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38705 (exit $ac_status); } && {
38706 test -z "$ac_c_werror_flag" ||
38707 test ! -s conftest.err
38708 } && test -s conftest.$ac_objext; then
38709 wx_cv_func_iconv_const="no"
38711 echo "$as_me: failed program was:" >&5
38712 sed 's/^/| /' conftest.$ac_ext >&5
38714 wx_cv_func_iconv_const="yes"
38718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38721 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38722 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38725 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38726 iconv_const="const"
38730 cat >>confdefs.h <<_ACEOF
38731 #define ICONV_CONST $iconv_const
38736 if test "$am_cv_lib_iconv" = yes; then
38741 LIBS="$LIBICONV $LIBS"
38743 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38745 for ac_func in sigaction
38747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38751 echo $ECHO_N "(cached) $ECHO_C" >&6
38753 cat >conftest.$ac_ext <<_ACEOF
38756 cat confdefs.h >>conftest.$ac_ext
38757 cat >>conftest.$ac_ext <<_ACEOF
38758 /* end confdefs.h. */
38759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38761 #define $ac_func innocuous_$ac_func
38763 /* System header to define __stub macros and hopefully few prototypes,
38764 which can conflict with char $ac_func (); below.
38765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38766 <limits.h> exists even on freestanding compilers. */
38769 # include <limits.h>
38771 # include <assert.h>
38776 /* Override any GCC internal prototype to avoid an error.
38777 Use char because int might match the return type of a GCC
38778 builtin and then its argument prototype would still apply. */
38783 /* The GNU C library defines this for functions which it implements
38784 to always fail with ENOSYS. Some functions are actually named
38785 something starting with __ and the normal name is an alias. */
38786 #if defined __stub_$ac_func || defined __stub___$ac_func
38793 return $ac_func ();
38798 rm -f conftest.$ac_objext conftest$ac_exeext
38799 if { (ac_try="$ac_link"
38800 case "(($ac_try" in
38801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38802 *) ac_try_echo=$ac_try;;
38804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38805 (eval "$ac_link") 2>conftest.er1
38807 grep -v '^ *+' conftest.er1 >conftest.err
38809 cat conftest.err >&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); } && {
38812 test -z "$ac_c_werror_flag" ||
38813 test ! -s conftest.err
38814 } && test -s conftest$ac_exeext &&
38815 $as_test_x conftest$ac_exeext; then
38816 eval "$as_ac_var=yes"
38818 echo "$as_me: failed program was:" >&5
38819 sed 's/^/| /' conftest.$ac_ext >&5
38821 eval "$as_ac_var=no"
38824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38825 conftest$ac_exeext conftest.$ac_ext
38827 ac_res=`eval echo '${'$as_ac_var'}'`
38828 { echo "$as_me:$LINENO: result: $ac_res" >&5
38829 echo "${ECHO_T}$ac_res" >&6; }
38830 if test `eval echo '${'$as_ac_var'}'` = yes; then
38831 cat >>confdefs.h <<_ACEOF
38832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38839 if test "$ac_cv_func_sigaction" = "no"; then
38840 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38841 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38842 wxUSE_ON_FATAL_EXCEPTION=no
38845 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38846 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38847 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38848 if test "${wx_cv_type_sa_handler+set}" = set; then
38849 echo $ECHO_N "(cached) $ECHO_C" >&6
38853 ac_cpp='$CXXCPP $CPPFLAGS'
38854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38858 cat >conftest.$ac_ext <<_ACEOF
38861 cat confdefs.h >>conftest.$ac_ext
38862 cat >>conftest.$ac_ext <<_ACEOF
38863 /* end confdefs.h. */
38864 #include <signal.h>
38869 extern void testSigHandler(int);
38871 struct sigaction sa;
38872 sa.sa_handler = testSigHandler;
38878 rm -f conftest.$ac_objext
38879 if { (ac_try="$ac_compile"
38880 case "(($ac_try" in
38881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38882 *) ac_try_echo=$ac_try;;
38884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38885 (eval "$ac_compile") 2>conftest.er1
38887 grep -v '^ *+' conftest.er1 >conftest.err
38889 cat conftest.err >&5
38890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38891 (exit $ac_status); } && {
38892 test -z "$ac_cxx_werror_flag" ||
38893 test ! -s conftest.err
38894 } && test -s conftest.$ac_objext; then
38896 wx_cv_type_sa_handler=int
38899 echo "$as_me: failed program was:" >&5
38900 sed 's/^/| /' conftest.$ac_ext >&5
38903 wx_cv_type_sa_handler=void
38907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38909 ac_cpp='$CPP $CPPFLAGS'
38910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38916 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38917 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38919 cat >>confdefs.h <<_ACEOF
38920 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38926 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38927 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38928 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38929 if test "${wx_cv_func_backtrace+set}" = set; then
38930 echo $ECHO_N "(cached) $ECHO_C" >&6
38934 ac_cpp='$CXXCPP $CPPFLAGS'
38935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38939 cat >conftest.$ac_ext <<_ACEOF
38942 cat confdefs.h >>conftest.$ac_ext
38943 cat >>conftest.$ac_ext <<_ACEOF
38944 /* end confdefs.h. */
38945 #include <execinfo.h>
38953 backtrace(trace, 1);
38954 messages = backtrace_symbols(trace, 1);
38960 rm -f conftest.$ac_objext
38961 if { (ac_try="$ac_compile"
38962 case "(($ac_try" in
38963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38964 *) ac_try_echo=$ac_try;;
38966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38967 (eval "$ac_compile") 2>conftest.er1
38969 grep -v '^ *+' conftest.er1 >conftest.err
38971 cat conftest.err >&5
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); } && {
38974 test -z "$ac_cxx_werror_flag" ||
38975 test ! -s conftest.err
38976 } && test -s conftest.$ac_objext; then
38977 wx_cv_func_backtrace=yes
38979 echo "$as_me: failed program was:" >&5
38980 sed 's/^/| /' conftest.$ac_ext >&5
38982 wx_cv_func_backtrace=no
38986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38988 ac_cpp='$CPP $CPPFLAGS'
38989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38996 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38997 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39000 if test "$wx_cv_func_backtrace" = "no"; then
39001 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39002 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39003 wxUSE_STACKWALKER=no
39005 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39006 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39007 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39008 echo $ECHO_N "(cached) $ECHO_C" >&6
39012 ac_cpp='$CXXCPP $CPPFLAGS'
39013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39017 cat >conftest.$ac_ext <<_ACEOF
39020 cat confdefs.h >>conftest.$ac_ext
39021 cat >>conftest.$ac_ext <<_ACEOF
39022 /* end confdefs.h. */
39023 #include <cxxabi.h>
39029 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (ac_try="$ac_link"
39037 case "(($ac_try" in
39038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39039 *) ac_try_echo=$ac_try;;
39041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39042 (eval "$ac_link") 2>conftest.er1
39044 grep -v '^ *+' conftest.er1 >conftest.err
39046 cat conftest.err >&5
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); } && {
39049 test -z "$ac_cxx_werror_flag" ||
39050 test ! -s conftest.err
39051 } && test -s conftest$ac_exeext &&
39052 $as_test_x conftest$ac_exeext; then
39053 wx_cv_func_cxa_demangle=yes
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.$ac_ext >&5
39058 wx_cv_func_cxa_demangle=no
39062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39063 conftest$ac_exeext conftest.$ac_ext
39065 ac_cpp='$CPP $CPPFLAGS'
39066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39073 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39074 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39076 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39077 cat >>confdefs.h <<\_ACEOF
39078 #define HAVE_CXA_DEMANGLE 1
39085 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39086 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39087 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39088 wxUSE_STACKWALKER=no
39094 for ac_func in mkstemp mktemp
39096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39097 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39099 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39100 echo $ECHO_N "(cached) $ECHO_C" >&6
39102 cat >conftest.$ac_ext <<_ACEOF
39105 cat confdefs.h >>conftest.$ac_ext
39106 cat >>conftest.$ac_ext <<_ACEOF
39107 /* end confdefs.h. */
39108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39110 #define $ac_func innocuous_$ac_func
39112 /* System header to define __stub macros and hopefully few prototypes,
39113 which can conflict with char $ac_func (); below.
39114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39115 <limits.h> exists even on freestanding compilers. */
39118 # include <limits.h>
39120 # include <assert.h>
39125 /* Override any GCC internal prototype to avoid an error.
39126 Use char because int might match the return type of a GCC
39127 builtin and then its argument prototype would still apply. */
39132 /* The GNU C library defines this for functions which it implements
39133 to always fail with ENOSYS. Some functions are actually named
39134 something starting with __ and the normal name is an alias. */
39135 #if defined __stub_$ac_func || defined __stub___$ac_func
39142 return $ac_func ();
39147 rm -f conftest.$ac_objext conftest$ac_exeext
39148 if { (ac_try="$ac_link"
39149 case "(($ac_try" in
39150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39151 *) ac_try_echo=$ac_try;;
39153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39154 (eval "$ac_link") 2>conftest.er1
39156 grep -v '^ *+' conftest.er1 >conftest.err
39158 cat conftest.err >&5
39159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39160 (exit $ac_status); } && {
39161 test -z "$ac_c_werror_flag" ||
39162 test ! -s conftest.err
39163 } && test -s conftest$ac_exeext &&
39164 $as_test_x conftest$ac_exeext; then
39165 eval "$as_ac_var=yes"
39167 echo "$as_me: failed program was:" >&5
39168 sed 's/^/| /' conftest.$ac_ext >&5
39170 eval "$as_ac_var=no"
39173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39174 conftest$ac_exeext conftest.$ac_ext
39176 ac_res=`eval echo '${'$as_ac_var'}'`
39177 { echo "$as_me:$LINENO: result: $ac_res" >&5
39178 echo "${ECHO_T}$ac_res" >&6; }
39179 if test `eval echo '${'$as_ac_var'}'` = yes; then
39180 cat >>confdefs.h <<_ACEOF
39181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39188 { echo "$as_me:$LINENO: checking for statfs" >&5
39189 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39190 if test "${wx_cv_func_statfs+set}" = set; then
39191 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 cat >conftest.$ac_ext <<_ACEOF
39196 cat confdefs.h >>conftest.$ac_ext
39197 cat >>conftest.$ac_ext <<_ACEOF
39198 /* end confdefs.h. */
39200 #if defined(__BSD__)
39201 #include <sys/param.h>
39202 #include <sys/mount.h>
39204 #include <sys/vfs.h>
39222 rm -f conftest.$ac_objext
39223 if { (ac_try="$ac_compile"
39224 case "(($ac_try" in
39225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39226 *) ac_try_echo=$ac_try;;
39228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39229 (eval "$ac_compile") 2>conftest.er1
39231 grep -v '^ *+' conftest.er1 >conftest.err
39233 cat conftest.err >&5
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); } && {
39236 test -z "$ac_c_werror_flag" ||
39237 test ! -s conftest.err
39238 } && test -s conftest.$ac_objext; then
39239 wx_cv_func_statfs=yes
39241 echo "$as_me: failed program was:" >&5
39242 sed 's/^/| /' conftest.$ac_ext >&5
39244 wx_cv_func_statfs=no
39248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39251 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39252 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39254 if test "$wx_cv_func_statfs" = "yes"; then
39255 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39256 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39257 if test "${wx_cv_func_statfs_decl+set}" = set; then
39258 echo $ECHO_N "(cached) $ECHO_C" >&6
39261 ac_cpp='$CXXCPP $CPPFLAGS'
39262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39266 cat >conftest.$ac_ext <<_ACEOF
39269 cat confdefs.h >>conftest.$ac_ext
39270 cat >>conftest.$ac_ext <<_ACEOF
39271 /* end confdefs.h. */
39273 #if defined(__BSD__)
39274 #include <sys/param.h>
39275 #include <sys/mount.h>
39277 #include <sys/vfs.h>
39291 rm -f conftest.$ac_objext
39292 if { (ac_try="$ac_compile"
39293 case "(($ac_try" in
39294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39295 *) ac_try_echo=$ac_try;;
39297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39298 (eval "$ac_compile") 2>conftest.er1
39300 grep -v '^ *+' conftest.er1 >conftest.err
39302 cat conftest.err >&5
39303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39304 (exit $ac_status); } && {
39305 test -z "$ac_cxx_werror_flag" ||
39306 test ! -s conftest.err
39307 } && test -s conftest.$ac_objext; then
39308 wx_cv_func_statfs_decl=yes
39310 echo "$as_me: failed program was:" >&5
39311 sed 's/^/| /' conftest.$ac_ext >&5
39313 wx_cv_func_statfs_decl=no
39317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39319 ac_cpp='$CPP $CPPFLAGS'
39320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39326 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39327 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39329 if test "$wx_cv_func_statfs_decl" = "yes"; then
39330 cat >>confdefs.h <<\_ACEOF
39331 #define HAVE_STATFS_DECL 1
39336 wx_cv_type_statvfs_t="struct statfs"
39337 cat >>confdefs.h <<\_ACEOF
39338 #define HAVE_STATFS 1
39342 { echo "$as_me:$LINENO: checking for statvfs" >&5
39343 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39344 if test "${wx_cv_func_statvfs+set}" = set; then
39345 echo $ECHO_N "(cached) $ECHO_C" >&6
39347 cat >conftest.$ac_ext <<_ACEOF
39350 cat confdefs.h >>conftest.$ac_ext
39351 cat >>conftest.$ac_ext <<_ACEOF
39352 /* end confdefs.h. */
39354 #include <stddef.h>
39355 #include <sys/statvfs.h>
39361 statvfs("/", NULL);
39367 rm -f conftest.$ac_objext
39368 if { (ac_try="$ac_compile"
39369 case "(($ac_try" in
39370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39371 *) ac_try_echo=$ac_try;;
39373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39374 (eval "$ac_compile") 2>conftest.er1
39376 grep -v '^ *+' conftest.er1 >conftest.err
39378 cat conftest.err >&5
39379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39380 (exit $ac_status); } && {
39381 test -z "$ac_c_werror_flag" ||
39382 test ! -s conftest.err
39383 } && test -s conftest.$ac_objext; then
39384 wx_cv_func_statvfs=yes
39386 echo "$as_me: failed program was:" >&5
39387 sed 's/^/| /' conftest.$ac_ext >&5
39389 wx_cv_func_statvfs=no
39393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39396 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39397 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39399 if test "$wx_cv_func_statvfs" = "yes"; then
39400 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39401 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39402 if test "${wx_cv_type_statvfs_t+set}" = set; then
39403 echo $ECHO_N "(cached) $ECHO_C" >&6
39406 ac_cpp='$CXXCPP $CPPFLAGS'
39407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39411 cat >conftest.$ac_ext <<_ACEOF
39414 cat confdefs.h >>conftest.$ac_ext
39415 cat >>conftest.$ac_ext <<_ACEOF
39416 /* end confdefs.h. */
39418 #include <sys/statvfs.h>
39435 rm -f conftest.$ac_objext
39436 if { (ac_try="$ac_compile"
39437 case "(($ac_try" in
39438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39439 *) ac_try_echo=$ac_try;;
39441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39442 (eval "$ac_compile") 2>conftest.er1
39444 grep -v '^ *+' conftest.er1 >conftest.err
39446 cat conftest.err >&5
39447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39448 (exit $ac_status); } && {
39449 test -z "$ac_cxx_werror_flag" ||
39450 test ! -s conftest.err
39451 } && test -s conftest.$ac_objext; then
39452 wx_cv_type_statvfs_t=statvfs_t
39454 echo "$as_me: failed program was:" >&5
39455 sed 's/^/| /' conftest.$ac_ext >&5
39458 cat >conftest.$ac_ext <<_ACEOF
39461 cat confdefs.h >>conftest.$ac_ext
39462 cat >>conftest.$ac_ext <<_ACEOF
39463 /* end confdefs.h. */
39465 #include <sys/statvfs.h>
39482 rm -f conftest.$ac_objext
39483 if { (ac_try="$ac_compile"
39484 case "(($ac_try" in
39485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39486 *) ac_try_echo=$ac_try;;
39488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39489 (eval "$ac_compile") 2>conftest.er1
39491 grep -v '^ *+' conftest.er1 >conftest.err
39493 cat conftest.err >&5
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); } && {
39496 test -z "$ac_cxx_werror_flag" ||
39497 test ! -s conftest.err
39498 } && test -s conftest.$ac_objext; then
39499 wx_cv_type_statvfs_t="struct statvfs"
39501 echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.$ac_ext >&5
39504 wx_cv_type_statvfs_t="unknown"
39508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39515 ac_cpp='$CPP $CPPFLAGS'
39516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39522 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39523 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39525 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39526 cat >>confdefs.h <<\_ACEOF
39527 #define HAVE_STATVFS 1
39532 wx_cv_type_statvfs_t="unknown"
39536 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39537 cat >>confdefs.h <<_ACEOF
39538 #define WX_STATFS_T $wx_cv_type_statvfs_t
39542 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39543 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39546 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39549 for ac_func in fcntl flock
39551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39552 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39554 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39555 echo $ECHO_N "(cached) $ECHO_C" >&6
39557 cat >conftest.$ac_ext <<_ACEOF
39560 cat confdefs.h >>conftest.$ac_ext
39561 cat >>conftest.$ac_ext <<_ACEOF
39562 /* end confdefs.h. */
39563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39565 #define $ac_func innocuous_$ac_func
39567 /* System header to define __stub macros and hopefully few prototypes,
39568 which can conflict with char $ac_func (); below.
39569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39570 <limits.h> exists even on freestanding compilers. */
39573 # include <limits.h>
39575 # include <assert.h>
39580 /* Override any GCC internal prototype to avoid an error.
39581 Use char because int might match the return type of a GCC
39582 builtin and then its argument prototype would still apply. */
39587 /* The GNU C library defines this for functions which it implements
39588 to always fail with ENOSYS. Some functions are actually named
39589 something starting with __ and the normal name is an alias. */
39590 #if defined __stub_$ac_func || defined __stub___$ac_func
39597 return $ac_func ();
39602 rm -f conftest.$ac_objext conftest$ac_exeext
39603 if { (ac_try="$ac_link"
39604 case "(($ac_try" in
39605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39606 *) ac_try_echo=$ac_try;;
39608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39609 (eval "$ac_link") 2>conftest.er1
39611 grep -v '^ *+' conftest.er1 >conftest.err
39613 cat conftest.err >&5
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); } && {
39616 test -z "$ac_c_werror_flag" ||
39617 test ! -s conftest.err
39618 } && test -s conftest$ac_exeext &&
39619 $as_test_x conftest$ac_exeext; then
39620 eval "$as_ac_var=yes"
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39625 eval "$as_ac_var=no"
39628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39629 conftest$ac_exeext conftest.$ac_ext
39631 ac_res=`eval echo '${'$as_ac_var'}'`
39632 { echo "$as_me:$LINENO: result: $ac_res" >&5
39633 echo "${ECHO_T}$ac_res" >&6; }
39634 if test `eval echo '${'$as_ac_var'}'` = yes; then
39635 cat >>confdefs.h <<_ACEOF
39636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39643 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39644 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39645 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39646 wxUSE_SNGLINST_CHECKER=no
39651 for ac_func in timegm
39653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39657 echo $ECHO_N "(cached) $ECHO_C" >&6
39659 cat >conftest.$ac_ext <<_ACEOF
39662 cat confdefs.h >>conftest.$ac_ext
39663 cat >>conftest.$ac_ext <<_ACEOF
39664 /* end confdefs.h. */
39665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39667 #define $ac_func innocuous_$ac_func
39669 /* System header to define __stub macros and hopefully few prototypes,
39670 which can conflict with char $ac_func (); below.
39671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39672 <limits.h> exists even on freestanding compilers. */
39675 # include <limits.h>
39677 # include <assert.h>
39682 /* Override any GCC internal prototype to avoid an error.
39683 Use char because int might match the return type of a GCC
39684 builtin and then its argument prototype would still apply. */
39689 /* The GNU C library defines this for functions which it implements
39690 to always fail with ENOSYS. Some functions are actually named
39691 something starting with __ and the normal name is an alias. */
39692 #if defined __stub_$ac_func || defined __stub___$ac_func
39699 return $ac_func ();
39704 rm -f conftest.$ac_objext conftest$ac_exeext
39705 if { (ac_try="$ac_link"
39706 case "(($ac_try" in
39707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39708 *) ac_try_echo=$ac_try;;
39710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39711 (eval "$ac_link") 2>conftest.er1
39713 grep -v '^ *+' conftest.er1 >conftest.err
39715 cat conftest.err >&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } && {
39718 test -z "$ac_c_werror_flag" ||
39719 test ! -s conftest.err
39720 } && test -s conftest$ac_exeext &&
39721 $as_test_x conftest$ac_exeext; then
39722 eval "$as_ac_var=yes"
39724 echo "$as_me: failed program was:" >&5
39725 sed 's/^/| /' conftest.$ac_ext >&5
39727 eval "$as_ac_var=no"
39730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39731 conftest$ac_exeext conftest.$ac_ext
39733 ac_res=`eval echo '${'$as_ac_var'}'`
39734 { echo "$as_me:$LINENO: result: $ac_res" >&5
39735 echo "${ECHO_T}$ac_res" >&6; }
39736 if test `eval echo '${'$as_ac_var'}'` = yes; then
39737 cat >>confdefs.h <<_ACEOF
39738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39747 for ac_func in setenv putenv
39749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39750 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39752 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39753 echo $ECHO_N "(cached) $ECHO_C" >&6
39755 cat >conftest.$ac_ext <<_ACEOF
39758 cat confdefs.h >>conftest.$ac_ext
39759 cat >>conftest.$ac_ext <<_ACEOF
39760 /* end confdefs.h. */
39761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39763 #define $ac_func innocuous_$ac_func
39765 /* System header to define __stub macros and hopefully few prototypes,
39766 which can conflict with char $ac_func (); below.
39767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39768 <limits.h> exists even on freestanding compilers. */
39771 # include <limits.h>
39773 # include <assert.h>
39778 /* Override any GCC internal prototype to avoid an error.
39779 Use char because int might match the return type of a GCC
39780 builtin and then its argument prototype would still apply. */
39785 /* The GNU C library defines this for functions which it implements
39786 to always fail with ENOSYS. Some functions are actually named
39787 something starting with __ and the normal name is an alias. */
39788 #if defined __stub_$ac_func || defined __stub___$ac_func
39795 return $ac_func ();
39800 rm -f conftest.$ac_objext conftest$ac_exeext
39801 if { (ac_try="$ac_link"
39802 case "(($ac_try" in
39803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39804 *) ac_try_echo=$ac_try;;
39806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39807 (eval "$ac_link") 2>conftest.er1
39809 grep -v '^ *+' conftest.er1 >conftest.err
39811 cat conftest.err >&5
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); } && {
39814 test -z "$ac_c_werror_flag" ||
39815 test ! -s conftest.err
39816 } && test -s conftest$ac_exeext &&
39817 $as_test_x conftest$ac_exeext; then
39818 eval "$as_ac_var=yes"
39820 echo "$as_me: failed program was:" >&5
39821 sed 's/^/| /' conftest.$ac_ext >&5
39823 eval "$as_ac_var=no"
39826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39827 conftest$ac_exeext conftest.$ac_ext
39829 ac_res=`eval echo '${'$as_ac_var'}'`
39830 { echo "$as_me:$LINENO: result: $ac_res" >&5
39831 echo "${ECHO_T}$ac_res" >&6; }
39832 if test `eval echo '${'$as_ac_var'}'` = yes; then
39833 cat >>confdefs.h <<_ACEOF
39834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39841 HAVE_SOME_SLEEP_FUNC=0
39842 if test "$USE_BEOS" = 1; then
39843 cat >>confdefs.h <<\_ACEOF
39844 #define HAVE_SLEEP 1
39847 HAVE_SOME_SLEEP_FUNC=1
39850 if test "$USE_DARWIN" = 1; then
39851 cat >>confdefs.h <<\_ACEOF
39852 #define HAVE_USLEEP 1
39855 HAVE_SOME_SLEEP_FUNC=1
39858 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39861 for ac_func in nanosleep
39863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39864 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39866 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39867 echo $ECHO_N "(cached) $ECHO_C" >&6
39869 cat >conftest.$ac_ext <<_ACEOF
39872 cat confdefs.h >>conftest.$ac_ext
39873 cat >>conftest.$ac_ext <<_ACEOF
39874 /* end confdefs.h. */
39875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39877 #define $ac_func innocuous_$ac_func
39879 /* System header to define __stub macros and hopefully few prototypes,
39880 which can conflict with char $ac_func (); below.
39881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39882 <limits.h> exists even on freestanding compilers. */
39885 # include <limits.h>
39887 # include <assert.h>
39892 /* Override any GCC internal prototype to avoid an error.
39893 Use char because int might match the return type of a GCC
39894 builtin and then its argument prototype would still apply. */
39899 /* The GNU C library defines this for functions which it implements
39900 to always fail with ENOSYS. Some functions are actually named
39901 something starting with __ and the normal name is an alias. */
39902 #if defined __stub_$ac_func || defined __stub___$ac_func
39909 return $ac_func ();
39914 rm -f conftest.$ac_objext conftest$ac_exeext
39915 if { (ac_try="$ac_link"
39916 case "(($ac_try" in
39917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39918 *) ac_try_echo=$ac_try;;
39920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39921 (eval "$ac_link") 2>conftest.er1
39923 grep -v '^ *+' conftest.er1 >conftest.err
39925 cat conftest.err >&5
39926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39927 (exit $ac_status); } && {
39928 test -z "$ac_c_werror_flag" ||
39929 test ! -s conftest.err
39930 } && test -s conftest$ac_exeext &&
39931 $as_test_x conftest$ac_exeext; then
39932 eval "$as_ac_var=yes"
39934 echo "$as_me: failed program was:" >&5
39935 sed 's/^/| /' conftest.$ac_ext >&5
39937 eval "$as_ac_var=no"
39940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39941 conftest$ac_exeext conftest.$ac_ext
39943 ac_res=`eval echo '${'$as_ac_var'}'`
39944 { echo "$as_me:$LINENO: result: $ac_res" >&5
39945 echo "${ECHO_T}$ac_res" >&6; }
39946 if test `eval echo '${'$as_ac_var'}'` = yes; then
39947 cat >>confdefs.h <<_ACEOF
39948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39950 cat >>confdefs.h <<\_ACEOF
39951 #define HAVE_NANOSLEEP 1
39956 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39957 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39958 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39959 echo $ECHO_N "(cached) $ECHO_C" >&6
39961 ac_check_lib_save_LIBS=$LIBS
39962 LIBS="-lposix4 $LIBS"
39963 cat >conftest.$ac_ext <<_ACEOF
39966 cat confdefs.h >>conftest.$ac_ext
39967 cat >>conftest.$ac_ext <<_ACEOF
39968 /* end confdefs.h. */
39970 /* Override any GCC internal prototype to avoid an error.
39971 Use char because int might match the return type of a GCC
39972 builtin and then its argument prototype would still apply. */
39980 return nanosleep ();
39985 rm -f conftest.$ac_objext conftest$ac_exeext
39986 if { (ac_try="$ac_link"
39987 case "(($ac_try" in
39988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39989 *) ac_try_echo=$ac_try;;
39991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39992 (eval "$ac_link") 2>conftest.er1
39994 grep -v '^ *+' conftest.er1 >conftest.err
39996 cat conftest.err >&5
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); } && {
39999 test -z "$ac_c_werror_flag" ||
40000 test ! -s conftest.err
40001 } && test -s conftest$ac_exeext &&
40002 $as_test_x conftest$ac_exeext; then
40003 ac_cv_lib_posix4_nanosleep=yes
40005 echo "$as_me: failed program was:" >&5
40006 sed 's/^/| /' conftest.$ac_ext >&5
40008 ac_cv_lib_posix4_nanosleep=no
40011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40012 conftest$ac_exeext conftest.$ac_ext
40013 LIBS=$ac_check_lib_save_LIBS
40015 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40016 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40017 if test $ac_cv_lib_posix4_nanosleep = yes; then
40019 cat >>confdefs.h <<\_ACEOF
40020 #define HAVE_NANOSLEEP 1
40023 POSIX4_LINK=" -lposix4"
40028 for wx_func in usleep
40030 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40031 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40032 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40033 echo $ECHO_N "(cached) $ECHO_C" >&6
40036 cat >conftest.$ac_ext <<_ACEOF
40040 cat confdefs.h >>conftest.$ac_ext
40041 cat >>conftest.$ac_ext <<_ACEOF
40042 /* end confdefs.h. */
40045 $ac_includes_default
40061 rm -f conftest.$ac_objext conftest$ac_exeext
40062 if { (ac_try="$ac_link"
40063 case "(($ac_try" in
40064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40065 *) ac_try_echo=$ac_try;;
40067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40068 (eval "$ac_link") 2>conftest.er1
40070 grep -v '^ *+' conftest.er1 >conftest.err
40072 cat conftest.err >&5
40073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40074 (exit $ac_status); } && {
40075 test -z "$ac_c_werror_flag" ||
40076 test ! -s conftest.err
40077 } && test -s conftest$ac_exeext &&
40078 $as_test_x conftest$ac_exeext; then
40079 eval wx_cv_func_$wx_func=yes
40081 echo "$as_me: failed program was:" >&5
40082 sed 's/^/| /' conftest.$ac_ext >&5
40084 eval wx_cv_func_$wx_func=no
40087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40088 conftest$ac_exeext conftest.$ac_ext
40091 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40092 { echo "$as_me:$LINENO: result: $ac_res" >&5
40093 echo "${ECHO_T}$ac_res" >&6; }
40095 if eval test \$wx_cv_func_$wx_func = yes
40097 cat >>confdefs.h <<_ACEOF
40098 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40104 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40105 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40122 for wx_func in uname
40124 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40125 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40126 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40127 echo $ECHO_N "(cached) $ECHO_C" >&6
40130 cat >conftest.$ac_ext <<_ACEOF
40134 cat confdefs.h >>conftest.$ac_ext
40135 cat >>conftest.$ac_ext <<_ACEOF
40136 /* end confdefs.h. */
40138 #include <sys/utsname.h>
40139 $ac_includes_default
40155 rm -f conftest.$ac_objext conftest$ac_exeext
40156 if { (ac_try="$ac_link"
40157 case "(($ac_try" in
40158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40159 *) ac_try_echo=$ac_try;;
40161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40162 (eval "$ac_link") 2>conftest.er1
40164 grep -v '^ *+' conftest.er1 >conftest.err
40166 cat conftest.err >&5
40167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40168 (exit $ac_status); } && {
40169 test -z "$ac_c_werror_flag" ||
40170 test ! -s conftest.err
40171 } && test -s conftest$ac_exeext &&
40172 $as_test_x conftest$ac_exeext; then
40173 eval wx_cv_func_$wx_func=yes
40175 echo "$as_me: failed program was:" >&5
40176 sed 's/^/| /' conftest.$ac_ext >&5
40178 eval wx_cv_func_$wx_func=no
40181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40182 conftest$ac_exeext conftest.$ac_ext
40185 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40186 { echo "$as_me:$LINENO: result: $ac_res" >&5
40187 echo "${ECHO_T}$ac_res" >&6; }
40189 if eval test \$wx_cv_func_$wx_func = yes
40191 cat >>confdefs.h <<_ACEOF
40192 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40202 if test "$wx_cv_func_uname" != yes; then
40204 for wx_func in gethostname
40206 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40207 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40208 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40209 echo $ECHO_N "(cached) $ECHO_C" >&6
40212 cat >conftest.$ac_ext <<_ACEOF
40216 cat confdefs.h >>conftest.$ac_ext
40217 cat >>conftest.$ac_ext <<_ACEOF
40218 /* end confdefs.h. */
40221 $ac_includes_default
40237 rm -f conftest.$ac_objext conftest$ac_exeext
40238 if { (ac_try="$ac_link"
40239 case "(($ac_try" in
40240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40241 *) ac_try_echo=$ac_try;;
40243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40244 (eval "$ac_link") 2>conftest.er1
40246 grep -v '^ *+' conftest.er1 >conftest.err
40248 cat conftest.err >&5
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); } && {
40251 test -z "$ac_c_werror_flag" ||
40252 test ! -s conftest.err
40253 } && test -s conftest$ac_exeext &&
40254 $as_test_x conftest$ac_exeext; then
40255 eval wx_cv_func_$wx_func=yes
40257 echo "$as_me: failed program was:" >&5
40258 sed 's/^/| /' conftest.$ac_ext >&5
40260 eval wx_cv_func_$wx_func=no
40263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40264 conftest$ac_exeext conftest.$ac_ext
40267 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40268 { echo "$as_me:$LINENO: result: $ac_res" >&5
40269 echo "${ECHO_T}$ac_res" >&6; }
40271 if eval test \$wx_cv_func_$wx_func = yes
40273 cat >>confdefs.h <<_ACEOF
40274 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40287 for wx_func in strtok_r
40289 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40290 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40291 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40292 echo $ECHO_N "(cached) $ECHO_C" >&6
40295 cat >conftest.$ac_ext <<_ACEOF
40299 cat confdefs.h >>conftest.$ac_ext
40300 cat >>conftest.$ac_ext <<_ACEOF
40301 /* end confdefs.h. */
40304 $ac_includes_default
40320 rm -f conftest.$ac_objext conftest$ac_exeext
40321 if { (ac_try="$ac_link"
40322 case "(($ac_try" in
40323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40324 *) ac_try_echo=$ac_try;;
40326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40327 (eval "$ac_link") 2>conftest.er1
40329 grep -v '^ *+' conftest.er1 >conftest.err
40331 cat conftest.err >&5
40332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40333 (exit $ac_status); } && {
40334 test -z "$ac_c_werror_flag" ||
40335 test ! -s conftest.err
40336 } && test -s conftest$ac_exeext &&
40337 $as_test_x conftest$ac_exeext; then
40338 eval wx_cv_func_$wx_func=yes
40340 echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.$ac_ext >&5
40343 eval wx_cv_func_$wx_func=no
40346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40347 conftest$ac_exeext conftest.$ac_ext
40350 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40351 { echo "$as_me:$LINENO: result: $ac_res" >&5
40352 echo "${ECHO_T}$ac_res" >&6; }
40354 if eval test \$wx_cv_func_$wx_func = yes
40356 cat >>confdefs.h <<_ACEOF
40357 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40370 for ac_func in inet_addr
40372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40373 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40375 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40376 echo $ECHO_N "(cached) $ECHO_C" >&6
40378 cat >conftest.$ac_ext <<_ACEOF
40381 cat confdefs.h >>conftest.$ac_ext
40382 cat >>conftest.$ac_ext <<_ACEOF
40383 /* end confdefs.h. */
40384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40386 #define $ac_func innocuous_$ac_func
40388 /* System header to define __stub macros and hopefully few prototypes,
40389 which can conflict with char $ac_func (); below.
40390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40391 <limits.h> exists even on freestanding compilers. */
40394 # include <limits.h>
40396 # include <assert.h>
40401 /* Override any GCC internal prototype to avoid an error.
40402 Use char because int might match the return type of a GCC
40403 builtin and then its argument prototype would still apply. */
40408 /* The GNU C library defines this for functions which it implements
40409 to always fail with ENOSYS. Some functions are actually named
40410 something starting with __ and the normal name is an alias. */
40411 #if defined __stub_$ac_func || defined __stub___$ac_func
40418 return $ac_func ();
40423 rm -f conftest.$ac_objext conftest$ac_exeext
40424 if { (ac_try="$ac_link"
40425 case "(($ac_try" in
40426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40427 *) ac_try_echo=$ac_try;;
40429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40430 (eval "$ac_link") 2>conftest.er1
40432 grep -v '^ *+' conftest.er1 >conftest.err
40434 cat conftest.err >&5
40435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40436 (exit $ac_status); } && {
40437 test -z "$ac_c_werror_flag" ||
40438 test ! -s conftest.err
40439 } && test -s conftest$ac_exeext &&
40440 $as_test_x conftest$ac_exeext; then
40441 eval "$as_ac_var=yes"
40443 echo "$as_me: failed program was:" >&5
40444 sed 's/^/| /' conftest.$ac_ext >&5
40446 eval "$as_ac_var=no"
40449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40450 conftest$ac_exeext conftest.$ac_ext
40452 ac_res=`eval echo '${'$as_ac_var'}'`
40453 { echo "$as_me:$LINENO: result: $ac_res" >&5
40454 echo "${ECHO_T}$ac_res" >&6; }
40455 if test `eval echo '${'$as_ac_var'}'` = yes; then
40456 cat >>confdefs.h <<_ACEOF
40457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40459 cat >>confdefs.h <<\_ACEOF
40460 #define HAVE_INET_ADDR 1
40465 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40466 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40467 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40468 echo $ECHO_N "(cached) $ECHO_C" >&6
40470 ac_check_lib_save_LIBS=$LIBS
40472 cat >conftest.$ac_ext <<_ACEOF
40475 cat confdefs.h >>conftest.$ac_ext
40476 cat >>conftest.$ac_ext <<_ACEOF
40477 /* end confdefs.h. */
40479 /* Override any GCC internal prototype to avoid an error.
40480 Use char because int might match the return type of a GCC
40481 builtin and then its argument prototype would still apply. */
40489 return inet_addr ();
40494 rm -f conftest.$ac_objext conftest$ac_exeext
40495 if { (ac_try="$ac_link"
40496 case "(($ac_try" in
40497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40498 *) ac_try_echo=$ac_try;;
40500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40501 (eval "$ac_link") 2>conftest.er1
40503 grep -v '^ *+' conftest.er1 >conftest.err
40505 cat conftest.err >&5
40506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40507 (exit $ac_status); } && {
40508 test -z "$ac_c_werror_flag" ||
40509 test ! -s conftest.err
40510 } && test -s conftest$ac_exeext &&
40511 $as_test_x conftest$ac_exeext; then
40512 ac_cv_lib_nsl_inet_addr=yes
40514 echo "$as_me: failed program was:" >&5
40515 sed 's/^/| /' conftest.$ac_ext >&5
40517 ac_cv_lib_nsl_inet_addr=no
40520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40521 conftest$ac_exeext conftest.$ac_ext
40522 LIBS=$ac_check_lib_save_LIBS
40524 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40525 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40526 if test $ac_cv_lib_nsl_inet_addr = yes; then
40530 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40531 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40532 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40533 echo $ECHO_N "(cached) $ECHO_C" >&6
40535 ac_check_lib_save_LIBS=$LIBS
40536 LIBS="-lresolv $LIBS"
40537 cat >conftest.$ac_ext <<_ACEOF
40540 cat confdefs.h >>conftest.$ac_ext
40541 cat >>conftest.$ac_ext <<_ACEOF
40542 /* end confdefs.h. */
40544 /* Override any GCC internal prototype to avoid an error.
40545 Use char because int might match the return type of a GCC
40546 builtin and then its argument prototype would still apply. */
40554 return inet_addr ();
40559 rm -f conftest.$ac_objext conftest$ac_exeext
40560 if { (ac_try="$ac_link"
40561 case "(($ac_try" in
40562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40563 *) ac_try_echo=$ac_try;;
40565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40566 (eval "$ac_link") 2>conftest.er1
40568 grep -v '^ *+' conftest.er1 >conftest.err
40570 cat conftest.err >&5
40571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572 (exit $ac_status); } && {
40573 test -z "$ac_c_werror_flag" ||
40574 test ! -s conftest.err
40575 } && test -s conftest$ac_exeext &&
40576 $as_test_x conftest$ac_exeext; then
40577 ac_cv_lib_resolv_inet_addr=yes
40579 echo "$as_me: failed program was:" >&5
40580 sed 's/^/| /' conftest.$ac_ext >&5
40582 ac_cv_lib_resolv_inet_addr=no
40585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40586 conftest$ac_exeext conftest.$ac_ext
40587 LIBS=$ac_check_lib_save_LIBS
40589 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40590 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40591 if test $ac_cv_lib_resolv_inet_addr = yes; then
40595 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40596 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40597 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40598 echo $ECHO_N "(cached) $ECHO_C" >&6
40600 ac_check_lib_save_LIBS=$LIBS
40601 LIBS="-lsocket $LIBS"
40602 cat >conftest.$ac_ext <<_ACEOF
40605 cat confdefs.h >>conftest.$ac_ext
40606 cat >>conftest.$ac_ext <<_ACEOF
40607 /* end confdefs.h. */
40609 /* Override any GCC internal prototype to avoid an error.
40610 Use char because int might match the return type of a GCC
40611 builtin and then its argument prototype would still apply. */
40619 return inet_addr ();
40624 rm -f conftest.$ac_objext conftest$ac_exeext
40625 if { (ac_try="$ac_link"
40626 case "(($ac_try" in
40627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40628 *) ac_try_echo=$ac_try;;
40630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40631 (eval "$ac_link") 2>conftest.er1
40633 grep -v '^ *+' conftest.er1 >conftest.err
40635 cat conftest.err >&5
40636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40637 (exit $ac_status); } && {
40638 test -z "$ac_c_werror_flag" ||
40639 test ! -s conftest.err
40640 } && test -s conftest$ac_exeext &&
40641 $as_test_x conftest$ac_exeext; then
40642 ac_cv_lib_socket_inet_addr=yes
40644 echo "$as_me: failed program was:" >&5
40645 sed 's/^/| /' conftest.$ac_ext >&5
40647 ac_cv_lib_socket_inet_addr=no
40650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40651 conftest$ac_exeext conftest.$ac_ext
40652 LIBS=$ac_check_lib_save_LIBS
40654 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40655 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40656 if test $ac_cv_lib_socket_inet_addr = yes; then
40676 for ac_func in inet_aton
40678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40679 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40681 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40682 echo $ECHO_N "(cached) $ECHO_C" >&6
40684 cat >conftest.$ac_ext <<_ACEOF
40687 cat confdefs.h >>conftest.$ac_ext
40688 cat >>conftest.$ac_ext <<_ACEOF
40689 /* end confdefs.h. */
40690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40692 #define $ac_func innocuous_$ac_func
40694 /* System header to define __stub macros and hopefully few prototypes,
40695 which can conflict with char $ac_func (); below.
40696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40697 <limits.h> exists even on freestanding compilers. */
40700 # include <limits.h>
40702 # include <assert.h>
40707 /* Override any GCC internal prototype to avoid an error.
40708 Use char because int might match the return type of a GCC
40709 builtin and then its argument prototype would still apply. */
40714 /* The GNU C library defines this for functions which it implements
40715 to always fail with ENOSYS. Some functions are actually named
40716 something starting with __ and the normal name is an alias. */
40717 #if defined __stub_$ac_func || defined __stub___$ac_func
40724 return $ac_func ();
40729 rm -f conftest.$ac_objext conftest$ac_exeext
40730 if { (ac_try="$ac_link"
40731 case "(($ac_try" in
40732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40733 *) ac_try_echo=$ac_try;;
40735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40736 (eval "$ac_link") 2>conftest.er1
40738 grep -v '^ *+' conftest.er1 >conftest.err
40740 cat conftest.err >&5
40741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40742 (exit $ac_status); } && {
40743 test -z "$ac_c_werror_flag" ||
40744 test ! -s conftest.err
40745 } && test -s conftest$ac_exeext &&
40746 $as_test_x conftest$ac_exeext; then
40747 eval "$as_ac_var=yes"
40749 echo "$as_me: failed program was:" >&5
40750 sed 's/^/| /' conftest.$ac_ext >&5
40752 eval "$as_ac_var=no"
40755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40756 conftest$ac_exeext conftest.$ac_ext
40758 ac_res=`eval echo '${'$as_ac_var'}'`
40759 { echo "$as_me:$LINENO: result: $ac_res" >&5
40760 echo "${ECHO_T}$ac_res" >&6; }
40761 if test `eval echo '${'$as_ac_var'}'` = yes; then
40762 cat >>confdefs.h <<_ACEOF
40763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40765 cat >>confdefs.h <<\_ACEOF
40766 #define HAVE_INET_ATON 1
40771 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40772 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40773 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40774 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40775 echo $ECHO_N "(cached) $ECHO_C" >&6
40777 ac_check_lib_save_LIBS=$LIBS
40778 LIBS="-l$INET_LINK $LIBS"
40779 cat >conftest.$ac_ext <<_ACEOF
40782 cat confdefs.h >>conftest.$ac_ext
40783 cat >>conftest.$ac_ext <<_ACEOF
40784 /* end confdefs.h. */
40786 /* Override any GCC internal prototype to avoid an error.
40787 Use char because int might match the return type of a GCC
40788 builtin and then its argument prototype would still apply. */
40796 return inet_aton ();
40801 rm -f conftest.$ac_objext conftest$ac_exeext
40802 if { (ac_try="$ac_link"
40803 case "(($ac_try" in
40804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40805 *) ac_try_echo=$ac_try;;
40807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40808 (eval "$ac_link") 2>conftest.er1
40810 grep -v '^ *+' conftest.er1 >conftest.err
40812 cat conftest.err >&5
40813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40814 (exit $ac_status); } && {
40815 test -z "$ac_c_werror_flag" ||
40816 test ! -s conftest.err
40817 } && test -s conftest$ac_exeext &&
40818 $as_test_x conftest$ac_exeext; then
40819 eval "$as_ac_Lib=yes"
40821 echo "$as_me: failed program was:" >&5
40822 sed 's/^/| /' conftest.$ac_ext >&5
40824 eval "$as_ac_Lib=no"
40827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40828 conftest$ac_exeext conftest.$ac_ext
40829 LIBS=$ac_check_lib_save_LIBS
40831 ac_res=`eval echo '${'$as_ac_Lib'}'`
40832 { echo "$as_me:$LINENO: result: $ac_res" >&5
40833 echo "${ECHO_T}$ac_res" >&6; }
40834 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40835 cat >>confdefs.h <<\_ACEOF
40836 #define HAVE_INET_ATON 1
40846 if test "x$INET_LINK" != "x"; then
40847 cat >>confdefs.h <<\_ACEOF
40848 #define HAVE_INET_ADDR 1
40851 INET_LINK=" -l$INET_LINK"
40855 for wx_func in fdopen
40857 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40858 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40859 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40860 echo $ECHO_N "(cached) $ECHO_C" >&6
40863 cat >conftest.$ac_ext <<_ACEOF
40867 cat confdefs.h >>conftest.$ac_ext
40868 cat >>conftest.$ac_ext <<_ACEOF
40869 /* end confdefs.h. */
40872 $ac_includes_default
40888 rm -f conftest.$ac_objext conftest$ac_exeext
40889 if { (ac_try="$ac_link"
40890 case "(($ac_try" in
40891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40892 *) ac_try_echo=$ac_try;;
40894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40895 (eval "$ac_link") 2>conftest.er1
40897 grep -v '^ *+' conftest.er1 >conftest.err
40899 cat conftest.err >&5
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); } && {
40902 test -z "$ac_c_werror_flag" ||
40903 test ! -s conftest.err
40904 } && test -s conftest$ac_exeext &&
40905 $as_test_x conftest$ac_exeext; then
40906 eval wx_cv_func_$wx_func=yes
40908 echo "$as_me: failed program was:" >&5
40909 sed 's/^/| /' conftest.$ac_ext >&5
40911 eval wx_cv_func_$wx_func=no
40914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40915 conftest$ac_exeext conftest.$ac_ext
40918 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40919 { echo "$as_me:$LINENO: result: $ac_res" >&5
40920 echo "${ECHO_T}$ac_res" >&6; }
40922 if eval test \$wx_cv_func_$wx_func = yes
40924 cat >>confdefs.h <<_ACEOF
40925 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40940 cat >confcache <<\_ACEOF
40941 # This file is a shell script that caches the results of configure
40942 # tests run on this system so they can be shared between configure
40943 # scripts and configure runs, see configure's option --config-cache.
40944 # It is not useful on other systems. If it contains results you don't
40945 # want to keep, you may remove or edit it.
40947 # config.status only pays attention to the cache file if you give it
40948 # the --recheck option to rerun configure.
40950 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40952 # following values.
40956 # The following way of writing the cache mishandles newlines in values,
40957 # but we know of no workaround that is simple, portable, and efficient.
40958 # So, we kill variables containing newlines.
40959 # Ultrix sh set writes to stderr and can't be redirected directly,
40960 # and sets the high bit in the cache file unless we assign to the vars.
40962 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40963 eval ac_val=\$$ac_var
40967 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40968 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40971 _ | IFS | as_nl) ;; #(
40972 *) $as_unset $ac_var ;;
40978 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40979 *${as_nl}ac_space=\ *)
40980 # `set' does not quote correctly, so add quotes (double-quote
40981 # substitution turns \\\\ into \\, and sed turns \\ into \).
40984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40987 # `set' quotes correctly as required by POSIX, so do not add quotes.
40988 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40997 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40999 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41001 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41002 if test -w "$cache_file"; then
41003 test "x$cache_file" != "x/dev/null" &&
41004 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41005 echo "$as_me: updating cache $cache_file" >&6;}
41006 cat confcache >$cache_file
41008 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41009 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41015 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41021 if test "$wxUSE_THREADS" = "yes" ; then
41022 if test "$USE_BEOS" = 1; then
41023 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41024 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41029 if test "$wxUSE_THREADS" = "yes" ; then
41032 THREAD_OPTS="-pthread"
41033 if test "x$SUNCXX" = xyes; then
41034 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41038 *-*-solaris2* | *-*-sunos4* )
41039 if test "x$GCC" = "xyes"; then
41040 THREAD_OPTS="-pthreads $THREAD_OPTS"
41044 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41046 *-*-darwin* | *-*-cygwin* )
41050 THREAD_OPTS="pthreads"
41053 if test "x$GCC" = "xyes"; then
41054 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41062 if test "x$GCC" = "xyes"; then
41068 if test "x$GCC" != "xyes"; then
41069 THREAD_OPTS="-Ethread"
41074 THREAD_OPTS="$THREAD_OPTS pthread none"
41077 for flag in $THREAD_OPTS; do
41080 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41081 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41085 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41086 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41087 THREADS_CFLAGS="$flag"
41091 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41092 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41093 THREADS_LINK="-l$flag"
41098 save_CFLAGS="$CFLAGS"
41099 LIBS="$THREADS_LINK $LIBS"
41100 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41102 cat >conftest.$ac_ext <<_ACEOF
41105 cat confdefs.h >>conftest.$ac_ext
41106 cat >>conftest.$ac_ext <<_ACEOF
41107 /* end confdefs.h. */
41108 #include <pthread.h>
41112 pthread_create(0,0,0,0);
41117 rm -f conftest.$ac_objext conftest$ac_exeext
41118 if { (ac_try="$ac_link"
41119 case "(($ac_try" in
41120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41121 *) ac_try_echo=$ac_try;;
41123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41124 (eval "$ac_link") 2>conftest.er1
41126 grep -v '^ *+' conftest.er1 >conftest.err
41128 cat conftest.err >&5
41129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41130 (exit $ac_status); } && {
41131 test -z "$ac_c_werror_flag" ||
41132 test ! -s conftest.err
41133 } && test -s conftest$ac_exeext &&
41134 $as_test_x conftest$ac_exeext; then
41137 echo "$as_me: failed program was:" >&5
41138 sed 's/^/| /' conftest.$ac_ext >&5
41143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41144 conftest$ac_exeext conftest.$ac_ext
41147 CFLAGS="$save_CFLAGS"
41149 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41150 echo "${ECHO_T}$THREADS_OK" >&6; }
41151 if test "x$THREADS_OK" = "xyes"; then
41159 if test "x$THREADS_OK" != "xyes"; then
41161 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41162 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41164 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41165 LIBS="$THREADS_LINK $LIBS"
41167 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41168 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41172 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41173 flag="-D_THREAD_SAFE"
41176 flag="-D_THREAD_SAFE"
41179 flag="-D_REENTRANT"
41180 if test "x$GCC" != "xyes"; then
41181 flag="$flag -D_RWSTD_MULTI_THREAD"
41184 *solaris* | alpha*-osf*)
41185 flag="-D_REENTRANT"
41188 { echo "$as_me:$LINENO: result: ${flag}" >&5
41189 echo "${ECHO_T}${flag}" >&6; }
41190 if test "x$flag" != xno; then
41191 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41194 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41198 if test "$wxUSE_THREADS" = "yes" ; then
41200 for ac_func in thr_setconcurrency
41202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41203 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41205 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41206 echo $ECHO_N "(cached) $ECHO_C" >&6
41208 cat >conftest.$ac_ext <<_ACEOF
41211 cat confdefs.h >>conftest.$ac_ext
41212 cat >>conftest.$ac_ext <<_ACEOF
41213 /* end confdefs.h. */
41214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41216 #define $ac_func innocuous_$ac_func
41218 /* System header to define __stub macros and hopefully few prototypes,
41219 which can conflict with char $ac_func (); below.
41220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41221 <limits.h> exists even on freestanding compilers. */
41224 # include <limits.h>
41226 # include <assert.h>
41231 /* Override any GCC internal prototype to avoid an error.
41232 Use char because int might match the return type of a GCC
41233 builtin and then its argument prototype would still apply. */
41238 /* The GNU C library defines this for functions which it implements
41239 to always fail with ENOSYS. Some functions are actually named
41240 something starting with __ and the normal name is an alias. */
41241 #if defined __stub_$ac_func || defined __stub___$ac_func
41248 return $ac_func ();
41253 rm -f conftest.$ac_objext conftest$ac_exeext
41254 if { (ac_try="$ac_link"
41255 case "(($ac_try" in
41256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41257 *) ac_try_echo=$ac_try;;
41259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41260 (eval "$ac_link") 2>conftest.er1
41262 grep -v '^ *+' conftest.er1 >conftest.err
41264 cat conftest.err >&5
41265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41266 (exit $ac_status); } && {
41267 test -z "$ac_c_werror_flag" ||
41268 test ! -s conftest.err
41269 } && test -s conftest$ac_exeext &&
41270 $as_test_x conftest$ac_exeext; then
41271 eval "$as_ac_var=yes"
41273 echo "$as_me: failed program was:" >&5
41274 sed 's/^/| /' conftest.$ac_ext >&5
41276 eval "$as_ac_var=no"
41279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41280 conftest$ac_exeext conftest.$ac_ext
41282 ac_res=`eval echo '${'$as_ac_var'}'`
41283 { echo "$as_me:$LINENO: result: $ac_res" >&5
41284 echo "${ECHO_T}$ac_res" >&6; }
41285 if test `eval echo '${'$as_ac_var'}'` = yes; then
41286 cat >>confdefs.h <<_ACEOF
41287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41294 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41295 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41296 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41297 echo $ECHO_N "(cached) $ECHO_C" >&6
41301 ac_cpp='$CXXCPP $CPPFLAGS'
41302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41306 cat >conftest.$ac_ext <<_ACEOF
41309 cat confdefs.h >>conftest.$ac_ext
41310 cat >>conftest.$ac_ext <<_ACEOF
41311 /* end confdefs.h. */
41312 #include <pthread.h>
41313 void ThreadCleanupFunc(void *p);
41320 pthread_cleanup_push(ThreadCleanupFunc, p);
41321 pthread_cleanup_pop(0);
41327 rm -f conftest.$ac_objext
41328 if { (ac_try="$ac_compile"
41329 case "(($ac_try" in
41330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41331 *) ac_try_echo=$ac_try;;
41333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41334 (eval "$ac_compile") 2>conftest.er1
41336 grep -v '^ *+' conftest.er1 >conftest.err
41338 cat conftest.err >&5
41339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41340 (exit $ac_status); } && {
41341 test -z "$ac_cxx_werror_flag" ||
41342 test ! -s conftest.err
41343 } && test -s conftest.$ac_objext; then
41345 wx_cv_func_pthread_cleanup=yes
41348 echo "$as_me: failed program was:" >&5
41349 sed 's/^/| /' conftest.$ac_ext >&5
41352 wx_cv_func_pthread_cleanup=no
41357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41359 ac_cpp='$CPP $CPPFLAGS'
41360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41366 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41367 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41368 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41369 cat >>confdefs.h <<\_ACEOF
41370 #define wxHAVE_PTHREAD_CLEANUP 1
41376 for ac_header in sched.h
41378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41379 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41381 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41382 echo $ECHO_N "(cached) $ECHO_C" >&6
41384 cat >conftest.$ac_ext <<_ACEOF
41387 cat confdefs.h >>conftest.$ac_ext
41388 cat >>conftest.$ac_ext <<_ACEOF
41389 /* end confdefs.h. */
41390 $ac_includes_default
41392 #include <$ac_header>
41394 rm -f conftest.$ac_objext
41395 if { (ac_try="$ac_compile"
41396 case "(($ac_try" in
41397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41398 *) ac_try_echo=$ac_try;;
41400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41401 (eval "$ac_compile") 2>conftest.er1
41403 grep -v '^ *+' conftest.er1 >conftest.err
41405 cat conftest.err >&5
41406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41407 (exit $ac_status); } && {
41408 test -z "$ac_c_werror_flag" ||
41409 test ! -s conftest.err
41410 } && test -s conftest.$ac_objext; then
41411 eval "$as_ac_Header=yes"
41413 echo "$as_me: failed program was:" >&5
41414 sed 's/^/| /' conftest.$ac_ext >&5
41416 eval "$as_ac_Header=no"
41419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41421 ac_res=`eval echo '${'$as_ac_Header'}'`
41422 { echo "$as_me:$LINENO: result: $ac_res" >&5
41423 echo "${ECHO_T}$ac_res" >&6; }
41424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41425 cat >>confdefs.h <<_ACEOF
41426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41433 if test "$ac_cv_header_sched_h" = "yes"; then
41434 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41435 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41436 if test "${ac_cv_func_sched_yield+set}" = set; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41439 cat >conftest.$ac_ext <<_ACEOF
41442 cat confdefs.h >>conftest.$ac_ext
41443 cat >>conftest.$ac_ext <<_ACEOF
41444 /* end confdefs.h. */
41445 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41447 #define sched_yield innocuous_sched_yield
41449 /* System header to define __stub macros and hopefully few prototypes,
41450 which can conflict with char sched_yield (); below.
41451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41452 <limits.h> exists even on freestanding compilers. */
41455 # include <limits.h>
41457 # include <assert.h>
41462 /* Override any GCC internal prototype to avoid an error.
41463 Use char because int might match the return type of a GCC
41464 builtin and then its argument prototype would still apply. */
41468 char sched_yield ();
41469 /* The GNU C library defines this for functions which it implements
41470 to always fail with ENOSYS. Some functions are actually named
41471 something starting with __ and the normal name is an alias. */
41472 #if defined __stub_sched_yield || defined __stub___sched_yield
41479 return sched_yield ();
41484 rm -f conftest.$ac_objext conftest$ac_exeext
41485 if { (ac_try="$ac_link"
41486 case "(($ac_try" in
41487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41488 *) ac_try_echo=$ac_try;;
41490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41491 (eval "$ac_link") 2>conftest.er1
41493 grep -v '^ *+' conftest.er1 >conftest.err
41495 cat conftest.err >&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); } && {
41498 test -z "$ac_c_werror_flag" ||
41499 test ! -s conftest.err
41500 } && test -s conftest$ac_exeext &&
41501 $as_test_x conftest$ac_exeext; then
41502 ac_cv_func_sched_yield=yes
41504 echo "$as_me: failed program was:" >&5
41505 sed 's/^/| /' conftest.$ac_ext >&5
41507 ac_cv_func_sched_yield=no
41510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41511 conftest$ac_exeext conftest.$ac_ext
41513 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41514 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41515 if test $ac_cv_func_sched_yield = yes; then
41516 cat >>confdefs.h <<\_ACEOF
41517 #define HAVE_SCHED_YIELD 1
41522 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41523 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41524 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41525 echo $ECHO_N "(cached) $ECHO_C" >&6
41527 ac_check_lib_save_LIBS=$LIBS
41528 LIBS="-lposix4 $LIBS"
41529 cat >conftest.$ac_ext <<_ACEOF
41532 cat confdefs.h >>conftest.$ac_ext
41533 cat >>conftest.$ac_ext <<_ACEOF
41534 /* end confdefs.h. */
41536 /* Override any GCC internal prototype to avoid an error.
41537 Use char because int might match the return type of a GCC
41538 builtin and then its argument prototype would still apply. */
41542 char sched_yield ();
41546 return sched_yield ();
41551 rm -f conftest.$ac_objext conftest$ac_exeext
41552 if { (ac_try="$ac_link"
41553 case "(($ac_try" in
41554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41555 *) ac_try_echo=$ac_try;;
41557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41558 (eval "$ac_link") 2>conftest.er1
41560 grep -v '^ *+' conftest.er1 >conftest.err
41562 cat conftest.err >&5
41563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41564 (exit $ac_status); } && {
41565 test -z "$ac_c_werror_flag" ||
41566 test ! -s conftest.err
41567 } && test -s conftest$ac_exeext &&
41568 $as_test_x conftest$ac_exeext; then
41569 ac_cv_lib_posix4_sched_yield=yes
41571 echo "$as_me: failed program was:" >&5
41572 sed 's/^/| /' conftest.$ac_ext >&5
41574 ac_cv_lib_posix4_sched_yield=no
41577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41578 conftest$ac_exeext conftest.$ac_ext
41579 LIBS=$ac_check_lib_save_LIBS
41581 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41582 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41583 if test $ac_cv_lib_posix4_sched_yield = yes; then
41584 cat >>confdefs.h <<\_ACEOF
41585 #define HAVE_SCHED_YIELD 1
41587 POSIX4_LINK=" -lposix4"
41589 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41590 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41601 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41602 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41603 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41604 echo $ECHO_N "(cached) $ECHO_C" >&6
41606 cat >conftest.$ac_ext <<_ACEOF
41609 cat confdefs.h >>conftest.$ac_ext
41610 cat >>conftest.$ac_ext <<_ACEOF
41611 /* end confdefs.h. */
41612 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41614 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41616 /* System header to define __stub macros and hopefully few prototypes,
41617 which can conflict with char pthread_attr_getschedpolicy (); below.
41618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41619 <limits.h> exists even on freestanding compilers. */
41622 # include <limits.h>
41624 # include <assert.h>
41627 #undef pthread_attr_getschedpolicy
41629 /* Override any GCC internal prototype to avoid an error.
41630 Use char because int might match the return type of a GCC
41631 builtin and then its argument prototype would still apply. */
41635 char pthread_attr_getschedpolicy ();
41636 /* The GNU C library defines this for functions which it implements
41637 to always fail with ENOSYS. Some functions are actually named
41638 something starting with __ and the normal name is an alias. */
41639 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41646 return pthread_attr_getschedpolicy ();
41651 rm -f conftest.$ac_objext conftest$ac_exeext
41652 if { (ac_try="$ac_link"
41653 case "(($ac_try" in
41654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41655 *) ac_try_echo=$ac_try;;
41657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41658 (eval "$ac_link") 2>conftest.er1
41660 grep -v '^ *+' conftest.er1 >conftest.err
41662 cat conftest.err >&5
41663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41664 (exit $ac_status); } && {
41665 test -z "$ac_c_werror_flag" ||
41666 test ! -s conftest.err
41667 } && test -s conftest$ac_exeext &&
41668 $as_test_x conftest$ac_exeext; then
41669 ac_cv_func_pthread_attr_getschedpolicy=yes
41671 echo "$as_me: failed program was:" >&5
41672 sed 's/^/| /' conftest.$ac_ext >&5
41674 ac_cv_func_pthread_attr_getschedpolicy=no
41677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41678 conftest$ac_exeext conftest.$ac_ext
41680 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41681 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41682 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41683 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41684 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41685 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41686 echo $ECHO_N "(cached) $ECHO_C" >&6
41688 cat >conftest.$ac_ext <<_ACEOF
41691 cat confdefs.h >>conftest.$ac_ext
41692 cat >>conftest.$ac_ext <<_ACEOF
41693 /* end confdefs.h. */
41694 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41696 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41698 /* System header to define __stub macros and hopefully few prototypes,
41699 which can conflict with char pthread_attr_setschedparam (); below.
41700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41701 <limits.h> exists even on freestanding compilers. */
41704 # include <limits.h>
41706 # include <assert.h>
41709 #undef pthread_attr_setschedparam
41711 /* Override any GCC internal prototype to avoid an error.
41712 Use char because int might match the return type of a GCC
41713 builtin and then its argument prototype would still apply. */
41717 char pthread_attr_setschedparam ();
41718 /* The GNU C library defines this for functions which it implements
41719 to always fail with ENOSYS. Some functions are actually named
41720 something starting with __ and the normal name is an alias. */
41721 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41728 return pthread_attr_setschedparam ();
41733 rm -f conftest.$ac_objext conftest$ac_exeext
41734 if { (ac_try="$ac_link"
41735 case "(($ac_try" in
41736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41737 *) ac_try_echo=$ac_try;;
41739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41740 (eval "$ac_link") 2>conftest.er1
41742 grep -v '^ *+' conftest.er1 >conftest.err
41744 cat conftest.err >&5
41745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41746 (exit $ac_status); } && {
41747 test -z "$ac_c_werror_flag" ||
41748 test ! -s conftest.err
41749 } && test -s conftest$ac_exeext &&
41750 $as_test_x conftest$ac_exeext; then
41751 ac_cv_func_pthread_attr_setschedparam=yes
41753 echo "$as_me: failed program was:" >&5
41754 sed 's/^/| /' conftest.$ac_ext >&5
41756 ac_cv_func_pthread_attr_setschedparam=no
41759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41760 conftest$ac_exeext conftest.$ac_ext
41762 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41763 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41764 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41765 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41766 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41767 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41768 echo $ECHO_N "(cached) $ECHO_C" >&6
41770 cat >conftest.$ac_ext <<_ACEOF
41773 cat confdefs.h >>conftest.$ac_ext
41774 cat >>conftest.$ac_ext <<_ACEOF
41775 /* end confdefs.h. */
41776 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41778 #define sched_get_priority_max innocuous_sched_get_priority_max
41780 /* System header to define __stub macros and hopefully few prototypes,
41781 which can conflict with char sched_get_priority_max (); below.
41782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41783 <limits.h> exists even on freestanding compilers. */
41786 # include <limits.h>
41788 # include <assert.h>
41791 #undef sched_get_priority_max
41793 /* Override any GCC internal prototype to avoid an error.
41794 Use char because int might match the return type of a GCC
41795 builtin and then its argument prototype would still apply. */
41799 char sched_get_priority_max ();
41800 /* The GNU C library defines this for functions which it implements
41801 to always fail with ENOSYS. Some functions are actually named
41802 something starting with __ and the normal name is an alias. */
41803 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41810 return sched_get_priority_max ();
41815 rm -f conftest.$ac_objext conftest$ac_exeext
41816 if { (ac_try="$ac_link"
41817 case "(($ac_try" in
41818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41819 *) ac_try_echo=$ac_try;;
41821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41822 (eval "$ac_link") 2>conftest.er1
41824 grep -v '^ *+' conftest.er1 >conftest.err
41826 cat conftest.err >&5
41827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41828 (exit $ac_status); } && {
41829 test -z "$ac_c_werror_flag" ||
41830 test ! -s conftest.err
41831 } && test -s conftest$ac_exeext &&
41832 $as_test_x conftest$ac_exeext; then
41833 ac_cv_func_sched_get_priority_max=yes
41835 echo "$as_me: failed program was:" >&5
41836 sed 's/^/| /' conftest.$ac_ext >&5
41838 ac_cv_func_sched_get_priority_max=no
41841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41842 conftest$ac_exeext conftest.$ac_ext
41844 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41845 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41846 if test $ac_cv_func_sched_get_priority_max = yes; then
41849 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41850 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41851 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41852 echo $ECHO_N "(cached) $ECHO_C" >&6
41854 ac_check_lib_save_LIBS=$LIBS
41855 LIBS="-lposix4 $LIBS"
41856 cat >conftest.$ac_ext <<_ACEOF
41859 cat confdefs.h >>conftest.$ac_ext
41860 cat >>conftest.$ac_ext <<_ACEOF
41861 /* end confdefs.h. */
41863 /* Override any GCC internal prototype to avoid an error.
41864 Use char because int might match the return type of a GCC
41865 builtin and then its argument prototype would still apply. */
41869 char sched_get_priority_max ();
41873 return sched_get_priority_max ();
41878 rm -f conftest.$ac_objext conftest$ac_exeext
41879 if { (ac_try="$ac_link"
41880 case "(($ac_try" in
41881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41882 *) ac_try_echo=$ac_try;;
41884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41885 (eval "$ac_link") 2>conftest.er1
41887 grep -v '^ *+' conftest.er1 >conftest.err
41889 cat conftest.err >&5
41890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41891 (exit $ac_status); } && {
41892 test -z "$ac_c_werror_flag" ||
41893 test ! -s conftest.err
41894 } && test -s conftest$ac_exeext &&
41895 $as_test_x conftest$ac_exeext; then
41896 ac_cv_lib_posix4_sched_get_priority_max=yes
41898 echo "$as_me: failed program was:" >&5
41899 sed 's/^/| /' conftest.$ac_ext >&5
41901 ac_cv_lib_posix4_sched_get_priority_max=no
41904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41905 conftest$ac_exeext conftest.$ac_ext
41906 LIBS=$ac_check_lib_save_LIBS
41908 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41909 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41910 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41913 POSIX4_LINK=" -lposix4"
41927 if test "$HAVE_PRIOR_FUNCS" = 1; then
41928 cat >>confdefs.h <<\_ACEOF
41929 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41933 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41934 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41937 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41938 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41939 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41940 echo $ECHO_N "(cached) $ECHO_C" >&6
41942 cat >conftest.$ac_ext <<_ACEOF
41945 cat confdefs.h >>conftest.$ac_ext
41946 cat >>conftest.$ac_ext <<_ACEOF
41947 /* end confdefs.h. */
41948 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41950 #define pthread_cancel innocuous_pthread_cancel
41952 /* System header to define __stub macros and hopefully few prototypes,
41953 which can conflict with char pthread_cancel (); below.
41954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41955 <limits.h> exists even on freestanding compilers. */
41958 # include <limits.h>
41960 # include <assert.h>
41963 #undef pthread_cancel
41965 /* Override any GCC internal prototype to avoid an error.
41966 Use char because int might match the return type of a GCC
41967 builtin and then its argument prototype would still apply. */
41971 char pthread_cancel ();
41972 /* The GNU C library defines this for functions which it implements
41973 to always fail with ENOSYS. Some functions are actually named
41974 something starting with __ and the normal name is an alias. */
41975 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41982 return pthread_cancel ();
41987 rm -f conftest.$ac_objext conftest$ac_exeext
41988 if { (ac_try="$ac_link"
41989 case "(($ac_try" in
41990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41991 *) ac_try_echo=$ac_try;;
41993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41994 (eval "$ac_link") 2>conftest.er1
41996 grep -v '^ *+' conftest.er1 >conftest.err
41998 cat conftest.err >&5
41999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42000 (exit $ac_status); } && {
42001 test -z "$ac_c_werror_flag" ||
42002 test ! -s conftest.err
42003 } && test -s conftest$ac_exeext &&
42004 $as_test_x conftest$ac_exeext; then
42005 ac_cv_func_pthread_cancel=yes
42007 echo "$as_me: failed program was:" >&5
42008 sed 's/^/| /' conftest.$ac_ext >&5
42010 ac_cv_func_pthread_cancel=no
42013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42014 conftest$ac_exeext conftest.$ac_ext
42016 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42017 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42018 if test $ac_cv_func_pthread_cancel = yes; then
42019 cat >>confdefs.h <<\_ACEOF
42020 #define HAVE_PTHREAD_CANCEL 1
42024 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42025 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42029 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42030 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42031 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42032 echo $ECHO_N "(cached) $ECHO_C" >&6
42034 cat >conftest.$ac_ext <<_ACEOF
42037 cat confdefs.h >>conftest.$ac_ext
42038 cat >>conftest.$ac_ext <<_ACEOF
42039 /* end confdefs.h. */
42040 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42042 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42044 /* System header to define __stub macros and hopefully few prototypes,
42045 which can conflict with char pthread_mutex_timedlock (); below.
42046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42047 <limits.h> exists even on freestanding compilers. */
42050 # include <limits.h>
42052 # include <assert.h>
42055 #undef pthread_mutex_timedlock
42057 /* Override any GCC internal prototype to avoid an error.
42058 Use char because int might match the return type of a GCC
42059 builtin and then its argument prototype would still apply. */
42063 char pthread_mutex_timedlock ();
42064 /* The GNU C library defines this for functions which it implements
42065 to always fail with ENOSYS. Some functions are actually named
42066 something starting with __ and the normal name is an alias. */
42067 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42074 return pthread_mutex_timedlock ();
42079 rm -f conftest.$ac_objext conftest$ac_exeext
42080 if { (ac_try="$ac_link"
42081 case "(($ac_try" in
42082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42083 *) ac_try_echo=$ac_try;;
42085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42086 (eval "$ac_link") 2>conftest.er1
42088 grep -v '^ *+' conftest.er1 >conftest.err
42090 cat conftest.err >&5
42091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42092 (exit $ac_status); } && {
42093 test -z "$ac_c_werror_flag" ||
42094 test ! -s conftest.err
42095 } && test -s conftest$ac_exeext &&
42096 $as_test_x conftest$ac_exeext; then
42097 ac_cv_func_pthread_mutex_timedlock=yes
42099 echo "$as_me: failed program was:" >&5
42100 sed 's/^/| /' conftest.$ac_ext >&5
42102 ac_cv_func_pthread_mutex_timedlock=no
42105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42106 conftest$ac_exeext conftest.$ac_ext
42108 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42109 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42110 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42111 cat >>confdefs.h <<\_ACEOF
42112 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42116 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42117 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42121 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42122 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42123 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42124 echo $ECHO_N "(cached) $ECHO_C" >&6
42126 cat >conftest.$ac_ext <<_ACEOF
42129 cat confdefs.h >>conftest.$ac_ext
42130 cat >>conftest.$ac_ext <<_ACEOF
42131 /* end confdefs.h. */
42132 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42134 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42136 /* System header to define __stub macros and hopefully few prototypes,
42137 which can conflict with char pthread_attr_setstacksize (); below.
42138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42139 <limits.h> exists even on freestanding compilers. */
42142 # include <limits.h>
42144 # include <assert.h>
42147 #undef pthread_attr_setstacksize
42149 /* Override any GCC internal prototype to avoid an error.
42150 Use char because int might match the return type of a GCC
42151 builtin and then its argument prototype would still apply. */
42155 char pthread_attr_setstacksize ();
42156 /* The GNU C library defines this for functions which it implements
42157 to always fail with ENOSYS. Some functions are actually named
42158 something starting with __ and the normal name is an alias. */
42159 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42166 return pthread_attr_setstacksize ();
42171 rm -f conftest.$ac_objext conftest$ac_exeext
42172 if { (ac_try="$ac_link"
42173 case "(($ac_try" in
42174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42175 *) ac_try_echo=$ac_try;;
42177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42178 (eval "$ac_link") 2>conftest.er1
42180 grep -v '^ *+' conftest.er1 >conftest.err
42182 cat conftest.err >&5
42183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42184 (exit $ac_status); } && {
42185 test -z "$ac_c_werror_flag" ||
42186 test ! -s conftest.err
42187 } && test -s conftest$ac_exeext &&
42188 $as_test_x conftest$ac_exeext; then
42189 ac_cv_func_pthread_attr_setstacksize=yes
42191 echo "$as_me: failed program was:" >&5
42192 sed 's/^/| /' conftest.$ac_ext >&5
42194 ac_cv_func_pthread_attr_setstacksize=no
42197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42198 conftest$ac_exeext conftest.$ac_ext
42200 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42201 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42202 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42203 cat >>confdefs.h <<\_ACEOF
42204 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42211 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42212 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42213 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42214 echo $ECHO_N "(cached) $ECHO_C" >&6
42217 cat >conftest.$ac_ext <<_ACEOF
42220 cat confdefs.h >>conftest.$ac_ext
42221 cat >>conftest.$ac_ext <<_ACEOF
42222 /* end confdefs.h. */
42223 #include <pthread.h>
42228 pthread_mutexattr_t attr;
42229 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42235 rm -f conftest.$ac_objext
42236 if { (ac_try="$ac_compile"
42237 case "(($ac_try" in
42238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42239 *) ac_try_echo=$ac_try;;
42241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42242 (eval "$ac_compile") 2>conftest.er1
42244 grep -v '^ *+' conftest.er1 >conftest.err
42246 cat conftest.err >&5
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); } && {
42249 test -z "$ac_c_werror_flag" ||
42250 test ! -s conftest.err
42251 } && test -s conftest.$ac_objext; then
42252 wx_cv_type_pthread_mutexattr_t=yes
42254 echo "$as_me: failed program was:" >&5
42255 sed 's/^/| /' conftest.$ac_ext >&5
42257 wx_cv_type_pthread_mutexattr_t=no
42261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42264 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42265 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42267 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42268 cat >>confdefs.h <<\_ACEOF
42269 #define HAVE_PTHREAD_MUTEXATTR_T 1
42273 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42274 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42275 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42276 echo $ECHO_N "(cached) $ECHO_C" >&6
42279 cat >conftest.$ac_ext <<_ACEOF
42282 cat confdefs.h >>conftest.$ac_ext
42283 cat >>conftest.$ac_ext <<_ACEOF
42284 /* end confdefs.h. */
42285 #include <pthread.h>
42290 pthread_mutexattr_t attr;
42291 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42297 rm -f conftest.$ac_objext
42298 if { (ac_try="$ac_compile"
42299 case "(($ac_try" in
42300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42301 *) ac_try_echo=$ac_try;;
42303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42304 (eval "$ac_compile") 2>conftest.er1
42306 grep -v '^ *+' conftest.er1 >conftest.err
42308 cat conftest.err >&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); } && {
42311 test -z "$ac_c_werror_flag" ||
42312 test ! -s conftest.err
42313 } && test -s conftest.$ac_objext; then
42314 wx_cv_func_pthread_mutexattr_settype_decl=yes
42316 echo "$as_me: failed program was:" >&5
42317 sed 's/^/| /' conftest.$ac_ext >&5
42319 wx_cv_func_pthread_mutexattr_settype_decl=no
42323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42326 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42327 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42328 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42329 cat >>confdefs.h <<\_ACEOF
42330 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42335 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42336 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42337 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42338 echo $ECHO_N "(cached) $ECHO_C" >&6
42341 cat >conftest.$ac_ext <<_ACEOF
42344 cat confdefs.h >>conftest.$ac_ext
42345 cat >>conftest.$ac_ext <<_ACEOF
42346 /* end confdefs.h. */
42347 #include <pthread.h>
42352 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42358 rm -f conftest.$ac_objext
42359 if { (ac_try="$ac_compile"
42360 case "(($ac_try" in
42361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42362 *) ac_try_echo=$ac_try;;
42364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42365 (eval "$ac_compile") 2>conftest.er1
42367 grep -v '^ *+' conftest.er1 >conftest.err
42369 cat conftest.err >&5
42370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42371 (exit $ac_status); } && {
42372 test -z "$ac_c_werror_flag" ||
42373 test ! -s conftest.err
42374 } && test -s conftest.$ac_objext; then
42376 wx_cv_type_pthread_rec_mutex_init=yes
42379 echo "$as_me: failed program was:" >&5
42380 sed 's/^/| /' conftest.$ac_ext >&5
42383 wx_cv_type_pthread_rec_mutex_init=no
42388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42391 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42392 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42393 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42394 cat >>confdefs.h <<\_ACEOF
42395 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42399 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42400 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42406 if test "$wxUSE_THREADS" = "yes" ; then
42409 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42410 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42411 if test "${wx_cv_cflags_mthread+set}" = set; then
42412 echo $ECHO_N "(cached) $ECHO_C" >&6
42415 CFLAGS_OLD="$CFLAGS"
42416 CFLAGS="-mthreads $CFLAGS"
42417 cat >conftest.$ac_ext <<_ACEOF
42420 cat confdefs.h >>conftest.$ac_ext
42421 cat >>conftest.$ac_ext <<_ACEOF
42422 /* end confdefs.h. */
42432 rm -f conftest.$ac_objext
42433 if { (ac_try="$ac_compile"
42434 case "(($ac_try" in
42435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42436 *) ac_try_echo=$ac_try;;
42438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42439 (eval "$ac_compile") 2>conftest.er1
42441 grep -v '^ *+' conftest.er1 >conftest.err
42443 cat conftest.err >&5
42444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42445 (exit $ac_status); } && {
42446 test -z "$ac_c_werror_flag" ||
42447 test ! -s conftest.err
42448 } && test -s conftest.$ac_objext; then
42449 wx_cv_cflags_mthread=yes
42451 echo "$as_me: failed program was:" >&5
42452 sed 's/^/| /' conftest.$ac_ext >&5
42454 wx_cv_cflags_mthread=no
42458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42462 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42463 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42465 if test "$wx_cv_cflags_mthread" = "yes"; then
42466 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42467 LDFLAGS="$LDFLAGS -mthreads"
42469 CFLAGS="$CFLAGS_OLD"
42473 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42474 LDFLAGS="$LDFLAGS -Zmt"
42480 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42481 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42482 if test "${ac_cv_func_localtime_r+set}" = set; then
42483 echo $ECHO_N "(cached) $ECHO_C" >&6
42485 cat >conftest.$ac_ext <<_ACEOF
42488 cat confdefs.h >>conftest.$ac_ext
42489 cat >>conftest.$ac_ext <<_ACEOF
42490 /* end confdefs.h. */
42491 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42493 #define localtime_r innocuous_localtime_r
42495 /* System header to define __stub macros and hopefully few prototypes,
42496 which can conflict with char localtime_r (); below.
42497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42498 <limits.h> exists even on freestanding compilers. */
42501 # include <limits.h>
42503 # include <assert.h>
42508 /* Override any GCC internal prototype to avoid an error.
42509 Use char because int might match the return type of a GCC
42510 builtin and then its argument prototype would still apply. */
42514 char localtime_r ();
42515 /* The GNU C library defines this for functions which it implements
42516 to always fail with ENOSYS. Some functions are actually named
42517 something starting with __ and the normal name is an alias. */
42518 #if defined __stub_localtime_r || defined __stub___localtime_r
42525 return localtime_r ();
42530 rm -f conftest.$ac_objext conftest$ac_exeext
42531 if { (ac_try="$ac_link"
42532 case "(($ac_try" in
42533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42534 *) ac_try_echo=$ac_try;;
42536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42537 (eval "$ac_link") 2>conftest.er1
42539 grep -v '^ *+' conftest.er1 >conftest.err
42541 cat conftest.err >&5
42542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42543 (exit $ac_status); } && {
42544 test -z "$ac_c_werror_flag" ||
42545 test ! -s conftest.err
42546 } && test -s conftest$ac_exeext &&
42547 $as_test_x conftest$ac_exeext; then
42548 ac_cv_func_localtime_r=yes
42550 echo "$as_me: failed program was:" >&5
42551 sed 's/^/| /' conftest.$ac_ext >&5
42553 ac_cv_func_localtime_r=no
42556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42557 conftest$ac_exeext conftest.$ac_ext
42559 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42560 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42561 if test $ac_cv_func_localtime_r = yes; then
42562 cat >>confdefs.h <<\_ACEOF
42563 #define HAVE_LOCALTIME_R 1
42568 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42569 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42570 if test "${ac_cv_func_gmtime_r+set}" = set; then
42571 echo $ECHO_N "(cached) $ECHO_C" >&6
42573 cat >conftest.$ac_ext <<_ACEOF
42576 cat confdefs.h >>conftest.$ac_ext
42577 cat >>conftest.$ac_ext <<_ACEOF
42578 /* end confdefs.h. */
42579 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42581 #define gmtime_r innocuous_gmtime_r
42583 /* System header to define __stub macros and hopefully few prototypes,
42584 which can conflict with char gmtime_r (); below.
42585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42586 <limits.h> exists even on freestanding compilers. */
42589 # include <limits.h>
42591 # include <assert.h>
42596 /* Override any GCC internal prototype to avoid an error.
42597 Use char because int might match the return type of a GCC
42598 builtin and then its argument prototype would still apply. */
42603 /* The GNU C library defines this for functions which it implements
42604 to always fail with ENOSYS. Some functions are actually named
42605 something starting with __ and the normal name is an alias. */
42606 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42613 return gmtime_r ();
42618 rm -f conftest.$ac_objext conftest$ac_exeext
42619 if { (ac_try="$ac_link"
42620 case "(($ac_try" in
42621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42622 *) ac_try_echo=$ac_try;;
42624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42625 (eval "$ac_link") 2>conftest.er1
42627 grep -v '^ *+' conftest.er1 >conftest.err
42629 cat conftest.err >&5
42630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42631 (exit $ac_status); } && {
42632 test -z "$ac_c_werror_flag" ||
42633 test ! -s conftest.err
42634 } && test -s conftest$ac_exeext &&
42635 $as_test_x conftest$ac_exeext; then
42636 ac_cv_func_gmtime_r=yes
42638 echo "$as_me: failed program was:" >&5
42639 sed 's/^/| /' conftest.$ac_ext >&5
42641 ac_cv_func_gmtime_r=no
42644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42645 conftest$ac_exeext conftest.$ac_ext
42647 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42648 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42649 if test $ac_cv_func_gmtime_r = yes; then
42650 cat >>confdefs.h <<\_ACEOF
42651 #define HAVE_GMTIME_R 1
42656 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42657 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42658 if test "${ac_cv_func_readdir_r+set}" = set; then
42659 echo $ECHO_N "(cached) $ECHO_C" >&6
42661 cat >conftest.$ac_ext <<_ACEOF
42664 cat confdefs.h >>conftest.$ac_ext
42665 cat >>conftest.$ac_ext <<_ACEOF
42666 /* end confdefs.h. */
42667 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42669 #define readdir_r innocuous_readdir_r
42671 /* System header to define __stub macros and hopefully few prototypes,
42672 which can conflict with char readdir_r (); below.
42673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42674 <limits.h> exists even on freestanding compilers. */
42677 # include <limits.h>
42679 # include <assert.h>
42684 /* Override any GCC internal prototype to avoid an error.
42685 Use char because int might match the return type of a GCC
42686 builtin and then its argument prototype would still apply. */
42691 /* The GNU C library defines this for functions which it implements
42692 to always fail with ENOSYS. Some functions are actually named
42693 something starting with __ and the normal name is an alias. */
42694 #if defined __stub_readdir_r || defined __stub___readdir_r
42701 return readdir_r ();
42706 rm -f conftest.$ac_objext conftest$ac_exeext
42707 if { (ac_try="$ac_link"
42708 case "(($ac_try" in
42709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42710 *) ac_try_echo=$ac_try;;
42712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42713 (eval "$ac_link") 2>conftest.er1
42715 grep -v '^ *+' conftest.er1 >conftest.err
42717 cat conftest.err >&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); } && {
42720 test -z "$ac_c_werror_flag" ||
42721 test ! -s conftest.err
42722 } && test -s conftest$ac_exeext &&
42723 $as_test_x conftest$ac_exeext; then
42724 ac_cv_func_readdir_r=yes
42726 echo "$as_me: failed program was:" >&5
42727 sed 's/^/| /' conftest.$ac_ext >&5
42729 ac_cv_func_readdir_r=no
42732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42733 conftest$ac_exeext conftest.$ac_ext
42735 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42736 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42737 if test $ac_cv_func_readdir_r = yes; then
42738 cat >>confdefs.h <<\_ACEOF
42739 #define HAVE_READDIR_R 1
42748 ac_cpp='$CPP $CPPFLAGS'
42749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42753 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42754 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42756 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42757 echo $ECHO_N "(cached) $ECHO_C" >&6
42761 ################################################################
42763 ac_cv_func_which_gethostbyname_r=unknown
42766 # ONE ARGUMENT (sanity check)
42769 # This should fail, as there is no variant of gethostbyname_r() that takes
42770 # a single argument. If it actually compiles, then we can assume that
42771 # netdb.h is not declaring the function, and the compiler is thereby
42772 # assuming an implicit prototype. In which case, we're out of luck.
42774 cat >conftest.$ac_ext <<_ACEOF
42777 cat confdefs.h >>conftest.$ac_ext
42778 cat >>conftest.$ac_ext <<_ACEOF
42779 /* end confdefs.h. */
42785 char *name = "www.gnu.org";
42786 (void)gethostbyname_r(name) /* ; */
42792 rm -f conftest.$ac_objext
42793 if { (ac_try="$ac_compile"
42794 case "(($ac_try" in
42795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42796 *) ac_try_echo=$ac_try;;
42798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42799 (eval "$ac_compile") 2>conftest.er1
42801 grep -v '^ *+' conftest.er1 >conftest.err
42803 cat conftest.err >&5
42804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42805 (exit $ac_status); } && {
42806 test -z "$ac_c_werror_flag" ||
42807 test ! -s conftest.err
42808 } && test -s conftest.$ac_objext; then
42809 ac_cv_func_which_gethostbyname_r=no
42811 echo "$as_me: failed program was:" >&5
42812 sed 's/^/| /' conftest.$ac_ext >&5
42817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42824 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42826 cat >conftest.$ac_ext <<_ACEOF
42829 cat confdefs.h >>conftest.$ac_ext
42830 cat >>conftest.$ac_ext <<_ACEOF
42831 /* end confdefs.h. */
42837 char *name = "www.gnu.org";
42838 struct hostent ret, *retp;
42842 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42848 rm -f conftest.$ac_objext
42849 if { (ac_try="$ac_compile"
42850 case "(($ac_try" in
42851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42852 *) ac_try_echo=$ac_try;;
42854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42855 (eval "$ac_compile") 2>conftest.er1
42857 grep -v '^ *+' conftest.er1 >conftest.err
42859 cat conftest.err >&5
42860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42861 (exit $ac_status); } && {
42862 test -z "$ac_c_werror_flag" ||
42863 test ! -s conftest.err
42864 } && test -s conftest.$ac_objext; then
42865 ac_cv_func_which_gethostbyname_r=six
42867 echo "$as_me: failed program was:" >&5
42868 sed 's/^/| /' conftest.$ac_ext >&5
42873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42882 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42884 cat >conftest.$ac_ext <<_ACEOF
42887 cat confdefs.h >>conftest.$ac_ext
42888 cat >>conftest.$ac_ext <<_ACEOF
42889 /* end confdefs.h. */
42895 char *name = "www.gnu.org";
42896 struct hostent ret;
42900 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42906 rm -f conftest.$ac_objext
42907 if { (ac_try="$ac_compile"
42908 case "(($ac_try" in
42909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42910 *) ac_try_echo=$ac_try;;
42912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42913 (eval "$ac_compile") 2>conftest.er1
42915 grep -v '^ *+' conftest.er1 >conftest.err
42917 cat conftest.err >&5
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); } && {
42920 test -z "$ac_c_werror_flag" ||
42921 test ! -s conftest.err
42922 } && test -s conftest.$ac_objext; then
42923 ac_cv_func_which_gethostbyname_r=five
42925 echo "$as_me: failed program was:" >&5
42926 sed 's/^/| /' conftest.$ac_ext >&5
42931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42937 # (e.g. AIX, HP-UX, Tru64)
42940 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42942 cat >conftest.$ac_ext <<_ACEOF
42945 cat confdefs.h >>conftest.$ac_ext
42946 cat >>conftest.$ac_ext <<_ACEOF
42947 /* end confdefs.h. */
42953 char *name = "www.gnu.org";
42954 struct hostent ret;
42955 struct hostent_data data;
42956 (void)gethostbyname_r(name, &ret, &data) /* ; */
42962 rm -f conftest.$ac_objext
42963 if { (ac_try="$ac_compile"
42964 case "(($ac_try" in
42965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42966 *) ac_try_echo=$ac_try;;
42968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42969 (eval "$ac_compile") 2>conftest.er1
42971 grep -v '^ *+' conftest.er1 >conftest.err
42973 cat conftest.err >&5
42974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42975 (exit $ac_status); } && {
42976 test -z "$ac_c_werror_flag" ||
42977 test ! -s conftest.err
42978 } && test -s conftest.$ac_objext; then
42979 ac_cv_func_which_gethostbyname_r=three
42981 echo "$as_me: failed program was:" >&5
42982 sed 's/^/| /' conftest.$ac_ext >&5
42987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42991 ################################################################
42996 case "$ac_cv_func_which_gethostbyname_r" in
42998 { echo "$as_me:$LINENO: result: three" >&5
42999 echo "${ECHO_T}three" >&6; }
43000 cat >>confdefs.h <<\_ACEOF
43001 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43007 { echo "$as_me:$LINENO: result: five" >&5
43008 echo "${ECHO_T}five" >&6; }
43009 cat >>confdefs.h <<\_ACEOF
43010 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43016 { echo "$as_me:$LINENO: result: six" >&5
43017 echo "${ECHO_T}six" >&6; }
43018 cat >>confdefs.h <<\_ACEOF
43019 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43025 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43026 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43030 { echo "$as_me:$LINENO: result: can't tell" >&5
43031 echo "${ECHO_T}can't tell" >&6; }
43035 { { echo "$as_me:$LINENO: error: internal error" >&5
43036 echo "$as_me: error: internal error" >&2;}
43037 { (exit 1); exit 1; }; }
43042 ac_cpp='$CPP $CPPFLAGS'
43043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43049 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43050 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43051 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43052 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43053 if test "${ac_cv_func_gethostbyname+set}" = set; then
43054 echo $ECHO_N "(cached) $ECHO_C" >&6
43056 cat >conftest.$ac_ext <<_ACEOF
43059 cat confdefs.h >>conftest.$ac_ext
43060 cat >>conftest.$ac_ext <<_ACEOF
43061 /* end confdefs.h. */
43062 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43064 #define gethostbyname innocuous_gethostbyname
43066 /* System header to define __stub macros and hopefully few prototypes,
43067 which can conflict with char gethostbyname (); below.
43068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43069 <limits.h> exists even on freestanding compilers. */
43072 # include <limits.h>
43074 # include <assert.h>
43077 #undef gethostbyname
43079 /* Override any GCC internal prototype to avoid an error.
43080 Use char because int might match the return type of a GCC
43081 builtin and then its argument prototype would still apply. */
43085 char gethostbyname ();
43086 /* The GNU C library defines this for functions which it implements
43087 to always fail with ENOSYS. Some functions are actually named
43088 something starting with __ and the normal name is an alias. */
43089 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43096 return gethostbyname ();
43101 rm -f conftest.$ac_objext conftest$ac_exeext
43102 if { (ac_try="$ac_link"
43103 case "(($ac_try" in
43104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43105 *) ac_try_echo=$ac_try;;
43107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43108 (eval "$ac_link") 2>conftest.er1
43110 grep -v '^ *+' conftest.er1 >conftest.err
43112 cat conftest.err >&5
43113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43114 (exit $ac_status); } && {
43115 test -z "$ac_c_werror_flag" ||
43116 test ! -s conftest.err
43117 } && test -s conftest$ac_exeext &&
43118 $as_test_x conftest$ac_exeext; then
43119 ac_cv_func_gethostbyname=yes
43121 echo "$as_me: failed program was:" >&5
43122 sed 's/^/| /' conftest.$ac_ext >&5
43124 ac_cv_func_gethostbyname=no
43127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43128 conftest$ac_exeext conftest.$ac_ext
43130 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43131 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43132 if test $ac_cv_func_gethostbyname = yes; then
43133 cat >>confdefs.h <<\_ACEOF
43134 #define HAVE_GETHOSTBYNAME 1
43141 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43142 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43143 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43144 echo $ECHO_N "(cached) $ECHO_C" >&6
43148 ac_cpp='$CXXCPP $CPPFLAGS'
43149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43154 cat >conftest.$ac_ext <<_ACEOF
43157 cat confdefs.h >>conftest.$ac_ext
43158 cat >>conftest.$ac_ext <<_ACEOF
43159 /* end confdefs.h. */
43167 struct servent *se, *res;
43170 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43176 rm -f conftest.$ac_objext
43177 if { (ac_try="$ac_compile"
43178 case "(($ac_try" in
43179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43180 *) ac_try_echo=$ac_try;;
43182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43183 (eval "$ac_compile") 2>conftest.er1
43185 grep -v '^ *+' conftest.er1 >conftest.err
43187 cat conftest.err >&5
43188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43189 (exit $ac_status); } && {
43190 test -z "$ac_cxx_werror_flag" ||
43191 test ! -s conftest.err
43192 } && test -s conftest.$ac_objext; then
43193 ac_cv_func_which_getservbyname_r=six
43195 echo "$as_me: failed program was:" >&5
43196 sed 's/^/| /' conftest.$ac_ext >&5
43199 cat >conftest.$ac_ext <<_ACEOF
43202 cat confdefs.h >>conftest.$ac_ext
43203 cat >>conftest.$ac_ext <<_ACEOF
43204 /* end confdefs.h. */
43212 struct servent *se;
43215 (void) getservbyname_r(name, proto, se, buffer, buflen)
43221 rm -f conftest.$ac_objext
43222 if { (ac_try="$ac_compile"
43223 case "(($ac_try" in
43224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43225 *) ac_try_echo=$ac_try;;
43227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43228 (eval "$ac_compile") 2>conftest.er1
43230 grep -v '^ *+' conftest.er1 >conftest.err
43232 cat conftest.err >&5
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); } && {
43235 test -z "$ac_cxx_werror_flag" ||
43236 test ! -s conftest.err
43237 } && test -s conftest.$ac_objext; then
43238 ac_cv_func_which_getservbyname_r=five
43240 echo "$as_me: failed program was:" >&5
43241 sed 's/^/| /' conftest.$ac_ext >&5
43244 cat >conftest.$ac_ext <<_ACEOF
43247 cat confdefs.h >>conftest.$ac_ext
43248 cat >>conftest.$ac_ext <<_ACEOF
43249 /* end confdefs.h. */
43257 struct servent *se;
43258 struct servent_data data;
43259 (void) getservbyname_r(name, proto, se, &data);
43265 rm -f conftest.$ac_objext
43266 if { (ac_try="$ac_compile"
43267 case "(($ac_try" in
43268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43269 *) ac_try_echo=$ac_try;;
43271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43272 (eval "$ac_compile") 2>conftest.er1
43274 grep -v '^ *+' conftest.er1 >conftest.err
43276 cat conftest.err >&5
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); } && {
43279 test -z "$ac_cxx_werror_flag" ||
43280 test ! -s conftest.err
43281 } && test -s conftest.$ac_objext; then
43282 ac_cv_func_which_getservbyname_r=four
43284 echo "$as_me: failed program was:" >&5
43285 sed 's/^/| /' conftest.$ac_ext >&5
43287 ac_cv_func_which_getservbyname_r=no
43291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43303 ac_cpp='$CPP $CPPFLAGS'
43304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43311 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43312 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43314 if test $ac_cv_func_which_getservbyname_r = six; then
43315 cat >>confdefs.h <<\_ACEOF
43316 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43319 elif test $ac_cv_func_which_getservbyname_r = five; then
43320 cat >>confdefs.h <<\_ACEOF
43321 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43324 elif test $ac_cv_func_which_getservbyname_r = four; then
43325 cat >>confdefs.h <<\_ACEOF
43326 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43332 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43333 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43335 for ac_func in getservbyname
43337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43341 echo $ECHO_N "(cached) $ECHO_C" >&6
43343 cat >conftest.$ac_ext <<_ACEOF
43346 cat confdefs.h >>conftest.$ac_ext
43347 cat >>conftest.$ac_ext <<_ACEOF
43348 /* end confdefs.h. */
43349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43351 #define $ac_func innocuous_$ac_func
43353 /* System header to define __stub macros and hopefully few prototypes,
43354 which can conflict with char $ac_func (); below.
43355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43356 <limits.h> exists even on freestanding compilers. */
43359 # include <limits.h>
43361 # include <assert.h>
43366 /* Override any GCC internal prototype to avoid an error.
43367 Use char because int might match the return type of a GCC
43368 builtin and then its argument prototype would still apply. */
43373 /* The GNU C library defines this for functions which it implements
43374 to always fail with ENOSYS. Some functions are actually named
43375 something starting with __ and the normal name is an alias. */
43376 #if defined __stub_$ac_func || defined __stub___$ac_func
43383 return $ac_func ();
43388 rm -f conftest.$ac_objext conftest$ac_exeext
43389 if { (ac_try="$ac_link"
43390 case "(($ac_try" in
43391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43392 *) ac_try_echo=$ac_try;;
43394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43395 (eval "$ac_link") 2>conftest.er1
43397 grep -v '^ *+' conftest.er1 >conftest.err
43399 cat conftest.err >&5
43400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401 (exit $ac_status); } && {
43402 test -z "$ac_c_werror_flag" ||
43403 test ! -s conftest.err
43404 } && test -s conftest$ac_exeext &&
43405 $as_test_x conftest$ac_exeext; then
43406 eval "$as_ac_var=yes"
43408 echo "$as_me: failed program was:" >&5
43409 sed 's/^/| /' conftest.$ac_ext >&5
43411 eval "$as_ac_var=no"
43414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43415 conftest$ac_exeext conftest.$ac_ext
43417 ac_res=`eval echo '${'$as_ac_var'}'`
43418 { echo "$as_me:$LINENO: result: $ac_res" >&5
43419 echo "${ECHO_T}$ac_res" >&6; }
43420 if test `eval echo '${'$as_ac_var'}'` = yes; then
43421 cat >>confdefs.h <<_ACEOF
43422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43424 cat >>confdefs.h <<\_ACEOF
43425 #define HAVE_GETSERVBYNAME 1
43433 if test "$wxUSE_THREADS" = "yes"; then
43434 cat >>confdefs.h <<\_ACEOF
43435 #define wxUSE_THREADS 1
43439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43441 if test "$wx_cv_func_strtok_r" = "yes"; then
43442 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43443 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43444 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43445 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43446 { echo "$as_me:$LINENO: result: yes" >&5
43447 echo "${ECHO_T}yes" >&6; }
43449 { echo "$as_me:$LINENO: result: no" >&5
43450 echo "${ECHO_T}no" >&6; }
43455 if test "$WXGTK20" = 1 ; then
43456 cat >>confdefs.h <<_ACEOF
43457 #define __WXGTK20__ $WXGTK20
43463 if test "$WXGTK12" = 1 ; then
43464 cat >>confdefs.h <<_ACEOF
43465 #define __WXGTK12__ $WXGTK12
43470 if test "$WXGTK127" = 1 ; then
43471 cat >>confdefs.h <<_ACEOF
43472 #define __WXGTK127__ $WXGTK127
43477 if test "$WXGPE" = 1 ; then
43478 cat >>confdefs.h <<_ACEOF
43479 #define __WXGPE__ $WXGPE
43485 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43490 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43491 wxUSE_DEBUG_INFO=yes
43492 if test "$GCC" = yes; then
43493 DEBUG_CFLAGS="-ggdb"
43497 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43498 cat >>confdefs.h <<\_ACEOF
43502 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43504 if test "$wxUSE_GTK" = 1 ; then
43505 if test "x$wxGTK_VERSION" = "x1" ; then
43506 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43511 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43512 cat >>confdefs.h <<\_ACEOF
43513 #define wxUSE_MEMORY_TRACING 1
43516 cat >>confdefs.h <<\_ACEOF
43517 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43520 cat >>confdefs.h <<\_ACEOF
43521 #define wxUSE_DEBUG_NEW_ALWAYS 1
43524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43527 if test "$wxUSE_DMALLOC" = "yes" ; then
43528 DMALLOC_LIBS="-ldmallocthcxx"
43532 if test "$wxUSE_PROFILE" = "yes" ; then
43533 PROFILE_FLAGS=" -pg"
43536 if test "$GCC" = "yes" ; then
43537 if test "$wxUSE_NO_RTTI" = "yes" ; then
43538 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43540 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43541 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43543 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43544 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43549 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43552 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43558 if test "$wxUSE_OPTIMISE" = "no" ; then
43559 if test "$GCC" = yes ; then
43560 OPTIMISE_CFLAGS="-O0"
43563 if test "$GCC" = yes ; then
43565 *-pc-os2_emx | *-pc-os2-emx )
43566 OPTIMISE_CFLAGS="-O2"
43569 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43573 OPTIMISE_CFLAGS="-O"
43578 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43579 cat >>confdefs.h <<\_ACEOF
43580 #define WXWIN_COMPATIBILITY_2_6 1
43584 WXWIN_COMPATIBILITY_2_8="yes"
43587 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43588 cat >>confdefs.h <<\_ACEOF
43589 #define WXWIN_COMPATIBILITY_2_8 1
43595 if test "$wxUSE_GUI" = "yes"; then
43596 cat >>confdefs.h <<\_ACEOF
43597 #define wxUSE_GUI 1
43604 if test "$wxUSE_UNIX" = "yes"; then
43605 cat >>confdefs.h <<\_ACEOF
43606 #define wxUSE_UNIX 1
43612 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43616 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43617 if test "$USE_DARWIN" = 1; then
43619 elif test "$USE_DOS" = 1; then
43623 for ac_func in dlopen
43625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43626 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43628 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43629 echo $ECHO_N "(cached) $ECHO_C" >&6
43631 cat >conftest.$ac_ext <<_ACEOF
43634 cat confdefs.h >>conftest.$ac_ext
43635 cat >>conftest.$ac_ext <<_ACEOF
43636 /* end confdefs.h. */
43637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43639 #define $ac_func innocuous_$ac_func
43641 /* System header to define __stub macros and hopefully few prototypes,
43642 which can conflict with char $ac_func (); below.
43643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43644 <limits.h> exists even on freestanding compilers. */
43647 # include <limits.h>
43649 # include <assert.h>
43654 /* Override any GCC internal prototype to avoid an error.
43655 Use char because int might match the return type of a GCC
43656 builtin and then its argument prototype would still apply. */
43661 /* The GNU C library defines this for functions which it implements
43662 to always fail with ENOSYS. Some functions are actually named
43663 something starting with __ and the normal name is an alias. */
43664 #if defined __stub_$ac_func || defined __stub___$ac_func
43671 return $ac_func ();
43676 rm -f conftest.$ac_objext conftest$ac_exeext
43677 if { (ac_try="$ac_link"
43678 case "(($ac_try" in
43679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43680 *) ac_try_echo=$ac_try;;
43682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43683 (eval "$ac_link") 2>conftest.er1
43685 grep -v '^ *+' conftest.er1 >conftest.err
43687 cat conftest.err >&5
43688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43689 (exit $ac_status); } && {
43690 test -z "$ac_c_werror_flag" ||
43691 test ! -s conftest.err
43692 } && test -s conftest$ac_exeext &&
43693 $as_test_x conftest$ac_exeext; then
43694 eval "$as_ac_var=yes"
43696 echo "$as_me: failed program was:" >&5
43697 sed 's/^/| /' conftest.$ac_ext >&5
43699 eval "$as_ac_var=no"
43702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43703 conftest$ac_exeext conftest.$ac_ext
43705 ac_res=`eval echo '${'$as_ac_var'}'`
43706 { echo "$as_me:$LINENO: result: $ac_res" >&5
43707 echo "${ECHO_T}$ac_res" >&6; }
43708 if test `eval echo '${'$as_ac_var'}'` = yes; then
43709 cat >>confdefs.h <<_ACEOF
43710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43713 cat >>confdefs.h <<\_ACEOF
43714 #define HAVE_DLOPEN 1
43721 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43722 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43723 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43724 echo $ECHO_N "(cached) $ECHO_C" >&6
43726 ac_check_lib_save_LIBS=$LIBS
43728 cat >conftest.$ac_ext <<_ACEOF
43731 cat confdefs.h >>conftest.$ac_ext
43732 cat >>conftest.$ac_ext <<_ACEOF
43733 /* end confdefs.h. */
43735 /* Override any GCC internal prototype to avoid an error.
43736 Use char because int might match the return type of a GCC
43737 builtin and then its argument prototype would still apply. */
43750 rm -f conftest.$ac_objext conftest$ac_exeext
43751 if { (ac_try="$ac_link"
43752 case "(($ac_try" in
43753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43754 *) ac_try_echo=$ac_try;;
43756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43757 (eval "$ac_link") 2>conftest.er1
43759 grep -v '^ *+' conftest.er1 >conftest.err
43761 cat conftest.err >&5
43762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43763 (exit $ac_status); } && {
43764 test -z "$ac_c_werror_flag" ||
43765 test ! -s conftest.err
43766 } && test -s conftest$ac_exeext &&
43767 $as_test_x conftest$ac_exeext; then
43768 ac_cv_lib_dl_dlopen=yes
43770 echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.$ac_ext >&5
43773 ac_cv_lib_dl_dlopen=no
43776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43777 conftest$ac_exeext conftest.$ac_ext
43778 LIBS=$ac_check_lib_save_LIBS
43780 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43781 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43782 if test $ac_cv_lib_dl_dlopen = yes; then
43784 cat >>confdefs.h <<\_ACEOF
43785 #define HAVE_DLOPEN 1
43789 DL_LINK=" -ldl$DL_LINK"
43794 for ac_func in shl_load
43796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43797 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43799 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43800 echo $ECHO_N "(cached) $ECHO_C" >&6
43802 cat >conftest.$ac_ext <<_ACEOF
43805 cat confdefs.h >>conftest.$ac_ext
43806 cat >>conftest.$ac_ext <<_ACEOF
43807 /* end confdefs.h. */
43808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43810 #define $ac_func innocuous_$ac_func
43812 /* System header to define __stub macros and hopefully few prototypes,
43813 which can conflict with char $ac_func (); below.
43814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43815 <limits.h> exists even on freestanding compilers. */
43818 # include <limits.h>
43820 # include <assert.h>
43825 /* Override any GCC internal prototype to avoid an error.
43826 Use char because int might match the return type of a GCC
43827 builtin and then its argument prototype would still apply. */
43832 /* The GNU C library defines this for functions which it implements
43833 to always fail with ENOSYS. Some functions are actually named
43834 something starting with __ and the normal name is an alias. */
43835 #if defined __stub_$ac_func || defined __stub___$ac_func
43842 return $ac_func ();
43847 rm -f conftest.$ac_objext conftest$ac_exeext
43848 if { (ac_try="$ac_link"
43849 case "(($ac_try" in
43850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43851 *) ac_try_echo=$ac_try;;
43853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43854 (eval "$ac_link") 2>conftest.er1
43856 grep -v '^ *+' conftest.er1 >conftest.err
43858 cat conftest.err >&5
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); } && {
43861 test -z "$ac_c_werror_flag" ||
43862 test ! -s conftest.err
43863 } && test -s conftest$ac_exeext &&
43864 $as_test_x conftest$ac_exeext; then
43865 eval "$as_ac_var=yes"
43867 echo "$as_me: failed program was:" >&5
43868 sed 's/^/| /' conftest.$ac_ext >&5
43870 eval "$as_ac_var=no"
43873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43874 conftest$ac_exeext conftest.$ac_ext
43876 ac_res=`eval echo '${'$as_ac_var'}'`
43877 { echo "$as_me:$LINENO: result: $ac_res" >&5
43878 echo "${ECHO_T}$ac_res" >&6; }
43879 if test `eval echo '${'$as_ac_var'}'` = yes; then
43880 cat >>confdefs.h <<_ACEOF
43881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43884 cat >>confdefs.h <<\_ACEOF
43885 #define HAVE_SHL_LOAD 1
43892 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43893 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43894 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43895 echo $ECHO_N "(cached) $ECHO_C" >&6
43897 ac_check_lib_save_LIBS=$LIBS
43898 LIBS="-lshl_load $LIBS"
43899 cat >conftest.$ac_ext <<_ACEOF
43902 cat confdefs.h >>conftest.$ac_ext
43903 cat >>conftest.$ac_ext <<_ACEOF
43904 /* end confdefs.h. */
43906 /* Override any GCC internal prototype to avoid an error.
43907 Use char because int might match the return type of a GCC
43908 builtin and then its argument prototype would still apply. */
43921 rm -f conftest.$ac_objext conftest$ac_exeext
43922 if { (ac_try="$ac_link"
43923 case "(($ac_try" in
43924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43925 *) ac_try_echo=$ac_try;;
43927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43928 (eval "$ac_link") 2>conftest.er1
43930 grep -v '^ *+' conftest.er1 >conftest.err
43932 cat conftest.err >&5
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); } && {
43935 test -z "$ac_c_werror_flag" ||
43936 test ! -s conftest.err
43937 } && test -s conftest$ac_exeext &&
43938 $as_test_x conftest$ac_exeext; then
43939 ac_cv_lib_shl_load_dld=yes
43941 echo "$as_me: failed program was:" >&5
43942 sed 's/^/| /' conftest.$ac_ext >&5
43944 ac_cv_lib_shl_load_dld=no
43947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43948 conftest$ac_exeext conftest.$ac_ext
43949 LIBS=$ac_check_lib_save_LIBS
43951 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43952 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43953 if test $ac_cv_lib_shl_load_dld = yes; then
43956 DL_LINK=" -ldld$DL_LINK"
43972 if test "$HAVE_DL_FUNCS" = 1; then
43974 for ac_func in dlerror
43976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43977 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43980 echo $ECHO_N "(cached) $ECHO_C" >&6
43982 cat >conftest.$ac_ext <<_ACEOF
43985 cat confdefs.h >>conftest.$ac_ext
43986 cat >>conftest.$ac_ext <<_ACEOF
43987 /* end confdefs.h. */
43988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43990 #define $ac_func innocuous_$ac_func
43992 /* System header to define __stub macros and hopefully few prototypes,
43993 which can conflict with char $ac_func (); below.
43994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43995 <limits.h> exists even on freestanding compilers. */
43998 # include <limits.h>
44000 # include <assert.h>
44005 /* Override any GCC internal prototype to avoid an error.
44006 Use char because int might match the return type of a GCC
44007 builtin and then its argument prototype would still apply. */
44012 /* The GNU C library defines this for functions which it implements
44013 to always fail with ENOSYS. Some functions are actually named
44014 something starting with __ and the normal name is an alias. */
44015 #if defined __stub_$ac_func || defined __stub___$ac_func
44022 return $ac_func ();
44027 rm -f conftest.$ac_objext conftest$ac_exeext
44028 if { (ac_try="$ac_link"
44029 case "(($ac_try" in
44030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44031 *) ac_try_echo=$ac_try;;
44033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44034 (eval "$ac_link") 2>conftest.er1
44036 grep -v '^ *+' conftest.er1 >conftest.err
44038 cat conftest.err >&5
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); } && {
44041 test -z "$ac_c_werror_flag" ||
44042 test ! -s conftest.err
44043 } && test -s conftest$ac_exeext &&
44044 $as_test_x conftest$ac_exeext; then
44045 eval "$as_ac_var=yes"
44047 echo "$as_me: failed program was:" >&5
44048 sed 's/^/| /' conftest.$ac_ext >&5
44050 eval "$as_ac_var=no"
44053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44054 conftest$ac_exeext conftest.$ac_ext
44056 ac_res=`eval echo '${'$as_ac_var'}'`
44057 { echo "$as_me:$LINENO: result: $ac_res" >&5
44058 echo "${ECHO_T}$ac_res" >&6; }
44059 if test `eval echo '${'$as_ac_var'}'` = yes; then
44060 cat >>confdefs.h <<_ACEOF
44061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44063 cat >>confdefs.h <<\_ACEOF
44064 #define HAVE_DLERROR 1
44069 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44070 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44071 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44072 echo $ECHO_N "(cached) $ECHO_C" >&6
44074 ac_check_lib_save_LIBS=$LIBS
44076 cat >conftest.$ac_ext <<_ACEOF
44079 cat confdefs.h >>conftest.$ac_ext
44080 cat >>conftest.$ac_ext <<_ACEOF
44081 /* end confdefs.h. */
44083 /* Override any GCC internal prototype to avoid an error.
44084 Use char because int might match the return type of a GCC
44085 builtin and then its argument prototype would still apply. */
44098 rm -f conftest.$ac_objext conftest$ac_exeext
44099 if { (ac_try="$ac_link"
44100 case "(($ac_try" in
44101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44102 *) ac_try_echo=$ac_try;;
44104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44105 (eval "$ac_link") 2>conftest.er1
44107 grep -v '^ *+' conftest.er1 >conftest.err
44109 cat conftest.err >&5
44110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44111 (exit $ac_status); } && {
44112 test -z "$ac_c_werror_flag" ||
44113 test ! -s conftest.err
44114 } && test -s conftest$ac_exeext &&
44115 $as_test_x conftest$ac_exeext; then
44116 ac_cv_lib_dl_dlerror=yes
44118 echo "$as_me: failed program was:" >&5
44119 sed 's/^/| /' conftest.$ac_ext >&5
44121 ac_cv_lib_dl_dlerror=no
44124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44125 conftest$ac_exeext conftest.$ac_ext
44126 LIBS=$ac_check_lib_save_LIBS
44128 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44129 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44130 if test $ac_cv_lib_dl_dlerror = yes; then
44131 cat >>confdefs.h <<\_ACEOF
44132 #define HAVE_DLERROR 1
44145 if test "$HAVE_DL_FUNCS" = 0; then
44146 if test "$HAVE_SHL_FUNCS" = 0; then
44147 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44148 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44149 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44150 wxUSE_DYNAMIC_LOADER=no
44151 wxUSE_DYNLIB_CLASS=no
44153 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44154 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44161 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44162 cat >>confdefs.h <<\_ACEOF
44163 #define wxUSE_DYNAMIC_LOADER 1
44167 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44168 cat >>confdefs.h <<\_ACEOF
44169 #define wxUSE_DYNLIB_CLASS 1
44176 if test "$wxUSE_PLUGINS" = "yes" ; then
44177 if test "$wxUSE_SHARED" = "no" ; then
44178 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44179 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44182 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44183 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44184 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44187 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44188 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44189 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44192 if test "$wxUSE_PLUGINS" = "yes" ; then
44193 cat >>confdefs.h <<\_ACEOF
44194 #define wxUSE_PLUGINS 1
44201 if test "$wxUSE_STL" = "yes"; then
44202 cat >>confdefs.h <<\_ACEOF
44203 #define wxUSE_STL 1
44208 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44209 cat >>confdefs.h <<\_ACEOF
44210 #define wxUSE_EXTENDED_RTTI 1
44215 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44216 cat >>confdefs.h <<\_ACEOF
44217 #define wxUSE_APPLE_IEEE 1
44222 if test "$wxUSE_TIMER" = "yes"; then
44223 cat >>confdefs.h <<\_ACEOF
44224 #define wxUSE_TIMER 1
44229 if test "$USE_UNIX" = "1" ; then
44230 if test "$wxUSE_MGL" != 1; then
44231 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44232 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44233 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44234 echo $ECHO_N "(cached) $ECHO_C" >&6
44237 cat >conftest.$ac_ext <<_ACEOF
44240 cat confdefs.h >>conftest.$ac_ext
44241 cat >>conftest.$ac_ext <<_ACEOF
44242 /* end confdefs.h. */
44244 #include <sys/ioctl.h>
44245 #include <sys/soundcard.h>
44251 ioctl(0, SNDCTL_DSP_SPEED, 0);
44257 rm -f conftest.$ac_objext conftest$ac_exeext
44258 if { (ac_try="$ac_link"
44259 case "(($ac_try" in
44260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44261 *) ac_try_echo=$ac_try;;
44263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44264 (eval "$ac_link") 2>conftest.er1
44266 grep -v '^ *+' conftest.er1 >conftest.err
44268 cat conftest.err >&5
44269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270 (exit $ac_status); } && {
44271 test -z "$ac_c_werror_flag" ||
44272 test ! -s conftest.err
44273 } && test -s conftest$ac_exeext &&
44274 $as_test_x conftest$ac_exeext; then
44275 ac_cv_header_sys_soundcard=yes
44277 echo "$as_me: failed program was:" >&5
44278 sed 's/^/| /' conftest.$ac_ext >&5
44282 LIBS="$saveLibs -lossaudio"
44283 cat >conftest.$ac_ext <<_ACEOF
44286 cat confdefs.h >>conftest.$ac_ext
44287 cat >>conftest.$ac_ext <<_ACEOF
44288 /* end confdefs.h. */
44290 #include <sys/ioctl.h>
44291 #include <sys/soundcard.h>
44297 ioctl(0, SNDCTL_DSP_SPEED, 0);
44303 rm -f conftest.$ac_objext conftest$ac_exeext
44304 if { (ac_try="$ac_link"
44305 case "(($ac_try" in
44306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44307 *) ac_try_echo=$ac_try;;
44309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44310 (eval "$ac_link") 2>conftest.er1
44312 grep -v '^ *+' conftest.er1 >conftest.err
44314 cat conftest.err >&5
44315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44316 (exit $ac_status); } && {
44317 test -z "$ac_c_werror_flag" ||
44318 test ! -s conftest.err
44319 } && test -s conftest$ac_exeext &&
44320 $as_test_x conftest$ac_exeext; then
44321 ac_cv_header_sys_soundcard=yes
44323 echo "$as_me: failed program was:" >&5
44324 sed 's/^/| /' conftest.$ac_ext >&5
44328 ac_cv_header_sys_soundcard=no
44333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44334 conftest$ac_exeext conftest.$ac_ext
44339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44340 conftest$ac_exeext conftest.$ac_ext
44343 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44344 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44347 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44348 cat >>confdefs.h <<\_ACEOF
44349 #define HAVE_SYS_SOUNDCARD_H 1
44356 if test "$wxUSE_SOUND" = "yes"; then
44357 if test "$USE_UNIX" = "1" ; then
44358 if test "$wxUSE_LIBSDL" != "no"; then
44360 # Check whether --with-sdl-prefix was given.
44361 if test "${with_sdl_prefix+set}" = set; then
44362 withval=$with_sdl_prefix; sdl_prefix="$withval"
44368 # Check whether --with-sdl-exec-prefix was given.
44369 if test "${with_sdl_exec_prefix+set}" = set; then
44370 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44375 # Check whether --enable-sdltest was given.
44376 if test "${enable_sdltest+set}" = set; then
44377 enableval=$enable_sdltest;
44383 if test x$sdl_exec_prefix != x ; then
44384 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44385 if test x${SDL_CONFIG+set} != xset ; then
44386 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44389 if test x$sdl_prefix != x ; then
44390 sdl_args="$sdl_args --prefix=$sdl_prefix"
44391 if test x${SDL_CONFIG+set} != xset ; then
44392 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44396 if test "x$prefix" != xNONE; then
44397 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44399 # Extract the first word of "sdl-config", so it can be a program name with args.
44400 set dummy sdl-config; ac_word=$2
44401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44403 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44404 echo $ECHO_N "(cached) $ECHO_C" >&6
44406 case $SDL_CONFIG in
44408 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44412 for as_dir in $PATH
44415 test -z "$as_dir" && as_dir=.
44416 for ac_exec_ext in '' $ac_executable_extensions; do
44417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44418 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44426 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44430 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44431 if test -n "$SDL_CONFIG"; then
44432 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44433 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44435 { echo "$as_me:$LINENO: result: no" >&5
44436 echo "${ECHO_T}no" >&6; }
44440 min_sdl_version=1.2.0
44441 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44442 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44444 if test "$SDL_CONFIG" = "no" ; then
44447 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44448 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44450 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44452 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44453 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44454 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44455 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44456 if test "x$enable_sdltest" = "xyes" ; then
44457 ac_save_CFLAGS="$CFLAGS"
44458 ac_save_CXXFLAGS="$CXXFLAGS"
44459 ac_save_LIBS="$LIBS"
44460 CFLAGS="$CFLAGS $SDL_CFLAGS"
44461 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44462 LIBS="$LIBS $SDL_LIBS"
44464 if test "$cross_compiling" = yes; then
44465 echo $ac_n "cross compiling; assumed OK... $ac_c"
44467 cat >conftest.$ac_ext <<_ACEOF
44470 cat confdefs.h >>conftest.$ac_ext
44471 cat >>conftest.$ac_ext <<_ACEOF
44472 /* end confdefs.h. */
44475 #include <stdlib.h>
44476 #include <string.h>
44480 my_strdup (char *str)
44486 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44487 strcpy (new_str, str);
44495 int main (int argc, char *argv[])
44497 int major, minor, micro;
44500 /* This hangs on some systems (?)
44501 system ("touch conf.sdltest");
44503 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44505 /* HP/UX 9 (%@#!) writes to sscanf strings */
44506 tmp_version = my_strdup("$min_sdl_version");
44507 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44508 printf("%s, bad version string\n", "$min_sdl_version");
44512 if (($sdl_major_version > major) ||
44513 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44514 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44520 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44521 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44522 printf("*** best to upgrade to the required version.\n");
44523 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44524 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44525 printf("*** config.cache before re-running configure\n");
44532 rm -f conftest$ac_exeext
44533 if { (ac_try="$ac_link"
44534 case "(($ac_try" in
44535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44536 *) ac_try_echo=$ac_try;;
44538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44539 (eval "$ac_link") 2>&5
44541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44543 { (case "(($ac_try" in
44544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44545 *) ac_try_echo=$ac_try;;
44547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44548 (eval "$ac_try") 2>&5
44550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44551 (exit $ac_status); }; }; then
44554 echo "$as_me: program exited with status $ac_status" >&5
44555 echo "$as_me: failed program was:" >&5
44556 sed 's/^/| /' conftest.$ac_ext >&5
44558 ( exit $ac_status )
44561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44565 CFLAGS="$ac_save_CFLAGS"
44566 CXXFLAGS="$ac_save_CXXFLAGS"
44567 LIBS="$ac_save_LIBS"
44570 if test "x$no_sdl" = x ; then
44571 { echo "$as_me:$LINENO: result: yes" >&5
44572 echo "${ECHO_T}yes" >&6; }
44574 EXTRALIBS_SDL="$SDL_LIBS"
44575 CFLAGS="$SDL_CFLAGS $CFLAGS"
44576 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44577 cat >>confdefs.h <<\_ACEOF
44578 #define wxUSE_LIBSDL 1
44583 { echo "$as_me:$LINENO: result: no" >&5
44584 echo "${ECHO_T}no" >&6; }
44585 if test "$SDL_CONFIG" = "no" ; then
44586 echo "*** The sdl-config script installed by SDL could not be found"
44587 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44588 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44589 echo "*** full path to sdl-config."
44591 if test -f conf.sdltest ; then
44594 echo "*** Could not run SDL test program, checking why..."
44595 CFLAGS="$CFLAGS $SDL_CFLAGS"
44596 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44597 LIBS="$LIBS $SDL_LIBS"
44598 cat >conftest.$ac_ext <<_ACEOF
44601 cat confdefs.h >>conftest.$ac_ext
44602 cat >>conftest.$ac_ext <<_ACEOF
44603 /* end confdefs.h. */
44608 int main(int argc, char *argv[])
44611 #define main K_and_R_C_main
44621 rm -f conftest.$ac_objext conftest$ac_exeext
44622 if { (ac_try="$ac_link"
44623 case "(($ac_try" in
44624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44625 *) ac_try_echo=$ac_try;;
44627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44628 (eval "$ac_link") 2>conftest.er1
44630 grep -v '^ *+' conftest.er1 >conftest.err
44632 cat conftest.err >&5
44633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44634 (exit $ac_status); } && {
44635 test -z "$ac_c_werror_flag" ||
44636 test ! -s conftest.err
44637 } && test -s conftest$ac_exeext &&
44638 $as_test_x conftest$ac_exeext; then
44639 echo "*** The test program compiled, but did not run. This usually means"
44640 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44641 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44642 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44643 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44644 echo "*** is required on your system"
44646 echo "*** If you have an old version installed, it is best to remove it, although"
44647 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44649 echo "$as_me: failed program was:" >&5
44650 sed 's/^/| /' conftest.$ac_ext >&5
44652 echo "*** The test program failed to compile or link. See the file config.log for the"
44653 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44654 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44655 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44659 conftest$ac_exeext conftest.$ac_ext
44660 CFLAGS="$ac_save_CFLAGS"
44661 CXXFLAGS="$ac_save_CXXFLAGS"
44662 LIBS="$ac_save_LIBS"
44673 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44678 if test "$wxUSE_MGL" = 1; then
44679 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44680 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44686 if test "$wxUSE_SOUND" = "yes"; then
44687 cat >>confdefs.h <<\_ACEOF
44688 #define wxUSE_SOUND 1
44691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44694 if test "$WXGTK20" = 1; then
44697 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44698 if test -n "$ac_tool_prefix"; then
44699 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44700 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44703 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44704 echo $ECHO_N "(cached) $ECHO_C" >&6
44706 case $PKG_CONFIG in
44708 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44712 for as_dir in $PATH
44715 test -z "$as_dir" && as_dir=.
44716 for ac_exec_ext in '' $ac_executable_extensions; do
44717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44718 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44729 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44730 if test -n "$PKG_CONFIG"; then
44731 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44732 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44734 { echo "$as_me:$LINENO: result: no" >&5
44735 echo "${ECHO_T}no" >&6; }
44740 if test -z "$ac_cv_path_PKG_CONFIG"; then
44741 ac_pt_PKG_CONFIG=$PKG_CONFIG
44742 # Extract the first word of "pkg-config", so it can be a program name with args.
44743 set dummy pkg-config; ac_word=$2
44744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44746 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44747 echo $ECHO_N "(cached) $ECHO_C" >&6
44749 case $ac_pt_PKG_CONFIG in
44751 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44755 for as_dir in $PATH
44758 test -z "$as_dir" && as_dir=.
44759 for ac_exec_ext in '' $ac_executable_extensions; do
44760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44761 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44772 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44773 if test -n "$ac_pt_PKG_CONFIG"; then
44774 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44775 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44777 { echo "$as_me:$LINENO: result: no" >&5
44778 echo "${ECHO_T}no" >&6; }
44781 if test "x$ac_pt_PKG_CONFIG" = x; then
44784 case $cross_compiling:$ac_tool_warned in
44786 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44787 whose name does not start with the host triplet. If you think this
44788 configuration is useful to you, please write to autoconf@gnu.org." >&5
44789 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44790 whose name does not start with the host triplet. If you think this
44791 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44792 ac_tool_warned=yes ;;
44794 PKG_CONFIG=$ac_pt_PKG_CONFIG
44797 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44801 if test -n "$PKG_CONFIG"; then
44802 _pkg_min_version=0.9.0
44803 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44804 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44805 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44806 { echo "$as_me:$LINENO: result: yes" >&5
44807 echo "${ECHO_T}yes" >&6; }
44809 { echo "$as_me:$LINENO: result: no" >&5
44810 echo "${ECHO_T}no" >&6; }
44816 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44817 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44821 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44822 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44824 if test -n "$PKG_CONFIG"; then
44825 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44826 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44828 if test -n "$PKG_CONFIG" && \
44829 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44830 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44833 (exit $ac_status); }; then
44834 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44842 if test -n "$PKG_CONFIG"; then
44843 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44844 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44846 if test -n "$PKG_CONFIG" && \
44847 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44848 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44851 (exit $ac_status); }; then
44852 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44863 if test $pkg_failed = yes; then
44865 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44866 _pkg_short_errors_supported=yes
44868 _pkg_short_errors_supported=no
44870 if test $_pkg_short_errors_supported = yes; then
44871 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44873 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44875 # Put the nasty error message in config.log where it belongs
44876 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44879 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44880 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44881 wxUSE_LIBGNOMEPRINT="no"
44884 elif test $pkg_failed = untried; then
44886 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44887 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44888 wxUSE_LIBGNOMEPRINT="no"
44892 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44893 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44894 { echo "$as_me:$LINENO: result: yes" >&5
44895 echo "${ECHO_T}yes" >&6; }
44897 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44898 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44899 cat >>confdefs.h <<\_ACEOF
44900 #define wxUSE_LIBGNOMEPRINT 1
44908 if test "$wxUSE_MIMETYPE" = "yes" ; then
44909 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44913 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44914 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44916 if test -n "$PKG_CONFIG"; then
44917 if test -n "$GNOMEVFS_CFLAGS"; then
44918 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44920 if test -n "$PKG_CONFIG" && \
44921 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44922 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44925 (exit $ac_status); }; then
44926 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44934 if test -n "$PKG_CONFIG"; then
44935 if test -n "$GNOMEVFS_LIBS"; then
44936 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44938 if test -n "$PKG_CONFIG" && \
44939 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44940 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44943 (exit $ac_status); }; then
44944 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44955 if test $pkg_failed = yes; then
44957 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44958 _pkg_short_errors_supported=yes
44960 _pkg_short_errors_supported=no
44962 if test $_pkg_short_errors_supported = yes; then
44963 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44965 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44967 # Put the nasty error message in config.log where it belongs
44968 echo "$GNOMEVFS_PKG_ERRORS" >&5
44971 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44972 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44973 wxUSE_LIBGNOMEVFS="no"
44976 elif test $pkg_failed = untried; then
44978 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44979 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44980 wxUSE_LIBGNOMEVFS="no"
44984 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44985 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44986 { echo "$as_me:$LINENO: result: yes" >&5
44987 echo "${ECHO_T}yes" >&6; }
44989 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44990 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44991 cat >>confdefs.h <<\_ACEOF
44992 #define wxUSE_LIBGNOMEVFS 1
45000 if test "$wxUSE_LIBHILDON" = "yes" ; then
45003 { echo "$as_me:$LINENO: checking for HILDON" >&5
45004 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45006 if test -n "$PKG_CONFIG"; then
45007 if test -n "$HILDON_CFLAGS"; then
45008 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45010 if test -n "$PKG_CONFIG" && \
45011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45012 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45015 (exit $ac_status); }; then
45016 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45024 if test -n "$PKG_CONFIG"; then
45025 if test -n "$HILDON_LIBS"; then
45026 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45028 if test -n "$PKG_CONFIG" && \
45029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45030 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45033 (exit $ac_status); }; then
45034 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45045 if test $pkg_failed = yes; then
45047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45048 _pkg_short_errors_supported=yes
45050 _pkg_short_errors_supported=no
45052 if test $_pkg_short_errors_supported = yes; then
45053 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45055 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45057 # Put the nasty error message in config.log where it belongs
45058 echo "$HILDON_PKG_ERRORS" >&5
45061 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45062 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45063 wxUSE_LIBHILDON="no"
45066 elif test $pkg_failed = untried; then
45068 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45069 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45070 wxUSE_LIBHILDON="no"
45074 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45075 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45076 { echo "$as_me:$LINENO: result: yes" >&5
45077 echo "${ECHO_T}yes" >&6; }
45079 EXTRALIBS_HILDON="$HILDON_LIBS"
45080 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45081 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45082 cat >>confdefs.h <<\_ACEOF
45083 #define wxUSE_LIBHILDON 1
45091 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45092 cat >>confdefs.h <<\_ACEOF
45093 #define wxUSE_CMDLINE_PARSER 1
45098 if test "$wxUSE_STOPWATCH" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_STOPWATCH 1
45105 if test "$wxUSE_DATETIME" = "yes"; then
45106 cat >>confdefs.h <<\_ACEOF
45107 #define wxUSE_DATETIME 1
45112 if test "$wxUSE_FILE" = "yes"; then
45113 cat >>confdefs.h <<\_ACEOF
45114 #define wxUSE_FILE 1
45119 if test "$wxUSE_FFILE" = "yes"; then
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_FFILE 1
45126 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45127 if test "$wxUSE_STREAMS" != yes; then
45128 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45129 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45130 wxUSE_ARCHIVE_STREAMS=no
45132 cat >>confdefs.h <<\_ACEOF
45133 #define wxUSE_ARCHIVE_STREAMS 1
45139 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45140 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45141 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45142 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45143 elif test "$wxUSE_ZLIB" = "no"; then
45144 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45145 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45147 cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_ZIPSTREAM 1
45154 if test "$wxUSE_TARSTREAM" = "yes"; then
45155 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45156 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45157 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_TARSTREAM 1
45166 if test "$wxUSE_FILESYSTEM" = "yes"; then
45167 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45168 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45169 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45170 wxUSE_FILESYSTEM=no
45172 cat >>confdefs.h <<\_ACEOF
45173 #define wxUSE_FILESYSTEM 1
45179 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45180 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45181 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45182 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_FS_ARCHIVE 1
45191 if test "$wxUSE_FS_ZIP" = "yes"; then
45192 if test "$wxUSE_FS_ARCHIVE" != yes; then
45193 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45194 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45196 cat >>confdefs.h <<\_ACEOF
45197 #define wxUSE_FS_ZIP 1
45203 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45204 if test "$USE_UNIX" != 1; then
45205 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45206 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45207 wxUSE_ON_FATAL_EXCEPTION=no
45209 cat >>confdefs.h <<\_ACEOF
45210 #define wxUSE_ON_FATAL_EXCEPTION 1
45216 if test "$wxUSE_STACKWALKER" = "yes"; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_STACKWALKER 1
45223 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45224 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45225 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45226 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45227 wxUSE_DEBUGREPORT=no
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_DEBUGREPORT 1
45233 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45239 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_SNGLINST_CHECKER 1
45246 if test "$wxUSE_BUSYINFO" = "yes"; then
45247 cat >>confdefs.h <<\_ACEOF
45248 #define wxUSE_BUSYINFO 1
45253 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_STD_IOSTREAM 1
45260 if test "$wxUSE_STD_STRING" = "yes"; then
45261 cat >>confdefs.h <<\_ACEOF
45262 #define wxUSE_STD_STRING 1
45267 if test "$wxUSE_STDPATHS" = "yes"; then
45268 cat >>confdefs.h <<\_ACEOF
45269 #define wxUSE_STDPATHS 1
45274 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45275 cat >>confdefs.h <<\_ACEOF
45276 #define wxUSE_TEXTBUFFER 1
45281 if test "$wxUSE_TEXTFILE" = "yes"; then
45282 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45283 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45284 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45286 cat >>confdefs.h <<\_ACEOF
45287 #define wxUSE_TEXTFILE 1
45293 if test "$wxUSE_CONFIG" = "yes" ; then
45294 if test "$wxUSE_TEXTFILE" != "yes"; then
45295 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45296 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45298 cat >>confdefs.h <<\_ACEOF
45299 #define wxUSE_CONFIG 1
45302 cat >>confdefs.h <<\_ACEOF
45303 #define wxUSE_CONFIG_NATIVE 1
45306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45310 if test "$wxUSE_INTL" = "yes" ; then
45311 if test "$wxUSE_FILE" != "yes"; then
45312 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45313 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_INTL 1
45319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45320 GUIDIST="$GUIDIST INTL_DIST"
45324 if test "$wxUSE_LOG" = "yes"; then
45325 cat >>confdefs.h <<\_ACEOF
45326 #define wxUSE_LOG 1
45330 if test "$wxUSE_LOGGUI" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_LOGGUI 1
45337 if test "$wxUSE_LOGWINDOW" = "yes"; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_LOGWINDOW 1
45344 if test "$wxUSE_LOGDIALOG" = "yes"; then
45345 cat >>confdefs.h <<\_ACEOF
45346 #define wxUSE_LOG_DIALOG 1
45351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45354 if test "$wxUSE_LONGLONG" = "yes"; then
45355 cat >>confdefs.h <<\_ACEOF
45356 #define wxUSE_LONGLONG 1
45361 if test "$wxUSE_GEOMETRY" = "yes"; then
45362 cat >>confdefs.h <<\_ACEOF
45363 #define wxUSE_GEOMETRY 1
45368 if test "$wxUSE_BASE64" = "yes"; then
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_BASE64 1
45375 if test "$wxUSE_STREAMS" = "yes" ; then
45376 cat >>confdefs.h <<\_ACEOF
45377 #define wxUSE_STREAMS 1
45382 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_PRINTF_POS_PARAMS 1
45389 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_OBJC_UNIQUIFYING 1
45397 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_CONSOLE_EVENTLOOP 1
45403 if test "$wxUSE_UNIX" = "yes"; then
45404 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_SELECT_DISPATCHER 1
45411 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45413 for ac_header in sys/epoll.h
45415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45420 echo $ECHO_N "(cached) $ECHO_C" >&6
45422 ac_res=`eval echo '${'$as_ac_Header'}'`
45423 { echo "$as_me:$LINENO: result: $ac_res" >&5
45424 echo "${ECHO_T}$ac_res" >&6; }
45426 # Is the header compilable?
45427 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45429 cat >conftest.$ac_ext <<_ACEOF
45432 cat confdefs.h >>conftest.$ac_ext
45433 cat >>conftest.$ac_ext <<_ACEOF
45434 /* end confdefs.h. */
45435 $ac_includes_default
45436 #include <$ac_header>
45438 rm -f conftest.$ac_objext
45439 if { (ac_try="$ac_compile"
45440 case "(($ac_try" in
45441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45442 *) ac_try_echo=$ac_try;;
45444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45445 (eval "$ac_compile") 2>conftest.er1
45447 grep -v '^ *+' conftest.er1 >conftest.err
45449 cat conftest.err >&5
45450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451 (exit $ac_status); } && {
45452 test -z "$ac_c_werror_flag" ||
45453 test ! -s conftest.err
45454 } && test -s conftest.$ac_objext; then
45455 ac_header_compiler=yes
45457 echo "$as_me: failed program was:" >&5
45458 sed 's/^/| /' conftest.$ac_ext >&5
45460 ac_header_compiler=no
45463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45464 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45465 echo "${ECHO_T}$ac_header_compiler" >&6; }
45467 # Is the header present?
45468 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45470 cat >conftest.$ac_ext <<_ACEOF
45473 cat confdefs.h >>conftest.$ac_ext
45474 cat >>conftest.$ac_ext <<_ACEOF
45475 /* end confdefs.h. */
45476 #include <$ac_header>
45478 if { (ac_try="$ac_cpp conftest.$ac_ext"
45479 case "(($ac_try" in
45480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45481 *) ac_try_echo=$ac_try;;
45483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45486 grep -v '^ *+' conftest.er1 >conftest.err
45488 cat conftest.err >&5
45489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45490 (exit $ac_status); } >/dev/null && {
45491 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45492 test ! -s conftest.err
45494 ac_header_preproc=yes
45496 echo "$as_me: failed program was:" >&5
45497 sed 's/^/| /' conftest.$ac_ext >&5
45499 ac_header_preproc=no
45502 rm -f conftest.err conftest.$ac_ext
45503 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45504 echo "${ECHO_T}$ac_header_preproc" >&6; }
45506 # So? What about this header?
45507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45509 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45510 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45512 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45513 ac_header_preproc=yes
45516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45520 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45521 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45522 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45523 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45526 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45527 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45529 ## ----------------------------------------- ##
45530 ## Report this to wx-dev@lists.wxwidgets.org ##
45531 ## ----------------------------------------- ##
45533 ) | sed "s/^/$as_me: WARNING: /" >&2
45536 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45539 echo $ECHO_N "(cached) $ECHO_C" >&6
45541 eval "$as_ac_Header=\$ac_header_preproc"
45543 ac_res=`eval echo '${'$as_ac_Header'}'`
45544 { echo "$as_me:$LINENO: result: $ac_res" >&5
45545 echo "${ECHO_T}$ac_res" >&6; }
45548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45549 cat >>confdefs.h <<_ACEOF
45550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45557 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45558 cat >>confdefs.h <<\_ACEOF
45559 #define wxUSE_EPOLL_DISPATCHER 1
45563 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45564 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45573 for ac_func in gettimeofday ftime
45575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45576 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45578 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45579 echo $ECHO_N "(cached) $ECHO_C" >&6
45581 cat >conftest.$ac_ext <<_ACEOF
45584 cat confdefs.h >>conftest.$ac_ext
45585 cat >>conftest.$ac_ext <<_ACEOF
45586 /* end confdefs.h. */
45587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45589 #define $ac_func innocuous_$ac_func
45591 /* System header to define __stub macros and hopefully few prototypes,
45592 which can conflict with char $ac_func (); below.
45593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45594 <limits.h> exists even on freestanding compilers. */
45597 # include <limits.h>
45599 # include <assert.h>
45604 /* Override any GCC internal prototype to avoid an error.
45605 Use char because int might match the return type of a GCC
45606 builtin and then its argument prototype would still apply. */
45611 /* The GNU C library defines this for functions which it implements
45612 to always fail with ENOSYS. Some functions are actually named
45613 something starting with __ and the normal name is an alias. */
45614 #if defined __stub_$ac_func || defined __stub___$ac_func
45621 return $ac_func ();
45626 rm -f conftest.$ac_objext conftest$ac_exeext
45627 if { (ac_try="$ac_link"
45628 case "(($ac_try" in
45629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45630 *) ac_try_echo=$ac_try;;
45632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45633 (eval "$ac_link") 2>conftest.er1
45635 grep -v '^ *+' conftest.er1 >conftest.err
45637 cat conftest.err >&5
45638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45639 (exit $ac_status); } && {
45640 test -z "$ac_c_werror_flag" ||
45641 test ! -s conftest.err
45642 } && test -s conftest$ac_exeext &&
45643 $as_test_x conftest$ac_exeext; then
45644 eval "$as_ac_var=yes"
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.$ac_ext >&5
45649 eval "$as_ac_var=no"
45652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45653 conftest$ac_exeext conftest.$ac_ext
45655 ac_res=`eval echo '${'$as_ac_var'}'`
45656 { echo "$as_me:$LINENO: result: $ac_res" >&5
45657 echo "${ECHO_T}$ac_res" >&6; }
45658 if test `eval echo '${'$as_ac_var'}'` = yes; then
45659 cat >>confdefs.h <<_ACEOF
45660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45667 if test "$ac_cv_func_gettimeofday" = "yes"; then
45668 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45669 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45670 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45671 echo $ECHO_N "(cached) $ECHO_C" >&6
45674 cat >conftest.$ac_ext <<_ACEOF
45677 cat confdefs.h >>conftest.$ac_ext
45678 cat >>conftest.$ac_ext <<_ACEOF
45679 /* end confdefs.h. */
45681 #include <sys/time.h>
45682 #include <unistd.h>
45689 gettimeofday(&tv, NULL);
45695 rm -f conftest.$ac_objext
45696 if { (ac_try="$ac_compile"
45697 case "(($ac_try" in
45698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45699 *) ac_try_echo=$ac_try;;
45701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45702 (eval "$ac_compile") 2>conftest.er1
45704 grep -v '^ *+' conftest.er1 >conftest.err
45706 cat conftest.err >&5
45707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708 (exit $ac_status); } && {
45709 test -z "$ac_c_werror_flag" ||
45710 test ! -s conftest.err
45711 } && test -s conftest.$ac_objext; then
45712 wx_cv_func_gettimeofday_has_2_args=yes
45714 echo "$as_me: failed program was:" >&5
45715 sed 's/^/| /' conftest.$ac_ext >&5
45717 cat >conftest.$ac_ext <<_ACEOF
45720 cat confdefs.h >>conftest.$ac_ext
45721 cat >>conftest.$ac_ext <<_ACEOF
45722 /* end confdefs.h. */
45724 #include <sys/time.h>
45725 #include <unistd.h>
45738 rm -f conftest.$ac_objext
45739 if { (ac_try="$ac_compile"
45740 case "(($ac_try" in
45741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45742 *) ac_try_echo=$ac_try;;
45744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45745 (eval "$ac_compile") 2>conftest.er1
45747 grep -v '^ *+' conftest.er1 >conftest.err
45749 cat conftest.err >&5
45750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45751 (exit $ac_status); } && {
45752 test -z "$ac_c_werror_flag" ||
45753 test ! -s conftest.err
45754 } && test -s conftest.$ac_objext; then
45755 wx_cv_func_gettimeofday_has_2_args=no
45757 echo "$as_me: failed program was:" >&5
45758 sed 's/^/| /' conftest.$ac_ext >&5
45761 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45762 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45763 wx_cv_func_gettimeofday_has_2_args=unknown
45768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45775 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45776 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45778 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45779 cat >>confdefs.h <<\_ACEOF
45780 #define WX_GETTIMEOFDAY_NO_TZ 1
45786 if test "$wxUSE_DATETIME" = "yes"; then
45787 { echo "$as_me:$LINENO: checking for strptime" >&5
45788 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45789 if test "${ac_cv_func_strptime+set}" = set; then
45790 echo $ECHO_N "(cached) $ECHO_C" >&6
45792 cat >conftest.$ac_ext <<_ACEOF
45795 cat confdefs.h >>conftest.$ac_ext
45796 cat >>conftest.$ac_ext <<_ACEOF
45797 /* end confdefs.h. */
45798 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45800 #define strptime innocuous_strptime
45802 /* System header to define __stub macros and hopefully few prototypes,
45803 which can conflict with char strptime (); below.
45804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45805 <limits.h> exists even on freestanding compilers. */
45808 # include <limits.h>
45810 # include <assert.h>
45815 /* Override any GCC internal prototype to avoid an error.
45816 Use char because int might match the return type of a GCC
45817 builtin and then its argument prototype would still apply. */
45822 /* The GNU C library defines this for functions which it implements
45823 to always fail with ENOSYS. Some functions are actually named
45824 something starting with __ and the normal name is an alias. */
45825 #if defined __stub_strptime || defined __stub___strptime
45832 return strptime ();
45837 rm -f conftest.$ac_objext conftest$ac_exeext
45838 if { (ac_try="$ac_link"
45839 case "(($ac_try" in
45840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45841 *) ac_try_echo=$ac_try;;
45843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45844 (eval "$ac_link") 2>conftest.er1
45846 grep -v '^ *+' conftest.er1 >conftest.err
45848 cat conftest.err >&5
45849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45850 (exit $ac_status); } && {
45851 test -z "$ac_c_werror_flag" ||
45852 test ! -s conftest.err
45853 } && test -s conftest$ac_exeext &&
45854 $as_test_x conftest$ac_exeext; then
45855 ac_cv_func_strptime=yes
45857 echo "$as_me: failed program was:" >&5
45858 sed 's/^/| /' conftest.$ac_ext >&5
45860 ac_cv_func_strptime=no
45863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45864 conftest$ac_exeext conftest.$ac_ext
45866 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45867 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45869 if test "$ac_cv_func_strptime" = "yes"; then
45870 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45871 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45872 if test "${wx_cv_func_strptime_decl+set}" = set; then
45873 echo $ECHO_N "(cached) $ECHO_C" >&6
45877 ac_cpp='$CXXCPP $CPPFLAGS'
45878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45882 cat >conftest.$ac_ext <<_ACEOF
45885 cat confdefs.h >>conftest.$ac_ext
45886 cat >>conftest.$ac_ext <<_ACEOF
45887 /* end confdefs.h. */
45896 strptime("foo", "bar", &t);
45902 rm -f conftest.$ac_objext
45903 if { (ac_try="$ac_compile"
45904 case "(($ac_try" in
45905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45906 *) ac_try_echo=$ac_try;;
45908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45909 (eval "$ac_compile") 2>conftest.er1
45911 grep -v '^ *+' conftest.er1 >conftest.err
45913 cat conftest.err >&5
45914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45915 (exit $ac_status); } && {
45916 test -z "$ac_cxx_werror_flag" ||
45917 test ! -s conftest.err
45918 } && test -s conftest.$ac_objext; then
45919 wx_cv_func_strptime_decl=yes
45921 echo "$as_me: failed program was:" >&5
45922 sed 's/^/| /' conftest.$ac_ext >&5
45924 wx_cv_func_strptime_decl=no
45928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45930 ac_cpp='$CPP $CPPFLAGS'
45931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45938 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45939 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
45941 if test "$wx_cv_func_strptime_decl" = "yes"; then
45942 cat >>confdefs.h <<\_ACEOF
45943 #define HAVE_STRPTIME_DECL 1
45947 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
45949 if test "$ac_cv_func_strptime" = "yes"; then
45950 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
45951 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
45952 if test "${wx_cv_func_strptime_ok+set}" = set; then
45953 echo $ECHO_N "(cached) $ECHO_C" >&6
45955 if test "$cross_compiling" = yes; then
45956 wx_cv_func_strptime_ok=no
45959 cat >conftest.$ac_ext <<_ACEOF
45961 #include <stdlib.h>
45963 #include "confdefs.h"
45970 return !!strptime("", "%x", &t);
45974 rm -f conftest$ac_exeext
45975 if { (ac_try="$ac_link"
45976 case "(($ac_try" in
45977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45978 *) ac_try_echo=$ac_try;;
45980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45981 (eval "$ac_link") 2>&5
45983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45985 { (case "(($ac_try" in
45986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45987 *) ac_try_echo=$ac_try;;
45989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45990 (eval "$ac_try") 2>&5
45992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45993 (exit $ac_status); }; }; then
45994 wx_cv_func_strptime_ok=yes
45996 echo "$as_me: program exited with status $ac_status" >&5
45997 echo "$as_me: failed program was:" >&5
45998 sed 's/^/| /' conftest.$ac_ext >&5
46000 ( exit $ac_status )
46001 wx_cv_func_strptime_ok=no
46003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46009 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46010 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46012 if test "$wx_cv_func_strptime_ok" = "yes"; then
46013 cat >>confdefs.h <<\_ACEOF
46014 #define HAVE_STRPTIME 1
46020 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46021 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46022 if test "${wx_cv_var_timezone+set}" = set; then
46023 echo $ECHO_N "(cached) $ECHO_C" >&6
46027 ac_cpp='$CXXCPP $CPPFLAGS'
46028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46032 cat >conftest.$ac_ext <<_ACEOF
46035 cat confdefs.h >>conftest.$ac_ext
46036 cat >>conftest.$ac_ext <<_ACEOF
46037 /* end confdefs.h. */
46052 rm -f conftest.$ac_objext
46053 if { (ac_try="$ac_compile"
46054 case "(($ac_try" in
46055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46056 *) ac_try_echo=$ac_try;;
46058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46059 (eval "$ac_compile") 2>conftest.er1
46061 grep -v '^ *+' conftest.er1 >conftest.err
46063 cat conftest.err >&5
46064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46065 (exit $ac_status); } && {
46066 test -z "$ac_cxx_werror_flag" ||
46067 test ! -s conftest.err
46068 } && test -s conftest.$ac_objext; then
46070 wx_cv_var_timezone=timezone
46073 echo "$as_me: failed program was:" >&5
46074 sed 's/^/| /' conftest.$ac_ext >&5
46077 cat >conftest.$ac_ext <<_ACEOF
46080 cat confdefs.h >>conftest.$ac_ext
46081 cat >>conftest.$ac_ext <<_ACEOF
46082 /* end confdefs.h. */
46097 rm -f conftest.$ac_objext
46098 if { (ac_try="$ac_compile"
46099 case "(($ac_try" in
46100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46101 *) ac_try_echo=$ac_try;;
46103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46104 (eval "$ac_compile") 2>conftest.er1
46106 grep -v '^ *+' conftest.er1 >conftest.err
46108 cat conftest.err >&5
46109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46110 (exit $ac_status); } && {
46111 test -z "$ac_cxx_werror_flag" ||
46112 test ! -s conftest.err
46113 } && test -s conftest.$ac_objext; then
46115 wx_cv_var_timezone=_timezone
46118 echo "$as_me: failed program was:" >&5
46119 sed 's/^/| /' conftest.$ac_ext >&5
46122 cat >conftest.$ac_ext <<_ACEOF
46125 cat confdefs.h >>conftest.$ac_ext
46126 cat >>conftest.$ac_ext <<_ACEOF
46127 /* end confdefs.h. */
46142 rm -f conftest.$ac_objext
46143 if { (ac_try="$ac_compile"
46144 case "(($ac_try" in
46145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46146 *) ac_try_echo=$ac_try;;
46148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46149 (eval "$ac_compile") 2>conftest.er1
46151 grep -v '^ *+' conftest.er1 >conftest.err
46153 cat conftest.err >&5
46154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46155 (exit $ac_status); } && {
46156 test -z "$ac_cxx_werror_flag" ||
46157 test ! -s conftest.err
46158 } && test -s conftest.$ac_objext; then
46160 wx_cv_var_timezone=__timezone
46163 echo "$as_me: failed program was:" >&5
46164 sed 's/^/| /' conftest.$ac_ext >&5
46167 if test "$USE_DOS" = 0 ; then
46168 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46169 echo "$as_me: WARNING: no timezone variable" >&2;}
46175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46187 ac_cpp='$CPP $CPPFLAGS'
46188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46195 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46196 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46198 if test "x$wx_cv_var_timezone" != x ; then
46199 cat >>confdefs.h <<_ACEOF
46200 #define WX_TIMEZONE $wx_cv_var_timezone
46206 for ac_func in localtime
46208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46209 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46211 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46212 echo $ECHO_N "(cached) $ECHO_C" >&6
46214 cat >conftest.$ac_ext <<_ACEOF
46217 cat confdefs.h >>conftest.$ac_ext
46218 cat >>conftest.$ac_ext <<_ACEOF
46219 /* end confdefs.h. */
46220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46222 #define $ac_func innocuous_$ac_func
46224 /* System header to define __stub macros and hopefully few prototypes,
46225 which can conflict with char $ac_func (); below.
46226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46227 <limits.h> exists even on freestanding compilers. */
46230 # include <limits.h>
46232 # include <assert.h>
46237 /* Override any GCC internal prototype to avoid an error.
46238 Use char because int might match the return type of a GCC
46239 builtin and then its argument prototype would still apply. */
46244 /* The GNU C library defines this for functions which it implements
46245 to always fail with ENOSYS. Some functions are actually named
46246 something starting with __ and the normal name is an alias. */
46247 #if defined __stub_$ac_func || defined __stub___$ac_func
46254 return $ac_func ();
46259 rm -f conftest.$ac_objext conftest$ac_exeext
46260 if { (ac_try="$ac_link"
46261 case "(($ac_try" in
46262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46263 *) ac_try_echo=$ac_try;;
46265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46266 (eval "$ac_link") 2>conftest.er1
46268 grep -v '^ *+' conftest.er1 >conftest.err
46270 cat conftest.err >&5
46271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46272 (exit $ac_status); } && {
46273 test -z "$ac_c_werror_flag" ||
46274 test ! -s conftest.err
46275 } && test -s conftest$ac_exeext &&
46276 $as_test_x conftest$ac_exeext; then
46277 eval "$as_ac_var=yes"
46279 echo "$as_me: failed program was:" >&5
46280 sed 's/^/| /' conftest.$ac_ext >&5
46282 eval "$as_ac_var=no"
46285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46286 conftest$ac_exeext conftest.$ac_ext
46288 ac_res=`eval echo '${'$as_ac_var'}'`
46289 { echo "$as_me:$LINENO: result: $ac_res" >&5
46290 echo "${ECHO_T}$ac_res" >&6; }
46291 if test `eval echo '${'$as_ac_var'}'` = yes; then
46292 cat >>confdefs.h <<_ACEOF
46293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46300 if test "$ac_cv_func_localtime" = "yes"; then
46301 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46302 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46303 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46304 echo $ECHO_N "(cached) $ECHO_C" >&6
46307 cat >conftest.$ac_ext <<_ACEOF
46310 cat confdefs.h >>conftest.$ac_ext
46311 cat >>conftest.$ac_ext <<_ACEOF
46312 /* end confdefs.h. */
46327 rm -f conftest.$ac_objext
46328 if { (ac_try="$ac_compile"
46329 case "(($ac_try" in
46330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46331 *) ac_try_echo=$ac_try;;
46333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46334 (eval "$ac_compile") 2>conftest.er1
46336 grep -v '^ *+' conftest.er1 >conftest.err
46338 cat conftest.err >&5
46339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46340 (exit $ac_status); } && {
46341 test -z "$ac_c_werror_flag" ||
46342 test ! -s conftest.err
46343 } && test -s conftest.$ac_objext; then
46345 wx_cv_struct_tm_has_gmtoff=yes
46348 echo "$as_me: failed program was:" >&5
46349 sed 's/^/| /' conftest.$ac_ext >&5
46351 wx_cv_struct_tm_has_gmtoff=no
46355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46358 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46359 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46362 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46363 cat >>confdefs.h <<\_ACEOF
46364 #define WX_GMTOFF_IN_TM 1
46369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46373 if test "$wxUSE_SOCKETS" = "yes"; then
46374 if test "$wxUSE_MGL" = "1"; then
46375 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46376 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46381 if test "$wxUSE_SOCKETS" = "yes"; then
46382 if test "$TOOLKIT" != "MSW"; then
46383 { echo "$as_me:$LINENO: checking for socket" >&5
46384 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46385 if test "${ac_cv_func_socket+set}" = set; then
46386 echo $ECHO_N "(cached) $ECHO_C" >&6
46388 cat >conftest.$ac_ext <<_ACEOF
46391 cat confdefs.h >>conftest.$ac_ext
46392 cat >>conftest.$ac_ext <<_ACEOF
46393 /* end confdefs.h. */
46394 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46396 #define socket innocuous_socket
46398 /* System header to define __stub macros and hopefully few prototypes,
46399 which can conflict with char socket (); below.
46400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46401 <limits.h> exists even on freestanding compilers. */
46404 # include <limits.h>
46406 # include <assert.h>
46411 /* Override any GCC internal prototype to avoid an error.
46412 Use char because int might match the return type of a GCC
46413 builtin and then its argument prototype would still apply. */
46418 /* The GNU C library defines this for functions which it implements
46419 to always fail with ENOSYS. Some functions are actually named
46420 something starting with __ and the normal name is an alias. */
46421 #if defined __stub_socket || defined __stub___socket
46433 rm -f conftest.$ac_objext conftest$ac_exeext
46434 if { (ac_try="$ac_link"
46435 case "(($ac_try" in
46436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46437 *) ac_try_echo=$ac_try;;
46439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46440 (eval "$ac_link") 2>conftest.er1
46442 grep -v '^ *+' conftest.er1 >conftest.err
46444 cat conftest.err >&5
46445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46446 (exit $ac_status); } && {
46447 test -z "$ac_c_werror_flag" ||
46448 test ! -s conftest.err
46449 } && test -s conftest$ac_exeext &&
46450 $as_test_x conftest$ac_exeext; then
46451 ac_cv_func_socket=yes
46453 echo "$as_me: failed program was:" >&5
46454 sed 's/^/| /' conftest.$ac_ext >&5
46456 ac_cv_func_socket=no
46459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46460 conftest$ac_exeext conftest.$ac_ext
46462 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46463 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46464 if test $ac_cv_func_socket = yes; then
46468 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46469 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46470 if test "${ac_cv_lib_socket_socket+set}" = set; then
46471 echo $ECHO_N "(cached) $ECHO_C" >&6
46473 ac_check_lib_save_LIBS=$LIBS
46474 LIBS="-lsocket $LIBS"
46475 cat >conftest.$ac_ext <<_ACEOF
46478 cat confdefs.h >>conftest.$ac_ext
46479 cat >>conftest.$ac_ext <<_ACEOF
46480 /* end confdefs.h. */
46482 /* Override any GCC internal prototype to avoid an error.
46483 Use char because int might match the return type of a GCC
46484 builtin and then its argument prototype would still apply. */
46497 rm -f conftest.$ac_objext conftest$ac_exeext
46498 if { (ac_try="$ac_link"
46499 case "(($ac_try" in
46500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46501 *) ac_try_echo=$ac_try;;
46503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46504 (eval "$ac_link") 2>conftest.er1
46506 grep -v '^ *+' conftest.er1 >conftest.err
46508 cat conftest.err >&5
46509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46510 (exit $ac_status); } && {
46511 test -z "$ac_c_werror_flag" ||
46512 test ! -s conftest.err
46513 } && test -s conftest$ac_exeext &&
46514 $as_test_x conftest$ac_exeext; then
46515 ac_cv_lib_socket_socket=yes
46517 echo "$as_me: failed program was:" >&5
46518 sed 's/^/| /' conftest.$ac_ext >&5
46520 ac_cv_lib_socket_socket=no
46523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46524 conftest$ac_exeext conftest.$ac_ext
46525 LIBS=$ac_check_lib_save_LIBS
46527 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46528 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46529 if test $ac_cv_lib_socket_socket = yes; then
46530 if test "$INET_LINK" != " -lsocket"; then
46531 INET_LINK="$INET_LINK -lsocket"
46535 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46536 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46549 if test "$wxUSE_SOCKETS" = "yes" ; then
46550 if test "$TOOLKIT" != "MSW"; then
46551 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46552 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46553 if test "${wx_cv_type_getsockname3+set}" = set; then
46554 echo $ECHO_N "(cached) $ECHO_C" >&6
46558 ac_cpp='$CXXCPP $CPPFLAGS'
46559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46563 cat >conftest.$ac_ext <<_ACEOF
46566 cat confdefs.h >>conftest.$ac_ext
46567 cat >>conftest.$ac_ext <<_ACEOF
46568 /* end confdefs.h. */
46570 #include <sys/types.h>
46571 #include <sys/socket.h>
46578 getsockname(0, 0, &len);
46584 rm -f conftest.$ac_objext
46585 if { (ac_try="$ac_compile"
46586 case "(($ac_try" in
46587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46588 *) ac_try_echo=$ac_try;;
46590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46591 (eval "$ac_compile") 2>conftest.er1
46593 grep -v '^ *+' conftest.er1 >conftest.err
46595 cat conftest.err >&5
46596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46597 (exit $ac_status); } && {
46598 test -z "$ac_cxx_werror_flag" ||
46599 test ! -s conftest.err
46600 } && test -s conftest.$ac_objext; then
46601 wx_cv_type_getsockname3=socklen_t
46603 echo "$as_me: failed program was:" >&5
46604 sed 's/^/| /' conftest.$ac_ext >&5
46607 CFLAGS_OLD="$CFLAGS"
46608 if test "$GCC" = yes ; then
46609 CFLAGS="-Werror $CFLAGS"
46612 cat >conftest.$ac_ext <<_ACEOF
46615 cat confdefs.h >>conftest.$ac_ext
46616 cat >>conftest.$ac_ext <<_ACEOF
46617 /* end confdefs.h. */
46619 #include <sys/types.h>
46620 #include <sys/socket.h>
46627 getsockname(0, 0, &len);
46633 rm -f conftest.$ac_objext
46634 if { (ac_try="$ac_compile"
46635 case "(($ac_try" in
46636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46637 *) ac_try_echo=$ac_try;;
46639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46640 (eval "$ac_compile") 2>conftest.er1
46642 grep -v '^ *+' conftest.er1 >conftest.err
46644 cat conftest.err >&5
46645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46646 (exit $ac_status); } && {
46647 test -z "$ac_cxx_werror_flag" ||
46648 test ! -s conftest.err
46649 } && test -s conftest.$ac_objext; then
46650 wx_cv_type_getsockname3=size_t
46652 echo "$as_me: failed program was:" >&5
46653 sed 's/^/| /' conftest.$ac_ext >&5
46655 cat >conftest.$ac_ext <<_ACEOF
46658 cat confdefs.h >>conftest.$ac_ext
46659 cat >>conftest.$ac_ext <<_ACEOF
46660 /* end confdefs.h. */
46662 #include <sys/types.h>
46663 #include <sys/socket.h>
46670 getsockname(0, 0, &len);
46676 rm -f conftest.$ac_objext
46677 if { (ac_try="$ac_compile"
46678 case "(($ac_try" in
46679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46680 *) ac_try_echo=$ac_try;;
46682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46683 (eval "$ac_compile") 2>conftest.er1
46685 grep -v '^ *+' conftest.er1 >conftest.err
46687 cat conftest.err >&5
46688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46689 (exit $ac_status); } && {
46690 test -z "$ac_cxx_werror_flag" ||
46691 test ! -s conftest.err
46692 } && test -s conftest.$ac_objext; then
46693 wx_cv_type_getsockname3=int
46695 echo "$as_me: failed program was:" >&5
46696 sed 's/^/| /' conftest.$ac_ext >&5
46698 wx_cv_type_getsockname3=unknown
46702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46708 CFLAGS="$CFLAGS_OLD"
46713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46715 ac_cpp='$CPP $CPPFLAGS'
46716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46722 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46723 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46725 if test "$wx_cv_type_getsockname3" = "unknown"; then
46727 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46728 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46730 cat >>confdefs.h <<_ACEOF
46731 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46735 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46736 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46737 if test "${wx_cv_type_getsockopt5+set}" = set; then
46738 echo $ECHO_N "(cached) $ECHO_C" >&6
46742 ac_cpp='$CXXCPP $CPPFLAGS'
46743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46747 cat >conftest.$ac_ext <<_ACEOF
46750 cat confdefs.h >>conftest.$ac_ext
46751 cat >>conftest.$ac_ext <<_ACEOF
46752 /* end confdefs.h. */
46754 #include <sys/types.h>
46755 #include <sys/socket.h>
46762 getsockopt(0, 0, 0, 0, &len);
46768 rm -f conftest.$ac_objext
46769 if { (ac_try="$ac_compile"
46770 case "(($ac_try" in
46771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46772 *) ac_try_echo=$ac_try;;
46774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46775 (eval "$ac_compile") 2>conftest.er1
46777 grep -v '^ *+' conftest.er1 >conftest.err
46779 cat conftest.err >&5
46780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46781 (exit $ac_status); } && {
46782 test -z "$ac_cxx_werror_flag" ||
46783 test ! -s conftest.err
46784 } && test -s conftest.$ac_objext; then
46785 wx_cv_type_getsockopt5=socklen_t
46787 echo "$as_me: failed program was:" >&5
46788 sed 's/^/| /' conftest.$ac_ext >&5
46791 cat >conftest.$ac_ext <<_ACEOF
46794 cat confdefs.h >>conftest.$ac_ext
46795 cat >>conftest.$ac_ext <<_ACEOF
46796 /* end confdefs.h. */
46798 #include <sys/types.h>
46799 #include <sys/socket.h>
46806 getsockopt(0, 0, 0, 0, &len);
46812 rm -f conftest.$ac_objext
46813 if { (ac_try="$ac_compile"
46814 case "(($ac_try" in
46815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46816 *) ac_try_echo=$ac_try;;
46818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46819 (eval "$ac_compile") 2>conftest.er1
46821 grep -v '^ *+' conftest.er1 >conftest.err
46823 cat conftest.err >&5
46824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46825 (exit $ac_status); } && {
46826 test -z "$ac_cxx_werror_flag" ||
46827 test ! -s conftest.err
46828 } && test -s conftest.$ac_objext; then
46829 wx_cv_type_getsockopt5=size_t
46831 echo "$as_me: failed program was:" >&5
46832 sed 's/^/| /' conftest.$ac_ext >&5
46834 cat >conftest.$ac_ext <<_ACEOF
46837 cat confdefs.h >>conftest.$ac_ext
46838 cat >>conftest.$ac_ext <<_ACEOF
46839 /* end confdefs.h. */
46841 #include <sys/types.h>
46842 #include <sys/socket.h>
46849 getsockopt(0, 0, 0, 0, &len);
46855 rm -f conftest.$ac_objext
46856 if { (ac_try="$ac_compile"
46857 case "(($ac_try" in
46858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46859 *) ac_try_echo=$ac_try;;
46861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46862 (eval "$ac_compile") 2>conftest.er1
46864 grep -v '^ *+' conftest.er1 >conftest.err
46866 cat conftest.err >&5
46867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46868 (exit $ac_status); } && {
46869 test -z "$ac_cxx_werror_flag" ||
46870 test ! -s conftest.err
46871 } && test -s conftest.$ac_objext; then
46872 wx_cv_type_getsockopt5=int
46874 echo "$as_me: failed program was:" >&5
46875 sed 's/^/| /' conftest.$ac_ext >&5
46877 wx_cv_type_getsockopt5=unknown
46881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46892 ac_cpp='$CPP $CPPFLAGS'
46893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46899 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46900 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46902 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46904 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46905 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46907 cat >>confdefs.h <<_ACEOF
46908 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46915 if test "$wxUSE_SOCKETS" = "yes" ; then
46916 cat >>confdefs.h <<\_ACEOF
46917 #define wxUSE_SOCKETS 1
46920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46923 if test "$wxUSE_PROTOCOL" = "yes"; then
46924 if test "$wxUSE_SOCKETS" != "yes"; then
46925 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46926 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46931 if test "$wxUSE_PROTOCOL" = "yes"; then
46932 cat >>confdefs.h <<\_ACEOF
46933 #define wxUSE_PROTOCOL 1
46937 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46938 cat >>confdefs.h <<\_ACEOF
46939 #define wxUSE_PROTOCOL_HTTP 1
46943 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46944 cat >>confdefs.h <<\_ACEOF
46945 #define wxUSE_PROTOCOL_FTP 1
46949 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46950 cat >>confdefs.h <<\_ACEOF
46951 #define wxUSE_PROTOCOL_FILE 1
46956 if test "$wxUSE_FS_INET" = "yes"; then
46957 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46958 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46963 if test "$wxUSE_URL" = "yes"; then
46964 if test "$wxUSE_PROTOCOL" != "yes"; then
46965 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46966 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46969 if test "$wxUSE_URL" = "yes"; then
46970 cat >>confdefs.h <<\_ACEOF
46971 #define wxUSE_URL 1
46977 if test "$wxUSE_VARIANT" = "yes"; then
46978 cat >>confdefs.h <<\_ACEOF
46979 #define wxUSE_VARIANT 1
46984 if test "$wxUSE_FS_INET" = "yes"; then
46985 cat >>confdefs.h <<\_ACEOF
46986 #define wxUSE_FS_INET 1
46992 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46995 if test "$TOOLKIT" = "MSW"; then
46998 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
46999 if test "$USE_DARWIN" = 1; then
47000 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47001 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47003 ac_cpp='$CXXCPP $CPPFLAGS'
47004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47008 cat >conftest.$ac_ext <<_ACEOF
47011 cat confdefs.h >>conftest.$ac_ext
47012 cat >>conftest.$ac_ext <<_ACEOF
47013 /* end confdefs.h. */
47014 #include <IOKit/hid/IOHIDLib.h>
47018 IOHIDQueueInterface *qi = NULL;
47019 IOHIDCallbackFunction cb = NULL;
47020 qi->setEventCallout(NULL, cb, NULL, NULL);
47025 rm -f conftest.$ac_objext
47026 if { (ac_try="$ac_compile"
47027 case "(($ac_try" in
47028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47029 *) ac_try_echo=$ac_try;;
47031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47032 (eval "$ac_compile") 2>conftest.er1
47034 grep -v '^ *+' conftest.er1 >conftest.err
47036 cat conftest.err >&5
47037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47038 (exit $ac_status); } && {
47039 test -z "$ac_cxx_werror_flag" ||
47040 test ! -s conftest.err
47041 } && test -s conftest.$ac_objext; then
47045 echo "$as_me: failed program was:" >&5
47046 sed 's/^/| /' conftest.$ac_ext >&5
47051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47053 ac_cpp='$CPP $CPPFLAGS'
47054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47058 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47059 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47063 if test "$wxUSE_MGL" != "1"; then
47065 for ac_header in linux/joystick.h
47067 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47068 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47071 echo $ECHO_N "(cached) $ECHO_C" >&6
47073 cat >conftest.$ac_ext <<_ACEOF
47076 cat confdefs.h >>conftest.$ac_ext
47077 cat >>conftest.$ac_ext <<_ACEOF
47078 /* end confdefs.h. */
47079 $ac_includes_default
47081 #include <$ac_header>
47083 rm -f conftest.$ac_objext
47084 if { (ac_try="$ac_compile"
47085 case "(($ac_try" in
47086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47087 *) ac_try_echo=$ac_try;;
47089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47090 (eval "$ac_compile") 2>conftest.er1
47092 grep -v '^ *+' conftest.er1 >conftest.err
47094 cat conftest.err >&5
47095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47096 (exit $ac_status); } && {
47097 test -z "$ac_c_werror_flag" ||
47098 test ! -s conftest.err
47099 } && test -s conftest.$ac_objext; then
47100 eval "$as_ac_Header=yes"
47102 echo "$as_me: failed program was:" >&5
47103 sed 's/^/| /' conftest.$ac_ext >&5
47105 eval "$as_ac_Header=no"
47108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47110 ac_res=`eval echo '${'$as_ac_Header'}'`
47111 { echo "$as_me:$LINENO: result: $ac_res" >&5
47112 echo "${ECHO_T}$ac_res" >&6; }
47113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47114 cat >>confdefs.h <<_ACEOF
47115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47125 if test "$wxUSE_JOYSTICK" = "yes"; then
47126 cat >>confdefs.h <<\_ACEOF
47127 #define wxUSE_JOYSTICK 1
47130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47132 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47133 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47139 if test "$wxUSE_FONTENUM" = "yes" ; then
47140 cat >>confdefs.h <<\_ACEOF
47141 #define wxUSE_FONTENUM 1
47146 if test "$wxUSE_FONTMAP" = "yes" ; then
47147 cat >>confdefs.h <<\_ACEOF
47148 #define wxUSE_FONTMAP 1
47153 if test "$wxUSE_UNICODE" = "yes" ; then
47154 cat >>confdefs.h <<\_ACEOF
47155 #define wxUSE_UNICODE 1
47159 if test "$USE_WIN32" != 1; then
47160 wxUSE_UNICODE_MSLU=no
47163 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47164 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47165 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47166 if test "${ac_cv_lib_unicows_main+set}" = set; then
47167 echo $ECHO_N "(cached) $ECHO_C" >&6
47169 ac_check_lib_save_LIBS=$LIBS
47170 LIBS="-lunicows $LIBS"
47171 cat >conftest.$ac_ext <<_ACEOF
47174 cat confdefs.h >>conftest.$ac_ext
47175 cat >>conftest.$ac_ext <<_ACEOF
47176 /* end confdefs.h. */
47187 rm -f conftest.$ac_objext conftest$ac_exeext
47188 if { (ac_try="$ac_link"
47189 case "(($ac_try" in
47190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47191 *) ac_try_echo=$ac_try;;
47193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47194 (eval "$ac_link") 2>conftest.er1
47196 grep -v '^ *+' conftest.er1 >conftest.err
47198 cat conftest.err >&5
47199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47200 (exit $ac_status); } && {
47201 test -z "$ac_c_werror_flag" ||
47202 test ! -s conftest.err
47203 } && test -s conftest$ac_exeext &&
47204 $as_test_x conftest$ac_exeext; then
47205 ac_cv_lib_unicows_main=yes
47207 echo "$as_me: failed program was:" >&5
47208 sed 's/^/| /' conftest.$ac_ext >&5
47210 ac_cv_lib_unicows_main=no
47213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47214 conftest$ac_exeext conftest.$ac_ext
47215 LIBS=$ac_check_lib_save_LIBS
47217 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47218 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47219 if test $ac_cv_lib_unicows_main = yes; then
47221 cat >>confdefs.h <<\_ACEOF
47222 #define wxUSE_UNICODE_MSLU 1
47228 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47229 Applications will only run on Windows NT/2000/XP!" >&5
47230 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47231 Applications will only run on Windows NT/2000/XP!" >&2;}
47232 wxUSE_UNICODE_MSLU=no
47239 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47240 cat >>confdefs.h <<\_ACEOF
47241 #define wxUSE_UNICODE_UTF8 1
47245 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47246 cat >>confdefs.h <<\_ACEOF
47247 #define wxUSE_UTF8_LOCALE_ONLY 1
47253 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47254 cat >>confdefs.h <<\_ACEOF
47255 #define wxUSE_EXPERIMENTAL_PRINTF 1
47261 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47262 cat >>confdefs.h <<\_ACEOF
47263 #define wxUSE_CONSTRAINTS 1
47266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47269 if test "$wxUSE_MDI" = "yes"; then
47270 cat >>confdefs.h <<\_ACEOF
47271 #define wxUSE_MDI 1
47275 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_MDI_ARCHITECTURE 1
47280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47284 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47285 cat >>confdefs.h <<\_ACEOF
47286 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47290 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47295 if test "$wxUSE_HELP" = "yes"; then
47296 cat >>confdefs.h <<\_ACEOF
47297 #define wxUSE_HELP 1
47300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47302 if test "$wxUSE_MSW" = 1; then
47303 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47304 cat >>confdefs.h <<\_ACEOF
47305 #define wxUSE_MS_HTML_HELP 1
47311 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47312 if test "$wxUSE_HTML" = "yes"; then
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_WXHTML_HELP 1
47318 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47319 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47320 wxUSE_WXHTML_HELP=no
47325 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47326 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47327 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47328 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47330 cat >>confdefs.h <<\_ACEOF
47331 #define wxUSE_PRINTING_ARCHITECTURE 1
47335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47338 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_POSTSCRIPT 1
47345 cat >>confdefs.h <<\_ACEOF
47346 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47350 cat >>confdefs.h <<\_ACEOF
47351 #define wxUSE_NORMALIZED_PS_FONTS 1
47355 if test "$wxUSE_SVG" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_SVG 1
47363 if test "$wxUSE_METAFILE" = "yes"; then
47364 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47365 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47366 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47372 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47373 -o "$wxUSE_CLIPBOARD" = "yes" \
47374 -o "$wxUSE_OLE" = "yes" \
47375 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47376 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47377 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47378 if test "${ac_cv_header_ole2_h+set}" = set; then
47379 echo $ECHO_N "(cached) $ECHO_C" >&6
47381 cat >conftest.$ac_ext <<_ACEOF
47384 cat confdefs.h >>conftest.$ac_ext
47385 cat >>conftest.$ac_ext <<_ACEOF
47386 /* end confdefs.h. */
47391 rm -f conftest.$ac_objext
47392 if { (ac_try="$ac_compile"
47393 case "(($ac_try" in
47394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47395 *) ac_try_echo=$ac_try;;
47397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47398 (eval "$ac_compile") 2>conftest.er1
47400 grep -v '^ *+' conftest.er1 >conftest.err
47402 cat conftest.err >&5
47403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47404 (exit $ac_status); } && {
47405 test -z "$ac_c_werror_flag" ||
47406 test ! -s conftest.err
47407 } && test -s conftest.$ac_objext; then
47408 ac_cv_header_ole2_h=yes
47410 echo "$as_me: failed program was:" >&5
47411 sed 's/^/| /' conftest.$ac_ext >&5
47413 ac_cv_header_ole2_h=no
47416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47418 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47419 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47423 if test "$ac_cv_header_ole2_h" = "yes" ; then
47424 if test "$GCC" = yes ; then
47425 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47426 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47427 cat >conftest.$ac_ext <<_ACEOF
47430 cat confdefs.h >>conftest.$ac_ext
47431 cat >>conftest.$ac_ext <<_ACEOF
47432 /* end confdefs.h. */
47433 #include <windows.h>
47443 rm -f conftest.$ac_objext
47444 if { (ac_try="$ac_compile"
47445 case "(($ac_try" in
47446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47447 *) ac_try_echo=$ac_try;;
47449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47450 (eval "$ac_compile") 2>conftest.er1
47452 grep -v '^ *+' conftest.er1 >conftest.err
47454 cat conftest.err >&5
47455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47456 (exit $ac_status); } && {
47457 test -z "$ac_c_werror_flag" ||
47458 test ! -s conftest.err
47459 } && test -s conftest.$ac_objext; then
47460 { echo "$as_me:$LINENO: result: no" >&5
47461 echo "${ECHO_T}no" >&6; }
47463 echo "$as_me: failed program was:" >&5
47464 sed 's/^/| /' conftest.$ac_ext >&5
47466 { echo "$as_me:$LINENO: result: yes" >&5
47467 echo "${ECHO_T}yes" >&6; }
47468 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47472 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47473 if test "$wxUSE_OLE" = "yes" ; then
47474 cat >>confdefs.h <<\_ACEOF
47475 #define wxUSE_OLE 1
47478 cat >>confdefs.h <<\_ACEOF
47479 #define wxUSE_OLE_AUTOMATION 1
47482 cat >>confdefs.h <<\_ACEOF
47483 #define wxUSE_ACTIVEX 1
47486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47490 if test "$wxUSE_DATAOBJ" = "yes" ; then
47491 cat >>confdefs.h <<\_ACEOF
47492 #define wxUSE_DATAOBJ 1
47497 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47498 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47501 wxUSE_DRAG_AND_DROP=no
47506 if test "$wxUSE_METAFILE" = "yes"; then
47507 cat >>confdefs.h <<\_ACEOF
47508 #define wxUSE_METAFILE 1
47512 cat >>confdefs.h <<\_ACEOF
47513 #define wxUSE_ENH_METAFILE 1
47519 if test "$wxUSE_IPC" = "yes"; then
47520 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47521 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47522 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47526 if test "$wxUSE_IPC" = "yes"; then
47527 cat >>confdefs.h <<\_ACEOF
47528 #define wxUSE_IPC 1
47531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47535 if test "$wxUSE_DATAOBJ" = "yes"; then
47536 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47537 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47538 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47541 cat >>confdefs.h <<\_ACEOF
47542 #define wxUSE_DATAOBJ 1
47547 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47548 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47550 wxUSE_DRAG_AND_DROP=no
47553 if test "$wxUSE_CLIPBOARD" = "yes"; then
47554 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47555 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47556 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47560 if test "$wxUSE_CLIPBOARD" = "yes"; then
47561 cat >>confdefs.h <<\_ACEOF
47562 #define wxUSE_CLIPBOARD 1
47568 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47569 if test "$wxUSE_GTK" = 1; then
47570 if test "$WXGTK12" != 1; then
47571 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47572 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47573 wxUSE_DRAG_AND_DROP=no
47577 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47578 "$wxUSE_DFB" = 1; then
47579 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47580 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47581 wxUSE_DRAG_AND_DROP=no
47584 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47585 cat >>confdefs.h <<\_ACEOF
47586 #define wxUSE_DRAG_AND_DROP 1
47593 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47597 if test "$wxUSE_SPLINES" = "yes" ; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_SPLINES 1
47604 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47605 cat >>confdefs.h <<\_ACEOF
47606 #define wxUSE_MOUSEWHEEL 1
47613 if test "$wxUSE_CONTROLS" = "yes"; then
47617 if test "$wxUSE_ACCEL" = "yes"; then
47618 cat >>confdefs.h <<\_ACEOF
47619 #define wxUSE_ACCEL 1
47625 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47626 cat >>confdefs.h <<\_ACEOF
47627 #define wxUSE_ANIMATIONCTRL 1
47631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47634 if test "$wxUSE_BUTTON" = "yes"; then
47635 cat >>confdefs.h <<\_ACEOF
47636 #define wxUSE_BUTTON 1
47642 if test "$wxUSE_BMPBUTTON" = "yes"; then
47643 cat >>confdefs.h <<\_ACEOF
47644 #define wxUSE_BMPBUTTON 1
47650 if test "$wxUSE_CALCTRL" = "yes"; then
47651 cat >>confdefs.h <<\_ACEOF
47652 #define wxUSE_CALENDARCTRL 1
47656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47659 if test "$wxUSE_CARET" = "yes"; then
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_CARET 1
47665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47668 if test "$wxUSE_COLLPANE" = "yes"; then
47669 cat >>confdefs.h <<\_ACEOF
47670 #define wxUSE_COLLPANE 1
47674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47677 if test "$wxUSE_COMBOBOX" = "yes"; then
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_COMBOBOX 1
47685 if test "$wxUSE_COMBOCTRL" = "yes"; then
47686 cat >>confdefs.h <<\_ACEOF
47687 #define wxUSE_COMBOCTRL 1
47693 if test "$wxUSE_CHOICE" = "yes"; then
47694 cat >>confdefs.h <<\_ACEOF
47695 #define wxUSE_CHOICE 1
47701 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47702 cat >>confdefs.h <<\_ACEOF
47703 #define wxUSE_CHOICEBOOK 1
47709 if test "$wxUSE_CHECKBOX" = "yes"; then
47710 cat >>confdefs.h <<\_ACEOF
47711 #define wxUSE_CHECKBOX 1
47717 if test "$wxUSE_CHECKLST" = "yes"; then
47718 cat >>confdefs.h <<\_ACEOF
47719 #define wxUSE_CHECKLISTBOX 1
47723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47726 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47727 cat >>confdefs.h <<\_ACEOF
47728 #define wxUSE_COLOURPICKERCTRL 1
47734 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47735 cat >>confdefs.h <<\_ACEOF
47736 #define wxUSE_DATEPICKCTRL 1
47742 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47743 cat >>confdefs.h <<\_ACEOF
47744 #define wxUSE_DIRPICKERCTRL 1
47750 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_FILEPICKERCTRL 1
47758 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_FONTPICKERCTRL 1
47766 if test "$wxUSE_DISPLAY" = "yes"; then
47767 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47768 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47769 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47772 cat >>confdefs.h <<\_ACEOF
47773 #define wxUSE_DISPLAY 1
47776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47780 if test "$wxUSE_DETECT_SM" = "yes"; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_DETECT_SM 1
47787 if test "$wxUSE_GAUGE" = "yes"; then
47788 cat >>confdefs.h <<\_ACEOF
47789 #define wxUSE_GAUGE 1
47795 if test "$wxUSE_GRID" = "yes"; then
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_GRID 1
47801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47804 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47805 cat >>confdefs.h <<\_ACEOF
47806 #define wxUSE_HYPERLINKCTRL 1
47812 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define wxUSE_BITMAPCOMBOBOX 1
47820 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_DATAVIEWCTRL 1
47826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47829 if test "$wxUSE_IMAGLIST" = "yes"; then
47830 cat >>confdefs.h <<\_ACEOF
47831 #define wxUSE_IMAGLIST 1
47836 if test "$wxUSE_LISTBOOK" = "yes"; then
47837 cat >>confdefs.h <<\_ACEOF
47838 #define wxUSE_LISTBOOK 1
47844 if test "$wxUSE_LISTBOX" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_LISTBOX 1
47850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47853 if test "$wxUSE_LISTCTRL" = "yes"; then
47854 if test "$wxUSE_IMAGLIST" = "yes"; then
47855 cat >>confdefs.h <<\_ACEOF
47856 #define wxUSE_LISTCTRL 1
47860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47862 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47863 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47867 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47868 cat >>confdefs.h <<\_ACEOF
47869 #define wxUSE_EDITABLELISTBOX 1
47873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47876 if test "$wxUSE_NOTEBOOK" = "yes"; then
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_NOTEBOOK 1
47882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47885 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47886 cat >>confdefs.h <<\_ACEOF
47887 #define wxUSE_ODCOMBOBOX 1
47891 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47895 if test "$wxUSE_RADIOBOX" = "yes"; then
47896 cat >>confdefs.h <<\_ACEOF
47897 #define wxUSE_RADIOBOX 1
47903 if test "$wxUSE_RADIOBTN" = "yes"; then
47904 cat >>confdefs.h <<\_ACEOF
47905 #define wxUSE_RADIOBTN 1
47911 if test "$wxUSE_SASH" = "yes"; then
47912 cat >>confdefs.h <<\_ACEOF
47913 #define wxUSE_SASH 1
47916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47919 if test "$wxUSE_SCROLLBAR" = "yes"; then
47920 cat >>confdefs.h <<\_ACEOF
47921 #define wxUSE_SCROLLBAR 1
47925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47928 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_SEARCHCTRL 1
47936 if test "$wxUSE_SLIDER" = "yes"; then
47937 cat >>confdefs.h <<\_ACEOF
47938 #define wxUSE_SLIDER 1
47944 if test "$wxUSE_SPINBTN" = "yes"; then
47945 cat >>confdefs.h <<\_ACEOF
47946 #define wxUSE_SPINBTN 1
47952 if test "$wxUSE_SPINCTRL" = "yes"; then
47953 cat >>confdefs.h <<\_ACEOF
47954 #define wxUSE_SPINCTRL 1
47960 if test "$wxUSE_SPLITTER" = "yes"; then
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_SPLITTER 1
47965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47968 if test "$wxUSE_STATBMP" = "yes"; then
47969 cat >>confdefs.h <<\_ACEOF
47970 #define wxUSE_STATBMP 1
47976 if test "$wxUSE_STATBOX" = "yes"; then
47977 cat >>confdefs.h <<\_ACEOF
47978 #define wxUSE_STATBOX 1
47984 if test "$wxUSE_STATTEXT" = "yes"; then
47985 cat >>confdefs.h <<\_ACEOF
47986 #define wxUSE_STATTEXT 1
47992 if test "$wxUSE_STATLINE" = "yes"; then
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_STATLINE 1
48000 if test "$wxUSE_STATUSBAR" = "yes"; then
48001 cat >>confdefs.h <<\_ACEOF
48002 #define wxUSE_NATIVE_STATUSBAR 1
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_STATUSBAR 1
48011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48014 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_TAB_DIALOG 1
48021 if test "$wxUSE_TEXTCTRL" = "yes"; then
48022 cat >>confdefs.h <<\_ACEOF
48023 #define wxUSE_TEXTCTRL 1
48027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48030 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48031 if test "$wxUSE_COCOA" = 1 ; then
48032 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48033 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48037 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48038 cat >>confdefs.h <<\_ACEOF
48039 #define wxUSE_TOGGLEBTN 1
48046 if test "$wxUSE_TOOLBAR" = "yes"; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_TOOLBAR 1
48053 if test "$wxUSE_UNIVERSAL" = "yes"; then
48054 wxUSE_TOOLBAR_NATIVE="no"
48056 wxUSE_TOOLBAR_NATIVE="yes"
48057 cat >>confdefs.h <<\_ACEOF
48058 #define wxUSE_TOOLBAR_NATIVE 1
48063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48066 if test "$wxUSE_TOOLTIPS" = "yes"; then
48067 if test "$wxUSE_MOTIF" = 1; then
48068 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48069 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48071 if test "$wxUSE_UNIVERSAL" = "yes"; then
48072 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48073 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48075 cat >>confdefs.h <<\_ACEOF
48076 #define wxUSE_TOOLTIPS 1
48083 if test "$wxUSE_TREEBOOK" = "yes"; then
48084 cat >>confdefs.h <<\_ACEOF
48085 #define wxUSE_TREEBOOK 1
48091 if test "$wxUSE_TOOLBOOK" = "yes"; then
48092 cat >>confdefs.h <<\_ACEOF
48093 #define wxUSE_TOOLBOOK 1
48099 if test "$wxUSE_TREECTRL" = "yes"; then
48100 if test "$wxUSE_IMAGLIST" = "yes"; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_TREECTRL 1
48106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48108 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48109 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48113 if test "$wxUSE_POPUPWIN" = "yes"; then
48114 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48115 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48116 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48118 if test "$wxUSE_PM" = 1; then
48119 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48120 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48122 cat >>confdefs.h <<\_ACEOF
48123 #define wxUSE_POPUPWIN 1
48126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48133 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48134 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48135 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48136 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48138 cat >>confdefs.h <<\_ACEOF
48139 #define wxUSE_DIALUP_MANAGER 1
48142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48146 if test "$wxUSE_TIPWINDOW" = "yes"; then
48147 if test "$wxUSE_PM" = 1; then
48148 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48149 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48151 cat >>confdefs.h <<\_ACEOF
48152 #define wxUSE_TIPWINDOW 1
48158 if test "$USES_CONTROLS" = 1; then
48159 cat >>confdefs.h <<\_ACEOF
48160 #define wxUSE_CONTROLS 1
48166 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48167 cat >>confdefs.h <<\_ACEOF
48168 #define wxUSE_ACCESSIBILITY 1
48171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48174 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48175 cat >>confdefs.h <<\_ACEOF
48176 #define wxUSE_DRAGIMAGE 1
48179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48182 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48183 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48184 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48185 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48187 cat >>confdefs.h <<\_ACEOF
48188 #define wxUSE_EXCEPTIONS 1
48191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48196 if test "$wxUSE_HTML" = "yes"; then
48197 cat >>confdefs.h <<\_ACEOF
48198 #define wxUSE_HTML 1
48202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48203 if test "$wxUSE_MAC" = 1; then
48204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48207 if test "$wxUSE_WEBKIT" = "yes"; then
48208 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48209 old_CPPFLAGS="$CPPFLAGS"
48210 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48211 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48212 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48213 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48214 echo $ECHO_N "(cached) $ECHO_C" >&6
48216 cat >conftest.$ac_ext <<_ACEOF
48219 cat confdefs.h >>conftest.$ac_ext
48220 cat >>conftest.$ac_ext <<_ACEOF
48221 /* end confdefs.h. */
48223 #include <Carbon/Carbon.h>
48224 #include <WebKit/WebKit.h>
48227 #include <WebKit/HIWebView.h>
48229 rm -f conftest.$ac_objext
48230 if { (ac_try="$ac_compile"
48231 case "(($ac_try" in
48232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48233 *) ac_try_echo=$ac_try;;
48235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48236 (eval "$ac_compile") 2>conftest.er1
48238 grep -v '^ *+' conftest.er1 >conftest.err
48240 cat conftest.err >&5
48241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48242 (exit $ac_status); } && {
48243 test -z "$ac_c_werror_flag" ||
48244 test ! -s conftest.err
48245 } && test -s conftest.$ac_objext; then
48246 ac_cv_header_WebKit_HIWebView_h=yes
48248 echo "$as_me: failed program was:" >&5
48249 sed 's/^/| /' conftest.$ac_ext >&5
48251 ac_cv_header_WebKit_HIWebView_h=no
48254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48256 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48257 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48258 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48260 cat >>confdefs.h <<\_ACEOF
48261 #define wxUSE_WEBKIT 1
48264 WEBKIT_LINK="-framework WebKit"
48268 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48269 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48275 CPPFLAGS="$old_CPPFLAGS"
48276 elif test "$wxUSE_COCOA" = 1; then
48277 cat >>confdefs.h <<\_ACEOF
48278 #define wxUSE_WEBKIT 1
48287 if test "$wxUSE_XRC" = "yes"; then
48288 if test "$wxUSE_XML" != "yes"; then
48289 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48290 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48293 cat >>confdefs.h <<\_ACEOF
48294 #define wxUSE_XRC 1
48298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48303 if test "$wxUSE_AUI" = "yes"; then
48304 cat >>confdefs.h <<\_ACEOF
48305 #define wxUSE_AUI 1
48309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48313 if test "$wxUSE_STC" = "yes"; then
48314 cat >>confdefs.h <<\_ACEOF
48315 #define wxUSE_STC 1
48319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48322 if test "$wxUSE_MENUS" = "yes"; then
48323 cat >>confdefs.h <<\_ACEOF
48324 #define wxUSE_MENUS 1
48327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48330 if test "$wxUSE_METAFILE" = "yes"; then
48331 cat >>confdefs.h <<\_ACEOF
48332 #define wxUSE_METAFILE 1
48337 if test "$wxUSE_MIMETYPE" = "yes"; then
48338 cat >>confdefs.h <<\_ACEOF
48339 #define wxUSE_MIMETYPE 1
48344 if test "$wxUSE_MINIFRAME" = "yes"; then
48345 cat >>confdefs.h <<\_ACEOF
48346 #define wxUSE_MINIFRAME 1
48349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48352 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48353 cat >>confdefs.h <<\_ACEOF
48354 #define wxUSE_SYSTEM_OPTIONS 1
48359 if test "$wxUSE_TASKBARICON" = "yes"; then
48360 cat >>confdefs.h <<\_ACEOF
48361 #define wxUSE_TASKBARICON 1
48364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48368 if test "$wxUSE_VALIDATORS" = "yes"; then
48369 cat >>confdefs.h <<\_ACEOF
48370 #define wxUSE_VALIDATORS 1
48373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48376 if test "$wxUSE_PALETTE" = "yes" ; then
48377 if test "$wxUSE_DFB" = 1; then
48378 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48379 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48382 cat >>confdefs.h <<\_ACEOF
48383 #define wxUSE_PALETTE 1
48389 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48390 LIBS=" -lunicows $LIBS"
48394 if test "$wxUSE_RICHTEXT" = "yes"; then
48395 cat >>confdefs.h <<\_ACEOF
48396 #define wxUSE_RICHTEXT 1
48400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48404 if test "$wxUSE_IMAGE" = "yes" ; then
48405 cat >>confdefs.h <<\_ACEOF
48406 #define wxUSE_IMAGE 1
48410 if test "$wxUSE_GIF" = "yes" ; then
48411 cat >>confdefs.h <<\_ACEOF
48412 #define wxUSE_GIF 1
48417 if test "$wxUSE_PCX" = "yes" ; then
48418 cat >>confdefs.h <<\_ACEOF
48419 #define wxUSE_PCX 1
48424 if test "$wxUSE_TGA" = "yes" ; then
48425 cat >>confdefs.h <<\_ACEOF
48426 #define wxUSE_TGA 1
48431 if test "$wxUSE_IFF" = "yes" ; then
48432 cat >>confdefs.h <<\_ACEOF
48433 #define wxUSE_IFF 1
48438 if test "$wxUSE_PNM" = "yes" ; then
48439 cat >>confdefs.h <<\_ACEOF
48440 #define wxUSE_PNM 1
48445 if test "$wxUSE_XPM" = "yes" ; then
48446 cat >>confdefs.h <<\_ACEOF
48447 #define wxUSE_XPM 1
48452 if test "$wxUSE_ICO_CUR" = "yes" ; then
48453 cat >>confdefs.h <<\_ACEOF
48454 #define wxUSE_ICO_CUR 1
48461 if test "$wxUSE_ABOUTDLG" = "yes"; then
48462 cat >>confdefs.h <<\_ACEOF
48463 #define wxUSE_ABOUTDLG 1
48468 if test "$wxUSE_CHOICEDLG" = "yes"; then
48469 cat >>confdefs.h <<\_ACEOF
48470 #define wxUSE_CHOICEDLG 1
48475 if test "$wxUSE_COLOURDLG" = "yes"; then
48476 cat >>confdefs.h <<\_ACEOF
48477 #define wxUSE_COLOURDLG 1
48482 if test "$wxUSE_FILEDLG" = "yes"; then
48483 cat >>confdefs.h <<\_ACEOF
48484 #define wxUSE_FILEDLG 1
48489 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48490 cat >>confdefs.h <<\_ACEOF
48491 #define wxUSE_FINDREPLDLG 1
48496 if test "$wxUSE_FONTDLG" = "yes"; then
48497 cat >>confdefs.h <<\_ACEOF
48498 #define wxUSE_FONTDLG 1
48503 if test "$wxUSE_DIRDLG" = "yes"; then
48504 if test "$wxUSE_TREECTRL" != "yes"; then
48505 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48506 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48508 cat >>confdefs.h <<\_ACEOF
48509 #define wxUSE_DIRDLG 1
48515 if test "$wxUSE_MSGDLG" = "yes"; then
48516 cat >>confdefs.h <<\_ACEOF
48517 #define wxUSE_MSGDLG 1
48522 if test "$wxUSE_NUMBERDLG" = "yes"; then
48523 cat >>confdefs.h <<\_ACEOF
48524 #define wxUSE_NUMBERDLG 1
48529 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48530 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48531 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48532 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48534 cat >>confdefs.h <<\_ACEOF
48535 #define wxUSE_PROGRESSDLG 1
48541 if test "$wxUSE_SPLASH" = "yes"; then
48542 cat >>confdefs.h <<\_ACEOF
48543 #define wxUSE_SPLASH 1
48546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48549 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48550 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48551 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48552 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48554 cat >>confdefs.h <<\_ACEOF
48555 #define wxUSE_STARTUP_TIPS 1
48561 if test "$wxUSE_TEXTDLG" = "yes"; then
48562 cat >>confdefs.h <<\_ACEOF
48563 #define wxUSE_TEXTDLG 1
48568 if test "$wxUSE_WIZARDDLG" = "yes"; then
48569 cat >>confdefs.h <<\_ACEOF
48570 #define wxUSE_WIZARDDLG 1
48573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48577 if test "$wxUSE_MSW" = 1 ; then
48579 if test "$wxUSE_DC_CACHEING" = "yes"; then
48580 cat >>confdefs.h <<\_ACEOF
48581 #define wxUSE_DC_CACHEING 1
48586 if test "$wxUSE_UXTHEME" = "yes"; then
48587 cat >>confdefs.h <<\_ACEOF
48588 #define wxUSE_UXTHEME 1
48593 if test "$wxUSE_DIB" = "yes"; then
48594 cat >>confdefs.h <<\_ACEOF
48595 #define wxUSE_WXDIB 1
48603 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48604 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48605 cat >>confdefs.h <<\_ACEOF
48606 #define wxUSE_GRAPHICS_CONTEXT 1
48609 elif test "$wxUSE_GTK" != 1; then
48610 cat >>confdefs.h <<\_ACEOF
48611 #define wxUSE_GRAPHICS_CONTEXT 1
48617 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48618 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48620 if test -n "$PKG_CONFIG"; then
48621 if test -n "$CAIRO_CFLAGS"; then
48622 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48624 if test -n "$PKG_CONFIG" && \
48625 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48626 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48629 (exit $ac_status); }; then
48630 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48638 if test -n "$PKG_CONFIG"; then
48639 if test -n "$CAIRO_LIBS"; then
48640 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48642 if test -n "$PKG_CONFIG" && \
48643 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48644 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48647 (exit $ac_status); }; then
48648 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48659 if test $pkg_failed = yes; then
48661 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48662 _pkg_short_errors_supported=yes
48664 _pkg_short_errors_supported=no
48666 if test $_pkg_short_errors_supported = yes; then
48667 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48669 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48671 # Put the nasty error message in config.log where it belongs
48672 echo "$CAIRO_PKG_ERRORS" >&5
48674 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48675 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48677 elif test $pkg_failed = untried; then
48678 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48679 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48682 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48683 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48684 { echo "$as_me:$LINENO: result: yes" >&5
48685 echo "${ECHO_T}yes" >&6; }
48686 cat >>confdefs.h <<\_ACEOF
48687 #define wxUSE_GRAPHICS_CONTEXT 1
48697 if test "$wxUSE_MEDIACTRL" = "yes"; then
48700 if test "$wxUSE_GTK" = 1; then
48701 wxUSE_GSTREAMER="no"
48703 GST_VERSION_MAJOR=0
48704 GST_VERSION_MINOR=10
48705 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48707 if test "$wxUSE_GSTREAMER8" = "no"; then
48710 { echo "$as_me:$LINENO: checking for GST" >&5
48711 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48713 if test -n "$PKG_CONFIG"; then
48714 if test -n "$GST_CFLAGS"; then
48715 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48717 if test -n "$PKG_CONFIG" && \
48718 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48719 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48722 (exit $ac_status); }; then
48723 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48731 if test -n "$PKG_CONFIG"; then
48732 if test -n "$GST_LIBS"; then
48733 pkg_cv_GST_LIBS="$GST_LIBS"
48735 if test -n "$PKG_CONFIG" && \
48736 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48737 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48740 (exit $ac_status); }; then
48741 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48752 if test $pkg_failed = yes; then
48754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48755 _pkg_short_errors_supported=yes
48757 _pkg_short_errors_supported=no
48759 if test $_pkg_short_errors_supported = yes; then
48760 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48762 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48764 # Put the nasty error message in config.log where it belongs
48765 echo "$GST_PKG_ERRORS" >&5
48768 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48769 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48770 GST_VERSION_MINOR=8
48773 elif test $pkg_failed = untried; then
48775 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48776 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48777 GST_VERSION_MINOR=8
48781 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48782 GST_LIBS=$pkg_cv_GST_LIBS
48783 { echo "$as_me:$LINENO: result: yes" >&5
48784 echo "${ECHO_T}yes" >&6; }
48786 wxUSE_GSTREAMER="yes"
48787 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48791 GST_VERSION_MINOR=8
48794 if test $GST_VERSION_MINOR = "8"; then
48795 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48798 { echo "$as_me:$LINENO: checking for GST" >&5
48799 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48801 if test -n "$PKG_CONFIG"; then
48802 if test -n "$GST_CFLAGS"; then
48803 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48805 if test -n "$PKG_CONFIG" && \
48806 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48807 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48810 (exit $ac_status); }; then
48811 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48819 if test -n "$PKG_CONFIG"; then
48820 if test -n "$GST_LIBS"; then
48821 pkg_cv_GST_LIBS="$GST_LIBS"
48823 if test -n "$PKG_CONFIG" && \
48824 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48825 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48828 (exit $ac_status); }; then
48829 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48840 if test $pkg_failed = yes; then
48842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48843 _pkg_short_errors_supported=yes
48845 _pkg_short_errors_supported=no
48847 if test $_pkg_short_errors_supported = yes; then
48848 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48850 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48852 # Put the nasty error message in config.log where it belongs
48853 echo "$GST_PKG_ERRORS" >&5
48856 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48857 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48859 elif test $pkg_failed = untried; then
48861 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48862 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48865 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48866 GST_LIBS=$pkg_cv_GST_LIBS
48867 { echo "$as_me:$LINENO: result: yes" >&5
48868 echo "${ECHO_T}yes" >&6; }
48869 wxUSE_GSTREAMER="yes"
48874 if test "$wxUSE_GSTREAMER" = "yes"; then
48875 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48876 LIBS="$GST_LIBS $LIBS"
48878 cat >>confdefs.h <<\_ACEOF
48879 #define wxUSE_GSTREAMER 1
48887 if test $USE_MEDIA = 1; then
48888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48889 cat >>confdefs.h <<\_ACEOF
48890 #define wxUSE_MEDIACTRL 1
48897 if test "$cross_compiling" = "yes"; then
48900 OSINFO=`uname -s -r -m`
48901 OSINFO="\"$OSINFO\""
48904 cat >>confdefs.h <<_ACEOF
48905 #define WXWIN_OS_DESCRIPTION $OSINFO
48910 if test "x$prefix" != "xNONE"; then
48913 wxPREFIX=$ac_default_prefix
48916 cat >>confdefs.h <<_ACEOF
48917 #define wxINSTALL_PREFIX "$wxPREFIX"
48923 STD_BASE_LIBS="base"
48925 BUILT_WX_LIBS="base"
48926 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48928 if test "$wxUSE_SOCKETS" = "yes" ; then
48929 STD_BASE_LIBS="net $STD_BASE_LIBS"
48930 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48932 if test "$wxUSE_ODBC" != "no" ; then
48933 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
48935 if test "$wxUSE_XML" = "yes" ; then
48936 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48937 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48940 if test "$wxUSE_GUI" = "yes"; then
48941 STD_GUI_LIBS="adv core"
48942 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48944 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48945 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48946 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48948 if test "$wxUSE_ODBC" != "no" ; then
48949 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
48951 if test "$wxUSE_HTML" = "yes" ; then
48952 STD_GUI_LIBS="html $STD_GUI_LIBS"
48953 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48955 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48956 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48958 if test "$wxUSE_OPENGL" = "yes" ; then
48959 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48961 if test "$wxUSE_AUI" = "yes" ; then
48962 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48964 if test "$wxUSE_STC" = "yes" ; then
48965 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48967 if test "$wxUSE_XRC" = "yes" ; then
48968 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48969 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48980 if test "$wxUSE_MAC" = 1 ; then
48981 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48982 if test "$USE_DARWIN" = 1; then
48983 LDFLAGS="$LDFLAGS -framework QuickTime"
48985 LDFLAGS="$LDFLAGS -lQuickTimeLib"
48988 if test "$USE_DARWIN" = 1; then
48989 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48991 LDFLAGS="$LDFLAGS -lCarbonLib"
48994 if test "$wxUSE_COCOA" = 1 ; then
48995 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
48996 if test "$wxUSE_MEDIACTRL" = "yes"; then
48997 LDFLAGS="$LDFLAGS -framework QuickTime"
49000 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49001 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49004 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49006 if test "$wxUSE_GUI" = "yes"; then
49009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49010 dynamic erase event exec font image minimal mobile \
49011 mobile/wxedit mobile/styles propsize render \
49012 rotate shaped svg taborder vscroll widgets"
49014 if test "$wxUSE_MONOLITHIC" != "yes"; then
49015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49017 if test "$TOOLKIT" = "MSW"; then
49018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49019 if test "$wxUSE_UNIVERSAL" != "yes"; then
49020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49023 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49027 SAMPLES_SUBDIRS="console"
49031 if test "x$INTELCC" = "xyes" ; then
49032 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49033 elif test "$GCC" = yes ; then
49034 CWARNINGS="-Wall -Wundef"
49037 if test "x$INTELCXX" = "xyes" ; then
49038 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49039 elif test "$GXX" = yes ; then
49040 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49044 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49045 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49048 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49049 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49050 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49053 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49054 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49055 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49057 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49060 if test "x$MWCC" = "xyes"; then
49062 CC="$CC -cwd source -I-"
49063 CXX="$CXX -cwd source -I-"
49068 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49069 EXTRALIBS_XML="$EXPAT_LINK"
49070 EXTRALIBS_HTML="$MSPACK_LINK"
49071 EXTRALIBS_ODBC="$ODBC_LINK"
49072 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49073 if test "$wxUSE_GUI" = "yes"; then
49074 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49076 if test "$wxUSE_OPENGL" = "yes"; then
49077 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49080 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49082 WXCONFIG_LIBS="$LIBS"
49084 if test "$wxUSE_REGEX" = "builtin" ; then
49085 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49087 if test "$wxUSE_EXPAT" = "builtin" ; then
49088 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49090 if test "$wxUSE_ODBC" = "builtin" ; then
49091 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49093 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49094 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49096 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49097 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49099 if test "$wxUSE_LIBPNG" = "builtin" ; then
49100 wxconfig_3rdparty="png $wxconfig_3rdparty"
49102 if test "$wxUSE_ZLIB" = "builtin" ; then
49103 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49106 for i in $wxconfig_3rdparty ; do
49107 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49111 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49114 case "$wxUNIV_THEMES" in
49116 cat >>confdefs.h <<\_ACEOF
49117 #define wxUSE_ALL_THEMES 1
49123 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49124 cat >>confdefs.h <<_ACEOF
49125 #define wxUSE_THEME_$t 1
49142 if test $wxUSE_MONOLITHIC = "yes" ; then
49148 if test $wxUSE_PLUGINS = "yes" ; then
49154 if test $wxUSE_ODBC != "no" ; then
49160 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49166 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49197 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49208 TOOLKIT_DESC="GTK+"
49209 if test "$WXGTK20" = 1; then
49210 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49211 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49212 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49214 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49215 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49217 if test "$wxUSE_LIBHILDON" = "yes"; then
49218 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49221 if test "$TOOLKIT_EXTRA" != ""; then
49222 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49228 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49232 TOOLKIT_DESC="base only"
49236 if test "$wxUSE_WINE" = "yes"; then
49237 BAKEFILE_FORCE_PLATFORM=win32
49240 if test "$wxUSE_MAC" = 1 ; then
49241 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49242 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49243 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49245 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49247 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49248 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49249 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49250 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49253 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49254 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49257 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49259 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49260 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49261 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49262 echo $ECHO_N "(cached) $ECHO_C" >&6
49265 echo '#include <stdio.h>
49266 const wchar_t test_var[] = L"awidetest";' > conftest.h
49268 echo '#include "conftest.h"
49271 printf("%ls", test_var);
49275 wx_cv_gcc_pch_bug="pch not supported"
49277 if $CXX conftest.h >/dev/null 2>&1
49281 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49283 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49284 grep awidetest >/dev/null
49286 wx_cv_gcc_pch_bug=no
49288 wx_cv_gcc_pch_bug=yes
49293 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49296 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49297 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49299 if test "$wx_cv_gcc_pch_bug" = yes; then
49307 if test "x$BAKEFILE_HOST" = "x"; then
49308 if test "x${host}" = "x" ; then
49309 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49310 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49311 { (exit 1); exit 1; }; }
49314 BAKEFILE_HOST="${host}"
49317 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49319 if test -n "$ac_tool_prefix"; then
49320 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49321 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49324 if test "${ac_cv_prog_RANLIB+set}" = set; then
49325 echo $ECHO_N "(cached) $ECHO_C" >&6
49327 if test -n "$RANLIB"; then
49328 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49331 for as_dir in $PATH
49334 test -z "$as_dir" && as_dir=.
49335 for ac_exec_ext in '' $ac_executable_extensions; do
49336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49337 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49347 RANLIB=$ac_cv_prog_RANLIB
49348 if test -n "$RANLIB"; then
49349 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49350 echo "${ECHO_T}$RANLIB" >&6; }
49352 { echo "$as_me:$LINENO: result: no" >&5
49353 echo "${ECHO_T}no" >&6; }
49358 if test -z "$ac_cv_prog_RANLIB"; then
49359 ac_ct_RANLIB=$RANLIB
49360 # Extract the first word of "ranlib", so it can be a program name with args.
49361 set dummy ranlib; ac_word=$2
49362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49364 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49365 echo $ECHO_N "(cached) $ECHO_C" >&6
49367 if test -n "$ac_ct_RANLIB"; then
49368 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49371 for as_dir in $PATH
49374 test -z "$as_dir" && as_dir=.
49375 for ac_exec_ext in '' $ac_executable_extensions; do
49376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49377 ac_cv_prog_ac_ct_RANLIB="ranlib"
49378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49387 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49388 if test -n "$ac_ct_RANLIB"; then
49389 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49390 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49392 { echo "$as_me:$LINENO: result: no" >&5
49393 echo "${ECHO_T}no" >&6; }
49396 if test "x$ac_ct_RANLIB" = x; then
49399 case $cross_compiling:$ac_tool_warned in
49401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49402 whose name does not start with the host triplet. If you think this
49403 configuration is useful to you, please write to autoconf@gnu.org." >&5
49404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49405 whose name does not start with the host triplet. If you think this
49406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49407 ac_tool_warned=yes ;;
49409 RANLIB=$ac_ct_RANLIB
49412 RANLIB="$ac_cv_prog_RANLIB"
49415 # Find a good install program. We prefer a C program (faster),
49416 # so one script is as good as another. But avoid the broken or
49417 # incompatible versions:
49418 # SysV /etc/install, /usr/sbin/install
49419 # SunOS /usr/etc/install
49420 # IRIX /sbin/install
49422 # AmigaOS /C/install, which installs bootblocks on floppy discs
49423 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49424 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49425 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49426 # OS/2's system install, which has a completely different semantic
49427 # ./install, which can be erroneously created by make from ./install.sh.
49428 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49429 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49430 if test -z "$INSTALL"; then
49431 if test "${ac_cv_path_install+set}" = set; then
49432 echo $ECHO_N "(cached) $ECHO_C" >&6
49434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49435 for as_dir in $PATH
49438 test -z "$as_dir" && as_dir=.
49439 # Account for people who put trailing slashes in PATH elements.
49441 ./ | .// | /cC/* | \
49442 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49443 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49446 # OSF1 and SCO ODT 3.0 have their own names for install.
49447 # Don't use installbsd from OSF since it installs stuff as root
49449 for ac_prog in ginstall scoinst install; do
49450 for ac_exec_ext in '' $ac_executable_extensions; do
49451 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49452 if test $ac_prog = install &&
49453 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49454 # AIX install. It has an incompatible calling convention.
49456 elif test $ac_prog = install &&
49457 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49458 # program-specific install script used by HP pwplus--don't use.
49461 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49474 if test "${ac_cv_path_install+set}" = set; then
49475 INSTALL=$ac_cv_path_install
49477 # As a last resort, use the slow shell script. Don't cache a
49478 # value for INSTALL within a source directory, because that will
49479 # break other packages using the cache if that directory is
49480 # removed, or if the value is a relative name.
49481 INSTALL=$ac_install_sh
49484 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49485 echo "${ECHO_T}$INSTALL" >&6; }
49487 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49488 # It thinks the first close brace ends the variable substitution.
49489 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49491 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49493 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49495 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49496 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49498 if test "$LN_S" = "ln -s"; then
49499 { echo "$as_me:$LINENO: result: yes" >&5
49500 echo "${ECHO_T}yes" >&6; }
49502 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49503 echo "${ECHO_T}no, using $LN_S" >&6; }
49507 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49508 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49509 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49510 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49511 echo $ECHO_N "(cached) $ECHO_C" >&6
49513 cat >conftest.make <<\_ACEOF
49516 @echo '@@@%%%=$(MAKE)=@@@%%%'
49518 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49519 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49520 *@@@%%%=?*=@@@%%%*)
49521 eval ac_cv_prog_make_${ac_make}_set=yes;;
49523 eval ac_cv_prog_make_${ac_make}_set=no;;
49525 rm -f conftest.make
49527 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49528 { echo "$as_me:$LINENO: result: yes" >&5
49529 echo "${ECHO_T}yes" >&6; }
49532 { echo "$as_me:$LINENO: result: no" >&5
49533 echo "${ECHO_T}no" >&6; }
49534 SET_MAKE="MAKE=${MAKE-make}"
49539 if test "x$SUNCXX" = "xyes"; then
49541 AROPTIONS="-xar -o"
49543 elif test "x$SGICC" = "xyes"; then
49548 if test -n "$ac_tool_prefix"; then
49549 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49550 set dummy ${ac_tool_prefix}ar; ac_word=$2
49551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49553 if test "${ac_cv_prog_AR+set}" = set; then
49554 echo $ECHO_N "(cached) $ECHO_C" >&6
49556 if test -n "$AR"; then
49557 ac_cv_prog_AR="$AR" # Let the user override the test.
49559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49560 for as_dir in $PATH
49563 test -z "$as_dir" && as_dir=.
49564 for ac_exec_ext in '' $ac_executable_extensions; do
49565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49566 ac_cv_prog_AR="${ac_tool_prefix}ar"
49567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49577 if test -n "$AR"; then
49578 { echo "$as_me:$LINENO: result: $AR" >&5
49579 echo "${ECHO_T}$AR" >&6; }
49581 { echo "$as_me:$LINENO: result: no" >&5
49582 echo "${ECHO_T}no" >&6; }
49587 if test -z "$ac_cv_prog_AR"; then
49589 # Extract the first word of "ar", so it can be a program name with args.
49590 set dummy ar; ac_word=$2
49591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49593 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49594 echo $ECHO_N "(cached) $ECHO_C" >&6
49596 if test -n "$ac_ct_AR"; then
49597 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49600 for as_dir in $PATH
49603 test -z "$as_dir" && as_dir=.
49604 for ac_exec_ext in '' $ac_executable_extensions; do
49605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49606 ac_cv_prog_ac_ct_AR="ar"
49607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49616 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49617 if test -n "$ac_ct_AR"; then
49618 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49619 echo "${ECHO_T}$ac_ct_AR" >&6; }
49621 { echo "$as_me:$LINENO: result: no" >&5
49622 echo "${ECHO_T}no" >&6; }
49625 if test "x$ac_ct_AR" = x; then
49628 case $cross_compiling:$ac_tool_warned in
49630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49631 whose name does not start with the host triplet. If you think this
49632 configuration is useful to you, please write to autoconf@gnu.org." >&5
49633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49634 whose name does not start with the host triplet. If you think this
49635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49636 ac_tool_warned=yes ;;
49641 AR="$ac_cv_prog_AR"
49648 if test -n "$ac_tool_prefix"; then
49649 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49650 set dummy ${ac_tool_prefix}strip; ac_word=$2
49651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49653 if test "${ac_cv_prog_STRIP+set}" = set; then
49654 echo $ECHO_N "(cached) $ECHO_C" >&6
49656 if test -n "$STRIP"; then
49657 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49660 for as_dir in $PATH
49663 test -z "$as_dir" && as_dir=.
49664 for ac_exec_ext in '' $ac_executable_extensions; do
49665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49666 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49676 STRIP=$ac_cv_prog_STRIP
49677 if test -n "$STRIP"; then
49678 { echo "$as_me:$LINENO: result: $STRIP" >&5
49679 echo "${ECHO_T}$STRIP" >&6; }
49681 { echo "$as_me:$LINENO: result: no" >&5
49682 echo "${ECHO_T}no" >&6; }
49687 if test -z "$ac_cv_prog_STRIP"; then
49689 # Extract the first word of "strip", so it can be a program name with args.
49690 set dummy strip; ac_word=$2
49691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49693 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49694 echo $ECHO_N "(cached) $ECHO_C" >&6
49696 if test -n "$ac_ct_STRIP"; then
49697 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49700 for as_dir in $PATH
49703 test -z "$as_dir" && as_dir=.
49704 for ac_exec_ext in '' $ac_executable_extensions; do
49705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49706 ac_cv_prog_ac_ct_STRIP="strip"
49707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49716 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49717 if test -n "$ac_ct_STRIP"; then
49718 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49719 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49721 { echo "$as_me:$LINENO: result: no" >&5
49722 echo "${ECHO_T}no" >&6; }
49725 if test "x$ac_ct_STRIP" = x; then
49728 case $cross_compiling:$ac_tool_warned in
49730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49731 whose name does not start with the host triplet. If you think this
49732 configuration is useful to you, please write to autoconf@gnu.org." >&5
49733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49734 whose name does not start with the host triplet. If you think this
49735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49736 ac_tool_warned=yes ;;
49741 STRIP="$ac_cv_prog_STRIP"
49744 if test -n "$ac_tool_prefix"; then
49745 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49746 set dummy ${ac_tool_prefix}nm; ac_word=$2
49747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49749 if test "${ac_cv_prog_NM+set}" = set; then
49750 echo $ECHO_N "(cached) $ECHO_C" >&6
49752 if test -n "$NM"; then
49753 ac_cv_prog_NM="$NM" # Let the user override the test.
49755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49756 for as_dir in $PATH
49759 test -z "$as_dir" && as_dir=.
49760 for ac_exec_ext in '' $ac_executable_extensions; do
49761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49762 ac_cv_prog_NM="${ac_tool_prefix}nm"
49763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49773 if test -n "$NM"; then
49774 { echo "$as_me:$LINENO: result: $NM" >&5
49775 echo "${ECHO_T}$NM" >&6; }
49777 { echo "$as_me:$LINENO: result: no" >&5
49778 echo "${ECHO_T}no" >&6; }
49783 if test -z "$ac_cv_prog_NM"; then
49785 # Extract the first word of "nm", so it can be a program name with args.
49786 set dummy nm; ac_word=$2
49787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49789 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49790 echo $ECHO_N "(cached) $ECHO_C" >&6
49792 if test -n "$ac_ct_NM"; then
49793 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49796 for as_dir in $PATH
49799 test -z "$as_dir" && as_dir=.
49800 for ac_exec_ext in '' $ac_executable_extensions; do
49801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49802 ac_cv_prog_ac_ct_NM="nm"
49803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49812 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49813 if test -n "$ac_ct_NM"; then
49814 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49815 echo "${ECHO_T}$ac_ct_NM" >&6; }
49817 { echo "$as_me:$LINENO: result: no" >&5
49818 echo "${ECHO_T}no" >&6; }
49821 if test "x$ac_ct_NM" = x; then
49824 case $cross_compiling:$ac_tool_warned in
49826 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49827 whose name does not start with the host triplet. If you think this
49828 configuration is useful to you, please write to autoconf@gnu.org." >&5
49829 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49830 whose name does not start with the host triplet. If you think this
49831 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49832 ac_tool_warned=yes ;;
49837 NM="$ac_cv_prog_NM"
49841 case ${BAKEFILE_HOST} in
49843 INSTALL_DIR="mkdir -p"
49846 INSTALL_DIR='$(INSTALL) -d'
49852 case ${BAKEFILE_HOST} in
49853 *-*-cygwin* | *-*-mingw32* )
49854 LDFLAGS_GUI="-mwindows"
49860 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49861 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49862 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49863 echo $ECHO_N "(cached) $ECHO_C" >&6
49866 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49867 egrep -s GNU > /dev/null); then
49868 bakefile_cv_prog_makeisgnu="yes"
49870 bakefile_cv_prog_makeisgnu="no"
49874 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49875 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49877 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49894 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49895 case "${BAKEFILE_HOST}" in
49902 *-pc-os2_emx | *-pc-os2-emx )
49912 powerpc-apple-macos* )
49921 case "$BAKEFILE_FORCE_PLATFORM" in
49956 # Check whether --enable-omf was given.
49957 if test "${enable_omf+set}" = set; then
49958 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49962 case "${BAKEFILE_HOST}" in
49964 if test "x$GCC" = "xyes"; then
49965 CFLAGS="$CFLAGS -fno-common"
49966 CXXFLAGS="$CXXFLAGS -fno-common"
49968 if test "x$XLCC" = "xyes"; then
49969 CFLAGS="$CFLAGS -qnocommon"
49970 CXXFLAGS="$CXXFLAGS -qnocommon"
49974 *-pc-os2_emx | *-pc-os2-emx )
49975 if test "x$bk_os2_use_omf" = "xyes" ; then
49978 LDFLAGS="-Zomf $LDFLAGS"
49979 CFLAGS="-Zomf $CFLAGS"
49980 CXXFLAGS="-Zomf $CXXFLAGS"
49988 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49994 SO_SUFFIX_MODULE="so"
49999 DLLPREFIX_MODULE=""
50003 case "${BAKEFILE_HOST}" in
50006 SO_SUFFIX_MODULE="sl"
50010 SO_SUFFIX_MODULE="a"
50014 SO_SUFFIX_MODULE="dll"
50015 DLLIMP_SUFFIX="dll.a"
50022 SO_SUFFIX_MODULE="dll"
50023 DLLIMP_SUFFIX="dll.a"
50033 *-pc-os2_emx | *-pc-os2-emx )
50035 SO_SUFFIX_MODULE="dll"
50036 DLLIMP_SUFFIX=$OS2_LIBEXT
50040 LIBEXT=".$OS2_LIBEXT"
50045 SO_SUFFIX_MODULE="bundle"
50049 if test "x$DLLIMP_SUFFIX" = "x" ; then
50050 DLLIMP_SUFFIX="$SO_SUFFIX"
50065 if test "x$GCC" = "xyes"; then
50069 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50070 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50073 case "${BAKEFILE_HOST}" in
50075 if test "x$GCC" != "xyes"; then
50076 LDFLAGS="$LDFLAGS -L/usr/lib"
50078 SHARED_LD_CC="${CC} -b -o"
50079 SHARED_LD_CXX="${CXX} -b -o"
50085 if test "$INTELCC" = "yes"; then
50087 elif test "x$SUNCXX" = "xyes"; then
50088 SHARED_LD_CC="${CC} -G -o"
50089 SHARED_LD_CXX="${CXX} -G -o"
50095 if test "x$SUNCXX" = xyes ; then
50096 SHARED_LD_CC="${CC} -G -o"
50097 SHARED_LD_CXX="${CXX} -G -o"
50105 cat <<EOF >shared-ld-sh
50107 #-----------------------------------------------------------------------------
50108 #-- Name: distrib/mac/shared-ld-sh
50109 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50110 #-- Author: Gilles Depeyrot
50111 #-- Copyright: (c) 2002 Gilles Depeyrot
50112 #-- Licence: any use permitted
50113 #-----------------------------------------------------------------------------
50118 linking_flag="-dynamiclib"
50119 ldargs="-r -keep_private_externs -nostdlib"
50121 while test ${D}# -gt 0; do
50128 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50129 # collect these options and values
50130 args="${D}{args} ${D}1 ${D}2"
50135 # collect these load args
50136 ldargs="${D}{ldargs} ${D}1"
50139 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50140 # collect these options
50141 args="${D}{args} ${D}1"
50144 -dynamiclib|-bundle)
50145 linking_flag="${D}1"
50149 echo "shared-ld: unhandled option '${D}1'"
50153 *.o | *.a | *.dylib)
50154 # collect object files
50155 objects="${D}{objects} ${D}1"
50159 echo "shared-ld: unhandled argument '${D}1'"
50170 # Link one module containing all the others
50172 if test ${D}{verbose} = 1; then
50173 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50175 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50179 # Link the shared library from the single module created, but only if the
50180 # previous command didn't fail:
50182 if test ${D}{status} = 0; then
50183 if test ${D}{verbose} = 1; then
50184 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50186 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50191 # Remove intermediate module
50193 rm -f master.${D}${D}.o
50198 chmod +x shared-ld-sh
50200 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50201 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50204 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50205 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50206 if test "${bakefile_cv_gcc31+set}" = set; then
50207 echo $ECHO_N "(cached) $ECHO_C" >&6
50210 cat >conftest.$ac_ext <<_ACEOF
50213 cat confdefs.h >>conftest.$ac_ext
50214 cat >>conftest.$ac_ext <<_ACEOF
50215 /* end confdefs.h. */
50221 #if (__GNUC__ < 3) || \
50222 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50230 rm -f conftest.$ac_objext
50231 if { (ac_try="$ac_compile"
50232 case "(($ac_try" in
50233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50234 *) ac_try_echo=$ac_try;;
50236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50237 (eval "$ac_compile") 2>conftest.er1
50239 grep -v '^ *+' conftest.er1 >conftest.err
50241 cat conftest.err >&5
50242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50243 (exit $ac_status); } && {
50244 test -z "$ac_c_werror_flag" ||
50245 test ! -s conftest.err
50246 } && test -s conftest.$ac_objext; then
50248 bakefile_cv_gcc31=yes
50251 echo "$as_me: failed program was:" >&5
50252 sed 's/^/| /' conftest.$ac_ext >&5
50255 bakefile_cv_gcc31=no
50260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50263 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50264 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50265 if test "$bakefile_cv_gcc31" = "no"; then
50266 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50267 SHARED_LD_CXX="$SHARED_LD_CC"
50269 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50270 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50273 if test "x$GCC" == "xyes"; then
50274 PIC_FLAG="-dynamic -fPIC"
50276 if test "x$XLCC" = "xyes"; then
50277 PIC_FLAG="-dynamic -DPIC"
50282 if test "x$GCC" = "xyes"; then
50285 case "${BAKEFILE_HOST}" in
50287 LD_EXPFULL="-Wl,-bexpfull"
50291 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50292 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50294 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50295 set dummy makeC++SharedLib; ac_word=$2
50296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50298 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50299 echo $ECHO_N "(cached) $ECHO_C" >&6
50301 if test -n "$AIX_CXX_LD"; then
50302 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50305 for as_dir in $PATH
50308 test -z "$as_dir" && as_dir=.
50309 for ac_exec_ext in '' $ac_executable_extensions; do
50310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50311 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50319 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50322 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50323 if test -n "$AIX_CXX_LD"; then
50324 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50325 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50327 { echo "$as_me:$LINENO: result: no" >&5
50328 echo "${ECHO_T}no" >&6; }
50332 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50333 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50338 SHARED_LD_CC="${LD} -nostart -o"
50339 SHARED_LD_CXX="${LD} -nostart -o"
50343 if test "x$GCC" != "xyes"; then
50348 *-*-cygwin* | *-*-mingw32* )
50350 SHARED_LD_CC="\$(CC) -shared -o"
50351 SHARED_LD_CXX="\$(CXX) -shared -o"
50355 *-pc-os2_emx | *-pc-os2-emx )
50356 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50357 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50361 cat <<EOF >dllar.sh
50364 # dllar - a tool to build both a .dll and an .a file
50365 # from a set of object (.o) files for EMX/OS2.
50367 # Written by Andrew Zabolotny, bit@freya.etu.ru
50368 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50370 # This script will accept a set of files on the command line.
50371 # All the public symbols from the .o files will be exported into
50372 # a .DEF file, then linker will be run (through gcc) against them to
50373 # build a shared library consisting of all given .o files. All libraries
50374 # (.a) will be first decompressed into component .o files then act as
50375 # described above. You can optionally give a description (-d "description")
50376 # which will be put into .DLL. To see the list of accepted options (as well
50377 # as command-line format) simply run this program without options. The .DLL
50378 # is built to be imported by name (there is no guarantee that new versions
50379 # of the library you build will have same ordinals for same symbols).
50381 # dllar is free software; you can redistribute it and/or modify
50382 # it under the terms of the GNU General Public License as published by
50383 # the Free Software Foundation; either version 2, or (at your option)
50384 # any later version.
50386 # dllar is distributed in the hope that it will be useful,
50387 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50388 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50389 # GNU General Public License for more details.
50391 # You should have received a copy of the GNU General Public License
50392 # along with dllar; see the file COPYING. If not, write to the Free
50393 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50396 # To successfuly run this program you will need:
50397 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50398 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50400 # (used to build the .dll)
50402 # (used to create .def file from .o files)
50404 # (used to create .a file from .def file)
50405 # - GNU text utilites (cat, sort, uniq)
50406 # used to process emxexp output
50407 # - GNU file utilities (mv, rm)
50409 # - lxlite (optional, see flag below)
50410 # (used for general .dll cleanup)
50417 # basnam, variant of basename, which does _not_ remove the path, _iff_
50418 # second argument (suffix to remove) is given
50422 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50425 echo ${D}1 | sed 's/'${D}2'${D}//'
50428 echo "error in basnam ${D}*"
50434 # Cleanup temporary files and output
50437 for i in ${D}inputFiles ; do
50440 rm -rf \`basnam ${D}i !\`
50447 # Kill result in case of failure as there is just to many stupid make/nmake
50448 # things out there which doesn't do this.
50449 if [ ${D}# -eq 0 ]; then
50450 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50454 # Print usage and exit script with rc=1.
50456 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50457 echo ' [-name-mangler-script script.sh]'
50458 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50459 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50460 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50461 echo ' [*.o] [*.a]'
50462 echo '*> "output_file" should have no extension.'
50463 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50464 echo ' The import library name is derived from this and is set to "name".a,'
50465 echo ' unless overridden by -import'
50466 echo '*> "importlib_name" should have no extension.'
50467 echo ' If it has the .o, or .a extension, it is automatically removed.'
50468 echo ' This name is used as the import library name and may be longer and'
50469 echo ' more descriptive than the DLL name which has to follow the old '
50470 echo ' 8.3 convention of FAT.'
50471 echo '*> "script.sh may be given to override the output_file name by a'
50472 echo ' different name. It is mainly useful if the regular make process'
50473 echo ' of some package does not take into account OS/2 restriction of'
50474 echo ' DLL name lengths. It takes the importlib name as input and is'
50475 echo ' supposed to procude a shorter name as output. The script should'
50476 echo ' expect to get importlib_name without extension and should produce'
50477 echo ' a (max.) 8 letter name without extension.'
50478 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50479 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50480 echo ' These flags will be put at the start of GCC command line.'
50481 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50482 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50483 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50484 echo ' If the last character of a symbol is "*", all symbols beginning'
50485 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50486 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50487 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50488 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50489 echo ' C runtime DLLs.'
50490 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50491 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50492 echo ' unchanged to GCC at the end of command line.'
50493 echo '*> If you create a DLL from a library and you do not specify -o,'
50494 echo ' the basename for DLL and import library will be set to library name,'
50495 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50496 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50497 echo ' library will be renamed into gcc_s.a.'
50500 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50501 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50506 # Execute a command.
50507 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50508 # @Uses Whatever CleanUp() uses.
50514 if [ ${D}rcCmd -ne 0 ]; then
50515 echo "command failed, exit code="${D}rcCmd
50530 CFLAGS="-s -Zcrtdll"
50532 EXPORT_BY_ORDINALS=0
50537 case ${D}curDirS in
50541 curDirS=${D}{curDirS}"/"
50544 # Parse commandline
50547 while [ ${D}1 ]; do
50550 EXPORT_BY_ORDINALS=1;
50560 -name-mangler-script)
50581 exclude_symbols=${D}{exclude_symbols}${D}1" "
50585 library_flags=${D}{library_flags}${D}1" "
50604 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50607 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50608 if [ ${D}omfLinking -eq 1 ]; then
50609 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50611 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50616 if [ ${D}libsToLink -ne 0 ]; then
50617 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50619 for file in ${D}1 ; do
50620 if [ -f ${D}file ]; then
50621 inputFiles="${D}{inputFiles} ${D}file"
50625 if [ ${D}found -eq 0 ]; then
50626 echo "ERROR: No file(s) found: "${D}1
50633 done # iterate cmdline words
50636 if [ -z "${D}inputFiles" ]; then
50637 echo "dllar: no input files"
50641 # Now extract all .o files from .a files
50643 for file in ${D}inputFiles ; do
50654 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50659 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50661 if [ ${D}? -ne 0 ]; then
50662 echo "Failed to create subdirectory ./${D}dirname"
50666 # Append '!' to indicate archive
50667 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50668 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50671 for subfile in ${D}dirname/*.o* ; do
50672 if [ -f ${D}subfile ]; then
50674 if [ -s ${D}subfile ]; then
50675 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50676 newInputFiles="${D}newInputFiles ${D}subfile"
50680 if [ ${D}found -eq 0 ]; then
50681 echo "WARNING: there are no files in archive \\'${D}file\\'"
50685 newInputFiles="${D}{newInputFiles} ${D}file"
50689 inputFiles="${D}newInputFiles"
50691 # Output filename(s).
50693 if [ -z ${D}outFile ]; then
50695 set outFile ${D}inputFiles; outFile=${D}2
50698 # If it is an archive, remove the '!' and the '_%' suffixes
50699 case ${D}outFile in
50701 outFile=\`basnam ${D}outFile _%!\`
50706 case ${D}outFile in
50708 outFile=\`basnam ${D}outFile .dll\`
50711 outFile=\`basnam ${D}outFile .DLL\`
50714 outFile=\`basnam ${D}outFile .o\`
50717 outFile=\`basnam ${D}outFile .obj\`
50720 outFile=\`basnam ${D}outFile .a\`
50723 outFile=\`basnam ${D}outFile .lib\`
50728 case ${D}outimpFile in
50730 outimpFile=\`basnam ${D}outimpFile .a\`
50733 outimpFile=\`basnam ${D}outimpFile .lib\`
50738 if [ -z ${D}outimpFile ]; then
50739 outimpFile=${D}outFile
50741 defFile="${D}{outFile}.def"
50742 arcFile="${D}{outimpFile}.a"
50743 arcFile2="${D}{outimpFile}.lib"
50745 #create ${D}dllFile as something matching 8.3 restrictions,
50746 if [ -z ${D}renameScript ] ; then
50747 dllFile="${D}outFile"
50749 dllFile=\`${D}renameScript ${D}outimpFile\`
50752 if [ ${D}do_backup -ne 0 ] ; then
50753 if [ -f ${D}arcFile ] ; then
50754 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50756 if [ -f ${D}arcFile2 ] ; then
50757 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50761 # Extract public symbols from all the object files.
50762 tmpdefFile=${D}{defFile}_%
50763 rm -f ${D}tmpdefFile
50764 for file in ${D}inputFiles ; do
50769 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50774 # Create the def file.
50776 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50777 dllFile="${D}{dllFile}.dll"
50778 if [ ! -z ${D}description ]; then
50779 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50781 echo "EXPORTS" >> ${D}defFile
50783 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50784 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50786 # Checks if the export is ok or not.
50787 for word in ${D}exclude_symbols; do
50788 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50789 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50793 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50794 sed "=" < ${D}tmpdefFile | \\
50798 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50800 ' > ${D}{tmpdefFile}%
50801 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50803 rm -f ${D}{tmpdefFile}%
50805 cat ${D}tmpdefFile >> ${D}defFile
50806 rm -f ${D}tmpdefFile
50808 # Do linking, create implib, and apply lxlite.
50810 for file in ${D}inputFiles ; do
50815 gccCmdl="${D}gccCmdl ${D}file"
50819 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50820 touch "${D}{outFile}.dll"
50822 doCommand "emximp -o ${D}arcFile ${D}defFile"
50823 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50825 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50828 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50830 doCommand "emxomf -s -l ${D}arcFile"
50840 powerpc-apple-macos* | \
50841 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50851 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50852 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50853 { (exit 1); exit 1; }; }
50856 if test "x$PIC_FLAG" != "x" ; then
50857 PIC_FLAG="$PIC_FLAG -DPIC"
50860 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50861 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50863 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50864 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50883 case "${BAKEFILE_HOST}" in
50884 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50885 if test "x$SUNCXX" = "xyes"; then
50888 SONAME_FLAG="-Wl,-soname,"
50923 # Check whether --enable-dependency-tracking was given.
50924 if test "${enable_dependency_tracking+set}" = set; then
50925 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50929 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50930 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50933 if test "x$bk_use_trackdeps" = "xno" ; then
50935 { echo "$as_me:$LINENO: result: disabled" >&5
50936 echo "${ECHO_T}disabled" >&6; }
50940 if test "x$GCC" = "xyes"; then
50942 case "${BAKEFILE_HOST}" in
50944 DEPSFLAG="-no-cpp-precomp -MMD"
50950 { echo "$as_me:$LINENO: result: gcc" >&5
50951 echo "${ECHO_T}gcc" >&6; }
50952 elif test "x$MWCC" = "xyes"; then
50955 { echo "$as_me:$LINENO: result: mwcc" >&5
50956 echo "${ECHO_T}mwcc" >&6; }
50957 elif test "x$SUNCC" = "xyes"; then
50960 { echo "$as_me:$LINENO: result: Sun cc" >&5
50961 echo "${ECHO_T}Sun cc" >&6; }
50962 elif test "x$SGICC" = "xyes"; then
50965 { echo "$as_me:$LINENO: result: SGI cc" >&5
50966 echo "${ECHO_T}SGI cc" >&6; }
50967 elif test "x$HPCC" = "xyes"; then
50970 { echo "$as_me:$LINENO: result: HP cc" >&5
50971 echo "${ECHO_T}HP cc" >&6; }
50972 elif test "x$COMPAQCC" = "xyes"; then
50975 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50976 echo "${ECHO_T}Compaq cc" >&6; }
50979 { echo "$as_me:$LINENO: result: none" >&5
50980 echo "${ECHO_T}none" >&6; }
50983 if test $DEPS_TRACKING = 1 ; then
50989 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50990 # script. It is used to track C/C++ files dependencies in portable way.
50992 # Permission is given to use this file in any way.
50994 DEPSMODE=${DEPSMODE}
50996 DEPSFLAG="${DEPSFLAG}"
50998 mkdir -p ${D}DEPSDIR
51000 if test ${D}DEPSMODE = gcc ; then
51001 ${D}* ${D}{DEPSFLAG}
51003 if test ${D}{status} != 0 ; then
51006 # move created file to the location we want it in:
51007 while test ${D}# -gt 0; do
51021 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51022 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51023 if test -f ${D}depfile ; then
51024 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51027 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51028 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51029 if test ! -f ${D}depfile ; then
51030 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51031 depfile="${D}objfile.d"
51033 if test -f ${D}depfile ; then
51034 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51039 elif test ${D}DEPSMODE = mwcc ; then
51040 ${D}* || exit ${D}?
51041 # Run mwcc again with -MM and redirect into the dep file we want
51042 # NOTE: We can't use shift here because we need ${D}* to be valid
51044 for arg in ${D}* ; do
51045 if test "${D}prevarg" = "-o"; then
51058 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51060 elif test ${D}DEPSMODE = unixcc; then
51061 ${D}* || exit ${D}?
51062 # Run compiler again with deps flag and redirect into the dep file.
51063 # It doesn't work if the '-o FILE' option is used, but without it the
51064 # dependency file will contain the wrong name for the object. So it is
51065 # removed from the command line, and the dep file is fixed with sed.
51067 while test ${D}# -gt 0; do
51074 eval arg${D}#=\\${D}1
51075 cmd="${D}cmd \\${D}arg${D}#"
51080 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51089 BK_DEPS="`pwd`/bk-deps"
51097 case ${BAKEFILE_HOST} in
51098 *-*-cygwin* | *-*-mingw32* )
51099 if test -n "$ac_tool_prefix"; then
51100 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51101 set dummy ${ac_tool_prefix}windres; ac_word=$2
51102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51104 if test "${ac_cv_prog_WINDRES+set}" = set; then
51105 echo $ECHO_N "(cached) $ECHO_C" >&6
51107 if test -n "$WINDRES"; then
51108 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51111 for as_dir in $PATH
51114 test -z "$as_dir" && as_dir=.
51115 for ac_exec_ext in '' $ac_executable_extensions; do
51116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51117 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51127 WINDRES=$ac_cv_prog_WINDRES
51128 if test -n "$WINDRES"; then
51129 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51130 echo "${ECHO_T}$WINDRES" >&6; }
51132 { echo "$as_me:$LINENO: result: no" >&5
51133 echo "${ECHO_T}no" >&6; }
51138 if test -z "$ac_cv_prog_WINDRES"; then
51139 ac_ct_WINDRES=$WINDRES
51140 # Extract the first word of "windres", so it can be a program name with args.
51141 set dummy windres; ac_word=$2
51142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51144 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51145 echo $ECHO_N "(cached) $ECHO_C" >&6
51147 if test -n "$ac_ct_WINDRES"; then
51148 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51151 for as_dir in $PATH
51154 test -z "$as_dir" && as_dir=.
51155 for ac_exec_ext in '' $ac_executable_extensions; do
51156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51157 ac_cv_prog_ac_ct_WINDRES="windres"
51158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51167 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51168 if test -n "$ac_ct_WINDRES"; then
51169 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51170 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51172 { echo "$as_me:$LINENO: result: no" >&5
51173 echo "${ECHO_T}no" >&6; }
51176 if test "x$ac_ct_WINDRES" = x; then
51179 case $cross_compiling:$ac_tool_warned in
51181 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51182 whose name does not start with the host triplet. If you think this
51183 configuration is useful to you, please write to autoconf@gnu.org." >&5
51184 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51185 whose name does not start with the host triplet. If you think this
51186 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51187 ac_tool_warned=yes ;;
51189 WINDRES=$ac_ct_WINDRES
51192 WINDRES="$ac_cv_prog_WINDRES"
51197 *-*-darwin* | powerpc-apple-macos* )
51198 # Extract the first word of "Rez", so it can be a program name with args.
51199 set dummy Rez; ac_word=$2
51200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51202 if test "${ac_cv_prog_REZ+set}" = set; then
51203 echo $ECHO_N "(cached) $ECHO_C" >&6
51205 if test -n "$REZ"; then
51206 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51209 for as_dir in $PATH
51212 test -z "$as_dir" && as_dir=.
51213 for ac_exec_ext in '' $ac_executable_extensions; do
51214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51215 ac_cv_prog_REZ="Rez"
51216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51223 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51226 REZ=$ac_cv_prog_REZ
51227 if test -n "$REZ"; then
51228 { echo "$as_me:$LINENO: result: $REZ" >&5
51229 echo "${ECHO_T}$REZ" >&6; }
51231 { echo "$as_me:$LINENO: result: no" >&5
51232 echo "${ECHO_T}no" >&6; }
51236 # Extract the first word of "SetFile", so it can be a program name with args.
51237 set dummy SetFile; ac_word=$2
51238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51240 if test "${ac_cv_prog_SETFILE+set}" = set; then
51241 echo $ECHO_N "(cached) $ECHO_C" >&6
51243 if test -n "$SETFILE"; then
51244 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51247 for as_dir in $PATH
51250 test -z "$as_dir" && as_dir=.
51251 for ac_exec_ext in '' $ac_executable_extensions; do
51252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51253 ac_cv_prog_SETFILE="SetFile"
51254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51261 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51264 SETFILE=$ac_cv_prog_SETFILE
51265 if test -n "$SETFILE"; then
51266 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51267 echo "${ECHO_T}$SETFILE" >&6; }
51269 { echo "$as_me:$LINENO: result: no" >&5
51270 echo "${ECHO_T}no" >&6; }
51282 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51285 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51289 # Check whether --enable-precomp-headers was given.
51290 if test "${enable_precomp_headers+set}" = set; then
51291 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51300 case ${BAKEFILE_HOST} in
51306 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51307 if test "x$GCC" = "xyes"; then
51308 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51309 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51310 cat >conftest.$ac_ext <<_ACEOF
51313 cat confdefs.h >>conftest.$ac_ext
51314 cat >>conftest.$ac_ext <<_ACEOF
51315 /* end confdefs.h. */
51321 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51322 There is no PCH support
51325 There is no PCH support
51327 #if (__GNUC__ == 3) && \
51328 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51329 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51330 ( defined(__INTEL_COMPILER) )
51331 There is no PCH support
51338 rm -f conftest.$ac_objext
51339 if { (ac_try="$ac_compile"
51340 case "(($ac_try" in
51341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51342 *) ac_try_echo=$ac_try;;
51344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51345 (eval "$ac_compile") 2>conftest.er1
51347 grep -v '^ *+' conftest.er1 >conftest.err
51349 cat conftest.err >&5
51350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51351 (exit $ac_status); } && {
51352 test -z "$ac_c_werror_flag" ||
51353 test ! -s conftest.err
51354 } && test -s conftest.$ac_objext; then
51356 { echo "$as_me:$LINENO: result: yes" >&5
51357 echo "${ECHO_T}yes" >&6; }
51361 echo "$as_me: failed program was:" >&5
51362 sed 's/^/| /' conftest.$ac_ext >&5
51365 cat >conftest.$ac_ext <<_ACEOF
51368 cat confdefs.h >>conftest.$ac_ext
51369 cat >>conftest.$ac_ext <<_ACEOF
51370 /* end confdefs.h. */
51376 #if !defined(__INTEL_COMPILER) || \
51377 (__INTEL_COMPILER < 800)
51378 There is no PCH support
51385 rm -f conftest.$ac_objext
51386 if { (ac_try="$ac_compile"
51387 case "(($ac_try" in
51388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51389 *) ac_try_echo=$ac_try;;
51391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51392 (eval "$ac_compile") 2>conftest.er1
51394 grep -v '^ *+' conftest.er1 >conftest.err
51396 cat conftest.err >&5
51397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51398 (exit $ac_status); } && {
51399 test -z "$ac_c_werror_flag" ||
51400 test ! -s conftest.err
51401 } && test -s conftest.$ac_objext; then
51403 { echo "$as_me:$LINENO: result: yes" >&5
51404 echo "${ECHO_T}yes" >&6; }
51408 echo "$as_me: failed program was:" >&5
51409 sed 's/^/| /' conftest.$ac_ext >&5
51412 { echo "$as_me:$LINENO: result: no" >&5
51413 echo "${ECHO_T}no" >&6; }
51417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51422 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51426 cat <<EOF >bk-make-pch
51429 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51430 # script. It is used to generated precompiled headers.
51432 # Permission is given to use this file in any way.
51442 while test ${D}{#} -gt 0; do
51446 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51447 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51448 headerfile="${D}{incdir}/${D}{header}"
51451 -use-pch|-use_pch )
51456 if test ${D}add_to_cmdline = 1 ; then
51457 compiler="${D}{compiler} ${D}{1}"
51462 if test "x${D}{headerfile}" = "x" ; then
51463 echo "error: can't find header ${D}{header} in include paths" >&2
51465 if test -f ${D}{outfile} ; then
51466 rm -f ${D}{outfile}
51468 mkdir -p \`dirname ${D}{outfile}\`
51470 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51472 if test "x${GCC_PCH}" = "x1" ; then
51473 # can do this because gcc is >= 3.4:
51474 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51475 elif test "x${ICC_PCH}" = "x1" ; then
51476 filename=pch_gen-${D}${D}
51477 file=${D}{filename}.c
51478 dfile=${D}{filename}.d
51479 cat > ${D}file <<EOT
51480 #include "${D}header"
51482 # using -MF icc complains about differing command lines in creation/use
51483 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51484 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51485 rm -f ${D}file ${D}dfile ${D}{filename}.o
51491 chmod +x bk-make-pch
51492 BK_MAKE_PCH="`pwd`/bk-make-pch"
51501 COND_BUILD_DEBUG="#"
51502 if test "x$BUILD" = "xdebug" ; then
51503 COND_BUILD_DEBUG=""
51506 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51507 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51508 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51511 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51512 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51513 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51516 COND_BUILD_DEBUG_UNICODE_0="#"
51517 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51518 COND_BUILD_DEBUG_UNICODE_0=""
51521 COND_BUILD_DEBUG_UNICODE_1="#"
51522 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51523 COND_BUILD_DEBUG_UNICODE_1=""
51526 COND_BUILD_RELEASE="#"
51527 if test "x$BUILD" = "xrelease" ; then
51528 COND_BUILD_RELEASE=""
51531 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51532 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51533 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51536 COND_BUILD_RELEASE_UNICODE_0="#"
51537 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51538 COND_BUILD_RELEASE_UNICODE_0=""
51541 COND_BUILD_RELEASE_UNICODE_1="#"
51542 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51543 COND_BUILD_RELEASE_UNICODE_1=""
51546 COND_DEBUG_FLAG_1="#"
51547 if test "x$DEBUG_FLAG" = "x1" ; then
51548 COND_DEBUG_FLAG_1=""
51551 COND_DEBUG_INFO_0="#"
51552 if test "x$DEBUG_INFO" = "x0" ; then
51553 COND_DEBUG_INFO_0=""
51556 COND_DEBUG_INFO_1="#"
51557 if test "x$DEBUG_INFO" = "x1" ; then
51558 COND_DEBUG_INFO_1=""
51561 COND_DEPS_TRACKING_0="#"
51562 if test "x$DEPS_TRACKING" = "x0" ; then
51563 COND_DEPS_TRACKING_0=""
51566 COND_DEPS_TRACKING_1="#"
51567 if test "x$DEPS_TRACKING" = "x1" ; then
51568 COND_DEPS_TRACKING_1=""
51572 if test "x$GCC_PCH" = "x1" ; then
51577 if test "x$ICC_PCH" = "x1" ; then
51581 COND_MONOLITHIC_0="#"
51582 if test "x$MONOLITHIC" = "x0" ; then
51583 COND_MONOLITHIC_0=""
51586 COND_MONOLITHIC_0_SHARED_0="#"
51587 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51588 COND_MONOLITHIC_0_SHARED_0=""
51591 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51592 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51593 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51596 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51597 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51598 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51601 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51602 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51603 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51606 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51607 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51608 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51611 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51612 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51613 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51616 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51617 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51618 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51621 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51622 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51623 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51626 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51627 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51628 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51631 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51632 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51633 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51636 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51637 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51638 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51641 COND_MONOLITHIC_0_SHARED_1="#"
51642 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51643 COND_MONOLITHIC_0_SHARED_1=""
51646 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51647 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51648 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51651 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51652 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51653 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51656 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51657 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51658 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51661 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51662 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51663 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51666 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51667 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51668 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51671 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51672 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51673 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51676 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51677 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51678 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51681 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51682 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51683 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51686 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51687 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51688 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51691 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51692 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51693 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51696 COND_MONOLITHIC_0_USE_AUI_1="#"
51697 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51698 COND_MONOLITHIC_0_USE_AUI_1=""
51701 COND_MONOLITHIC_0_USE_GUI_1="#"
51702 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51703 COND_MONOLITHIC_0_USE_GUI_1=""
51706 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51707 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51708 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51711 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51712 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51713 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51716 COND_MONOLITHIC_0_USE_HTML_1="#"
51717 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51718 COND_MONOLITHIC_0_USE_HTML_1=""
51721 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51722 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51723 COND_MONOLITHIC_0_USE_MEDIA_1=""
51726 COND_MONOLITHIC_0_USE_ODBC_1="#"
51727 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51728 COND_MONOLITHIC_0_USE_ODBC_1=""
51731 COND_MONOLITHIC_0_USE_QA_1="#"
51732 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51733 COND_MONOLITHIC_0_USE_QA_1=""
51736 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51737 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51738 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51741 COND_MONOLITHIC_0_USE_STC_1="#"
51742 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51743 COND_MONOLITHIC_0_USE_STC_1=""
51746 COND_MONOLITHIC_0_USE_XRC_1="#"
51747 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51748 COND_MONOLITHIC_0_USE_XRC_1=""
51751 COND_MONOLITHIC_1="#"
51752 if test "x$MONOLITHIC" = "x1" ; then
51753 COND_MONOLITHIC_1=""
51756 COND_MONOLITHIC_1_SHARED_0="#"
51757 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51758 COND_MONOLITHIC_1_SHARED_0=""
51761 COND_MONOLITHIC_1_SHARED_1="#"
51762 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51763 COND_MONOLITHIC_1_SHARED_1=""
51766 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51767 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51768 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51771 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51772 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51773 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51776 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51777 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51778 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51781 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51782 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51783 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51786 COND_PLATFORM_MACOSX_1="#"
51787 if test "x$PLATFORM_MACOSX" = "x1" ; then
51788 COND_PLATFORM_MACOSX_1=""
51791 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51792 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51793 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51796 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51797 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51798 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51802 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51803 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51806 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51807 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51808 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51811 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51812 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51813 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51816 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51817 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51818 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51821 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51822 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51823 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51826 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51827 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51828 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51831 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51832 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51833 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51836 COND_PLATFORM_MACOS_1="#"
51837 if test "x$PLATFORM_MACOS" = "x1" ; then
51838 COND_PLATFORM_MACOS_1=""
51841 COND_PLATFORM_MAC_1="#"
51842 if test "x$PLATFORM_MAC" = "x1" ; then
51843 COND_PLATFORM_MAC_1=""
51846 COND_PLATFORM_MSDOS_0="#"
51847 if test "x$PLATFORM_MSDOS" = "x0" ; then
51848 COND_PLATFORM_MSDOS_0=""
51851 COND_PLATFORM_MSDOS_1="#"
51852 if test "x$PLATFORM_MSDOS" = "x1" ; then
51853 COND_PLATFORM_MSDOS_1=""
51856 COND_PLATFORM_OS2_1="#"
51857 if test "x$PLATFORM_OS2" = "x1" ; then
51858 COND_PLATFORM_OS2_1=""
51861 COND_PLATFORM_UNIX_0="#"
51862 if test "x$PLATFORM_UNIX" = "x0" ; then
51863 COND_PLATFORM_UNIX_0=""
51866 COND_PLATFORM_UNIX_1="#"
51867 if test "x$PLATFORM_UNIX" = "x1" ; then
51868 COND_PLATFORM_UNIX_1=""
51871 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51872 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51873 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51876 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51877 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51881 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51882 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51883 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51887 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51891 COND_PLATFORM_WIN32_0="#"
51892 if test "x$PLATFORM_WIN32" = "x0" ; then
51893 COND_PLATFORM_WIN32_0=""
51896 COND_PLATFORM_WIN32_1="#"
51897 if test "x$PLATFORM_WIN32" = "x1" ; then
51898 COND_PLATFORM_WIN32_1=""
51902 if test "x$SHARED" = "x0" ; then
51906 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51907 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51908 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51911 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51912 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51913 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51917 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51918 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51921 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51922 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51923 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51926 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51927 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51928 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51931 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51932 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51933 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51936 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51937 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51938 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51941 COND_SHARED_0_USE_STC_1="#"
51942 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51943 COND_SHARED_0_USE_STC_1=""
51946 COND_SHARED_0_USE_XRC_1="#"
51947 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51948 COND_SHARED_0_USE_XRC_1=""
51951 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51952 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51953 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51956 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
51957 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51958 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
51961 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51962 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51963 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51966 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51967 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51968 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51972 if test "x$SHARED" = "x1" ; then
51976 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51977 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51978 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51981 COND_SHARED_1_USE_XRC_1="#"
51982 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51983 COND_SHARED_1_USE_XRC_1=""
51987 if test "x$TOOLKIT" = "x" ; then
51991 COND_TOOLKIT_COCOA="#"
51992 if test "x$TOOLKIT" = "xCOCOA" ; then
51993 COND_TOOLKIT_COCOA=""
51996 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51997 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51998 COND_TOOLKIT_COCOA_USE_GUI_1=""
52001 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52002 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52003 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52006 COND_TOOLKIT_DFB="#"
52007 if test "x$TOOLKIT" = "xDFB" ; then
52008 COND_TOOLKIT_DFB=""
52011 COND_TOOLKIT_DFB_USE_GUI_1="#"
52012 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52013 COND_TOOLKIT_DFB_USE_GUI_1=""
52016 COND_TOOLKIT_GTK="#"
52017 if test "x$TOOLKIT" = "xGTK" ; then
52018 COND_TOOLKIT_GTK=""
52021 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52022 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52023 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52026 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52027 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52028 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52031 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52032 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52033 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52036 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52037 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52038 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52041 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52042 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52043 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52046 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52047 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52048 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52051 COND_TOOLKIT_GTK_USE_GUI_1="#"
52052 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52053 COND_TOOLKIT_GTK_USE_GUI_1=""
52056 COND_TOOLKIT_MAC="#"
52057 if test "x$TOOLKIT" = "xMAC" ; then
52058 COND_TOOLKIT_MAC=""
52061 COND_TOOLKIT_MAC_USE_GUI_1="#"
52062 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52063 COND_TOOLKIT_MAC_USE_GUI_1=""
52066 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52067 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52068 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52071 COND_TOOLKIT_MGL="#"
52072 if test "x$TOOLKIT" = "xMGL" ; then
52073 COND_TOOLKIT_MGL=""
52076 COND_TOOLKIT_MGL_USE_GUI_1="#"
52077 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52078 COND_TOOLKIT_MGL_USE_GUI_1=""
52081 COND_TOOLKIT_MOTIF="#"
52082 if test "x$TOOLKIT" = "xMOTIF" ; then
52083 COND_TOOLKIT_MOTIF=""
52086 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52087 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52088 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52091 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52092 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52093 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52096 COND_TOOLKIT_MSW="#"
52097 if test "x$TOOLKIT" = "xMSW" ; then
52098 COND_TOOLKIT_MSW=""
52101 COND_TOOLKIT_MSW_USE_GUI_1="#"
52102 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52103 COND_TOOLKIT_MSW_USE_GUI_1=""
52106 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52107 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52108 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52111 COND_TOOLKIT_MSW_WXUNIV_0="#"
52112 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52113 COND_TOOLKIT_MSW_WXUNIV_0=""
52116 COND_TOOLKIT_PM="#"
52117 if test "x$TOOLKIT" = "xPM" ; then
52121 COND_TOOLKIT_PM_USE_GUI_1="#"
52122 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52123 COND_TOOLKIT_PM_USE_GUI_1=""
52126 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52127 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52128 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52131 COND_TOOLKIT_WINCE="#"
52132 if test "x$TOOLKIT" = "xWINCE" ; then
52133 COND_TOOLKIT_WINCE=""
52136 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52137 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52138 COND_TOOLKIT_WINCE_USE_GUI_1=""
52141 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52142 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52143 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52146 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52147 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52148 COND_TOOLKIT_WINCE_WXUNIV_0=""
52151 COND_TOOLKIT_X11="#"
52152 if test "x$TOOLKIT" = "xX11" ; then
52153 COND_TOOLKIT_X11=""
52156 COND_TOOLKIT_X11_USE_GUI_1="#"
52157 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52158 COND_TOOLKIT_X11_USE_GUI_1=""
52162 if test "x$UNICODE" = "x1" ; then
52166 COND_USE_EXCEPTIONS_0="#"
52167 if test "x$USE_EXCEPTIONS" = "x0" ; then
52168 COND_USE_EXCEPTIONS_0=""
52171 COND_USE_EXCEPTIONS_1="#"
52172 if test "x$USE_EXCEPTIONS" = "x1" ; then
52173 COND_USE_EXCEPTIONS_1=""
52177 if test "x$USE_GUI" = "x0" ; then
52182 if test "x$USE_GUI" = "x1" ; then
52186 COND_USE_GUI_1_USE_OPENGL_1="#"
52187 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52188 COND_USE_GUI_1_USE_OPENGL_1=""
52191 COND_USE_GUI_1_WXUNIV_0="#"
52192 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52193 COND_USE_GUI_1_WXUNIV_0=""
52196 COND_USE_GUI_1_WXUNIV_1="#"
52197 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52198 COND_USE_GUI_1_WXUNIV_1=""
52201 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52202 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52203 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52206 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52207 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52208 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52211 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52212 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52213 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52216 COND_USE_ODBC_1="#"
52217 if test "x$USE_ODBC" = "x1" ; then
52221 COND_USE_OPENGL_1="#"
52222 if test "x$USE_OPENGL" = "x1" ; then
52223 COND_USE_OPENGL_1=""
52227 if test "x$USE_PCH" = "x1" ; then
52231 COND_USE_PLUGINS_0="#"
52232 if test "x$USE_PLUGINS" = "x0" ; then
52233 COND_USE_PLUGINS_0=""
52236 COND_USE_RTTI_0="#"
52237 if test "x$USE_RTTI" = "x0" ; then
52241 COND_USE_RTTI_1="#"
52242 if test "x$USE_RTTI" = "x1" ; then
52246 COND_USE_SOSYMLINKS_1="#"
52247 if test "x$USE_SOSYMLINKS" = "x1" ; then
52248 COND_USE_SOSYMLINKS_1=""
52251 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52252 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52253 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52256 COND_USE_SOVERLINUX_1="#"
52257 if test "x$USE_SOVERLINUX" = "x1" ; then
52258 COND_USE_SOVERLINUX_1=""
52261 COND_USE_SOVERSION_0="#"
52262 if test "x$USE_SOVERSION" = "x0" ; then
52263 COND_USE_SOVERSION_0=""
52266 COND_USE_SOVERSOLARIS_1="#"
52267 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52268 COND_USE_SOVERSOLARIS_1=""
52272 if test "x$USE_STC" = "x1" ; then
52276 COND_USE_THREADS_0="#"
52277 if test "x$USE_THREADS" = "x0" ; then
52278 COND_USE_THREADS_0=""
52281 COND_USE_THREADS_1="#"
52282 if test "x$USE_THREADS" = "x1" ; then
52283 COND_USE_THREADS_1=""
52287 if test "x$USE_XRC" = "x1" ; then
52291 COND_WINDOWS_IMPLIB_1="#"
52292 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52293 COND_WINDOWS_IMPLIB_1=""
52296 COND_WITH_PLUGIN_SDL_1="#"
52297 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52298 COND_WITH_PLUGIN_SDL_1=""
52302 if test "x$WXUNIV" = "x0" ; then
52307 if test "x$WXUNIV" = "x1" ; then
52311 COND_WXUSE_EXPAT_BUILTIN="#"
52312 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52313 COND_WXUSE_EXPAT_BUILTIN=""
52316 COND_WXUSE_LIBJPEG_BUILTIN="#"
52317 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52318 COND_WXUSE_LIBJPEG_BUILTIN=""
52321 COND_WXUSE_LIBPNG_BUILTIN="#"
52322 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52323 COND_WXUSE_LIBPNG_BUILTIN=""
52326 COND_WXUSE_LIBTIFF_BUILTIN="#"
52327 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52328 COND_WXUSE_LIBTIFF_BUILTIN=""
52331 COND_WXUSE_ODBC_BUILTIN="#"
52332 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52333 COND_WXUSE_ODBC_BUILTIN=""
52336 COND_WXUSE_REGEX_BUILTIN="#"
52337 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52338 COND_WXUSE_REGEX_BUILTIN=""
52341 COND_WXUSE_ZLIB_BUILTIN="#"
52342 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52343 COND_WXUSE_ZLIB_BUILTIN=""
52348 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52349 { { 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
52350 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;}
52351 { (exit 1); exit 1; }; }
52354 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52355 { { 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
52356 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;}
52357 { (exit 1); exit 1; }; }
52361 if test $GCC_PCH = 1
52363 if test "$wx_cv_gcc_pch_bug" = yes; then
52364 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52365 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52366 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52367 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52368 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52369 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52372 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52376 if test "$wxUSE_MAC" = 1 ; then
52377 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52378 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52384 if test "$wxUSE_SHARED" = "yes"; then
52386 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52387 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52390 *-pc-os2_emx | *-pc-os2-emx )
52391 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52392 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52393 cp -p ${srcdir}/src/os2/dllnames.sh .
52394 cp -p ${srcdir}/src/os2/dllar.sh .
52399 EXE_LINKER="$CXX -o"
52402 if test "$wxUSE_OMF" = "yes"; then
52404 *-pc-os2_emx | *-pc-os2-emx )
52405 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52406 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52407 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52412 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52417 if "$GCC" = yes; then
52418 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52419 LIBS=`echo $LIBS | sed 's/-mt//'`
52420 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52425 if test "x$SUNCXX" = xyes; then
52426 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52427 LIBS=`echo $LIBS | sed 's/-pthread//'`
52428 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52433 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52434 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52436 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52498 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52499 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52500 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52501 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52502 echo $ECHO_N "(cached) $ECHO_C" >&6
52504 cat >conftest.make <<\_ACEOF
52507 @echo '@@@%%%=$(MAKE)=@@@%%%'
52509 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52510 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52511 *@@@%%%=?*=@@@%%%*)
52512 eval ac_cv_prog_make_${ac_make}_set=yes;;
52514 eval ac_cv_prog_make_${ac_make}_set=no;;
52516 rm -f conftest.make
52518 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52519 { echo "$as_me:$LINENO: result: yes" >&5
52520 echo "${ECHO_T}yes" >&6; }
52523 { echo "$as_me:$LINENO: result: no" >&5
52524 echo "${ECHO_T}no" >&6; }
52525 SET_MAKE="MAKE=${MAKE-make}"
52530 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52533 if test "$USE_WIN32" = 1; then
52534 ac_config_commands="$ac_config_commands
52540 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52543 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52546 if test "$wx_cv_version_script" = "yes"; then
52547 ac_config_files="$ac_config_files version-script"
52550 ac_config_files="$ac_config_files Makefile"
52553 ac_config_commands="$ac_config_commands wx-config"
52557 if test "$wxWITH_SUBDIRS" != "no"; then
52558 if test "$wxUSE_GUI" = "yes"; then
52559 SUBDIRS="samples demos utils"
52560 else SUBDIRS="samples utils"
52565 # Check whether --with-cppunit-prefix was given.
52566 if test "${with_cppunit_prefix+set}" = set; then
52567 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52569 cppunit_config_prefix=""
52573 # Check whether --with-cppunit-exec-prefix was given.
52574 if test "${with_cppunit_exec_prefix+set}" = set; then
52575 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52577 cppunit_config_exec_prefix=""
52581 if test x$cppunit_config_exec_prefix != x ; then
52582 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52583 if test x${CPPUNIT_CONFIG+set} != xset ; then
52584 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52587 if test x$cppunit_config_prefix != x ; then
52588 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52589 if test x${CPPUNIT_CONFIG+set} != xset ; then
52590 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52594 # Extract the first word of "cppunit-config", so it can be a program name with args.
52595 set dummy cppunit-config; ac_word=$2
52596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52598 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52599 echo $ECHO_N "(cached) $ECHO_C" >&6
52601 case $CPPUNIT_CONFIG in
52603 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52607 for as_dir in $PATH
52610 test -z "$as_dir" && as_dir=.
52611 for ac_exec_ext in '' $ac_executable_extensions; do
52612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52613 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52621 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52625 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52626 if test -n "$CPPUNIT_CONFIG"; then
52627 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52628 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52630 { echo "$as_me:$LINENO: result: no" >&5
52631 echo "${ECHO_T}no" >&6; }
52635 cppunit_version_min=1.8.0
52637 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52638 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52640 if test "$CPPUNIT_CONFIG" = "no" ; then
52641 { echo "$as_me:$LINENO: result: no" >&5
52642 echo "${ECHO_T}no" >&6; }
52645 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52646 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52647 cppunit_version=`$CPPUNIT_CONFIG --version`
52649 cppunit_major_version=`echo $cppunit_version | \
52650 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52651 cppunit_minor_version=`echo $cppunit_version | \
52652 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52653 cppunit_micro_version=`echo $cppunit_version | \
52654 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52656 cppunit_major_min=`echo $cppunit_version_min | \
52657 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52658 cppunit_minor_min=`echo $cppunit_version_min | \
52659 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52660 cppunit_micro_min=`echo $cppunit_version_min | \
52661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52663 cppunit_version_proper=`expr \
52664 $cppunit_major_version \> $cppunit_major_min \| \
52665 $cppunit_major_version \= $cppunit_major_min \& \
52666 $cppunit_minor_version \> $cppunit_minor_min \| \
52667 $cppunit_major_version \= $cppunit_major_min \& \
52668 $cppunit_minor_version \= $cppunit_minor_min \& \
52669 $cppunit_micro_version \>= $cppunit_micro_min `
52671 if test "$cppunit_version_proper" = "1" ; then
52672 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52673 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52675 { echo "$as_me:$LINENO: result: no" >&5
52676 echo "${ECHO_T}no" >&6; }
52681 if test "x$no_cppunit" = x ; then
52682 SUBDIRS="$SUBDIRS tests"
52693 for subdir in `echo $SUBDIRS`; do
52694 if test -d ${srcdir}/${subdir} ; then
52695 if test "$wxUSE_GUI" = "yes"; then
52696 if test ${subdir} = "samples"; then
52697 makefiles="samples/Makefile.in $makefiles"
52698 for sample in `echo $SAMPLES_SUBDIRS`; do
52699 if test -d $srcdir/samples/$sample; then
52700 makefiles="samples/$sample/Makefile.in $makefiles"
52704 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52705 eval "disabled=\$$disabled_var"
52706 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52707 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52709 else if test ${subdir} = "samples"; then
52710 makefiles="samples/Makefile.in samples/console/Makefile.in"
52711 elif test ${subdir} = "utils"; then
52713 for util in HelpGen tex2rtf ; do
52714 if test -d $srcdir/utils/$util ; then
52715 makefiles="utils/$util/Makefile.in \
52716 utils/$util/src/Makefile.in \
52720 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52724 for mkin in $makefiles ; do
52725 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52726 ac_config_files="$ac_config_files $mk"
52732 cat >confcache <<\_ACEOF
52733 # This file is a shell script that caches the results of configure
52734 # tests run on this system so they can be shared between configure
52735 # scripts and configure runs, see configure's option --config-cache.
52736 # It is not useful on other systems. If it contains results you don't
52737 # want to keep, you may remove or edit it.
52739 # config.status only pays attention to the cache file if you give it
52740 # the --recheck option to rerun configure.
52742 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52743 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52744 # following values.
52748 # The following way of writing the cache mishandles newlines in values,
52749 # but we know of no workaround that is simple, portable, and efficient.
52750 # So, we kill variables containing newlines.
52751 # Ultrix sh set writes to stderr and can't be redirected directly,
52752 # and sets the high bit in the cache file unless we assign to the vars.
52754 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52755 eval ac_val=\$$ac_var
52759 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52760 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52763 _ | IFS | as_nl) ;; #(
52764 *) $as_unset $ac_var ;;
52770 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52771 *${as_nl}ac_space=\ *)
52772 # `set' does not quote correctly, so add quotes (double-quote
52773 # substitution turns \\\\ into \\, and sed turns \\ into \).
52776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52779 # `set' quotes correctly as required by POSIX, so do not add quotes.
52780 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52789 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52791 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52793 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52794 if test -w "$cache_file"; then
52795 test "x$cache_file" != "x/dev/null" &&
52796 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52797 echo "$as_me: updating cache $cache_file" >&6;}
52798 cat confcache >$cache_file
52800 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52801 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52806 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52807 # Let make expand exec_prefix.
52808 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52810 DEFS=-DHAVE_CONFIG_H
52814 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52815 # 1. Remove the extension, and $U if already installed.
52816 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52817 ac_i=`echo "$ac_i" | sed "$ac_script"`
52818 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52819 # will be set to the directory where LIBOBJS objects are built.
52820 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52821 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52823 LIBOBJS=$ac_libobjs
52825 LTLIBOBJS=$ac_ltlibobjs
52829 : ${CONFIG_STATUS=./config.status}
52830 ac_clean_files_save=$ac_clean_files
52831 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52832 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52833 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52834 cat >$CONFIG_STATUS <<_ACEOF
52836 # Generated by $as_me.
52837 # Run this file to recreate the current configuration.
52838 # Compiler output produced by configure, useful for debugging
52839 # configure, is in config.log if it exists.
52842 ac_cs_recheck=false
52844 SHELL=\${CONFIG_SHELL-$SHELL}
52847 cat >>$CONFIG_STATUS <<\_ACEOF
52848 ## --------------------- ##
52849 ## M4sh Initialization. ##
52850 ## --------------------- ##
52852 # Be more Bourne compatible
52853 DUALCASE=1; export DUALCASE # for MKS sh
52854 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52857 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52858 # is contrary to our usage. Disable this feature.
52859 alias -g '${1+"$@"}'='"$@"'
52860 setopt NO_GLOB_SUBST
52862 case `(set -o) 2>/dev/null` in
52863 *posix*) set -o posix ;;
52872 # Avoid depending upon Character Ranges.
52873 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52874 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52875 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52876 as_cr_digits='0123456789'
52877 as_cr_alnum=$as_cr_Letters$as_cr_digits
52879 # The user is always right.
52880 if test "${PATH_SEPARATOR+set}" != set; then
52881 echo "#! /bin/sh" >conf$$.sh
52882 echo "exit 0" >>conf$$.sh
52884 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52892 # Support unset when possible.
52893 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52901 # We need space, tab and new line, in precisely that order. Quoting is
52902 # there to prevent editors from complaining about space-tab.
52903 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52904 # splitting by setting IFS to empty value.)
52909 # Find who we are. Look in the path if we contain no directory separator.
52911 *[\\/]* ) as_myself=$0 ;;
52912 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52913 for as_dir in $PATH
52916 test -z "$as_dir" && as_dir=.
52917 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52923 # We did not find ourselves, most probably we were run as `sh COMMAND'
52924 # in which case we are not to be found in the path.
52925 if test "x$as_myself" = x; then
52928 if test ! -f "$as_myself"; then
52929 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52930 { (exit 1); exit 1; }
52933 # Work around bugs in pre-3.0 UWIN ksh.
52934 for as_var in ENV MAIL MAILPATH
52935 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52943 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52944 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52945 LC_TELEPHONE LC_TIME
52947 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52948 eval $as_var=C; export $as_var
52950 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52954 # Required to use basename.
52955 if expr a : '\(a\)' >/dev/null 2>&1 &&
52956 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52962 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52963 as_basename=basename
52969 # Name of the executable.
52970 as_me=`$as_basename -- "$0" ||
52971 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52972 X"$0" : 'X\(//\)$' \| \
52973 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52975 sed '/^.*\/\([^/][^/]*\)\/*$/{
52994 as_lineno_1=$LINENO
52995 as_lineno_2=$LINENO
52996 test "x$as_lineno_1" != "x$as_lineno_2" &&
52997 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52999 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53000 # uniformly replaced by the line number. The first 'sed' inserts a
53001 # line-number line after each line using $LINENO; the second 'sed'
53002 # does the real work. The second script uses 'N' to pair each
53003 # line-number line with the line containing $LINENO, and appends
53004 # trailing '-' during substitution so that $LINENO is not a special
53005 # case at line end.
53006 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53007 # scripts with optimization help from Paolo Bonzini. Blame Lee
53008 # E. McMahon (1931-1989) for sed's syntax. :-)
53020 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53023 ' >$as_me.lineno &&
53024 chmod +x "$as_me.lineno" ||
53025 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53026 { (exit 1); exit 1; }; }
53028 # Don't try to exec as it changes $[0], causing all sort of problems
53029 # (the dirname of $[0] is not the place where we might find the
53030 # original and so on. Autoconf is especially sensitive to this).
53031 . "./$as_me.lineno"
53032 # Exit status is that of the last command.
53037 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53043 ECHO_C= ECHO_N= ECHO_T=
53044 case `echo -n x` in
53046 case `echo 'x\c'` in
53047 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53054 if expr a : '\(a\)' >/dev/null 2>&1 &&
53055 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53061 rm -f conf$$ conf$$.exe conf$$.file
53062 if test -d conf$$.dir; then
53063 rm -f conf$$.dir/conf$$.file
53069 if ln -s conf$$.file conf$$ 2>/dev/null; then
53071 # ... but there are two gotchas:
53072 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53073 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53074 # In both cases, we have to default to `cp -p'.
53075 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53077 elif ln conf$$.file conf$$ 2>/dev/null; then
53082 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53083 rmdir conf$$.dir 2>/dev/null
53085 if mkdir -p . 2>/dev/null; then
53088 test -d ./-p && rmdir ./-p
53092 if test -x / >/dev/null 2>&1; then
53093 as_test_x='test -x'
53095 if ls -dL / >/dev/null 2>&1; then
53102 if test -d "$1"; then
53108 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53109 ???[sx]*):;;*)false;;esac;fi
53113 as_executable_p=$as_test_x
53115 # Sed expression to map a string onto a valid CPP name.
53116 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53118 # Sed expression to map a string onto a valid variable name.
53119 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53124 # Save the log message, to keep $[0] and so on meaningful, and to
53125 # report actual input values of CONFIG_FILES etc. instead of their
53126 # values after options handling.
53128 This file was extended by wxWidgets $as_me 2.9.0, which was
53129 generated by GNU Autoconf 2.61. Invocation command line was
53131 CONFIG_FILES = $CONFIG_FILES
53132 CONFIG_HEADERS = $CONFIG_HEADERS
53133 CONFIG_LINKS = $CONFIG_LINKS
53134 CONFIG_COMMANDS = $CONFIG_COMMANDS
53137 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53142 cat >>$CONFIG_STATUS <<_ACEOF
53143 # Files that config.status was made for.
53144 config_files="$ac_config_files"
53145 config_headers="$ac_config_headers"
53146 config_commands="$ac_config_commands"
53150 cat >>$CONFIG_STATUS <<\_ACEOF
53152 \`$as_me' instantiates files from templates according to the
53153 current configuration.
53155 Usage: $0 [OPTIONS] [FILE]...
53157 -h, --help print this help, then exit
53158 -V, --version print version number and configuration settings, then exit
53159 -q, --quiet do not print progress messages
53160 -d, --debug don't remove temporary files
53161 --recheck update $as_me by reconfiguring in the same conditions
53162 --file=FILE[:TEMPLATE]
53163 instantiate the configuration file FILE
53164 --header=FILE[:TEMPLATE]
53165 instantiate the configuration header FILE
53167 Configuration files:
53170 Configuration headers:
53173 Configuration commands:
53176 Report bugs to <bug-autoconf@gnu.org>."
53179 cat >>$CONFIG_STATUS <<_ACEOF
53181 wxWidgets config.status 2.9.0
53182 configured by $0, generated by GNU Autoconf 2.61,
53183 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53185 Copyright (C) 2006 Free Software Foundation, Inc.
53186 This config.status script is free software; the Free Software Foundation
53187 gives unlimited permission to copy, distribute and modify it."
53194 cat >>$CONFIG_STATUS <<\_ACEOF
53195 # If no file are specified by the user, then we need to provide default
53196 # value. By we need to know if files were specified by the user.
53202 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53203 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53214 # Handling of the options.
53215 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53217 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53218 echo "$ac_cs_version"; exit ;;
53219 --debug | --debu | --deb | --de | --d | -d )
53221 --file | --fil | --fi | --f )
53223 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53224 ac_need_defaults=false;;
53225 --header | --heade | --head | --hea )
53227 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53228 ac_need_defaults=false;;
53230 # Conflict between --help and --header
53231 { echo "$as_me: error: ambiguous option: $1
53232 Try \`$0 --help' for more information." >&2
53233 { (exit 1); exit 1; }; };;
53234 --help | --hel | -h )
53235 echo "$ac_cs_usage"; exit ;;
53236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53237 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53240 # This is an error.
53241 -*) { echo "$as_me: error: unrecognized option: $1
53242 Try \`$0 --help' for more information." >&2
53243 { (exit 1); exit 1; }; } ;;
53245 *) ac_config_targets="$ac_config_targets $1"
53246 ac_need_defaults=false ;;
53252 ac_configure_extra_args=
53254 if $ac_cs_silent; then
53256 ac_configure_extra_args="$ac_configure_extra_args --silent"
53260 cat >>$CONFIG_STATUS <<_ACEOF
53261 if \$ac_cs_recheck; then
53262 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53263 CONFIG_SHELL=$SHELL
53264 export CONFIG_SHELL
53265 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53269 cat >>$CONFIG_STATUS <<\_ACEOF
53273 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53274 ## Running $as_me. ##
53280 cat >>$CONFIG_STATUS <<_ACEOF
53286 infile="$srcdir/include/wx/msw/genrcdefs.h"
53287 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53290 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53291 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53292 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53298 cat >>$CONFIG_STATUS <<\_ACEOF
53300 # Handling of arguments.
53301 for ac_config_target in $ac_config_targets
53303 case $ac_config_target in
53304 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53305 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53306 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53307 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53308 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53309 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53310 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53311 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53313 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53314 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53315 { (exit 1); exit 1; }; };;
53320 # If the user did not use the arguments to specify the items to instantiate,
53321 # then the envvar interface is used. Set only those that are not.
53322 # We use the long form for the default assignment because of an extremely
53323 # bizarre bug on SunOS 4.1.3.
53324 if $ac_need_defaults; then
53325 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53326 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53327 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53330 # Have a temporary directory for convenience. Make it in the build tree
53331 # simply because there is no reason against having it here, and in addition,
53332 # creating and moving files from /tmp can sometimes cause problems.
53333 # Hook for its removal unless debugging.
53334 # Note that there is a small window in which the directory will not be cleaned:
53335 # after its creation but before its name has been assigned to `$tmp'.
53339 trap 'exit_status=$?
53340 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53342 trap '{ (exit 1); exit 1; }' 1 2 13 15
53344 # Create a (secure) tmp directory for tmp files.
53347 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53348 test -n "$tmp" && test -d "$tmp"
53351 tmp=./conf$$-$RANDOM
53352 (umask 077 && mkdir "$tmp")
53355 echo "$me: cannot create a temporary directory in ." >&2
53356 { (exit 1); exit 1; }
53360 # Set up the sed scripts for CONFIG_FILES section.
53363 # No need to generate the scripts if there are no CONFIG_FILES.
53364 # This happens for instance when ./config.status config.h
53365 if test -n "$CONFIG_FILES"; then
53372 for ac_last_try in false false false false false :; do
53373 cat >conf$$subs.sed <<_ACEOF
53374 SHELL!$SHELL$ac_delim
53375 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53376 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53377 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53378 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53379 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53380 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53381 exec_prefix!$exec_prefix$ac_delim
53382 prefix!$prefix$ac_delim
53383 program_transform_name!$program_transform_name$ac_delim
53384 bindir!$bindir$ac_delim
53385 sbindir!$sbindir$ac_delim
53386 libexecdir!$libexecdir$ac_delim
53387 datarootdir!$datarootdir$ac_delim
53388 datadir!$datadir$ac_delim
53389 sysconfdir!$sysconfdir$ac_delim
53390 sharedstatedir!$sharedstatedir$ac_delim
53391 localstatedir!$localstatedir$ac_delim
53392 includedir!$includedir$ac_delim
53393 oldincludedir!$oldincludedir$ac_delim
53394 docdir!$docdir$ac_delim
53395 infodir!$infodir$ac_delim
53396 htmldir!$htmldir$ac_delim
53397 dvidir!$dvidir$ac_delim
53398 pdfdir!$pdfdir$ac_delim
53399 psdir!$psdir$ac_delim
53400 libdir!$libdir$ac_delim
53401 localedir!$localedir$ac_delim
53402 mandir!$mandir$ac_delim
53403 DEFS!$DEFS$ac_delim
53404 ECHO_C!$ECHO_C$ac_delim
53405 ECHO_N!$ECHO_N$ac_delim
53406 ECHO_T!$ECHO_T$ac_delim
53407 LIBS!$LIBS$ac_delim
53408 build_alias!$build_alias$ac_delim
53409 host_alias!$host_alias$ac_delim
53410 target_alias!$target_alias$ac_delim
53411 build!$build$ac_delim
53412 build_cpu!$build_cpu$ac_delim
53413 build_vendor!$build_vendor$ac_delim
53414 build_os!$build_os$ac_delim
53415 host!$host$ac_delim
53416 host_cpu!$host_cpu$ac_delim
53417 host_vendor!$host_vendor$ac_delim
53418 host_os!$host_os$ac_delim
53419 target!$target$ac_delim
53420 target_cpu!$target_cpu$ac_delim
53421 target_vendor!$target_vendor$ac_delim
53422 target_os!$target_os$ac_delim
53423 wx_top_builddir!$wx_top_builddir$ac_delim
53425 CFLAGS!$CFLAGS$ac_delim
53426 LDFLAGS!$LDFLAGS$ac_delim
53427 CPPFLAGS!$CPPFLAGS$ac_delim
53428 ac_ct_CC!$ac_ct_CC$ac_delim
53429 EXEEXT!$EXEEXT$ac_delim
53430 OBJEXT!$OBJEXT$ac_delim
53432 GREP!$GREP$ac_delim
53433 EGREP!$EGREP$ac_delim
53435 CXXFLAGS!$CXXFLAGS$ac_delim
53436 ac_ct_CXX!$ac_ct_CXX$ac_delim
53437 RANLIB!$RANLIB$ac_delim
53439 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53440 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53441 INSTALL_DATA!$INSTALL_DATA$ac_delim
53442 STRIP!$STRIP$ac_delim
53443 WINDRES!$WINDRES$ac_delim
53444 DLLTOOL!$DLLTOOL$ac_delim
53445 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53446 LN_S!$LN_S$ac_delim
53447 subdirs!$subdirs$ac_delim
53448 PKG_CONFIG!$PKG_CONFIG$ac_delim
53449 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53450 GTK_LIBS!$GTK_LIBS$ac_delim
53451 GTK_CONFIG!$GTK_CONFIG$ac_delim
53452 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53453 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53454 XMKMF!$XMKMF$ac_delim
53455 X_CFLAGS!$X_CFLAGS$ac_delim
53456 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53457 X_LIBS!$X_LIBS$ac_delim
53458 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53459 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53460 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53461 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53462 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53463 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53464 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53465 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53466 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53468 DEREZ!$DEREZ$ac_delim
53469 SETFILE!$SETFILE$ac_delim
53470 LIBICONV!$LIBICONV$ac_delim
53473 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53475 elif $ac_last_try; then
53476 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53477 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53478 { (exit 1); exit 1; }; }
53480 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53484 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53485 if test -n "$ac_eof"; then
53486 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53487 ac_eof=`expr $ac_eof + 1`
53490 cat >>$CONFIG_STATUS <<_ACEOF
53491 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53492 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53495 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53496 s/^/s,@/; s/!/@,|#_!!_#|/
53499 s/'"$ac_delim"'$/,g/; t
53501 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53502 ' >>$CONFIG_STATUS <conf$$subs.sed
53503 rm -f conf$$subs.sed
53504 cat >>$CONFIG_STATUS <<_ACEOF
53510 for ac_last_try in false false false false false :; do
53511 cat >conf$$subs.sed <<_ACEOF
53512 SDL_CONFIG!$SDL_CONFIG$ac_delim
53513 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53514 SDL_LIBS!$SDL_LIBS$ac_delim
53515 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53516 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53517 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53518 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53519 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53520 HILDON_LIBS!$HILDON_LIBS$ac_delim
53521 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53522 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53523 GST_CFLAGS!$GST_CFLAGS$ac_delim
53524 GST_LIBS!$GST_LIBS$ac_delim
53525 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53526 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53527 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53528 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53529 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53530 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53531 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53532 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53533 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53534 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53535 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53536 VENDOR!$VENDOR$ac_delim
53537 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53538 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53539 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53540 WXUNIV!$WXUNIV$ac_delim
53541 MONOLITHIC!$MONOLITHIC$ac_delim
53542 USE_PLUGINS!$USE_PLUGINS$ac_delim
53543 CXXWARNINGS!$CXXWARNINGS$ac_delim
53544 EXTRALIBS!$EXTRALIBS$ac_delim
53545 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53546 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53547 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53548 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53549 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53550 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53551 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53552 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53553 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53554 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53555 UNICODE!$UNICODE$ac_delim
53556 BUILD!$BUILD$ac_delim
53557 DEBUG_INFO!$DEBUG_INFO$ac_delim
53558 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53559 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53560 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53561 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53562 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53563 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53564 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53565 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53566 SET_MAKE!$SET_MAKE$ac_delim
53567 MAKE_SET!$MAKE_SET$ac_delim
53568 AROPTIONS!$AROPTIONS$ac_delim
53570 INSTALL_DIR!$INSTALL_DIR$ac_delim
53571 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53572 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53573 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53574 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53575 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53576 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53577 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53578 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53579 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53580 SO_SUFFIX!$SO_SUFFIX$ac_delim
53581 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53582 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53583 LIBPREFIX!$LIBPREFIX$ac_delim
53584 LIBEXT!$LIBEXT$ac_delim
53585 DLLPREFIX!$DLLPREFIX$ac_delim
53586 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53587 dlldir!$dlldir$ac_delim
53588 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53589 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53590 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53591 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53592 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53593 PIC_FLAG!$PIC_FLAG$ac_delim
53594 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53595 USE_SOVERSION!$USE_SOVERSION$ac_delim
53596 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53597 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53598 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53599 USE_MACVERSION!$USE_MACVERSION$ac_delim
53600 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53601 SONAME_FLAG!$SONAME_FLAG$ac_delim
53602 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53603 BK_DEPS!$BK_DEPS$ac_delim
53604 GCC_PCH!$GCC_PCH$ac_delim
53605 ICC_PCH!$ICC_PCH$ac_delim
53606 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53607 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53608 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53611 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53613 elif $ac_last_try; then
53614 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53615 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53616 { (exit 1); exit 1; }; }
53618 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53622 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53623 if test -n "$ac_eof"; then
53624 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53625 ac_eof=`expr $ac_eof + 1`
53628 cat >>$CONFIG_STATUS <<_ACEOF
53629 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53630 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53633 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53634 s/^/s,@/; s/!/@,|#_!!_#|/
53637 s/'"$ac_delim"'$/,g/; t
53639 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53640 ' >>$CONFIG_STATUS <conf$$subs.sed
53641 rm -f conf$$subs.sed
53642 cat >>$CONFIG_STATUS <<_ACEOF
53648 for ac_last_try in false false false false false :; do
53649 cat >conf$$subs.sed <<_ACEOF
53650 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53651 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53652 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53653 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53654 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53655 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53656 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53657 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53658 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53659 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53660 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53661 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53662 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53663 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53664 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53665 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53666 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53668 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53669 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53671 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53672 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53673 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53674 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53675 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53676 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53677 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53678 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53679 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53680 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53681 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53682 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53683 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53684 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53685 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53686 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53687 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53688 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53689 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53690 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53691 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53692 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53693 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53694 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53695 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53696 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53697 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53698 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53699 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53700 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53701 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53702 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53703 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53704 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53705 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53706 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53707 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53708 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53709 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53710 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53711 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53712 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53713 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53714 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53715 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53716 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53717 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53718 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53719 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53720 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53721 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53722 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53723 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53724 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53725 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53726 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53727 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53728 COND_SHARED_0!$COND_SHARED_0$ac_delim
53729 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53730 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53731 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53732 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53733 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53734 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53735 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53736 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53737 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53738 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53739 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53740 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53741 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53742 COND_SHARED_1!$COND_SHARED_1$ac_delim
53743 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53744 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53745 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53746 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53749 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53751 elif $ac_last_try; then
53752 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53753 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53754 { (exit 1); exit 1; }; }
53756 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53760 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53761 if test -n "$ac_eof"; then
53762 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53763 ac_eof=`expr $ac_eof + 1`
53766 cat >>$CONFIG_STATUS <<_ACEOF
53767 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53768 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53771 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53772 s/^/s,@/; s/!/@,|#_!!_#|/
53775 s/'"$ac_delim"'$/,g/; t
53777 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53778 ' >>$CONFIG_STATUS <conf$$subs.sed
53779 rm -f conf$$subs.sed
53780 cat >>$CONFIG_STATUS <<_ACEOF
53786 for ac_last_try in false false false false false :; do
53787 cat >conf$$subs.sed <<_ACEOF
53788 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53789 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53790 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53791 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53792 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53793 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53794 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53795 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53796 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53797 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53798 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53799 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53800 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53801 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53802 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53803 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53804 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53805 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53806 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53807 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53808 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53809 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53810 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53811 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53812 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53813 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53814 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53815 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53816 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53817 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53818 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53819 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53820 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53821 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53822 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53823 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53824 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53825 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53826 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53827 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53828 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53829 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53830 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53831 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53832 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53833 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53834 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53835 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53836 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53837 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53838 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53839 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53840 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53841 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53842 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53843 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53844 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53845 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53846 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53847 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53848 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53849 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53850 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53851 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53852 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53853 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53854 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53855 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53856 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53857 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53858 SHARED!$SHARED$ac_delim
53859 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53860 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53861 USE_GUI!$USE_GUI$ac_delim
53862 AFMINSTALL!$AFMINSTALL$ac_delim
53863 WIN32INSTALL!$WIN32INSTALL$ac_delim
53864 TOOLKIT!$TOOLKIT$ac_delim
53865 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53866 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53867 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53868 cross_compiling!$cross_compiling$ac_delim
53869 WIDGET_SET!$WIDGET_SET$ac_delim
53870 WX_RELEASE!$WX_RELEASE$ac_delim
53871 WX_VERSION!$WX_VERSION$ac_delim
53872 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53873 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53874 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53875 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53876 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53877 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53878 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53879 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53880 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53881 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53882 EXE_LINKER!$EXE_LINKER$ac_delim
53883 GUIDIST!$GUIDIST$ac_delim
53884 DISTDIR!$DISTDIR$ac_delim
53887 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53889 elif $ac_last_try; then
53890 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53891 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53892 { (exit 1); exit 1; }; }
53894 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53898 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53899 if test -n "$ac_eof"; then
53900 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53901 ac_eof=`expr $ac_eof + 1`
53904 cat >>$CONFIG_STATUS <<_ACEOF
53905 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53906 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53909 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53910 s/^/s,@/; s/!/@,|#_!!_#|/
53913 s/'"$ac_delim"'$/,g/; t
53915 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53916 ' >>$CONFIG_STATUS <conf$$subs.sed
53917 rm -f conf$$subs.sed
53918 cat >>$CONFIG_STATUS <<_ACEOF
53924 for ac_last_try in false false false false false :; do
53925 cat >conf$$subs.sed <<_ACEOF
53926 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53927 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53928 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53929 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53930 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53931 RESCOMP!$RESCOMP$ac_delim
53932 RESFLAGS!$RESFLAGS$ac_delim
53933 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53934 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53935 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53936 LIBWXMACRES!$LIBWXMACRES$ac_delim
53937 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53938 MACSETFILE!$MACSETFILE$ac_delim
53940 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53941 LIBOBJS!$LIBOBJS$ac_delim
53942 LTLIBOBJS!$LTLIBOBJS$ac_delim
53945 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
53947 elif $ac_last_try; then
53948 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53949 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53950 { (exit 1); exit 1; }; }
53952 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53956 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53957 if test -n "$ac_eof"; then
53958 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53959 ac_eof=`expr $ac_eof + 1`
53962 cat >>$CONFIG_STATUS <<_ACEOF
53963 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53964 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53967 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53968 s/^/s,@/; s/!/@,|#_!!_#|/
53971 s/'"$ac_delim"'$/,g/; t
53973 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53974 ' >>$CONFIG_STATUS <conf$$subs.sed
53975 rm -f conf$$subs.sed
53976 cat >>$CONFIG_STATUS <<_ACEOF
53983 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53984 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53985 # trailing colons and then remove the whole line if VPATH becomes empty
53986 # (actually we leave an empty line to preserve line numbers).
53987 if test "x$srcdir" = x.; then
53988 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53989 s/:*\$(srcdir):*/:/
53990 s/:*\${srcdir}:*/:/
53992 s/^\([^=]*=[ ]*\):*/\1/
53998 cat >>$CONFIG_STATUS <<\_ACEOF
53999 fi # test -n "$CONFIG_FILES"
54002 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54005 :[FHLC]) ac_mode=$ac_tag; continue;;
54007 case $ac_mode$ac_tag in
54009 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54010 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54011 { (exit 1); exit 1; }; };;
54012 :[FH]-) ac_tag=-:-;;
54013 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54030 -) ac_f="$tmp/stdin";;
54031 *) # Look for the file first in the build tree, then in the source tree
54032 # (if the path is not absolute). The absolute path cannot be DOS-style,
54033 # because $ac_f cannot contain `:'.
54037 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54039 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54040 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54041 { (exit 1); exit 1; }; };;
54043 ac_file_inputs="$ac_file_inputs $ac_f"
54046 # Let's still pretend it is `configure' which instantiates (i.e., don't
54047 # use $as_me), people would be surprised to read:
54048 # /* config.h. Generated by config.status. */
54049 configure_input="Generated from "`IFS=:
54050 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54051 if test x"$ac_file" != x-; then
54052 configure_input="$ac_file. $configure_input"
54053 { echo "$as_me:$LINENO: creating $ac_file" >&5
54054 echo "$as_me: creating $ac_file" >&6;}
54058 *:-:* | *:-) cat >"$tmp/stdin";;
54063 ac_dir=`$as_dirname -- "$ac_file" ||
54064 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54065 X"$ac_file" : 'X\(//\)[^/]' \| \
54066 X"$ac_file" : 'X\(//\)$' \| \
54067 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54073 /^X\(\/\/\)[^/].*/{
54088 -*) as_dir=./$as_dir;;
54090 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54094 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54095 *) as_qdir=$as_dir;;
54097 as_dirs="'$as_qdir' $as_dirs"
54098 as_dir=`$as_dirname -- "$as_dir" ||
54099 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54100 X"$as_dir" : 'X\(//\)[^/]' \| \
54101 X"$as_dir" : 'X\(//\)$' \| \
54102 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54108 /^X\(\/\/\)[^/].*/{
54121 test -d "$as_dir" && break
54123 test -z "$as_dirs" || eval "mkdir $as_dirs"
54124 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54125 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54126 { (exit 1); exit 1; }; }; }
54130 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54132 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54133 # A ".." for each directory in $ac_dir_suffix.
54134 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54135 case $ac_top_builddir_sub in
54136 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54137 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54140 ac_abs_top_builddir=$ac_pwd
54141 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54142 # for backward compatibility:
54143 ac_top_builddir=$ac_top_build_prefix
54146 .) # We are building in place.
54148 ac_top_srcdir=$ac_top_builddir_sub
54149 ac_abs_top_srcdir=$ac_pwd ;;
54150 [\\/]* | ?:[\\/]* ) # Absolute name.
54151 ac_srcdir=$srcdir$ac_dir_suffix;
54152 ac_top_srcdir=$srcdir
54153 ac_abs_top_srcdir=$srcdir ;;
54154 *) # Relative name.
54155 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54156 ac_top_srcdir=$ac_top_build_prefix$srcdir
54157 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54159 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54169 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54170 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54174 cat >>$CONFIG_STATUS <<\_ACEOF
54175 # If the template does not know about datarootdir, expand it.
54176 # FIXME: This hack should be removed a few years after 2.60.
54177 ac_datarootdir_hack=; ac_datarootdir_seen=
54179 case `sed -n '/datarootdir/ {
54188 ' $ac_file_inputs` in
54189 *datarootdir*) ac_datarootdir_seen=yes;;
54190 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54191 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54192 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54194 cat >>$CONFIG_STATUS <<_ACEOF
54195 ac_datarootdir_hack='
54196 s&@datadir@&$datadir&g
54197 s&@docdir@&$docdir&g
54198 s&@infodir@&$infodir&g
54199 s&@localedir@&$localedir&g
54200 s&@mandir@&$mandir&g
54201 s&\\\${datarootdir}&$datarootdir&g' ;;
54205 # Neutralize VPATH when `$srcdir' = `.'.
54206 # Shell code in configure.ac might set extrasub.
54207 # FIXME: do we really want to maintain this feature?
54208 cat >>$CONFIG_STATUS <<_ACEOF
54212 cat >>$CONFIG_STATUS <<\_ACEOF
54214 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54215 s&@configure_input@&$configure_input&;t t
54216 s&@top_builddir@&$ac_top_builddir_sub&;t t
54217 s&@srcdir@&$ac_srcdir&;t t
54218 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54219 s&@top_srcdir@&$ac_top_srcdir&;t t
54220 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54221 s&@builddir@&$ac_builddir&;t t
54222 s&@abs_builddir@&$ac_abs_builddir&;t t
54223 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54224 s&@INSTALL@&$ac_INSTALL&;t t
54225 $ac_datarootdir_hack
54226 " $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
54228 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54229 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54230 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54231 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54232 which seems to be undefined. Please make sure it is defined." >&5
54233 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54234 which seems to be undefined. Please make sure it is defined." >&2;}
54238 -) cat "$tmp/out"; rm -f "$tmp/out";;
54239 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54248 # Transform confdefs.h into a sed script `conftest.defines', that
54249 # substitutes the proper values into config.h.in to produce config.h.
54250 rm -f conftest.defines conftest.tail
54251 # First, append a space to every undef/define line, to ease matching.
54252 echo 's/$/ /' >conftest.defines
54253 # Then, protect against being on the right side of a sed subst, or in
54254 # an unquoted here document, in config.status. If some macros were
54255 # called several times there might be several #defines for the same
54256 # symbol, which is useless. But do not sort them, since the last
54257 # AC_DEFINE must be honored.
54258 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54259 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54260 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54261 # PARAMS is the parameter list in the macro definition--in most cases, it's
54262 # just an empty string.
54263 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54264 ac_dB='\\)[ (].*,\\1define\\2'
54272 s/^[ ]*#[ ]*define[ ][ ]*//
54277 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54278 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54279 ' >>conftest.defines
54281 # Remove the space that was appended to ease matching.
54282 # Then replace #undef with comments. This is necessary, for
54283 # example, in the case of _POSIX_SOURCE, which is predefined and required
54284 # on some systems where configure will not decide to define it.
54285 # (The regexp can be short, since the line contains either #define or #undef.)
54287 s,^[ #]*u.*,/* & */,' >>conftest.defines
54289 # Break up conftest.defines:
54290 ac_max_sed_lines=50
54292 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54293 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54294 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54296 ac_in='$ac_file_inputs'
54297 ac_out='"$tmp/out1"'
54298 ac_nxt='"$tmp/out2"'
54302 # Write a here document:
54303 cat >>$CONFIG_STATUS <<_ACEOF
54304 # First, check the format of the line:
54305 cat >"\$tmp/defines.sed" <<\\CEOF
54306 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54307 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54311 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54313 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54314 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54315 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54316 grep . conftest.tail >/dev/null || break
54317 rm -f conftest.defines
54318 mv conftest.tail conftest.defines
54320 rm -f conftest.defines conftest.tail
54322 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54323 cat >>$CONFIG_STATUS <<\_ACEOF
54324 if test x"$ac_file" != x-; then
54325 echo "/* $configure_input */" >"$tmp/config.h"
54326 cat "$ac_result" >>"$tmp/config.h"
54327 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54328 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54329 echo "$as_me: $ac_file is unchanged" >&6;}
54332 mv "$tmp/config.h" $ac_file
54335 echo "/* $configure_input */"
54341 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54342 echo "$as_me: executing $ac_file commands" >&6;}
54347 case $ac_file$ac_mode in
54349 mkdir -p $outdir &&
54350 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54352 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54353 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54354 "wx-config":C) rm -f wx-config
54355 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54362 { (exit 0); exit 0; }
54364 chmod +x $CONFIG_STATUS
54365 ac_clean_files=$ac_clean_files_save
54368 # configure is writing to config.log, and then calls config.status.
54369 # config.status does its own redirection, appending to config.log.
54370 # Unfortunately, on DOS this fails, as config.log is still kept open
54371 # by configure, so config.status won't be able to write to it; its
54372 # output is simply discarded. So we exec the FD to /dev/null,
54373 # effectively closing config.log, so it can be properly (re)opened and
54374 # appended to by config.status. When coming back to configure, we
54375 # need to make the FD available again.
54376 if test "$no_create" != yes; then
54378 ac_config_status_args=
54379 test "$silent" = yes &&
54380 ac_config_status_args="$ac_config_status_args --quiet"
54382 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54384 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54385 # would make configure fail if this is the last instruction.
54386 $ac_cs_success || { (exit 1); exit 1; }
54390 # CONFIG_SUBDIRS section.
54392 if test "$no_recursion" != yes; then
54394 # Remove --cache-file and --srcdir arguments so they do not pile up.
54395 ac_sub_configure_args=
54397 eval "set x $ac_configure_args"
54401 if test -n "$ac_prev"; then
54406 -cache-file | --cache-file | --cache-fil | --cache-fi \
54407 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54408 ac_prev=cache_file ;;
54409 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54410 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54413 --config-cache | -C)
54415 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54417 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54419 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54421 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54425 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54427 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54431 # Always prepend --prefix to ensure using the same prefix
54432 # in subdir configurations.
54433 ac_arg="--prefix=$prefix"
54435 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54437 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54440 if test "$silent" = yes; then
54441 ac_sub_configure_args="--silent $ac_sub_configure_args"
54445 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54447 # Do not complain, so a configure script can configure whichever
54448 # parts of a large source tree are present.
54449 test -d "$srcdir/$ac_dir" || continue
54451 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54452 echo "$as_me:$LINENO: $ac_msg" >&5
54456 -*) as_dir=./$as_dir;;
54458 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54462 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54463 *) as_qdir=$as_dir;;
54465 as_dirs="'$as_qdir' $as_dirs"
54466 as_dir=`$as_dirname -- "$as_dir" ||
54467 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54468 X"$as_dir" : 'X\(//\)[^/]' \| \
54469 X"$as_dir" : 'X\(//\)$' \| \
54470 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54476 /^X\(\/\/\)[^/].*/{
54489 test -d "$as_dir" && break
54491 test -z "$as_dirs" || eval "mkdir $as_dirs"
54492 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54493 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54494 { (exit 1); exit 1; }; }; }
54498 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54500 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54501 # A ".." for each directory in $ac_dir_suffix.
54502 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54503 case $ac_top_builddir_sub in
54504 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54505 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54508 ac_abs_top_builddir=$ac_pwd
54509 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54510 # for backward compatibility:
54511 ac_top_builddir=$ac_top_build_prefix
54514 .) # We are building in place.
54516 ac_top_srcdir=$ac_top_builddir_sub
54517 ac_abs_top_srcdir=$ac_pwd ;;
54518 [\\/]* | ?:[\\/]* ) # Absolute name.
54519 ac_srcdir=$srcdir$ac_dir_suffix;
54520 ac_top_srcdir=$srcdir
54521 ac_abs_top_srcdir=$srcdir ;;
54522 *) # Relative name.
54523 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54524 ac_top_srcdir=$ac_top_build_prefix$srcdir
54525 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54527 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54532 # Check for guested configure; otherwise get Cygnus style configure.
54533 if test -f "$ac_srcdir/configure.gnu"; then
54534 ac_sub_configure=$ac_srcdir/configure.gnu
54535 elif test -f "$ac_srcdir/configure"; then
54536 ac_sub_configure=$ac_srcdir/configure
54537 elif test -f "$ac_srcdir/configure.in"; then
54538 # This should be Cygnus configure.
54539 ac_sub_configure=$ac_aux_dir/configure
54541 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54542 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54546 # The recursion is here.
54547 if test -n "$ac_sub_configure"; then
54548 # Make the cache file name correct relative to the subdirectory.
54549 case $cache_file in
54550 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54551 *) # Relative name.
54552 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54555 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54556 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54557 # The eval makes quoting arguments work.
54558 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54559 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54560 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54561 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54562 { (exit 1); exit 1; }; }
54571 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54573 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54574 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54576 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54577 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54578 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54579 if test "$wxUSE_UNICODE" = "yes"; then
54580 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54581 echo " (using UTF-8)"
54583 echo " (using wchar_t)"
54589 echo " What level of wxWidgets compatibility should be enabled?"
54590 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54591 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54593 echo " Which libraries should wxWidgets use?"
54594 echo " jpeg ${wxUSE_LIBJPEG-none}"
54595 echo " png ${wxUSE_LIBPNG-none}"
54596 echo " regex ${wxUSE_REGEX}"
54597 echo " tiff ${wxUSE_LIBTIFF-none}"
54598 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54599 echo " xpm ${wxUSE_LIBXPM-none}"
54601 echo " zlib ${wxUSE_ZLIB}"
54602 echo " odbc ${wxUSE_ODBC}"
54603 echo " expat ${wxUSE_EXPAT}"
54604 echo " libmspack ${wxUSE_LIBMSPACK}"
54605 echo " sdl ${wxUSE_LIBSDL}"